1 /*
2 * Interface wrapper code.
3 *
4 * Generated by SIP 4.19.16
5 *
6 * Copyright: (c) 2018 by Total Control Software
7 * License: wxWindows License
8 */
9
10 #include "sipAPI_adv.h"
11
12 #include <wx/wizard.h>
13
14 #include <wx/window.h>
15 #include <wx/bitmap.h>
16 #include <wx/gdicmn.h>
17 #include <wx/wizard.h>
18 #include <wx/window.h>
19 #include <wx/gdicmn.h>
20 #include <wx/colour.h>
21 #include <wx/sizer.h>
22 #include <wx/event.h>
23 #include <wx/validate.h>
24 #include <wx/dialog.h>
25 #include <wx/iconbndl.h>
26 #include <wx/icon.h>
27 #include <wx/sizer.h>
28 #include <wx/region.h>
29 #include <wx/graphics.h>
30 #include <wx/event.h>
31 #include <wx/setup.h>
32 #include <wxPython/wxpy_api.h>
33 #include <wx/event.h>
34 #include <wx/cursor.h>
35 #include <wx/caret.h>
36 #include <wx/layout.h>
37 #include <wx/dnd.h>
38 #include <wx/access.h>
39 #include <wx/accel.h>
40 #include <wx/menu.h>
41 #include <wx/tooltip.h>
42 #include <wx/event.h>
43 #include <wx/gdicmn.h>
44 #include <wx/event.h>
45 #include <wx/event.h>
46 #include <wx/palette.h>
47 #include <wx/font.h>
48
49 #include <wx/eventfilter.h>
50 #include <wx/object.h>
51 #include <wx/object.h>
52 #include <wx/object.h>
53
54
55 class sipwxWizard : public ::wxWizard
56 {
57 public:
58 sipwxWizard();
59 sipwxWizard( ::wxWindow*,int,const ::wxString&,const ::wxBitmap&,const ::wxPoint&,long);
60 virtual ~sipwxWizard();
61
62 /*
63 * There is a public method for every protected method visible from
64 * this class.
65 */
66 void sipProtect_SendDestroyEvent();
67 bool sipProtectVirt_ProcessEvent(bool, ::wxEvent&);
68 void sipProtectVirt_DoEnable(bool,bool);
69 void sipProtectVirt_DoGetPosition(bool,int*,int*) const;
70 void sipProtectVirt_DoGetSize(bool,int*,int*) const;
71 void sipProtectVirt_DoGetClientSize(bool,int*,int*) const;
72 ::wxSize sipProtectVirt_DoGetBestSize(bool) const;
73 ::wxSize sipProtectVirt_DoGetBestClientSize(bool) const;
74 void sipProtectVirt_DoSetSize(bool,int,int,int,int,int);
75 void sipProtectVirt_DoSetClientSize(bool,int,int);
76 void sipProtectVirt_DoSetSizeHints(bool,int,int,int,int,int,int);
77 ::wxSize sipProtectVirt_DoGetBorderSize(bool) const;
78 void sipProtectVirt_DoMoveWindow(bool,int,int,int,int);
79 void sipProtectVirt_DoSetWindowVariant(bool, ::wxWindowVariant);
80 ::wxBorder sipProtectVirt_GetDefaultBorder(bool) const;
81 ::wxBorder sipProtectVirt_GetDefaultBorderForControl(bool) const;
82 void sipProtectVirt_DoFreeze(bool);
83 void sipProtectVirt_DoThaw(bool);
84 bool sipProtectVirt_HasTransparentBackground(bool);
85 bool sipProtectVirt_TryBefore(bool, ::wxEvent&);
86 bool sipProtectVirt_TryAfter(bool, ::wxEvent&);
87
88 /*
89 * There is a protected method for every virtual method visible from
90 * this class.
91 */
92 protected:
93 bool ShowPage( ::wxWizardPage*,bool) SIP_OVERRIDE;
94 void SetPageSize(const ::wxSize&) SIP_OVERRIDE;
95 void SetBorder(int) SIP_OVERRIDE;
96 bool RunWizard( ::wxWizardPage*) SIP_OVERRIDE;
97 bool HasPrevPage( ::wxWizardPage*) SIP_OVERRIDE;
98 bool HasNextPage( ::wxWizardPage*) SIP_OVERRIDE;
99 ::wxSize GetPageSize() const SIP_OVERRIDE;
100 ::wxSizer* GetPageAreaSizer() const SIP_OVERRIDE;
101 ::wxWizardPage* GetCurrentPage() const SIP_OVERRIDE;
102 void FitToPage(const ::wxWizardPage*) SIP_OVERRIDE;
103 bool ShouldPreventAppExit() const SIP_OVERRIDE;
104 ::wxSize DoGetBestClientSize() const SIP_OVERRIDE;
105 ::wxSize DoGetBestSize() const SIP_OVERRIDE;
106 void DoThaw() SIP_OVERRIDE;
107 void DoFreeze() SIP_OVERRIDE;
108 ::wxBorder GetDefaultBorderForControl() const SIP_OVERRIDE;
109 ::wxBorder GetDefaultBorder() const SIP_OVERRIDE;
110 void DoSetWindowVariant( ::wxWindowVariant) SIP_OVERRIDE;
111 void DoMoveWindow(int,int,int,int) SIP_OVERRIDE;
112 ::wxSize DoGetBorderSize() const SIP_OVERRIDE;
113 void DoSetSizeHints(int,int,int,int,int,int) SIP_OVERRIDE;
114 void DoSetClientSize(int,int) SIP_OVERRIDE;
115 void DoSetSize(int,int,int,int,int) SIP_OVERRIDE;
116 void DoGetClientSize(int*,int*) const SIP_OVERRIDE;
117 void DoGetSize(int*,int*) const SIP_OVERRIDE;
118 void DoGetPosition(int*,int*) const SIP_OVERRIDE;
119 void DoEnable(bool) SIP_OVERRIDE;
120 ::wxWindow* GetMainWindowOfCompositeControl() SIP_OVERRIDE;
121 void OnInternalIdle() SIP_OVERRIDE;
122 void InitDialog() SIP_OVERRIDE;
123 void InheritAttributes() SIP_OVERRIDE;
124 bool Destroy() SIP_OVERRIDE;
125 bool Validate() SIP_OVERRIDE;
126 bool TransferDataToWindow() SIP_OVERRIDE;
127 bool TransferDataFromWindow() SIP_OVERRIDE;
128 void SetValidator(const ::wxValidator&) SIP_OVERRIDE;
129 ::wxValidator* GetValidator() SIP_OVERRIDE;
130 bool ShouldInheritColours() const SIP_OVERRIDE;
131 bool HasTransparentBackground() SIP_OVERRIDE;
132 ::wxPoint GetClientAreaOrigin() const SIP_OVERRIDE;
133 bool InformFirstDirection(int,int,int) SIP_OVERRIDE;
134 void SetCanFocus(bool) SIP_OVERRIDE;
135 bool AcceptsFocusRecursively() const SIP_OVERRIDE;
136 bool AcceptsFocusFromKeyboard() const SIP_OVERRIDE;
137 bool AcceptsFocus() const SIP_OVERRIDE;
138 bool TryAfter( ::wxEvent&) SIP_OVERRIDE;
139 bool TryBefore( ::wxEvent&) SIP_OVERRIDE;
140 bool ProcessEvent( ::wxEvent&) SIP_OVERRIDE;
141 void AddChild( ::wxWindowBase*) SIP_OVERRIDE;
142 void RemoveChild( ::wxWindowBase*) SIP_OVERRIDE;
143 ::wxWindow* GetContentWindow() const SIP_OVERRIDE;
144
145 public:
146 sipSimpleWrapper *sipPySelf;
147
148 private:
149 sipwxWizard(const sipwxWizard &);
150 sipwxWizard &operator = (const sipwxWizard &);
151
152 char sipPyMethods[51];
153 };
154
sipwxWizard()155 sipwxWizard::sipwxWizard(): ::wxWizard(), sipPySelf(SIP_NULLPTR)
156 {
157 memset(sipPyMethods, 0, sizeof (sipPyMethods));
158 }
159
sipwxWizard(::wxWindow * parent,int id,const::wxString & title,const::wxBitmap & bitmap,const::wxPoint & pos,long style)160 sipwxWizard::sipwxWizard( ::wxWindow*parent,int id,const ::wxString& title,const ::wxBitmap& bitmap,const ::wxPoint& pos,long style): ::wxWizard(parent,id,title,bitmap,pos,style), sipPySelf(SIP_NULLPTR)
161 {
162 memset(sipPyMethods, 0, sizeof (sipPyMethods));
163 }
164
~sipwxWizard()165 sipwxWizard::~sipwxWizard()
166 {
167 sipInstanceDestroyedEx(&sipPySelf);
168 }
169
ShowPage(::wxWizardPage * page,bool goingForward)170 bool sipwxWizard::ShowPage( ::wxWizardPage*page,bool goingForward)
171 {
172 sip_gilstate_t sipGILState;
173 PyObject *sipMeth;
174
175 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,SIP_NULLPTR,sipName_ShowPage);
176
177 if (!sipMeth)
178 return ::wxWizard::ShowPage(page,goingForward);
179
180 extern bool sipVH__adv_58(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::wxWizardPage*,bool);
181
182 return sipVH__adv_58(sipGILState, 0, sipPySelf, sipMeth, page, goingForward);
183 }
184
SetPageSize(const::wxSize & sizePage)185 void sipwxWizard::SetPageSize(const ::wxSize& sizePage)
186 {
187 sip_gilstate_t sipGILState;
188 PyObject *sipMeth;
189
190 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,SIP_NULLPTR,sipName_SetPageSize);
191
192 if (!sipMeth)
193 {
194 ::wxWizard::SetPageSize(sizePage);
195 return;
196 }
197
198 extern void sipVH__adv_57(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::wxSize&);
199
200 sipVH__adv_57(sipGILState, 0, sipPySelf, sipMeth, sizePage);
201 }
202
SetBorder(int border)203 void sipwxWizard::SetBorder(int border)
204 {
205 sip_gilstate_t sipGILState;
206 PyObject *sipMeth;
207
208 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,SIP_NULLPTR,sipName_SetBorder);
209
210 if (!sipMeth)
211 {
212 ::wxWizard::SetBorder(border);
213 return;
214 }
215
216 extern void sipVH__adv_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);
217
218 sipVH__adv_48(sipGILState, 0, sipPySelf, sipMeth, border);
219 }
220
RunWizard(::wxWizardPage * firstPage)221 bool sipwxWizard::RunWizard( ::wxWizardPage*firstPage)
222 {
223 sip_gilstate_t sipGILState;
224 PyObject *sipMeth;
225
226 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,SIP_NULLPTR,sipName_RunWizard);
227
228 if (!sipMeth)
229 return ::wxWizard::RunWizard(firstPage);
230
231 extern bool sipVH__adv_56(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::wxWizardPage*);
232
233 return sipVH__adv_56(sipGILState, 0, sipPySelf, sipMeth, firstPage);
234 }
235
HasPrevPage(::wxWizardPage * page)236 bool sipwxWizard::HasPrevPage( ::wxWizardPage*page)
237 {
238 sip_gilstate_t sipGILState;
239 PyObject *sipMeth;
240
241 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,SIP_NULLPTR,sipName_HasPrevPage);
242
243 if (!sipMeth)
244 return ::wxWizard::HasPrevPage(page);
245
246 extern bool sipVH__adv_56(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::wxWizardPage*);
247
248 return sipVH__adv_56(sipGILState, 0, sipPySelf, sipMeth, page);
249 }
250
HasNextPage(::wxWizardPage * page)251 bool sipwxWizard::HasNextPage( ::wxWizardPage*page)
252 {
253 sip_gilstate_t sipGILState;
254 PyObject *sipMeth;
255
256 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,SIP_NULLPTR,sipName_HasNextPage);
257
258 if (!sipMeth)
259 return ::wxWizard::HasNextPage(page);
260
261 extern bool sipVH__adv_56(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::wxWizardPage*);
262
263 return sipVH__adv_56(sipGILState, 0, sipPySelf, sipMeth, page);
264 }
265
GetPageSize() const266 ::wxSize sipwxWizard::GetPageSize() const
267 {
268 sip_gilstate_t sipGILState;
269 PyObject *sipMeth;
270
271 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,SIP_NULLPTR,sipName_GetPageSize);
272
273 if (!sipMeth)
274 return ::wxWizard::GetPageSize();
275
276 extern ::wxSize sipVH__adv_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
277
278 return sipVH__adv_23(sipGILState, 0, sipPySelf, sipMeth);
279 }
280
GetPageAreaSizer() const281 ::wxSizer* sipwxWizard::GetPageAreaSizer() const
282 {
283 sip_gilstate_t sipGILState;
284 PyObject *sipMeth;
285
286 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,SIP_NULLPTR,sipName_GetPageAreaSizer);
287
288 if (!sipMeth)
289 return ::wxWizard::GetPageAreaSizer();
290
291 extern ::wxSizer* sipVH__adv_55(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
292
293 return sipVH__adv_55(sipGILState, 0, sipPySelf, sipMeth);
294 }
295
GetCurrentPage() const296 ::wxWizardPage* sipwxWizard::GetCurrentPage() const
297 {
298 sip_gilstate_t sipGILState;
299 PyObject *sipMeth;
300
301 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,SIP_NULLPTR,sipName_GetCurrentPage);
302
303 if (!sipMeth)
304 return ::wxWizard::GetCurrentPage();
305
306 extern ::wxWizardPage* sipVH__adv_53(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
307
308 return sipVH__adv_53(sipGILState, 0, sipPySelf, sipMeth);
309 }
310
FitToPage(const::wxWizardPage * firstPage)311 void sipwxWizard::FitToPage(const ::wxWizardPage*firstPage)
312 {
313 sip_gilstate_t sipGILState;
314 PyObject *sipMeth;
315
316 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,SIP_NULLPTR,sipName_FitToPage);
317
318 if (!sipMeth)
319 {
320 ::wxWizard::FitToPage(firstPage);
321 return;
322 }
323
324 extern void sipVH__adv_54(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::wxWizardPage*);
325
326 sipVH__adv_54(sipGILState, 0, sipPySelf, sipMeth, firstPage);
327 }
328
ShouldPreventAppExit() const329 bool sipwxWizard::ShouldPreventAppExit() const
330 {
331 sip_gilstate_t sipGILState;
332 PyObject *sipMeth;
333
334 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,SIP_NULLPTR,sipName_ShouldPreventAppExit);
335
336 if (!sipMeth)
337 return ::wxWizard::ShouldPreventAppExit();
338
339 extern bool sipVH__adv_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
340
341 return sipVH__adv_3(sipGILState, 0, sipPySelf, sipMeth);
342 }
343
DoGetBestClientSize() const344 ::wxSize sipwxWizard::DoGetBestClientSize() const
345 {
346 sip_gilstate_t sipGILState;
347 PyObject *sipMeth;
348
349 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,SIP_NULLPTR,sipName_DoGetBestClientSize);
350
351 if (!sipMeth)
352 return ::wxWizard::DoGetBestClientSize();
353
354 extern ::wxSize sipVH__adv_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
355
356 return sipVH__adv_23(sipGILState, 0, sipPySelf, sipMeth);
357 }
358
DoGetBestSize() const359 ::wxSize sipwxWizard::DoGetBestSize() const
360 {
361 sip_gilstate_t sipGILState;
362 PyObject *sipMeth;
363
364 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,SIP_NULLPTR,sipName_DoGetBestSize);
365
366 if (!sipMeth)
367 return ::wxWizard::DoGetBestSize();
368
369 extern ::wxSize sipVH__adv_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
370
371 return sipVH__adv_23(sipGILState, 0, sipPySelf, sipMeth);
372 }
373
DoThaw()374 void sipwxWizard::DoThaw()
375 {
376 sip_gilstate_t sipGILState;
377 PyObject *sipMeth;
378
379 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,SIP_NULLPTR,sipName_DoThaw);
380
381 if (!sipMeth)
382 {
383 ::wxWizard::DoThaw();
384 return;
385 }
386
387 extern void sipVH__adv_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
388
389 sipVH__adv_4(sipGILState, 0, sipPySelf, sipMeth);
390 }
391
DoFreeze()392 void sipwxWizard::DoFreeze()
393 {
394 sip_gilstate_t sipGILState;
395 PyObject *sipMeth;
396
397 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,SIP_NULLPTR,sipName_DoFreeze);
398
399 if (!sipMeth)
400 {
401 ::wxWizard::DoFreeze();
402 return;
403 }
404
405 extern void sipVH__adv_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
406
407 sipVH__adv_4(sipGILState, 0, sipPySelf, sipMeth);
408 }
409
GetDefaultBorderForControl() const410 ::wxBorder sipwxWizard::GetDefaultBorderForControl() const
411 {
412 sip_gilstate_t sipGILState;
413 PyObject *sipMeth;
414
415 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[15]),sipPySelf,SIP_NULLPTR,sipName_GetDefaultBorderForControl);
416
417 if (!sipMeth)
418 return ::wxWizard::GetDefaultBorderForControl();
419
420 extern ::wxBorder sipVH__adv_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
421
422 return sipVH__adv_26(sipGILState, 0, sipPySelf, sipMeth);
423 }
424
GetDefaultBorder() const425 ::wxBorder sipwxWizard::GetDefaultBorder() const
426 {
427 sip_gilstate_t sipGILState;
428 PyObject *sipMeth;
429
430 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[16]),sipPySelf,SIP_NULLPTR,sipName_GetDefaultBorder);
431
432 if (!sipMeth)
433 return ::wxWizard::GetDefaultBorder();
434
435 extern ::wxBorder sipVH__adv_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
436
437 return sipVH__adv_26(sipGILState, 0, sipPySelf, sipMeth);
438 }
439
DoSetWindowVariant(::wxWindowVariant variant)440 void sipwxWizard::DoSetWindowVariant( ::wxWindowVariant variant)
441 {
442 sip_gilstate_t sipGILState;
443 PyObject *sipMeth;
444
445 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,SIP_NULLPTR,sipName_DoSetWindowVariant);
446
447 if (!sipMeth)
448 {
449 ::wxWizard::DoSetWindowVariant(variant);
450 return;
451 }
452
453 extern void sipVH__adv_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::wxWindowVariant);
454
455 sipVH__adv_25(sipGILState, 0, sipPySelf, sipMeth, variant);
456 }
457
DoMoveWindow(int x,int y,int width,int height)458 void sipwxWizard::DoMoveWindow(int x,int y,int width,int height)
459 {
460 sip_gilstate_t sipGILState;
461 PyObject *sipMeth;
462
463 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,SIP_NULLPTR,sipName_DoMoveWindow);
464
465 if (!sipMeth)
466 {
467 ::wxWizard::DoMoveWindow(x,y,width,height);
468 return;
469 }
470
471 extern void sipVH__adv_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,int,int);
472
473 sipVH__adv_24(sipGILState, 0, sipPySelf, sipMeth, x, y, width, height);
474 }
475
DoGetBorderSize() const476 ::wxSize sipwxWizard::DoGetBorderSize() const
477 {
478 sip_gilstate_t sipGILState;
479 PyObject *sipMeth;
480
481 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[19]),sipPySelf,SIP_NULLPTR,sipName_DoGetBorderSize);
482
483 if (!sipMeth)
484 return ::wxWizard::DoGetBorderSize();
485
486 extern ::wxSize sipVH__adv_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
487
488 return sipVH__adv_23(sipGILState, 0, sipPySelf, sipMeth);
489 }
490
DoSetSizeHints(int minW,int minH,int maxW,int maxH,int incW,int incH)491 void sipwxWizard::DoSetSizeHints(int minW,int minH,int maxW,int maxH,int incW,int incH)
492 {
493 sip_gilstate_t sipGILState;
494 PyObject *sipMeth;
495
496 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,SIP_NULLPTR,sipName_DoSetSizeHints);
497
498 if (!sipMeth)
499 {
500 ::wxWizard::DoSetSizeHints(minW,minH,maxW,maxH,incW,incH);
501 return;
502 }
503
504 extern void sipVH__adv_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,int,int,int,int);
505
506 sipVH__adv_22(sipGILState, 0, sipPySelf, sipMeth, minW, minH, maxW, maxH, incW, incH);
507 }
508
DoSetClientSize(int width,int height)509 void sipwxWizard::DoSetClientSize(int width,int height)
510 {
511 sip_gilstate_t sipGILState;
512 PyObject *sipMeth;
513
514 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,SIP_NULLPTR,sipName_DoSetClientSize);
515
516 if (!sipMeth)
517 {
518 ::wxWizard::DoSetClientSize(width,height);
519 return;
520 }
521
522 extern void sipVH__adv_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int);
523
524 sipVH__adv_21(sipGILState, 0, sipPySelf, sipMeth, width, height);
525 }
526
DoSetSize(int x,int y,int width,int height,int sizeFlags)527 void sipwxWizard::DoSetSize(int x,int y,int width,int height,int sizeFlags)
528 {
529 sip_gilstate_t sipGILState;
530 PyObject *sipMeth;
531
532 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,SIP_NULLPTR,sipName_DoSetSize);
533
534 if (!sipMeth)
535 {
536 ::wxWizard::DoSetSize(x,y,width,height,sizeFlags);
537 return;
538 }
539
540 extern void sipVH__adv_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,int,int,int);
541
542 sipVH__adv_20(sipGILState, 0, sipPySelf, sipMeth, x, y, width, height, sizeFlags);
543 }
544
DoGetClientSize(int * width,int * height) const545 void sipwxWizard::DoGetClientSize(int*width,int*height) const
546 {
547 sip_gilstate_t sipGILState;
548 PyObject *sipMeth;
549
550 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[23]),sipPySelf,SIP_NULLPTR,sipName_DoGetClientSize);
551
552 if (!sipMeth)
553 {
554 ::wxWizard::DoGetClientSize(width,height);
555 return;
556 }
557
558 extern void sipVH__adv_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int*,int*);
559
560 sipVH__adv_19(sipGILState, 0, sipPySelf, sipMeth, width, height);
561 }
562
DoGetSize(int * width,int * height) const563 void sipwxWizard::DoGetSize(int*width,int*height) const
564 {
565 sip_gilstate_t sipGILState;
566 PyObject *sipMeth;
567
568 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[24]),sipPySelf,SIP_NULLPTR,sipName_DoGetSize);
569
570 if (!sipMeth)
571 {
572 ::wxWizard::DoGetSize(width,height);
573 return;
574 }
575
576 extern void sipVH__adv_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int*,int*);
577
578 sipVH__adv_19(sipGILState, 0, sipPySelf, sipMeth, width, height);
579 }
580
DoGetPosition(int * x,int * y) const581 void sipwxWizard::DoGetPosition(int*x,int*y) const
582 {
583 sip_gilstate_t sipGILState;
584 PyObject *sipMeth;
585
586 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[25]),sipPySelf,SIP_NULLPTR,sipName_DoGetPosition);
587
588 if (!sipMeth)
589 {
590 ::wxWizard::DoGetPosition(x,y);
591 return;
592 }
593
594 extern void sipVH__adv_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int*,int*);
595
596 sipVH__adv_19(sipGILState, 0, sipPySelf, sipMeth, x, y);
597 }
598
DoEnable(bool enable)599 void sipwxWizard::DoEnable(bool enable)
600 {
601 sip_gilstate_t sipGILState;
602 PyObject *sipMeth;
603
604 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,SIP_NULLPTR,sipName_DoEnable);
605
606 if (!sipMeth)
607 {
608 ::wxWizard::DoEnable(enable);
609 return;
610 }
611
612 extern void sipVH__adv_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);
613
614 sipVH__adv_14(sipGILState, 0, sipPySelf, sipMeth, enable);
615 }
616
GetMainWindowOfCompositeControl()617 ::wxWindow* sipwxWizard::GetMainWindowOfCompositeControl()
618 {
619 sip_gilstate_t sipGILState;
620 PyObject *sipMeth;
621
622 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,SIP_NULLPTR,sipName_GetMainWindowOfCompositeControl);
623
624 if (!sipMeth)
625 return ::wxWizard::GetMainWindowOfCompositeControl();
626
627 extern ::wxWindow* sipVH__adv_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
628
629 return sipVH__adv_7(sipGILState, 0, sipPySelf, sipMeth);
630 }
631
OnInternalIdle()632 void sipwxWizard::OnInternalIdle()
633 {
634 sip_gilstate_t sipGILState;
635 PyObject *sipMeth;
636
637 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,SIP_NULLPTR,sipName_OnInternalIdle);
638
639 if (!sipMeth)
640 {
641 ::wxWizard::OnInternalIdle();
642 return;
643 }
644
645 extern void sipVH__adv_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
646
647 sipVH__adv_4(sipGILState, 0, sipPySelf, sipMeth);
648 }
649
InitDialog()650 void sipwxWizard::InitDialog()
651 {
652 sip_gilstate_t sipGILState;
653 PyObject *sipMeth;
654
655 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,SIP_NULLPTR,sipName_InitDialog);
656
657 if (!sipMeth)
658 {
659 ::wxWizard::InitDialog();
660 return;
661 }
662
663 extern void sipVH__adv_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
664
665 sipVH__adv_4(sipGILState, 0, sipPySelf, sipMeth);
666 }
667
InheritAttributes()668 void sipwxWizard::InheritAttributes()
669 {
670 sip_gilstate_t sipGILState;
671 PyObject *sipMeth;
672
673 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,SIP_NULLPTR,sipName_InheritAttributes);
674
675 if (!sipMeth)
676 {
677 ::wxWizard::InheritAttributes();
678 return;
679 }
680
681 extern void sipVH__adv_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
682
683 sipVH__adv_4(sipGILState, 0, sipPySelf, sipMeth);
684 }
685
Destroy()686 bool sipwxWizard::Destroy()
687 {
688 sip_gilstate_t sipGILState;
689 PyObject *sipMeth;
690
691 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,SIP_NULLPTR,sipName_Destroy);
692
693 if (!sipMeth)
694 return ::wxWizard::Destroy();
695
696 extern bool sipVH__adv_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
697
698 return sipVH__adv_3(sipGILState, 0, sipPySelf, sipMeth);
699 }
700
Validate()701 bool sipwxWizard::Validate()
702 {
703 sip_gilstate_t sipGILState;
704 PyObject *sipMeth;
705
706 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,SIP_NULLPTR,sipName_Validate);
707
708 if (!sipMeth)
709 return ::wxWizard::Validate();
710
711 extern bool sipVH__adv_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
712
713 return sipVH__adv_3(sipGILState, 0, sipPySelf, sipMeth);
714 }
715
TransferDataToWindow()716 bool sipwxWizard::TransferDataToWindow()
717 {
718 sip_gilstate_t sipGILState;
719 PyObject *sipMeth;
720
721 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,SIP_NULLPTR,sipName_TransferDataToWindow);
722
723 if (!sipMeth)
724 return ::wxWizard::TransferDataToWindow();
725
726 extern bool sipVH__adv_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
727
728 return sipVH__adv_3(sipGILState, 0, sipPySelf, sipMeth);
729 }
730
TransferDataFromWindow()731 bool sipwxWizard::TransferDataFromWindow()
732 {
733 sip_gilstate_t sipGILState;
734 PyObject *sipMeth;
735
736 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,SIP_NULLPTR,sipName_TransferDataFromWindow);
737
738 if (!sipMeth)
739 return ::wxWizard::TransferDataFromWindow();
740
741 extern bool sipVH__adv_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
742
743 return sipVH__adv_3(sipGILState, 0, sipPySelf, sipMeth);
744 }
745
SetValidator(const::wxValidator & validator)746 void sipwxWizard::SetValidator(const ::wxValidator& validator)
747 {
748 sip_gilstate_t sipGILState;
749 PyObject *sipMeth;
750
751 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,SIP_NULLPTR,sipName_SetValidator);
752
753 if (!sipMeth)
754 {
755 ::wxWizard::SetValidator(validator);
756 return;
757 }
758
759 extern void sipVH__adv_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::wxValidator&);
760
761 sipVH__adv_18(sipGILState, 0, sipPySelf, sipMeth, validator);
762 }
763
GetValidator()764 ::wxValidator* sipwxWizard::GetValidator()
765 {
766 sip_gilstate_t sipGILState;
767 PyObject *sipMeth;
768
769 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,SIP_NULLPTR,sipName_GetValidator);
770
771 if (!sipMeth)
772 return ::wxWizard::GetValidator();
773
774 extern ::wxValidator* sipVH__adv_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
775
776 return sipVH__adv_17(sipGILState, 0, sipPySelf, sipMeth);
777 }
778
ShouldInheritColours() const779 bool sipwxWizard::ShouldInheritColours() const
780 {
781 sip_gilstate_t sipGILState;
782 PyObject *sipMeth;
783
784 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,SIP_NULLPTR,sipName_ShouldInheritColours);
785
786 if (!sipMeth)
787 return ::wxWizard::ShouldInheritColours();
788
789 extern bool sipVH__adv_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
790
791 return sipVH__adv_3(sipGILState, 0, sipPySelf, sipMeth);
792 }
793
HasTransparentBackground()794 bool sipwxWizard::HasTransparentBackground()
795 {
796 sip_gilstate_t sipGILState;
797 PyObject *sipMeth;
798
799 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,SIP_NULLPTR,sipName_HasTransparentBackground);
800
801 if (!sipMeth)
802 return ::wxWizard::HasTransparentBackground();
803
804 extern bool sipVH__adv_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
805
806 return sipVH__adv_3(sipGILState, 0, sipPySelf, sipMeth);
807 }
808
GetClientAreaOrigin() const809 ::wxPoint sipwxWizard::GetClientAreaOrigin() const
810 {
811 sip_gilstate_t sipGILState;
812 PyObject *sipMeth;
813
814 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[39]),sipPySelf,SIP_NULLPTR,sipName_GetClientAreaOrigin);
815
816 if (!sipMeth)
817 return ::wxWizard::GetClientAreaOrigin();
818
819 extern ::wxPoint sipVH__adv_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
820
821 return sipVH__adv_16(sipGILState, 0, sipPySelf, sipMeth);
822 }
823
InformFirstDirection(int direction,int size,int availableOtherDir)824 bool sipwxWizard::InformFirstDirection(int direction,int size,int availableOtherDir)
825 {
826 sip_gilstate_t sipGILState;
827 PyObject *sipMeth;
828
829 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,SIP_NULLPTR,sipName_InformFirstDirection);
830
831 if (!sipMeth)
832 return ::wxWizard::InformFirstDirection(direction,size,availableOtherDir);
833
834 extern bool sipVH__adv_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,int);
835
836 return sipVH__adv_15(sipGILState, 0, sipPySelf, sipMeth, direction, size, availableOtherDir);
837 }
838
SetCanFocus(bool canFocus)839 void sipwxWizard::SetCanFocus(bool canFocus)
840 {
841 sip_gilstate_t sipGILState;
842 PyObject *sipMeth;
843
844 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,SIP_NULLPTR,sipName_SetCanFocus);
845
846 if (!sipMeth)
847 {
848 ::wxWizard::SetCanFocus(canFocus);
849 return;
850 }
851
852 extern void sipVH__adv_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);
853
854 sipVH__adv_14(sipGILState, 0, sipPySelf, sipMeth, canFocus);
855 }
856
AcceptsFocusRecursively() const857 bool sipwxWizard::AcceptsFocusRecursively() const
858 {
859 sip_gilstate_t sipGILState;
860 PyObject *sipMeth;
861
862 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[42]),sipPySelf,SIP_NULLPTR,sipName_AcceptsFocusRecursively);
863
864 if (!sipMeth)
865 return ::wxWizard::AcceptsFocusRecursively();
866
867 extern bool sipVH__adv_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
868
869 return sipVH__adv_3(sipGILState, 0, sipPySelf, sipMeth);
870 }
871
AcceptsFocusFromKeyboard() const872 bool sipwxWizard::AcceptsFocusFromKeyboard() const
873 {
874 sip_gilstate_t sipGILState;
875 PyObject *sipMeth;
876
877 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[43]),sipPySelf,SIP_NULLPTR,sipName_AcceptsFocusFromKeyboard);
878
879 if (!sipMeth)
880 return ::wxWizard::AcceptsFocusFromKeyboard();
881
882 extern bool sipVH__adv_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
883
884 return sipVH__adv_3(sipGILState, 0, sipPySelf, sipMeth);
885 }
886
AcceptsFocus() const887 bool sipwxWizard::AcceptsFocus() const
888 {
889 sip_gilstate_t sipGILState;
890 PyObject *sipMeth;
891
892 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[44]),sipPySelf,SIP_NULLPTR,sipName_AcceptsFocus);
893
894 if (!sipMeth)
895 return ::wxWizard::AcceptsFocus();
896
897 extern bool sipVH__adv_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
898
899 return sipVH__adv_3(sipGILState, 0, sipPySelf, sipMeth);
900 }
901
TryAfter(::wxEvent & event)902 bool sipwxWizard::TryAfter( ::wxEvent& event)
903 {
904 sip_gilstate_t sipGILState;
905 PyObject *sipMeth;
906
907 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,SIP_NULLPTR,sipName_TryAfter);
908
909 if (!sipMeth)
910 return ::wxWizard::TryAfter(event);
911
912 extern bool sipVH__adv_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::wxEvent&);
913
914 return sipVH__adv_13(sipGILState, 0, sipPySelf, sipMeth, event);
915 }
916
TryBefore(::wxEvent & event)917 bool sipwxWizard::TryBefore( ::wxEvent& event)
918 {
919 sip_gilstate_t sipGILState;
920 PyObject *sipMeth;
921
922 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,SIP_NULLPTR,sipName_TryBefore);
923
924 if (!sipMeth)
925 return ::wxWizard::TryBefore(event);
926
927 extern bool sipVH__adv_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::wxEvent&);
928
929 return sipVH__adv_13(sipGILState, 0, sipPySelf, sipMeth, event);
930 }
931
ProcessEvent(::wxEvent & event)932 bool sipwxWizard::ProcessEvent( ::wxEvent& event)
933 {
934 sip_gilstate_t sipGILState;
935 PyObject *sipMeth;
936
937 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,SIP_NULLPTR,sipName_ProcessEvent);
938
939 if (!sipMeth)
940 return ::wxWizard::ProcessEvent(event);
941
942 extern bool sipVH__adv_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::wxEvent&);
943
944 return sipVH__adv_13(sipGILState, 0, sipPySelf, sipMeth, event);
945 }
946
AddChild(::wxWindowBase * child)947 void sipwxWizard::AddChild( ::wxWindowBase*child)
948 {
949 sip_gilstate_t sipGILState;
950 PyObject *sipMeth;
951
952 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,SIP_NULLPTR,sipName_AddChild);
953
954 if (!sipMeth)
955 {
956 ::wxWizard::AddChild(child);
957 return;
958 }
959
960 extern void sipVH__adv_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::wxWindowBase*);
961
962 sipVH__adv_12(sipGILState, 0, sipPySelf, sipMeth, child);
963 }
964
RemoveChild(::wxWindowBase * child)965 void sipwxWizard::RemoveChild( ::wxWindowBase*child)
966 {
967 sip_gilstate_t sipGILState;
968 PyObject *sipMeth;
969
970 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,SIP_NULLPTR,sipName_RemoveChild);
971
972 if (!sipMeth)
973 {
974 ::wxWizard::RemoveChild(child);
975 return;
976 }
977
978 extern void sipVH__adv_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::wxWindowBase*);
979
980 sipVH__adv_12(sipGILState, 0, sipPySelf, sipMeth, child);
981 }
982
GetContentWindow() const983 ::wxWindow* sipwxWizard::GetContentWindow() const
984 {
985 sip_gilstate_t sipGILState;
986 PyObject *sipMeth;
987
988 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[50]),sipPySelf,SIP_NULLPTR,sipName_GetContentWindow);
989
990 if (!sipMeth)
991 return ::wxWizard::GetContentWindow();
992
993 extern ::wxWindow* sipVH__adv_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
994
995 return sipVH__adv_7(sipGILState, 0, sipPySelf, sipMeth);
996 }
997
sipProtect_SendDestroyEvent()998 void sipwxWizard::sipProtect_SendDestroyEvent()
999 {
1000 ::wxWindow::SendDestroyEvent();
1001 }
1002
sipProtectVirt_ProcessEvent(bool sipSelfWasArg,::wxEvent & event)1003 bool sipwxWizard::sipProtectVirt_ProcessEvent(bool sipSelfWasArg, ::wxEvent& event)
1004 {
1005 return (sipSelfWasArg ? ::wxDialog::ProcessEvent(event) : ProcessEvent(event));
1006 }
1007
sipProtectVirt_DoEnable(bool sipSelfWasArg,bool enable)1008 void sipwxWizard::sipProtectVirt_DoEnable(bool sipSelfWasArg,bool enable)
1009 {
1010 (sipSelfWasArg ? ::wxDialog::DoEnable(enable) : DoEnable(enable));
1011 }
1012
sipProtectVirt_DoGetPosition(bool sipSelfWasArg,int * x,int * y) const1013 void sipwxWizard::sipProtectVirt_DoGetPosition(bool sipSelfWasArg,int*x,int*y) const
1014 {
1015 (sipSelfWasArg ? ::wxDialog::DoGetPosition(x,y) : DoGetPosition(x,y));
1016 }
1017
sipProtectVirt_DoGetSize(bool sipSelfWasArg,int * width,int * height) const1018 void sipwxWizard::sipProtectVirt_DoGetSize(bool sipSelfWasArg,int*width,int*height) const
1019 {
1020 (sipSelfWasArg ? ::wxDialog::DoGetSize(width,height) : DoGetSize(width,height));
1021 }
1022
sipProtectVirt_DoGetClientSize(bool sipSelfWasArg,int * width,int * height) const1023 void sipwxWizard::sipProtectVirt_DoGetClientSize(bool sipSelfWasArg,int*width,int*height) const
1024 {
1025 (sipSelfWasArg ? ::wxDialog::DoGetClientSize(width,height) : DoGetClientSize(width,height));
1026 }
1027
sipProtectVirt_DoGetBestSize(bool sipSelfWasArg) const1028 ::wxSize sipwxWizard::sipProtectVirt_DoGetBestSize(bool sipSelfWasArg) const
1029 {
1030 return (sipSelfWasArg ? ::wxDialog::DoGetBestSize() : DoGetBestSize());
1031 }
1032
sipProtectVirt_DoGetBestClientSize(bool sipSelfWasArg) const1033 ::wxSize sipwxWizard::sipProtectVirt_DoGetBestClientSize(bool sipSelfWasArg) const
1034 {
1035 return (sipSelfWasArg ? ::wxDialog::DoGetBestClientSize() : DoGetBestClientSize());
1036 }
1037
sipProtectVirt_DoSetSize(bool sipSelfWasArg,int x,int y,int width,int height,int sizeFlags)1038 void sipwxWizard::sipProtectVirt_DoSetSize(bool sipSelfWasArg,int x,int y,int width,int height,int sizeFlags)
1039 {
1040 (sipSelfWasArg ? ::wxDialog::DoSetSize(x,y,width,height,sizeFlags) : DoSetSize(x,y,width,height,sizeFlags));
1041 }
1042
sipProtectVirt_DoSetClientSize(bool sipSelfWasArg,int width,int height)1043 void sipwxWizard::sipProtectVirt_DoSetClientSize(bool sipSelfWasArg,int width,int height)
1044 {
1045 (sipSelfWasArg ? ::wxDialog::DoSetClientSize(width,height) : DoSetClientSize(width,height));
1046 }
1047
sipProtectVirt_DoSetSizeHints(bool sipSelfWasArg,int minW,int minH,int maxW,int maxH,int incW,int incH)1048 void sipwxWizard::sipProtectVirt_DoSetSizeHints(bool sipSelfWasArg,int minW,int minH,int maxW,int maxH,int incW,int incH)
1049 {
1050 (sipSelfWasArg ? ::wxDialog::DoSetSizeHints(minW,minH,maxW,maxH,incW,incH) : DoSetSizeHints(minW,minH,maxW,maxH,incW,incH));
1051 }
1052
sipProtectVirt_DoGetBorderSize(bool sipSelfWasArg) const1053 ::wxSize sipwxWizard::sipProtectVirt_DoGetBorderSize(bool sipSelfWasArg) const
1054 {
1055 return (sipSelfWasArg ? ::wxDialog::DoGetBorderSize() : DoGetBorderSize());
1056 }
1057
sipProtectVirt_DoMoveWindow(bool sipSelfWasArg,int x,int y,int width,int height)1058 void sipwxWizard::sipProtectVirt_DoMoveWindow(bool sipSelfWasArg,int x,int y,int width,int height)
1059 {
1060 (sipSelfWasArg ? ::wxDialog::DoMoveWindow(x,y,width,height) : DoMoveWindow(x,y,width,height));
1061 }
1062
sipProtectVirt_DoSetWindowVariant(bool sipSelfWasArg,::wxWindowVariant variant)1063 void sipwxWizard::sipProtectVirt_DoSetWindowVariant(bool sipSelfWasArg, ::wxWindowVariant variant)
1064 {
1065 (sipSelfWasArg ? ::wxDialog::DoSetWindowVariant(variant) : DoSetWindowVariant(variant));
1066 }
1067
sipProtectVirt_GetDefaultBorder(bool sipSelfWasArg) const1068 ::wxBorder sipwxWizard::sipProtectVirt_GetDefaultBorder(bool sipSelfWasArg) const
1069 {
1070 return (sipSelfWasArg ? ::wxDialog::GetDefaultBorder() : GetDefaultBorder());
1071 }
1072
sipProtectVirt_GetDefaultBorderForControl(bool sipSelfWasArg) const1073 ::wxBorder sipwxWizard::sipProtectVirt_GetDefaultBorderForControl(bool sipSelfWasArg) const
1074 {
1075 return (sipSelfWasArg ? ::wxDialog::GetDefaultBorderForControl() : GetDefaultBorderForControl());
1076 }
1077
sipProtectVirt_DoFreeze(bool sipSelfWasArg)1078 void sipwxWizard::sipProtectVirt_DoFreeze(bool sipSelfWasArg)
1079 {
1080 (sipSelfWasArg ? ::wxDialog::DoFreeze() : DoFreeze());
1081 }
1082
sipProtectVirt_DoThaw(bool sipSelfWasArg)1083 void sipwxWizard::sipProtectVirt_DoThaw(bool sipSelfWasArg)
1084 {
1085 (sipSelfWasArg ? ::wxDialog::DoThaw() : DoThaw());
1086 }
1087
sipProtectVirt_HasTransparentBackground(bool sipSelfWasArg)1088 bool sipwxWizard::sipProtectVirt_HasTransparentBackground(bool sipSelfWasArg)
1089 {
1090 return (sipSelfWasArg ? ::wxDialog::HasTransparentBackground() : HasTransparentBackground());
1091 }
1092
sipProtectVirt_TryBefore(bool sipSelfWasArg,::wxEvent & event)1093 bool sipwxWizard::sipProtectVirt_TryBefore(bool sipSelfWasArg, ::wxEvent& event)
1094 {
1095 return (sipSelfWasArg ? ::wxDialog::TryBefore(event) : TryBefore(event));
1096 }
1097
sipProtectVirt_TryAfter(bool sipSelfWasArg,::wxEvent & event)1098 bool sipwxWizard::sipProtectVirt_TryAfter(bool sipSelfWasArg, ::wxEvent& event)
1099 {
1100 return (sipSelfWasArg ? ::wxDialog::TryAfter(event) : TryAfter(event));
1101 }
1102
1103
1104 PyDoc_STRVAR(doc_wxWizard_SendDestroyEvent, "SendDestroyEvent()\n"
1105 "\n"
1106 "Generate wxWindowDestroyEvent for this window.");
1107
1108 extern "C" {static PyObject *meth_wxWizard_SendDestroyEvent(PyObject *, PyObject *);}
meth_wxWizard_SendDestroyEvent(PyObject * sipSelf,PyObject * sipArgs)1109 static PyObject *meth_wxWizard_SendDestroyEvent(PyObject *sipSelf, PyObject *sipArgs)
1110 {
1111 PyObject *sipParseErr = SIP_NULLPTR;
1112
1113 {
1114 sipwxWizard *sipCpp;
1115
1116 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxWizard, &sipCpp))
1117 {
1118 PyErr_Clear();
1119
1120 Py_BEGIN_ALLOW_THREADS
1121 sipCpp->sipProtect_SendDestroyEvent();
1122 Py_END_ALLOW_THREADS
1123
1124 if (PyErr_Occurred())
1125 return 0;
1126
1127 Py_INCREF(Py_None);
1128 return Py_None;
1129 }
1130 }
1131
1132 /* Raise an exception if the arguments couldn't be parsed. */
1133 sipNoMethod(sipParseErr, sipName_Wizard, sipName_SendDestroyEvent, SIP_NULLPTR);
1134
1135 return SIP_NULLPTR;
1136 }
1137
1138
1139 PyDoc_STRVAR(doc_wxWizard_ProcessEvent, "ProcessEvent(self, event: Event) -> bool");
1140
1141 extern "C" {static PyObject *meth_wxWizard_ProcessEvent(PyObject *, PyObject *, PyObject *);}
meth_wxWizard_ProcessEvent(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1142 static PyObject *meth_wxWizard_ProcessEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1143 {
1144 PyObject *sipParseErr = SIP_NULLPTR;
1145 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1146
1147 {
1148 ::wxEvent* event;
1149 sipwxWizard *sipCpp;
1150
1151 static const char *sipKwdList[] = {
1152 sipName_event,
1153 };
1154
1155 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9", &sipSelf, sipType_wxWizard, &sipCpp, sipType_wxEvent, &event))
1156 {
1157 bool sipRes;
1158
1159 PyErr_Clear();
1160
1161 Py_BEGIN_ALLOW_THREADS
1162 sipRes = sipCpp->sipProtectVirt_ProcessEvent(sipSelfWasArg,*event);
1163 Py_END_ALLOW_THREADS
1164
1165 if (PyErr_Occurred())
1166 return 0;
1167
1168 return PyBool_FromLong(sipRes);
1169 }
1170 }
1171
1172 /* Raise an exception if the arguments couldn't be parsed. */
1173 sipNoMethod(sipParseErr, sipName_Wizard, sipName_ProcessEvent, doc_wxWizard_ProcessEvent);
1174
1175 return SIP_NULLPTR;
1176 }
1177
1178
1179 PyDoc_STRVAR(doc_wxWizard_DoEnable, "DoEnable(self, enable: bool)");
1180
1181 extern "C" {static PyObject *meth_wxWizard_DoEnable(PyObject *, PyObject *, PyObject *);}
meth_wxWizard_DoEnable(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1182 static PyObject *meth_wxWizard_DoEnable(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1183 {
1184 PyObject *sipParseErr = SIP_NULLPTR;
1185 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1186
1187 {
1188 bool enable;
1189 sipwxWizard *sipCpp;
1190
1191 static const char *sipKwdList[] = {
1192 sipName_enable,
1193 };
1194
1195 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bb", &sipSelf, sipType_wxWizard, &sipCpp, &enable))
1196 {
1197 PyErr_Clear();
1198
1199 Py_BEGIN_ALLOW_THREADS
1200 sipCpp->sipProtectVirt_DoEnable(sipSelfWasArg,enable);
1201 Py_END_ALLOW_THREADS
1202
1203 if (PyErr_Occurred())
1204 return 0;
1205
1206 Py_INCREF(Py_None);
1207 return Py_None;
1208 }
1209 }
1210
1211 /* Raise an exception if the arguments couldn't be parsed. */
1212 sipNoMethod(sipParseErr, sipName_Wizard, sipName_DoEnable, doc_wxWizard_DoEnable);
1213
1214 return SIP_NULLPTR;
1215 }
1216
1217
1218 PyDoc_STRVAR(doc_wxWizard_DoGetPosition, "DoGetPosition(self) -> Tuple[int, int]");
1219
1220 extern "C" {static PyObject *meth_wxWizard_DoGetPosition(PyObject *, PyObject *, PyObject *);}
meth_wxWizard_DoGetPosition(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1221 static PyObject *meth_wxWizard_DoGetPosition(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1222 {
1223 PyObject *sipParseErr = SIP_NULLPTR;
1224 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1225
1226 {
1227 int x;
1228 int y;
1229 const sipwxWizard *sipCpp;
1230
1231 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, SIP_NULLPTR, "B", &sipSelf, sipType_wxWizard, &sipCpp))
1232 {
1233 PyErr_Clear();
1234
1235 Py_BEGIN_ALLOW_THREADS
1236 sipCpp->sipProtectVirt_DoGetPosition(sipSelfWasArg,&x,&y);
1237 Py_END_ALLOW_THREADS
1238
1239 if (PyErr_Occurred())
1240 return 0;
1241
1242 return sipBuildResult(0,"(ii)",x,y);
1243 }
1244 }
1245
1246 /* Raise an exception if the arguments couldn't be parsed. */
1247 sipNoMethod(sipParseErr, sipName_Wizard, sipName_DoGetPosition, doc_wxWizard_DoGetPosition);
1248
1249 return SIP_NULLPTR;
1250 }
1251
1252
1253 PyDoc_STRVAR(doc_wxWizard_DoGetSize, "DoGetSize(self) -> Tuple[int, int]");
1254
1255 extern "C" {static PyObject *meth_wxWizard_DoGetSize(PyObject *, PyObject *, PyObject *);}
meth_wxWizard_DoGetSize(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1256 static PyObject *meth_wxWizard_DoGetSize(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1257 {
1258 PyObject *sipParseErr = SIP_NULLPTR;
1259 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1260
1261 {
1262 int width;
1263 int height;
1264 const sipwxWizard *sipCpp;
1265
1266 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, SIP_NULLPTR, "B", &sipSelf, sipType_wxWizard, &sipCpp))
1267 {
1268 PyErr_Clear();
1269
1270 Py_BEGIN_ALLOW_THREADS
1271 sipCpp->sipProtectVirt_DoGetSize(sipSelfWasArg,&width,&height);
1272 Py_END_ALLOW_THREADS
1273
1274 if (PyErr_Occurred())
1275 return 0;
1276
1277 return sipBuildResult(0,"(ii)",width,height);
1278 }
1279 }
1280
1281 /* Raise an exception if the arguments couldn't be parsed. */
1282 sipNoMethod(sipParseErr, sipName_Wizard, sipName_DoGetSize, doc_wxWizard_DoGetSize);
1283
1284 return SIP_NULLPTR;
1285 }
1286
1287
1288 PyDoc_STRVAR(doc_wxWizard_DoGetClientSize, "DoGetClientSize(self) -> Tuple[int, int]");
1289
1290 extern "C" {static PyObject *meth_wxWizard_DoGetClientSize(PyObject *, PyObject *, PyObject *);}
meth_wxWizard_DoGetClientSize(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1291 static PyObject *meth_wxWizard_DoGetClientSize(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1292 {
1293 PyObject *sipParseErr = SIP_NULLPTR;
1294 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1295
1296 {
1297 int width;
1298 int height;
1299 const sipwxWizard *sipCpp;
1300
1301 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, SIP_NULLPTR, "B", &sipSelf, sipType_wxWizard, &sipCpp))
1302 {
1303 PyErr_Clear();
1304
1305 Py_BEGIN_ALLOW_THREADS
1306 sipCpp->sipProtectVirt_DoGetClientSize(sipSelfWasArg,&width,&height);
1307 Py_END_ALLOW_THREADS
1308
1309 if (PyErr_Occurred())
1310 return 0;
1311
1312 return sipBuildResult(0,"(ii)",width,height);
1313 }
1314 }
1315
1316 /* Raise an exception if the arguments couldn't be parsed. */
1317 sipNoMethod(sipParseErr, sipName_Wizard, sipName_DoGetClientSize, doc_wxWizard_DoGetClientSize);
1318
1319 return SIP_NULLPTR;
1320 }
1321
1322
1323 PyDoc_STRVAR(doc_wxWizard_DoGetBestSize, "DoGetBestSize(self) -> Size");
1324
1325 extern "C" {static PyObject *meth_wxWizard_DoGetBestSize(PyObject *, PyObject *);}
meth_wxWizard_DoGetBestSize(PyObject * sipSelf,PyObject * sipArgs)1326 static PyObject *meth_wxWizard_DoGetBestSize(PyObject *sipSelf, PyObject *sipArgs)
1327 {
1328 PyObject *sipParseErr = SIP_NULLPTR;
1329 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1330
1331 {
1332 const sipwxWizard *sipCpp;
1333
1334 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxWizard, &sipCpp))
1335 {
1336 ::wxSize*sipRes;
1337
1338 PyErr_Clear();
1339
1340 Py_BEGIN_ALLOW_THREADS
1341 sipRes = new ::wxSize(sipCpp->sipProtectVirt_DoGetBestSize(sipSelfWasArg));
1342 Py_END_ALLOW_THREADS
1343
1344 if (PyErr_Occurred())
1345 return 0;
1346
1347 return sipConvertFromNewType(sipRes,sipType_wxSize,SIP_NULLPTR);
1348 }
1349 }
1350
1351 /* Raise an exception if the arguments couldn't be parsed. */
1352 sipNoMethod(sipParseErr, sipName_Wizard, sipName_DoGetBestSize, doc_wxWizard_DoGetBestSize);
1353
1354 return SIP_NULLPTR;
1355 }
1356
1357
1358 PyDoc_STRVAR(doc_wxWizard_DoGetBestClientSize, "DoGetBestClientSize(self) -> Size");
1359
1360 extern "C" {static PyObject *meth_wxWizard_DoGetBestClientSize(PyObject *, PyObject *);}
meth_wxWizard_DoGetBestClientSize(PyObject * sipSelf,PyObject * sipArgs)1361 static PyObject *meth_wxWizard_DoGetBestClientSize(PyObject *sipSelf, PyObject *sipArgs)
1362 {
1363 PyObject *sipParseErr = SIP_NULLPTR;
1364 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1365
1366 {
1367 const sipwxWizard *sipCpp;
1368
1369 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxWizard, &sipCpp))
1370 {
1371 ::wxSize*sipRes;
1372
1373 PyErr_Clear();
1374
1375 Py_BEGIN_ALLOW_THREADS
1376 sipRes = new ::wxSize(sipCpp->sipProtectVirt_DoGetBestClientSize(sipSelfWasArg));
1377 Py_END_ALLOW_THREADS
1378
1379 if (PyErr_Occurred())
1380 return 0;
1381
1382 return sipConvertFromNewType(sipRes,sipType_wxSize,SIP_NULLPTR);
1383 }
1384 }
1385
1386 /* Raise an exception if the arguments couldn't be parsed. */
1387 sipNoMethod(sipParseErr, sipName_Wizard, sipName_DoGetBestClientSize, doc_wxWizard_DoGetBestClientSize);
1388
1389 return SIP_NULLPTR;
1390 }
1391
1392
1393 PyDoc_STRVAR(doc_wxWizard_DoSetSize, "DoSetSize(self, x: int, y: int, width: int, height: int, sizeFlags: int)");
1394
1395 extern "C" {static PyObject *meth_wxWizard_DoSetSize(PyObject *, PyObject *, PyObject *);}
meth_wxWizard_DoSetSize(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1396 static PyObject *meth_wxWizard_DoSetSize(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1397 {
1398 PyObject *sipParseErr = SIP_NULLPTR;
1399 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1400
1401 {
1402 int x;
1403 int y;
1404 int width;
1405 int height;
1406 int sizeFlags;
1407 sipwxWizard *sipCpp;
1408
1409 static const char *sipKwdList[] = {
1410 sipName_x,
1411 sipName_y,
1412 sipName_width,
1413 sipName_height,
1414 sipName_sizeFlags,
1415 };
1416
1417 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Biiiii", &sipSelf, sipType_wxWizard, &sipCpp, &x, &y, &width, &height, &sizeFlags))
1418 {
1419 PyErr_Clear();
1420
1421 Py_BEGIN_ALLOW_THREADS
1422 sipCpp->sipProtectVirt_DoSetSize(sipSelfWasArg,x,y,width,height,sizeFlags);
1423 Py_END_ALLOW_THREADS
1424
1425 if (PyErr_Occurred())
1426 return 0;
1427
1428 Py_INCREF(Py_None);
1429 return Py_None;
1430 }
1431 }
1432
1433 /* Raise an exception if the arguments couldn't be parsed. */
1434 sipNoMethod(sipParseErr, sipName_Wizard, sipName_DoSetSize, doc_wxWizard_DoSetSize);
1435
1436 return SIP_NULLPTR;
1437 }
1438
1439
1440 PyDoc_STRVAR(doc_wxWizard_DoSetClientSize, "DoSetClientSize(self, width: int, height: int)");
1441
1442 extern "C" {static PyObject *meth_wxWizard_DoSetClientSize(PyObject *, PyObject *, PyObject *);}
meth_wxWizard_DoSetClientSize(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1443 static PyObject *meth_wxWizard_DoSetClientSize(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1444 {
1445 PyObject *sipParseErr = SIP_NULLPTR;
1446 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1447
1448 {
1449 int width;
1450 int height;
1451 sipwxWizard *sipCpp;
1452
1453 static const char *sipKwdList[] = {
1454 sipName_width,
1455 sipName_height,
1456 };
1457
1458 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bii", &sipSelf, sipType_wxWizard, &sipCpp, &width, &height))
1459 {
1460 PyErr_Clear();
1461
1462 Py_BEGIN_ALLOW_THREADS
1463 sipCpp->sipProtectVirt_DoSetClientSize(sipSelfWasArg,width,height);
1464 Py_END_ALLOW_THREADS
1465
1466 if (PyErr_Occurred())
1467 return 0;
1468
1469 Py_INCREF(Py_None);
1470 return Py_None;
1471 }
1472 }
1473
1474 /* Raise an exception if the arguments couldn't be parsed. */
1475 sipNoMethod(sipParseErr, sipName_Wizard, sipName_DoSetClientSize, doc_wxWizard_DoSetClientSize);
1476
1477 return SIP_NULLPTR;
1478 }
1479
1480
1481 PyDoc_STRVAR(doc_wxWizard_DoSetSizeHints, "DoSetSizeHints(self, minW: int, minH: int, maxW: int, maxH: int, incW: int, incH: int)");
1482
1483 extern "C" {static PyObject *meth_wxWizard_DoSetSizeHints(PyObject *, PyObject *, PyObject *);}
meth_wxWizard_DoSetSizeHints(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1484 static PyObject *meth_wxWizard_DoSetSizeHints(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1485 {
1486 PyObject *sipParseErr = SIP_NULLPTR;
1487 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1488
1489 {
1490 int minW;
1491 int minH;
1492 int maxW;
1493 int maxH;
1494 int incW;
1495 int incH;
1496 sipwxWizard *sipCpp;
1497
1498 static const char *sipKwdList[] = {
1499 sipName_minW,
1500 sipName_minH,
1501 sipName_maxW,
1502 sipName_maxH,
1503 sipName_incW,
1504 sipName_incH,
1505 };
1506
1507 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Biiiiii", &sipSelf, sipType_wxWizard, &sipCpp, &minW, &minH, &maxW, &maxH, &incW, &incH))
1508 {
1509 PyErr_Clear();
1510
1511 Py_BEGIN_ALLOW_THREADS
1512 sipCpp->sipProtectVirt_DoSetSizeHints(sipSelfWasArg,minW,minH,maxW,maxH,incW,incH);
1513 Py_END_ALLOW_THREADS
1514
1515 if (PyErr_Occurred())
1516 return 0;
1517
1518 Py_INCREF(Py_None);
1519 return Py_None;
1520 }
1521 }
1522
1523 /* Raise an exception if the arguments couldn't be parsed. */
1524 sipNoMethod(sipParseErr, sipName_Wizard, sipName_DoSetSizeHints, doc_wxWizard_DoSetSizeHints);
1525
1526 return SIP_NULLPTR;
1527 }
1528
1529
1530 PyDoc_STRVAR(doc_wxWizard_DoGetBorderSize, "DoGetBorderSize(self) -> Size");
1531
1532 extern "C" {static PyObject *meth_wxWizard_DoGetBorderSize(PyObject *, PyObject *);}
meth_wxWizard_DoGetBorderSize(PyObject * sipSelf,PyObject * sipArgs)1533 static PyObject *meth_wxWizard_DoGetBorderSize(PyObject *sipSelf, PyObject *sipArgs)
1534 {
1535 PyObject *sipParseErr = SIP_NULLPTR;
1536 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1537
1538 {
1539 const sipwxWizard *sipCpp;
1540
1541 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxWizard, &sipCpp))
1542 {
1543 ::wxSize*sipRes;
1544
1545 PyErr_Clear();
1546
1547 Py_BEGIN_ALLOW_THREADS
1548 sipRes = new ::wxSize(sipCpp->sipProtectVirt_DoGetBorderSize(sipSelfWasArg));
1549 Py_END_ALLOW_THREADS
1550
1551 if (PyErr_Occurred())
1552 return 0;
1553
1554 return sipConvertFromNewType(sipRes,sipType_wxSize,SIP_NULLPTR);
1555 }
1556 }
1557
1558 /* Raise an exception if the arguments couldn't be parsed. */
1559 sipNoMethod(sipParseErr, sipName_Wizard, sipName_DoGetBorderSize, doc_wxWizard_DoGetBorderSize);
1560
1561 return SIP_NULLPTR;
1562 }
1563
1564
1565 PyDoc_STRVAR(doc_wxWizard_DoMoveWindow, "DoMoveWindow(self, x: int, y: int, width: int, height: int)");
1566
1567 extern "C" {static PyObject *meth_wxWizard_DoMoveWindow(PyObject *, PyObject *, PyObject *);}
meth_wxWizard_DoMoveWindow(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1568 static PyObject *meth_wxWizard_DoMoveWindow(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1569 {
1570 PyObject *sipParseErr = SIP_NULLPTR;
1571 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1572
1573 {
1574 int x;
1575 int y;
1576 int width;
1577 int height;
1578 sipwxWizard *sipCpp;
1579
1580 static const char *sipKwdList[] = {
1581 sipName_x,
1582 sipName_y,
1583 sipName_width,
1584 sipName_height,
1585 };
1586
1587 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Biiii", &sipSelf, sipType_wxWizard, &sipCpp, &x, &y, &width, &height))
1588 {
1589 PyErr_Clear();
1590
1591 Py_BEGIN_ALLOW_THREADS
1592 sipCpp->sipProtectVirt_DoMoveWindow(sipSelfWasArg,x,y,width,height);
1593 Py_END_ALLOW_THREADS
1594
1595 if (PyErr_Occurred())
1596 return 0;
1597
1598 Py_INCREF(Py_None);
1599 return Py_None;
1600 }
1601 }
1602
1603 /* Raise an exception if the arguments couldn't be parsed. */
1604 sipNoMethod(sipParseErr, sipName_Wizard, sipName_DoMoveWindow, doc_wxWizard_DoMoveWindow);
1605
1606 return SIP_NULLPTR;
1607 }
1608
1609
1610 PyDoc_STRVAR(doc_wxWizard_DoSetWindowVariant, "DoSetWindowVariant(self, variant: WindowVariant)");
1611
1612 extern "C" {static PyObject *meth_wxWizard_DoSetWindowVariant(PyObject *, PyObject *, PyObject *);}
meth_wxWizard_DoSetWindowVariant(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1613 static PyObject *meth_wxWizard_DoSetWindowVariant(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1614 {
1615 PyObject *sipParseErr = SIP_NULLPTR;
1616 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1617
1618 {
1619 ::wxWindowVariant variant;
1620 sipwxWizard *sipCpp;
1621
1622 static const char *sipKwdList[] = {
1623 sipName_variant,
1624 };
1625
1626 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BE", &sipSelf, sipType_wxWizard, &sipCpp, sipType_wxWindowVariant, &variant))
1627 {
1628 PyErr_Clear();
1629
1630 Py_BEGIN_ALLOW_THREADS
1631 sipCpp->sipProtectVirt_DoSetWindowVariant(sipSelfWasArg,variant);
1632 Py_END_ALLOW_THREADS
1633
1634 if (PyErr_Occurred())
1635 return 0;
1636
1637 Py_INCREF(Py_None);
1638 return Py_None;
1639 }
1640 }
1641
1642 /* Raise an exception if the arguments couldn't be parsed. */
1643 sipNoMethod(sipParseErr, sipName_Wizard, sipName_DoSetWindowVariant, doc_wxWizard_DoSetWindowVariant);
1644
1645 return SIP_NULLPTR;
1646 }
1647
1648
1649 PyDoc_STRVAR(doc_wxWizard_GetDefaultBorder, "GetDefaultBorder(self) -> Border");
1650
1651 extern "C" {static PyObject *meth_wxWizard_GetDefaultBorder(PyObject *, PyObject *);}
meth_wxWizard_GetDefaultBorder(PyObject * sipSelf,PyObject * sipArgs)1652 static PyObject *meth_wxWizard_GetDefaultBorder(PyObject *sipSelf, PyObject *sipArgs)
1653 {
1654 PyObject *sipParseErr = SIP_NULLPTR;
1655 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1656
1657 {
1658 const sipwxWizard *sipCpp;
1659
1660 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxWizard, &sipCpp))
1661 {
1662 ::wxBorder sipRes;
1663
1664 PyErr_Clear();
1665
1666 Py_BEGIN_ALLOW_THREADS
1667 sipRes = sipCpp->sipProtectVirt_GetDefaultBorder(sipSelfWasArg);
1668 Py_END_ALLOW_THREADS
1669
1670 if (PyErr_Occurred())
1671 return 0;
1672
1673 return sipConvertFromEnum(static_cast<int>(sipRes), sipType_wxBorder);
1674 }
1675 }
1676
1677 /* Raise an exception if the arguments couldn't be parsed. */
1678 sipNoMethod(sipParseErr, sipName_Wizard, sipName_GetDefaultBorder, doc_wxWizard_GetDefaultBorder);
1679
1680 return SIP_NULLPTR;
1681 }
1682
1683
1684 PyDoc_STRVAR(doc_wxWizard_GetDefaultBorderForControl, "GetDefaultBorderForControl(self) -> Border");
1685
1686 extern "C" {static PyObject *meth_wxWizard_GetDefaultBorderForControl(PyObject *, PyObject *);}
meth_wxWizard_GetDefaultBorderForControl(PyObject * sipSelf,PyObject * sipArgs)1687 static PyObject *meth_wxWizard_GetDefaultBorderForControl(PyObject *sipSelf, PyObject *sipArgs)
1688 {
1689 PyObject *sipParseErr = SIP_NULLPTR;
1690 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1691
1692 {
1693 const sipwxWizard *sipCpp;
1694
1695 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxWizard, &sipCpp))
1696 {
1697 ::wxBorder sipRes;
1698
1699 PyErr_Clear();
1700
1701 Py_BEGIN_ALLOW_THREADS
1702 sipRes = sipCpp->sipProtectVirt_GetDefaultBorderForControl(sipSelfWasArg);
1703 Py_END_ALLOW_THREADS
1704
1705 if (PyErr_Occurred())
1706 return 0;
1707
1708 return sipConvertFromEnum(static_cast<int>(sipRes), sipType_wxBorder);
1709 }
1710 }
1711
1712 /* Raise an exception if the arguments couldn't be parsed. */
1713 sipNoMethod(sipParseErr, sipName_Wizard, sipName_GetDefaultBorderForControl, doc_wxWizard_GetDefaultBorderForControl);
1714
1715 return SIP_NULLPTR;
1716 }
1717
1718
1719 PyDoc_STRVAR(doc_wxWizard_DoFreeze, "DoFreeze(self)");
1720
1721 extern "C" {static PyObject *meth_wxWizard_DoFreeze(PyObject *, PyObject *);}
meth_wxWizard_DoFreeze(PyObject * sipSelf,PyObject * sipArgs)1722 static PyObject *meth_wxWizard_DoFreeze(PyObject *sipSelf, PyObject *sipArgs)
1723 {
1724 PyObject *sipParseErr = SIP_NULLPTR;
1725 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1726
1727 {
1728 sipwxWizard *sipCpp;
1729
1730 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxWizard, &sipCpp))
1731 {
1732 PyErr_Clear();
1733
1734 Py_BEGIN_ALLOW_THREADS
1735 sipCpp->sipProtectVirt_DoFreeze(sipSelfWasArg);
1736 Py_END_ALLOW_THREADS
1737
1738 if (PyErr_Occurred())
1739 return 0;
1740
1741 Py_INCREF(Py_None);
1742 return Py_None;
1743 }
1744 }
1745
1746 /* Raise an exception if the arguments couldn't be parsed. */
1747 sipNoMethod(sipParseErr, sipName_Wizard, sipName_DoFreeze, doc_wxWizard_DoFreeze);
1748
1749 return SIP_NULLPTR;
1750 }
1751
1752
1753 PyDoc_STRVAR(doc_wxWizard_DoThaw, "DoThaw(self)");
1754
1755 extern "C" {static PyObject *meth_wxWizard_DoThaw(PyObject *, PyObject *);}
meth_wxWizard_DoThaw(PyObject * sipSelf,PyObject * sipArgs)1756 static PyObject *meth_wxWizard_DoThaw(PyObject *sipSelf, PyObject *sipArgs)
1757 {
1758 PyObject *sipParseErr = SIP_NULLPTR;
1759 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1760
1761 {
1762 sipwxWizard *sipCpp;
1763
1764 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxWizard, &sipCpp))
1765 {
1766 PyErr_Clear();
1767
1768 Py_BEGIN_ALLOW_THREADS
1769 sipCpp->sipProtectVirt_DoThaw(sipSelfWasArg);
1770 Py_END_ALLOW_THREADS
1771
1772 if (PyErr_Occurred())
1773 return 0;
1774
1775 Py_INCREF(Py_None);
1776 return Py_None;
1777 }
1778 }
1779
1780 /* Raise an exception if the arguments couldn't be parsed. */
1781 sipNoMethod(sipParseErr, sipName_Wizard, sipName_DoThaw, doc_wxWizard_DoThaw);
1782
1783 return SIP_NULLPTR;
1784 }
1785
1786
1787 PyDoc_STRVAR(doc_wxWizard_HasTransparentBackground, "HasTransparentBackground(self) -> bool");
1788
1789 extern "C" {static PyObject *meth_wxWizard_HasTransparentBackground(PyObject *, PyObject *);}
meth_wxWizard_HasTransparentBackground(PyObject * sipSelf,PyObject * sipArgs)1790 static PyObject *meth_wxWizard_HasTransparentBackground(PyObject *sipSelf, PyObject *sipArgs)
1791 {
1792 PyObject *sipParseErr = SIP_NULLPTR;
1793 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1794
1795 {
1796 sipwxWizard *sipCpp;
1797
1798 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxWizard, &sipCpp))
1799 {
1800 bool sipRes;
1801
1802 PyErr_Clear();
1803
1804 Py_BEGIN_ALLOW_THREADS
1805 sipRes = sipCpp->sipProtectVirt_HasTransparentBackground(sipSelfWasArg);
1806 Py_END_ALLOW_THREADS
1807
1808 if (PyErr_Occurred())
1809 return 0;
1810
1811 return PyBool_FromLong(sipRes);
1812 }
1813 }
1814
1815 /* Raise an exception if the arguments couldn't be parsed. */
1816 sipNoMethod(sipParseErr, sipName_Wizard, sipName_HasTransparentBackground, doc_wxWizard_HasTransparentBackground);
1817
1818 return SIP_NULLPTR;
1819 }
1820
1821
1822 PyDoc_STRVAR(doc_wxWizard_TryBefore, "TryBefore(self, event: Event) -> bool");
1823
1824 extern "C" {static PyObject *meth_wxWizard_TryBefore(PyObject *, PyObject *, PyObject *);}
meth_wxWizard_TryBefore(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1825 static PyObject *meth_wxWizard_TryBefore(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1826 {
1827 PyObject *sipParseErr = SIP_NULLPTR;
1828 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1829
1830 {
1831 ::wxEvent* event;
1832 sipwxWizard *sipCpp;
1833
1834 static const char *sipKwdList[] = {
1835 sipName_event,
1836 };
1837
1838 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9", &sipSelf, sipType_wxWizard, &sipCpp, sipType_wxEvent, &event))
1839 {
1840 bool sipRes;
1841
1842 PyErr_Clear();
1843
1844 Py_BEGIN_ALLOW_THREADS
1845 sipRes = sipCpp->sipProtectVirt_TryBefore(sipSelfWasArg,*event);
1846 Py_END_ALLOW_THREADS
1847
1848 if (PyErr_Occurred())
1849 return 0;
1850
1851 return PyBool_FromLong(sipRes);
1852 }
1853 }
1854
1855 /* Raise an exception if the arguments couldn't be parsed. */
1856 sipNoMethod(sipParseErr, sipName_Wizard, sipName_TryBefore, doc_wxWizard_TryBefore);
1857
1858 return SIP_NULLPTR;
1859 }
1860
1861
1862 PyDoc_STRVAR(doc_wxWizard_TryAfter, "TryAfter(self, event: Event) -> bool");
1863
1864 extern "C" {static PyObject *meth_wxWizard_TryAfter(PyObject *, PyObject *, PyObject *);}
meth_wxWizard_TryAfter(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1865 static PyObject *meth_wxWizard_TryAfter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1866 {
1867 PyObject *sipParseErr = SIP_NULLPTR;
1868 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1869
1870 {
1871 ::wxEvent* event;
1872 sipwxWizard *sipCpp;
1873
1874 static const char *sipKwdList[] = {
1875 sipName_event,
1876 };
1877
1878 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9", &sipSelf, sipType_wxWizard, &sipCpp, sipType_wxEvent, &event))
1879 {
1880 bool sipRes;
1881
1882 PyErr_Clear();
1883
1884 Py_BEGIN_ALLOW_THREADS
1885 sipRes = sipCpp->sipProtectVirt_TryAfter(sipSelfWasArg,*event);
1886 Py_END_ALLOW_THREADS
1887
1888 if (PyErr_Occurred())
1889 return 0;
1890
1891 return PyBool_FromLong(sipRes);
1892 }
1893 }
1894
1895 /* Raise an exception if the arguments couldn't be parsed. */
1896 sipNoMethod(sipParseErr, sipName_Wizard, sipName_TryAfter, doc_wxWizard_TryAfter);
1897
1898 return SIP_NULLPTR;
1899 }
1900
1901
1902 PyDoc_STRVAR(doc_wxWizard_Create, "Create(parent, id=wx.ID_ANY, title=wx.EmptyString, bitmap=wx.NullBitmap, pos=wx.DefaultPosition, style=wx.DEFAULT_DIALOG_STYLE) -> bool\n"
1903 "\n"
1904 "Creates the wizard dialog.");
1905
1906 extern "C" {static PyObject *meth_wxWizard_Create(PyObject *, PyObject *, PyObject *);}
meth_wxWizard_Create(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1907 static PyObject *meth_wxWizard_Create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1908 {
1909 PyObject *sipParseErr = SIP_NULLPTR;
1910
1911 {
1912 ::wxWindow* parent;
1913 int id = wxID_ANY;
1914 const ::wxString& titledef = wxEmptyString;
1915 const ::wxString* title = &titledef;
1916 int titleState = 0;
1917 const ::wxBitmap& bitmapdef = wxNullBitmap;
1918 const ::wxBitmap* bitmap = &bitmapdef;
1919 const ::wxPoint& posdef = wxDefaultPosition;
1920 const ::wxPoint* pos = &posdef;
1921 int posState = 0;
1922 long style = wxDEFAULT_DIALOG_STYLE;
1923 sipWrapper *sipOwner = SIP_NULLPTR;
1924 ::wxWizard *sipCpp;
1925
1926 static const char *sipKwdList[] = {
1927 sipName_parent,
1928 sipName_id,
1929 sipName_title,
1930 sipName_bitmap,
1931 sipName_pos,
1932 sipName_style,
1933 };
1934
1935 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJH|iJ1J9J1l", &sipSelf, sipType_wxWizard, &sipCpp, sipType_wxWindow, &parent, &sipOwner, &id, sipType_wxString,&title, &titleState, sipType_wxBitmap, &bitmap, sipType_wxPoint, &pos, &posState, &style))
1936 {
1937 bool sipRes;
1938
1939 PyErr_Clear();
1940
1941 Py_BEGIN_ALLOW_THREADS
1942 sipRes = sipCpp->Create(parent,id,*title,*bitmap,*pos,style);
1943 Py_END_ALLOW_THREADS
1944
1945 if (sipOwner)
1946 sipTransferTo(sipSelf, (PyObject *)sipOwner);
1947 else
1948 sipTransferBack(sipSelf);
1949 sipReleaseType(const_cast< ::wxString *>(title),sipType_wxString,titleState);
1950 sipReleaseType(const_cast< ::wxPoint *>(pos),sipType_wxPoint,posState);
1951
1952 if (PyErr_Occurred())
1953 return 0;
1954
1955 return PyBool_FromLong(sipRes);
1956 }
1957 }
1958
1959 /* Raise an exception if the arguments couldn't be parsed. */
1960 sipNoMethod(sipParseErr, sipName_Wizard, sipName_Create, SIP_NULLPTR);
1961
1962 return SIP_NULLPTR;
1963 }
1964
1965
1966 PyDoc_STRVAR(doc_wxWizard_FitToPage, "FitToPage(firstPage)\n"
1967 "\n"
1968 "This method is obsolete, use GetPageAreaSizer() instead.");
1969
1970 extern "C" {static PyObject *meth_wxWizard_FitToPage(PyObject *, PyObject *, PyObject *);}
meth_wxWizard_FitToPage(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1971 static PyObject *meth_wxWizard_FitToPage(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1972 {
1973 PyObject *sipParseErr = SIP_NULLPTR;
1974 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1975
1976 {
1977 const ::wxWizardPage* firstPage;
1978 ::wxWizard *sipCpp;
1979
1980 static const char *sipKwdList[] = {
1981 sipName_firstPage,
1982 };
1983
1984 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ8", &sipSelf, sipType_wxWizard, &sipCpp, sipType_wxWizardPage, &firstPage))
1985 {
1986 PyErr_Clear();
1987
1988 Py_BEGIN_ALLOW_THREADS
1989 (sipSelfWasArg ? sipCpp-> ::wxWizard::FitToPage(firstPage) : sipCpp->FitToPage(firstPage));
1990 Py_END_ALLOW_THREADS
1991
1992 if (PyErr_Occurred())
1993 return 0;
1994
1995 Py_INCREF(Py_None);
1996 return Py_None;
1997 }
1998 }
1999
2000 /* Raise an exception if the arguments couldn't be parsed. */
2001 sipNoMethod(sipParseErr, sipName_Wizard, sipName_FitToPage, SIP_NULLPTR);
2002
2003 return SIP_NULLPTR;
2004 }
2005
2006
2007 PyDoc_STRVAR(doc_wxWizard_GetBitmap, "GetBitmap() -> wx.Bitmap\n"
2008 "\n"
2009 "Returns the bitmap used for the wizard.");
2010
2011 extern "C" {static PyObject *meth_wxWizard_GetBitmap(PyObject *, PyObject *);}
meth_wxWizard_GetBitmap(PyObject * sipSelf,PyObject * sipArgs)2012 static PyObject *meth_wxWizard_GetBitmap(PyObject *sipSelf, PyObject *sipArgs)
2013 {
2014 PyObject *sipParseErr = SIP_NULLPTR;
2015
2016 {
2017 const ::wxWizard *sipCpp;
2018
2019 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxWizard, &sipCpp))
2020 {
2021 ::wxBitmap*sipRes;
2022
2023 PyErr_Clear();
2024
2025 Py_BEGIN_ALLOW_THREADS
2026 sipRes = new ::wxBitmap(sipCpp->GetBitmap());
2027 Py_END_ALLOW_THREADS
2028
2029 if (PyErr_Occurred())
2030 return 0;
2031
2032 return sipConvertFromNewType(sipRes,sipType_wxBitmap,SIP_NULLPTR);
2033 }
2034 }
2035
2036 /* Raise an exception if the arguments couldn't be parsed. */
2037 sipNoMethod(sipParseErr, sipName_Wizard, sipName_GetBitmap, SIP_NULLPTR);
2038
2039 return SIP_NULLPTR;
2040 }
2041
2042
2043 PyDoc_STRVAR(doc_wxWizard_GetBitmapBackgroundColour, "GetBitmapBackgroundColour() -> wx.Colour\n"
2044 "\n"
2045 "Returns the colour that should be used to fill the area not taken up\n"
2046 "by the wizard or page bitmap, if a non-zero bitmap placement flag has\n"
2047 "been set.");
2048
2049 extern "C" {static PyObject *meth_wxWizard_GetBitmapBackgroundColour(PyObject *, PyObject *);}
meth_wxWizard_GetBitmapBackgroundColour(PyObject * sipSelf,PyObject * sipArgs)2050 static PyObject *meth_wxWizard_GetBitmapBackgroundColour(PyObject *sipSelf, PyObject *sipArgs)
2051 {
2052 PyObject *sipParseErr = SIP_NULLPTR;
2053
2054 {
2055 const ::wxWizard *sipCpp;
2056
2057 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxWizard, &sipCpp))
2058 {
2059 ::wxColour*sipRes;
2060
2061 PyErr_Clear();
2062
2063 Py_BEGIN_ALLOW_THREADS
2064 sipRes = new ::wxColour(sipCpp->GetBitmapBackgroundColour());
2065 Py_END_ALLOW_THREADS
2066
2067 if (PyErr_Occurred())
2068 return 0;
2069
2070 return sipConvertFromNewType(sipRes,sipType_wxColour,SIP_NULLPTR);
2071 }
2072 }
2073
2074 /* Raise an exception if the arguments couldn't be parsed. */
2075 sipNoMethod(sipParseErr, sipName_Wizard, sipName_GetBitmapBackgroundColour, SIP_NULLPTR);
2076
2077 return SIP_NULLPTR;
2078 }
2079
2080
2081 PyDoc_STRVAR(doc_wxWizard_GetBitmapPlacement, "GetBitmapPlacement() -> int\n"
2082 "\n"
2083 "Returns the flags indicating how the wizard or page bitmap should be\n"
2084 "expanded and positioned to fit the page height.");
2085
2086 extern "C" {static PyObject *meth_wxWizard_GetBitmapPlacement(PyObject *, PyObject *);}
meth_wxWizard_GetBitmapPlacement(PyObject * sipSelf,PyObject * sipArgs)2087 static PyObject *meth_wxWizard_GetBitmapPlacement(PyObject *sipSelf, PyObject *sipArgs)
2088 {
2089 PyObject *sipParseErr = SIP_NULLPTR;
2090
2091 {
2092 const ::wxWizard *sipCpp;
2093
2094 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxWizard, &sipCpp))
2095 {
2096 int sipRes;
2097
2098 PyErr_Clear();
2099
2100 Py_BEGIN_ALLOW_THREADS
2101 sipRes = sipCpp->GetBitmapPlacement();
2102 Py_END_ALLOW_THREADS
2103
2104 if (PyErr_Occurred())
2105 return 0;
2106
2107 return SIPLong_FromLong(sipRes);
2108 }
2109 }
2110
2111 /* Raise an exception if the arguments couldn't be parsed. */
2112 sipNoMethod(sipParseErr, sipName_Wizard, sipName_GetBitmapPlacement, SIP_NULLPTR);
2113
2114 return SIP_NULLPTR;
2115 }
2116
2117
2118 PyDoc_STRVAR(doc_wxWizard_GetCurrentPage, "GetCurrentPage() -> WizardPage\n"
2119 "\n"
2120 "Get the current page while the wizard is running.");
2121
2122 extern "C" {static PyObject *meth_wxWizard_GetCurrentPage(PyObject *, PyObject *);}
meth_wxWizard_GetCurrentPage(PyObject * sipSelf,PyObject * sipArgs)2123 static PyObject *meth_wxWizard_GetCurrentPage(PyObject *sipSelf, PyObject *sipArgs)
2124 {
2125 PyObject *sipParseErr = SIP_NULLPTR;
2126 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2127
2128 {
2129 const ::wxWizard *sipCpp;
2130
2131 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxWizard, &sipCpp))
2132 {
2133 ::wxWizardPage*sipRes;
2134
2135 PyErr_Clear();
2136
2137 Py_BEGIN_ALLOW_THREADS
2138 sipRes = (sipSelfWasArg ? sipCpp-> ::wxWizard::GetCurrentPage() : sipCpp->GetCurrentPage());
2139 Py_END_ALLOW_THREADS
2140
2141 if (PyErr_Occurred())
2142 return 0;
2143
2144 return sipConvertFromType(sipRes,sipType_wxWizardPage,SIP_NULLPTR);
2145 }
2146 }
2147
2148 /* Raise an exception if the arguments couldn't be parsed. */
2149 sipNoMethod(sipParseErr, sipName_Wizard, sipName_GetCurrentPage, SIP_NULLPTR);
2150
2151 return SIP_NULLPTR;
2152 }
2153
2154
2155 PyDoc_STRVAR(doc_wxWizard_GetMinimumBitmapWidth, "GetMinimumBitmapWidth() -> int\n"
2156 "\n"
2157 "Returns the minimum width for the bitmap that will be constructed to\n"
2158 "contain the actual wizard or page bitmap if a non-zero bitmap\n"
2159 "placement flag has been set.");
2160
2161 extern "C" {static PyObject *meth_wxWizard_GetMinimumBitmapWidth(PyObject *, PyObject *);}
meth_wxWizard_GetMinimumBitmapWidth(PyObject * sipSelf,PyObject * sipArgs)2162 static PyObject *meth_wxWizard_GetMinimumBitmapWidth(PyObject *sipSelf, PyObject *sipArgs)
2163 {
2164 PyObject *sipParseErr = SIP_NULLPTR;
2165
2166 {
2167 const ::wxWizard *sipCpp;
2168
2169 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxWizard, &sipCpp))
2170 {
2171 int sipRes;
2172
2173 PyErr_Clear();
2174
2175 Py_BEGIN_ALLOW_THREADS
2176 sipRes = sipCpp->GetMinimumBitmapWidth();
2177 Py_END_ALLOW_THREADS
2178
2179 if (PyErr_Occurred())
2180 return 0;
2181
2182 return SIPLong_FromLong(sipRes);
2183 }
2184 }
2185
2186 /* Raise an exception if the arguments couldn't be parsed. */
2187 sipNoMethod(sipParseErr, sipName_Wizard, sipName_GetMinimumBitmapWidth, SIP_NULLPTR);
2188
2189 return SIP_NULLPTR;
2190 }
2191
2192
2193 PyDoc_STRVAR(doc_wxWizard_GetPageAreaSizer, "GetPageAreaSizer() -> wx.Sizer\n"
2194 "\n"
2195 "Returns pointer to page area sizer.");
2196
2197 extern "C" {static PyObject *meth_wxWizard_GetPageAreaSizer(PyObject *, PyObject *);}
meth_wxWizard_GetPageAreaSizer(PyObject * sipSelf,PyObject * sipArgs)2198 static PyObject *meth_wxWizard_GetPageAreaSizer(PyObject *sipSelf, PyObject *sipArgs)
2199 {
2200 PyObject *sipParseErr = SIP_NULLPTR;
2201 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2202
2203 {
2204 const ::wxWizard *sipCpp;
2205
2206 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxWizard, &sipCpp))
2207 {
2208 ::wxSizer*sipRes;
2209
2210 PyErr_Clear();
2211
2212 Py_BEGIN_ALLOW_THREADS
2213 sipRes = (sipSelfWasArg ? sipCpp-> ::wxWizard::GetPageAreaSizer() : sipCpp->GetPageAreaSizer());
2214 Py_END_ALLOW_THREADS
2215
2216 if (PyErr_Occurred())
2217 return 0;
2218
2219 return sipConvertFromType(sipRes,sipType_wxSizer,SIP_NULLPTR);
2220 }
2221 }
2222
2223 /* Raise an exception if the arguments couldn't be parsed. */
2224 sipNoMethod(sipParseErr, sipName_Wizard, sipName_GetPageAreaSizer, SIP_NULLPTR);
2225
2226 return SIP_NULLPTR;
2227 }
2228
2229
2230 PyDoc_STRVAR(doc_wxWizard_GetPageSize, "GetPageSize() -> wx.Size\n"
2231 "\n"
2232 "Returns the size available for the pages.");
2233
2234 extern "C" {static PyObject *meth_wxWizard_GetPageSize(PyObject *, PyObject *);}
meth_wxWizard_GetPageSize(PyObject * sipSelf,PyObject * sipArgs)2235 static PyObject *meth_wxWizard_GetPageSize(PyObject *sipSelf, PyObject *sipArgs)
2236 {
2237 PyObject *sipParseErr = SIP_NULLPTR;
2238 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2239
2240 {
2241 const ::wxWizard *sipCpp;
2242
2243 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxWizard, &sipCpp))
2244 {
2245 ::wxSize*sipRes;
2246
2247 PyErr_Clear();
2248
2249 Py_BEGIN_ALLOW_THREADS
2250 sipRes = new ::wxSize((sipSelfWasArg ? sipCpp-> ::wxWizard::GetPageSize() : sipCpp->GetPageSize()));
2251 Py_END_ALLOW_THREADS
2252
2253 if (PyErr_Occurred())
2254 return 0;
2255
2256 return sipConvertFromNewType(sipRes,sipType_wxSize,SIP_NULLPTR);
2257 }
2258 }
2259
2260 /* Raise an exception if the arguments couldn't be parsed. */
2261 sipNoMethod(sipParseErr, sipName_Wizard, sipName_GetPageSize, SIP_NULLPTR);
2262
2263 return SIP_NULLPTR;
2264 }
2265
2266
2267 PyDoc_STRVAR(doc_wxWizard_HasNextPage, "HasNextPage(page) -> bool\n"
2268 "\n"
2269 "Return true if this page is not the last one in the wizard.");
2270
2271 extern "C" {static PyObject *meth_wxWizard_HasNextPage(PyObject *, PyObject *, PyObject *);}
meth_wxWizard_HasNextPage(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2272 static PyObject *meth_wxWizard_HasNextPage(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2273 {
2274 PyObject *sipParseErr = SIP_NULLPTR;
2275 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2276
2277 {
2278 ::wxWizardPage* page;
2279 ::wxWizard *sipCpp;
2280
2281 static const char *sipKwdList[] = {
2282 sipName_page,
2283 };
2284
2285 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ8", &sipSelf, sipType_wxWizard, &sipCpp, sipType_wxWizardPage, &page))
2286 {
2287 bool sipRes;
2288
2289 PyErr_Clear();
2290
2291 Py_BEGIN_ALLOW_THREADS
2292 sipRes = (sipSelfWasArg ? sipCpp-> ::wxWizard::HasNextPage(page) : sipCpp->HasNextPage(page));
2293 Py_END_ALLOW_THREADS
2294
2295 if (PyErr_Occurred())
2296 return 0;
2297
2298 return PyBool_FromLong(sipRes);
2299 }
2300 }
2301
2302 /* Raise an exception if the arguments couldn't be parsed. */
2303 sipNoMethod(sipParseErr, sipName_Wizard, sipName_HasNextPage, SIP_NULLPTR);
2304
2305 return SIP_NULLPTR;
2306 }
2307
2308
2309 PyDoc_STRVAR(doc_wxWizard_HasPrevPage, "HasPrevPage(page) -> bool\n"
2310 "\n"
2311 "Returns true if this page is not the last one in the wizard.");
2312
2313 extern "C" {static PyObject *meth_wxWizard_HasPrevPage(PyObject *, PyObject *, PyObject *);}
meth_wxWizard_HasPrevPage(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2314 static PyObject *meth_wxWizard_HasPrevPage(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2315 {
2316 PyObject *sipParseErr = SIP_NULLPTR;
2317 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2318
2319 {
2320 ::wxWizardPage* page;
2321 ::wxWizard *sipCpp;
2322
2323 static const char *sipKwdList[] = {
2324 sipName_page,
2325 };
2326
2327 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ8", &sipSelf, sipType_wxWizard, &sipCpp, sipType_wxWizardPage, &page))
2328 {
2329 bool sipRes;
2330
2331 PyErr_Clear();
2332
2333 Py_BEGIN_ALLOW_THREADS
2334 sipRes = (sipSelfWasArg ? sipCpp-> ::wxWizard::HasPrevPage(page) : sipCpp->HasPrevPage(page));
2335 Py_END_ALLOW_THREADS
2336
2337 if (PyErr_Occurred())
2338 return 0;
2339
2340 return PyBool_FromLong(sipRes);
2341 }
2342 }
2343
2344 /* Raise an exception if the arguments couldn't be parsed. */
2345 sipNoMethod(sipParseErr, sipName_Wizard, sipName_HasPrevPage, SIP_NULLPTR);
2346
2347 return SIP_NULLPTR;
2348 }
2349
2350
2351 PyDoc_STRVAR(doc_wxWizard_RunWizard, "RunWizard(firstPage) -> bool\n"
2352 "\n"
2353 "Executes the wizard starting from the given page, returning true if it\n"
2354 "was successfully finished or false if user cancelled it.");
2355
2356 extern "C" {static PyObject *meth_wxWizard_RunWizard(PyObject *, PyObject *, PyObject *);}
meth_wxWizard_RunWizard(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2357 static PyObject *meth_wxWizard_RunWizard(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2358 {
2359 PyObject *sipParseErr = SIP_NULLPTR;
2360 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2361
2362 {
2363 ::wxWizardPage* firstPage;
2364 ::wxWizard *sipCpp;
2365
2366 static const char *sipKwdList[] = {
2367 sipName_firstPage,
2368 };
2369
2370 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ8", &sipSelf, sipType_wxWizard, &sipCpp, sipType_wxWizardPage, &firstPage))
2371 {
2372 bool sipRes;
2373
2374 PyErr_Clear();
2375
2376 Py_BEGIN_ALLOW_THREADS
2377 sipRes = (sipSelfWasArg ? sipCpp-> ::wxWizard::RunWizard(firstPage) : sipCpp->RunWizard(firstPage));
2378 Py_END_ALLOW_THREADS
2379
2380 if (PyErr_Occurred())
2381 return 0;
2382
2383 return PyBool_FromLong(sipRes);
2384 }
2385 }
2386
2387 /* Raise an exception if the arguments couldn't be parsed. */
2388 sipNoMethod(sipParseErr, sipName_Wizard, sipName_RunWizard, SIP_NULLPTR);
2389
2390 return SIP_NULLPTR;
2391 }
2392
2393
2394 PyDoc_STRVAR(doc_wxWizard_SetBitmap, "SetBitmap(bitmap)\n"
2395 "\n"
2396 "Sets the bitmap used for the wizard.");
2397
2398 extern "C" {static PyObject *meth_wxWizard_SetBitmap(PyObject *, PyObject *, PyObject *);}
meth_wxWizard_SetBitmap(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2399 static PyObject *meth_wxWizard_SetBitmap(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2400 {
2401 PyObject *sipParseErr = SIP_NULLPTR;
2402
2403 {
2404 const ::wxBitmap* bitmap;
2405 ::wxWizard *sipCpp;
2406
2407 static const char *sipKwdList[] = {
2408 sipName_bitmap,
2409 };
2410
2411 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9", &sipSelf, sipType_wxWizard, &sipCpp, sipType_wxBitmap, &bitmap))
2412 {
2413 PyErr_Clear();
2414
2415 Py_BEGIN_ALLOW_THREADS
2416 sipCpp->SetBitmap(*bitmap);
2417 Py_END_ALLOW_THREADS
2418
2419 if (PyErr_Occurred())
2420 return 0;
2421
2422 Py_INCREF(Py_None);
2423 return Py_None;
2424 }
2425 }
2426
2427 /* Raise an exception if the arguments couldn't be parsed. */
2428 sipNoMethod(sipParseErr, sipName_Wizard, sipName_SetBitmap, SIP_NULLPTR);
2429
2430 return SIP_NULLPTR;
2431 }
2432
2433
2434 PyDoc_STRVAR(doc_wxWizard_SetBitmapBackgroundColour, "SetBitmapBackgroundColour(colour)\n"
2435 "\n"
2436 "Sets the colour that should be used to fill the area not taken up by\n"
2437 "the wizard or page bitmap, if a non-zero bitmap placement flag has\n"
2438 "been set.");
2439
2440 extern "C" {static PyObject *meth_wxWizard_SetBitmapBackgroundColour(PyObject *, PyObject *, PyObject *);}
meth_wxWizard_SetBitmapBackgroundColour(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2441 static PyObject *meth_wxWizard_SetBitmapBackgroundColour(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2442 {
2443 PyObject *sipParseErr = SIP_NULLPTR;
2444
2445 {
2446 const ::wxColour* colour;
2447 int colourState = 0;
2448 ::wxWizard *sipCpp;
2449
2450 static const char *sipKwdList[] = {
2451 sipName_colour,
2452 };
2453
2454 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxWizard, &sipCpp, sipType_wxColour, &colour, &colourState))
2455 {
2456 PyErr_Clear();
2457
2458 Py_BEGIN_ALLOW_THREADS
2459 sipCpp->SetBitmapBackgroundColour(*colour);
2460 Py_END_ALLOW_THREADS
2461 sipReleaseType(const_cast< ::wxColour *>(colour),sipType_wxColour,colourState);
2462
2463 if (PyErr_Occurred())
2464 return 0;
2465
2466 Py_INCREF(Py_None);
2467 return Py_None;
2468 }
2469 }
2470
2471 /* Raise an exception if the arguments couldn't be parsed. */
2472 sipNoMethod(sipParseErr, sipName_Wizard, sipName_SetBitmapBackgroundColour, SIP_NULLPTR);
2473
2474 return SIP_NULLPTR;
2475 }
2476
2477
2478 PyDoc_STRVAR(doc_wxWizard_SetBitmapPlacement, "SetBitmapPlacement(placement)\n"
2479 "\n"
2480 "Sets the flags indicating how the wizard or page bitmap should be\n"
2481 "expanded and positioned to fit the page height.");
2482
2483 extern "C" {static PyObject *meth_wxWizard_SetBitmapPlacement(PyObject *, PyObject *, PyObject *);}
meth_wxWizard_SetBitmapPlacement(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2484 static PyObject *meth_wxWizard_SetBitmapPlacement(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2485 {
2486 PyObject *sipParseErr = SIP_NULLPTR;
2487
2488 {
2489 int placement;
2490 ::wxWizard *sipCpp;
2491
2492 static const char *sipKwdList[] = {
2493 sipName_placement,
2494 };
2495
2496 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bi", &sipSelf, sipType_wxWizard, &sipCpp, &placement))
2497 {
2498 PyErr_Clear();
2499
2500 Py_BEGIN_ALLOW_THREADS
2501 sipCpp->SetBitmapPlacement(placement);
2502 Py_END_ALLOW_THREADS
2503
2504 if (PyErr_Occurred())
2505 return 0;
2506
2507 Py_INCREF(Py_None);
2508 return Py_None;
2509 }
2510 }
2511
2512 /* Raise an exception if the arguments couldn't be parsed. */
2513 sipNoMethod(sipParseErr, sipName_Wizard, sipName_SetBitmapPlacement, SIP_NULLPTR);
2514
2515 return SIP_NULLPTR;
2516 }
2517
2518
2519 PyDoc_STRVAR(doc_wxWizard_SetBorder, "SetBorder(border)\n"
2520 "\n"
2521 "Sets width of border around page area.");
2522
2523 extern "C" {static PyObject *meth_wxWizard_SetBorder(PyObject *, PyObject *, PyObject *);}
meth_wxWizard_SetBorder(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2524 static PyObject *meth_wxWizard_SetBorder(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2525 {
2526 PyObject *sipParseErr = SIP_NULLPTR;
2527 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2528
2529 {
2530 int border;
2531 ::wxWizard *sipCpp;
2532
2533 static const char *sipKwdList[] = {
2534 sipName_border,
2535 };
2536
2537 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bi", &sipSelf, sipType_wxWizard, &sipCpp, &border))
2538 {
2539 PyErr_Clear();
2540
2541 Py_BEGIN_ALLOW_THREADS
2542 (sipSelfWasArg ? sipCpp-> ::wxWizard::SetBorder(border) : sipCpp->SetBorder(border));
2543 Py_END_ALLOW_THREADS
2544
2545 if (PyErr_Occurred())
2546 return 0;
2547
2548 Py_INCREF(Py_None);
2549 return Py_None;
2550 }
2551 }
2552
2553 /* Raise an exception if the arguments couldn't be parsed. */
2554 sipNoMethod(sipParseErr, sipName_Wizard, sipName_SetBorder, SIP_NULLPTR);
2555
2556 return SIP_NULLPTR;
2557 }
2558
2559
2560 PyDoc_STRVAR(doc_wxWizard_SetMinimumBitmapWidth, "SetMinimumBitmapWidth(width)\n"
2561 "\n"
2562 "Sets the minimum width for the bitmap that will be constructed to\n"
2563 "contain the actual wizard or page bitmap if a non-zero bitmap\n"
2564 "placement flag has been set.");
2565
2566 extern "C" {static PyObject *meth_wxWizard_SetMinimumBitmapWidth(PyObject *, PyObject *, PyObject *);}
meth_wxWizard_SetMinimumBitmapWidth(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2567 static PyObject *meth_wxWizard_SetMinimumBitmapWidth(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2568 {
2569 PyObject *sipParseErr = SIP_NULLPTR;
2570
2571 {
2572 int width;
2573 ::wxWizard *sipCpp;
2574
2575 static const char *sipKwdList[] = {
2576 sipName_width,
2577 };
2578
2579 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bi", &sipSelf, sipType_wxWizard, &sipCpp, &width))
2580 {
2581 PyErr_Clear();
2582
2583 Py_BEGIN_ALLOW_THREADS
2584 sipCpp->SetMinimumBitmapWidth(width);
2585 Py_END_ALLOW_THREADS
2586
2587 if (PyErr_Occurred())
2588 return 0;
2589
2590 Py_INCREF(Py_None);
2591 return Py_None;
2592 }
2593 }
2594
2595 /* Raise an exception if the arguments couldn't be parsed. */
2596 sipNoMethod(sipParseErr, sipName_Wizard, sipName_SetMinimumBitmapWidth, SIP_NULLPTR);
2597
2598 return SIP_NULLPTR;
2599 }
2600
2601
2602 PyDoc_STRVAR(doc_wxWizard_SetPageSize, "SetPageSize(sizePage)\n"
2603 "\n"
2604 "Sets the minimal size to be made available for the wizard pages.");
2605
2606 extern "C" {static PyObject *meth_wxWizard_SetPageSize(PyObject *, PyObject *, PyObject *);}
meth_wxWizard_SetPageSize(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2607 static PyObject *meth_wxWizard_SetPageSize(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2608 {
2609 PyObject *sipParseErr = SIP_NULLPTR;
2610 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2611
2612 {
2613 const ::wxSize* sizePage;
2614 int sizePageState = 0;
2615 ::wxWizard *sipCpp;
2616
2617 static const char *sipKwdList[] = {
2618 sipName_sizePage,
2619 };
2620
2621 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxWizard, &sipCpp, sipType_wxSize, &sizePage, &sizePageState))
2622 {
2623 PyErr_Clear();
2624
2625 Py_BEGIN_ALLOW_THREADS
2626 (sipSelfWasArg ? sipCpp-> ::wxWizard::SetPageSize(*sizePage) : sipCpp->SetPageSize(*sizePage));
2627 Py_END_ALLOW_THREADS
2628 sipReleaseType(const_cast< ::wxSize *>(sizePage),sipType_wxSize,sizePageState);
2629
2630 if (PyErr_Occurred())
2631 return 0;
2632
2633 Py_INCREF(Py_None);
2634 return Py_None;
2635 }
2636 }
2637
2638 /* Raise an exception if the arguments couldn't be parsed. */
2639 sipNoMethod(sipParseErr, sipName_Wizard, sipName_SetPageSize, SIP_NULLPTR);
2640
2641 return SIP_NULLPTR;
2642 }
2643
2644
2645 PyDoc_STRVAR(doc_wxWizard_GetClassDefaultAttributes, "GetClassDefaultAttributes(variant=wx.WINDOW_VARIANT_NORMAL) -> wx.VisualAttributes");
2646
2647 extern "C" {static PyObject *meth_wxWizard_GetClassDefaultAttributes(PyObject *, PyObject *, PyObject *);}
meth_wxWizard_GetClassDefaultAttributes(PyObject *,PyObject * sipArgs,PyObject * sipKwds)2648 static PyObject *meth_wxWizard_GetClassDefaultAttributes(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
2649 {
2650 PyObject *sipParseErr = SIP_NULLPTR;
2651
2652 {
2653 ::wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL;
2654
2655 static const char *sipKwdList[] = {
2656 sipName_variant,
2657 };
2658
2659 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "|E", sipType_wxWindowVariant, &variant))
2660 {
2661 ::wxVisualAttributes*sipRes;
2662
2663 if (!wxPyCheckForApp()) return NULL;
2664
2665 PyErr_Clear();
2666
2667 Py_BEGIN_ALLOW_THREADS
2668 sipRes = new ::wxVisualAttributes( ::wxWizard::GetClassDefaultAttributes(variant));
2669 Py_END_ALLOW_THREADS
2670
2671 if (PyErr_Occurred())
2672 return 0;
2673
2674 return sipConvertFromNewType(sipRes,sipType_wxVisualAttributes,SIP_NULLPTR);
2675 }
2676 }
2677
2678 /* Raise an exception if the arguments couldn't be parsed. */
2679 sipNoMethod(sipParseErr, sipName_Wizard, sipName_GetClassDefaultAttributes, SIP_NULLPTR);
2680
2681 return SIP_NULLPTR;
2682 }
2683
2684
2685 PyDoc_STRVAR(doc_wxWizard_ShowPage, "ShowPage(page, goingForward=True) -> bool\n"
2686 "\n"
2687 "Show the given wizard page.");
2688
2689 extern "C" {static PyObject *meth_wxWizard_ShowPage(PyObject *, PyObject *, PyObject *);}
meth_wxWizard_ShowPage(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2690 static PyObject *meth_wxWizard_ShowPage(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2691 {
2692 PyObject *sipParseErr = SIP_NULLPTR;
2693 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2694
2695 {
2696 ::wxWizardPage* page;
2697 bool goingForward = 1;
2698 ::wxWizard *sipCpp;
2699
2700 static const char *sipKwdList[] = {
2701 sipName_page,
2702 sipName_goingForward,
2703 };
2704
2705 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ8|b", &sipSelf, sipType_wxWizard, &sipCpp, sipType_wxWizardPage, &page, &goingForward))
2706 {
2707 bool sipRes;
2708
2709 PyErr_Clear();
2710
2711 Py_BEGIN_ALLOW_THREADS
2712 sipRes = (sipSelfWasArg ? sipCpp-> ::wxWizard::ShowPage(page,goingForward) : sipCpp->ShowPage(page,goingForward));
2713 Py_END_ALLOW_THREADS
2714
2715 if (PyErr_Occurred())
2716 return 0;
2717
2718 return PyBool_FromLong(sipRes);
2719 }
2720 }
2721
2722 /* Raise an exception if the arguments couldn't be parsed. */
2723 sipNoMethod(sipParseErr, sipName_Wizard, sipName_ShowPage, SIP_NULLPTR);
2724
2725 return SIP_NULLPTR;
2726 }
2727
2728
2729 PyDoc_STRVAR(doc_wxWizard_IsRunning, "IsRunning() -> bool");
2730
2731 extern "C" {static PyObject *meth_wxWizard_IsRunning(PyObject *, PyObject *);}
meth_wxWizard_IsRunning(PyObject * sipSelf,PyObject * sipArgs)2732 static PyObject *meth_wxWizard_IsRunning(PyObject *sipSelf, PyObject *sipArgs)
2733 {
2734 PyObject *sipParseErr = SIP_NULLPTR;
2735
2736 {
2737 const ::wxWizard *sipCpp;
2738
2739 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxWizard, &sipCpp))
2740 {
2741 bool sipRes;
2742
2743 PyErr_Clear();
2744
2745 Py_BEGIN_ALLOW_THREADS
2746 sipRes = sipCpp->IsRunning();
2747 Py_END_ALLOW_THREADS
2748
2749 if (PyErr_Occurred())
2750 return 0;
2751
2752 return PyBool_FromLong(sipRes);
2753 }
2754 }
2755
2756 /* Raise an exception if the arguments couldn't be parsed. */
2757 sipNoMethod(sipParseErr, sipName_Wizard, sipName_IsRunning, SIP_NULLPTR);
2758
2759 return SIP_NULLPTR;
2760 }
2761
2762
2763 /* Cast a pointer to a type somewhere in its inheritance hierarchy. */
2764 extern "C" {static void *cast_wxWizard(void *, const sipTypeDef *);}
cast_wxWizard(void * sipCppV,const sipTypeDef * targetType)2765 static void *cast_wxWizard(void *sipCppV, const sipTypeDef *targetType)
2766 {
2767 ::wxWizard *sipCpp = reinterpret_cast< ::wxWizard *>(sipCppV);
2768
2769 if (targetType == sipType_wxDialog)
2770 return static_cast< ::wxDialog *>(sipCpp);
2771
2772 if (targetType == sipType_wxTopLevelWindow)
2773 return static_cast< ::wxTopLevelWindow *>(sipCpp);
2774
2775 if (targetType == sipType_wxNonOwnedWindow)
2776 return static_cast< ::wxNonOwnedWindow *>(sipCpp);
2777
2778 if (targetType == sipType_wxWindow)
2779 return static_cast< ::wxWindow *>(sipCpp);
2780
2781 if (targetType == sipType_wxWindowBase)
2782 return static_cast< ::wxWindowBase *>(sipCpp);
2783
2784 if (targetType == sipType_wxEvtHandler)
2785 return static_cast< ::wxEvtHandler *>(sipCpp);
2786
2787 if (targetType == sipType_wxObject)
2788 return static_cast< ::wxObject *>(sipCpp);
2789
2790 if (targetType == sipType_wxTrackable)
2791 return static_cast< ::wxTrackable *>(sipCpp);
2792
2793 return sipCppV;
2794 }
2795
2796
2797 /* Call the instance's destructor. */
2798 extern "C" {static void release_wxWizard(void *, int);}
release_wxWizard(void * sipCppV,int sipState)2799 static void release_wxWizard(void *sipCppV, int sipState)
2800 {
2801 Py_BEGIN_ALLOW_THREADS
2802
2803 if (sipState & SIP_DERIVED_CLASS)
2804 delete reinterpret_cast<sipwxWizard *>(sipCppV);
2805 else
2806 delete reinterpret_cast< ::wxWizard *>(sipCppV);
2807
2808 Py_END_ALLOW_THREADS
2809 }
2810
2811
2812 extern "C" {static void dealloc_wxWizard(sipSimpleWrapper *);}
dealloc_wxWizard(sipSimpleWrapper * sipSelf)2813 static void dealloc_wxWizard(sipSimpleWrapper *sipSelf)
2814 {
2815 if (sipIsDerivedClass(sipSelf))
2816 reinterpret_cast<sipwxWizard *>(sipGetAddress(sipSelf))->sipPySelf = SIP_NULLPTR;
2817
2818 if (sipIsOwnedByPython(sipSelf))
2819 {
2820 release_wxWizard(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
2821 }
2822 }
2823
2824
2825 extern "C" {static void *init_type_wxWizard(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
init_type_wxWizard(sipSimpleWrapper * sipSelf,PyObject * sipArgs,PyObject * sipKwds,PyObject ** sipUnused,PyObject ** sipOwner,PyObject ** sipParseErr)2826 static void *init_type_wxWizard(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
2827 {
2828 sipwxWizard *sipCpp = SIP_NULLPTR;
2829
2830 {
2831 if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, sipUnused, ""))
2832 {
2833
2834 if (!wxPyCheckForApp()) return NULL;
2835
2836 PyErr_Clear();
2837
2838 Py_BEGIN_ALLOW_THREADS
2839 sipCpp = new sipwxWizard();
2840 Py_END_ALLOW_THREADS
2841
2842 if (PyErr_Occurred())
2843 {
2844 delete sipCpp;
2845 return SIP_NULLPTR;
2846 }
2847
2848 sipCpp->sipPySelf = sipSelf;
2849
2850 return sipCpp;
2851 }
2852 }
2853
2854 {
2855 ::wxWindow* parent;
2856 int id = wxID_ANY;
2857 const ::wxString& titledef = wxEmptyString;
2858 const ::wxString* title = &titledef;
2859 int titleState = 0;
2860 const ::wxBitmap& bitmapdef = wxNullBitmap;
2861 const ::wxBitmap* bitmap = &bitmapdef;
2862 const ::wxPoint& posdef = wxDefaultPosition;
2863 const ::wxPoint* pos = &posdef;
2864 int posState = 0;
2865 long style = wxDEFAULT_DIALOG_STYLE;
2866
2867 static const char *sipKwdList[] = {
2868 sipName_parent,
2869 sipName_id,
2870 sipName_title,
2871 sipName_bitmap,
2872 sipName_pos,
2873 sipName_style,
2874 };
2875
2876 if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "JH|iJ1J9J1l", sipType_wxWindow, &parent, sipOwner, &id, sipType_wxString,&title, &titleState, sipType_wxBitmap, &bitmap, sipType_wxPoint, &pos, &posState, &style))
2877 {
2878
2879 if (!wxPyCheckForApp()) return NULL;
2880
2881 PyErr_Clear();
2882
2883 Py_BEGIN_ALLOW_THREADS
2884 sipCpp = new sipwxWizard(parent,id,*title,*bitmap,*pos,style);
2885 Py_END_ALLOW_THREADS
2886 sipReleaseType(const_cast< ::wxString *>(title),sipType_wxString,titleState);
2887 sipReleaseType(const_cast< ::wxPoint *>(pos),sipType_wxPoint,posState);
2888
2889 if (PyErr_Occurred())
2890 {
2891 delete sipCpp;
2892 return SIP_NULLPTR;
2893 }
2894
2895 sipCpp->sipPySelf = sipSelf;
2896
2897 return sipCpp;
2898 }
2899 }
2900
2901 return SIP_NULLPTR;
2902 }
2903
2904
2905 /* Define this type's super-types. */
2906 static sipEncodedTypeDef supers_wxWizard[] = {{17, 0, 1}};
2907
2908
2909 static PyMethodDef methods_wxWizard[] = {
2910 {SIP_MLNAME_CAST(sipName_Create), SIP_MLMETH_CAST(meth_wxWizard_Create), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxWizard_Create)},
2911 {SIP_MLNAME_CAST(sipName_DoEnable), SIP_MLMETH_CAST(meth_wxWizard_DoEnable), METH_VARARGS|METH_KEYWORDS, SIP_NULLPTR},
2912 {SIP_MLNAME_CAST(sipName_DoFreeze), meth_wxWizard_DoFreeze, METH_VARARGS, SIP_NULLPTR},
2913 {SIP_MLNAME_CAST(sipName_DoGetBestClientSize), meth_wxWizard_DoGetBestClientSize, METH_VARARGS, SIP_NULLPTR},
2914 {SIP_MLNAME_CAST(sipName_DoGetBestSize), meth_wxWizard_DoGetBestSize, METH_VARARGS, SIP_NULLPTR},
2915 {SIP_MLNAME_CAST(sipName_DoGetBorderSize), meth_wxWizard_DoGetBorderSize, METH_VARARGS, SIP_NULLPTR},
2916 {SIP_MLNAME_CAST(sipName_DoGetClientSize), SIP_MLMETH_CAST(meth_wxWizard_DoGetClientSize), METH_VARARGS|METH_KEYWORDS, SIP_NULLPTR},
2917 {SIP_MLNAME_CAST(sipName_DoGetPosition), SIP_MLMETH_CAST(meth_wxWizard_DoGetPosition), METH_VARARGS|METH_KEYWORDS, SIP_NULLPTR},
2918 {SIP_MLNAME_CAST(sipName_DoGetSize), SIP_MLMETH_CAST(meth_wxWizard_DoGetSize), METH_VARARGS|METH_KEYWORDS, SIP_NULLPTR},
2919 {SIP_MLNAME_CAST(sipName_DoMoveWindow), SIP_MLMETH_CAST(meth_wxWizard_DoMoveWindow), METH_VARARGS|METH_KEYWORDS, SIP_NULLPTR},
2920 {SIP_MLNAME_CAST(sipName_DoSetClientSize), SIP_MLMETH_CAST(meth_wxWizard_DoSetClientSize), METH_VARARGS|METH_KEYWORDS, SIP_NULLPTR},
2921 {SIP_MLNAME_CAST(sipName_DoSetSize), SIP_MLMETH_CAST(meth_wxWizard_DoSetSize), METH_VARARGS|METH_KEYWORDS, SIP_NULLPTR},
2922 {SIP_MLNAME_CAST(sipName_DoSetSizeHints), SIP_MLMETH_CAST(meth_wxWizard_DoSetSizeHints), METH_VARARGS|METH_KEYWORDS, SIP_NULLPTR},
2923 {SIP_MLNAME_CAST(sipName_DoSetWindowVariant), SIP_MLMETH_CAST(meth_wxWizard_DoSetWindowVariant), METH_VARARGS|METH_KEYWORDS, SIP_NULLPTR},
2924 {SIP_MLNAME_CAST(sipName_DoThaw), meth_wxWizard_DoThaw, METH_VARARGS, SIP_NULLPTR},
2925 {SIP_MLNAME_CAST(sipName_FitToPage), SIP_MLMETH_CAST(meth_wxWizard_FitToPage), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxWizard_FitToPage)},
2926 {SIP_MLNAME_CAST(sipName_GetBitmap), meth_wxWizard_GetBitmap, METH_VARARGS, SIP_MLDOC_CAST(doc_wxWizard_GetBitmap)},
2927 {SIP_MLNAME_CAST(sipName_GetBitmapBackgroundColour), meth_wxWizard_GetBitmapBackgroundColour, METH_VARARGS, SIP_MLDOC_CAST(doc_wxWizard_GetBitmapBackgroundColour)},
2928 {SIP_MLNAME_CAST(sipName_GetBitmapPlacement), meth_wxWizard_GetBitmapPlacement, METH_VARARGS, SIP_MLDOC_CAST(doc_wxWizard_GetBitmapPlacement)},
2929 {SIP_MLNAME_CAST(sipName_GetClassDefaultAttributes), SIP_MLMETH_CAST(meth_wxWizard_GetClassDefaultAttributes), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxWizard_GetClassDefaultAttributes)},
2930 {SIP_MLNAME_CAST(sipName_GetCurrentPage), meth_wxWizard_GetCurrentPage, METH_VARARGS, SIP_MLDOC_CAST(doc_wxWizard_GetCurrentPage)},
2931 {SIP_MLNAME_CAST(sipName_GetDefaultBorder), meth_wxWizard_GetDefaultBorder, METH_VARARGS, SIP_NULLPTR},
2932 {SIP_MLNAME_CAST(sipName_GetDefaultBorderForControl), meth_wxWizard_GetDefaultBorderForControl, METH_VARARGS, SIP_NULLPTR},
2933 {SIP_MLNAME_CAST(sipName_GetMinimumBitmapWidth), meth_wxWizard_GetMinimumBitmapWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_wxWizard_GetMinimumBitmapWidth)},
2934 {SIP_MLNAME_CAST(sipName_GetPageAreaSizer), meth_wxWizard_GetPageAreaSizer, METH_VARARGS, SIP_MLDOC_CAST(doc_wxWizard_GetPageAreaSizer)},
2935 {SIP_MLNAME_CAST(sipName_GetPageSize), meth_wxWizard_GetPageSize, METH_VARARGS, SIP_MLDOC_CAST(doc_wxWizard_GetPageSize)},
2936 {SIP_MLNAME_CAST(sipName_HasNextPage), SIP_MLMETH_CAST(meth_wxWizard_HasNextPage), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxWizard_HasNextPage)},
2937 {SIP_MLNAME_CAST(sipName_HasPrevPage), SIP_MLMETH_CAST(meth_wxWizard_HasPrevPage), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxWizard_HasPrevPage)},
2938 {SIP_MLNAME_CAST(sipName_HasTransparentBackground), meth_wxWizard_HasTransparentBackground, METH_VARARGS, SIP_NULLPTR},
2939 {SIP_MLNAME_CAST(sipName_IsRunning), meth_wxWizard_IsRunning, METH_VARARGS, SIP_MLDOC_CAST(doc_wxWizard_IsRunning)},
2940 {SIP_MLNAME_CAST(sipName_ProcessEvent), SIP_MLMETH_CAST(meth_wxWizard_ProcessEvent), METH_VARARGS|METH_KEYWORDS, SIP_NULLPTR},
2941 {SIP_MLNAME_CAST(sipName_RunWizard), SIP_MLMETH_CAST(meth_wxWizard_RunWizard), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxWizard_RunWizard)},
2942 {SIP_MLNAME_CAST(sipName_SendDestroyEvent), meth_wxWizard_SendDestroyEvent, METH_VARARGS, SIP_NULLPTR},
2943 {SIP_MLNAME_CAST(sipName_SetBitmap), SIP_MLMETH_CAST(meth_wxWizard_SetBitmap), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxWizard_SetBitmap)},
2944 {SIP_MLNAME_CAST(sipName_SetBitmapBackgroundColour), SIP_MLMETH_CAST(meth_wxWizard_SetBitmapBackgroundColour), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxWizard_SetBitmapBackgroundColour)},
2945 {SIP_MLNAME_CAST(sipName_SetBitmapPlacement), SIP_MLMETH_CAST(meth_wxWizard_SetBitmapPlacement), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxWizard_SetBitmapPlacement)},
2946 {SIP_MLNAME_CAST(sipName_SetBorder), SIP_MLMETH_CAST(meth_wxWizard_SetBorder), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxWizard_SetBorder)},
2947 {SIP_MLNAME_CAST(sipName_SetMinimumBitmapWidth), SIP_MLMETH_CAST(meth_wxWizard_SetMinimumBitmapWidth), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxWizard_SetMinimumBitmapWidth)},
2948 {SIP_MLNAME_CAST(sipName_SetPageSize), SIP_MLMETH_CAST(meth_wxWizard_SetPageSize), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxWizard_SetPageSize)},
2949 {SIP_MLNAME_CAST(sipName_ShowPage), SIP_MLMETH_CAST(meth_wxWizard_ShowPage), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxWizard_ShowPage)},
2950 {SIP_MLNAME_CAST(sipName_TryAfter), SIP_MLMETH_CAST(meth_wxWizard_TryAfter), METH_VARARGS|METH_KEYWORDS, SIP_NULLPTR},
2951 {SIP_MLNAME_CAST(sipName_TryBefore), SIP_MLMETH_CAST(meth_wxWizard_TryBefore), METH_VARARGS|METH_KEYWORDS, SIP_NULLPTR}
2952 };
2953
2954 sipVariableDef variables_wxWizard[] = {
2955 {PropertyVariable, sipName_PageSize, &methods_wxWizard[25], &methods_wxWizard[38], SIP_NULLPTR, SIP_NULLPTR},
2956 {PropertyVariable, sipName_PageAreaSizer, &methods_wxWizard[24], SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
2957 {PropertyVariable, sipName_MinimumBitmapWidth, &methods_wxWizard[23], &methods_wxWizard[37], SIP_NULLPTR, SIP_NULLPTR},
2958 {PropertyVariable, sipName_CurrentPage, &methods_wxWizard[20], SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
2959 {PropertyVariable, sipName_BitmapPlacement, &methods_wxWizard[18], &methods_wxWizard[35], SIP_NULLPTR, SIP_NULLPTR},
2960 {PropertyVariable, sipName_BitmapBackgroundColour, &methods_wxWizard[17], &methods_wxWizard[34], SIP_NULLPTR, SIP_NULLPTR},
2961 {PropertyVariable, sipName_Bitmap, &methods_wxWizard[16], &methods_wxWizard[33], SIP_NULLPTR, SIP_NULLPTR},
2962 };
2963
2964 PyDoc_STRVAR(doc_wxWizard, "Wizard()\n"
2965 "Wizard(parent, id=wx.ID_ANY, title=wx.EmptyString, bitmap=wx.NullBitmap, pos=wx.DefaultPosition, style=wx.DEFAULT_DIALOG_STYLE)\n"
2966 "\n"
2967 "wxWizard is the central class for implementing 'wizard-like' dialogs.");
2968
2969
2970 sipClassTypeDef sipTypeDef__adv_wxWizard = {
2971 {
2972 -1,
2973 SIP_NULLPTR,
2974 SIP_NULLPTR,
2975 SIP_TYPE_SCC|SIP_TYPE_CLASS,
2976 sipNameNr_wxWizard,
2977 {SIP_NULLPTR},
2978 SIP_NULLPTR
2979 },
2980 {
2981 sipNameNr_Wizard,
2982 {0, 0, 1},
2983 42, methods_wxWizard,
2984 0, SIP_NULLPTR,
2985 7, variables_wxWizard,
2986 {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
2987 },
2988 doc_wxWizard,
2989 -1,
2990 -1,
2991 supers_wxWizard,
2992 SIP_NULLPTR,
2993 init_type_wxWizard,
2994 SIP_NULLPTR,
2995 SIP_NULLPTR,
2996 #if PY_MAJOR_VERSION >= 3
2997 SIP_NULLPTR,
2998 SIP_NULLPTR,
2999 #else
3000 SIP_NULLPTR,
3001 SIP_NULLPTR,
3002 SIP_NULLPTR,
3003 SIP_NULLPTR,
3004 #endif
3005 dealloc_wxWizard,
3006 SIP_NULLPTR,
3007 SIP_NULLPTR,
3008 SIP_NULLPTR,
3009 release_wxWizard,
3010 cast_wxWizard,
3011 SIP_NULLPTR,
3012 SIP_NULLPTR,
3013 SIP_NULLPTR,
3014 SIP_NULLPTR,
3015 SIP_NULLPTR,
3016 SIP_NULLPTR
3017 };
3018