]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/stattool.i
fixes for the wxPre* helpers
[wxWidgets.git] / wxPython / src / stattool.i
index 1b294d3dbaf0a9bf71a5ae0cef56ed29b13be48c..960762c2c73281fd1c0ff0061d616e236af9881e 100644 (file)
@@ -51,7 +51,7 @@ public:
                 char* name = "statusBar");
 
     %pragma(python) addtomethod = "__init__:self._setOORInfo(self)"
-    %pragma(python) addtomethod = "wxPreStatusBar:val._setOORInfo(self)"
+    %pragma(python) addtomethod = "wxPreStatusBar:val._setOORInfo(val)"
 
     %addmethods {
         %new wxRect* GetFieldRect(long item) {
@@ -293,7 +293,7 @@ public:
               const char* name = wxToolBarNameStr);
 
     %pragma(python) addtomethod = "__init__:self._setOORInfo(self)"
-    %pragma(python) addtomethod = "wxPreToolBar:val._setOORInfo(self)"
+    %pragma(python) addtomethod = "wxPreToolBar:val._setOORInfo(val)"
 
     wxToolBarToolBase *FindToolForPosition(wxCoord x, wxCoord y);
 };
@@ -319,7 +319,7 @@ public:
                     const char* name = wxToolBarNameStr);
 
     %pragma(python) addtomethod = "__init__:self._setOORInfo(self)"
-    %pragma(python) addtomethod = "wxPreToolBarSimple:val._setOORInfo(self)"
+    %pragma(python) addtomethod = "wxPreToolBarSimple:val._setOORInfo(val)"
 
     wxToolBarToolBase *FindToolForPosition(wxCoord x, wxCoord y);
 };