X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b39c3fa09a936e6a3f386a67c0fc7cfd84df0168..f78e4942ec0f3f6abd2992502e2d6c5c2e8e55f6:/wxPython/src/_mdi.i?ds=inline diff --git a/wxPython/src/_mdi.i b/wxPython/src/_mdi.i index f5607a591c..1ad5530ff7 100644 --- a/wxPython/src/_mdi.i +++ b/wxPython/src/_mdi.i @@ -47,7 +47,7 @@ public: const wxSize& size = wxDefaultSize, long style = wxDEFAULT_FRAME_STYLE | wxVSCROLL | wxHSCROLL, const wxString& name = wxPyFrameNameStr); - %name(PreMDIParentFrame)wxMDIParentFrame(); + %RenameCtor(PreMDIParentFrame, wxMDIParentFrame()); bool Create(wxWindow *parent, const wxWindowID id=-1, @@ -95,7 +95,7 @@ public: const wxSize& size = wxDefaultSize, long style = wxDEFAULT_FRAME_STYLE, const wxString& name = wxPyFrameNameStr); - %name(PreMDIChildFrame)wxMDIChildFrame(); + %RenameCtor(PreMDIChildFrame, wxMDIChildFrame()); // Turn it back on again %typemap(out) wxMDIChildFrame* { $result = wxPyMake_wxObject($1, $owner); } @@ -109,7 +109,7 @@ public: const wxString& name = wxPyFrameNameStr); void Activate(); - void Maximize(bool maximize); + void Maximize(bool maximize=true); void Restore(); }; @@ -126,7 +126,7 @@ public: %typemap(out) wxMDIClientWindow*; // turn off this typemap wxMDIClientWindow(wxMDIParentFrame* parent, long style = 0); - %name(PreMDIClientWindow)wxMDIClientWindow(); + %RenameCtor(PreMDIClientWindow, wxMDIClientWindow()); // Turn it back on again %typemap(out) wxMDIClientWindow* { $result = wxPyMake_wxObject($1, $owner); }