X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0220cbc1695d01a55964f31987f2fe78cf212ca1..f63e3ebbe3272b9690aa2530e0c3048d3f37c7c7:/wxPython/src/gtk/mdi.py?ds=sidebyside diff --git a/wxPython/src/gtk/mdi.py b/wxPython/src/gtk/mdi.py index d61ed1a618..61c6f9d46c 100644 --- a/wxPython/src/gtk/mdi.py +++ b/wxPython/src/gtk/mdi.py @@ -7,6 +7,8 @@ from windows import * from gdi import * +from fonts import * + from clip_dnd import * from frames import * @@ -61,7 +63,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 @@ -94,7 +96,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 @@ -118,7 +120,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 @@ -130,3 +132,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