X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0122b7e3fcfd78f879470053c91a60e3c66537a3..cd72551c2b6cbf67a4a5caf0ba00ba64e41183b2:/wxPython/src/msw/mdi.py diff --git a/wxPython/src/msw/mdi.py b/wxPython/src/msw/mdi.py index 39576f52db..91a9ee973a 100644 --- a/wxPython/src/msw/mdi.py +++ b/wxPython/src/msw/mdi.py @@ -70,7 +70,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 @@ -103,7 +103,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 @@ -127,7 +127,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