]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/gtk/mdi.py
fixed the last of the off-by-one errors (some are refixed, again...)
[wxWidgets.git] / wxPython / src / gtk / mdi.py
index bd6c5062b47bbcb461e7ed38bd21cf18ae904809..957727119f61254176123bc3db892be025fddfd2 100644 (file)
@@ -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)