X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/419c299ae50da93b157c707cb983520611f9d31e..9df61a29d2ff6ec6037c04a4da6d5418c1a5fbc9:/wxPython/src/gtk/mdi.py diff --git a/wxPython/src/gtk/mdi.py b/wxPython/src/gtk/mdi.py index bd6c5062b4..957727119f 100644 --- a/wxPython/src/gtk/mdi.py +++ b/wxPython/src/gtk/mdi.py @@ -35,15 +35,12 @@ 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 Tile(self, *_args, **_kwargs): val = apply(mdic.wxMDIParentFrame_Tile,(self,) + _args, _kwargs)