summaryrefslogtreecommitdiff
path: root/ui/main_dlg.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/main_dlg.h')
-rw-r--r--ui/main_dlg.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/ui/main_dlg.h b/ui/main_dlg.h
index d4b06a08..e1b2d44f 100644
--- a/ui/main_dlg.h
+++ b/ui/main_dlg.h
@@ -222,12 +222,13 @@ private:
void applySyncConfig();
//menu events
- void OnMenuGlobalSettings(wxCommandEvent& event);
- void OnMenuExportFileList(wxCommandEvent& event);
- void OnMenuCheckVersion (wxCommandEvent& event);
- void OnMenuAbout (wxCommandEvent& event);
- void OnShowHelp (wxCommandEvent& event);
- void OnMenuQuit (wxCommandEvent& event);
+ virtual void OnMenuGlobalSettings(wxCommandEvent& event);
+ virtual void OnMenuExportFileList(wxCommandEvent& event);
+ virtual void OnMenuCheckVersion (wxCommandEvent& event);
+ virtual void OnMenuAbout (wxCommandEvent& event);
+ virtual void OnShowHelp (wxCommandEvent& event);
+ virtual void OnMenuQuit (wxCommandEvent& event) { Close(); }
+
void OnMenuLanguageSwitch(wxCommandEvent& event);
void switchProgramLanguage(int langID);
bgstack15