Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Menu option for frmAbout now works.
authorSteve Brokenshire <sbrokenshire@xestia.co.uk>
Thu, 29 Dec 2016 19:43:51 +0000 (19:43 +0000)
committerSteve Brokenshire <sbrokenshire@xestia.co.uk>
Thu, 29 Dec 2016 19:43:51 +0000 (19:43 +0000)
source/AppXestiaCalendar.cpp
source/AppXestiaCalendar.h

index 5ccf62b..bd39f58 100644 (file)
@@ -74,6 +74,7 @@ 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( mnuHelpAbout->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowAboutWindow ) );
 }
 
 frmMainADT::~frmMainADT()
@@ -81,6 +82,7 @@ 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_ABOUT, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowAboutWindow ) );
        
 }
 
index 21b70ce..b4623fe 100644 (file)
@@ -59,6 +59,7 @@ class frmMainADT : public wxFrame
                // Virtual event handlers, overide them in your derived class
                virtual void QuitApp( wxCloseEvent& event ) { event.Skip(); }
                virtual void QuitApp( wxCommandEvent& event ) { event.Skip(); }
+               virtual void ShowAboutWindow( wxCommandEvent& event ) { event.Skip(); }
                
        
        public:
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy