]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/windows2.i
Fixed some warnings in wxSTC
[wxWidgets.git] / wxPython / src / windows2.i
index 911a0c19050c932e94c27d8e7e1647fe9e2ad950..c05e23d81e839695f858aafc1087d2a3a54cacb0 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(val)"
+
     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(val)"
 
     // 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)"