]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/mdi/mdi.h
implement wxTreeCtrl::GetFocusedItem() for wxMSW too (see #10859)
[wxWidgets.git] / samples / mdi / mdi.h
index 48f18dbf58a6446b3cacb2f5f60603e56c81a11a..82a5330c37475e5984f32e82fd79c38de7967072 100644 (file)
@@ -45,6 +45,8 @@ public:
     MyFrame();
     virtual ~MyFrame();
 
+    static wxMenuBar *CreateMainMenubar();
+
 private:
     void InitToolBar(wxToolBar* toolBar);
 
@@ -53,6 +55,8 @@ private:
     void OnNewWindow(wxCommandEvent& event);
     void OnFullScreen(wxCommandEvent& event);
     void OnQuit(wxCommandEvent& event);
+    void OnCloseAll(wxCommandEvent& event);
+
     void OnClose(wxCloseEvent& event);
 
     wxTextCtrl *m_textWindow;
@@ -96,7 +100,7 @@ private:
 // menu items ids
 enum
 {
-    MDI_FULLSCREEN,
+    MDI_FULLSCREEN = 100,
     MDI_REFRESH,
     MDI_CHANGE_TITLE,
     MDI_CHANGE_POSITION,