X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3ca6a5f04692678cd2d9f3ea0843fc3f5a0b254f..06b781c7c630ff8c2ab30211cb4351b4cb5bfb47:/wxPython/src/msw/mdi.py?ds=inline 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)