X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3ca6a5f04692678cd2d9f3ea0843fc3f5a0b254f..3b50432abf11a0dbdab6b8d4136c3956ce4def1f:/wxPython/src/msw/mdi.py diff --git a/wxPython/src/msw/mdi.py b/wxPython/src/msw/mdi.py index b42676e001..10d7074168 100644 --- a/wxPython/src/msw/mdi.py +++ b/wxPython/src/msw/mdi.py @@ -35,19 +35,15 @@ class wxMDIParentFramePtr(wxFramePtr): return val def GetActiveChild(self, *_args, **_kwargs): val = apply(mdic.wxMDIParentFrame_GetActiveChild,(self,) + _args, _kwargs) - if val: val = wxMDIChildFramePtr(val) return val def GetClientWindow(self, *_args, **_kwargs): val = apply(mdic.wxMDIParentFrame_GetClientWindow,(self,) + _args, _kwargs) - if val: val = wxMDIClientWindowPtr(val) return val def GetToolBar(self, *_args, **_kwargs): val = apply(mdic.wxMDIParentFrame_GetToolBar,(self,) + _args, _kwargs) - if val: val = wxWindowPtr(val) return val def GetWindowMenu(self, *_args, **_kwargs): val = apply(mdic.wxMDIParentFrame_GetWindowMenu,(self,) + _args, _kwargs) - if val: val = wxMenuPtr(val) return val def SetWindowMenu(self, *_args, **_kwargs): val = apply(mdic.wxMDIParentFrame_SetWindowMenu,(self,) + _args, _kwargs)