X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0220cbc1695d01a55964f31987f2fe78cf212ca1..1893b029458c15069855bde50889d2a1a82a44e9:/wxPython/src/gtk/windows2.py diff --git a/wxPython/src/gtk/windows2.py b/wxPython/src/gtk/windows2.py index 769264ac64..f296814c80 100644 --- a/wxPython/src/gtk/windows2.py +++ b/wxPython/src/gtk/windows2.py @@ -123,7 +123,7 @@ class wxNotebook(wxNotebookPtr): def wxPreNotebook(*_args,**_kwargs): val = wxNotebookPtr(apply(windows2c.new_wxPreNotebook,_args,_kwargs)) val.thisown = 1 - val._setOORInfo(self) + val._setOORInfo(val) return val @@ -230,7 +230,7 @@ class wxSplitterWindow(wxSplitterWindowPtr): def wxPreSplitterWindow(*_args,**_kwargs): val = wxSplitterWindowPtr(apply(windows2c.new_wxPreSplitterWindow,_args,_kwargs)) val.thisown = 1 - val._setOORInfo(self) + val._setOORInfo(val) return val