X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6aa89a22b8e47000c98bff05c6f545f331f1c353..60982deac8747c0572be62e1de56139a5cd581df:/samples/mdi/mdi.h diff --git a/samples/mdi/mdi.h b/samples/mdi/mdi.h index 89490a2af8..d0d6c422e1 100644 --- a/samples/mdi/mdi.h +++ b/samples/mdi/mdi.h @@ -58,7 +58,7 @@ class MyChild: public wxMDIChildFrame { public: MyCanvas *canvas; - MyChild(wxMDIParentFrame *parent, const wxString& title, const wxPoint& pos, const wxSize& size, const long style); + MyChild(wxMDIParentFrame *parent, const wxString& title); ~MyChild(); void OnActivate(wxActivateEvent& event); @@ -79,12 +79,12 @@ public: // menu items ids enum { - MDI_QUIT = 100, - MDI_NEW_WINDOW, + MDI_QUIT = wxID_EXIT, + MDI_NEW_WINDOW = 101, MDI_REFRESH, MDI_CHANGE_TITLE, MDI_CHANGE_POSITION, MDI_CHANGE_SIZE, MDI_CHILD_QUIT, - MDI_ABOUT + MDI_ABOUT = wxID_ABOUT };