X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4e4a4ac83a923ee19485686efd4b400260fe80cf..260c9c7df3a2968f93a4c474024c60b425fdea12:/wxPython/src/_mdi.i diff --git a/wxPython/src/_mdi.i b/wxPython/src/_mdi.i index ae3d1f9fbb..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); } @@ -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); }