]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/msw/frames.py
SWIGged updates for wxMSW
[wxWidgets.git] / wxPython / src / msw / frames.py
index 26b4e08cff73a4f826155f056537bcd455feb847..0fae1a5d20eb372452e07c9a17eabdf338990731 100644 (file)
@@ -95,9 +95,6 @@ class wxFramePtr(wxTopLevelWindowPtr):
     def GetMenuBar(self, *_args, **_kwargs):
         val = apply(framesc.wxFrame_GetMenuBar,(self,) + _args, _kwargs)
         return val
-    def Command(self, *_args, **_kwargs):
-        val = apply(framesc.wxFrame_Command,(self,) + _args, _kwargs)
-        return val
     def ProcessCommand(self, *_args, **_kwargs):
         val = apply(framesc.wxFrame_ProcessCommand,(self,) + _args, _kwargs)
         return val
@@ -145,6 +142,7 @@ class wxFramePtr(wxTopLevelWindowPtr):
         return val
     def __repr__(self):
         return "<C wxFrame instance at %s>" % (self.this,)
+    Command = ProcessCommand
 class wxFrame(wxFramePtr):
     def __init__(self,*_args,**_kwargs):
         self.this = apply(framesc.new_wxFrame,_args,_kwargs)