diff options
Diffstat (limited to 'Project/MainFrame.cpp')
-rw-r--r-- | Project/MainFrame.cpp | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/Project/MainFrame.cpp b/Project/MainFrame.cpp new file mode 100644 index 0000000..6d98c38 --- /dev/null +++ b/Project/MainFrame.cpp @@ -0,0 +1,27 @@ +#include "MainFrame.h" +#include <wx/aboutdlg.h> + +MainFrame::MainFrame(wxWindow* parent) + : MainFrameBaseClass(parent) +{ +} + +MainFrame::~MainFrame() +{ +} + +void MainFrame::OnExit(wxCommandEvent& event) +{ + wxUnusedVar(event); + Close(); +} + +void MainFrame::OnAbout(wxCommandEvent& event) +{ + wxUnusedVar(event); + wxAboutDialogInfo info; + info.SetCopyright(_("My MainFrame")); + info.SetLicence(_("GPL v2 or later")); + info.SetDescription(_("Short description goes here")); + ::wxAboutBox(info); +} |