X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b26e2dc41d9f5b387897a6cc6fba58d6957fd5cd..9f06bcb3b8aea7aa709754a217c26e94fe2d5954:/utils/wxPython/src/gtk/mdi.py diff --git a/utils/wxPython/src/gtk/mdi.py b/utils/wxPython/src/gtk/mdi.py index 7ece3fc198..b878c8dc13 100644 --- a/utils/wxPython/src/gtk/mdi.py +++ b/utils/wxPython/src/gtk/mdi.py @@ -14,7 +14,7 @@ from stattool import * from controls import * from events import * -import wxp +import wx class wxMDIParentFramePtr(wxFramePtr): def __init__(self,this): self.this = this @@ -31,9 +31,6 @@ class wxMDIParentFramePtr(wxFramePtr): def Cascade(self): val = mdic.wxMDIParentFrame_Cascade(self.this) return val - def GetClientSize(self): - val = mdic.wxMDIParentFrame_GetClientSize(self.this) - return val def GetActiveChild(self): val = mdic.wxMDIParentFrame_GetActiveChild(self.this) val = wxMDIChildFramePtr(val) @@ -61,7 +58,7 @@ class wxMDIParentFrame(wxMDIParentFramePtr): args = tuple(argl) self.this = apply(mdic.new_wxMDIParentFrame,(arg0.this,arg1,arg2,)+args) self.thisown = 1 - wxp._StdFrameCallbacks(self) + wx._StdFrameCallbacks(self) @@ -79,15 +76,6 @@ class wxMDIChildFramePtr(wxFramePtr): def Restore(self): val = mdic.wxMDIChildFrame_Restore(self.this) return val - def SetMenuBar(self,arg0): - val = mdic.wxMDIChildFrame_SetMenuBar(self.this,arg0.this) - return val - def SetClientSize(self,arg0,arg1): - val = mdic.wxMDIChildFrame_SetClientSize(self.this,arg0,arg1) - return val - def GetPosition(self): - val = mdic.wxMDIChildFrame_GetPosition(self.this) - return val def __repr__(self): return "" class wxMDIChildFrame(wxMDIChildFramePtr): @@ -100,7 +88,7 @@ class wxMDIChildFrame(wxMDIChildFramePtr): args = tuple(argl) self.this = apply(mdic.new_wxMDIChildFrame,(arg0.this,arg1,arg2,)+args) self.thisown = 1 - wxp._StdFrameCallbacks(self) + wx._StdFrameCallbacks(self) @@ -115,8 +103,8 @@ class wxMDIClientWindow(wxMDIClientWindowPtr): def __init__(self,arg0,*args) : self.this = apply(mdic.new_wxMDIClientWindow,(arg0.this,)+args) self.thisown = 1 - wxp._StdWindowCallbacks(self) - wxp._StdOnScrollCallbacks(self) + wx._StdWindowCallbacks(self) + wx._StdOnScrollCallbacks(self)