X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8ab979d7382a718bc0e20a7798f2da4b02286c89..a91b47e800c78dbf8e91191ce3977d148a13f1fe:/utils/wxPython/src/msw/mdi.py diff --git a/utils/wxPython/src/msw/mdi.py b/utils/wxPython/src/msw/mdi.py index b295197deb..7af8ce5122 100644 --- a/utils/wxPython/src/msw/mdi.py +++ b/utils/wxPython/src/msw/mdi.py @@ -6,6 +6,15 @@ from misc import * from windows import * from gdi import * + +from frames import * + +from stattool import * + +from controls import * + +from events import * +import wx class wxMDIParentFramePtr(wxFramePtr): def __init__(self,this): self.this = this @@ -38,7 +47,7 @@ class wxMDIParentFramePtr(wxFramePtr): val = wxWindowPtr(val) return val def SetToolBar(self,arg0): - val = mdic.wxMDIParentFrame_SetToolBar(self.this,arg0) + val = mdic.wxMDIParentFrame_SetToolBar(self.this,arg0.this) return val def Tile(self): val = mdic.wxMDIParentFrame_Tile(self.this) @@ -55,6 +64,7 @@ class wxMDIParentFrame(wxMDIParentFramePtr): args = tuple(argl) self.this = apply(mdic.new_wxMDIParentFrame,(arg0.this,arg1,arg2,)+args) self.thisown = 1 + wx._StdFrameCallbacks(self) @@ -93,6 +103,7 @@ class wxMDIChildFrame(wxMDIChildFramePtr): args = tuple(argl) self.this = apply(mdic.new_wxMDIChildFrame,(arg0.this,arg1,arg2,)+args) self.thisown = 1 + wx._StdFrameCallbacks(self) @@ -107,6 +118,8 @@ class wxMDIClientWindow(wxMDIClientWindowPtr): def __init__(self,arg0,*args) : self.this = apply(mdic.new_wxMDIClientWindow,(arg0.this,)+args) self.thisown = 1 + wx._StdWindowCallbacks(self) + wx._StdOnScrollCallbacks(self)