]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/windows2.i
Second phase of OOR completed. (Original python object return for
[wxWidgets.git] / wxPython / src / windows2.i
index 911a0c19050c932e94c27d8e7e1647fe9e2ad950..d1be157786f77764a6ee29ecedd352a44b8444ce 100644 (file)
@@ -79,6 +79,9 @@ public:
                long style = 0,
                char* name = "notebook");
 
+    %pragma(python) addtomethod = "__init__:self._setOORInfo(self)"
+    %pragma(python) addtomethod = "wxPreNotebook:val._setOORInfo(self)"
+
     int GetPageCount();
     int SetSelection(int nPage);
     void AdvanceSelection(bool bForward = TRUE);
@@ -173,6 +176,8 @@ public:
                 long style=wxSP_3D|wxCLIP_CHILDREN,
                 char* name = "splitterWindow");
 
+    %pragma(python) addtomethod = "__init__:self._setOORInfo(self)"
+    %pragma(python) addtomethod = "wxPreSplitterWindow:val._setOORInfo(self)"
 
     // Gets the only or left/top pane
     wxWindow *GetWindow1();
@@ -257,6 +262,8 @@ public:
     wxTaskBarIcon();
     ~wxTaskBarIcon();
 
+    //%pragma(python) addtomethod = "__init__:self._setOORInfo(self)"
+
     // We still use the magic methods here since that is the way it is documented...
     %pragma(python) addtomethod = "__init__:wx._checkForCallback(self, 'OnMouseMove',    wxEVT_TASKBAR_MOVE)"
     %pragma(python) addtomethod = "__init__:wx._checkForCallback(self, 'OnLButtonDown',  wxEVT_TASKBAR_LEFT_DOWN)"