X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2FAppXestiaCalendar.cpp;h=360ec6ed0d6a78af717ffc73bad988249a8ac309;hb=703ade69af31d2e1eeb3a9d39f96a85fccfc0f76;hp=5ccf62bfc2991cfdc37c3f68ec6cefe96302b7a2;hpb=888a883335a982e165429308445a22c475ae62de;p=xestiacalendar%2F.git diff --git a/source/AppXestiaCalendar.cpp b/source/AppXestiaCalendar.cpp index 5ccf62b..360ec6e 100644 --- a/source/AppXestiaCalendar.cpp +++ b/source/AppXestiaCalendar.cpp @@ -74,6 +74,8 @@ frmMainADT::frmMainADT( wxWindow* parent, wxWindowID id, const wxString& title, // Connect Events this->Connect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmMainADT::QuitApp ) ); this->Connect( mnuManageExit->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::QuitApp ) ); + this->Connect( mnuHelpUpdate->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowUpdateWindow ) ); + this->Connect( mnuHelpAbout->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowAboutWindow ) ); } frmMainADT::~frmMainADT() @@ -81,6 +83,8 @@ frmMainADT::~frmMainADT() // Disconnect Events this->Disconnect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmMainADT::QuitApp ) ); this->Disconnect( wxID_EXIT, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::QuitApp ) ); + this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowUpdateWindow ) ); + this->Disconnect( wxID_ABOUT, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowAboutWindow ) ); }