]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/msw/windows2.py
corrections to dynamic loading for Darwin
[wxWidgets.git] / wxPython / src / msw / windows2.py
index 11485c1682b976517c784a5c6c63b3f13260d90f..2e2fc53fb2bf833b8c2b55f7142ee430ef31710d 100644 (file)
@@ -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