]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/mdi.i
corrections to dynamic loading for Darwin
[wxWidgets.git] / wxPython / src / mdi.i
index 21b4336e5e64c1699b59e4942a58c4559c44f9f5..5c9d7a3b310efcc37b514e7bef42400edb88b590 100644 (file)
@@ -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)"
 };
 
 //---------------------------------------------------------------------------