]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/gtk/mdi.py
fixes for the wxPre* helpers
[wxWidgets.git] / wxPython / src / gtk / mdi.py
index d61ed1a618ac47cb9f86f7cb438486caf6cc6f82..15ae5c30fbfd69d3d06f88b7dbebcf494b9345df 100644 (file)
@@ -61,7 +61,7 @@ class wxMDIParentFrame(wxMDIParentFramePtr):
 def wxPreMDIParentFrame(*_args,**_kwargs):
     val = wxMDIParentFramePtr(apply(mdic.new_wxPreMDIParentFrame,_args,_kwargs))
     val.thisown = 1
-    val._setOORInfo(self)
+    val._setOORInfo(val)
     return val
 
 
@@ -94,7 +94,7 @@ class wxMDIChildFrame(wxMDIChildFramePtr):
 def wxPreMDIChildFrame(*_args,**_kwargs):
     val = wxMDIChildFramePtr(apply(mdic.new_wxPreMDIChildFrame,_args,_kwargs))
     val.thisown = 1
-    val._setOORInfo(self)
+    val._setOORInfo(val)
     return val
 
 
@@ -118,7 +118,7 @@ class wxMDIClientWindow(wxMDIClientWindowPtr):
 def wxPreMDIClientWindow(*_args,**_kwargs):
     val = wxMDIClientWindowPtr(apply(mdic.new_wxPreMDIClientWindow,_args,_kwargs))
     val.thisown = 1
-    val._setOORInfo(self)
+    val._setOORInfo(val)
     return val