]> 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 0569d1092144fce7b3e87bc8d9fa0b267a3a2ffd..10d70741687529ffa70b490f00747cad0ed7c994 100644 (file)
@@ -35,15 +35,18 @@ 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)
+        return val
+    def SetWindowMenu(self, *_args, **_kwargs):
+        val = apply(mdic.wxMDIParentFrame_SetWindowMenu,(self,) + _args, _kwargs)
         return val
     def SetToolBar(self, *_args, **_kwargs):
         val = apply(mdic.wxMDIParentFrame_SetToolBar,(self,) + _args, _kwargs)