X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c9a1416a3aa25c297d8d6126c08658dba968767d..17c0e08c61c69b77e58b3e9ffc78d58fcf105940:/wxPython/src/msw/controls2.py diff --git a/wxPython/src/msw/controls2.py b/wxPython/src/msw/controls2.py index d60978689e..b56017fbd4 100644 --- a/wxPython/src/msw/controls2.py +++ b/wxPython/src/msw/controls2.py @@ -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