X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/09f3d4e679f5742c54fb062ede846b77606a9c5b..f9ee64b1356530b7f5c957d250d2a1dcbef60f60:/wxPython/src/mdi.i?ds=sidebyside diff --git a/wxPython/src/mdi.i b/wxPython/src/mdi.i index 21b4336e5e..5c9d7a3b31 100644 --- a/wxPython/src/mdi.i +++ b/wxPython/src/mdi.i @@ -51,6 +51,9 @@ public: long style = wxDEFAULT_FRAME_STYLE | wxVSCROLL | wxHSCROLL, const char* name = "frame"); + %pragma(python) addtomethod = "__init__:self._setOORInfo(self)" + %pragma(python) addtomethod = "wxPreMDIParentFrame:val._setOORInfo(val)" + void ActivateNext(); void ActivatePrevious(); void ArrangeIcons(); @@ -92,6 +95,8 @@ public: long style = wxDEFAULT_FRAME_STYLE, const char* name = "frame"); + %pragma(python) addtomethod = "__init__:self._setOORInfo(self)" + %pragma(python) addtomethod = "wxPreMDIChildFrame:val._setOORInfo(val)" void Activate(); void Maximize(bool maximize); @@ -107,13 +112,10 @@ public: wxMDIClientWindow(wxMDIParentFrame* parent, long style = 0); %name(wxPreMDIClientWindow)wxMDIClientWindow(); - %pragma(python) addtomethod = "__init__:#wx._StdWindowCallbacks(self)" - %pragma(python) addtomethod = "__init__:#wx._StdOnScrollCallbacks(self)" - bool Create(wxMDIParentFrame* parent, long style = 0); - %pragma(python) addtomethod = "__init__:#wx._StdWindowCallbacks(self)" - %pragma(python) addtomethod = "__init__:#wx._StdOnScrollCallbacks(self)" + %pragma(python) addtomethod = "__init__:self._setOORInfo(self)" + %pragma(python) addtomethod = "wxPreMDIClientWindow:val._setOORInfo(val)" }; //---------------------------------------------------------------------------