]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/windows2.i
Some compilation fixes
[wxWidgets.git] / wxPython / src / windows2.i
index d1be157786f77764a6ee29ecedd352a44b8444ce..c05e23d81e839695f858aafc1087d2a3a54cacb0 100644 (file)
@@ -80,7 +80,7 @@ public:
                char* name = "notebook");
 
     %pragma(python) addtomethod = "__init__:self._setOORInfo(self)"
-    %pragma(python) addtomethod = "wxPreNotebook:val._setOORInfo(self)"
+    %pragma(python) addtomethod = "wxPreNotebook:val._setOORInfo(val)"
 
     int GetPageCount();
     int SetSelection(int nPage);
@@ -177,7 +177,7 @@ public:
                 char* name = "splitterWindow");
 
     %pragma(python) addtomethod = "__init__:self._setOORInfo(self)"
-    %pragma(python) addtomethod = "wxPreSplitterWindow:val._setOORInfo(self)"
+    %pragma(python) addtomethod = "wxPreSplitterWindow:val._setOORInfo(val)"
 
     // Gets the only or left/top pane
     wxWindow *GetWindow1();