X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0122b7e3fcfd78f879470053c91a60e3c66537a3..e944f70a6d8f0a56d00d575940f4fe94f49ef727:/wxPython/src/msw/mdi.py?ds=sidebyside diff --git a/wxPython/src/msw/mdi.py b/wxPython/src/msw/mdi.py index 39576f52db..cbb13f73c9 100644 --- a/wxPython/src/msw/mdi.py +++ b/wxPython/src/msw/mdi.py @@ -7,6 +7,8 @@ from windows import * from gdi import * +from fonts import * + from clip_dnd import * from frames import * @@ -70,7 +72,7 @@ class wxMDIParentFrame(wxMDIParentFramePtr): def wxPreMDIParentFrame(*_args,**_kwargs): val = wxMDIParentFramePtr(apply(mdic.new_wxPreMDIParentFrame,_args,_kwargs)) val.thisown = 1 - val._setOORInfo(self) + val._setOORInfo(val) return val @@ -103,7 +105,7 @@ class wxMDIChildFrame(wxMDIChildFramePtr): def wxPreMDIChildFrame(*_args,**_kwargs): val = wxMDIChildFramePtr(apply(mdic.new_wxPreMDIChildFrame,_args,_kwargs)) val.thisown = 1 - val._setOORInfo(self) + val._setOORInfo(val) return val @@ -127,7 +129,7 @@ class wxMDIClientWindow(wxMDIClientWindowPtr): def wxPreMDIClientWindow(*_args,**_kwargs): val = wxMDIClientWindowPtr(apply(mdic.new_wxPreMDIClientWindow,_args,_kwargs)) val.thisown = 1 - val._setOORInfo(self) + val._setOORInfo(val) return val @@ -139,3 +141,11 @@ def wxPreMDIClientWindow(*_args,**_kwargs): #-------------- VARIABLE WRAPPERS ------------------ +IDM_WINDOWTILE = mdic.IDM_WINDOWTILE +IDM_WINDOWTILEHOR = mdic.IDM_WINDOWTILEHOR +IDM_WINDOWCASCADE = mdic.IDM_WINDOWCASCADE +IDM_WINDOWICONS = mdic.IDM_WINDOWICONS +IDM_WINDOWNEXT = mdic.IDM_WINDOWNEXT +IDM_WINDOWTILEVERT = mdic.IDM_WINDOWTILEVERT +wxFIRST_MDI_CHILD = mdic.wxFIRST_MDI_CHILD +wxLAST_MDI_CHILD = mdic.wxLAST_MDI_CHILD