]> git.saurik.com Git - wxWidgets.git/blame - utils/wxPython/src/msw/mdi.py
Fixed a misplaced } that was causing the wrong encoding to be enumerated
[wxWidgets.git] / utils / wxPython / src / msw / mdi.py
CommitLineData
8ab979d7
RD
1# This file was created automatically by SWIG.
2import mdic
3
4from misc import *
5
6from windows import *
7
8from gdi import *
9c039d08
RD
9
10from frames import *
11
12from stattool import *
13
14from controls import *
15
16from events import *
b8b8dda7 17import wx
8ab979d7
RD
18class wxMDIParentFramePtr(wxFramePtr):
19 def __init__(self,this):
20 self.this = this
21 self.thisown = 0
1d99702e
RD
22 def ActivateNext(self, *_args, **_kwargs):
23 val = apply(mdic.wxMDIParentFrame_ActivateNext,(self,) + _args, _kwargs)
8ab979d7 24 return val
1d99702e
RD
25 def ActivatePrevious(self, *_args, **_kwargs):
26 val = apply(mdic.wxMDIParentFrame_ActivatePrevious,(self,) + _args, _kwargs)
8ab979d7 27 return val
1d99702e
RD
28 def ArrangeIcons(self, *_args, **_kwargs):
29 val = apply(mdic.wxMDIParentFrame_ArrangeIcons,(self,) + _args, _kwargs)
8ab979d7 30 return val
1d99702e
RD
31 def Cascade(self, *_args, **_kwargs):
32 val = apply(mdic.wxMDIParentFrame_Cascade,(self,) + _args, _kwargs)
8ab979d7 33 return val
1d99702e
RD
34 def GetActiveChild(self, *_args, **_kwargs):
35 val = apply(mdic.wxMDIParentFrame_GetActiveChild,(self,) + _args, _kwargs)
36 if val: val = wxMDIChildFramePtr(val)
8ab979d7 37 return val
1d99702e
RD
38 def GetClientWindow(self, *_args, **_kwargs):
39 val = apply(mdic.wxMDIParentFrame_GetClientWindow,(self,) + _args, _kwargs)
40 if val: val = wxMDIClientWindowPtr(val)
8ab979d7 41 return val
1d99702e
RD
42 def GetToolBar(self, *_args, **_kwargs):
43 val = apply(mdic.wxMDIParentFrame_GetToolBar,(self,) + _args, _kwargs)
44 if val: val = wxWindowPtr(val)
8ab979d7 45 return val
1d99702e
RD
46 def SetToolBar(self, *_args, **_kwargs):
47 val = apply(mdic.wxMDIParentFrame_SetToolBar,(self,) + _args, _kwargs)
8ab979d7 48 return val
1d99702e
RD
49 def Tile(self, *_args, **_kwargs):
50 val = apply(mdic.wxMDIParentFrame_Tile,(self,) + _args, _kwargs)
8ab979d7
RD
51 return val
52 def __repr__(self):
1d99702e 53 return "<C wxMDIParentFrame instance at %s>" % (self.this,)
8ab979d7 54class wxMDIParentFrame(wxMDIParentFramePtr):
1d99702e
RD
55 def __init__(self,*_args,**_kwargs):
56 self.this = apply(mdic.new_wxMDIParentFrame,_args,_kwargs)
8ab979d7 57 self.thisown = 1
b8b8dda7 58 wx._StdFrameCallbacks(self)
8ab979d7
RD
59
60
61
62
63class wxMDIChildFramePtr(wxFramePtr):
64 def __init__(self,this):
65 self.this = this
66 self.thisown = 0
1d99702e
RD
67 def Activate(self, *_args, **_kwargs):
68 val = apply(mdic.wxMDIChildFrame_Activate,(self,) + _args, _kwargs)
8ab979d7 69 return val
1d99702e
RD
70 def Maximize(self, *_args, **_kwargs):
71 val = apply(mdic.wxMDIChildFrame_Maximize,(self,) + _args, _kwargs)
8ab979d7 72 return val
1d99702e
RD
73 def Restore(self, *_args, **_kwargs):
74 val = apply(mdic.wxMDIChildFrame_Restore,(self,) + _args, _kwargs)
8ab979d7 75 return val
8ab979d7 76 def __repr__(self):
1d99702e 77 return "<C wxMDIChildFrame instance at %s>" % (self.this,)
8ab979d7 78class wxMDIChildFrame(wxMDIChildFramePtr):
1d99702e
RD
79 def __init__(self,*_args,**_kwargs):
80 self.this = apply(mdic.new_wxMDIChildFrame,_args,_kwargs)
8ab979d7 81 self.thisown = 1
b8b8dda7 82 wx._StdFrameCallbacks(self)
8ab979d7
RD
83
84
85
86
87class wxMDIClientWindowPtr(wxWindowPtr):
88 def __init__(self,this):
89 self.this = this
90 self.thisown = 0
91 def __repr__(self):
1d99702e 92 return "<C wxMDIClientWindow instance at %s>" % (self.this,)
8ab979d7 93class wxMDIClientWindow(wxMDIClientWindowPtr):
1d99702e
RD
94 def __init__(self,*_args,**_kwargs):
95 self.this = apply(mdic.new_wxMDIClientWindow,_args,_kwargs)
8ab979d7 96 self.thisown = 1
b8b8dda7
RD
97 wx._StdWindowCallbacks(self)
98 wx._StdOnScrollCallbacks(self)
8ab979d7
RD
99
100
101
102
103
104
105#-------------- FUNCTION WRAPPERS ------------------
106
107
108
109#-------------- VARIABLE WRAPPERS ------------------
110