From c8e0e909b4a8d18319fc65434a10dc446434817c Mon Sep 17 00:00:00 2001 From: Daniel Wilhelm Date: Fri, 18 Apr 2014 17:19:49 +0200 Subject: 5.3 --- RealtimeSync/main_dlg.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'RealtimeSync/main_dlg.h') diff --git a/RealtimeSync/main_dlg.h b/RealtimeSync/main_dlg.h index 01789a45..edc66c47 100644 --- a/RealtimeSync/main_dlg.h +++ b/RealtimeSync/main_dlg.h @@ -44,17 +44,17 @@ public: void loadConfig(const wxString& filename); private: - virtual void OnClose( wxCloseEvent& event); - virtual void OnQuit( wxCommandEvent& event); - virtual void OnShowHelp( wxCommandEvent& event); - virtual void OnMenuAbout( wxCommandEvent& event); - virtual void OnAddFolder( wxCommandEvent& event); - virtual void OnRemoveFolder( wxCommandEvent& event); - virtual void OnRemoveTopFolder( wxCommandEvent& event); - virtual void OnKeyPressed( wxKeyEvent& event); - virtual void OnStart( wxCommandEvent& event); - virtual void OnSaveConfig( wxCommandEvent& event); - virtual void OnLoadConfig( wxCommandEvent& event); + virtual void OnClose (wxCloseEvent& event) { Destroy(); } + virtual void OnQuit (wxCommandEvent& event) { Destroy(); } + virtual void OnShowHelp (wxCommandEvent& event); + virtual void OnMenuAbout (wxCommandEvent& event); + virtual void OnAddFolder (wxCommandEvent& event); + virtual void OnRemoveFolder (wxCommandEvent& event); + virtual void OnRemoveTopFolder(wxCommandEvent& event); + virtual void OnKeyPressed (wxKeyEvent& event); + virtual void OnStart (wxCommandEvent& event); + virtual void OnSaveConfig (wxCommandEvent& event); + virtual void OnLoadConfig (wxCommandEvent& event); void setConfiguration(const xmlAccess::XmlRealConfig& cfg); xmlAccess::XmlRealConfig getConfiguration(); -- cgit