1 # This file was created automatically by SWIG.
12 from clip_dnd
import *
16 from stattool
import *
18 from controls
import *
23 def EVT_WIZARD_PAGE_CHANGED(win
, id, func
):
24 win
.Connect(id, -1, wxEVT_WIZARD_PAGE_CHANGED
, func
)
26 def EVT_WIZARD_PAGE_CHANGING(win
, id, func
):
27 win
.Connect(id, -1, wxEVT_WIZARD_PAGE_CHANGING
, func
)
29 def EVT_WIZARD_CANCEL(win
, id, func
):
30 win
.Connect(id, -1, wxEVT_WIZARD_CANCEL
, func
)
32 def EVT_WIZARD_HELP(win
, id, func
):
33 win
.Connect(id, -1, wxEVT_WIZARD_HELP
, func
)
36 class wxWizardEventPtr(wxNotifyEventPtr
):
37 def __init__(self
,this
):
40 def GetDirection(self
, *_args
, **_kwargs
):
41 val
= apply(wizardc
.wxWizardEvent_GetDirection
,(self
,) + _args
, _kwargs
)
43 def GetPage(self
, *_args
, **_kwargs
):
44 val
= apply(wizardc
.wxWizardEvent_GetPage
,(self
,) + _args
, _kwargs
)
47 return "<C wxWizardEvent instance at %s>" % (self
.this
,)
48 class wxWizardEvent(wxWizardEventPtr
):
49 def __init__(self
,*_args
,**_kwargs
):
50 self
.this
= apply(wizardc
.new_wxWizardEvent
,_args
,_kwargs
)
56 class wxWizardPagePtr(wxPanelPtr
):
57 def __init__(self
,this
):
60 def Create(self
, *_args
, **_kwargs
):
61 val
= apply(wizardc
.wxWizardPage_Create
,(self
,) + _args
, _kwargs
)
63 def Init(self
, *_args
, **_kwargs
):
64 val
= apply(wizardc
.wxWizardPage_Init
,(self
,) + _args
, _kwargs
)
66 def GetPrev(self
, *_args
, **_kwargs
):
67 val
= apply(wizardc
.wxWizardPage_GetPrev
,(self
,) + _args
, _kwargs
)
69 def GetNext(self
, *_args
, **_kwargs
):
70 val
= apply(wizardc
.wxWizardPage_GetNext
,(self
,) + _args
, _kwargs
)
72 def GetBitmap(self
, *_args
, **_kwargs
):
73 val
= apply(wizardc
.wxWizardPage_GetBitmap
,(self
,) + _args
, _kwargs
)
74 if val
: val
= wxBitmapPtr(val
) ; val
.thisown
= 1
77 return "<C wxWizardPage instance at %s>" % (self
.this
,)
78 class wxWizardPage(wxWizardPagePtr
):
79 def __init__(self
,this
):
85 class wxPyWizardPagePtr(wxWizardPagePtr
):
86 def __init__(self
,this
):
89 def Create(self
, *_args
, **_kwargs
):
90 val
= apply(wizardc
.wxPyWizardPage_Create
,(self
,) + _args
, _kwargs
)
92 def _setCallbackInfo(self
, *_args
, **_kwargs
):
93 val
= apply(wizardc
.wxPyWizardPage__setCallbackInfo
,(self
,) + _args
, _kwargs
)
95 def base_DoMoveWindow(self
, *_args
, **_kwargs
):
96 val
= apply(wizardc
.wxPyWizardPage_base_DoMoveWindow
,(self
,) + _args
, _kwargs
)
98 def base_DoSetSize(self
, *_args
, **_kwargs
):
99 val
= apply(wizardc
.wxPyWizardPage_base_DoSetSize
,(self
,) + _args
, _kwargs
)
101 def base_DoSetClientSize(self
, *_args
, **_kwargs
):
102 val
= apply(wizardc
.wxPyWizardPage_base_DoSetClientSize
,(self
,) + _args
, _kwargs
)
104 def base_DoSetVirtualSize(self
, *_args
, **_kwargs
):
105 val
= apply(wizardc
.wxPyWizardPage_base_DoSetVirtualSize
,(self
,) + _args
, _kwargs
)
107 def base_DoGetSize(self
, *_args
, **_kwargs
):
108 val
= apply(wizardc
.wxPyWizardPage_base_DoGetSize
,(self
,) + _args
, _kwargs
)
110 def base_DoGetClientSize(self
, *_args
, **_kwargs
):
111 val
= apply(wizardc
.wxPyWizardPage_base_DoGetClientSize
,(self
,) + _args
, _kwargs
)
113 def base_DoGetPosition(self
, *_args
, **_kwargs
):
114 val
= apply(wizardc
.wxPyWizardPage_base_DoGetPosition
,(self
,) + _args
, _kwargs
)
116 def base_DoGetVirtualSize(self
, *_args
, **_kwargs
):
117 val
= apply(wizardc
.wxPyWizardPage_base_DoGetVirtualSize
,(self
,) + _args
, _kwargs
)
118 if val
: val
= wxSizePtr(val
) ; val
.thisown
= 1
120 def base_DoGetBestSize(self
, *_args
, **_kwargs
):
121 val
= apply(wizardc
.wxPyWizardPage_base_DoGetBestSize
,(self
,) + _args
, _kwargs
)
122 if val
: val
= wxSizePtr(val
) ; val
.thisown
= 1
124 def base_InitDialog(self
, *_args
, **_kwargs
):
125 val
= apply(wizardc
.wxPyWizardPage_base_InitDialog
,(self
,) + _args
, _kwargs
)
127 def base_TransferDataToWindow(self
, *_args
, **_kwargs
):
128 val
= apply(wizardc
.wxPyWizardPage_base_TransferDataToWindow
,(self
,) + _args
, _kwargs
)
130 def base_TransferDataFromWindow(self
, *_args
, **_kwargs
):
131 val
= apply(wizardc
.wxPyWizardPage_base_TransferDataFromWindow
,(self
,) + _args
, _kwargs
)
133 def base_Validate(self
, *_args
, **_kwargs
):
134 val
= apply(wizardc
.wxPyWizardPage_base_Validate
,(self
,) + _args
, _kwargs
)
136 def base_AcceptsFocus(self
, *_args
, **_kwargs
):
137 val
= apply(wizardc
.wxPyWizardPage_base_AcceptsFocus
,(self
,) + _args
, _kwargs
)
139 def base_AcceptsFocusFromKeyboard(self
, *_args
, **_kwargs
):
140 val
= apply(wizardc
.wxPyWizardPage_base_AcceptsFocusFromKeyboard
,(self
,) + _args
, _kwargs
)
142 def base_GetMaxSize(self
, *_args
, **_kwargs
):
143 val
= apply(wizardc
.wxPyWizardPage_base_GetMaxSize
,(self
,) + _args
, _kwargs
)
144 if val
: val
= wxSizePtr(val
) ; val
.thisown
= 1
146 def base_AddChild(self
, *_args
, **_kwargs
):
147 val
= apply(wizardc
.wxPyWizardPage_base_AddChild
,(self
,) + _args
, _kwargs
)
149 def base_RemoveChild(self
, *_args
, **_kwargs
):
150 val
= apply(wizardc
.wxPyWizardPage_base_RemoveChild
,(self
,) + _args
, _kwargs
)
153 return "<C wxPyWizardPage instance at %s>" % (self
.this
,)
154 class wxPyWizardPage(wxPyWizardPagePtr
):
155 def __init__(self
,*_args
,**_kwargs
):
156 self
.this
= apply(wizardc
.new_wxPyWizardPage
,_args
,_kwargs
)
158 self
._setCallbackInfo
(self
, wxPyWizardPage
)
159 self
._setOORInfo
(self
)
163 def wxPrePyWizardPage(*_args
,**_kwargs
):
164 val
= wxPyWizardPagePtr(apply(wizardc
.new_wxPrePyWizardPage
,_args
,_kwargs
))
170 class wxWizardPageSimplePtr(wxWizardPagePtr
):
171 def __init__(self
,this
):
174 def Create(self
, *_args
, **_kwargs
):
175 val
= apply(wizardc
.wxWizardPageSimple_Create
,(self
,) + _args
, _kwargs
)
177 def Init(self
, *_args
, **_kwargs
):
178 val
= apply(wizardc
.wxWizardPageSimple_Init
,(self
,) + _args
, _kwargs
)
180 def SetPrev(self
, *_args
, **_kwargs
):
181 val
= apply(wizardc
.wxWizardPageSimple_SetPrev
,(self
,) + _args
, _kwargs
)
183 def SetNext(self
, *_args
, **_kwargs
):
184 val
= apply(wizardc
.wxWizardPageSimple_SetNext
,(self
,) + _args
, _kwargs
)
187 return "<C wxWizardPageSimple instance at %s>" % (self
.this
,)
188 class wxWizardPageSimple(wxWizardPageSimplePtr
):
189 def __init__(self
,*_args
,**_kwargs
):
190 self
.this
= apply(wizardc
.new_wxWizardPageSimple
,_args
,_kwargs
)
192 self
._setOORInfo
(self
)
196 def wxPreWizardPageSimple(*_args
,**_kwargs
):
197 val
= wxWizardPageSimplePtr(apply(wizardc
.new_wxPreWizardPageSimple
,_args
,_kwargs
))
203 class wxWizardPtr(wxDialogPtr
):
204 def __init__(self
,this
):
207 def Create(self
, *_args
, **_kwargs
):
208 val
= apply(wizardc
.wxWizard_Create
,(self
,) + _args
, _kwargs
)
210 def Init(self
, *_args
, **_kwargs
):
211 val
= apply(wizardc
.wxWizard_Init
,(self
,) + _args
, _kwargs
)
213 def RunWizard(self
, *_args
, **_kwargs
):
214 val
= apply(wizardc
.wxWizard_RunWizard
,(self
,) + _args
, _kwargs
)
216 def GetCurrentPage(self
, *_args
, **_kwargs
):
217 val
= apply(wizardc
.wxWizard_GetCurrentPage
,(self
,) + _args
, _kwargs
)
219 def SetPageSize(self
, *_args
, **_kwargs
):
220 val
= apply(wizardc
.wxWizard_SetPageSize
,(self
,) + _args
, _kwargs
)
222 def GetPageSize(self
, *_args
, **_kwargs
):
223 val
= apply(wizardc
.wxWizard_GetPageSize
,(self
,) + _args
, _kwargs
)
224 if val
: val
= wxSizePtr(val
) ; val
.thisown
= 1
226 def FitToPage(self
, *_args
, **_kwargs
):
227 val
= apply(wizardc
.wxWizard_FitToPage
,(self
,) + _args
, _kwargs
)
229 def IsRunning(self
, *_args
, **_kwargs
):
230 val
= apply(wizardc
.wxWizard_IsRunning
,(self
,) + _args
, _kwargs
)
232 def ShowPage(self
, *_args
, **_kwargs
):
233 val
= apply(wizardc
.wxWizard_ShowPage
,(self
,) + _args
, _kwargs
)
236 return "<C wxWizard instance at %s>" % (self
.this
,)
237 class wxWizard(wxWizardPtr
):
238 def __init__(self
,*_args
,**_kwargs
):
239 self
.this
= apply(wizardc
.new_wxWizard
,_args
,_kwargs
)
241 self
._setOORInfo
(self
)
245 def wxPreWizard(*_args
,**_kwargs
):
246 val
= wxWizardPtr(apply(wizardc
.new_wxPreWizard
,_args
,_kwargs
))
254 #-------------- FUNCTION WRAPPERS ------------------
256 wxWizardPageSimple_Chain
= wizardc
.wxWizardPageSimple_Chain
260 #-------------- VARIABLE WRAPPERS ------------------
262 wxWIZARD_EX_HELPBUTTON
= wizardc
.wxWIZARD_EX_HELPBUTTON
263 wxEVT_WIZARD_PAGE_CHANGED
= wizardc
.wxEVT_WIZARD_PAGE_CHANGED
264 wxEVT_WIZARD_PAGE_CHANGING
= wizardc
.wxEVT_WIZARD_PAGE_CHANGING
265 wxEVT_WIZARD_CANCEL
= wizardc
.wxEVT_WIZARD_CANCEL
266 wxEVT_WIZARD_HELP
= wizardc
.wxEVT_WIZARD_HELP
269 #-------------- USER INCLUDE -----------------------
271 # Stuff these names into the wx namespace so wxPyConstructObject can find them
273 wx
.wxWizardEventPtr
= wxWizardEventPtr