X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..e195c8c95fb154d035bab400952fc81c62439549:/wxPython/src/mdi.i diff --git a/wxPython/src/mdi.i b/wxPython/src/mdi.i index 6fc5ed554a..7a69321a9d 100644 --- a/wxPython/src/mdi.i +++ b/wxPython/src/mdi.i @@ -37,8 +37,8 @@ public: wxMDIParentFrame(wxWindow *parent, const wxWindowID id, const wxString& title, - const wxPoint& pos = wxPyDefaultPosition, - const wxSize& size = wxPyDefaultSize, + const wxPoint& pos = wxDefaultPosition, + const wxSize& size = wxDefaultSize, long style = wxDEFAULT_FRAME_STYLE | wxVSCROLL | wxHSCROLL, const char* name = "frame"); @@ -55,7 +55,10 @@ public: // TODO: This isn't handled by the standard event-table system... //wxMDIClientWindow* OnCreateClient(); + #ifdef __WXMSW__ + wxMenu* GetWindowMenu(); + void SetWindowMenu(wxMenu* menu); void SetToolBar(wxToolBar* toolbar); #endif void Tile(); @@ -68,8 +71,8 @@ public: wxMDIChildFrame(wxMDIParentFrame* parent, const wxWindowID id, const wxString& title, - const wxPoint& pos = wxPyDefaultPosition, - const wxSize& size = wxPyDefaultSize, + const wxPoint& pos = wxDefaultPosition, + const wxSize& size = wxDefaultSize, long style = wxDEFAULT_FRAME_STYLE, const char* name = "frame");