aboutsummaryrefslogtreecommitdiff
path: root/src/game_tab/right_panel/GameTabRightPanel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game_tab/right_panel/GameTabRightPanel.cpp')
-rw-r--r--src/game_tab/right_panel/GameTabRightPanel.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game_tab/right_panel/GameTabRightPanel.cpp b/src/game_tab/right_panel/GameTabRightPanel.cpp
index ff9576d..3a9d2b7 100644
--- a/src/game_tab/right_panel/GameTabRightPanel.cpp
+++ b/src/game_tab/right_panel/GameTabRightPanel.cpp
@@ -46,6 +46,7 @@ GameTabRightPanel::GameTabRightPanel(wxFrame *parent, std::shared_ptr<Game> game
}
void GameTabRightPanel::OnLiveAnalysis(wxCommandEvent &event) {
+ UNUSED(event);
if (live_engine == nullptr) {
int selection = engine_list->GetSelection();
if (selection != wxNOT_FOUND) {
@@ -84,6 +85,7 @@ void GameTabRightPanel::OnTagSelected(wxListEvent &event) {
}
void GameTabRightPanel::OnTagDeselected(wxListEvent &event) {
+ UNUSED(event);
selected_item = -1;
delete_button->Enable(false);
}
@@ -114,6 +116,7 @@ void GameTabRightPanel::OnCommentChange(wxCommandEvent &event) {
}
void GameTabRightPanel::OnApply(wxCommandEvent &event) {
+ UNUSED(event);
std::string key = tagTextCtrl->GetValue().ToStdString();
if (key == "FEN") {
SHOW_DIALOG_ERROR("Editing the FEN tag is forbidden");
@@ -130,6 +133,7 @@ void GameTabRightPanel::OnApply(wxCommandEvent &event) {
}
void GameTabRightPanel::OnDelete(wxCommandEvent &event) {
+ UNUSED(event);
if (selected_item >= 0) {
wxListItem item;
item.SetColumn(0);