Skip to content

Commit

Permalink
Update main_menubar.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Luan Luciano committed Dec 12, 2023
1 parent 0041316 commit 55cf1f9
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions source/main_menubar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2285,27 +2285,27 @@ void MainMenuBar::SearchItems(bool unique, bool action, bool container, bool wri
}
}

void MainMenuBar::OnSearchForDuplicateItemsOnMap(const wxCommandEvent &WXUNUSED(event)) {
void MainMenuBar::OnSearchForDuplicateItemsOnMap(wxCommandEvent &WXUNUSED(event)) {
SearchDuplicatedItems(false);
}

void MainMenuBar::OnSearchForDuplicateItemsOnSelection(const wxCommandEvent &WXUNUSED(event)) {
void MainMenuBar::OnSearchForDuplicateItemsOnSelection(wxCommandEvent &WXUNUSED(event)) {
SearchDuplicatedItems(true);
}

void MainMenuBar::OnRemoveForDuplicateItemsOnMap(const wxCommandEvent &WXUNUSED(event)) {
void MainMenuBar::OnRemoveForDuplicateItemsOnMap(wxCommandEvent &WXUNUSED(event)) {
RemoveDuplicatesItems(false);
}

void MainMenuBar::OnRemoveForDuplicateItemsOnSelection(const wxCommandEvent &WXUNUSED(event)) {
void MainMenuBar::OnRemoveForDuplicateItemsOnSelection(wxCommandEvent &WXUNUSED(event)) {
RemoveDuplicatesItems(true);
}

void MainMenuBar::OnSearchForWallsUponWallsOnMap(const wxCommandEvent &WXUNUSED(event)) {
void MainMenuBar::OnSearchForWallsUponWallsOnMap(wxCommandEvent &WXUNUSED(event)) {
SearchWallsUponWalls(false);
}

void MainMenuBar::OnSearchForWallsUponWallsOnSelection(const wxCommandEvent &WXUNUSED(event)) {
void MainMenuBar::OnSearchForWallsUponWallsOnSelection(wxCommandEvent &WXUNUSED(event)) {
SearchWallsUponWalls(true);
}

Expand Down Expand Up @@ -2493,7 +2493,7 @@ namespace SearchWallsUponWalls {
};
}

void MainMenuBar::SearchWallsUponWalls(bool onSelection /* = false*/) const {
void MainMenuBar::SearchWallsUponWalls(bool onSelection /* = false*/) {
if (!g_gui.IsEditorOpen()) {
return;
}
Expand Down

0 comments on commit 55cf1f9

Please sign in to comment.