X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d2824cdb7f6ac2371fefd3d44eff62bb48ebc0a3..d8eff331e23435d9d8d6483a40f6fd9997a13f87:/samples/mdi/mdi.h diff --git a/samples/mdi/mdi.h b/samples/mdi/mdi.h index d9e9afc3e3..82a5330c37 100644 --- a/samples/mdi/mdi.h +++ b/samples/mdi/mdi.h @@ -45,13 +45,18 @@ public: MyFrame(); virtual ~MyFrame(); + static wxMenuBar *CreateMainMenubar(); + private: void InitToolBar(wxToolBar* toolBar); void OnSize(wxSizeEvent& event); void OnAbout(wxCommandEvent& event); void OnNewWindow(wxCommandEvent& event); + void OnFullScreen(wxCommandEvent& event); void OnQuit(wxCommandEvent& event); + void OnCloseAll(wxCommandEvent& event); + void OnClose(wxCloseEvent& event); wxTextCtrl *m_textWindow; @@ -95,6 +100,7 @@ private: // menu items ids enum { + MDI_FULLSCREEN = 100, MDI_REFRESH, MDI_CHANGE_TITLE, MDI_CHANGE_POSITION,