MyFrame();
virtual ~MyFrame();
+ static wxMenuBar *CreateMainMenubar();
+
private:
void InitToolBar(wxToolBar* toolBar);
void OnNewWindow(wxCommandEvent& event);
void OnFullScreen(wxCommandEvent& event);
void OnQuit(wxCommandEvent& event);
+ void OnCloseAll(wxCommandEvent& event);
+
void OnClose(wxCloseEvent& event);
wxTextCtrl *m_textWindow;
// menu items ids
enum
{
- MDI_FULLSCREEN,
+ MDI_FULLSCREEN = 100,
MDI_REFRESH,
MDI_CHANGE_TITLE,
MDI_CHANGE_POSITION,