]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/msw/mdi.py
fixed refresh problem after adding some items and calling Ensurevisible()
[wxWidgets.git] / wxPython / src / msw / mdi.py
index b42676e0019320627bfb361a4ce98f96afb86257..10d70741687529ffa70b490f00747cad0ed7c994 100644 (file)
@@ -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)