X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c9a1416a3aa25c297d8d6126c08658dba968767d..17c0e08c61c69b77e58b3e9ffc78d58fcf105940:/wxPython/src/controls2.i diff --git a/wxPython/src/controls2.i b/wxPython/src/controls2.i index d0b3ae8bea..9ace925b79 100644 --- a/wxPython/src/controls2.i +++ b/wxPython/src/controls2.i @@ -414,7 +414,7 @@ public: %pragma(python) addtomethod = "__init__:self._setCallbackInfo(self, wxListCtrl)" %pragma(python) addtomethod = "__init__:self._setOORInfo(self)" - %pragma(python) addtomethod = "wxPreListCtrl:val._setOORInfo(self)" + %pragma(python) addtomethod = "wxPreListCtrl:val._setOORInfo(val)" // Set the control colours bool SetForegroundColour(const wxColour& col); @@ -734,7 +734,7 @@ public: const wxString &name = "listctrl" ); %pragma(python) addtomethod = "__init__:self._setOORInfo(self)" - %pragma(python) addtomethod = "wxPreListView:val._setOORInfo(self)" + %pragma(python) addtomethod = "wxPreListView:val._setOORInfo(val)" // [de]select an item void Select(long n, bool on = TRUE); @@ -1064,7 +1064,7 @@ public: %pragma(python) addtomethod = "__init__:self._setCallbackInfo(self, wxTreeCtrl)" %pragma(python) addtomethod = "__init__:self._setOORInfo(self)" - %pragma(python) addtomethod = "wxPreTreeCtrl:val._setOORInfo(self)" + %pragma(python) addtomethod = "wxPreTreeCtrl:val._setOORInfo(val)" size_t GetCount(); unsigned int GetIndent();