]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/msw/controls2.py
fixes for the wxPre* helpers
[wxWidgets.git] / wxPython / src / msw / controls2.py
index d60978689ea255cff409d62e0be08ffb84194f3c..b56017fbd44c7f3e9d67893ac1b62ec3781b4198 100644 (file)
@@ -680,7 +680,7 @@ class wxListCtrl(wxListCtrlPtr):
 def wxPreListCtrl(*_args,**_kwargs):
     val = wxListCtrlPtr(apply(controls2c.new_wxPreListCtrl,_args,_kwargs))
     val.thisown = 1
-    val._setOORInfo(self)
+    val._setOORInfo(val)
     return val
 
 
@@ -728,7 +728,7 @@ class wxListView(wxListViewPtr):
 def wxPreListView(*_args,**_kwargs):
     val = wxListViewPtr(apply(controls2c.new_wxPreListView,_args,_kwargs))
     val.thisown = 1
-    val._setOORInfo(self)
+    val._setOORInfo(val)
     return val
 
 
@@ -1125,7 +1125,7 @@ class wxTreeCtrl(wxTreeCtrlPtr):
 def wxPreTreeCtrl(*_args,**_kwargs):
     val = wxTreeCtrlPtr(apply(controls2c.new_wxPreTreeCtrl,_args,_kwargs))
     val.thisown = 1
-    val._setOORInfo(self)
+    val._setOORInfo(val)
     return val