]> git.saurik.com Git - wxWidgets.git/blame_incremental - wxPython/src/msw/_windows_wrap.cpp
added overview text for wx.MediaCtrl demo, udpated CHANGES
[wxWidgets.git] / wxPython / src / msw / _windows_wrap.cpp
... / ...
CommitLineData
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.22
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11#define SWIGPYTHON
12#define SWIG_NOINCLUDE
13
14#ifdef __cplusplus
15template<class T> class SwigValueWrapper {
16 T *tt;
17public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27};
28#endif
29
30
31#include "Python.h"
32
33/*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41#define SWIG_TypeRegister SWIG_Python_TypeRegister
42#define SWIG_TypeCheck SWIG_Python_TypeCheck
43#define SWIG_TypeCast SWIG_Python_TypeCast
44#define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45#define SWIG_TypeName SWIG_Python_TypeName
46#define SWIG_TypePrettyName SWIG_Python_TypePrettyName
47#define SWIG_TypeQuery SWIG_Python_TypeQuery
48#define SWIG_TypeClientData SWIG_Python_TypeClientData
49#define SWIG_PackData SWIG_Python_PackData
50#define SWIG_UnpackData SWIG_Python_UnpackData
51
52
53/***********************************************************************
54 * common.swg for wxPython
55 *
56 * Include only the function prototypes and such from SWIG's common.swg,
57 * but not the runtime functions themselves. This helps keep the
58 * wrapper files clean of unnecessary stuff that is in the libpy.c file
59 * anyway.
60 *
61 ************************************************************************/
62
63#include <string.h>
64
65#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
66# if defined(_MSC_VER) || defined(__GNUC__)
67# if defined(STATIC_LINKED)
68# define SWIGEXPORT(a) a
69# define SWIGIMPORT(a) extern a
70# else
71# define SWIGEXPORT(a) __declspec(dllexport) a
72# define SWIGIMPORT(a) extern a
73# endif
74# else
75# if defined(__BORLANDC__)
76# define SWIGEXPORT(a) a _export
77# define SWIGIMPORT(a) a _export
78# else
79# define SWIGEXPORT(a) a
80# define SWIGIMPORT(a) a
81# endif
82# endif
83#else
84# define SWIGEXPORT(a) a
85# define SWIGIMPORT(a) a
86#endif
87
88#ifdef SWIG_GLOBAL
89# define SWIGRUNTIME(a) SWIGEXPORT(a)
90#else
91# define SWIGRUNTIME(a) static a
92#endif
93
94#ifdef __cplusplus
95extern "C" {
96#endif
97
98typedef void *(*swig_converter_func)(void *);
99typedef struct swig_type_info *(*swig_dycast_func)(void **);
100
101typedef struct swig_type_info {
102 const char *name;
103 swig_converter_func converter;
104 const char *str;
105 void *clientdata;
106 swig_dycast_func dcast;
107 struct swig_type_info *next;
108 struct swig_type_info *prev;
109} swig_type_info;
110
111
112SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
113SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
114SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
115SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
116SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
117SWIGIMPORT(const char *) SWIG_TypePrettyName(const swig_type_info *);
118SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
119SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
120SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
121SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
122
123
124#ifdef __cplusplus
125}
126#endif
127
128
129/***********************************************************************
130 * pyrun.swg for wxPython
131 *
132 * Include only the function prototypes and such from SWIG's pyrun.swg,
133 * but not the runtime functions themselves. This helps keep the
134 * wrapper files clean of unnecessary stuff that is in the libpy.c file
135 * anyway.
136 *
137 ************************************************************************/
138
139#ifdef __cplusplus
140extern "C" {
141#endif
142
143#define SWIG_PY_INT 1
144#define SWIG_PY_FLOAT 2
145#define SWIG_PY_STRING 3
146#define SWIG_PY_POINTER 4
147#define SWIG_PY_BINARY 5
148
149/* Flags for pointer conversion */
150
151#define SWIG_POINTER_EXCEPTION 0x1
152#define SWIG_POINTER_DISOWN 0x2
153
154/* Exception handling in wrappers */
155#define SWIG_fail goto fail
156
157/* Constant information structure */
158typedef struct swig_const_info {
159 int type;
160 char *name;
161 long lvalue;
162 double dvalue;
163 void *pvalue;
164 swig_type_info **ptype;
165} swig_const_info;
166
167/* Common SWIG API */
168#define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170#define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172#define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174
175/* Python-specific SWIG API */
176#define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178#define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182#define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184#define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
186
187typedef double (*py_objasdbl_conv)(PyObject *obj);
188
189SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
190SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
191SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
192SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
193SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
194SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
195SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
196SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
197
198
199/* Contract support */
200
201#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
202
203#ifdef __cplusplus
204}
205#endif
206
207
208
209/* -------- TYPES TABLE (BEGIN) -------- */
210
211#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
212#define SWIGTYPE_p_wxPreviewFrame swig_types[1]
213#define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
214#define SWIGTYPE_p_wxPyPanel swig_types[3]
215#define SWIGTYPE_p_wxMenu swig_types[4]
216#define SWIGTYPE_p_wxFontData swig_types[5]
217#define SWIGTYPE_p_wxEvent swig_types[6]
218#define SWIGTYPE_p_wxPrintData swig_types[7]
219#define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
220#define SWIGTYPE_p_wxPyTaskBarIcon swig_types[9]
221#define SWIGTYPE_p_wxIconBundle swig_types[10]
222#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[11]
223#define SWIGTYPE_p_wxFindDialogEvent swig_types[12]
224#define SWIGTYPE_p_wxPreviewCanvas swig_types[13]
225#define SWIGTYPE_p_wxFont swig_types[14]
226#define SWIGTYPE_p_wxSplitterEvent swig_types[15]
227#define SWIGTYPE_p_wxRegion swig_types[16]
228#define SWIGTYPE_p_wxFindReplaceData swig_types[17]
229#define SWIGTYPE_p_int swig_types[18]
230#define SWIGTYPE_p_wxSize swig_types[19]
231#define SWIGTYPE_p_wxDC swig_types[20]
232#define SWIGTYPE_p_wxIcon swig_types[21]
233#define SWIGTYPE_p_wxVisualAttributes swig_types[22]
234#define SWIGTYPE_p_wxMDIChildFrame swig_types[23]
235#define SWIGTYPE_p_wxColourData swig_types[24]
236#define SWIGTYPE_p_wxNotifyEvent swig_types[25]
237#define SWIGTYPE_p_wxPyWindow swig_types[26]
238#define SWIGTYPE_p_wxSplashScreen swig_types[27]
239#define SWIGTYPE_p_wxFindReplaceDialog swig_types[28]
240#define SWIGTYPE_p_wxProgressDialog swig_types[29]
241#define SWIGTYPE_p_wxMessageDialog swig_types[30]
242#define SWIGTYPE_p_wxPasswordEntryDialog swig_types[31]
243#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[32]
244#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[33]
245#define SWIGTYPE_p_wxFileDialog swig_types[34]
246#define SWIGTYPE_p_wxTextEntryDialog swig_types[35]
247#define SWIGTYPE_p_wxPrinter swig_types[36]
248#define SWIGTYPE_p_wxArrayInt swig_types[37]
249#define SWIGTYPE_p_wxEvtHandler swig_types[38]
250#define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[39]
251#define SWIGTYPE_p_wxPyHtmlListBox swig_types[40]
252#define SWIGTYPE_p_wxPyVListBox swig_types[41]
253#define SWIGTYPE_p_wxRect swig_types[42]
254#define SWIGTYPE_p_char swig_types[43]
255#define SWIGTYPE_p_wxMiniFrame swig_types[44]
256#define SWIGTYPE_p_wxFrame swig_types[45]
257#define SWIGTYPE_p_wxPyPrintout swig_types[46]
258#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[47]
259#define SWIGTYPE_p_wxScrollWinEvent swig_types[48]
260#define SWIGTYPE_p_wxStatusBar swig_types[49]
261#define SWIGTYPE_p_wxMDIParentFrame swig_types[50]
262#define SWIGTYPE_p_wxPoint swig_types[51]
263#define SWIGTYPE_p_wxObject swig_types[52]
264#define SWIGTYPE_p_wxMDIClientWindow swig_types[53]
265#define SWIGTYPE_p_wxTipWindow swig_types[54]
266#define SWIGTYPE_p_wxSashLayoutWindow swig_types[55]
267#define SWIGTYPE_p_wxSplitterWindow swig_types[56]
268#define SWIGTYPE_p_wxSplashScreenWindow swig_types[57]
269#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[58]
270#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[59]
271#define SWIGTYPE_p_wxPopupWindow swig_types[60]
272#define SWIGTYPE_p_wxSashWindow swig_types[61]
273#define SWIGTYPE_p_wxTopLevelWindow swig_types[62]
274#define SWIGTYPE_p_wxWindow swig_types[63]
275#define SWIGTYPE_p_wxScrolledWindow swig_types[64]
276#define SWIGTYPE_p_wxMenuBar swig_types[65]
277#define SWIGTYPE_p_wxPyScrolledWindow swig_types[66]
278#define SWIGTYPE_p_wxPrintPreview swig_types[67]
279#define SWIGTYPE_p_wxSashEvent swig_types[68]
280#define SWIGTYPE_p_wxString swig_types[69]
281#define SWIGTYPE_p_wxPyPrintPreview swig_types[70]
282#define SWIGTYPE_p_wxFontDialog swig_types[71]
283#define SWIGTYPE_p_wxDirDialog swig_types[72]
284#define SWIGTYPE_p_wxColourDialog swig_types[73]
285#define SWIGTYPE_p_wxDialog swig_types[74]
286#define SWIGTYPE_p_wxPanel swig_types[75]
287#define SWIGTYPE_p_wxPageSetupDialog swig_types[76]
288#define SWIGTYPE_p_wxPrintDialog swig_types[77]
289#define SWIGTYPE_p_wxFileSystem swig_types[78]
290#define SWIGTYPE_p_wxBitmap swig_types[79]
291#define SWIGTYPE_p_wxCommandEvent swig_types[80]
292#define SWIGTYPE_p_wxPreviewControlBar swig_types[81]
293#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[82]
294#define SWIGTYPE_p_wxColour swig_types[83]
295#define SWIGTYPE_p_wxToolBar swig_types[84]
296#define SWIGTYPE_p_wxPageSetupDialogData swig_types[85]
297#define SWIGTYPE_p_wxPrintDialogData swig_types[86]
298static swig_type_info *swig_types[88];
299
300/* -------- TYPES TABLE (END) -------- */
301
302
303/*-----------------------------------------------
304 @(target):= _windows_.so
305 ------------------------------------------------*/
306#define SWIG_init init_windows_
307
308#define SWIG_name "_windows_"
309
310/* Auxiliar swig macros that appear in the header */
311
312#define SWIG_OLDOBJ 1
313#define SWIG_NEWOBJ SWIG_OLDOBJ + 1
314#define SWIG_PYSTR SWIG_NEWOBJ + 1
315
316#ifdef __cplusplus
317#define SWIGSTATICINLINE(a) static inline a
318#define SWIGSTATIC(a) static a
319#define swig_new_array(size,Type) (new Type[(size)])
320#define swig_delete(cptr) delete cptr
321#define swig_delete_array(cptr) delete[] cptr
322#define swig_const_cast(a,Type) const_cast<Type >(a)
323#define swig_static_cast(a,Type) static_cast<Type >(a)
324#define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a)
325#define swig_new_copy(ptr,Type) (new Type(*ptr))
326#define swig_numeric_cast(a,Type) static_cast<Type >(a)
327
328#else /* C case */
329
330#define SWIGSTATICINLINE(a) static a
331#define SWIGSTATIC(a) static a
332#define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type)))
333#define swig_delete(cptr) free((char*)cptr)
334#define swig_delete_array(cptr) free((char*)cptr)
335#define swig_const_cast(a,Type) (Type)(a)
336#define swig_static_cast(a,Type) (Type)(a)
337#define swig_reinterpret_cast(a,Type) (Type)(a)
338#define swig_numeric_cast(a,Type) (Type)(a)
339#define swig_new_copy(ptr,Type) ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type)))
340
341#endif /* __cplusplus */
342
343
344/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
345#define SWIG_From_signed_SS_char PyInt_FromLong
346/*@@*/
347/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
348#define SWIG_From_unsigned_SS_char PyInt_FromLong
349/*@@*/
350/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
351#define SWIG_From_short PyInt_FromLong
352/*@@*/
353/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
354#define SWIG_From_unsigned_SS_short PyInt_FromLong
355/*@@*/
356/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
357#define SWIG_From_int PyInt_FromLong
358/*@@*/
359/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
360#define SWIG_From_long PyInt_FromLong
361/*@@*/
362/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
363#define SWIG_From_float PyFloat_FromDouble
364/*@@*/
365/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
366#define SWIG_From_double PyFloat_FromDouble
367/*@@*/
368
369
370#include "wx/wxPython/wxPython.h"
371#include "wx/wxPython/pyclasses.h"
372
373
374 static const wxString wxPyEmptyString(wxEmptyString);
375 static const wxString wxPyPanelNameStr(wxPanelNameStr);
376
377
378
379#include <limits.h>
380
381
382SWIGSTATICINLINE(int)
383 SWIG_CheckLongInRange(long value, long min_value, long max_value,
384 const char *errmsg)
385{
386 if (value < min_value) {
387 if (errmsg) {
388 PyErr_Format(PyExc_OverflowError,
389 "value %ld is less than '%s' minimum %ld",
390 value, errmsg, min_value);
391 }
392 return 0;
393 } else if (value > max_value) {
394 if (errmsg) {
395 PyErr_Format(PyExc_OverflowError,
396 "value %ld is greater than '%s' maximum %ld",
397 value, errmsg, max_value);
398 }
399 return 0;
400 }
401 return 1;
402}
403
404
405// See my_fragments.i
406SWIGSTATICINLINE(int)
407SWIG_AsVal_long(PyObject* obj, long* val)
408{
409 if (PyNumber_Check(obj)) {
410 if (val) *val = PyInt_AsLong(obj);
411 return 1;
412 }
413 else {
414 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
415 obj->ob_type->tp_name);
416 PyErr_SetObject(PyExc_TypeError, errmsg);
417 Py_DECREF(errmsg);
418 }
419 return 0;
420}
421
422
423#if INT_MAX != LONG_MAX
424SWIGSTATICINLINE(int)
425 SWIG_AsVal_int(PyObject *obj, int *val)
426{
427 const char* errmsg = val ? "int" : 0;
428 long v;
429 if (SWIG_AsVal_long(obj, &v)) {
430 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
431 if (val) *val = swig_numeric_cast(v, int);
432 return 1;
433 } else {
434 return 0;
435 }
436 } else {
437 PyErr_Clear();
438 }
439 if (val) {
440 PyErr_SetString(PyExc_TypeError, "an int is expected");
441 }
442 return 0;
443}
444#else
445SWIGSTATICINLINE(int)
446 SWIG_AsVal_int(PyObject *obj, int *val)
447{
448 return SWIG_AsVal_long(obj,(long*)val);
449}
450#endif
451
452
453SWIGSTATICINLINE(int)
454SWIG_As_int(PyObject* obj)
455{
456 int v;
457 if (!SWIG_AsVal_int(obj, &v)) {
458 /*
459 this is needed to make valgrind/purify happier. the other
460 solution is throw an exception, but since this code should work
461 with plain C ....
462 */
463 memset((void*)&v, 0, sizeof(int));
464 }
465 return v;
466}
467
468
469SWIGSTATICINLINE(long)
470SWIG_As_long(PyObject* obj)
471{
472 long v;
473 if (!SWIG_AsVal_long(obj, &v)) {
474 /*
475 this is needed to make valgrind/purify happier. the other
476 solution is throw an exception, but since this code should work
477 with plain C ....
478 */
479 memset((void*)&v, 0, sizeof(long));
480 }
481 return v;
482}
483
484
485SWIGSTATICINLINE(int)
486SWIG_Check_int(PyObject* obj)
487{
488 return SWIG_AsVal_int(obj, (int*)0);
489}
490
491
492SWIGSTATICINLINE(int)
493SWIG_Check_long(PyObject* obj)
494{
495 return SWIG_AsVal_long(obj, (long*)0);
496}
497
498
499SWIGSTATICINLINE(int)
500 SWIG_AsVal_bool(PyObject *obj, bool *val)
501{
502 /* if (val) *val = PyObject_IsTrue(obj); return 1; */
503 if (obj == Py_True) {
504 if (val) *val = true;
505 return 1;
506 }
507 if (obj == Py_False) {
508 if (val) *val = false;
509 return 1;
510 }
511 int res = 0;
512 if (SWIG_AsVal_int(obj, &res)) {
513 if (val) *val = (bool)res;
514 return 1;
515 }
516 if (val) {
517 PyErr_SetString(PyExc_TypeError, "a bool is expected");
518 }
519 return 0;
520}
521
522
523SWIGSTATICINLINE(bool)
524SWIG_As_bool(PyObject* obj)
525{
526 bool v;
527 if (!SWIG_AsVal_bool(obj, &v)) {
528 /*
529 this is needed to make valgrind/purify happier. the other
530 solution is throw an exception, but since this code should work
531 with plain C ....
532 */
533 memset((void*)&v, 0, sizeof(bool));
534 }
535 return v;
536}
537
538
539SWIGSTATICINLINE(int)
540SWIG_Check_bool(PyObject* obj)
541{
542 return SWIG_AsVal_bool(obj, (bool*)0);
543}
544
545
546 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
547 PyObject* o2;
548 PyObject* o3;
549
550 if (!target) {
551 target = o;
552 } else if (target == Py_None) {
553 Py_DECREF(Py_None);
554 target = o;
555 } else {
556 if (!PyTuple_Check(target)) {
557 o2 = target;
558 target = PyTuple_New(1);
559 PyTuple_SetItem(target, 0, o2);
560 }
561 o3 = PyTuple_New(1);
562 PyTuple_SetItem(o3, 0, o);
563
564 o2 = target;
565 target = PySequence_Concat(o2, o3);
566 Py_DECREF(o2);
567 Py_DECREF(o3);
568 }
569 return target;
570 }
571
572
573
574// See my_fragments.i
575SWIGSTATICINLINE(int)
576SWIG_AsVal_double(PyObject *obj, double* val)
577{
578 if (PyNumber_Check(obj)) {
579 if (val) *val = PyFloat_AsDouble(obj);
580 return 1;
581 }
582 else {
583 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
584 obj->ob_type->tp_name);
585 PyErr_SetObject(PyExc_TypeError, errmsg);
586 Py_DECREF(errmsg);
587 }
588 return 0;
589}
590
591
592SWIGSTATICINLINE(double)
593SWIG_As_double(PyObject* obj)
594{
595 double v;
596 if (!SWIG_AsVal_double(obj, &v)) {
597 /*
598 this is needed to make valgrind/purify happier. the other
599 solution is throw an exception, but since this code should work
600 with plain C ....
601 */
602 memset((void*)&v, 0, sizeof(double));
603 }
604 return v;
605}
606
607
608SWIGSTATICINLINE(int)
609SWIG_Check_double(PyObject* obj)
610{
611 return SWIG_AsVal_double(obj, (double*)0);
612}
613
614 static const wxString wxPyFrameNameStr(wxFrameNameStr);
615 static const wxString wxPyDialogNameStr(wxDialogNameStr);
616 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
617 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
618void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){ /*wxPyRaiseNotImplemented();*/ }
619bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow const *self){ /*wxPyRaiseNotImplemented();*/ return false; }
620
621
622wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
623 wxRect r;
624 self->GetFieldRect(i, r);
625 return r;
626 }
627 static const wxString wxPySplitterNameStr(wxT("splitter"));
628 static const wxString wxPySashNameStr(wxT("sashWindow"));
629 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
630
631#include <wx/popupwin.h>
632
633
634class wxPyPopupTransientWindow : public wxPopupTransientWindow
635{
636public:
637 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
638 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
639 : wxPopupTransientWindow(parent, style) {}
640
641 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
642 DEC_PYCALLBACK__(OnDismiss);
643 DEC_PYCALLBACK_BOOL_(CanDismiss);
644 PYPRIVATE;
645};
646
647
648IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
649IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
650IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
651
652
653#include <wx/tipwin.h>
654
655wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength,wxRect *rectBound){
656 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
657 }
658
659#include <wx/tipwin.h>
660
661
662#include <wx/vscroll.h>
663
664
665class wxPyVScrolledWindow : public wxVScrolledWindow
666{
667 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
668public:
669 wxPyVScrolledWindow() : wxVScrolledWindow() {}
670
671 wxPyVScrolledWindow(wxWindow *parent,
672 wxWindowID id = wxID_ANY,
673 const wxPoint& pos = wxDefaultPosition,
674 const wxSize& size = wxDefaultSize,
675 long style = 0,
676 const wxString& name = wxPyPanelNameStr)
677 : wxVScrolledWindow(parent, id, pos, size, style, name)
678 {}
679
680 // Overridable virtuals
681
682 // this function must be overridden in the derived class and it should
683 // return the height of the given line in pixels
684 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
685
686
687 // this function doesn't have to be overridden but it may be useful to do
688 // it if calculating the lines heights is a relatively expensive operation
689 // as it gives the user code a possibility to calculate several of them at
690 // once
691 //
692 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
693 // shouldn't rely on the latter being called for all lines in the interval
694 // specified here. It is also possible that OnGetLineHeight() will be
695 // called for the lines outside of this interval, so this is really just a
696 // hint, not a promise.
697 //
698 // finally note that lineMin is inclusive, while lineMax is exclusive, as
699 // usual
700 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
701
702
703 // when the number of lines changes, we try to estimate the total height
704 // of all lines which is a rather expensive operation in terms of lines
705 // access, so if the user code may estimate the average height
706 // better/faster than we do, it should override this function to implement
707 // its own logic
708 //
709 // this function should return the best guess for the total height it may
710 // make
711 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
712
713
714 // Also expose some other interesting protected methods
715
716
717 // find the index of the line we need to show at the top of the window such
718 // that the last (fully or partially) visible line is the given one
719 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
720 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
721
722 // get the total height of the lines between lineMin (inclusive) and
723 // lineMax (exclusive)
724 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
725 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
726
727
728 PYPRIVATE;
729};
730
731IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
732
733IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
734IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
735IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
736
737
738// See my_fragments.i
739SWIGSTATICINLINE(int)
740SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
741{
742 long v = 0;
743 if (SWIG_AsVal_long(obj, &v) && v < 0) {
744 PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type");
745 return 0;
746 }
747 else if (val)
748 *val = (unsigned long)v;
749 return 1;
750}
751
752
753SWIGSTATICINLINE(unsigned long)
754SWIG_As_unsigned_SS_long(PyObject* obj)
755{
756 unsigned long v;
757 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
758 /*
759 this is needed to make valgrind/purify happier. the other
760 solution is throw an exception, but since this code should work
761 with plain C ....
762 */
763 memset((void*)&v, 0, sizeof(unsigned long));
764 }
765 return v;
766}
767
768
769SWIGSTATICINLINE(int)
770SWIG_Check_unsigned_SS_long(PyObject* obj)
771{
772 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
773}
774
775
776SWIGSTATICINLINE(PyObject* )
777 SWIG_From_unsigned_SS_long(unsigned long value)
778{
779 return (value > LONG_MAX) ?
780 PyLong_FromUnsignedLong(value)
781 : PyInt_FromLong(swig_numeric_cast(value,long));
782}
783
784
785#include <wx/vlbox.h>
786
787 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
788
789class wxPyVListBox : public wxVListBox
790{
791 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
792public:
793 wxPyVListBox() : wxVListBox() {}
794
795 wxPyVListBox(wxWindow *parent,
796 wxWindowID id = wxID_ANY,
797 const wxPoint& pos = wxDefaultPosition,
798 const wxSize& size = wxDefaultSize,
799 long style = 0,
800 const wxString& name = wxPyVListBoxNameStr)
801 : wxVListBox(parent, id, pos, size, style, name)
802 {}
803
804 // Overridable virtuals
805
806 // the derived class must implement this function to actually draw the item
807 // with the given index on the provided DC
808 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
809 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
810
811
812 // the derived class must implement this method to return the height of the
813 // specified item
814 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
815 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
816
817
818 // this method may be used to draw separators between the lines; note that
819 // the rectangle may be modified, typically to deflate it a bit before
820 // passing to OnDrawItem()
821 //
822 // the base class version doesn't do anything
823 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
824 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
825
826
827 // this method is used to draw the items background and, maybe, a border
828 // around it
829 //
830 // the base class version implements a reasonable default behaviour which
831 // consists in drawing the selected item with the standard background
832 // colour and drawing a border around the item if it is either selected or
833 // current
834 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
835 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
836
837
838 PYPRIVATE;
839};
840
841IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
842
843IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
844IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
845IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
846IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
847
848
849PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
850 unsigned long cookie = 0;
851 int selected = self->GetFirstSelected(cookie);
852 bool blocked = wxPyBeginBlockThreads();
853 PyObject* tup = PyTuple_New(2);
854 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
855 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
856 wxPyEndBlockThreads(blocked);
857 return tup;
858 }
859PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
860 int selected = self->GetNextSelected(cookie);
861 bool blocked = wxPyBeginBlockThreads();
862 PyObject* tup = PyTuple_New(2);
863 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
864 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
865 wxPyEndBlockThreads(blocked);
866 return tup;
867 }
868
869#include <wx/htmllbox.h>
870
871
872class wxPyHtmlListBox : public wxHtmlListBox
873{
874 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
875public:
876 wxPyHtmlListBox() : wxHtmlListBox() {}
877
878 wxPyHtmlListBox(wxWindow *parent,
879 wxWindowID id = wxID_ANY,
880 const wxPoint& pos = wxDefaultPosition,
881 const wxSize& size = wxDefaultSize,
882 long style = 0,
883 const wxString& name = wxPyVListBoxNameStr)
884 : wxHtmlListBox(parent, id, pos, size, style, name)
885 {}
886
887 // Overridable virtuals
888
889 // this method must be implemented in the derived class and should return
890 // the body (i.e. without <html>) of the HTML for the given item
891 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
892
893 // this function may be overridden to decorate HTML returned by OnGetItem()
894 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
895
896// TODO:
897// // this method allows to customize the selection appearance: it may be used
898// // to specify the colour of the text which normally has the given colour
899// // colFg when it is inside the selection
900// //
901// // by default, the original colour is not used at all and all text has the
902// // same (default for this system) colour inside selection
903// virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
904
905// // this is the same as GetSelectedTextColour() but allows to customize the
906// // background colour -- this is even more rarely used as you can change it
907// // globally using SetSelectionBackground()
908// virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
909
910
911 PYPRIVATE;
912};
913
914
915IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
916
917IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
918IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
919
920
921
922
923
924#ifndef wxHAS_TASK_BAR_ICON
925// implement dummy classes for platforms that don't have it
926
927class wxTaskBarIcon : public wxEvtHandler
928{
929public:
930 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
931};
932
933
934class wxTaskBarIconEvent : public wxEvent
935{
936public:
937 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
938 { wxPyRaiseNotImplemented(); }
939 virtual wxEvent* Clone() const { return NULL; }
940 bool IsOk() const { return false; }
941 bool IsIconInstalled() const { return false; }
942 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
943 bool RemoveIcon() { return false; }
944 bool PopupMenu(wxMenu *menu) { return false; }
945};
946
947enum {
948 wxEVT_TASKBAR_MOVE = 0,
949 wxEVT_TASKBAR_LEFT_DOWN = 0,
950 wxEVT_TASKBAR_LEFT_UP = 0,
951 wxEVT_TASKBAR_RIGHT_DOWN = 0,
952 wxEVT_TASKBAR_RIGHT_UP = 0,
953 wxEVT_TASKBAR_LEFT_DCLICK = 0,
954 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
955};
956
957
958#else
959// Otherwise make a class that can virtualize CreatePopupMenu
960class wxPyTaskBarIcon : public wxTaskBarIcon
961{
962 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon);
963public:
964 wxPyTaskBarIcon() : wxTaskBarIcon()
965 {}
966
967 wxMenu* CreatePopupMenu() {
968 wxMenu *rval = NULL;
969 bool found;
970 bool blocked = wxPyBeginBlockThreads();
971 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
972 PyObject* ro;
973 wxMenu* ptr;
974 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
975 if (ro) {
976 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
977 rval = ptr;
978 Py_DECREF(ro);
979 }
980 }
981 wxPyEndBlockThreads(blocked);
982 if (! found)
983 rval = wxTaskBarIcon::CreatePopupMenu();
984 return rval;
985 }
986
987 PYPRIVATE;
988};
989
990IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
991
992#endif
993
994void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
995 self->RemoveIcon();
996 delete self;
997 }
998 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
999 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
1000 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
1001 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
1002 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
1003 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
1004PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
1005 wxArrayString arr;
1006 self->GetFilenames(arr);
1007 return wxArrayString2PyList_helper(arr);
1008 }
1009PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
1010 wxArrayString arr;
1011 self->GetPaths(arr);
1012 return wxArrayString2PyList_helper(arr);
1013 }
1014PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
1015 return wxArrayInt2PyList_helper(self->GetSelections());
1016 }
1017wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){
1018 return new wxSingleChoiceDialog(parent, message, caption,
1019 choices, choices_array, NULL, style, pos);
1020 }
1021 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
1022
1023#include <wx/mdi.h>
1024
1025 // C++ version of Python aware wxWindow
1026class wxPyWindow : public wxWindow
1027{
1028 DECLARE_DYNAMIC_CLASS(wxPyWindow)
1029public:
1030 wxPyWindow() : wxWindow() {}
1031 wxPyWindow(wxWindow* parent, const wxWindowID id,
1032 const wxPoint& pos = wxDefaultPosition,
1033 const wxSize& size = wxDefaultSize,
1034 long style = 0,
1035 const wxString& name = wxPyPanelNameStr)
1036 : wxWindow(parent, id, pos, size, style, name) {}
1037
1038 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
1039
1040 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1041 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1042 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1043 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1044
1045 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1046 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1047 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1048
1049 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1050 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1051
1052 DEC_PYCALLBACK__(InitDialog);
1053 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1054 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1055 DEC_PYCALLBACK_BOOL_(Validate);
1056
1057 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1058 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1059 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1060
1061 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1062 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1063
1064 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
1065 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
1066 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
1067
1068 PYPRIVATE;
1069};
1070
1071IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
1072
1073IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
1074IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
1075IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
1076IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
1077
1078IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
1079IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
1080IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
1081
1082IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
1083IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
1084
1085IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
1086IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
1087IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
1088IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
1089
1090IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
1091IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
1092IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
1093
1094IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
1095IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
1096
1097IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
1098IMP_PYCALLBACK__COLOUR(wxPyWindow, wxWindow, ApplyParentThemeBackground);
1099IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
1100
1101
1102 // C++ version of Python aware wxPanel
1103class wxPyPanel : public wxPanel
1104{
1105 DECLARE_DYNAMIC_CLASS(wxPyPanel)
1106public:
1107 wxPyPanel() : wxPanel() {}
1108 wxPyPanel(wxWindow* parent, const wxWindowID id,
1109 const wxPoint& pos = wxDefaultPosition,
1110 const wxSize& size = wxDefaultSize,
1111 long style = 0,
1112 const wxString& name = wxPyPanelNameStr)
1113 : wxPanel(parent, id, pos, size, style, name) {}
1114
1115 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
1116
1117
1118 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1119 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1120 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1121 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1122
1123 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1124 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1125 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1126
1127 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1128 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1129
1130 DEC_PYCALLBACK__(InitDialog);
1131 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1132 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1133 DEC_PYCALLBACK_BOOL_(Validate);
1134
1135 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1136 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1137 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1138
1139 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1140 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1141
1142 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
1143 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
1144 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
1145
1146 PYPRIVATE;
1147};
1148
1149IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
1150
1151IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
1152IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
1153IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
1154IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
1155
1156IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
1157IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
1158IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
1159
1160IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
1161IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
1162
1163IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
1164IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
1165IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
1166IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
1167
1168IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
1169IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
1170IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
1171
1172IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
1173IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
1174
1175IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
1176IMP_PYCALLBACK__COLOUR(wxPyPanel, wxPanel, ApplyParentThemeBackground);
1177IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
1178
1179
1180 // C++ version of Python aware wxScrolledWindow
1181class wxPyScrolledWindow : public wxScrolledWindow
1182{
1183 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
1184public:
1185 wxPyScrolledWindow() : wxScrolledWindow() {}
1186 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
1187 const wxPoint& pos = wxDefaultPosition,
1188 const wxSize& size = wxDefaultSize,
1189 long style = 0,
1190 const wxString& name = wxPyPanelNameStr)
1191 : wxScrolledWindow(parent, id, pos, size, style, name) {}
1192
1193 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
1194
1195 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1196 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1197 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1198 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1199
1200 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1201 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1202 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1203
1204 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1205 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1206
1207 DEC_PYCALLBACK__(InitDialog);
1208 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1209 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1210 DEC_PYCALLBACK_BOOL_(Validate);
1211
1212 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1213 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1214 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1215
1216 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1217 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1218
1219 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
1220 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
1221 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
1222
1223 PYPRIVATE;
1224};
1225
1226IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
1227
1228IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
1229IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
1230IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
1231IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
1232
1233IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
1234IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
1235IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
1236
1237IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
1238IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
1239
1240IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
1241IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
1242IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
1243IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
1244
1245IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
1246IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
1247IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
1248
1249IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
1250IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
1251
1252IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
1253IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow, wxScrolledWindow, ApplyParentThemeBackground);
1254IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
1255
1256
1257
1258#include "wx/wxPython/printfw.h"
1259
1260
1261 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
1262 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1263
1264
1265IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
1266
1267// Since this one would be tough and ugly to do with the Macros...
1268void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1269 bool hadErr = false;
1270 bool found;
1271
1272 bool blocked = wxPyBeginBlockThreads();
1273 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
1274 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1275 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
1276 PyObject* val;
1277
1278 val = PyTuple_GetItem(result, 0);
1279 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
1280 else hadErr = true;
1281
1282 val = PyTuple_GetItem(result, 1);
1283 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
1284 else hadErr = true;
1285
1286 val = PyTuple_GetItem(result, 2);
1287 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
1288 else hadErr = true;
1289
1290 val = PyTuple_GetItem(result, 3);
1291 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
1292 else hadErr = true;
1293 }
1294 else
1295 hadErr = true;
1296
1297 if (hadErr) {
1298 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
1299 PyErr_Print();
1300 }
1301 Py_DECREF(result);
1302 }
1303 wxPyEndBlockThreads(blocked);
1304 if (! found)
1305 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1306}
1307
1308void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1309 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1310}
1311
1312
1313IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
1314IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
1315IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
1316IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
1317IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
1318IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
1319IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
1320
1321
1322
1323
1324
1325#define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1326 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1327 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1328
1329
1330#define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1331 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1332 bool rval=false; \
1333 bool found; \
1334 bool blocked = wxPyBeginBlockThreads(); \
1335 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1336 PyObject* win = wxPyMake_wxObject(a,false); \
1337 PyObject* dc = wxPyMake_wxObject(&b,false); \
1338 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
1339 Py_DECREF(win); \
1340 Py_DECREF(dc); \
1341 } \
1342 wxPyEndBlockThreads(blocked); \
1343 if (! found) \
1344 rval = PCLASS::CBNAME(a, b); \
1345 return rval; \
1346 } \
1347 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1348 return PCLASS::CBNAME(a, b); \
1349 }
1350
1351
1352
1353
1354class wxPyPrintPreview : public wxPrintPreview
1355{
1356 DECLARE_CLASS(wxPyPrintPreview)
1357public:
1358 wxPyPrintPreview(wxPyPrintout* printout,
1359 wxPyPrintout* printoutForPrinting,
1360 wxPrintDialogData* data=NULL)
1361 : wxPrintPreview(printout, printoutForPrinting, data)
1362 {}
1363 wxPyPrintPreview(wxPyPrintout* printout,
1364 wxPyPrintout* printoutForPrinting,
1365 wxPrintData* data=NULL)
1366 : wxPrintPreview(printout, printoutForPrinting, data)
1367 {}
1368
1369 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
1370 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
1371 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
1372 DEC_PYCALLBACK_BOOL_INT(RenderPage);
1373 DEC_PYCALLBACK_VOID_INT(SetZoom);
1374 DEC_PYCALLBACK_BOOL_BOOL(Print);
1375 DEC_PYCALLBACK_VOID_(DetermineScaling);
1376
1377 PYPRIVATE;
1378};
1379
1380// Stupid renamed classes... Fix this in 2.5...
1381#if defined(__WXMSW__)
1382IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
1383#elif defined(__WXMAC__)
1384IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
1385#else
1386IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
1387#endif
1388
1389IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
1390IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
1391IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
1392IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
1393IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
1394IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
1395IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
1396
1397
1398class wxPyPreviewFrame : public wxPreviewFrame
1399{
1400 DECLARE_CLASS(wxPyPreviewFrame);
1401public:
1402 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
1403 const wxString& title,
1404 const wxPoint& pos = wxDefaultPosition,
1405 const wxSize& size = wxDefaultSize,
1406 long style = wxDEFAULT_FRAME_STYLE,
1407 const wxString& name = wxPyFrameNameStr)
1408 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
1409 {}
1410
1411 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
1412 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
1413
1414 DEC_PYCALLBACK_VOID_(Initialize);
1415 DEC_PYCALLBACK_VOID_(CreateCanvas);
1416 DEC_PYCALLBACK_VOID_(CreateControlBar);
1417
1418 PYPRIVATE;
1419};
1420
1421IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
1422
1423IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
1424IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
1425IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
1426
1427
1428class wxPyPreviewControlBar : public wxPreviewControlBar
1429{
1430 DECLARE_CLASS(wxPyPreviewControlBar);
1431public:
1432 wxPyPreviewControlBar(wxPrintPreview *preview,
1433 long buttons,
1434 wxWindow *parent,
1435 const wxPoint& pos = wxDefaultPosition,
1436 const wxSize& size = wxDefaultSize,
1437 long style = 0,
1438 const wxString& name = wxPyPanelNameStr)
1439 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
1440 {}
1441
1442 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
1443
1444 DEC_PYCALLBACK_VOID_(CreateButtons);
1445 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
1446
1447 PYPRIVATE;
1448};
1449
1450IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
1451IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
1452IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
1453
1454#ifdef __cplusplus
1455extern "C" {
1456#endif
1457static PyObject *_wrap_new_Panel(PyObject *, PyObject *args, PyObject *kwargs) {
1458 PyObject *resultobj;
1459 wxWindow *arg1 = (wxWindow *) 0 ;
1460 int arg2 = (int) (int)-1 ;
1461 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1462 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1463 wxSize const &arg4_defvalue = wxDefaultSize ;
1464 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1465 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1466 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1467 wxString *arg6 = (wxString *) &arg6_defvalue ;
1468 wxPanel *result;
1469 wxPoint temp3 ;
1470 wxSize temp4 ;
1471 bool temp6 = false ;
1472 PyObject * obj0 = 0 ;
1473 PyObject * obj1 = 0 ;
1474 PyObject * obj2 = 0 ;
1475 PyObject * obj3 = 0 ;
1476 PyObject * obj4 = 0 ;
1477 PyObject * obj5 = 0 ;
1478 char *kwnames[] = {
1479 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1480 };
1481
1482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1485 if (obj1) {
1486 arg2 = (int)SWIG_As_int(obj1);
1487 if (PyErr_Occurred()) SWIG_fail;
1488 }
1489 if (obj2) {
1490 {
1491 arg3 = &temp3;
1492 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1493 }
1494 }
1495 if (obj3) {
1496 {
1497 arg4 = &temp4;
1498 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1499 }
1500 }
1501 if (obj4) {
1502 arg5 = (long)SWIG_As_long(obj4);
1503 if (PyErr_Occurred()) SWIG_fail;
1504 }
1505 if (obj5) {
1506 {
1507 arg6 = wxString_in_helper(obj5);
1508 if (arg6 == NULL) SWIG_fail;
1509 temp6 = true;
1510 }
1511 }
1512 {
1513 if (!wxPyCheckForApp()) SWIG_fail;
1514 PyThreadState* __tstate = wxPyBeginAllowThreads();
1515 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1516
1517 wxPyEndAllowThreads(__tstate);
1518 if (PyErr_Occurred()) SWIG_fail;
1519 }
1520 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
1521 {
1522 if (temp6)
1523 delete arg6;
1524 }
1525 return resultobj;
1526 fail:
1527 {
1528 if (temp6)
1529 delete arg6;
1530 }
1531 return NULL;
1532}
1533
1534
1535static PyObject *_wrap_new_PrePanel(PyObject *, PyObject *args, PyObject *kwargs) {
1536 PyObject *resultobj;
1537 wxPanel *result;
1538 char *kwnames[] = {
1539 NULL
1540 };
1541
1542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
1543 {
1544 if (!wxPyCheckForApp()) SWIG_fail;
1545 PyThreadState* __tstate = wxPyBeginAllowThreads();
1546 result = (wxPanel *)new wxPanel();
1547
1548 wxPyEndAllowThreads(__tstate);
1549 if (PyErr_Occurred()) SWIG_fail;
1550 }
1551 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
1552 return resultobj;
1553 fail:
1554 return NULL;
1555}
1556
1557
1558static PyObject *_wrap_Panel_Create(PyObject *, PyObject *args, PyObject *kwargs) {
1559 PyObject *resultobj;
1560 wxPanel *arg1 = (wxPanel *) 0 ;
1561 wxWindow *arg2 = (wxWindow *) 0 ;
1562 int arg3 = (int) (int)-1 ;
1563 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1564 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1565 wxSize const &arg5_defvalue = wxDefaultSize ;
1566 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1567 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1568 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1569 wxString *arg7 = (wxString *) &arg7_defvalue ;
1570 bool result;
1571 wxPoint temp4 ;
1572 wxSize temp5 ;
1573 bool temp7 = false ;
1574 PyObject * obj0 = 0 ;
1575 PyObject * obj1 = 0 ;
1576 PyObject * obj2 = 0 ;
1577 PyObject * obj3 = 0 ;
1578 PyObject * obj4 = 0 ;
1579 PyObject * obj5 = 0 ;
1580 PyObject * obj6 = 0 ;
1581 char *kwnames[] = {
1582 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1583 };
1584
1585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1588 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1590 if (obj2) {
1591 arg3 = (int)SWIG_As_int(obj2);
1592 if (PyErr_Occurred()) SWIG_fail;
1593 }
1594 if (obj3) {
1595 {
1596 arg4 = &temp4;
1597 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1598 }
1599 }
1600 if (obj4) {
1601 {
1602 arg5 = &temp5;
1603 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1604 }
1605 }
1606 if (obj5) {
1607 arg6 = (long)SWIG_As_long(obj5);
1608 if (PyErr_Occurred()) SWIG_fail;
1609 }
1610 if (obj6) {
1611 {
1612 arg7 = wxString_in_helper(obj6);
1613 if (arg7 == NULL) SWIG_fail;
1614 temp7 = true;
1615 }
1616 }
1617 {
1618 PyThreadState* __tstate = wxPyBeginAllowThreads();
1619 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1620
1621 wxPyEndAllowThreads(__tstate);
1622 if (PyErr_Occurred()) SWIG_fail;
1623 }
1624 {
1625 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1626 }
1627 {
1628 if (temp7)
1629 delete arg7;
1630 }
1631 return resultobj;
1632 fail:
1633 {
1634 if (temp7)
1635 delete arg7;
1636 }
1637 return NULL;
1638}
1639
1640
1641static PyObject *_wrap_Panel_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
1642 PyObject *resultobj;
1643 wxPanel *arg1 = (wxPanel *) 0 ;
1644 PyObject * obj0 = 0 ;
1645 char *kwnames[] = {
1646 (char *) "self", NULL
1647 };
1648
1649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
1650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1652 {
1653 PyThreadState* __tstate = wxPyBeginAllowThreads();
1654 (arg1)->InitDialog();
1655
1656 wxPyEndAllowThreads(__tstate);
1657 if (PyErr_Occurred()) SWIG_fail;
1658 }
1659 Py_INCREF(Py_None); resultobj = Py_None;
1660 return resultobj;
1661 fail:
1662 return NULL;
1663}
1664
1665
1666static PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
1667 PyObject *resultobj;
1668 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
1669 wxVisualAttributes result;
1670 PyObject * obj0 = 0 ;
1671 char *kwnames[] = {
1672 (char *) "variant", NULL
1673 };
1674
1675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
1676 if (obj0) {
1677 arg1 = (int)SWIG_As_int(obj0);
1678 if (PyErr_Occurred()) SWIG_fail;
1679 }
1680 {
1681 if (!wxPyCheckForApp()) SWIG_fail;
1682 PyThreadState* __tstate = wxPyBeginAllowThreads();
1683 result = wxPanel::GetClassDefaultAttributes((wxWindowVariant )arg1);
1684
1685 wxPyEndAllowThreads(__tstate);
1686 if (PyErr_Occurred()) SWIG_fail;
1687 }
1688 {
1689 wxVisualAttributes * resultptr;
1690 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
1691 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
1692 }
1693 return resultobj;
1694 fail:
1695 return NULL;
1696}
1697
1698
1699static PyObject * Panel_swigregister(PyObject *, PyObject *args) {
1700 PyObject *obj;
1701 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1702 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
1703 Py_INCREF(obj);
1704 return Py_BuildValue((char *)"");
1705}
1706static PyObject *_wrap_new_ScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
1707 PyObject *resultobj;
1708 wxWindow *arg1 = (wxWindow *) 0 ;
1709 int arg2 = (int) (int)-1 ;
1710 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1711 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1712 wxSize const &arg4_defvalue = wxDefaultSize ;
1713 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1714 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
1715 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1716 wxString *arg6 = (wxString *) &arg6_defvalue ;
1717 wxScrolledWindow *result;
1718 wxPoint temp3 ;
1719 wxSize temp4 ;
1720 bool temp6 = false ;
1721 PyObject * obj0 = 0 ;
1722 PyObject * obj1 = 0 ;
1723 PyObject * obj2 = 0 ;
1724 PyObject * obj3 = 0 ;
1725 PyObject * obj4 = 0 ;
1726 PyObject * obj5 = 0 ;
1727 char *kwnames[] = {
1728 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1729 };
1730
1731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1734 if (obj1) {
1735 arg2 = (int)SWIG_As_int(obj1);
1736 if (PyErr_Occurred()) SWIG_fail;
1737 }
1738 if (obj2) {
1739 {
1740 arg3 = &temp3;
1741 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1742 }
1743 }
1744 if (obj3) {
1745 {
1746 arg4 = &temp4;
1747 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1748 }
1749 }
1750 if (obj4) {
1751 arg5 = (long)SWIG_As_long(obj4);
1752 if (PyErr_Occurred()) SWIG_fail;
1753 }
1754 if (obj5) {
1755 {
1756 arg6 = wxString_in_helper(obj5);
1757 if (arg6 == NULL) SWIG_fail;
1758 temp6 = true;
1759 }
1760 }
1761 {
1762 if (!wxPyCheckForApp()) SWIG_fail;
1763 PyThreadState* __tstate = wxPyBeginAllowThreads();
1764 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1765
1766 wxPyEndAllowThreads(__tstate);
1767 if (PyErr_Occurred()) SWIG_fail;
1768 }
1769 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
1770 {
1771 if (temp6)
1772 delete arg6;
1773 }
1774 return resultobj;
1775 fail:
1776 {
1777 if (temp6)
1778 delete arg6;
1779 }
1780 return NULL;
1781}
1782
1783
1784static PyObject *_wrap_new_PreScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
1785 PyObject *resultobj;
1786 wxScrolledWindow *result;
1787 char *kwnames[] = {
1788 NULL
1789 };
1790
1791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
1792 {
1793 if (!wxPyCheckForApp()) SWIG_fail;
1794 PyThreadState* __tstate = wxPyBeginAllowThreads();
1795 result = (wxScrolledWindow *)new wxScrolledWindow();
1796
1797 wxPyEndAllowThreads(__tstate);
1798 if (PyErr_Occurred()) SWIG_fail;
1799 }
1800 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
1801 return resultobj;
1802 fail:
1803 return NULL;
1804}
1805
1806
1807static PyObject *_wrap_ScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
1808 PyObject *resultobj;
1809 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1810 wxWindow *arg2 = (wxWindow *) 0 ;
1811 int arg3 = (int) (int)-1 ;
1812 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1813 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1814 wxSize const &arg5_defvalue = wxDefaultSize ;
1815 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1816 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
1817 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1818 wxString *arg7 = (wxString *) &arg7_defvalue ;
1819 bool result;
1820 wxPoint temp4 ;
1821 wxSize temp5 ;
1822 bool temp7 = false ;
1823 PyObject * obj0 = 0 ;
1824 PyObject * obj1 = 0 ;
1825 PyObject * obj2 = 0 ;
1826 PyObject * obj3 = 0 ;
1827 PyObject * obj4 = 0 ;
1828 PyObject * obj5 = 0 ;
1829 PyObject * obj6 = 0 ;
1830 char *kwnames[] = {
1831 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1832 };
1833
1834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1837 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1839 if (obj2) {
1840 arg3 = (int)SWIG_As_int(obj2);
1841 if (PyErr_Occurred()) SWIG_fail;
1842 }
1843 if (obj3) {
1844 {
1845 arg4 = &temp4;
1846 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1847 }
1848 }
1849 if (obj4) {
1850 {
1851 arg5 = &temp5;
1852 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1853 }
1854 }
1855 if (obj5) {
1856 arg6 = (long)SWIG_As_long(obj5);
1857 if (PyErr_Occurred()) SWIG_fail;
1858 }
1859 if (obj6) {
1860 {
1861 arg7 = wxString_in_helper(obj6);
1862 if (arg7 == NULL) SWIG_fail;
1863 temp7 = true;
1864 }
1865 }
1866 {
1867 PyThreadState* __tstate = wxPyBeginAllowThreads();
1868 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1869
1870 wxPyEndAllowThreads(__tstate);
1871 if (PyErr_Occurred()) SWIG_fail;
1872 }
1873 {
1874 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1875 }
1876 {
1877 if (temp7)
1878 delete arg7;
1879 }
1880 return resultobj;
1881 fail:
1882 {
1883 if (temp7)
1884 delete arg7;
1885 }
1886 return NULL;
1887}
1888
1889
1890static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
1891 PyObject *resultobj;
1892 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1893 int arg2 ;
1894 int arg3 ;
1895 int arg4 ;
1896 int arg5 ;
1897 int arg6 = (int) 0 ;
1898 int arg7 = (int) 0 ;
1899 bool arg8 = (bool) false ;
1900 PyObject * obj0 = 0 ;
1901 PyObject * obj1 = 0 ;
1902 PyObject * obj2 = 0 ;
1903 PyObject * obj3 = 0 ;
1904 PyObject * obj4 = 0 ;
1905 PyObject * obj5 = 0 ;
1906 PyObject * obj6 = 0 ;
1907 PyObject * obj7 = 0 ;
1908 char *kwnames[] = {
1909 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1910 };
1911
1912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1915 arg2 = (int)SWIG_As_int(obj1);
1916 if (PyErr_Occurred()) SWIG_fail;
1917 arg3 = (int)SWIG_As_int(obj2);
1918 if (PyErr_Occurred()) SWIG_fail;
1919 arg4 = (int)SWIG_As_int(obj3);
1920 if (PyErr_Occurred()) SWIG_fail;
1921 arg5 = (int)SWIG_As_int(obj4);
1922 if (PyErr_Occurred()) SWIG_fail;
1923 if (obj5) {
1924 arg6 = (int)SWIG_As_int(obj5);
1925 if (PyErr_Occurred()) SWIG_fail;
1926 }
1927 if (obj6) {
1928 arg7 = (int)SWIG_As_int(obj6);
1929 if (PyErr_Occurred()) SWIG_fail;
1930 }
1931 if (obj7) {
1932 arg8 = (bool)SWIG_As_bool(obj7);
1933 if (PyErr_Occurred()) SWIG_fail;
1934 }
1935 {
1936 PyThreadState* __tstate = wxPyBeginAllowThreads();
1937 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1938
1939 wxPyEndAllowThreads(__tstate);
1940 if (PyErr_Occurred()) SWIG_fail;
1941 }
1942 Py_INCREF(Py_None); resultobj = Py_None;
1943 return resultobj;
1944 fail:
1945 return NULL;
1946}
1947
1948
1949static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *, PyObject *args, PyObject *kwargs) {
1950 PyObject *resultobj;
1951 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1952 int arg2 ;
1953 int arg3 ;
1954 PyObject * obj0 = 0 ;
1955 PyObject * obj1 = 0 ;
1956 PyObject * obj2 = 0 ;
1957 char *kwnames[] = {
1958 (char *) "self",(char *) "x",(char *) "y", NULL
1959 };
1960
1961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
1962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1964 arg2 = (int)SWIG_As_int(obj1);
1965 if (PyErr_Occurred()) SWIG_fail;
1966 arg3 = (int)SWIG_As_int(obj2);
1967 if (PyErr_Occurred()) SWIG_fail;
1968 {
1969 PyThreadState* __tstate = wxPyBeginAllowThreads();
1970 (arg1)->Scroll(arg2,arg3);
1971
1972 wxPyEndAllowThreads(__tstate);
1973 if (PyErr_Occurred()) SWIG_fail;
1974 }
1975 Py_INCREF(Py_None); resultobj = Py_None;
1976 return resultobj;
1977 fail:
1978 return NULL;
1979}
1980
1981
1982static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
1983 PyObject *resultobj;
1984 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1985 int arg2 ;
1986 int result;
1987 PyObject * obj0 = 0 ;
1988 PyObject * obj1 = 0 ;
1989 char *kwnames[] = {
1990 (char *) "self",(char *) "orient", NULL
1991 };
1992
1993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail;
1994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1996 arg2 = (int)SWIG_As_int(obj1);
1997 if (PyErr_Occurred()) SWIG_fail;
1998 {
1999 PyThreadState* __tstate = wxPyBeginAllowThreads();
2000 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
2001
2002 wxPyEndAllowThreads(__tstate);
2003 if (PyErr_Occurred()) SWIG_fail;
2004 }
2005 resultobj = SWIG_From_int((int)result);
2006 return resultobj;
2007 fail:
2008 return NULL;
2009}
2010
2011
2012static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
2013 PyObject *resultobj;
2014 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2015 int arg2 ;
2016 int arg3 ;
2017 PyObject * obj0 = 0 ;
2018 PyObject * obj1 = 0 ;
2019 PyObject * obj2 = 0 ;
2020 char *kwnames[] = {
2021 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
2022 };
2023
2024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2027 arg2 = (int)SWIG_As_int(obj1);
2028 if (PyErr_Occurred()) SWIG_fail;
2029 arg3 = (int)SWIG_As_int(obj2);
2030 if (PyErr_Occurred()) SWIG_fail;
2031 {
2032 PyThreadState* __tstate = wxPyBeginAllowThreads();
2033 (arg1)->SetScrollPageSize(arg2,arg3);
2034
2035 wxPyEndAllowThreads(__tstate);
2036 if (PyErr_Occurred()) SWIG_fail;
2037 }
2038 Py_INCREF(Py_None); resultobj = Py_None;
2039 return resultobj;
2040 fail:
2041 return NULL;
2042}
2043
2044
2045static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *, PyObject *args, PyObject *kwargs) {
2046 PyObject *resultobj;
2047 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2048 int arg2 ;
2049 int arg3 ;
2050 PyObject * obj0 = 0 ;
2051 PyObject * obj1 = 0 ;
2052 PyObject * obj2 = 0 ;
2053 char *kwnames[] = {
2054 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
2055 };
2056
2057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail;
2058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2060 arg2 = (int)SWIG_As_int(obj1);
2061 if (PyErr_Occurred()) SWIG_fail;
2062 arg3 = (int)SWIG_As_int(obj2);
2063 if (PyErr_Occurred()) SWIG_fail;
2064 {
2065 PyThreadState* __tstate = wxPyBeginAllowThreads();
2066 (arg1)->SetScrollRate(arg2,arg3);
2067
2068 wxPyEndAllowThreads(__tstate);
2069 if (PyErr_Occurred()) SWIG_fail;
2070 }
2071 Py_INCREF(Py_None); resultobj = Py_None;
2072 return resultobj;
2073 fail:
2074 return NULL;
2075}
2076
2077
2078static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *, PyObject *args, PyObject *kwargs) {
2079 PyObject *resultobj;
2080 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2081 int *arg2 = (int *) 0 ;
2082 int *arg3 = (int *) 0 ;
2083 int temp2 ;
2084 int res2 = 0 ;
2085 int temp3 ;
2086 int res3 = 0 ;
2087 PyObject * obj0 = 0 ;
2088 char *kwnames[] = {
2089 (char *) "self", NULL
2090 };
2091
2092 arg2 = &temp2; res2 = SWIG_NEWOBJ;
2093 arg3 = &temp3; res3 = SWIG_NEWOBJ;
2094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
2095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2097 {
2098 PyThreadState* __tstate = wxPyBeginAllowThreads();
2099 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
2100
2101 wxPyEndAllowThreads(__tstate);
2102 if (PyErr_Occurred()) SWIG_fail;
2103 }
2104 Py_INCREF(Py_None); resultobj = Py_None;
2105 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
2106 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
2107 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
2108 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
2109 return resultobj;
2110 fail:
2111 return NULL;
2112}
2113
2114
2115static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *, PyObject *args, PyObject *kwargs) {
2116 PyObject *resultobj;
2117 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2118 bool arg2 ;
2119 bool arg3 ;
2120 PyObject * obj0 = 0 ;
2121 PyObject * obj1 = 0 ;
2122 PyObject * obj2 = 0 ;
2123 char *kwnames[] = {
2124 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
2125 };
2126
2127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
2128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2130 arg2 = (bool)SWIG_As_bool(obj1);
2131 if (PyErr_Occurred()) SWIG_fail;
2132 arg3 = (bool)SWIG_As_bool(obj2);
2133 if (PyErr_Occurred()) SWIG_fail;
2134 {
2135 PyThreadState* __tstate = wxPyBeginAllowThreads();
2136 (arg1)->EnableScrolling(arg2,arg3);
2137
2138 wxPyEndAllowThreads(__tstate);
2139 if (PyErr_Occurred()) SWIG_fail;
2140 }
2141 Py_INCREF(Py_None); resultobj = Py_None;
2142 return resultobj;
2143 fail:
2144 return NULL;
2145}
2146
2147
2148static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *, PyObject *args, PyObject *kwargs) {
2149 PyObject *resultobj;
2150 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2151 int *arg2 = (int *) 0 ;
2152 int *arg3 = (int *) 0 ;
2153 int temp2 ;
2154 int res2 = 0 ;
2155 int temp3 ;
2156 int res3 = 0 ;
2157 PyObject * obj0 = 0 ;
2158 char *kwnames[] = {
2159 (char *) "self", NULL
2160 };
2161
2162 arg2 = &temp2; res2 = SWIG_NEWOBJ;
2163 arg3 = &temp3; res3 = SWIG_NEWOBJ;
2164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
2165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2167 {
2168 PyThreadState* __tstate = wxPyBeginAllowThreads();
2169 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
2170
2171 wxPyEndAllowThreads(__tstate);
2172 if (PyErr_Occurred()) SWIG_fail;
2173 }
2174 Py_INCREF(Py_None); resultobj = Py_None;
2175 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
2176 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
2177 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
2178 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
2179 return resultobj;
2180 fail:
2181 return NULL;
2182}
2183
2184
2185static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *, PyObject *args, PyObject *kwargs) {
2186 PyObject *resultobj;
2187 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2188 double arg2 ;
2189 double arg3 ;
2190 PyObject * obj0 = 0 ;
2191 PyObject * obj1 = 0 ;
2192 PyObject * obj2 = 0 ;
2193 char *kwnames[] = {
2194 (char *) "self",(char *) "xs",(char *) "ys", NULL
2195 };
2196
2197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
2198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2200 arg2 = (double)SWIG_As_double(obj1);
2201 if (PyErr_Occurred()) SWIG_fail;
2202 arg3 = (double)SWIG_As_double(obj2);
2203 if (PyErr_Occurred()) SWIG_fail;
2204 {
2205 PyThreadState* __tstate = wxPyBeginAllowThreads();
2206 (arg1)->SetScale(arg2,arg3);
2207
2208 wxPyEndAllowThreads(__tstate);
2209 if (PyErr_Occurred()) SWIG_fail;
2210 }
2211 Py_INCREF(Py_None); resultobj = Py_None;
2212 return resultobj;
2213 fail:
2214 return NULL;
2215}
2216
2217
2218static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
2219 PyObject *resultobj;
2220 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2221 double result;
2222 PyObject * obj0 = 0 ;
2223 char *kwnames[] = {
2224 (char *) "self", NULL
2225 };
2226
2227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
2228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2230 {
2231 PyThreadState* __tstate = wxPyBeginAllowThreads();
2232 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
2233
2234 wxPyEndAllowThreads(__tstate);
2235 if (PyErr_Occurred()) SWIG_fail;
2236 }
2237 resultobj = SWIG_From_double((double)result);
2238 return resultobj;
2239 fail:
2240 return NULL;
2241}
2242
2243
2244static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
2245 PyObject *resultobj;
2246 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2247 double result;
2248 PyObject * obj0 = 0 ;
2249 char *kwnames[] = {
2250 (char *) "self", NULL
2251 };
2252
2253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
2254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2256 {
2257 PyThreadState* __tstate = wxPyBeginAllowThreads();
2258 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
2259
2260 wxPyEndAllowThreads(__tstate);
2261 if (PyErr_Occurred()) SWIG_fail;
2262 }
2263 resultobj = SWIG_From_double((double)result);
2264 return resultobj;
2265 fail:
2266 return NULL;
2267}
2268
2269
2270static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *, PyObject *args) {
2271 PyObject *resultobj;
2272 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2273 wxPoint *arg2 = 0 ;
2274 wxPoint result;
2275 wxPoint temp2 ;
2276 PyObject * obj0 = 0 ;
2277 PyObject * obj1 = 0 ;
2278
2279 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
2280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2282 {
2283 arg2 = &temp2;
2284 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2285 }
2286 {
2287 PyThreadState* __tstate = wxPyBeginAllowThreads();
2288 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
2289
2290 wxPyEndAllowThreads(__tstate);
2291 if (PyErr_Occurred()) SWIG_fail;
2292 }
2293 {
2294 wxPoint * resultptr;
2295 resultptr = new wxPoint((wxPoint &) result);
2296 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2297 }
2298 return resultobj;
2299 fail:
2300 return NULL;
2301}
2302
2303
2304static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *, PyObject *args) {
2305 PyObject *resultobj;
2306 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2307 int arg2 ;
2308 int arg3 ;
2309 int *arg4 = (int *) 0 ;
2310 int *arg5 = (int *) 0 ;
2311 int temp4 ;
2312 int res4 = 0 ;
2313 int temp5 ;
2314 int res5 = 0 ;
2315 PyObject * obj0 = 0 ;
2316 PyObject * obj1 = 0 ;
2317 PyObject * obj2 = 0 ;
2318
2319 arg4 = &temp4; res4 = SWIG_NEWOBJ;
2320 arg5 = &temp5; res5 = SWIG_NEWOBJ;
2321 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2324 arg2 = (int)SWIG_As_int(obj1);
2325 if (PyErr_Occurred()) SWIG_fail;
2326 arg3 = (int)SWIG_As_int(obj2);
2327 if (PyErr_Occurred()) SWIG_fail;
2328 {
2329 PyThreadState* __tstate = wxPyBeginAllowThreads();
2330 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
2331
2332 wxPyEndAllowThreads(__tstate);
2333 if (PyErr_Occurred()) SWIG_fail;
2334 }
2335 Py_INCREF(Py_None); resultobj = Py_None;
2336 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
2337 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
2338 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
2339 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
2340 return resultobj;
2341 fail:
2342 return NULL;
2343}
2344
2345
2346static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
2347 int argc;
2348 PyObject *argv[4];
2349 int ii;
2350
2351 argc = PyObject_Length(args);
2352 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2353 argv[ii] = PyTuple_GetItem(args,ii);
2354 }
2355 if (argc == 2) {
2356 int _v;
2357 {
2358 void *ptr;
2359 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2360 _v = 0;
2361 PyErr_Clear();
2362 } else {
2363 _v = 1;
2364 }
2365 }
2366 if (_v) {
2367 {
2368 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2369 }
2370 if (_v) {
2371 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
2372 }
2373 }
2374 }
2375 if (argc == 3) {
2376 int _v;
2377 {
2378 void *ptr;
2379 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2380 _v = 0;
2381 PyErr_Clear();
2382 } else {
2383 _v = 1;
2384 }
2385 }
2386 if (_v) {
2387 _v = SWIG_Check_int(argv[1]);
2388 if (_v) {
2389 _v = SWIG_Check_int(argv[2]);
2390 if (_v) {
2391 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
2392 }
2393 }
2394 }
2395 }
2396
2397 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2398 return NULL;
2399}
2400
2401
2402static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *, PyObject *args) {
2403 PyObject *resultobj;
2404 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2405 wxPoint *arg2 = 0 ;
2406 wxPoint result;
2407 wxPoint temp2 ;
2408 PyObject * obj0 = 0 ;
2409 PyObject * obj1 = 0 ;
2410
2411 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
2412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2414 {
2415 arg2 = &temp2;
2416 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2417 }
2418 {
2419 PyThreadState* __tstate = wxPyBeginAllowThreads();
2420 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
2421
2422 wxPyEndAllowThreads(__tstate);
2423 if (PyErr_Occurred()) SWIG_fail;
2424 }
2425 {
2426 wxPoint * resultptr;
2427 resultptr = new wxPoint((wxPoint &) result);
2428 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2429 }
2430 return resultobj;
2431 fail:
2432 return NULL;
2433}
2434
2435
2436static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *, PyObject *args) {
2437 PyObject *resultobj;
2438 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2439 int arg2 ;
2440 int arg3 ;
2441 int *arg4 = (int *) 0 ;
2442 int *arg5 = (int *) 0 ;
2443 int temp4 ;
2444 int res4 = 0 ;
2445 int temp5 ;
2446 int res5 = 0 ;
2447 PyObject * obj0 = 0 ;
2448 PyObject * obj1 = 0 ;
2449 PyObject * obj2 = 0 ;
2450
2451 arg4 = &temp4; res4 = SWIG_NEWOBJ;
2452 arg5 = &temp5; res5 = SWIG_NEWOBJ;
2453 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2456 arg2 = (int)SWIG_As_int(obj1);
2457 if (PyErr_Occurred()) SWIG_fail;
2458 arg3 = (int)SWIG_As_int(obj2);
2459 if (PyErr_Occurred()) SWIG_fail;
2460 {
2461 PyThreadState* __tstate = wxPyBeginAllowThreads();
2462 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
2463
2464 wxPyEndAllowThreads(__tstate);
2465 if (PyErr_Occurred()) SWIG_fail;
2466 }
2467 Py_INCREF(Py_None); resultobj = Py_None;
2468 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
2469 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
2470 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
2471 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
2472 return resultobj;
2473 fail:
2474 return NULL;
2475}
2476
2477
2478static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
2479 int argc;
2480 PyObject *argv[4];
2481 int ii;
2482
2483 argc = PyObject_Length(args);
2484 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2485 argv[ii] = PyTuple_GetItem(args,ii);
2486 }
2487 if (argc == 2) {
2488 int _v;
2489 {
2490 void *ptr;
2491 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2492 _v = 0;
2493 PyErr_Clear();
2494 } else {
2495 _v = 1;
2496 }
2497 }
2498 if (_v) {
2499 {
2500 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2501 }
2502 if (_v) {
2503 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
2504 }
2505 }
2506 }
2507 if (argc == 3) {
2508 int _v;
2509 {
2510 void *ptr;
2511 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2512 _v = 0;
2513 PyErr_Clear();
2514 } else {
2515 _v = 1;
2516 }
2517 }
2518 if (_v) {
2519 _v = SWIG_Check_int(argv[1]);
2520 if (_v) {
2521 _v = SWIG_Check_int(argv[2]);
2522 if (_v) {
2523 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
2524 }
2525 }
2526 }
2527 }
2528
2529 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2530 return NULL;
2531}
2532
2533
2534static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
2535 PyObject *resultobj;
2536 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2537 PyObject * obj0 = 0 ;
2538 char *kwnames[] = {
2539 (char *) "self", NULL
2540 };
2541
2542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
2543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2545 {
2546 PyThreadState* __tstate = wxPyBeginAllowThreads();
2547 (arg1)->AdjustScrollbars();
2548
2549 wxPyEndAllowThreads(__tstate);
2550 if (PyErr_Occurred()) SWIG_fail;
2551 }
2552 Py_INCREF(Py_None); resultobj = Py_None;
2553 return resultobj;
2554 fail:
2555 return NULL;
2556}
2557
2558
2559static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *, PyObject *args, PyObject *kwargs) {
2560 PyObject *resultobj;
2561 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2562 wxScrollWinEvent *arg2 = 0 ;
2563 int result;
2564 PyObject * obj0 = 0 ;
2565 PyObject * obj1 = 0 ;
2566 char *kwnames[] = {
2567 (char *) "self",(char *) "event", NULL
2568 };
2569
2570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
2571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2573 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollWinEvent,
2574 SWIG_POINTER_EXCEPTION | 0)) == -1)
2575 SWIG_fail;
2576 if (arg2 == NULL) {
2577 PyErr_SetString(PyExc_TypeError,"null reference");
2578 SWIG_fail;
2579 }
2580 {
2581 PyThreadState* __tstate = wxPyBeginAllowThreads();
2582 result = (int)(arg1)->CalcScrollInc(*arg2);
2583
2584 wxPyEndAllowThreads(__tstate);
2585 if (PyErr_Occurred()) SWIG_fail;
2586 }
2587 resultobj = SWIG_From_int((int)result);
2588 return resultobj;
2589 fail:
2590 return NULL;
2591}
2592
2593
2594static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
2595 PyObject *resultobj;
2596 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2597 wxWindow *arg2 = (wxWindow *) 0 ;
2598 PyObject * obj0 = 0 ;
2599 PyObject * obj1 = 0 ;
2600 char *kwnames[] = {
2601 (char *) "self",(char *) "target", NULL
2602 };
2603
2604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
2605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2607 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2609 {
2610 PyThreadState* __tstate = wxPyBeginAllowThreads();
2611 (arg1)->SetTargetWindow(arg2);
2612
2613 wxPyEndAllowThreads(__tstate);
2614 if (PyErr_Occurred()) SWIG_fail;
2615 }
2616 Py_INCREF(Py_None); resultobj = Py_None;
2617 return resultobj;
2618 fail:
2619 return NULL;
2620}
2621
2622
2623static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
2624 PyObject *resultobj;
2625 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2626 wxWindow *result;
2627 PyObject * obj0 = 0 ;
2628 char *kwnames[] = {
2629 (char *) "self", NULL
2630 };
2631
2632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
2633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2635 {
2636 PyThreadState* __tstate = wxPyBeginAllowThreads();
2637 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
2638
2639 wxPyEndAllowThreads(__tstate);
2640 if (PyErr_Occurred()) SWIG_fail;
2641 }
2642 {
2643 resultobj = wxPyMake_wxObject(result, 0);
2644 }
2645 return resultobj;
2646 fail:
2647 return NULL;
2648}
2649
2650
2651static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) {
2652 PyObject *resultobj;
2653 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2654 wxRect *arg2 = 0 ;
2655 wxRect temp2 ;
2656 PyObject * obj0 = 0 ;
2657 PyObject * obj1 = 0 ;
2658 char *kwnames[] = {
2659 (char *) "self",(char *) "rect", NULL
2660 };
2661
2662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail;
2663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2665 {
2666 arg2 = &temp2;
2667 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2668 }
2669 {
2670 PyThreadState* __tstate = wxPyBeginAllowThreads();
2671 (arg1)->SetTargetRect((wxRect const &)*arg2);
2672
2673 wxPyEndAllowThreads(__tstate);
2674 if (PyErr_Occurred()) SWIG_fail;
2675 }
2676 Py_INCREF(Py_None); resultobj = Py_None;
2677 return resultobj;
2678 fail:
2679 return NULL;
2680}
2681
2682
2683static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) {
2684 PyObject *resultobj;
2685 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2686 wxRect result;
2687 PyObject * obj0 = 0 ;
2688 char *kwnames[] = {
2689 (char *) "self", NULL
2690 };
2691
2692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail;
2693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2695 {
2696 PyThreadState* __tstate = wxPyBeginAllowThreads();
2697 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
2698
2699 wxPyEndAllowThreads(__tstate);
2700 if (PyErr_Occurred()) SWIG_fail;
2701 }
2702 {
2703 wxRect * resultptr;
2704 resultptr = new wxRect((wxRect &) result);
2705 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
2706 }
2707 return resultobj;
2708 fail:
2709 return NULL;
2710}
2711
2712
2713static PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *, PyObject *args, PyObject *kwargs) {
2714 PyObject *resultobj;
2715 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2716 wxDC *arg2 = 0 ;
2717 PyObject * obj0 = 0 ;
2718 PyObject * obj1 = 0 ;
2719 char *kwnames[] = {
2720 (char *) "self",(char *) "dc", NULL
2721 };
2722
2723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) goto fail;
2724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2726 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
2727 SWIG_POINTER_EXCEPTION | 0)) == -1)
2728 SWIG_fail;
2729 if (arg2 == NULL) {
2730 PyErr_SetString(PyExc_TypeError,"null reference");
2731 SWIG_fail;
2732 }
2733 {
2734 PyThreadState* __tstate = wxPyBeginAllowThreads();
2735 (arg1)->DoPrepareDC(*arg2);
2736
2737 wxPyEndAllowThreads(__tstate);
2738 if (PyErr_Occurred()) SWIG_fail;
2739 }
2740 Py_INCREF(Py_None); resultobj = Py_None;
2741 return resultobj;
2742 fail:
2743 return NULL;
2744}
2745
2746
2747static PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
2748 PyObject *resultobj;
2749 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
2750 wxVisualAttributes result;
2751 PyObject * obj0 = 0 ;
2752 char *kwnames[] = {
2753 (char *) "variant", NULL
2754 };
2755
2756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2757 if (obj0) {
2758 arg1 = (int)SWIG_As_int(obj0);
2759 if (PyErr_Occurred()) SWIG_fail;
2760 }
2761 {
2762 if (!wxPyCheckForApp()) SWIG_fail;
2763 PyThreadState* __tstate = wxPyBeginAllowThreads();
2764 result = wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
2765
2766 wxPyEndAllowThreads(__tstate);
2767 if (PyErr_Occurred()) SWIG_fail;
2768 }
2769 {
2770 wxVisualAttributes * resultptr;
2771 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
2772 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2773 }
2774 return resultobj;
2775 fail:
2776 return NULL;
2777}
2778
2779
2780static PyObject * ScrolledWindow_swigregister(PyObject *, PyObject *args) {
2781 PyObject *obj;
2782 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2783 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2784 Py_INCREF(obj);
2785 return Py_BuildValue((char *)"");
2786}
2787static int _wrap_FrameNameStr_set(PyObject *) {
2788 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
2789 return 1;
2790}
2791
2792
2793static PyObject *_wrap_FrameNameStr_get() {
2794 PyObject *pyobj;
2795
2796 {
2797#if wxUSE_UNICODE
2798 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2799#else
2800 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2801#endif
2802 }
2803 return pyobj;
2804}
2805
2806
2807static int _wrap_DialogNameStr_set(PyObject *) {
2808 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
2809 return 1;
2810}
2811
2812
2813static PyObject *_wrap_DialogNameStr_get() {
2814 PyObject *pyobj;
2815
2816 {
2817#if wxUSE_UNICODE
2818 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2819#else
2820 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2821#endif
2822 }
2823 return pyobj;
2824}
2825
2826
2827static int _wrap_StatusLineNameStr_set(PyObject *) {
2828 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
2829 return 1;
2830}
2831
2832
2833static PyObject *_wrap_StatusLineNameStr_get() {
2834 PyObject *pyobj;
2835
2836 {
2837#if wxUSE_UNICODE
2838 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2839#else
2840 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2841#endif
2842 }
2843 return pyobj;
2844}
2845
2846
2847static int _wrap_ToolBarNameStr_set(PyObject *) {
2848 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
2849 return 1;
2850}
2851
2852
2853static PyObject *_wrap_ToolBarNameStr_get() {
2854 PyObject *pyobj;
2855
2856 {
2857#if wxUSE_UNICODE
2858 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2859#else
2860 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2861#endif
2862 }
2863 return pyobj;
2864}
2865
2866
2867static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
2868 PyObject *resultobj;
2869 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2870 bool arg2 = (bool) true ;
2871 PyObject * obj0 = 0 ;
2872 PyObject * obj1 = 0 ;
2873 char *kwnames[] = {
2874 (char *) "self",(char *) "maximize", NULL
2875 };
2876
2877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
2878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2880 if (obj1) {
2881 arg2 = (bool)SWIG_As_bool(obj1);
2882 if (PyErr_Occurred()) SWIG_fail;
2883 }
2884 {
2885 PyThreadState* __tstate = wxPyBeginAllowThreads();
2886 (arg1)->Maximize(arg2);
2887
2888 wxPyEndAllowThreads(__tstate);
2889 if (PyErr_Occurred()) SWIG_fail;
2890 }
2891 Py_INCREF(Py_None); resultobj = Py_None;
2892 return resultobj;
2893 fail:
2894 return NULL;
2895}
2896
2897
2898static PyObject *_wrap_TopLevelWindow_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
2899 PyObject *resultobj;
2900 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2901 PyObject * obj0 = 0 ;
2902 char *kwnames[] = {
2903 (char *) "self", NULL
2904 };
2905
2906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
2907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2909 {
2910 PyThreadState* __tstate = wxPyBeginAllowThreads();
2911 (arg1)->Restore();
2912
2913 wxPyEndAllowThreads(__tstate);
2914 if (PyErr_Occurred()) SWIG_fail;
2915 }
2916 Py_INCREF(Py_None); resultobj = Py_None;
2917 return resultobj;
2918 fail:
2919 return NULL;
2920}
2921
2922
2923static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *, PyObject *args, PyObject *kwargs) {
2924 PyObject *resultobj;
2925 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2926 bool arg2 = (bool) true ;
2927 PyObject * obj0 = 0 ;
2928 PyObject * obj1 = 0 ;
2929 char *kwnames[] = {
2930 (char *) "self",(char *) "iconize", NULL
2931 };
2932
2933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
2934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2936 if (obj1) {
2937 arg2 = (bool)SWIG_As_bool(obj1);
2938 if (PyErr_Occurred()) SWIG_fail;
2939 }
2940 {
2941 PyThreadState* __tstate = wxPyBeginAllowThreads();
2942 (arg1)->Iconize(arg2);
2943
2944 wxPyEndAllowThreads(__tstate);
2945 if (PyErr_Occurred()) SWIG_fail;
2946 }
2947 Py_INCREF(Py_None); resultobj = Py_None;
2948 return resultobj;
2949 fail:
2950 return NULL;
2951}
2952
2953
2954static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *, PyObject *args, PyObject *kwargs) {
2955 PyObject *resultobj;
2956 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2957 bool result;
2958 PyObject * obj0 = 0 ;
2959 char *kwnames[] = {
2960 (char *) "self", NULL
2961 };
2962
2963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
2964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2966 {
2967 PyThreadState* __tstate = wxPyBeginAllowThreads();
2968 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2969
2970 wxPyEndAllowThreads(__tstate);
2971 if (PyErr_Occurred()) SWIG_fail;
2972 }
2973 {
2974 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2975 }
2976 return resultobj;
2977 fail:
2978 return NULL;
2979}
2980
2981
2982static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *, PyObject *args, PyObject *kwargs) {
2983 PyObject *resultobj;
2984 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2985 bool result;
2986 PyObject * obj0 = 0 ;
2987 char *kwnames[] = {
2988 (char *) "self", NULL
2989 };
2990
2991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
2992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2994 {
2995 PyThreadState* __tstate = wxPyBeginAllowThreads();
2996 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2997
2998 wxPyEndAllowThreads(__tstate);
2999 if (PyErr_Occurred()) SWIG_fail;
3000 }
3001 {
3002 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3003 }
3004 return resultobj;
3005 fail:
3006 return NULL;
3007}
3008
3009
3010static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
3011 PyObject *resultobj;
3012 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3013 wxIcon result;
3014 PyObject * obj0 = 0 ;
3015 char *kwnames[] = {
3016 (char *) "self", NULL
3017 };
3018
3019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
3020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3022 {
3023 PyThreadState* __tstate = wxPyBeginAllowThreads();
3024 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
3025
3026 wxPyEndAllowThreads(__tstate);
3027 if (PyErr_Occurred()) SWIG_fail;
3028 }
3029 {
3030 wxIcon * resultptr;
3031 resultptr = new wxIcon((wxIcon &) result);
3032 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
3033 }
3034 return resultobj;
3035 fail:
3036 return NULL;
3037}
3038
3039
3040static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
3041 PyObject *resultobj;
3042 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3043 wxIcon *arg2 = 0 ;
3044 PyObject * obj0 = 0 ;
3045 PyObject * obj1 = 0 ;
3046 char *kwnames[] = {
3047 (char *) "self",(char *) "icon", NULL
3048 };
3049
3050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
3051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3053 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
3054 SWIG_POINTER_EXCEPTION | 0)) == -1)
3055 SWIG_fail;
3056 if (arg2 == NULL) {
3057 PyErr_SetString(PyExc_TypeError,"null reference");
3058 SWIG_fail;
3059 }
3060 {
3061 PyThreadState* __tstate = wxPyBeginAllowThreads();
3062 (arg1)->SetIcon((wxIcon const &)*arg2);
3063
3064 wxPyEndAllowThreads(__tstate);
3065 if (PyErr_Occurred()) SWIG_fail;
3066 }
3067 Py_INCREF(Py_None); resultobj = Py_None;
3068 return resultobj;
3069 fail:
3070 return NULL;
3071}
3072
3073
3074static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *, PyObject *args, PyObject *kwargs) {
3075 PyObject *resultobj;
3076 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3077 wxIconBundle *arg2 = 0 ;
3078 PyObject * obj0 = 0 ;
3079 PyObject * obj1 = 0 ;
3080 char *kwnames[] = {
3081 (char *) "self",(char *) "icons", NULL
3082 };
3083
3084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
3085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3087 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIconBundle,
3088 SWIG_POINTER_EXCEPTION | 0)) == -1)
3089 SWIG_fail;
3090 if (arg2 == NULL) {
3091 PyErr_SetString(PyExc_TypeError,"null reference");
3092 SWIG_fail;
3093 }
3094 {
3095 PyThreadState* __tstate = wxPyBeginAllowThreads();
3096 (arg1)->SetIcons((wxIconBundle const &)*arg2);
3097
3098 wxPyEndAllowThreads(__tstate);
3099 if (PyErr_Occurred()) SWIG_fail;
3100 }
3101 Py_INCREF(Py_None); resultobj = Py_None;
3102 return resultobj;
3103 fail:
3104 return NULL;
3105}
3106
3107
3108static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
3109 PyObject *resultobj;
3110 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3111 bool arg2 ;
3112 long arg3 = (long) wxFULLSCREEN_ALL ;
3113 bool result;
3114 PyObject * obj0 = 0 ;
3115 PyObject * obj1 = 0 ;
3116 PyObject * obj2 = 0 ;
3117 char *kwnames[] = {
3118 (char *) "self",(char *) "show",(char *) "style", NULL
3119 };
3120
3121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
3122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3124 arg2 = (bool)SWIG_As_bool(obj1);
3125 if (PyErr_Occurred()) SWIG_fail;
3126 if (obj2) {
3127 arg3 = (long)SWIG_As_long(obj2);
3128 if (PyErr_Occurred()) SWIG_fail;
3129 }
3130 {
3131 PyThreadState* __tstate = wxPyBeginAllowThreads();
3132 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
3133
3134 wxPyEndAllowThreads(__tstate);
3135 if (PyErr_Occurred()) SWIG_fail;
3136 }
3137 {
3138 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3139 }
3140 return resultobj;
3141 fail:
3142 return NULL;
3143}
3144
3145
3146static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
3147 PyObject *resultobj;
3148 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3149 bool result;
3150 PyObject * obj0 = 0 ;
3151 char *kwnames[] = {
3152 (char *) "self", NULL
3153 };
3154
3155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
3156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3158 {
3159 PyThreadState* __tstate = wxPyBeginAllowThreads();
3160 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
3161
3162 wxPyEndAllowThreads(__tstate);
3163 if (PyErr_Occurred()) SWIG_fail;
3164 }
3165 {
3166 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3167 }
3168 return resultobj;
3169 fail:
3170 return NULL;
3171}
3172
3173
3174static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
3175 PyObject *resultobj;
3176 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3177 wxString *arg2 = 0 ;
3178 bool temp2 = false ;
3179 PyObject * obj0 = 0 ;
3180 PyObject * obj1 = 0 ;
3181 char *kwnames[] = {
3182 (char *) "self",(char *) "title", NULL
3183 };
3184
3185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
3186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3188 {
3189 arg2 = wxString_in_helper(obj1);
3190 if (arg2 == NULL) SWIG_fail;
3191 temp2 = true;
3192 }
3193 {
3194 PyThreadState* __tstate = wxPyBeginAllowThreads();
3195 (arg1)->SetTitle((wxString const &)*arg2);
3196
3197 wxPyEndAllowThreads(__tstate);
3198 if (PyErr_Occurred()) SWIG_fail;
3199 }
3200 Py_INCREF(Py_None); resultobj = Py_None;
3201 {
3202 if (temp2)
3203 delete arg2;
3204 }
3205 return resultobj;
3206 fail:
3207 {
3208 if (temp2)
3209 delete arg2;
3210 }
3211 return NULL;
3212}
3213
3214
3215static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
3216 PyObject *resultobj;
3217 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3218 wxString result;
3219 PyObject * obj0 = 0 ;
3220 char *kwnames[] = {
3221 (char *) "self", NULL
3222 };
3223
3224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
3225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3227 {
3228 PyThreadState* __tstate = wxPyBeginAllowThreads();
3229 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
3230
3231 wxPyEndAllowThreads(__tstate);
3232 if (PyErr_Occurred()) SWIG_fail;
3233 }
3234 {
3235#if wxUSE_UNICODE
3236 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3237#else
3238 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3239#endif
3240 }
3241 return resultobj;
3242 fail:
3243 return NULL;
3244}
3245
3246
3247static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *, PyObject *args, PyObject *kwargs) {
3248 PyObject *resultobj;
3249 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3250 wxRegion *arg2 = 0 ;
3251 bool result;
3252 PyObject * obj0 = 0 ;
3253 PyObject * obj1 = 0 ;
3254 char *kwnames[] = {
3255 (char *) "self",(char *) "region", NULL
3256 };
3257
3258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
3259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3261 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion,
3262 SWIG_POINTER_EXCEPTION | 0)) == -1)
3263 SWIG_fail;
3264 if (arg2 == NULL) {
3265 PyErr_SetString(PyExc_TypeError,"null reference");
3266 SWIG_fail;
3267 }
3268 {
3269 PyThreadState* __tstate = wxPyBeginAllowThreads();
3270 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
3271
3272 wxPyEndAllowThreads(__tstate);
3273 if (PyErr_Occurred()) SWIG_fail;
3274 }
3275 {
3276 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3277 }
3278 return resultobj;
3279 fail:
3280 return NULL;
3281}
3282
3283
3284static PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *, PyObject *args, PyObject *kwargs) {
3285 PyObject *resultobj;
3286 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3287 int arg2 = (int) wxUSER_ATTENTION_INFO ;
3288 PyObject * obj0 = 0 ;
3289 PyObject * obj1 = 0 ;
3290 char *kwnames[] = {
3291 (char *) "self",(char *) "flags", NULL
3292 };
3293
3294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) goto fail;
3295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3297 if (obj1) {
3298 arg2 = (int)SWIG_As_int(obj1);
3299 if (PyErr_Occurred()) SWIG_fail;
3300 }
3301 {
3302 PyThreadState* __tstate = wxPyBeginAllowThreads();
3303 (arg1)->RequestUserAttention(arg2);
3304
3305 wxPyEndAllowThreads(__tstate);
3306 if (PyErr_Occurred()) SWIG_fail;
3307 }
3308 Py_INCREF(Py_None); resultobj = Py_None;
3309 return resultobj;
3310 fail:
3311 return NULL;
3312}
3313
3314
3315static PyObject *_wrap_TopLevelWindow_IsActive(PyObject *, PyObject *args, PyObject *kwargs) {
3316 PyObject *resultobj;
3317 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3318 bool result;
3319 PyObject * obj0 = 0 ;
3320 char *kwnames[] = {
3321 (char *) "self", NULL
3322 };
3323
3324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsActive",kwnames,&obj0)) goto fail;
3325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3327 {
3328 PyThreadState* __tstate = wxPyBeginAllowThreads();
3329 result = (bool)(arg1)->IsActive();
3330
3331 wxPyEndAllowThreads(__tstate);
3332 if (PyErr_Occurred()) SWIG_fail;
3333 }
3334 {
3335 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3336 }
3337 return resultobj;
3338 fail:
3339 return NULL;
3340}
3341
3342
3343static PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) {
3344 PyObject *resultobj;
3345 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3346 bool arg2 ;
3347 PyObject * obj0 = 0 ;
3348 PyObject * obj1 = 0 ;
3349 char *kwnames[] = {
3350 (char *) "self",(char *) "on", NULL
3351 };
3352
3353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) goto fail;
3354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3356 arg2 = (bool)SWIG_As_bool(obj1);
3357 if (PyErr_Occurred()) SWIG_fail;
3358 {
3359 PyThreadState* __tstate = wxPyBeginAllowThreads();
3360 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
3361
3362 wxPyEndAllowThreads(__tstate);
3363 if (PyErr_Occurred()) SWIG_fail;
3364 }
3365 Py_INCREF(Py_None); resultobj = Py_None;
3366 return resultobj;
3367 fail:
3368 return NULL;
3369}
3370
3371
3372static PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) {
3373 PyObject *resultobj;
3374 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3375 bool result;
3376 PyObject * obj0 = 0 ;
3377 char *kwnames[] = {
3378 (char *) "self", NULL
3379 };
3380
3381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames,&obj0)) goto fail;
3382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3384 {
3385 PyThreadState* __tstate = wxPyBeginAllowThreads();
3386 result = (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow const *)arg1);
3387
3388 wxPyEndAllowThreads(__tstate);
3389 if (PyErr_Occurred()) SWIG_fail;
3390 }
3391 {
3392 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3393 }
3394 return resultobj;
3395 fail:
3396 return NULL;
3397}
3398
3399
3400static PyObject * TopLevelWindow_swigregister(PyObject *, PyObject *args) {
3401 PyObject *obj;
3402 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3403 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
3404 Py_INCREF(obj);
3405 return Py_BuildValue((char *)"");
3406}
3407static PyObject *_wrap_new_Frame(PyObject *, PyObject *args, PyObject *kwargs) {
3408 PyObject *resultobj;
3409 wxWindow *arg1 = (wxWindow *) 0 ;
3410 int arg2 = (int) (int)-1 ;
3411 wxString const &arg3_defvalue = wxPyEmptyString ;
3412 wxString *arg3 = (wxString *) &arg3_defvalue ;
3413 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3414 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3415 wxSize const &arg5_defvalue = wxDefaultSize ;
3416 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3417 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
3418 wxString const &arg7_defvalue = wxPyFrameNameStr ;
3419 wxString *arg7 = (wxString *) &arg7_defvalue ;
3420 wxFrame *result;
3421 bool temp3 = false ;
3422 wxPoint temp4 ;
3423 wxSize temp5 ;
3424 bool temp7 = false ;
3425 PyObject * obj0 = 0 ;
3426 PyObject * obj1 = 0 ;
3427 PyObject * obj2 = 0 ;
3428 PyObject * obj3 = 0 ;
3429 PyObject * obj4 = 0 ;
3430 PyObject * obj5 = 0 ;
3431 PyObject * obj6 = 0 ;
3432 char *kwnames[] = {
3433 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3434 };
3435
3436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3439 if (obj1) {
3440 arg2 = (int)SWIG_As_int(obj1);
3441 if (PyErr_Occurred()) SWIG_fail;
3442 }
3443 if (obj2) {
3444 {
3445 arg3 = wxString_in_helper(obj2);
3446 if (arg3 == NULL) SWIG_fail;
3447 temp3 = true;
3448 }
3449 }
3450 if (obj3) {
3451 {
3452 arg4 = &temp4;
3453 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3454 }
3455 }
3456 if (obj4) {
3457 {
3458 arg5 = &temp5;
3459 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3460 }
3461 }
3462 if (obj5) {
3463 arg6 = (long)SWIG_As_long(obj5);
3464 if (PyErr_Occurred()) SWIG_fail;
3465 }
3466 if (obj6) {
3467 {
3468 arg7 = wxString_in_helper(obj6);
3469 if (arg7 == NULL) SWIG_fail;
3470 temp7 = true;
3471 }
3472 }
3473 {
3474 if (!wxPyCheckForApp()) SWIG_fail;
3475 PyThreadState* __tstate = wxPyBeginAllowThreads();
3476 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3477
3478 wxPyEndAllowThreads(__tstate);
3479 if (PyErr_Occurred()) SWIG_fail;
3480 }
3481 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
3482 {
3483 if (temp3)
3484 delete arg3;
3485 }
3486 {
3487 if (temp7)
3488 delete arg7;
3489 }
3490 return resultobj;
3491 fail:
3492 {
3493 if (temp3)
3494 delete arg3;
3495 }
3496 {
3497 if (temp7)
3498 delete arg7;
3499 }
3500 return NULL;
3501}
3502
3503
3504static PyObject *_wrap_new_PreFrame(PyObject *, PyObject *args, PyObject *kwargs) {
3505 PyObject *resultobj;
3506 wxFrame *result;
3507 char *kwnames[] = {
3508 NULL
3509 };
3510
3511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
3512 {
3513 if (!wxPyCheckForApp()) SWIG_fail;
3514 PyThreadState* __tstate = wxPyBeginAllowThreads();
3515 result = (wxFrame *)new wxFrame();
3516
3517 wxPyEndAllowThreads(__tstate);
3518 if (PyErr_Occurred()) SWIG_fail;
3519 }
3520 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
3521 return resultobj;
3522 fail:
3523 return NULL;
3524}
3525
3526
3527static PyObject *_wrap_Frame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
3528 PyObject *resultobj;
3529 wxFrame *arg1 = (wxFrame *) 0 ;
3530 wxWindow *arg2 = (wxWindow *) 0 ;
3531 int arg3 = (int) (int)-1 ;
3532 wxString const &arg4_defvalue = wxPyEmptyString ;
3533 wxString *arg4 = (wxString *) &arg4_defvalue ;
3534 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3535 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3536 wxSize const &arg6_defvalue = wxDefaultSize ;
3537 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3538 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
3539 wxString const &arg8_defvalue = wxPyFrameNameStr ;
3540 wxString *arg8 = (wxString *) &arg8_defvalue ;
3541 bool result;
3542 bool temp4 = false ;
3543 wxPoint temp5 ;
3544 wxSize temp6 ;
3545 bool temp8 = false ;
3546 PyObject * obj0 = 0 ;
3547 PyObject * obj1 = 0 ;
3548 PyObject * obj2 = 0 ;
3549 PyObject * obj3 = 0 ;
3550 PyObject * obj4 = 0 ;
3551 PyObject * obj5 = 0 ;
3552 PyObject * obj6 = 0 ;
3553 PyObject * obj7 = 0 ;
3554 char *kwnames[] = {
3555 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3556 };
3557
3558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3561 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3563 if (obj2) {
3564 arg3 = (int)SWIG_As_int(obj2);
3565 if (PyErr_Occurred()) SWIG_fail;
3566 }
3567 if (obj3) {
3568 {
3569 arg4 = wxString_in_helper(obj3);
3570 if (arg4 == NULL) SWIG_fail;
3571 temp4 = true;
3572 }
3573 }
3574 if (obj4) {
3575 {
3576 arg5 = &temp5;
3577 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3578 }
3579 }
3580 if (obj5) {
3581 {
3582 arg6 = &temp6;
3583 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3584 }
3585 }
3586 if (obj6) {
3587 arg7 = (long)SWIG_As_long(obj6);
3588 if (PyErr_Occurred()) SWIG_fail;
3589 }
3590 if (obj7) {
3591 {
3592 arg8 = wxString_in_helper(obj7);
3593 if (arg8 == NULL) SWIG_fail;
3594 temp8 = true;
3595 }
3596 }
3597 {
3598 PyThreadState* __tstate = wxPyBeginAllowThreads();
3599 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3600
3601 wxPyEndAllowThreads(__tstate);
3602 if (PyErr_Occurred()) SWIG_fail;
3603 }
3604 {
3605 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3606 }
3607 {
3608 if (temp4)
3609 delete arg4;
3610 }
3611 {
3612 if (temp8)
3613 delete arg8;
3614 }
3615 return resultobj;
3616 fail:
3617 {
3618 if (temp4)
3619 delete arg4;
3620 }
3621 {
3622 if (temp8)
3623 delete arg8;
3624 }
3625 return NULL;
3626}
3627
3628
3629static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
3630 PyObject *resultobj;
3631 wxFrame *arg1 = (wxFrame *) 0 ;
3632 wxPoint result;
3633 PyObject * obj0 = 0 ;
3634 char *kwnames[] = {
3635 (char *) "self", NULL
3636 };
3637
3638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
3639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3641 {
3642 PyThreadState* __tstate = wxPyBeginAllowThreads();
3643 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
3644
3645 wxPyEndAllowThreads(__tstate);
3646 if (PyErr_Occurred()) SWIG_fail;
3647 }
3648 {
3649 wxPoint * resultptr;
3650 resultptr = new wxPoint((wxPoint &) result);
3651 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3652 }
3653 return resultobj;
3654 fail:
3655 return NULL;
3656}
3657
3658
3659static PyObject *_wrap_Frame_SendSizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
3660 PyObject *resultobj;
3661 wxFrame *arg1 = (wxFrame *) 0 ;
3662 PyObject * obj0 = 0 ;
3663 char *kwnames[] = {
3664 (char *) "self", NULL
3665 };
3666
3667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
3668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3670 {
3671 PyThreadState* __tstate = wxPyBeginAllowThreads();
3672 (arg1)->SendSizeEvent();
3673
3674 wxPyEndAllowThreads(__tstate);
3675 if (PyErr_Occurred()) SWIG_fail;
3676 }
3677 Py_INCREF(Py_None); resultobj = Py_None;
3678 return resultobj;
3679 fail:
3680 return NULL;
3681}
3682
3683
3684static PyObject *_wrap_Frame_SetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
3685 PyObject *resultobj;
3686 wxFrame *arg1 = (wxFrame *) 0 ;
3687 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
3688 PyObject * obj0 = 0 ;
3689 PyObject * obj1 = 0 ;
3690 char *kwnames[] = {
3691 (char *) "self",(char *) "menubar", NULL
3692 };
3693
3694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
3695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3697 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBar,
3698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3699 {
3700 PyThreadState* __tstate = wxPyBeginAllowThreads();
3701 (arg1)->SetMenuBar(arg2);
3702
3703 wxPyEndAllowThreads(__tstate);
3704 if (PyErr_Occurred()) SWIG_fail;
3705 }
3706 Py_INCREF(Py_None); resultobj = Py_None;
3707 return resultobj;
3708 fail:
3709 return NULL;
3710}
3711
3712
3713static PyObject *_wrap_Frame_GetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
3714 PyObject *resultobj;
3715 wxFrame *arg1 = (wxFrame *) 0 ;
3716 wxMenuBar *result;
3717 PyObject * obj0 = 0 ;
3718 char *kwnames[] = {
3719 (char *) "self", NULL
3720 };
3721
3722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
3723 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3725 {
3726 PyThreadState* __tstate = wxPyBeginAllowThreads();
3727 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
3728
3729 wxPyEndAllowThreads(__tstate);
3730 if (PyErr_Occurred()) SWIG_fail;
3731 }
3732 {
3733 resultobj = wxPyMake_wxObject(result, 0);
3734 }
3735 return resultobj;
3736 fail:
3737 return NULL;
3738}
3739
3740
3741static PyObject *_wrap_Frame_ProcessCommand(PyObject *, PyObject *args, PyObject *kwargs) {
3742 PyObject *resultobj;
3743 wxFrame *arg1 = (wxFrame *) 0 ;
3744 int arg2 ;
3745 bool result;
3746 PyObject * obj0 = 0 ;
3747 PyObject * obj1 = 0 ;
3748 char *kwnames[] = {
3749 (char *) "self",(char *) "winid", NULL
3750 };
3751
3752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
3753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3755 arg2 = (int)SWIG_As_int(obj1);
3756 if (PyErr_Occurred()) SWIG_fail;
3757 {
3758 PyThreadState* __tstate = wxPyBeginAllowThreads();
3759 result = (bool)(arg1)->ProcessCommand(arg2);
3760
3761 wxPyEndAllowThreads(__tstate);
3762 if (PyErr_Occurred()) SWIG_fail;
3763 }
3764 {
3765 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3766 }
3767 return resultobj;
3768 fail:
3769 return NULL;
3770}
3771
3772
3773static PyObject *_wrap_Frame_CreateStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
3774 PyObject *resultobj;
3775 wxFrame *arg1 = (wxFrame *) 0 ;
3776 int arg2 = (int) 1 ;
3777 long arg3 = (long) wxST_SIZEGRIP ;
3778 int arg4 = (int) 0 ;
3779 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
3780 wxString *arg5 = (wxString *) &arg5_defvalue ;
3781 wxStatusBar *result;
3782 bool temp5 = false ;
3783 PyObject * obj0 = 0 ;
3784 PyObject * obj1 = 0 ;
3785 PyObject * obj2 = 0 ;
3786 PyObject * obj3 = 0 ;
3787 PyObject * obj4 = 0 ;
3788 char *kwnames[] = {
3789 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3790 };
3791
3792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3795 if (obj1) {
3796 arg2 = (int)SWIG_As_int(obj1);
3797 if (PyErr_Occurred()) SWIG_fail;
3798 }
3799 if (obj2) {
3800 arg3 = (long)SWIG_As_long(obj2);
3801 if (PyErr_Occurred()) SWIG_fail;
3802 }
3803 if (obj3) {
3804 arg4 = (int)SWIG_As_int(obj3);
3805 if (PyErr_Occurred()) SWIG_fail;
3806 }
3807 if (obj4) {
3808 {
3809 arg5 = wxString_in_helper(obj4);
3810 if (arg5 == NULL) SWIG_fail;
3811 temp5 = true;
3812 }
3813 }
3814 {
3815 PyThreadState* __tstate = wxPyBeginAllowThreads();
3816 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
3817
3818 wxPyEndAllowThreads(__tstate);
3819 if (PyErr_Occurred()) SWIG_fail;
3820 }
3821 {
3822 resultobj = wxPyMake_wxObject(result, 0);
3823 }
3824 {
3825 if (temp5)
3826 delete arg5;
3827 }
3828 return resultobj;
3829 fail:
3830 {
3831 if (temp5)
3832 delete arg5;
3833 }
3834 return NULL;
3835}
3836
3837
3838static PyObject *_wrap_Frame_GetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
3839 PyObject *resultobj;
3840 wxFrame *arg1 = (wxFrame *) 0 ;
3841 wxStatusBar *result;
3842 PyObject * obj0 = 0 ;
3843 char *kwnames[] = {
3844 (char *) "self", NULL
3845 };
3846
3847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
3848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3850 {
3851 PyThreadState* __tstate = wxPyBeginAllowThreads();
3852 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
3853
3854 wxPyEndAllowThreads(__tstate);
3855 if (PyErr_Occurred()) SWIG_fail;
3856 }
3857 {
3858 resultobj = wxPyMake_wxObject(result, 0);
3859 }
3860 return resultobj;
3861 fail:
3862 return NULL;
3863}
3864
3865
3866static PyObject *_wrap_Frame_SetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
3867 PyObject *resultobj;
3868 wxFrame *arg1 = (wxFrame *) 0 ;
3869 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
3870 PyObject * obj0 = 0 ;
3871 PyObject * obj1 = 0 ;
3872 char *kwnames[] = {
3873 (char *) "self",(char *) "statBar", NULL
3874 };
3875
3876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
3877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3879 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxStatusBar,
3880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3881 {
3882 PyThreadState* __tstate = wxPyBeginAllowThreads();
3883 (arg1)->SetStatusBar(arg2);
3884
3885 wxPyEndAllowThreads(__tstate);
3886 if (PyErr_Occurred()) SWIG_fail;
3887 }
3888 Py_INCREF(Py_None); resultobj = Py_None;
3889 return resultobj;
3890 fail:
3891 return NULL;
3892}
3893
3894
3895static PyObject *_wrap_Frame_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
3896 PyObject *resultobj;
3897 wxFrame *arg1 = (wxFrame *) 0 ;
3898 wxString *arg2 = 0 ;
3899 int arg3 = (int) 0 ;
3900 bool temp2 = false ;
3901 PyObject * obj0 = 0 ;
3902 PyObject * obj1 = 0 ;
3903 PyObject * obj2 = 0 ;
3904 char *kwnames[] = {
3905 (char *) "self",(char *) "text",(char *) "number", NULL
3906 };
3907
3908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3911 {
3912 arg2 = wxString_in_helper(obj1);
3913 if (arg2 == NULL) SWIG_fail;
3914 temp2 = true;
3915 }
3916 if (obj2) {
3917 arg3 = (int)SWIG_As_int(obj2);
3918 if (PyErr_Occurred()) SWIG_fail;
3919 }
3920 {
3921 PyThreadState* __tstate = wxPyBeginAllowThreads();
3922 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
3923
3924 wxPyEndAllowThreads(__tstate);
3925 if (PyErr_Occurred()) SWIG_fail;
3926 }
3927 Py_INCREF(Py_None); resultobj = Py_None;
3928 {
3929 if (temp2)
3930 delete arg2;
3931 }
3932 return resultobj;
3933 fail:
3934 {
3935 if (temp2)
3936 delete arg2;
3937 }
3938 return NULL;
3939}
3940
3941
3942static PyObject *_wrap_Frame_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
3943 PyObject *resultobj;
3944 wxFrame *arg1 = (wxFrame *) 0 ;
3945 int arg2 ;
3946 int *arg3 = (int *) 0 ;
3947 PyObject * obj0 = 0 ;
3948 PyObject * obj1 = 0 ;
3949 char *kwnames[] = {
3950 (char *) "self",(char *) "widths", NULL
3951 };
3952
3953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
3954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3956 {
3957 arg2 = PyList_Size(obj1);
3958 arg3 = int_LIST_helper(obj1);
3959 if (arg3 == NULL) SWIG_fail;
3960 }
3961 {
3962 PyThreadState* __tstate = wxPyBeginAllowThreads();
3963 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
3964
3965 wxPyEndAllowThreads(__tstate);
3966 if (PyErr_Occurred()) SWIG_fail;
3967 }
3968 Py_INCREF(Py_None); resultobj = Py_None;
3969 {
3970 if (arg3) delete [] arg3;
3971 }
3972 return resultobj;
3973 fail:
3974 {
3975 if (arg3) delete [] arg3;
3976 }
3977 return NULL;
3978}
3979
3980
3981static PyObject *_wrap_Frame_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
3982 PyObject *resultobj;
3983 wxFrame *arg1 = (wxFrame *) 0 ;
3984 wxString *arg2 = 0 ;
3985 int arg3 = (int) 0 ;
3986 bool temp2 = false ;
3987 PyObject * obj0 = 0 ;
3988 PyObject * obj1 = 0 ;
3989 PyObject * obj2 = 0 ;
3990 char *kwnames[] = {
3991 (char *) "self",(char *) "text",(char *) "number", NULL
3992 };
3993
3994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3997 {
3998 arg2 = wxString_in_helper(obj1);
3999 if (arg2 == NULL) SWIG_fail;
4000 temp2 = true;
4001 }
4002 if (obj2) {
4003 arg3 = (int)SWIG_As_int(obj2);
4004 if (PyErr_Occurred()) SWIG_fail;
4005 }
4006 {
4007 PyThreadState* __tstate = wxPyBeginAllowThreads();
4008 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
4009
4010 wxPyEndAllowThreads(__tstate);
4011 if (PyErr_Occurred()) SWIG_fail;
4012 }
4013 Py_INCREF(Py_None); resultobj = Py_None;
4014 {
4015 if (temp2)
4016 delete arg2;
4017 }
4018 return resultobj;
4019 fail:
4020 {
4021 if (temp2)
4022 delete arg2;
4023 }
4024 return NULL;
4025}
4026
4027
4028static PyObject *_wrap_Frame_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
4029 PyObject *resultobj;
4030 wxFrame *arg1 = (wxFrame *) 0 ;
4031 int arg2 = (int) 0 ;
4032 PyObject * obj0 = 0 ;
4033 PyObject * obj1 = 0 ;
4034 char *kwnames[] = {
4035 (char *) "self",(char *) "number", NULL
4036 };
4037
4038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
4039 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4041 if (obj1) {
4042 arg2 = (int)SWIG_As_int(obj1);
4043 if (PyErr_Occurred()) SWIG_fail;
4044 }
4045 {
4046 PyThreadState* __tstate = wxPyBeginAllowThreads();
4047 (arg1)->PopStatusText(arg2);
4048
4049 wxPyEndAllowThreads(__tstate);
4050 if (PyErr_Occurred()) SWIG_fail;
4051 }
4052 Py_INCREF(Py_None); resultobj = Py_None;
4053 return resultobj;
4054 fail:
4055 return NULL;
4056}
4057
4058
4059static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
4060 PyObject *resultobj;
4061 wxFrame *arg1 = (wxFrame *) 0 ;
4062 int arg2 ;
4063 PyObject * obj0 = 0 ;
4064 PyObject * obj1 = 0 ;
4065 char *kwnames[] = {
4066 (char *) "self",(char *) "n", NULL
4067 };
4068
4069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
4070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4072 arg2 = (int)SWIG_As_int(obj1);
4073 if (PyErr_Occurred()) SWIG_fail;
4074 {
4075 PyThreadState* __tstate = wxPyBeginAllowThreads();
4076 (arg1)->SetStatusBarPane(arg2);
4077
4078 wxPyEndAllowThreads(__tstate);
4079 if (PyErr_Occurred()) SWIG_fail;
4080 }
4081 Py_INCREF(Py_None); resultobj = Py_None;
4082 return resultobj;
4083 fail:
4084 return NULL;
4085}
4086
4087
4088static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
4089 PyObject *resultobj;
4090 wxFrame *arg1 = (wxFrame *) 0 ;
4091 int result;
4092 PyObject * obj0 = 0 ;
4093 char *kwnames[] = {
4094 (char *) "self", NULL
4095 };
4096
4097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
4098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4100 {
4101 PyThreadState* __tstate = wxPyBeginAllowThreads();
4102 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
4103
4104 wxPyEndAllowThreads(__tstate);
4105 if (PyErr_Occurred()) SWIG_fail;
4106 }
4107 resultobj = SWIG_From_int((int)result);
4108 return resultobj;
4109 fail:
4110 return NULL;
4111}
4112
4113
4114static PyObject *_wrap_Frame_CreateToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
4115 PyObject *resultobj;
4116 wxFrame *arg1 = (wxFrame *) 0 ;
4117 long arg2 = (long) -1 ;
4118 int arg3 = (int) -1 ;
4119 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
4120 wxString *arg4 = (wxString *) &arg4_defvalue ;
4121 wxToolBar *result;
4122 bool temp4 = false ;
4123 PyObject * obj0 = 0 ;
4124 PyObject * obj1 = 0 ;
4125 PyObject * obj2 = 0 ;
4126 PyObject * obj3 = 0 ;
4127 char *kwnames[] = {
4128 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
4129 };
4130
4131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4134 if (obj1) {
4135 arg2 = (long)SWIG_As_long(obj1);
4136 if (PyErr_Occurred()) SWIG_fail;
4137 }
4138 if (obj2) {
4139 arg3 = (int)SWIG_As_int(obj2);
4140 if (PyErr_Occurred()) SWIG_fail;
4141 }
4142 if (obj3) {
4143 {
4144 arg4 = wxString_in_helper(obj3);
4145 if (arg4 == NULL) SWIG_fail;
4146 temp4 = true;
4147 }
4148 }
4149 {
4150 PyThreadState* __tstate = wxPyBeginAllowThreads();
4151 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
4152
4153 wxPyEndAllowThreads(__tstate);
4154 if (PyErr_Occurred()) SWIG_fail;
4155 }
4156 {
4157 resultobj = wxPyMake_wxObject(result, 0);
4158 }
4159 {
4160 if (temp4)
4161 delete arg4;
4162 }
4163 return resultobj;
4164 fail:
4165 {
4166 if (temp4)
4167 delete arg4;
4168 }
4169 return NULL;
4170}
4171
4172
4173static PyObject *_wrap_Frame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
4174 PyObject *resultobj;
4175 wxFrame *arg1 = (wxFrame *) 0 ;
4176 wxToolBar *result;
4177 PyObject * obj0 = 0 ;
4178 char *kwnames[] = {
4179 (char *) "self", NULL
4180 };
4181
4182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
4183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4185 {
4186 PyThreadState* __tstate = wxPyBeginAllowThreads();
4187 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
4188
4189 wxPyEndAllowThreads(__tstate);
4190 if (PyErr_Occurred()) SWIG_fail;
4191 }
4192 {
4193 resultobj = wxPyMake_wxObject(result, 0);
4194 }
4195 return resultobj;
4196 fail:
4197 return NULL;
4198}
4199
4200
4201static PyObject *_wrap_Frame_SetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
4202 PyObject *resultobj;
4203 wxFrame *arg1 = (wxFrame *) 0 ;
4204 wxToolBar *arg2 = (wxToolBar *) 0 ;
4205 PyObject * obj0 = 0 ;
4206 PyObject * obj1 = 0 ;
4207 char *kwnames[] = {
4208 (char *) "self",(char *) "toolbar", NULL
4209 };
4210
4211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
4212 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4214 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar,
4215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4216 {
4217 PyThreadState* __tstate = wxPyBeginAllowThreads();
4218 (arg1)->SetToolBar(arg2);
4219
4220 wxPyEndAllowThreads(__tstate);
4221 if (PyErr_Occurred()) SWIG_fail;
4222 }
4223 Py_INCREF(Py_None); resultobj = Py_None;
4224 return resultobj;
4225 fail:
4226 return NULL;
4227}
4228
4229
4230static PyObject *_wrap_Frame_DoGiveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
4231 PyObject *resultobj;
4232 wxFrame *arg1 = (wxFrame *) 0 ;
4233 wxString *arg2 = 0 ;
4234 bool arg3 ;
4235 bool temp2 = false ;
4236 PyObject * obj0 = 0 ;
4237 PyObject * obj1 = 0 ;
4238 PyObject * obj2 = 0 ;
4239 char *kwnames[] = {
4240 (char *) "self",(char *) "text",(char *) "show", NULL
4241 };
4242
4243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
4244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4246 {
4247 arg2 = wxString_in_helper(obj1);
4248 if (arg2 == NULL) SWIG_fail;
4249 temp2 = true;
4250 }
4251 arg3 = (bool)SWIG_As_bool(obj2);
4252 if (PyErr_Occurred()) SWIG_fail;
4253 {
4254 PyThreadState* __tstate = wxPyBeginAllowThreads();
4255 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
4256
4257 wxPyEndAllowThreads(__tstate);
4258 if (PyErr_Occurred()) SWIG_fail;
4259 }
4260 Py_INCREF(Py_None); resultobj = Py_None;
4261 {
4262 if (temp2)
4263 delete arg2;
4264 }
4265 return resultobj;
4266 fail:
4267 {
4268 if (temp2)
4269 delete arg2;
4270 }
4271 return NULL;
4272}
4273
4274
4275static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *, PyObject *args, PyObject *kwargs) {
4276 PyObject *resultobj;
4277 wxFrame *arg1 = (wxFrame *) 0 ;
4278 wxMenu *arg2 = (wxMenu *) NULL ;
4279 PyObject * obj0 = 0 ;
4280 PyObject * obj1 = 0 ;
4281 char *kwnames[] = {
4282 (char *) "self",(char *) "menu", NULL
4283 };
4284
4285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
4286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4288 if (obj1) {
4289 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
4290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4291 }
4292 {
4293 PyThreadState* __tstate = wxPyBeginAllowThreads();
4294 (arg1)->DoMenuUpdates(arg2);
4295
4296 wxPyEndAllowThreads(__tstate);
4297 if (PyErr_Occurred()) SWIG_fail;
4298 }
4299 Py_INCREF(Py_None); resultobj = Py_None;
4300 return resultobj;
4301 fail:
4302 return NULL;
4303}
4304
4305
4306static PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
4307 PyObject *resultobj;
4308 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4309 wxVisualAttributes result;
4310 PyObject * obj0 = 0 ;
4311 char *kwnames[] = {
4312 (char *) "variant", NULL
4313 };
4314
4315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4316 if (obj0) {
4317 arg1 = (int)SWIG_As_int(obj0);
4318 if (PyErr_Occurred()) SWIG_fail;
4319 }
4320 {
4321 if (!wxPyCheckForApp()) SWIG_fail;
4322 PyThreadState* __tstate = wxPyBeginAllowThreads();
4323 result = wxFrame::GetClassDefaultAttributes((wxWindowVariant )arg1);
4324
4325 wxPyEndAllowThreads(__tstate);
4326 if (PyErr_Occurred()) SWIG_fail;
4327 }
4328 {
4329 wxVisualAttributes * resultptr;
4330 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4331 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4332 }
4333 return resultobj;
4334 fail:
4335 return NULL;
4336}
4337
4338
4339static PyObject * Frame_swigregister(PyObject *, PyObject *args) {
4340 PyObject *obj;
4341 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4342 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
4343 Py_INCREF(obj);
4344 return Py_BuildValue((char *)"");
4345}
4346static PyObject *_wrap_new_Dialog(PyObject *, PyObject *args, PyObject *kwargs) {
4347 PyObject *resultobj;
4348 wxWindow *arg1 = (wxWindow *) 0 ;
4349 int arg2 = (int) (int)-1 ;
4350 wxString const &arg3_defvalue = wxPyEmptyString ;
4351 wxString *arg3 = (wxString *) &arg3_defvalue ;
4352 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4353 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4354 wxSize const &arg5_defvalue = wxDefaultSize ;
4355 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4356 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
4357 wxString const &arg7_defvalue = wxPyDialogNameStr ;
4358 wxString *arg7 = (wxString *) &arg7_defvalue ;
4359 wxDialog *result;
4360 bool temp3 = false ;
4361 wxPoint temp4 ;
4362 wxSize temp5 ;
4363 bool temp7 = false ;
4364 PyObject * obj0 = 0 ;
4365 PyObject * obj1 = 0 ;
4366 PyObject * obj2 = 0 ;
4367 PyObject * obj3 = 0 ;
4368 PyObject * obj4 = 0 ;
4369 PyObject * obj5 = 0 ;
4370 PyObject * obj6 = 0 ;
4371 char *kwnames[] = {
4372 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4373 };
4374
4375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4378 if (obj1) {
4379 arg2 = (int)SWIG_As_int(obj1);
4380 if (PyErr_Occurred()) SWIG_fail;
4381 }
4382 if (obj2) {
4383 {
4384 arg3 = wxString_in_helper(obj2);
4385 if (arg3 == NULL) SWIG_fail;
4386 temp3 = true;
4387 }
4388 }
4389 if (obj3) {
4390 {
4391 arg4 = &temp4;
4392 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4393 }
4394 }
4395 if (obj4) {
4396 {
4397 arg5 = &temp5;
4398 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4399 }
4400 }
4401 if (obj5) {
4402 arg6 = (long)SWIG_As_long(obj5);
4403 if (PyErr_Occurred()) SWIG_fail;
4404 }
4405 if (obj6) {
4406 {
4407 arg7 = wxString_in_helper(obj6);
4408 if (arg7 == NULL) SWIG_fail;
4409 temp7 = true;
4410 }
4411 }
4412 {
4413 if (!wxPyCheckForApp()) SWIG_fail;
4414 PyThreadState* __tstate = wxPyBeginAllowThreads();
4415 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4416
4417 wxPyEndAllowThreads(__tstate);
4418 if (PyErr_Occurred()) SWIG_fail;
4419 }
4420 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
4421 {
4422 if (temp3)
4423 delete arg3;
4424 }
4425 {
4426 if (temp7)
4427 delete arg7;
4428 }
4429 return resultobj;
4430 fail:
4431 {
4432 if (temp3)
4433 delete arg3;
4434 }
4435 {
4436 if (temp7)
4437 delete arg7;
4438 }
4439 return NULL;
4440}
4441
4442
4443static PyObject *_wrap_new_PreDialog(PyObject *, PyObject *args, PyObject *kwargs) {
4444 PyObject *resultobj;
4445 wxDialog *result;
4446 char *kwnames[] = {
4447 NULL
4448 };
4449
4450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
4451 {
4452 if (!wxPyCheckForApp()) SWIG_fail;
4453 PyThreadState* __tstate = wxPyBeginAllowThreads();
4454 result = (wxDialog *)new wxDialog();
4455
4456 wxPyEndAllowThreads(__tstate);
4457 if (PyErr_Occurred()) SWIG_fail;
4458 }
4459 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
4460 return resultobj;
4461 fail:
4462 return NULL;
4463}
4464
4465
4466static PyObject *_wrap_Dialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4467 PyObject *resultobj;
4468 wxDialog *arg1 = (wxDialog *) 0 ;
4469 wxWindow *arg2 = (wxWindow *) 0 ;
4470 int arg3 = (int) (int)-1 ;
4471 wxString const &arg4_defvalue = wxPyEmptyString ;
4472 wxString *arg4 = (wxString *) &arg4_defvalue ;
4473 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4474 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4475 wxSize const &arg6_defvalue = wxDefaultSize ;
4476 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4477 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
4478 wxString const &arg8_defvalue = wxPyDialogNameStr ;
4479 wxString *arg8 = (wxString *) &arg8_defvalue ;
4480 bool result;
4481 bool temp4 = false ;
4482 wxPoint temp5 ;
4483 wxSize temp6 ;
4484 bool temp8 = false ;
4485 PyObject * obj0 = 0 ;
4486 PyObject * obj1 = 0 ;
4487 PyObject * obj2 = 0 ;
4488 PyObject * obj3 = 0 ;
4489 PyObject * obj4 = 0 ;
4490 PyObject * obj5 = 0 ;
4491 PyObject * obj6 = 0 ;
4492 PyObject * obj7 = 0 ;
4493 char *kwnames[] = {
4494 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4495 };
4496
4497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4500 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4502 if (obj2) {
4503 arg3 = (int)SWIG_As_int(obj2);
4504 if (PyErr_Occurred()) SWIG_fail;
4505 }
4506 if (obj3) {
4507 {
4508 arg4 = wxString_in_helper(obj3);
4509 if (arg4 == NULL) SWIG_fail;
4510 temp4 = true;
4511 }
4512 }
4513 if (obj4) {
4514 {
4515 arg5 = &temp5;
4516 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4517 }
4518 }
4519 if (obj5) {
4520 {
4521 arg6 = &temp6;
4522 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4523 }
4524 }
4525 if (obj6) {
4526 arg7 = (long)SWIG_As_long(obj6);
4527 if (PyErr_Occurred()) SWIG_fail;
4528 }
4529 if (obj7) {
4530 {
4531 arg8 = wxString_in_helper(obj7);
4532 if (arg8 == NULL) SWIG_fail;
4533 temp8 = true;
4534 }
4535 }
4536 {
4537 PyThreadState* __tstate = wxPyBeginAllowThreads();
4538 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4539
4540 wxPyEndAllowThreads(__tstate);
4541 if (PyErr_Occurred()) SWIG_fail;
4542 }
4543 {
4544 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4545 }
4546 {
4547 if (temp4)
4548 delete arg4;
4549 }
4550 {
4551 if (temp8)
4552 delete arg8;
4553 }
4554 return resultobj;
4555 fail:
4556 {
4557 if (temp4)
4558 delete arg4;
4559 }
4560 {
4561 if (temp8)
4562 delete arg8;
4563 }
4564 return NULL;
4565}
4566
4567
4568static PyObject *_wrap_Dialog_SetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
4569 PyObject *resultobj;
4570 wxDialog *arg1 = (wxDialog *) 0 ;
4571 int arg2 ;
4572 PyObject * obj0 = 0 ;
4573 PyObject * obj1 = 0 ;
4574 char *kwnames[] = {
4575 (char *) "self",(char *) "returnCode", NULL
4576 };
4577
4578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
4579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4581 arg2 = (int)SWIG_As_int(obj1);
4582 if (PyErr_Occurred()) SWIG_fail;
4583 {
4584 PyThreadState* __tstate = wxPyBeginAllowThreads();
4585 (arg1)->SetReturnCode(arg2);
4586
4587 wxPyEndAllowThreads(__tstate);
4588 if (PyErr_Occurred()) SWIG_fail;
4589 }
4590 Py_INCREF(Py_None); resultobj = Py_None;
4591 return resultobj;
4592 fail:
4593 return NULL;
4594}
4595
4596
4597static PyObject *_wrap_Dialog_GetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
4598 PyObject *resultobj;
4599 wxDialog *arg1 = (wxDialog *) 0 ;
4600 int result;
4601 PyObject * obj0 = 0 ;
4602 char *kwnames[] = {
4603 (char *) "self", NULL
4604 };
4605
4606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
4607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4609 {
4610 PyThreadState* __tstate = wxPyBeginAllowThreads();
4611 result = (int)((wxDialog const *)arg1)->GetReturnCode();
4612
4613 wxPyEndAllowThreads(__tstate);
4614 if (PyErr_Occurred()) SWIG_fail;
4615 }
4616 resultobj = SWIG_From_int((int)result);
4617 return resultobj;
4618 fail:
4619 return NULL;
4620}
4621
4622
4623static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *, PyObject *args, PyObject *kwargs) {
4624 PyObject *resultobj;
4625 wxDialog *arg1 = (wxDialog *) 0 ;
4626 wxString *arg2 = 0 ;
4627 wxSizer *result;
4628 bool temp2 = false ;
4629 PyObject * obj0 = 0 ;
4630 PyObject * obj1 = 0 ;
4631 char *kwnames[] = {
4632 (char *) "self",(char *) "message", NULL
4633 };
4634
4635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
4636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4638 {
4639 arg2 = wxString_in_helper(obj1);
4640 if (arg2 == NULL) SWIG_fail;
4641 temp2 = true;
4642 }
4643 {
4644 PyThreadState* __tstate = wxPyBeginAllowThreads();
4645 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
4646
4647 wxPyEndAllowThreads(__tstate);
4648 if (PyErr_Occurred()) SWIG_fail;
4649 }
4650 {
4651 resultobj = wxPyMake_wxSizer(result, 0);
4652 }
4653 {
4654 if (temp2)
4655 delete arg2;
4656 }
4657 return resultobj;
4658 fail:
4659 {
4660 if (temp2)
4661 delete arg2;
4662 }
4663 return NULL;
4664}
4665
4666
4667static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
4668 PyObject *resultobj;
4669 wxDialog *arg1 = (wxDialog *) 0 ;
4670 long arg2 ;
4671 wxSizer *result;
4672 PyObject * obj0 = 0 ;
4673 PyObject * obj1 = 0 ;
4674 char *kwnames[] = {
4675 (char *) "self",(char *) "flags", NULL
4676 };
4677
4678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail;
4679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4681 arg2 = (long)SWIG_As_long(obj1);
4682 if (PyErr_Occurred()) SWIG_fail;
4683 {
4684 PyThreadState* __tstate = wxPyBeginAllowThreads();
4685 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
4686
4687 wxPyEndAllowThreads(__tstate);
4688 if (PyErr_Occurred()) SWIG_fail;
4689 }
4690 {
4691 resultobj = wxPyMake_wxSizer(result, 0);
4692 }
4693 return resultobj;
4694 fail:
4695 return NULL;
4696}
4697
4698
4699static PyObject *_wrap_Dialog_IsModal(PyObject *, PyObject *args, PyObject *kwargs) {
4700 PyObject *resultobj;
4701 wxDialog *arg1 = (wxDialog *) 0 ;
4702 bool result;
4703 PyObject * obj0 = 0 ;
4704 char *kwnames[] = {
4705 (char *) "self", NULL
4706 };
4707
4708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
4709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4711 {
4712 PyThreadState* __tstate = wxPyBeginAllowThreads();
4713 result = (bool)((wxDialog const *)arg1)->IsModal();
4714
4715 wxPyEndAllowThreads(__tstate);
4716 if (PyErr_Occurred()) SWIG_fail;
4717 }
4718 {
4719 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4720 }
4721 return resultobj;
4722 fail:
4723 return NULL;
4724}
4725
4726
4727static PyObject *_wrap_Dialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
4728 PyObject *resultobj;
4729 wxDialog *arg1 = (wxDialog *) 0 ;
4730 int result;
4731 PyObject * obj0 = 0 ;
4732 char *kwnames[] = {
4733 (char *) "self", NULL
4734 };
4735
4736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
4737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4739 {
4740 PyThreadState* __tstate = wxPyBeginAllowThreads();
4741 result = (int)(arg1)->ShowModal();
4742
4743 wxPyEndAllowThreads(__tstate);
4744 if (PyErr_Occurred()) SWIG_fail;
4745 }
4746 resultobj = SWIG_From_int((int)result);
4747 return resultobj;
4748 fail:
4749 return NULL;
4750}
4751
4752
4753static PyObject *_wrap_Dialog_EndModal(PyObject *, PyObject *args, PyObject *kwargs) {
4754 PyObject *resultobj;
4755 wxDialog *arg1 = (wxDialog *) 0 ;
4756 int arg2 ;
4757 PyObject * obj0 = 0 ;
4758 PyObject * obj1 = 0 ;
4759 char *kwnames[] = {
4760 (char *) "self",(char *) "retCode", NULL
4761 };
4762
4763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
4764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4766 arg2 = (int)SWIG_As_int(obj1);
4767 if (PyErr_Occurred()) SWIG_fail;
4768 {
4769 PyThreadState* __tstate = wxPyBeginAllowThreads();
4770 (arg1)->EndModal(arg2);
4771
4772 wxPyEndAllowThreads(__tstate);
4773 if (PyErr_Occurred()) SWIG_fail;
4774 }
4775 Py_INCREF(Py_None); resultobj = Py_None;
4776 return resultobj;
4777 fail:
4778 return NULL;
4779}
4780
4781
4782static PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
4783 PyObject *resultobj;
4784 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4785 wxVisualAttributes result;
4786 PyObject * obj0 = 0 ;
4787 char *kwnames[] = {
4788 (char *) "variant", NULL
4789 };
4790
4791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4792 if (obj0) {
4793 arg1 = (int)SWIG_As_int(obj0);
4794 if (PyErr_Occurred()) SWIG_fail;
4795 }
4796 {
4797 if (!wxPyCheckForApp()) SWIG_fail;
4798 PyThreadState* __tstate = wxPyBeginAllowThreads();
4799 result = wxDialog::GetClassDefaultAttributes((wxWindowVariant )arg1);
4800
4801 wxPyEndAllowThreads(__tstate);
4802 if (PyErr_Occurred()) SWIG_fail;
4803 }
4804 {
4805 wxVisualAttributes * resultptr;
4806 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4807 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4808 }
4809 return resultobj;
4810 fail:
4811 return NULL;
4812}
4813
4814
4815static PyObject * Dialog_swigregister(PyObject *, PyObject *args) {
4816 PyObject *obj;
4817 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4818 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
4819 Py_INCREF(obj);
4820 return Py_BuildValue((char *)"");
4821}
4822static PyObject *_wrap_new_MiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
4823 PyObject *resultobj;
4824 wxWindow *arg1 = (wxWindow *) 0 ;
4825 int arg2 = (int) (int)-1 ;
4826 wxString const &arg3_defvalue = wxPyEmptyString ;
4827 wxString *arg3 = (wxString *) &arg3_defvalue ;
4828 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4829 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4830 wxSize const &arg5_defvalue = wxDefaultSize ;
4831 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4832 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4833 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4834 wxString *arg7 = (wxString *) &arg7_defvalue ;
4835 wxMiniFrame *result;
4836 bool temp3 = false ;
4837 wxPoint temp4 ;
4838 wxSize temp5 ;
4839 bool temp7 = false ;
4840 PyObject * obj0 = 0 ;
4841 PyObject * obj1 = 0 ;
4842 PyObject * obj2 = 0 ;
4843 PyObject * obj3 = 0 ;
4844 PyObject * obj4 = 0 ;
4845 PyObject * obj5 = 0 ;
4846 PyObject * obj6 = 0 ;
4847 char *kwnames[] = {
4848 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4849 };
4850
4851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4854 if (obj1) {
4855 arg2 = (int)SWIG_As_int(obj1);
4856 if (PyErr_Occurred()) SWIG_fail;
4857 }
4858 if (obj2) {
4859 {
4860 arg3 = wxString_in_helper(obj2);
4861 if (arg3 == NULL) SWIG_fail;
4862 temp3 = true;
4863 }
4864 }
4865 if (obj3) {
4866 {
4867 arg4 = &temp4;
4868 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4869 }
4870 }
4871 if (obj4) {
4872 {
4873 arg5 = &temp5;
4874 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4875 }
4876 }
4877 if (obj5) {
4878 arg6 = (long)SWIG_As_long(obj5);
4879 if (PyErr_Occurred()) SWIG_fail;
4880 }
4881 if (obj6) {
4882 {
4883 arg7 = wxString_in_helper(obj6);
4884 if (arg7 == NULL) SWIG_fail;
4885 temp7 = true;
4886 }
4887 }
4888 {
4889 if (!wxPyCheckForApp()) SWIG_fail;
4890 PyThreadState* __tstate = wxPyBeginAllowThreads();
4891 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4892
4893 wxPyEndAllowThreads(__tstate);
4894 if (PyErr_Occurred()) SWIG_fail;
4895 }
4896 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4897 {
4898 if (temp3)
4899 delete arg3;
4900 }
4901 {
4902 if (temp7)
4903 delete arg7;
4904 }
4905 return resultobj;
4906 fail:
4907 {
4908 if (temp3)
4909 delete arg3;
4910 }
4911 {
4912 if (temp7)
4913 delete arg7;
4914 }
4915 return NULL;
4916}
4917
4918
4919static PyObject *_wrap_new_PreMiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
4920 PyObject *resultobj;
4921 wxMiniFrame *result;
4922 char *kwnames[] = {
4923 NULL
4924 };
4925
4926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
4927 {
4928 if (!wxPyCheckForApp()) SWIG_fail;
4929 PyThreadState* __tstate = wxPyBeginAllowThreads();
4930 result = (wxMiniFrame *)new wxMiniFrame();
4931
4932 wxPyEndAllowThreads(__tstate);
4933 if (PyErr_Occurred()) SWIG_fail;
4934 }
4935 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4936 return resultobj;
4937 fail:
4938 return NULL;
4939}
4940
4941
4942static PyObject *_wrap_MiniFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4943 PyObject *resultobj;
4944 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
4945 wxWindow *arg2 = (wxWindow *) 0 ;
4946 int arg3 = (int) (int)-1 ;
4947 wxString const &arg4_defvalue = wxPyEmptyString ;
4948 wxString *arg4 = (wxString *) &arg4_defvalue ;
4949 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4950 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4951 wxSize const &arg6_defvalue = wxDefaultSize ;
4952 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4953 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4954 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4955 wxString *arg8 = (wxString *) &arg8_defvalue ;
4956 bool result;
4957 bool temp4 = false ;
4958 wxPoint temp5 ;
4959 wxSize temp6 ;
4960 bool temp8 = false ;
4961 PyObject * obj0 = 0 ;
4962 PyObject * obj1 = 0 ;
4963 PyObject * obj2 = 0 ;
4964 PyObject * obj3 = 0 ;
4965 PyObject * obj4 = 0 ;
4966 PyObject * obj5 = 0 ;
4967 PyObject * obj6 = 0 ;
4968 PyObject * obj7 = 0 ;
4969 char *kwnames[] = {
4970 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4971 };
4972
4973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMiniFrame,
4975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4976 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4978 if (obj2) {
4979 arg3 = (int)SWIG_As_int(obj2);
4980 if (PyErr_Occurred()) SWIG_fail;
4981 }
4982 if (obj3) {
4983 {
4984 arg4 = wxString_in_helper(obj3);
4985 if (arg4 == NULL) SWIG_fail;
4986 temp4 = true;
4987 }
4988 }
4989 if (obj4) {
4990 {
4991 arg5 = &temp5;
4992 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4993 }
4994 }
4995 if (obj5) {
4996 {
4997 arg6 = &temp6;
4998 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4999 }
5000 }
5001 if (obj6) {
5002 arg7 = (long)SWIG_As_long(obj6);
5003 if (PyErr_Occurred()) SWIG_fail;
5004 }
5005 if (obj7) {
5006 {
5007 arg8 = wxString_in_helper(obj7);
5008 if (arg8 == NULL) SWIG_fail;
5009 temp8 = true;
5010 }
5011 }
5012 {
5013 PyThreadState* __tstate = wxPyBeginAllowThreads();
5014 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
5015
5016 wxPyEndAllowThreads(__tstate);
5017 if (PyErr_Occurred()) SWIG_fail;
5018 }
5019 {
5020 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5021 }
5022 {
5023 if (temp4)
5024 delete arg4;
5025 }
5026 {
5027 if (temp8)
5028 delete arg8;
5029 }
5030 return resultobj;
5031 fail:
5032 {
5033 if (temp4)
5034 delete arg4;
5035 }
5036 {
5037 if (temp8)
5038 delete arg8;
5039 }
5040 return NULL;
5041}
5042
5043
5044static PyObject * MiniFrame_swigregister(PyObject *, PyObject *args) {
5045 PyObject *obj;
5046 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5047 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
5048 Py_INCREF(obj);
5049 return Py_BuildValue((char *)"");
5050}
5051static PyObject *_wrap_new_SplashScreenWindow(PyObject *, PyObject *args, PyObject *kwargs) {
5052 PyObject *resultobj;
5053 wxBitmap *arg1 = 0 ;
5054 wxWindow *arg2 = (wxWindow *) 0 ;
5055 int arg3 ;
5056 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5057 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5058 wxSize const &arg5_defvalue = wxDefaultSize ;
5059 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5060 long arg6 = (long) wxNO_BORDER ;
5061 wxSplashScreenWindow *result;
5062 wxPoint temp4 ;
5063 wxSize temp5 ;
5064 PyObject * obj0 = 0 ;
5065 PyObject * obj1 = 0 ;
5066 PyObject * obj2 = 0 ;
5067 PyObject * obj3 = 0 ;
5068 PyObject * obj4 = 0 ;
5069 PyObject * obj5 = 0 ;
5070 char *kwnames[] = {
5071 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
5072 };
5073
5074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
5075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
5076 SWIG_POINTER_EXCEPTION | 0)) == -1)
5077 SWIG_fail;
5078 if (arg1 == NULL) {
5079 PyErr_SetString(PyExc_TypeError,"null reference");
5080 SWIG_fail;
5081 }
5082 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5084 arg3 = (int)SWIG_As_int(obj2);
5085 if (PyErr_Occurred()) SWIG_fail;
5086 if (obj3) {
5087 {
5088 arg4 = &temp4;
5089 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5090 }
5091 }
5092 if (obj4) {
5093 {
5094 arg5 = &temp5;
5095 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5096 }
5097 }
5098 if (obj5) {
5099 arg6 = (long)SWIG_As_long(obj5);
5100 if (PyErr_Occurred()) SWIG_fail;
5101 }
5102 {
5103 if (!wxPyCheckForApp()) SWIG_fail;
5104 PyThreadState* __tstate = wxPyBeginAllowThreads();
5105 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
5106
5107 wxPyEndAllowThreads(__tstate);
5108 if (PyErr_Occurred()) SWIG_fail;
5109 }
5110 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
5111 return resultobj;
5112 fail:
5113 return NULL;
5114}
5115
5116
5117static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
5118 PyObject *resultobj;
5119 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
5120 wxBitmap *arg2 = 0 ;
5121 PyObject * obj0 = 0 ;
5122 PyObject * obj1 = 0 ;
5123 char *kwnames[] = {
5124 (char *) "self",(char *) "bitmap", NULL
5125 };
5126
5127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
5128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
5129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5130 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
5131 SWIG_POINTER_EXCEPTION | 0)) == -1)
5132 SWIG_fail;
5133 if (arg2 == NULL) {
5134 PyErr_SetString(PyExc_TypeError,"null reference");
5135 SWIG_fail;
5136 }
5137 {
5138 PyThreadState* __tstate = wxPyBeginAllowThreads();
5139 (arg1)->SetBitmap((wxBitmap const &)*arg2);
5140
5141 wxPyEndAllowThreads(__tstate);
5142 if (PyErr_Occurred()) SWIG_fail;
5143 }
5144 Py_INCREF(Py_None); resultobj = Py_None;
5145 return resultobj;
5146 fail:
5147 return NULL;
5148}
5149
5150
5151static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
5152 PyObject *resultobj;
5153 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
5154 wxBitmap *result;
5155 PyObject * obj0 = 0 ;
5156 char *kwnames[] = {
5157 (char *) "self", NULL
5158 };
5159
5160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
5161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
5162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5163 {
5164 PyThreadState* __tstate = wxPyBeginAllowThreads();
5165 {
5166 wxBitmap &_result_ref = (arg1)->GetBitmap();
5167 result = (wxBitmap *) &_result_ref;
5168 }
5169
5170 wxPyEndAllowThreads(__tstate);
5171 if (PyErr_Occurred()) SWIG_fail;
5172 }
5173 {
5174 wxBitmap* resultptr = new wxBitmap(*result);
5175 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
5176 }
5177 return resultobj;
5178 fail:
5179 return NULL;
5180}
5181
5182
5183static PyObject * SplashScreenWindow_swigregister(PyObject *, PyObject *args) {
5184 PyObject *obj;
5185 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5186 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
5187 Py_INCREF(obj);
5188 return Py_BuildValue((char *)"");
5189}
5190static PyObject *_wrap_new_SplashScreen(PyObject *, PyObject *args, PyObject *kwargs) {
5191 PyObject *resultobj;
5192 wxBitmap *arg1 = 0 ;
5193 long arg2 ;
5194 int arg3 ;
5195 wxWindow *arg4 = (wxWindow *) 0 ;
5196 int arg5 = (int) -1 ;
5197 wxPoint const &arg6_defvalue = wxDefaultPosition ;
5198 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
5199 wxSize const &arg7_defvalue = wxDefaultSize ;
5200 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
5201 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
5202 wxSplashScreen *result;
5203 wxPoint temp6 ;
5204 wxSize temp7 ;
5205 PyObject * obj0 = 0 ;
5206 PyObject * obj1 = 0 ;
5207 PyObject * obj2 = 0 ;
5208 PyObject * obj3 = 0 ;
5209 PyObject * obj4 = 0 ;
5210 PyObject * obj5 = 0 ;
5211 PyObject * obj6 = 0 ;
5212 PyObject * obj7 = 0 ;
5213 char *kwnames[] = {
5214 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
5215 };
5216
5217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
5219 SWIG_POINTER_EXCEPTION | 0)) == -1)
5220 SWIG_fail;
5221 if (arg1 == NULL) {
5222 PyErr_SetString(PyExc_TypeError,"null reference");
5223 SWIG_fail;
5224 }
5225 arg2 = (long)SWIG_As_long(obj1);
5226 if (PyErr_Occurred()) SWIG_fail;
5227 arg3 = (int)SWIG_As_int(obj2);
5228 if (PyErr_Occurred()) SWIG_fail;
5229 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
5230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5231 if (obj4) {
5232 arg5 = (int)SWIG_As_int(obj4);
5233 if (PyErr_Occurred()) SWIG_fail;
5234 }
5235 if (obj5) {
5236 {
5237 arg6 = &temp6;
5238 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
5239 }
5240 }
5241 if (obj6) {
5242 {
5243 arg7 = &temp7;
5244 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
5245 }
5246 }
5247 if (obj7) {
5248 arg8 = (long)SWIG_As_long(obj7);
5249 if (PyErr_Occurred()) SWIG_fail;
5250 }
5251 {
5252 if (!wxPyCheckForApp()) SWIG_fail;
5253 PyThreadState* __tstate = wxPyBeginAllowThreads();
5254 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
5255
5256 wxPyEndAllowThreads(__tstate);
5257 if (PyErr_Occurred()) SWIG_fail;
5258 }
5259 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
5260 return resultobj;
5261 fail:
5262 return NULL;
5263}
5264
5265
5266static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *, PyObject *args, PyObject *kwargs) {
5267 PyObject *resultobj;
5268 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
5269 long result;
5270 PyObject * obj0 = 0 ;
5271 char *kwnames[] = {
5272 (char *) "self", NULL
5273 };
5274
5275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
5276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
5277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5278 {
5279 PyThreadState* __tstate = wxPyBeginAllowThreads();
5280 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
5281
5282 wxPyEndAllowThreads(__tstate);
5283 if (PyErr_Occurred()) SWIG_fail;
5284 }
5285 resultobj = SWIG_From_long((long)result);
5286 return resultobj;
5287 fail:
5288 return NULL;
5289}
5290
5291
5292static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
5293 PyObject *resultobj;
5294 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
5295 wxSplashScreenWindow *result;
5296 PyObject * obj0 = 0 ;
5297 char *kwnames[] = {
5298 (char *) "self", NULL
5299 };
5300
5301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
5302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
5303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5304 {
5305 PyThreadState* __tstate = wxPyBeginAllowThreads();
5306 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
5307
5308 wxPyEndAllowThreads(__tstate);
5309 if (PyErr_Occurred()) SWIG_fail;
5310 }
5311 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
5312 return resultobj;
5313 fail:
5314 return NULL;
5315}
5316
5317
5318static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *, PyObject *args, PyObject *kwargs) {
5319 PyObject *resultobj;
5320 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
5321 int result;
5322 PyObject * obj0 = 0 ;
5323 char *kwnames[] = {
5324 (char *) "self", NULL
5325 };
5326
5327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
5328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
5329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5330 {
5331 PyThreadState* __tstate = wxPyBeginAllowThreads();
5332 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
5333
5334 wxPyEndAllowThreads(__tstate);
5335 if (PyErr_Occurred()) SWIG_fail;
5336 }
5337 resultobj = SWIG_From_int((int)result);
5338 return resultobj;
5339 fail:
5340 return NULL;
5341}
5342
5343
5344static PyObject * SplashScreen_swigregister(PyObject *, PyObject *args) {
5345 PyObject *obj;
5346 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5347 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
5348 Py_INCREF(obj);
5349 return Py_BuildValue((char *)"");
5350}
5351static PyObject *_wrap_new_StatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
5352 PyObject *resultobj;
5353 wxWindow *arg1 = (wxWindow *) 0 ;
5354 int arg2 = (int) -1 ;
5355 long arg3 = (long) wxST_SIZEGRIP ;
5356 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
5357 wxString *arg4 = (wxString *) &arg4_defvalue ;
5358 wxStatusBar *result;
5359 bool temp4 = false ;
5360 PyObject * obj0 = 0 ;
5361 PyObject * obj1 = 0 ;
5362 PyObject * obj2 = 0 ;
5363 PyObject * obj3 = 0 ;
5364 char *kwnames[] = {
5365 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5366 };
5367
5368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5371 if (obj1) {
5372 arg2 = (int)SWIG_As_int(obj1);
5373 if (PyErr_Occurred()) SWIG_fail;
5374 }
5375 if (obj2) {
5376 arg3 = (long)SWIG_As_long(obj2);
5377 if (PyErr_Occurred()) SWIG_fail;
5378 }
5379 if (obj3) {
5380 {
5381 arg4 = wxString_in_helper(obj3);
5382 if (arg4 == NULL) SWIG_fail;
5383 temp4 = true;
5384 }
5385 }
5386 {
5387 if (!wxPyCheckForApp()) SWIG_fail;
5388 PyThreadState* __tstate = wxPyBeginAllowThreads();
5389 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
5390
5391 wxPyEndAllowThreads(__tstate);
5392 if (PyErr_Occurred()) SWIG_fail;
5393 }
5394 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
5395 {
5396 if (temp4)
5397 delete arg4;
5398 }
5399 return resultobj;
5400 fail:
5401 {
5402 if (temp4)
5403 delete arg4;
5404 }
5405 return NULL;
5406}
5407
5408
5409static PyObject *_wrap_new_PreStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
5410 PyObject *resultobj;
5411 wxStatusBar *result;
5412 char *kwnames[] = {
5413 NULL
5414 };
5415
5416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
5417 {
5418 if (!wxPyCheckForApp()) SWIG_fail;
5419 PyThreadState* __tstate = wxPyBeginAllowThreads();
5420 result = (wxStatusBar *)new wxStatusBar();
5421
5422 wxPyEndAllowThreads(__tstate);
5423 if (PyErr_Occurred()) SWIG_fail;
5424 }
5425 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
5426 return resultobj;
5427 fail:
5428 return NULL;
5429}
5430
5431
5432static PyObject *_wrap_StatusBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
5433 PyObject *resultobj;
5434 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5435 wxWindow *arg2 = (wxWindow *) 0 ;
5436 int arg3 = (int) -1 ;
5437 long arg4 = (long) wxST_SIZEGRIP ;
5438 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
5439 wxString *arg5 = (wxString *) &arg5_defvalue ;
5440 bool result;
5441 bool temp5 = false ;
5442 PyObject * obj0 = 0 ;
5443 PyObject * obj1 = 0 ;
5444 PyObject * obj2 = 0 ;
5445 PyObject * obj3 = 0 ;
5446 PyObject * obj4 = 0 ;
5447 char *kwnames[] = {
5448 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5449 };
5450
5451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
5452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5454 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5456 if (obj2) {
5457 arg3 = (int)SWIG_As_int(obj2);
5458 if (PyErr_Occurred()) SWIG_fail;
5459 }
5460 if (obj3) {
5461 arg4 = (long)SWIG_As_long(obj3);
5462 if (PyErr_Occurred()) SWIG_fail;
5463 }
5464 if (obj4) {
5465 {
5466 arg5 = wxString_in_helper(obj4);
5467 if (arg5 == NULL) SWIG_fail;
5468 temp5 = true;
5469 }
5470 }
5471 {
5472 PyThreadState* __tstate = wxPyBeginAllowThreads();
5473 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
5474
5475 wxPyEndAllowThreads(__tstate);
5476 if (PyErr_Occurred()) SWIG_fail;
5477 }
5478 {
5479 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5480 }
5481 {
5482 if (temp5)
5483 delete arg5;
5484 }
5485 return resultobj;
5486 fail:
5487 {
5488 if (temp5)
5489 delete arg5;
5490 }
5491 return NULL;
5492}
5493
5494
5495static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
5496 PyObject *resultobj;
5497 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5498 int arg2 = (int) 1 ;
5499 PyObject * obj0 = 0 ;
5500 PyObject * obj1 = 0 ;
5501 char *kwnames[] = {
5502 (char *) "self",(char *) "number", NULL
5503 };
5504
5505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
5506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5508 if (obj1) {
5509 arg2 = (int)SWIG_As_int(obj1);
5510 if (PyErr_Occurred()) SWIG_fail;
5511 }
5512 {
5513 PyThreadState* __tstate = wxPyBeginAllowThreads();
5514 (arg1)->SetFieldsCount(arg2);
5515
5516 wxPyEndAllowThreads(__tstate);
5517 if (PyErr_Occurred()) SWIG_fail;
5518 }
5519 Py_INCREF(Py_None); resultobj = Py_None;
5520 return resultobj;
5521 fail:
5522 return NULL;
5523}
5524
5525
5526static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
5527 PyObject *resultobj;
5528 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5529 int result;
5530 PyObject * obj0 = 0 ;
5531 char *kwnames[] = {
5532 (char *) "self", NULL
5533 };
5534
5535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
5536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5538 {
5539 PyThreadState* __tstate = wxPyBeginAllowThreads();
5540 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
5541
5542 wxPyEndAllowThreads(__tstate);
5543 if (PyErr_Occurred()) SWIG_fail;
5544 }
5545 resultobj = SWIG_From_int((int)result);
5546 return resultobj;
5547 fail:
5548 return NULL;
5549}
5550
5551
5552static PyObject *_wrap_StatusBar_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5553 PyObject *resultobj;
5554 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5555 wxString *arg2 = 0 ;
5556 int arg3 = (int) 0 ;
5557 bool temp2 = false ;
5558 PyObject * obj0 = 0 ;
5559 PyObject * obj1 = 0 ;
5560 PyObject * obj2 = 0 ;
5561 char *kwnames[] = {
5562 (char *) "self",(char *) "text",(char *) "number", NULL
5563 };
5564
5565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5568 {
5569 arg2 = wxString_in_helper(obj1);
5570 if (arg2 == NULL) SWIG_fail;
5571 temp2 = true;
5572 }
5573 if (obj2) {
5574 arg3 = (int)SWIG_As_int(obj2);
5575 if (PyErr_Occurred()) SWIG_fail;
5576 }
5577 {
5578 PyThreadState* __tstate = wxPyBeginAllowThreads();
5579 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
5580
5581 wxPyEndAllowThreads(__tstate);
5582 if (PyErr_Occurred()) SWIG_fail;
5583 }
5584 Py_INCREF(Py_None); resultobj = Py_None;
5585 {
5586 if (temp2)
5587 delete arg2;
5588 }
5589 return resultobj;
5590 fail:
5591 {
5592 if (temp2)
5593 delete arg2;
5594 }
5595 return NULL;
5596}
5597
5598
5599static PyObject *_wrap_StatusBar_GetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5600 PyObject *resultobj;
5601 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5602 int arg2 = (int) 0 ;
5603 wxString result;
5604 PyObject * obj0 = 0 ;
5605 PyObject * obj1 = 0 ;
5606 char *kwnames[] = {
5607 (char *) "self",(char *) "number", NULL
5608 };
5609
5610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
5611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5613 if (obj1) {
5614 arg2 = (int)SWIG_As_int(obj1);
5615 if (PyErr_Occurred()) SWIG_fail;
5616 }
5617 {
5618 PyThreadState* __tstate = wxPyBeginAllowThreads();
5619 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
5620
5621 wxPyEndAllowThreads(__tstate);
5622 if (PyErr_Occurred()) SWIG_fail;
5623 }
5624 {
5625#if wxUSE_UNICODE
5626 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5627#else
5628 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5629#endif
5630 }
5631 return resultobj;
5632 fail:
5633 return NULL;
5634}
5635
5636
5637static PyObject *_wrap_StatusBar_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5638 PyObject *resultobj;
5639 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5640 wxString *arg2 = 0 ;
5641 int arg3 = (int) 0 ;
5642 bool temp2 = false ;
5643 PyObject * obj0 = 0 ;
5644 PyObject * obj1 = 0 ;
5645 PyObject * obj2 = 0 ;
5646 char *kwnames[] = {
5647 (char *) "self",(char *) "text",(char *) "number", NULL
5648 };
5649
5650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5653 {
5654 arg2 = wxString_in_helper(obj1);
5655 if (arg2 == NULL) SWIG_fail;
5656 temp2 = true;
5657 }
5658 if (obj2) {
5659 arg3 = (int)SWIG_As_int(obj2);
5660 if (PyErr_Occurred()) SWIG_fail;
5661 }
5662 {
5663 PyThreadState* __tstate = wxPyBeginAllowThreads();
5664 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5665
5666 wxPyEndAllowThreads(__tstate);
5667 if (PyErr_Occurred()) SWIG_fail;
5668 }
5669 Py_INCREF(Py_None); resultobj = Py_None;
5670 {
5671 if (temp2)
5672 delete arg2;
5673 }
5674 return resultobj;
5675 fail:
5676 {
5677 if (temp2)
5678 delete arg2;
5679 }
5680 return NULL;
5681}
5682
5683
5684static PyObject *_wrap_StatusBar_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5685 PyObject *resultobj;
5686 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5687 int arg2 = (int) 0 ;
5688 PyObject * obj0 = 0 ;
5689 PyObject * obj1 = 0 ;
5690 char *kwnames[] = {
5691 (char *) "self",(char *) "number", NULL
5692 };
5693
5694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
5695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5697 if (obj1) {
5698 arg2 = (int)SWIG_As_int(obj1);
5699 if (PyErr_Occurred()) SWIG_fail;
5700 }
5701 {
5702 PyThreadState* __tstate = wxPyBeginAllowThreads();
5703 (arg1)->PopStatusText(arg2);
5704
5705 wxPyEndAllowThreads(__tstate);
5706 if (PyErr_Occurred()) SWIG_fail;
5707 }
5708 Py_INCREF(Py_None); resultobj = Py_None;
5709 return resultobj;
5710 fail:
5711 return NULL;
5712}
5713
5714
5715static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
5716 PyObject *resultobj;
5717 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5718 int arg2 ;
5719 int *arg3 = (int *) 0 ;
5720 PyObject * obj0 = 0 ;
5721 PyObject * obj1 = 0 ;
5722 char *kwnames[] = {
5723 (char *) "self",(char *) "widths", NULL
5724 };
5725
5726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
5727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5729 {
5730 arg2 = PyList_Size(obj1);
5731 arg3 = int_LIST_helper(obj1);
5732 if (arg3 == NULL) SWIG_fail;
5733 }
5734 {
5735 PyThreadState* __tstate = wxPyBeginAllowThreads();
5736 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5737
5738 wxPyEndAllowThreads(__tstate);
5739 if (PyErr_Occurred()) SWIG_fail;
5740 }
5741 Py_INCREF(Py_None); resultobj = Py_None;
5742 {
5743 if (arg3) delete [] arg3;
5744 }
5745 return resultobj;
5746 fail:
5747 {
5748 if (arg3) delete [] arg3;
5749 }
5750 return NULL;
5751}
5752
5753
5754static PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *, PyObject *args, PyObject *kwargs) {
5755 PyObject *resultobj;
5756 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5757 int arg2 ;
5758 int *arg3 = (int *) 0 ;
5759 PyObject * obj0 = 0 ;
5760 PyObject * obj1 = 0 ;
5761 char *kwnames[] = {
5762 (char *) "self",(char *) "styles", NULL
5763 };
5764
5765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) goto fail;
5766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5768 {
5769 arg2 = PyList_Size(obj1);
5770 arg3 = int_LIST_helper(obj1);
5771 if (arg3 == NULL) SWIG_fail;
5772 }
5773 {
5774 PyThreadState* __tstate = wxPyBeginAllowThreads();
5775 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
5776
5777 wxPyEndAllowThreads(__tstate);
5778 if (PyErr_Occurred()) SWIG_fail;
5779 }
5780 Py_INCREF(Py_None); resultobj = Py_None;
5781 {
5782 if (arg3) delete [] arg3;
5783 }
5784 return resultobj;
5785 fail:
5786 {
5787 if (arg3) delete [] arg3;
5788 }
5789 return NULL;
5790}
5791
5792
5793static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *, PyObject *args, PyObject *kwargs) {
5794 PyObject *resultobj;
5795 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5796 int arg2 ;
5797 wxRect result;
5798 PyObject * obj0 = 0 ;
5799 PyObject * obj1 = 0 ;
5800 char *kwnames[] = {
5801 (char *) "self",(char *) "i", NULL
5802 };
5803
5804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
5805 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5807 arg2 = (int)SWIG_As_int(obj1);
5808 if (PyErr_Occurred()) SWIG_fail;
5809 {
5810 PyThreadState* __tstate = wxPyBeginAllowThreads();
5811 result = wxStatusBar_GetFieldRect(arg1,arg2);
5812
5813 wxPyEndAllowThreads(__tstate);
5814 if (PyErr_Occurred()) SWIG_fail;
5815 }
5816 {
5817 wxRect * resultptr;
5818 resultptr = new wxRect((wxRect &) result);
5819 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
5820 }
5821 return resultobj;
5822 fail:
5823 return NULL;
5824}
5825
5826
5827static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) {
5828 PyObject *resultobj;
5829 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5830 int arg2 ;
5831 PyObject * obj0 = 0 ;
5832 PyObject * obj1 = 0 ;
5833 char *kwnames[] = {
5834 (char *) "self",(char *) "height", NULL
5835 };
5836
5837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
5838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5840 arg2 = (int)SWIG_As_int(obj1);
5841 if (PyErr_Occurred()) SWIG_fail;
5842 {
5843 PyThreadState* __tstate = wxPyBeginAllowThreads();
5844 (arg1)->SetMinHeight(arg2);
5845
5846 wxPyEndAllowThreads(__tstate);
5847 if (PyErr_Occurred()) SWIG_fail;
5848 }
5849 Py_INCREF(Py_None); resultobj = Py_None;
5850 return resultobj;
5851 fail:
5852 return NULL;
5853}
5854
5855
5856static PyObject *_wrap_StatusBar_GetBorderX(PyObject *, PyObject *args, PyObject *kwargs) {
5857 PyObject *resultobj;
5858 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5859 int result;
5860 PyObject * obj0 = 0 ;
5861 char *kwnames[] = {
5862 (char *) "self", NULL
5863 };
5864
5865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
5866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5868 {
5869 PyThreadState* __tstate = wxPyBeginAllowThreads();
5870 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
5871
5872 wxPyEndAllowThreads(__tstate);
5873 if (PyErr_Occurred()) SWIG_fail;
5874 }
5875 resultobj = SWIG_From_int((int)result);
5876 return resultobj;
5877 fail:
5878 return NULL;
5879}
5880
5881
5882static PyObject *_wrap_StatusBar_GetBorderY(PyObject *, PyObject *args, PyObject *kwargs) {
5883 PyObject *resultobj;
5884 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5885 int result;
5886 PyObject * obj0 = 0 ;
5887 char *kwnames[] = {
5888 (char *) "self", NULL
5889 };
5890
5891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
5892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5894 {
5895 PyThreadState* __tstate = wxPyBeginAllowThreads();
5896 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
5897
5898 wxPyEndAllowThreads(__tstate);
5899 if (PyErr_Occurred()) SWIG_fail;
5900 }
5901 resultobj = SWIG_From_int((int)result);
5902 return resultobj;
5903 fail:
5904 return NULL;
5905}
5906
5907
5908static PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
5909 PyObject *resultobj;
5910 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
5911 wxVisualAttributes result;
5912 PyObject * obj0 = 0 ;
5913 char *kwnames[] = {
5914 (char *) "variant", NULL
5915 };
5916
5917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5918 if (obj0) {
5919 arg1 = (int)SWIG_As_int(obj0);
5920 if (PyErr_Occurred()) SWIG_fail;
5921 }
5922 {
5923 if (!wxPyCheckForApp()) SWIG_fail;
5924 PyThreadState* __tstate = wxPyBeginAllowThreads();
5925 result = wxStatusBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
5926
5927 wxPyEndAllowThreads(__tstate);
5928 if (PyErr_Occurred()) SWIG_fail;
5929 }
5930 {
5931 wxVisualAttributes * resultptr;
5932 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
5933 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5934 }
5935 return resultobj;
5936 fail:
5937 return NULL;
5938}
5939
5940
5941static PyObject * StatusBar_swigregister(PyObject *, PyObject *args) {
5942 PyObject *obj;
5943 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5944 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
5945 Py_INCREF(obj);
5946 return Py_BuildValue((char *)"");
5947}
5948static int _wrap_SplitterNameStr_set(PyObject *) {
5949 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
5950 return 1;
5951}
5952
5953
5954static PyObject *_wrap_SplitterNameStr_get() {
5955 PyObject *pyobj;
5956
5957 {
5958#if wxUSE_UNICODE
5959 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5960#else
5961 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5962#endif
5963 }
5964 return pyobj;
5965}
5966
5967
5968static PyObject *_wrap_new_SplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
5969 PyObject *resultobj;
5970 wxWindow *arg1 = (wxWindow *) 0 ;
5971 int arg2 = (int) -1 ;
5972 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5973 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5974 wxSize const &arg4_defvalue = wxDefaultSize ;
5975 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5976 long arg5 = (long) wxSP_3D ;
5977 wxString const &arg6_defvalue = wxPySplitterNameStr ;
5978 wxString *arg6 = (wxString *) &arg6_defvalue ;
5979 wxSplitterWindow *result;
5980 wxPoint temp3 ;
5981 wxSize temp4 ;
5982 bool temp6 = false ;
5983 PyObject * obj0 = 0 ;
5984 PyObject * obj1 = 0 ;
5985 PyObject * obj2 = 0 ;
5986 PyObject * obj3 = 0 ;
5987 PyObject * obj4 = 0 ;
5988 PyObject * obj5 = 0 ;
5989 char *kwnames[] = {
5990 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5991 };
5992
5993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
5994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5996 if (obj1) {
5997 arg2 = (int)SWIG_As_int(obj1);
5998 if (PyErr_Occurred()) SWIG_fail;
5999 }
6000 if (obj2) {
6001 {
6002 arg3 = &temp3;
6003 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6004 }
6005 }
6006 if (obj3) {
6007 {
6008 arg4 = &temp4;
6009 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6010 }
6011 }
6012 if (obj4) {
6013 arg5 = (long)SWIG_As_long(obj4);
6014 if (PyErr_Occurred()) SWIG_fail;
6015 }
6016 if (obj5) {
6017 {
6018 arg6 = wxString_in_helper(obj5);
6019 if (arg6 == NULL) SWIG_fail;
6020 temp6 = true;
6021 }
6022 }
6023 {
6024 if (!wxPyCheckForApp()) SWIG_fail;
6025 PyThreadState* __tstate = wxPyBeginAllowThreads();
6026 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6027
6028 wxPyEndAllowThreads(__tstate);
6029 if (PyErr_Occurred()) SWIG_fail;
6030 }
6031 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
6032 {
6033 if (temp6)
6034 delete arg6;
6035 }
6036 return resultobj;
6037 fail:
6038 {
6039 if (temp6)
6040 delete arg6;
6041 }
6042 return NULL;
6043}
6044
6045
6046static PyObject *_wrap_new_PreSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
6047 PyObject *resultobj;
6048 wxSplitterWindow *result;
6049 char *kwnames[] = {
6050 NULL
6051 };
6052
6053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
6054 {
6055 if (!wxPyCheckForApp()) SWIG_fail;
6056 PyThreadState* __tstate = wxPyBeginAllowThreads();
6057 result = (wxSplitterWindow *)new wxSplitterWindow();
6058
6059 wxPyEndAllowThreads(__tstate);
6060 if (PyErr_Occurred()) SWIG_fail;
6061 }
6062 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
6063 return resultobj;
6064 fail:
6065 return NULL;
6066}
6067
6068
6069static PyObject *_wrap_SplitterWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6070 PyObject *resultobj;
6071 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6072 wxWindow *arg2 = (wxWindow *) 0 ;
6073 int arg3 = (int) -1 ;
6074 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6075 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6076 wxSize const &arg5_defvalue = wxDefaultSize ;
6077 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6078 long arg6 = (long) wxSP_3D ;
6079 wxString const &arg7_defvalue = wxPySplitterNameStr ;
6080 wxString *arg7 = (wxString *) &arg7_defvalue ;
6081 bool result;
6082 wxPoint temp4 ;
6083 wxSize temp5 ;
6084 bool temp7 = false ;
6085 PyObject * obj0 = 0 ;
6086 PyObject * obj1 = 0 ;
6087 PyObject * obj2 = 0 ;
6088 PyObject * obj3 = 0 ;
6089 PyObject * obj4 = 0 ;
6090 PyObject * obj5 = 0 ;
6091 PyObject * obj6 = 0 ;
6092 char *kwnames[] = {
6093 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6094 };
6095
6096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6099 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6101 if (obj2) {
6102 arg3 = (int)SWIG_As_int(obj2);
6103 if (PyErr_Occurred()) SWIG_fail;
6104 }
6105 if (obj3) {
6106 {
6107 arg4 = &temp4;
6108 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6109 }
6110 }
6111 if (obj4) {
6112 {
6113 arg5 = &temp5;
6114 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6115 }
6116 }
6117 if (obj5) {
6118 arg6 = (long)SWIG_As_long(obj5);
6119 if (PyErr_Occurred()) SWIG_fail;
6120 }
6121 if (obj6) {
6122 {
6123 arg7 = wxString_in_helper(obj6);
6124 if (arg7 == NULL) SWIG_fail;
6125 temp7 = true;
6126 }
6127 }
6128 {
6129 PyThreadState* __tstate = wxPyBeginAllowThreads();
6130 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6131
6132 wxPyEndAllowThreads(__tstate);
6133 if (PyErr_Occurred()) SWIG_fail;
6134 }
6135 {
6136 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6137 }
6138 {
6139 if (temp7)
6140 delete arg7;
6141 }
6142 return resultobj;
6143 fail:
6144 {
6145 if (temp7)
6146 delete arg7;
6147 }
6148 return NULL;
6149}
6150
6151
6152static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *, PyObject *args, PyObject *kwargs) {
6153 PyObject *resultobj;
6154 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6155 wxWindow *result;
6156 PyObject * obj0 = 0 ;
6157 char *kwnames[] = {
6158 (char *) "self", NULL
6159 };
6160
6161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
6162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6164 {
6165 PyThreadState* __tstate = wxPyBeginAllowThreads();
6166 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
6167
6168 wxPyEndAllowThreads(__tstate);
6169 if (PyErr_Occurred()) SWIG_fail;
6170 }
6171 {
6172 resultobj = wxPyMake_wxObject(result, 0);
6173 }
6174 return resultobj;
6175 fail:
6176 return NULL;
6177}
6178
6179
6180static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *, PyObject *args, PyObject *kwargs) {
6181 PyObject *resultobj;
6182 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6183 wxWindow *result;
6184 PyObject * obj0 = 0 ;
6185 char *kwnames[] = {
6186 (char *) "self", NULL
6187 };
6188
6189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
6190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6192 {
6193 PyThreadState* __tstate = wxPyBeginAllowThreads();
6194 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
6195
6196 wxPyEndAllowThreads(__tstate);
6197 if (PyErr_Occurred()) SWIG_fail;
6198 }
6199 {
6200 resultobj = wxPyMake_wxObject(result, 0);
6201 }
6202 return resultobj;
6203 fail:
6204 return NULL;
6205}
6206
6207
6208static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
6209 PyObject *resultobj;
6210 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6211 int arg2 ;
6212 PyObject * obj0 = 0 ;
6213 PyObject * obj1 = 0 ;
6214 char *kwnames[] = {
6215 (char *) "self",(char *) "mode", NULL
6216 };
6217
6218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
6219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6221 arg2 = (int)SWIG_As_int(obj1);
6222 if (PyErr_Occurred()) SWIG_fail;
6223 {
6224 PyThreadState* __tstate = wxPyBeginAllowThreads();
6225 (arg1)->SetSplitMode(arg2);
6226
6227 wxPyEndAllowThreads(__tstate);
6228 if (PyErr_Occurred()) SWIG_fail;
6229 }
6230 Py_INCREF(Py_None); resultobj = Py_None;
6231 return resultobj;
6232 fail:
6233 return NULL;
6234}
6235
6236
6237static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
6238 PyObject *resultobj;
6239 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6240 int result;
6241 PyObject * obj0 = 0 ;
6242 char *kwnames[] = {
6243 (char *) "self", NULL
6244 };
6245
6246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
6247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6249 {
6250 PyThreadState* __tstate = wxPyBeginAllowThreads();
6251 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
6252
6253 wxPyEndAllowThreads(__tstate);
6254 if (PyErr_Occurred()) SWIG_fail;
6255 }
6256 resultobj = SWIG_From_int((int)result);
6257 return resultobj;
6258 fail:
6259 return NULL;
6260}
6261
6262
6263static PyObject *_wrap_SplitterWindow_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
6264 PyObject *resultobj;
6265 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6266 wxWindow *arg2 = (wxWindow *) 0 ;
6267 PyObject * obj0 = 0 ;
6268 PyObject * obj1 = 0 ;
6269 char *kwnames[] = {
6270 (char *) "self",(char *) "window", NULL
6271 };
6272
6273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
6274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6276 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6278 {
6279 PyThreadState* __tstate = wxPyBeginAllowThreads();
6280 (arg1)->Initialize(arg2);
6281
6282 wxPyEndAllowThreads(__tstate);
6283 if (PyErr_Occurred()) SWIG_fail;
6284 }
6285 Py_INCREF(Py_None); resultobj = Py_None;
6286 return resultobj;
6287 fail:
6288 return NULL;
6289}
6290
6291
6292static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *, PyObject *args, PyObject *kwargs) {
6293 PyObject *resultobj;
6294 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6295 wxWindow *arg2 = (wxWindow *) 0 ;
6296 wxWindow *arg3 = (wxWindow *) 0 ;
6297 int arg4 = (int) 0 ;
6298 bool result;
6299 PyObject * obj0 = 0 ;
6300 PyObject * obj1 = 0 ;
6301 PyObject * obj2 = 0 ;
6302 PyObject * obj3 = 0 ;
6303 char *kwnames[] = {
6304 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6305 };
6306
6307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6310 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6312 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6314 if (obj3) {
6315 arg4 = (int)SWIG_As_int(obj3);
6316 if (PyErr_Occurred()) SWIG_fail;
6317 }
6318 {
6319 PyThreadState* __tstate = wxPyBeginAllowThreads();
6320 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
6321
6322 wxPyEndAllowThreads(__tstate);
6323 if (PyErr_Occurred()) SWIG_fail;
6324 }
6325 {
6326 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6327 }
6328 return resultobj;
6329 fail:
6330 return NULL;
6331}
6332
6333
6334static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *, PyObject *args, PyObject *kwargs) {
6335 PyObject *resultobj;
6336 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6337 wxWindow *arg2 = (wxWindow *) 0 ;
6338 wxWindow *arg3 = (wxWindow *) 0 ;
6339 int arg4 = (int) 0 ;
6340 bool result;
6341 PyObject * obj0 = 0 ;
6342 PyObject * obj1 = 0 ;
6343 PyObject * obj2 = 0 ;
6344 PyObject * obj3 = 0 ;
6345 char *kwnames[] = {
6346 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6347 };
6348
6349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6352 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6354 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6356 if (obj3) {
6357 arg4 = (int)SWIG_As_int(obj3);
6358 if (PyErr_Occurred()) SWIG_fail;
6359 }
6360 {
6361 PyThreadState* __tstate = wxPyBeginAllowThreads();
6362 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
6363
6364 wxPyEndAllowThreads(__tstate);
6365 if (PyErr_Occurred()) SWIG_fail;
6366 }
6367 {
6368 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6369 }
6370 return resultobj;
6371 fail:
6372 return NULL;
6373}
6374
6375
6376static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *, PyObject *args, PyObject *kwargs) {
6377 PyObject *resultobj;
6378 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6379 wxWindow *arg2 = (wxWindow *) NULL ;
6380 bool result;
6381 PyObject * obj0 = 0 ;
6382 PyObject * obj1 = 0 ;
6383 char *kwnames[] = {
6384 (char *) "self",(char *) "toRemove", NULL
6385 };
6386
6387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
6388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6390 if (obj1) {
6391 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6393 }
6394 {
6395 PyThreadState* __tstate = wxPyBeginAllowThreads();
6396 result = (bool)(arg1)->Unsplit(arg2);
6397
6398 wxPyEndAllowThreads(__tstate);
6399 if (PyErr_Occurred()) SWIG_fail;
6400 }
6401 {
6402 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6403 }
6404 return resultobj;
6405 fail:
6406 return NULL;
6407}
6408
6409
6410static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *, PyObject *args, PyObject *kwargs) {
6411 PyObject *resultobj;
6412 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6413 wxWindow *arg2 = (wxWindow *) 0 ;
6414 wxWindow *arg3 = (wxWindow *) 0 ;
6415 bool result;
6416 PyObject * obj0 = 0 ;
6417 PyObject * obj1 = 0 ;
6418 PyObject * obj2 = 0 ;
6419 char *kwnames[] = {
6420 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
6421 };
6422
6423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
6424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6426 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6428 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6430 {
6431 PyThreadState* __tstate = wxPyBeginAllowThreads();
6432 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
6433
6434 wxPyEndAllowThreads(__tstate);
6435 if (PyErr_Occurred()) SWIG_fail;
6436 }
6437 {
6438 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6439 }
6440 return resultobj;
6441 fail:
6442 return NULL;
6443}
6444
6445
6446static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *, PyObject *args, PyObject *kwargs) {
6447 PyObject *resultobj;
6448 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6449 PyObject * obj0 = 0 ;
6450 char *kwnames[] = {
6451 (char *) "self", NULL
6452 };
6453
6454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail;
6455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6457 {
6458 PyThreadState* __tstate = wxPyBeginAllowThreads();
6459 (arg1)->UpdateSize();
6460
6461 wxPyEndAllowThreads(__tstate);
6462 if (PyErr_Occurred()) SWIG_fail;
6463 }
6464 Py_INCREF(Py_None); resultobj = Py_None;
6465 return resultobj;
6466 fail:
6467 return NULL;
6468}
6469
6470
6471static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *, PyObject *args, PyObject *kwargs) {
6472 PyObject *resultobj;
6473 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6474 bool result;
6475 PyObject * obj0 = 0 ;
6476 char *kwnames[] = {
6477 (char *) "self", NULL
6478 };
6479
6480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
6481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6483 {
6484 PyThreadState* __tstate = wxPyBeginAllowThreads();
6485 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
6486
6487 wxPyEndAllowThreads(__tstate);
6488 if (PyErr_Occurred()) SWIG_fail;
6489 }
6490 {
6491 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6492 }
6493 return resultobj;
6494 fail:
6495 return NULL;
6496}
6497
6498
6499static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
6500 PyObject *resultobj;
6501 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6502 int arg2 ;
6503 PyObject * obj0 = 0 ;
6504 PyObject * obj1 = 0 ;
6505 char *kwnames[] = {
6506 (char *) "self",(char *) "width", NULL
6507 };
6508
6509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
6510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6512 arg2 = (int)SWIG_As_int(obj1);
6513 if (PyErr_Occurred()) SWIG_fail;
6514 {
6515 PyThreadState* __tstate = wxPyBeginAllowThreads();
6516 (arg1)->SetSashSize(arg2);
6517
6518 wxPyEndAllowThreads(__tstate);
6519 if (PyErr_Occurred()) SWIG_fail;
6520 }
6521 Py_INCREF(Py_None); resultobj = Py_None;
6522 return resultobj;
6523 fail:
6524 return NULL;
6525}
6526
6527
6528static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
6529 PyObject *resultobj;
6530 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6531 int arg2 ;
6532 PyObject * obj0 = 0 ;
6533 PyObject * obj1 = 0 ;
6534 char *kwnames[] = {
6535 (char *) "self",(char *) "width", NULL
6536 };
6537
6538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
6539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6541 arg2 = (int)SWIG_As_int(obj1);
6542 if (PyErr_Occurred()) SWIG_fail;
6543 {
6544 PyThreadState* __tstate = wxPyBeginAllowThreads();
6545 (arg1)->SetBorderSize(arg2);
6546
6547 wxPyEndAllowThreads(__tstate);
6548 if (PyErr_Occurred()) SWIG_fail;
6549 }
6550 Py_INCREF(Py_None); resultobj = Py_None;
6551 return resultobj;
6552 fail:
6553 return NULL;
6554}
6555
6556
6557static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
6558 PyObject *resultobj;
6559 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6560 int result;
6561 PyObject * obj0 = 0 ;
6562 char *kwnames[] = {
6563 (char *) "self", NULL
6564 };
6565
6566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
6567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6569 {
6570 PyThreadState* __tstate = wxPyBeginAllowThreads();
6571 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
6572
6573 wxPyEndAllowThreads(__tstate);
6574 if (PyErr_Occurred()) SWIG_fail;
6575 }
6576 resultobj = SWIG_From_int((int)result);
6577 return resultobj;
6578 fail:
6579 return NULL;
6580}
6581
6582
6583static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
6584 PyObject *resultobj;
6585 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6586 int result;
6587 PyObject * obj0 = 0 ;
6588 char *kwnames[] = {
6589 (char *) "self", NULL
6590 };
6591
6592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
6593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6595 {
6596 PyThreadState* __tstate = wxPyBeginAllowThreads();
6597 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
6598
6599 wxPyEndAllowThreads(__tstate);
6600 if (PyErr_Occurred()) SWIG_fail;
6601 }
6602 resultobj = SWIG_From_int((int)result);
6603 return resultobj;
6604 fail:
6605 return NULL;
6606}
6607
6608
6609static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
6610 PyObject *resultobj;
6611 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6612 int arg2 ;
6613 bool arg3 = (bool) true ;
6614 PyObject * obj0 = 0 ;
6615 PyObject * obj1 = 0 ;
6616 PyObject * obj2 = 0 ;
6617 char *kwnames[] = {
6618 (char *) "self",(char *) "position",(char *) "redraw", NULL
6619 };
6620
6621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
6622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6624 arg2 = (int)SWIG_As_int(obj1);
6625 if (PyErr_Occurred()) SWIG_fail;
6626 if (obj2) {
6627 arg3 = (bool)SWIG_As_bool(obj2);
6628 if (PyErr_Occurred()) SWIG_fail;
6629 }
6630 {
6631 PyThreadState* __tstate = wxPyBeginAllowThreads();
6632 (arg1)->SetSashPosition(arg2,arg3);
6633
6634 wxPyEndAllowThreads(__tstate);
6635 if (PyErr_Occurred()) SWIG_fail;
6636 }
6637 Py_INCREF(Py_None); resultobj = Py_None;
6638 return resultobj;
6639 fail:
6640 return NULL;
6641}
6642
6643
6644static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
6645 PyObject *resultobj;
6646 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6647 int result;
6648 PyObject * obj0 = 0 ;
6649 char *kwnames[] = {
6650 (char *) "self", NULL
6651 };
6652
6653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
6654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6656 {
6657 PyThreadState* __tstate = wxPyBeginAllowThreads();
6658 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
6659
6660 wxPyEndAllowThreads(__tstate);
6661 if (PyErr_Occurred()) SWIG_fail;
6662 }
6663 resultobj = SWIG_From_int((int)result);
6664 return resultobj;
6665 fail:
6666 return NULL;
6667}
6668
6669
6670static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
6671 PyObject *resultobj;
6672 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6673 int arg2 ;
6674 PyObject * obj0 = 0 ;
6675 PyObject * obj1 = 0 ;
6676 char *kwnames[] = {
6677 (char *) "self",(char *) "min", NULL
6678 };
6679
6680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
6681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6683 arg2 = (int)SWIG_As_int(obj1);
6684 if (PyErr_Occurred()) SWIG_fail;
6685 {
6686 PyThreadState* __tstate = wxPyBeginAllowThreads();
6687 (arg1)->SetMinimumPaneSize(arg2);
6688
6689 wxPyEndAllowThreads(__tstate);
6690 if (PyErr_Occurred()) SWIG_fail;
6691 }
6692 Py_INCREF(Py_None); resultobj = Py_None;
6693 return resultobj;
6694 fail:
6695 return NULL;
6696}
6697
6698
6699static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
6700 PyObject *resultobj;
6701 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6702 int result;
6703 PyObject * obj0 = 0 ;
6704 char *kwnames[] = {
6705 (char *) "self", NULL
6706 };
6707
6708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
6709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6711 {
6712 PyThreadState* __tstate = wxPyBeginAllowThreads();
6713 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
6714
6715 wxPyEndAllowThreads(__tstate);
6716 if (PyErr_Occurred()) SWIG_fail;
6717 }
6718 resultobj = SWIG_From_int((int)result);
6719 return resultobj;
6720 fail:
6721 return NULL;
6722}
6723
6724
6725static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
6726 PyObject *resultobj;
6727 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6728 int arg2 ;
6729 int arg3 ;
6730 int arg4 = (int) 5 ;
6731 bool result;
6732 PyObject * obj0 = 0 ;
6733 PyObject * obj1 = 0 ;
6734 PyObject * obj2 = 0 ;
6735 PyObject * obj3 = 0 ;
6736 char *kwnames[] = {
6737 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6738 };
6739
6740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6743 arg2 = (int)SWIG_As_int(obj1);
6744 if (PyErr_Occurred()) SWIG_fail;
6745 arg3 = (int)SWIG_As_int(obj2);
6746 if (PyErr_Occurred()) SWIG_fail;
6747 if (obj3) {
6748 arg4 = (int)SWIG_As_int(obj3);
6749 if (PyErr_Occurred()) SWIG_fail;
6750 }
6751 {
6752 PyThreadState* __tstate = wxPyBeginAllowThreads();
6753 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
6754
6755 wxPyEndAllowThreads(__tstate);
6756 if (PyErr_Occurred()) SWIG_fail;
6757 }
6758 {
6759 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6760 }
6761 return resultobj;
6762 fail:
6763 return NULL;
6764}
6765
6766
6767static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
6768 PyObject *resultobj;
6769 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6770 PyObject * obj0 = 0 ;
6771 char *kwnames[] = {
6772 (char *) "self", NULL
6773 };
6774
6775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
6776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6778 {
6779 PyThreadState* __tstate = wxPyBeginAllowThreads();
6780 (arg1)->SizeWindows();
6781
6782 wxPyEndAllowThreads(__tstate);
6783 if (PyErr_Occurred()) SWIG_fail;
6784 }
6785 Py_INCREF(Py_None); resultobj = Py_None;
6786 return resultobj;
6787 fail:
6788 return NULL;
6789}
6790
6791
6792static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
6793 PyObject *resultobj;
6794 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6795 bool arg2 ;
6796 PyObject * obj0 = 0 ;
6797 PyObject * obj1 = 0 ;
6798 char *kwnames[] = {
6799 (char *) "self",(char *) "needUpdating", NULL
6800 };
6801
6802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
6803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6805 arg2 = (bool)SWIG_As_bool(obj1);
6806 if (PyErr_Occurred()) SWIG_fail;
6807 {
6808 PyThreadState* __tstate = wxPyBeginAllowThreads();
6809 (arg1)->SetNeedUpdating(arg2);
6810
6811 wxPyEndAllowThreads(__tstate);
6812 if (PyErr_Occurred()) SWIG_fail;
6813 }
6814 Py_INCREF(Py_None); resultobj = Py_None;
6815 return resultobj;
6816 fail:
6817 return NULL;
6818}
6819
6820
6821static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
6822 PyObject *resultobj;
6823 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6824 bool result;
6825 PyObject * obj0 = 0 ;
6826 char *kwnames[] = {
6827 (char *) "self", NULL
6828 };
6829
6830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
6831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6833 {
6834 PyThreadState* __tstate = wxPyBeginAllowThreads();
6835 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
6836
6837 wxPyEndAllowThreads(__tstate);
6838 if (PyErr_Occurred()) SWIG_fail;
6839 }
6840 {
6841 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6842 }
6843 return resultobj;
6844 fail:
6845 return NULL;
6846}
6847
6848
6849static PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6850 PyObject *resultobj;
6851 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
6852 wxVisualAttributes result;
6853 PyObject * obj0 = 0 ;
6854 char *kwnames[] = {
6855 (char *) "variant", NULL
6856 };
6857
6858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6859 if (obj0) {
6860 arg1 = (int)SWIG_As_int(obj0);
6861 if (PyErr_Occurred()) SWIG_fail;
6862 }
6863 {
6864 if (!wxPyCheckForApp()) SWIG_fail;
6865 PyThreadState* __tstate = wxPyBeginAllowThreads();
6866 result = wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
6867
6868 wxPyEndAllowThreads(__tstate);
6869 if (PyErr_Occurred()) SWIG_fail;
6870 }
6871 {
6872 wxVisualAttributes * resultptr;
6873 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
6874 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6875 }
6876 return resultobj;
6877 fail:
6878 return NULL;
6879}
6880
6881
6882static PyObject * SplitterWindow_swigregister(PyObject *, PyObject *args) {
6883 PyObject *obj;
6884 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6885 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
6886 Py_INCREF(obj);
6887 return Py_BuildValue((char *)"");
6888}
6889static PyObject *_wrap_new_SplitterEvent(PyObject *, PyObject *args, PyObject *kwargs) {
6890 PyObject *resultobj;
6891 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
6892 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
6893 wxSplitterEvent *result;
6894 PyObject * obj0 = 0 ;
6895 PyObject * obj1 = 0 ;
6896 char *kwnames[] = {
6897 (char *) "type",(char *) "splitter", NULL
6898 };
6899
6900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
6901 if (obj0) {
6902 arg1 = (wxEventType)SWIG_As_int(obj0);
6903 if (PyErr_Occurred()) SWIG_fail;
6904 }
6905 if (obj1) {
6906 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSplitterWindow,
6907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6908 }
6909 {
6910 PyThreadState* __tstate = wxPyBeginAllowThreads();
6911 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
6912
6913 wxPyEndAllowThreads(__tstate);
6914 if (PyErr_Occurred()) SWIG_fail;
6915 }
6916 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
6917 return resultobj;
6918 fail:
6919 return NULL;
6920}
6921
6922
6923static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
6924 PyObject *resultobj;
6925 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6926 int arg2 ;
6927 PyObject * obj0 = 0 ;
6928 PyObject * obj1 = 0 ;
6929 char *kwnames[] = {
6930 (char *) "self",(char *) "pos", NULL
6931 };
6932
6933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
6934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6936 arg2 = (int)SWIG_As_int(obj1);
6937 if (PyErr_Occurred()) SWIG_fail;
6938 {
6939 PyThreadState* __tstate = wxPyBeginAllowThreads();
6940 (arg1)->SetSashPosition(arg2);
6941
6942 wxPyEndAllowThreads(__tstate);
6943 if (PyErr_Occurred()) SWIG_fail;
6944 }
6945 Py_INCREF(Py_None); resultobj = Py_None;
6946 return resultobj;
6947 fail:
6948 return NULL;
6949}
6950
6951
6952static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
6953 PyObject *resultobj;
6954 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6955 int result;
6956 PyObject * obj0 = 0 ;
6957 char *kwnames[] = {
6958 (char *) "self", NULL
6959 };
6960
6961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
6962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6964 {
6965 PyThreadState* __tstate = wxPyBeginAllowThreads();
6966 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
6967
6968 wxPyEndAllowThreads(__tstate);
6969 if (PyErr_Occurred()) SWIG_fail;
6970 }
6971 resultobj = SWIG_From_int((int)result);
6972 return resultobj;
6973 fail:
6974 return NULL;
6975}
6976
6977
6978static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *, PyObject *args, PyObject *kwargs) {
6979 PyObject *resultobj;
6980 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6981 wxWindow *result;
6982 PyObject * obj0 = 0 ;
6983 char *kwnames[] = {
6984 (char *) "self", NULL
6985 };
6986
6987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
6988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6990 {
6991 PyThreadState* __tstate = wxPyBeginAllowThreads();
6992 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
6993
6994 wxPyEndAllowThreads(__tstate);
6995 if (PyErr_Occurred()) SWIG_fail;
6996 }
6997 {
6998 resultobj = wxPyMake_wxObject(result, 0);
6999 }
7000 return resultobj;
7001 fail:
7002 return NULL;
7003}
7004
7005
7006static PyObject *_wrap_SplitterEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
7007 PyObject *resultobj;
7008 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
7009 int result;
7010 PyObject * obj0 = 0 ;
7011 char *kwnames[] = {
7012 (char *) "self", NULL
7013 };
7014
7015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
7016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
7017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7018 {
7019 PyThreadState* __tstate = wxPyBeginAllowThreads();
7020 result = (int)((wxSplitterEvent const *)arg1)->GetX();
7021
7022 wxPyEndAllowThreads(__tstate);
7023 if (PyErr_Occurred()) SWIG_fail;
7024 }
7025 resultobj = SWIG_From_int((int)result);
7026 return resultobj;
7027 fail:
7028 return NULL;
7029}
7030
7031
7032static PyObject *_wrap_SplitterEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
7033 PyObject *resultobj;
7034 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
7035 int result;
7036 PyObject * obj0 = 0 ;
7037 char *kwnames[] = {
7038 (char *) "self", NULL
7039 };
7040
7041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
7042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
7043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7044 {
7045 PyThreadState* __tstate = wxPyBeginAllowThreads();
7046 result = (int)((wxSplitterEvent const *)arg1)->GetY();
7047
7048 wxPyEndAllowThreads(__tstate);
7049 if (PyErr_Occurred()) SWIG_fail;
7050 }
7051 resultobj = SWIG_From_int((int)result);
7052 return resultobj;
7053 fail:
7054 return NULL;
7055}
7056
7057
7058static PyObject * SplitterEvent_swigregister(PyObject *, PyObject *args) {
7059 PyObject *obj;
7060 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7061 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
7062 Py_INCREF(obj);
7063 return Py_BuildValue((char *)"");
7064}
7065static int _wrap_SashNameStr_set(PyObject *) {
7066 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
7067 return 1;
7068}
7069
7070
7071static PyObject *_wrap_SashNameStr_get() {
7072 PyObject *pyobj;
7073
7074 {
7075#if wxUSE_UNICODE
7076 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
7077#else
7078 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
7079#endif
7080 }
7081 return pyobj;
7082}
7083
7084
7085static int _wrap_SashLayoutNameStr_set(PyObject *) {
7086 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
7087 return 1;
7088}
7089
7090
7091static PyObject *_wrap_SashLayoutNameStr_get() {
7092 PyObject *pyobj;
7093
7094 {
7095#if wxUSE_UNICODE
7096 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
7097#else
7098 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
7099#endif
7100 }
7101 return pyobj;
7102}
7103
7104
7105static PyObject *_wrap_new_SashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7106 PyObject *resultobj;
7107 wxWindow *arg1 = (wxWindow *) 0 ;
7108 int arg2 = (int) -1 ;
7109 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7110 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7111 wxSize const &arg4_defvalue = wxDefaultSize ;
7112 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7113 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7114 wxString const &arg6_defvalue = wxPySashNameStr ;
7115 wxString *arg6 = (wxString *) &arg6_defvalue ;
7116 wxSashWindow *result;
7117 wxPoint temp3 ;
7118 wxSize temp4 ;
7119 bool temp6 = false ;
7120 PyObject * obj0 = 0 ;
7121 PyObject * obj1 = 0 ;
7122 PyObject * obj2 = 0 ;
7123 PyObject * obj3 = 0 ;
7124 PyObject * obj4 = 0 ;
7125 PyObject * obj5 = 0 ;
7126 char *kwnames[] = {
7127 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7128 };
7129
7130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
7131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
7132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7133 if (obj1) {
7134 arg2 = (int)SWIG_As_int(obj1);
7135 if (PyErr_Occurred()) SWIG_fail;
7136 }
7137 if (obj2) {
7138 {
7139 arg3 = &temp3;
7140 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7141 }
7142 }
7143 if (obj3) {
7144 {
7145 arg4 = &temp4;
7146 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7147 }
7148 }
7149 if (obj4) {
7150 arg5 = (long)SWIG_As_long(obj4);
7151 if (PyErr_Occurred()) SWIG_fail;
7152 }
7153 if (obj5) {
7154 {
7155 arg6 = wxString_in_helper(obj5);
7156 if (arg6 == NULL) SWIG_fail;
7157 temp6 = true;
7158 }
7159 }
7160 {
7161 if (!wxPyCheckForApp()) SWIG_fail;
7162 PyThreadState* __tstate = wxPyBeginAllowThreads();
7163 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7164
7165 wxPyEndAllowThreads(__tstate);
7166 if (PyErr_Occurred()) SWIG_fail;
7167 }
7168 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
7169 {
7170 if (temp6)
7171 delete arg6;
7172 }
7173 return resultobj;
7174 fail:
7175 {
7176 if (temp6)
7177 delete arg6;
7178 }
7179 return NULL;
7180}
7181
7182
7183static PyObject *_wrap_new_PreSashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7184 PyObject *resultobj;
7185 wxSashWindow *result;
7186 char *kwnames[] = {
7187 NULL
7188 };
7189
7190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
7191 {
7192 if (!wxPyCheckForApp()) SWIG_fail;
7193 PyThreadState* __tstate = wxPyBeginAllowThreads();
7194 result = (wxSashWindow *)new wxSashWindow();
7195
7196 wxPyEndAllowThreads(__tstate);
7197 if (PyErr_Occurred()) SWIG_fail;
7198 }
7199 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
7200 return resultobj;
7201 fail:
7202 return NULL;
7203}
7204
7205
7206static PyObject *_wrap_SashWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7207 PyObject *resultobj;
7208 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7209 wxWindow *arg2 = (wxWindow *) 0 ;
7210 int arg3 = (int) -1 ;
7211 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7212 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7213 wxSize const &arg5_defvalue = wxDefaultSize ;
7214 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7215 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7216 wxString const &arg7_defvalue = wxPySashNameStr ;
7217 wxString *arg7 = (wxString *) &arg7_defvalue ;
7218 bool result;
7219 wxPoint temp4 ;
7220 wxSize temp5 ;
7221 bool temp7 = false ;
7222 PyObject * obj0 = 0 ;
7223 PyObject * obj1 = 0 ;
7224 PyObject * obj2 = 0 ;
7225 PyObject * obj3 = 0 ;
7226 PyObject * obj4 = 0 ;
7227 PyObject * obj5 = 0 ;
7228 PyObject * obj6 = 0 ;
7229 char *kwnames[] = {
7230 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7231 };
7232
7233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
7234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7236 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
7237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7238 if (obj2) {
7239 arg3 = (int)SWIG_As_int(obj2);
7240 if (PyErr_Occurred()) SWIG_fail;
7241 }
7242 if (obj3) {
7243 {
7244 arg4 = &temp4;
7245 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7246 }
7247 }
7248 if (obj4) {
7249 {
7250 arg5 = &temp5;
7251 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7252 }
7253 }
7254 if (obj5) {
7255 arg6 = (long)SWIG_As_long(obj5);
7256 if (PyErr_Occurred()) SWIG_fail;
7257 }
7258 if (obj6) {
7259 {
7260 arg7 = wxString_in_helper(obj6);
7261 if (arg7 == NULL) SWIG_fail;
7262 temp7 = true;
7263 }
7264 }
7265 {
7266 PyThreadState* __tstate = wxPyBeginAllowThreads();
7267 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7268
7269 wxPyEndAllowThreads(__tstate);
7270 if (PyErr_Occurred()) SWIG_fail;
7271 }
7272 {
7273 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7274 }
7275 {
7276 if (temp7)
7277 delete arg7;
7278 }
7279 return resultobj;
7280 fail:
7281 {
7282 if (temp7)
7283 delete arg7;
7284 }
7285 return NULL;
7286}
7287
7288
7289static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7290 PyObject *resultobj;
7291 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7292 int arg2 ;
7293 bool arg3 ;
7294 PyObject * obj0 = 0 ;
7295 PyObject * obj1 = 0 ;
7296 PyObject * obj2 = 0 ;
7297 char *kwnames[] = {
7298 (char *) "self",(char *) "edge",(char *) "sash", NULL
7299 };
7300
7301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
7302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7304 arg2 = (int)SWIG_As_int(obj1);
7305 if (PyErr_Occurred()) SWIG_fail;
7306 arg3 = (bool)SWIG_As_bool(obj2);
7307 if (PyErr_Occurred()) SWIG_fail;
7308 {
7309 PyThreadState* __tstate = wxPyBeginAllowThreads();
7310 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
7311
7312 wxPyEndAllowThreads(__tstate);
7313 if (PyErr_Occurred()) SWIG_fail;
7314 }
7315 Py_INCREF(Py_None); resultobj = Py_None;
7316 return resultobj;
7317 fail:
7318 return NULL;
7319}
7320
7321
7322static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7323 PyObject *resultobj;
7324 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7325 int arg2 ;
7326 bool result;
7327 PyObject * obj0 = 0 ;
7328 PyObject * obj1 = 0 ;
7329 char *kwnames[] = {
7330 (char *) "self",(char *) "edge", NULL
7331 };
7332
7333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
7334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7336 arg2 = (int)SWIG_As_int(obj1);
7337 if (PyErr_Occurred()) SWIG_fail;
7338 {
7339 PyThreadState* __tstate = wxPyBeginAllowThreads();
7340 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
7341
7342 wxPyEndAllowThreads(__tstate);
7343 if (PyErr_Occurred()) SWIG_fail;
7344 }
7345 {
7346 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7347 }
7348 return resultobj;
7349 fail:
7350 return NULL;
7351}
7352
7353
7354static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *, PyObject *args, PyObject *kwargs) {
7355 PyObject *resultobj;
7356 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7357 int arg2 ;
7358 bool arg3 ;
7359 PyObject * obj0 = 0 ;
7360 PyObject * obj1 = 0 ;
7361 PyObject * obj2 = 0 ;
7362 char *kwnames[] = {
7363 (char *) "self",(char *) "edge",(char *) "border", NULL
7364 };
7365
7366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
7367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7369 arg2 = (int)SWIG_As_int(obj1);
7370 if (PyErr_Occurred()) SWIG_fail;
7371 arg3 = (bool)SWIG_As_bool(obj2);
7372 if (PyErr_Occurred()) SWIG_fail;
7373 {
7374 PyThreadState* __tstate = wxPyBeginAllowThreads();
7375 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
7376
7377 wxPyEndAllowThreads(__tstate);
7378 if (PyErr_Occurred()) SWIG_fail;
7379 }
7380 Py_INCREF(Py_None); resultobj = Py_None;
7381 return resultobj;
7382 fail:
7383 return NULL;
7384}
7385
7386
7387static PyObject *_wrap_SashWindow_HasBorder(PyObject *, PyObject *args, PyObject *kwargs) {
7388 PyObject *resultobj;
7389 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7390 int arg2 ;
7391 bool result;
7392 PyObject * obj0 = 0 ;
7393 PyObject * obj1 = 0 ;
7394 char *kwnames[] = {
7395 (char *) "self",(char *) "edge", NULL
7396 };
7397
7398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
7399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7401 arg2 = (int)SWIG_As_int(obj1);
7402 if (PyErr_Occurred()) SWIG_fail;
7403 {
7404 PyThreadState* __tstate = wxPyBeginAllowThreads();
7405 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
7406
7407 wxPyEndAllowThreads(__tstate);
7408 if (PyErr_Occurred()) SWIG_fail;
7409 }
7410 {
7411 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7412 }
7413 return resultobj;
7414 fail:
7415 return NULL;
7416}
7417
7418
7419static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *, PyObject *args, PyObject *kwargs) {
7420 PyObject *resultobj;
7421 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7422 int arg2 ;
7423 int result;
7424 PyObject * obj0 = 0 ;
7425 PyObject * obj1 = 0 ;
7426 char *kwnames[] = {
7427 (char *) "self",(char *) "edge", NULL
7428 };
7429
7430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
7431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7433 arg2 = (int)SWIG_As_int(obj1);
7434 if (PyErr_Occurred()) SWIG_fail;
7435 {
7436 PyThreadState* __tstate = wxPyBeginAllowThreads();
7437 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
7438
7439 wxPyEndAllowThreads(__tstate);
7440 if (PyErr_Occurred()) SWIG_fail;
7441 }
7442 resultobj = SWIG_From_int((int)result);
7443 return resultobj;
7444 fail:
7445 return NULL;
7446}
7447
7448
7449static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
7450 PyObject *resultobj;
7451 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7452 int arg2 ;
7453 PyObject * obj0 = 0 ;
7454 PyObject * obj1 = 0 ;
7455 char *kwnames[] = {
7456 (char *) "self",(char *) "width", NULL
7457 };
7458
7459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
7460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7462 arg2 = (int)SWIG_As_int(obj1);
7463 if (PyErr_Occurred()) SWIG_fail;
7464 {
7465 PyThreadState* __tstate = wxPyBeginAllowThreads();
7466 (arg1)->SetDefaultBorderSize(arg2);
7467
7468 wxPyEndAllowThreads(__tstate);
7469 if (PyErr_Occurred()) SWIG_fail;
7470 }
7471 Py_INCREF(Py_None); resultobj = Py_None;
7472 return resultobj;
7473 fail:
7474 return NULL;
7475}
7476
7477
7478static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
7479 PyObject *resultobj;
7480 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7481 int result;
7482 PyObject * obj0 = 0 ;
7483 char *kwnames[] = {
7484 (char *) "self", NULL
7485 };
7486
7487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
7488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7490 {
7491 PyThreadState* __tstate = wxPyBeginAllowThreads();
7492 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
7493
7494 wxPyEndAllowThreads(__tstate);
7495 if (PyErr_Occurred()) SWIG_fail;
7496 }
7497 resultobj = SWIG_From_int((int)result);
7498 return resultobj;
7499 fail:
7500 return NULL;
7501}
7502
7503
7504static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
7505 PyObject *resultobj;
7506 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7507 int arg2 ;
7508 PyObject * obj0 = 0 ;
7509 PyObject * obj1 = 0 ;
7510 char *kwnames[] = {
7511 (char *) "self",(char *) "width", NULL
7512 };
7513
7514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
7515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7517 arg2 = (int)SWIG_As_int(obj1);
7518 if (PyErr_Occurred()) SWIG_fail;
7519 {
7520 PyThreadState* __tstate = wxPyBeginAllowThreads();
7521 (arg1)->SetExtraBorderSize(arg2);
7522
7523 wxPyEndAllowThreads(__tstate);
7524 if (PyErr_Occurred()) SWIG_fail;
7525 }
7526 Py_INCREF(Py_None); resultobj = Py_None;
7527 return resultobj;
7528 fail:
7529 return NULL;
7530}
7531
7532
7533static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
7534 PyObject *resultobj;
7535 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7536 int result;
7537 PyObject * obj0 = 0 ;
7538 char *kwnames[] = {
7539 (char *) "self", NULL
7540 };
7541
7542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
7543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7545 {
7546 PyThreadState* __tstate = wxPyBeginAllowThreads();
7547 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
7548
7549 wxPyEndAllowThreads(__tstate);
7550 if (PyErr_Occurred()) SWIG_fail;
7551 }
7552 resultobj = SWIG_From_int((int)result);
7553 return resultobj;
7554 fail:
7555 return NULL;
7556}
7557
7558
7559static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
7560 PyObject *resultobj;
7561 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7562 int arg2 ;
7563 PyObject * obj0 = 0 ;
7564 PyObject * obj1 = 0 ;
7565 char *kwnames[] = {
7566 (char *) "self",(char *) "min", NULL
7567 };
7568
7569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
7570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7572 arg2 = (int)SWIG_As_int(obj1);
7573 if (PyErr_Occurred()) SWIG_fail;
7574 {
7575 PyThreadState* __tstate = wxPyBeginAllowThreads();
7576 (arg1)->SetMinimumSizeX(arg2);
7577
7578 wxPyEndAllowThreads(__tstate);
7579 if (PyErr_Occurred()) SWIG_fail;
7580 }
7581 Py_INCREF(Py_None); resultobj = Py_None;
7582 return resultobj;
7583 fail:
7584 return NULL;
7585}
7586
7587
7588static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
7589 PyObject *resultobj;
7590 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7591 int arg2 ;
7592 PyObject * obj0 = 0 ;
7593 PyObject * obj1 = 0 ;
7594 char *kwnames[] = {
7595 (char *) "self",(char *) "min", NULL
7596 };
7597
7598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
7599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7601 arg2 = (int)SWIG_As_int(obj1);
7602 if (PyErr_Occurred()) SWIG_fail;
7603 {
7604 PyThreadState* __tstate = wxPyBeginAllowThreads();
7605 (arg1)->SetMinimumSizeY(arg2);
7606
7607 wxPyEndAllowThreads(__tstate);
7608 if (PyErr_Occurred()) SWIG_fail;
7609 }
7610 Py_INCREF(Py_None); resultobj = Py_None;
7611 return resultobj;
7612 fail:
7613 return NULL;
7614}
7615
7616
7617static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
7618 PyObject *resultobj;
7619 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7620 int result;
7621 PyObject * obj0 = 0 ;
7622 char *kwnames[] = {
7623 (char *) "self", NULL
7624 };
7625
7626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
7627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7629 {
7630 PyThreadState* __tstate = wxPyBeginAllowThreads();
7631 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
7632
7633 wxPyEndAllowThreads(__tstate);
7634 if (PyErr_Occurred()) SWIG_fail;
7635 }
7636 resultobj = SWIG_From_int((int)result);
7637 return resultobj;
7638 fail:
7639 return NULL;
7640}
7641
7642
7643static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
7644 PyObject *resultobj;
7645 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7646 int result;
7647 PyObject * obj0 = 0 ;
7648 char *kwnames[] = {
7649 (char *) "self", NULL
7650 };
7651
7652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
7653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7655 {
7656 PyThreadState* __tstate = wxPyBeginAllowThreads();
7657 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
7658
7659 wxPyEndAllowThreads(__tstate);
7660 if (PyErr_Occurred()) SWIG_fail;
7661 }
7662 resultobj = SWIG_From_int((int)result);
7663 return resultobj;
7664 fail:
7665 return NULL;
7666}
7667
7668
7669static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
7670 PyObject *resultobj;
7671 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7672 int arg2 ;
7673 PyObject * obj0 = 0 ;
7674 PyObject * obj1 = 0 ;
7675 char *kwnames[] = {
7676 (char *) "self",(char *) "max", NULL
7677 };
7678
7679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
7680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7682 arg2 = (int)SWIG_As_int(obj1);
7683 if (PyErr_Occurred()) SWIG_fail;
7684 {
7685 PyThreadState* __tstate = wxPyBeginAllowThreads();
7686 (arg1)->SetMaximumSizeX(arg2);
7687
7688 wxPyEndAllowThreads(__tstate);
7689 if (PyErr_Occurred()) SWIG_fail;
7690 }
7691 Py_INCREF(Py_None); resultobj = Py_None;
7692 return resultobj;
7693 fail:
7694 return NULL;
7695}
7696
7697
7698static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
7699 PyObject *resultobj;
7700 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7701 int arg2 ;
7702 PyObject * obj0 = 0 ;
7703 PyObject * obj1 = 0 ;
7704 char *kwnames[] = {
7705 (char *) "self",(char *) "max", NULL
7706 };
7707
7708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
7709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7711 arg2 = (int)SWIG_As_int(obj1);
7712 if (PyErr_Occurred()) SWIG_fail;
7713 {
7714 PyThreadState* __tstate = wxPyBeginAllowThreads();
7715 (arg1)->SetMaximumSizeY(arg2);
7716
7717 wxPyEndAllowThreads(__tstate);
7718 if (PyErr_Occurred()) SWIG_fail;
7719 }
7720 Py_INCREF(Py_None); resultobj = Py_None;
7721 return resultobj;
7722 fail:
7723 return NULL;
7724}
7725
7726
7727static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
7728 PyObject *resultobj;
7729 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7730 int result;
7731 PyObject * obj0 = 0 ;
7732 char *kwnames[] = {
7733 (char *) "self", NULL
7734 };
7735
7736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
7737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7739 {
7740 PyThreadState* __tstate = wxPyBeginAllowThreads();
7741 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
7742
7743 wxPyEndAllowThreads(__tstate);
7744 if (PyErr_Occurred()) SWIG_fail;
7745 }
7746 resultobj = SWIG_From_int((int)result);
7747 return resultobj;
7748 fail:
7749 return NULL;
7750}
7751
7752
7753static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
7754 PyObject *resultobj;
7755 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7756 int result;
7757 PyObject * obj0 = 0 ;
7758 char *kwnames[] = {
7759 (char *) "self", NULL
7760 };
7761
7762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
7763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7765 {
7766 PyThreadState* __tstate = wxPyBeginAllowThreads();
7767 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
7768
7769 wxPyEndAllowThreads(__tstate);
7770 if (PyErr_Occurred()) SWIG_fail;
7771 }
7772 resultobj = SWIG_From_int((int)result);
7773 return resultobj;
7774 fail:
7775 return NULL;
7776}
7777
7778
7779static PyObject *_wrap_SashWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
7780 PyObject *resultobj;
7781 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7782 int arg2 ;
7783 int arg3 ;
7784 int arg4 = (int) 2 ;
7785 int result;
7786 PyObject * obj0 = 0 ;
7787 PyObject * obj1 = 0 ;
7788 PyObject * obj2 = 0 ;
7789 PyObject * obj3 = 0 ;
7790 char *kwnames[] = {
7791 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7792 };
7793
7794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7797 arg2 = (int)SWIG_As_int(obj1);
7798 if (PyErr_Occurred()) SWIG_fail;
7799 arg3 = (int)SWIG_As_int(obj2);
7800 if (PyErr_Occurred()) SWIG_fail;
7801 if (obj3) {
7802 arg4 = (int)SWIG_As_int(obj3);
7803 if (PyErr_Occurred()) SWIG_fail;
7804 }
7805 {
7806 PyThreadState* __tstate = wxPyBeginAllowThreads();
7807 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
7808
7809 wxPyEndAllowThreads(__tstate);
7810 if (PyErr_Occurred()) SWIG_fail;
7811 }
7812 resultobj = SWIG_From_int((int)result);
7813 return resultobj;
7814 fail:
7815 return NULL;
7816}
7817
7818
7819static PyObject *_wrap_SashWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
7820 PyObject *resultobj;
7821 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7822 PyObject * obj0 = 0 ;
7823 char *kwnames[] = {
7824 (char *) "self", NULL
7825 };
7826
7827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
7828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7830 {
7831 PyThreadState* __tstate = wxPyBeginAllowThreads();
7832 (arg1)->SizeWindows();
7833
7834 wxPyEndAllowThreads(__tstate);
7835 if (PyErr_Occurred()) SWIG_fail;
7836 }
7837 Py_INCREF(Py_None); resultobj = Py_None;
7838 return resultobj;
7839 fail:
7840 return NULL;
7841}
7842
7843
7844static PyObject * SashWindow_swigregister(PyObject *, PyObject *args) {
7845 PyObject *obj;
7846 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7847 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
7848 Py_INCREF(obj);
7849 return Py_BuildValue((char *)"");
7850}
7851static PyObject *_wrap_new_SashEvent(PyObject *, PyObject *args, PyObject *kwargs) {
7852 PyObject *resultobj;
7853 int arg1 = (int) 0 ;
7854 int arg2 = (int) wxSASH_NONE ;
7855 wxSashEvent *result;
7856 PyObject * obj0 = 0 ;
7857 PyObject * obj1 = 0 ;
7858 char *kwnames[] = {
7859 (char *) "id",(char *) "edge", NULL
7860 };
7861
7862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
7863 if (obj0) {
7864 arg1 = (int)SWIG_As_int(obj0);
7865 if (PyErr_Occurred()) SWIG_fail;
7866 }
7867 if (obj1) {
7868 arg2 = (int)SWIG_As_int(obj1);
7869 if (PyErr_Occurred()) SWIG_fail;
7870 }
7871 {
7872 PyThreadState* __tstate = wxPyBeginAllowThreads();
7873 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
7874
7875 wxPyEndAllowThreads(__tstate);
7876 if (PyErr_Occurred()) SWIG_fail;
7877 }
7878 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
7879 return resultobj;
7880 fail:
7881 return NULL;
7882}
7883
7884
7885static PyObject *_wrap_SashEvent_SetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
7886 PyObject *resultobj;
7887 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7888 int arg2 ;
7889 PyObject * obj0 = 0 ;
7890 PyObject * obj1 = 0 ;
7891 char *kwnames[] = {
7892 (char *) "self",(char *) "edge", NULL
7893 };
7894
7895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
7896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7898 arg2 = (int)SWIG_As_int(obj1);
7899 if (PyErr_Occurred()) SWIG_fail;
7900 {
7901 PyThreadState* __tstate = wxPyBeginAllowThreads();
7902 (arg1)->SetEdge((wxSashEdgePosition )arg2);
7903
7904 wxPyEndAllowThreads(__tstate);
7905 if (PyErr_Occurred()) SWIG_fail;
7906 }
7907 Py_INCREF(Py_None); resultobj = Py_None;
7908 return resultobj;
7909 fail:
7910 return NULL;
7911}
7912
7913
7914static PyObject *_wrap_SashEvent_GetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
7915 PyObject *resultobj;
7916 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7917 int result;
7918 PyObject * obj0 = 0 ;
7919 char *kwnames[] = {
7920 (char *) "self", NULL
7921 };
7922
7923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
7924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7926 {
7927 PyThreadState* __tstate = wxPyBeginAllowThreads();
7928 result = (int)((wxSashEvent const *)arg1)->GetEdge();
7929
7930 wxPyEndAllowThreads(__tstate);
7931 if (PyErr_Occurred()) SWIG_fail;
7932 }
7933 resultobj = SWIG_From_int((int)result);
7934 return resultobj;
7935 fail:
7936 return NULL;
7937}
7938
7939
7940static PyObject *_wrap_SashEvent_SetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
7941 PyObject *resultobj;
7942 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7943 wxRect *arg2 = 0 ;
7944 wxRect temp2 ;
7945 PyObject * obj0 = 0 ;
7946 PyObject * obj1 = 0 ;
7947 char *kwnames[] = {
7948 (char *) "self",(char *) "rect", NULL
7949 };
7950
7951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
7952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7954 {
7955 arg2 = &temp2;
7956 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7957 }
7958 {
7959 PyThreadState* __tstate = wxPyBeginAllowThreads();
7960 (arg1)->SetDragRect((wxRect const &)*arg2);
7961
7962 wxPyEndAllowThreads(__tstate);
7963 if (PyErr_Occurred()) SWIG_fail;
7964 }
7965 Py_INCREF(Py_None); resultobj = Py_None;
7966 return resultobj;
7967 fail:
7968 return NULL;
7969}
7970
7971
7972static PyObject *_wrap_SashEvent_GetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
7973 PyObject *resultobj;
7974 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7975 wxRect result;
7976 PyObject * obj0 = 0 ;
7977 char *kwnames[] = {
7978 (char *) "self", NULL
7979 };
7980
7981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
7982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7984 {
7985 PyThreadState* __tstate = wxPyBeginAllowThreads();
7986 result = ((wxSashEvent const *)arg1)->GetDragRect();
7987
7988 wxPyEndAllowThreads(__tstate);
7989 if (PyErr_Occurred()) SWIG_fail;
7990 }
7991 {
7992 wxRect * resultptr;
7993 resultptr = new wxRect((wxRect &) result);
7994 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7995 }
7996 return resultobj;
7997 fail:
7998 return NULL;
7999}
8000
8001
8002static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
8003 PyObject *resultobj;
8004 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
8005 int arg2 ;
8006 PyObject * obj0 = 0 ;
8007 PyObject * obj1 = 0 ;
8008 char *kwnames[] = {
8009 (char *) "self",(char *) "status", NULL
8010 };
8011
8012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
8013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
8014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8015 arg2 = (int)SWIG_As_int(obj1);
8016 if (PyErr_Occurred()) SWIG_fail;
8017 {
8018 PyThreadState* __tstate = wxPyBeginAllowThreads();
8019 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
8020
8021 wxPyEndAllowThreads(__tstate);
8022 if (PyErr_Occurred()) SWIG_fail;
8023 }
8024 Py_INCREF(Py_None); resultobj = Py_None;
8025 return resultobj;
8026 fail:
8027 return NULL;
8028}
8029
8030
8031static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
8032 PyObject *resultobj;
8033 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
8034 int result;
8035 PyObject * obj0 = 0 ;
8036 char *kwnames[] = {
8037 (char *) "self", NULL
8038 };
8039
8040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
8041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
8042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8043 {
8044 PyThreadState* __tstate = wxPyBeginAllowThreads();
8045 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
8046
8047 wxPyEndAllowThreads(__tstate);
8048 if (PyErr_Occurred()) SWIG_fail;
8049 }
8050 resultobj = SWIG_From_int((int)result);
8051 return resultobj;
8052 fail:
8053 return NULL;
8054}
8055
8056
8057static PyObject * SashEvent_swigregister(PyObject *, PyObject *args) {
8058 PyObject *obj;
8059 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8060 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
8061 Py_INCREF(obj);
8062 return Py_BuildValue((char *)"");
8063}
8064static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *, PyObject *args, PyObject *kwargs) {
8065 PyObject *resultobj;
8066 int arg1 = (int) 0 ;
8067 wxQueryLayoutInfoEvent *result;
8068 PyObject * obj0 = 0 ;
8069 char *kwnames[] = {
8070 (char *) "id", NULL
8071 };
8072
8073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
8074 if (obj0) {
8075 arg1 = (int)SWIG_As_int(obj0);
8076 if (PyErr_Occurred()) SWIG_fail;
8077 }
8078 {
8079 PyThreadState* __tstate = wxPyBeginAllowThreads();
8080 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
8081
8082 wxPyEndAllowThreads(__tstate);
8083 if (PyErr_Occurred()) SWIG_fail;
8084 }
8085 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
8086 return resultobj;
8087 fail:
8088 return NULL;
8089}
8090
8091
8092static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
8093 PyObject *resultobj;
8094 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8095 int arg2 ;
8096 PyObject * obj0 = 0 ;
8097 PyObject * obj1 = 0 ;
8098 char *kwnames[] = {
8099 (char *) "self",(char *) "length", NULL
8100 };
8101
8102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
8103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8105 arg2 = (int)SWIG_As_int(obj1);
8106 if (PyErr_Occurred()) SWIG_fail;
8107 {
8108 PyThreadState* __tstate = wxPyBeginAllowThreads();
8109 (arg1)->SetRequestedLength(arg2);
8110
8111 wxPyEndAllowThreads(__tstate);
8112 if (PyErr_Occurred()) SWIG_fail;
8113 }
8114 Py_INCREF(Py_None); resultobj = Py_None;
8115 return resultobj;
8116 fail:
8117 return NULL;
8118}
8119
8120
8121static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
8122 PyObject *resultobj;
8123 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8124 int result;
8125 PyObject * obj0 = 0 ;
8126 char *kwnames[] = {
8127 (char *) "self", NULL
8128 };
8129
8130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
8131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8133 {
8134 PyThreadState* __tstate = wxPyBeginAllowThreads();
8135 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
8136
8137 wxPyEndAllowThreads(__tstate);
8138 if (PyErr_Occurred()) SWIG_fail;
8139 }
8140 resultobj = SWIG_From_int((int)result);
8141 return resultobj;
8142 fail:
8143 return NULL;
8144}
8145
8146
8147static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
8148 PyObject *resultobj;
8149 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8150 int arg2 ;
8151 PyObject * obj0 = 0 ;
8152 PyObject * obj1 = 0 ;
8153 char *kwnames[] = {
8154 (char *) "self",(char *) "flags", NULL
8155 };
8156
8157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
8158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8160 arg2 = (int)SWIG_As_int(obj1);
8161 if (PyErr_Occurred()) SWIG_fail;
8162 {
8163 PyThreadState* __tstate = wxPyBeginAllowThreads();
8164 (arg1)->SetFlags(arg2);
8165
8166 wxPyEndAllowThreads(__tstate);
8167 if (PyErr_Occurred()) SWIG_fail;
8168 }
8169 Py_INCREF(Py_None); resultobj = Py_None;
8170 return resultobj;
8171 fail:
8172 return NULL;
8173}
8174
8175
8176static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
8177 PyObject *resultobj;
8178 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8179 int result;
8180 PyObject * obj0 = 0 ;
8181 char *kwnames[] = {
8182 (char *) "self", NULL
8183 };
8184
8185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
8186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8188 {
8189 PyThreadState* __tstate = wxPyBeginAllowThreads();
8190 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
8191
8192 wxPyEndAllowThreads(__tstate);
8193 if (PyErr_Occurred()) SWIG_fail;
8194 }
8195 resultobj = SWIG_From_int((int)result);
8196 return resultobj;
8197 fail:
8198 return NULL;
8199}
8200
8201
8202static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
8203 PyObject *resultobj;
8204 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8205 wxSize *arg2 = 0 ;
8206 wxSize temp2 ;
8207 PyObject * obj0 = 0 ;
8208 PyObject * obj1 = 0 ;
8209 char *kwnames[] = {
8210 (char *) "self",(char *) "size", NULL
8211 };
8212
8213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
8214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8216 {
8217 arg2 = &temp2;
8218 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
8219 }
8220 {
8221 PyThreadState* __tstate = wxPyBeginAllowThreads();
8222 (arg1)->SetSize((wxSize const &)*arg2);
8223
8224 wxPyEndAllowThreads(__tstate);
8225 if (PyErr_Occurred()) SWIG_fail;
8226 }
8227 Py_INCREF(Py_None); resultobj = Py_None;
8228 return resultobj;
8229 fail:
8230 return NULL;
8231}
8232
8233
8234static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
8235 PyObject *resultobj;
8236 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8237 wxSize result;
8238 PyObject * obj0 = 0 ;
8239 char *kwnames[] = {
8240 (char *) "self", NULL
8241 };
8242
8243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
8244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8246 {
8247 PyThreadState* __tstate = wxPyBeginAllowThreads();
8248 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
8249
8250 wxPyEndAllowThreads(__tstate);
8251 if (PyErr_Occurred()) SWIG_fail;
8252 }
8253 {
8254 wxSize * resultptr;
8255 resultptr = new wxSize((wxSize &) result);
8256 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
8257 }
8258 return resultobj;
8259 fail:
8260 return NULL;
8261}
8262
8263
8264static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
8265 PyObject *resultobj;
8266 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8267 int arg2 ;
8268 PyObject * obj0 = 0 ;
8269 PyObject * obj1 = 0 ;
8270 char *kwnames[] = {
8271 (char *) "self",(char *) "orient", NULL
8272 };
8273
8274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
8275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8277 arg2 = (int)SWIG_As_int(obj1);
8278 if (PyErr_Occurred()) SWIG_fail;
8279 {
8280 PyThreadState* __tstate = wxPyBeginAllowThreads();
8281 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8282
8283 wxPyEndAllowThreads(__tstate);
8284 if (PyErr_Occurred()) SWIG_fail;
8285 }
8286 Py_INCREF(Py_None); resultobj = Py_None;
8287 return resultobj;
8288 fail:
8289 return NULL;
8290}
8291
8292
8293static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
8294 PyObject *resultobj;
8295 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8296 int result;
8297 PyObject * obj0 = 0 ;
8298 char *kwnames[] = {
8299 (char *) "self", NULL
8300 };
8301
8302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
8303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8305 {
8306 PyThreadState* __tstate = wxPyBeginAllowThreads();
8307 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
8308
8309 wxPyEndAllowThreads(__tstate);
8310 if (PyErr_Occurred()) SWIG_fail;
8311 }
8312 resultobj = SWIG_From_int((int)result);
8313 return resultobj;
8314 fail:
8315 return NULL;
8316}
8317
8318
8319static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8320 PyObject *resultobj;
8321 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8322 int arg2 ;
8323 PyObject * obj0 = 0 ;
8324 PyObject * obj1 = 0 ;
8325 char *kwnames[] = {
8326 (char *) "self",(char *) "align", NULL
8327 };
8328
8329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8332 arg2 = (int)SWIG_As_int(obj1);
8333 if (PyErr_Occurred()) SWIG_fail;
8334 {
8335 PyThreadState* __tstate = wxPyBeginAllowThreads();
8336 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
8337
8338 wxPyEndAllowThreads(__tstate);
8339 if (PyErr_Occurred()) SWIG_fail;
8340 }
8341 Py_INCREF(Py_None); resultobj = Py_None;
8342 return resultobj;
8343 fail:
8344 return NULL;
8345}
8346
8347
8348static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8349 PyObject *resultobj;
8350 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8351 int result;
8352 PyObject * obj0 = 0 ;
8353 char *kwnames[] = {
8354 (char *) "self", NULL
8355 };
8356
8357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
8358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8360 {
8361 PyThreadState* __tstate = wxPyBeginAllowThreads();
8362 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
8363
8364 wxPyEndAllowThreads(__tstate);
8365 if (PyErr_Occurred()) SWIG_fail;
8366 }
8367 resultobj = SWIG_From_int((int)result);
8368 return resultobj;
8369 fail:
8370 return NULL;
8371}
8372
8373
8374static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *, PyObject *args) {
8375 PyObject *obj;
8376 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8377 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
8378 Py_INCREF(obj);
8379 return Py_BuildValue((char *)"");
8380}
8381static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *, PyObject *args, PyObject *kwargs) {
8382 PyObject *resultobj;
8383 int arg1 = (int) 0 ;
8384 wxCalculateLayoutEvent *result;
8385 PyObject * obj0 = 0 ;
8386 char *kwnames[] = {
8387 (char *) "id", NULL
8388 };
8389
8390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
8391 if (obj0) {
8392 arg1 = (int)SWIG_As_int(obj0);
8393 if (PyErr_Occurred()) SWIG_fail;
8394 }
8395 {
8396 PyThreadState* __tstate = wxPyBeginAllowThreads();
8397 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
8398
8399 wxPyEndAllowThreads(__tstate);
8400 if (PyErr_Occurred()) SWIG_fail;
8401 }
8402 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
8403 return resultobj;
8404 fail:
8405 return NULL;
8406}
8407
8408
8409static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
8410 PyObject *resultobj;
8411 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8412 int arg2 ;
8413 PyObject * obj0 = 0 ;
8414 PyObject * obj1 = 0 ;
8415 char *kwnames[] = {
8416 (char *) "self",(char *) "flags", NULL
8417 };
8418
8419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
8420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8422 arg2 = (int)SWIG_As_int(obj1);
8423 if (PyErr_Occurred()) SWIG_fail;
8424 {
8425 PyThreadState* __tstate = wxPyBeginAllowThreads();
8426 (arg1)->SetFlags(arg2);
8427
8428 wxPyEndAllowThreads(__tstate);
8429 if (PyErr_Occurred()) SWIG_fail;
8430 }
8431 Py_INCREF(Py_None); resultobj = Py_None;
8432 return resultobj;
8433 fail:
8434 return NULL;
8435}
8436
8437
8438static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
8439 PyObject *resultobj;
8440 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8441 int result;
8442 PyObject * obj0 = 0 ;
8443 char *kwnames[] = {
8444 (char *) "self", NULL
8445 };
8446
8447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
8448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8450 {
8451 PyThreadState* __tstate = wxPyBeginAllowThreads();
8452 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
8453
8454 wxPyEndAllowThreads(__tstate);
8455 if (PyErr_Occurred()) SWIG_fail;
8456 }
8457 resultobj = SWIG_From_int((int)result);
8458 return resultobj;
8459 fail:
8460 return NULL;
8461}
8462
8463
8464static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
8465 PyObject *resultobj;
8466 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8467 wxRect *arg2 = 0 ;
8468 wxRect temp2 ;
8469 PyObject * obj0 = 0 ;
8470 PyObject * obj1 = 0 ;
8471 char *kwnames[] = {
8472 (char *) "self",(char *) "rect", NULL
8473 };
8474
8475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
8476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8478 {
8479 arg2 = &temp2;
8480 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8481 }
8482 {
8483 PyThreadState* __tstate = wxPyBeginAllowThreads();
8484 (arg1)->SetRect((wxRect const &)*arg2);
8485
8486 wxPyEndAllowThreads(__tstate);
8487 if (PyErr_Occurred()) SWIG_fail;
8488 }
8489 Py_INCREF(Py_None); resultobj = Py_None;
8490 return resultobj;
8491 fail:
8492 return NULL;
8493}
8494
8495
8496static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
8497 PyObject *resultobj;
8498 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8499 wxRect result;
8500 PyObject * obj0 = 0 ;
8501 char *kwnames[] = {
8502 (char *) "self", NULL
8503 };
8504
8505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
8506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8508 {
8509 PyThreadState* __tstate = wxPyBeginAllowThreads();
8510 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
8511
8512 wxPyEndAllowThreads(__tstate);
8513 if (PyErr_Occurred()) SWIG_fail;
8514 }
8515 {
8516 wxRect * resultptr;
8517 resultptr = new wxRect((wxRect &) result);
8518 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
8519 }
8520 return resultobj;
8521 fail:
8522 return NULL;
8523}
8524
8525
8526static PyObject * CalculateLayoutEvent_swigregister(PyObject *, PyObject *args) {
8527 PyObject *obj;
8528 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8529 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
8530 Py_INCREF(obj);
8531 return Py_BuildValue((char *)"");
8532}
8533static PyObject *_wrap_new_SashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8534 PyObject *resultobj;
8535 wxWindow *arg1 = (wxWindow *) 0 ;
8536 int arg2 = (int) -1 ;
8537 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8538 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8539 wxSize const &arg4_defvalue = wxDefaultSize ;
8540 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8541 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8542 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
8543 wxString *arg6 = (wxString *) &arg6_defvalue ;
8544 wxSashLayoutWindow *result;
8545 wxPoint temp3 ;
8546 wxSize temp4 ;
8547 bool temp6 = false ;
8548 PyObject * obj0 = 0 ;
8549 PyObject * obj1 = 0 ;
8550 PyObject * obj2 = 0 ;
8551 PyObject * obj3 = 0 ;
8552 PyObject * obj4 = 0 ;
8553 PyObject * obj5 = 0 ;
8554 char *kwnames[] = {
8555 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8556 };
8557
8558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8561 if (obj1) {
8562 arg2 = (int)SWIG_As_int(obj1);
8563 if (PyErr_Occurred()) SWIG_fail;
8564 }
8565 if (obj2) {
8566 {
8567 arg3 = &temp3;
8568 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8569 }
8570 }
8571 if (obj3) {
8572 {
8573 arg4 = &temp4;
8574 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8575 }
8576 }
8577 if (obj4) {
8578 arg5 = (long)SWIG_As_long(obj4);
8579 if (PyErr_Occurred()) SWIG_fail;
8580 }
8581 if (obj5) {
8582 {
8583 arg6 = wxString_in_helper(obj5);
8584 if (arg6 == NULL) SWIG_fail;
8585 temp6 = true;
8586 }
8587 }
8588 {
8589 if (!wxPyCheckForApp()) SWIG_fail;
8590 PyThreadState* __tstate = wxPyBeginAllowThreads();
8591 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8592
8593 wxPyEndAllowThreads(__tstate);
8594 if (PyErr_Occurred()) SWIG_fail;
8595 }
8596 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
8597 {
8598 if (temp6)
8599 delete arg6;
8600 }
8601 return resultobj;
8602 fail:
8603 {
8604 if (temp6)
8605 delete arg6;
8606 }
8607 return NULL;
8608}
8609
8610
8611static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8612 PyObject *resultobj;
8613 wxSashLayoutWindow *result;
8614 char *kwnames[] = {
8615 NULL
8616 };
8617
8618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
8619 {
8620 if (!wxPyCheckForApp()) SWIG_fail;
8621 PyThreadState* __tstate = wxPyBeginAllowThreads();
8622 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
8623
8624 wxPyEndAllowThreads(__tstate);
8625 if (PyErr_Occurred()) SWIG_fail;
8626 }
8627 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
8628 return resultobj;
8629 fail:
8630 return NULL;
8631}
8632
8633
8634static PyObject *_wrap_SashLayoutWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
8635 PyObject *resultobj;
8636 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8637 wxWindow *arg2 = (wxWindow *) 0 ;
8638 int arg3 = (int) -1 ;
8639 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8640 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8641 wxSize const &arg5_defvalue = wxDefaultSize ;
8642 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8643 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8644 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
8645 wxString *arg7 = (wxString *) &arg7_defvalue ;
8646 bool result;
8647 wxPoint temp4 ;
8648 wxSize temp5 ;
8649 bool temp7 = false ;
8650 PyObject * obj0 = 0 ;
8651 PyObject * obj1 = 0 ;
8652 PyObject * obj2 = 0 ;
8653 PyObject * obj3 = 0 ;
8654 PyObject * obj4 = 0 ;
8655 PyObject * obj5 = 0 ;
8656 PyObject * obj6 = 0 ;
8657 char *kwnames[] = {
8658 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8659 };
8660
8661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8664 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8666 if (obj2) {
8667 arg3 = (int)SWIG_As_int(obj2);
8668 if (PyErr_Occurred()) SWIG_fail;
8669 }
8670 if (obj3) {
8671 {
8672 arg4 = &temp4;
8673 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8674 }
8675 }
8676 if (obj4) {
8677 {
8678 arg5 = &temp5;
8679 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8680 }
8681 }
8682 if (obj5) {
8683 arg6 = (long)SWIG_As_long(obj5);
8684 if (PyErr_Occurred()) SWIG_fail;
8685 }
8686 if (obj6) {
8687 {
8688 arg7 = wxString_in_helper(obj6);
8689 if (arg7 == NULL) SWIG_fail;
8690 temp7 = true;
8691 }
8692 }
8693 {
8694 PyThreadState* __tstate = wxPyBeginAllowThreads();
8695 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8696
8697 wxPyEndAllowThreads(__tstate);
8698 if (PyErr_Occurred()) SWIG_fail;
8699 }
8700 {
8701 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8702 }
8703 {
8704 if (temp7)
8705 delete arg7;
8706 }
8707 return resultobj;
8708 fail:
8709 {
8710 if (temp7)
8711 delete arg7;
8712 }
8713 return NULL;
8714}
8715
8716
8717static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8718 PyObject *resultobj;
8719 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8720 int result;
8721 PyObject * obj0 = 0 ;
8722 char *kwnames[] = {
8723 (char *) "self", NULL
8724 };
8725
8726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
8727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8729 {
8730 PyThreadState* __tstate = wxPyBeginAllowThreads();
8731 result = (int)(arg1)->GetAlignment();
8732
8733 wxPyEndAllowThreads(__tstate);
8734 if (PyErr_Occurred()) SWIG_fail;
8735 }
8736 resultobj = SWIG_From_int((int)result);
8737 return resultobj;
8738 fail:
8739 return NULL;
8740}
8741
8742
8743static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
8744 PyObject *resultobj;
8745 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8746 int result;
8747 PyObject * obj0 = 0 ;
8748 char *kwnames[] = {
8749 (char *) "self", NULL
8750 };
8751
8752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
8753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8755 {
8756 PyThreadState* __tstate = wxPyBeginAllowThreads();
8757 result = (int)(arg1)->GetOrientation();
8758
8759 wxPyEndAllowThreads(__tstate);
8760 if (PyErr_Occurred()) SWIG_fail;
8761 }
8762 resultobj = SWIG_From_int((int)result);
8763 return resultobj;
8764 fail:
8765 return NULL;
8766}
8767
8768
8769static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8770 PyObject *resultobj;
8771 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8772 int arg2 ;
8773 PyObject * obj0 = 0 ;
8774 PyObject * obj1 = 0 ;
8775 char *kwnames[] = {
8776 (char *) "self",(char *) "alignment", NULL
8777 };
8778
8779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8782 arg2 = (int)SWIG_As_int(obj1);
8783 if (PyErr_Occurred()) SWIG_fail;
8784 {
8785 PyThreadState* __tstate = wxPyBeginAllowThreads();
8786 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
8787
8788 wxPyEndAllowThreads(__tstate);
8789 if (PyErr_Occurred()) SWIG_fail;
8790 }
8791 Py_INCREF(Py_None); resultobj = Py_None;
8792 return resultobj;
8793 fail:
8794 return NULL;
8795}
8796
8797
8798static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
8799 PyObject *resultobj;
8800 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8801 wxSize *arg2 = 0 ;
8802 wxSize temp2 ;
8803 PyObject * obj0 = 0 ;
8804 PyObject * obj1 = 0 ;
8805 char *kwnames[] = {
8806 (char *) "self",(char *) "size", NULL
8807 };
8808
8809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
8810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8812 {
8813 arg2 = &temp2;
8814 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
8815 }
8816 {
8817 PyThreadState* __tstate = wxPyBeginAllowThreads();
8818 (arg1)->SetDefaultSize((wxSize const &)*arg2);
8819
8820 wxPyEndAllowThreads(__tstate);
8821 if (PyErr_Occurred()) SWIG_fail;
8822 }
8823 Py_INCREF(Py_None); resultobj = Py_None;
8824 return resultobj;
8825 fail:
8826 return NULL;
8827}
8828
8829
8830static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
8831 PyObject *resultobj;
8832 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8833 int arg2 ;
8834 PyObject * obj0 = 0 ;
8835 PyObject * obj1 = 0 ;
8836 char *kwnames[] = {
8837 (char *) "self",(char *) "orientation", NULL
8838 };
8839
8840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
8841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8843 arg2 = (int)SWIG_As_int(obj1);
8844 if (PyErr_Occurred()) SWIG_fail;
8845 {
8846 PyThreadState* __tstate = wxPyBeginAllowThreads();
8847 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8848
8849 wxPyEndAllowThreads(__tstate);
8850 if (PyErr_Occurred()) SWIG_fail;
8851 }
8852 Py_INCREF(Py_None); resultobj = Py_None;
8853 return resultobj;
8854 fail:
8855 return NULL;
8856}
8857
8858
8859static PyObject * SashLayoutWindow_swigregister(PyObject *, PyObject *args) {
8860 PyObject *obj;
8861 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8862 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
8863 Py_INCREF(obj);
8864 return Py_BuildValue((char *)"");
8865}
8866static PyObject *_wrap_new_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
8867 PyObject *resultobj;
8868 wxLayoutAlgorithm *result;
8869 char *kwnames[] = {
8870 NULL
8871 };
8872
8873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
8874 {
8875 PyThreadState* __tstate = wxPyBeginAllowThreads();
8876 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
8877
8878 wxPyEndAllowThreads(__tstate);
8879 if (PyErr_Occurred()) SWIG_fail;
8880 }
8881 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
8882 return resultobj;
8883 fail:
8884 return NULL;
8885}
8886
8887
8888static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
8889 PyObject *resultobj;
8890 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8891 PyObject * obj0 = 0 ;
8892 char *kwnames[] = {
8893 (char *) "self", NULL
8894 };
8895
8896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
8897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8899 {
8900 PyThreadState* __tstate = wxPyBeginAllowThreads();
8901 delete arg1;
8902
8903 wxPyEndAllowThreads(__tstate);
8904 if (PyErr_Occurred()) SWIG_fail;
8905 }
8906 Py_INCREF(Py_None); resultobj = Py_None;
8907 return resultobj;
8908 fail:
8909 return NULL;
8910}
8911
8912
8913static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *, PyObject *args, PyObject *kwargs) {
8914 PyObject *resultobj;
8915 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8916 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
8917 wxRect *arg3 = (wxRect *) NULL ;
8918 bool result;
8919 PyObject * obj0 = 0 ;
8920 PyObject * obj1 = 0 ;
8921 PyObject * obj2 = 0 ;
8922 char *kwnames[] = {
8923 (char *) "self",(char *) "frame",(char *) "rect", NULL
8924 };
8925
8926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8929 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
8930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8931 if (obj2) {
8932 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect,
8933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8934 }
8935 {
8936 PyThreadState* __tstate = wxPyBeginAllowThreads();
8937 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
8938
8939 wxPyEndAllowThreads(__tstate);
8940 if (PyErr_Occurred()) SWIG_fail;
8941 }
8942 {
8943 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8944 }
8945 return resultobj;
8946 fail:
8947 return NULL;
8948}
8949
8950
8951static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *, PyObject *args, PyObject *kwargs) {
8952 PyObject *resultobj;
8953 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8954 wxFrame *arg2 = (wxFrame *) 0 ;
8955 wxWindow *arg3 = (wxWindow *) NULL ;
8956 bool result;
8957 PyObject * obj0 = 0 ;
8958 PyObject * obj1 = 0 ;
8959 PyObject * obj2 = 0 ;
8960 char *kwnames[] = {
8961 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8962 };
8963
8964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8967 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
8968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8969 if (obj2) {
8970 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8972 }
8973 {
8974 PyThreadState* __tstate = wxPyBeginAllowThreads();
8975 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
8976
8977 wxPyEndAllowThreads(__tstate);
8978 if (PyErr_Occurred()) SWIG_fail;
8979 }
8980 {
8981 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8982 }
8983 return resultobj;
8984 fail:
8985 return NULL;
8986}
8987
8988
8989static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8990 PyObject *resultobj;
8991 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8992 wxWindow *arg2 = (wxWindow *) 0 ;
8993 wxWindow *arg3 = (wxWindow *) NULL ;
8994 bool result;
8995 PyObject * obj0 = 0 ;
8996 PyObject * obj1 = 0 ;
8997 PyObject * obj2 = 0 ;
8998 char *kwnames[] = {
8999 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
9000 };
9001
9002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
9003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
9004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9005 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9007 if (obj2) {
9008 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
9009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9010 }
9011 {
9012 PyThreadState* __tstate = wxPyBeginAllowThreads();
9013 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
9014
9015 wxPyEndAllowThreads(__tstate);
9016 if (PyErr_Occurred()) SWIG_fail;
9017 }
9018 {
9019 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9020 }
9021 return resultobj;
9022 fail:
9023 return NULL;
9024}
9025
9026
9027static PyObject * LayoutAlgorithm_swigregister(PyObject *, PyObject *args) {
9028 PyObject *obj;
9029 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9030 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
9031 Py_INCREF(obj);
9032 return Py_BuildValue((char *)"");
9033}
9034static PyObject *_wrap_new_PopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9035 PyObject *resultobj;
9036 wxWindow *arg1 = (wxWindow *) 0 ;
9037 int arg2 = (int) wxBORDER_NONE ;
9038 wxPopupWindow *result;
9039 PyObject * obj0 = 0 ;
9040 PyObject * obj1 = 0 ;
9041 char *kwnames[] = {
9042 (char *) "parent",(char *) "flags", NULL
9043 };
9044
9045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
9046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9048 if (obj1) {
9049 arg2 = (int)SWIG_As_int(obj1);
9050 if (PyErr_Occurred()) SWIG_fail;
9051 }
9052 {
9053 if (!wxPyCheckForApp()) SWIG_fail;
9054 PyThreadState* __tstate = wxPyBeginAllowThreads();
9055 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
9056
9057 wxPyEndAllowThreads(__tstate);
9058 if (PyErr_Occurred()) SWIG_fail;
9059 }
9060 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
9061 return resultobj;
9062 fail:
9063 return NULL;
9064}
9065
9066
9067static PyObject *_wrap_new_PrePopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9068 PyObject *resultobj;
9069 wxPopupWindow *result;
9070 char *kwnames[] = {
9071 NULL
9072 };
9073
9074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
9075 {
9076 if (!wxPyCheckForApp()) SWIG_fail;
9077 PyThreadState* __tstate = wxPyBeginAllowThreads();
9078 result = (wxPopupWindow *)new wxPopupWindow();
9079
9080 wxPyEndAllowThreads(__tstate);
9081 if (PyErr_Occurred()) SWIG_fail;
9082 }
9083 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
9084 return resultobj;
9085 fail:
9086 return NULL;
9087}
9088
9089
9090static PyObject *_wrap_PopupWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
9091 PyObject *resultobj;
9092 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
9093 wxWindow *arg2 = (wxWindow *) 0 ;
9094 int arg3 = (int) wxBORDER_NONE ;
9095 bool result;
9096 PyObject * obj0 = 0 ;
9097 PyObject * obj1 = 0 ;
9098 PyObject * obj2 = 0 ;
9099 char *kwnames[] = {
9100 (char *) "self",(char *) "parent",(char *) "flags", NULL
9101 };
9102
9103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
9104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow,
9105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9106 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9108 if (obj2) {
9109 arg3 = (int)SWIG_As_int(obj2);
9110 if (PyErr_Occurred()) SWIG_fail;
9111 }
9112 {
9113 PyThreadState* __tstate = wxPyBeginAllowThreads();
9114 result = (bool)(arg1)->Create(arg2,arg3);
9115
9116 wxPyEndAllowThreads(__tstate);
9117 if (PyErr_Occurred()) SWIG_fail;
9118 }
9119 {
9120 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9121 }
9122 return resultobj;
9123 fail:
9124 return NULL;
9125}
9126
9127
9128static PyObject *_wrap_PopupWindow_Position(PyObject *, PyObject *args, PyObject *kwargs) {
9129 PyObject *resultobj;
9130 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
9131 wxPoint *arg2 = 0 ;
9132 wxSize *arg3 = 0 ;
9133 wxPoint temp2 ;
9134 wxSize temp3 ;
9135 PyObject * obj0 = 0 ;
9136 PyObject * obj1 = 0 ;
9137 PyObject * obj2 = 0 ;
9138 char *kwnames[] = {
9139 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
9140 };
9141
9142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail;
9143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow,
9144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9145 {
9146 arg2 = &temp2;
9147 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9148 }
9149 {
9150 arg3 = &temp3;
9151 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
9152 }
9153 {
9154 PyThreadState* __tstate = wxPyBeginAllowThreads();
9155 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
9156
9157 wxPyEndAllowThreads(__tstate);
9158 if (PyErr_Occurred()) SWIG_fail;
9159 }
9160 Py_INCREF(Py_None); resultobj = Py_None;
9161 return resultobj;
9162 fail:
9163 return NULL;
9164}
9165
9166
9167static PyObject * PopupWindow_swigregister(PyObject *, PyObject *args) {
9168 PyObject *obj;
9169 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9170 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
9171 Py_INCREF(obj);
9172 return Py_BuildValue((char *)"");
9173}
9174static PyObject *_wrap_new_PopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9175 PyObject *resultobj;
9176 wxWindow *arg1 = (wxWindow *) 0 ;
9177 int arg2 = (int) wxBORDER_NONE ;
9178 wxPyPopupTransientWindow *result;
9179 PyObject * obj0 = 0 ;
9180 PyObject * obj1 = 0 ;
9181 char *kwnames[] = {
9182 (char *) "parent",(char *) "style", NULL
9183 };
9184
9185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
9186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9188 if (obj1) {
9189 arg2 = (int)SWIG_As_int(obj1);
9190 if (PyErr_Occurred()) SWIG_fail;
9191 }
9192 {
9193 if (!wxPyCheckForApp()) SWIG_fail;
9194 PyThreadState* __tstate = wxPyBeginAllowThreads();
9195 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
9196
9197 wxPyEndAllowThreads(__tstate);
9198 if (PyErr_Occurred()) SWIG_fail;
9199 }
9200 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
9201 return resultobj;
9202 fail:
9203 return NULL;
9204}
9205
9206
9207static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9208 PyObject *resultobj;
9209 wxPyPopupTransientWindow *result;
9210 char *kwnames[] = {
9211 NULL
9212 };
9213
9214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
9215 {
9216 if (!wxPyCheckForApp()) SWIG_fail;
9217 PyThreadState* __tstate = wxPyBeginAllowThreads();
9218 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
9219
9220 wxPyEndAllowThreads(__tstate);
9221 if (PyErr_Occurred()) SWIG_fail;
9222 }
9223 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
9224 return resultobj;
9225 fail:
9226 return NULL;
9227}
9228
9229
9230static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
9231 PyObject *resultobj;
9232 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
9233 PyObject *arg2 = (PyObject *) 0 ;
9234 PyObject *arg3 = (PyObject *) 0 ;
9235 PyObject * obj0 = 0 ;
9236 PyObject * obj1 = 0 ;
9237 PyObject * obj2 = 0 ;
9238 char *kwnames[] = {
9239 (char *) "self",(char *) "self",(char *) "_class", NULL
9240 };
9241
9242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
9244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9245 arg2 = obj1;
9246 arg3 = obj2;
9247 {
9248 PyThreadState* __tstate = wxPyBeginAllowThreads();
9249 (arg1)->_setCallbackInfo(arg2,arg3);
9250
9251 wxPyEndAllowThreads(__tstate);
9252 if (PyErr_Occurred()) SWIG_fail;
9253 }
9254 Py_INCREF(Py_None); resultobj = Py_None;
9255 return resultobj;
9256 fail:
9257 return NULL;
9258}
9259
9260
9261static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *, PyObject *args, PyObject *kwargs) {
9262 PyObject *resultobj;
9263 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
9264 wxWindow *arg2 = (wxWindow *) NULL ;
9265 PyObject * obj0 = 0 ;
9266 PyObject * obj1 = 0 ;
9267 char *kwnames[] = {
9268 (char *) "self",(char *) "focus", NULL
9269 };
9270
9271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail;
9272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
9273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9274 if (obj1) {
9275 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9277 }
9278 {
9279 PyThreadState* __tstate = wxPyBeginAllowThreads();
9280 (arg1)->Popup(arg2);
9281
9282 wxPyEndAllowThreads(__tstate);
9283 if (PyErr_Occurred()) SWIG_fail;
9284 }
9285 Py_INCREF(Py_None); resultobj = Py_None;
9286 return resultobj;
9287 fail:
9288 return NULL;
9289}
9290
9291
9292static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *, PyObject *args, PyObject *kwargs) {
9293 PyObject *resultobj;
9294 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
9295 PyObject * obj0 = 0 ;
9296 char *kwnames[] = {
9297 (char *) "self", NULL
9298 };
9299
9300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail;
9301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
9302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9303 {
9304 PyThreadState* __tstate = wxPyBeginAllowThreads();
9305 (arg1)->Dismiss();
9306
9307 wxPyEndAllowThreads(__tstate);
9308 if (PyErr_Occurred()) SWIG_fail;
9309 }
9310 Py_INCREF(Py_None); resultobj = Py_None;
9311 return resultobj;
9312 fail:
9313 return NULL;
9314}
9315
9316
9317static PyObject * PopupTransientWindow_swigregister(PyObject *, PyObject *args) {
9318 PyObject *obj;
9319 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9320 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
9321 Py_INCREF(obj);
9322 return Py_BuildValue((char *)"");
9323}
9324static PyObject *_wrap_new_TipWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9325 PyObject *resultobj;
9326 wxWindow *arg1 = (wxWindow *) 0 ;
9327 wxString *arg2 = 0 ;
9328 int arg3 = (int) 100 ;
9329 wxRect *arg4 = (wxRect *) NULL ;
9330 wxTipWindow *result;
9331 bool temp2 = false ;
9332 PyObject * obj0 = 0 ;
9333 PyObject * obj1 = 0 ;
9334 PyObject * obj2 = 0 ;
9335 PyObject * obj3 = 0 ;
9336 char *kwnames[] = {
9337 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
9338 };
9339
9340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9343 {
9344 arg2 = wxString_in_helper(obj1);
9345 if (arg2 == NULL) SWIG_fail;
9346 temp2 = true;
9347 }
9348 if (obj2) {
9349 arg3 = (int)SWIG_As_int(obj2);
9350 if (PyErr_Occurred()) SWIG_fail;
9351 }
9352 if (obj3) {
9353 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect,
9354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9355 }
9356 {
9357 if (!wxPyCheckForApp()) SWIG_fail;
9358 PyThreadState* __tstate = wxPyBeginAllowThreads();
9359 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
9360
9361 wxPyEndAllowThreads(__tstate);
9362 if (PyErr_Occurred()) SWIG_fail;
9363 }
9364 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
9365 {
9366 if (temp2)
9367 delete arg2;
9368 }
9369 return resultobj;
9370 fail:
9371 {
9372 if (temp2)
9373 delete arg2;
9374 }
9375 return NULL;
9376}
9377
9378
9379static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
9380 PyObject *resultobj;
9381 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
9382 wxRect *arg2 = 0 ;
9383 wxRect temp2 ;
9384 PyObject * obj0 = 0 ;
9385 PyObject * obj1 = 0 ;
9386 char *kwnames[] = {
9387 (char *) "self",(char *) "rectBound", NULL
9388 };
9389
9390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
9391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
9392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9393 {
9394 arg2 = &temp2;
9395 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
9396 }
9397 {
9398 PyThreadState* __tstate = wxPyBeginAllowThreads();
9399 (arg1)->SetBoundingRect((wxRect const &)*arg2);
9400
9401 wxPyEndAllowThreads(__tstate);
9402 if (PyErr_Occurred()) SWIG_fail;
9403 }
9404 Py_INCREF(Py_None); resultobj = Py_None;
9405 return resultobj;
9406 fail:
9407 return NULL;
9408}
9409
9410
9411static PyObject *_wrap_TipWindow_Close(PyObject *, PyObject *args, PyObject *kwargs) {
9412 PyObject *resultobj;
9413 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
9414 PyObject * obj0 = 0 ;
9415 char *kwnames[] = {
9416 (char *) "self", NULL
9417 };
9418
9419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
9420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
9421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9422 {
9423 PyThreadState* __tstate = wxPyBeginAllowThreads();
9424 (arg1)->Close();
9425
9426 wxPyEndAllowThreads(__tstate);
9427 if (PyErr_Occurred()) SWIG_fail;
9428 }
9429 Py_INCREF(Py_None); resultobj = Py_None;
9430 return resultobj;
9431 fail:
9432 return NULL;
9433}
9434
9435
9436static PyObject * TipWindow_swigregister(PyObject *, PyObject *args) {
9437 PyObject *obj;
9438 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9439 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
9440 Py_INCREF(obj);
9441 return Py_BuildValue((char *)"");
9442}
9443static PyObject *_wrap_new_VScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9444 PyObject *resultobj;
9445 wxWindow *arg1 = (wxWindow *) 0 ;
9446 int arg2 = (int) wxID_ANY ;
9447 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9448 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9449 wxSize const &arg4_defvalue = wxDefaultSize ;
9450 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9451 long arg5 = (long) 0 ;
9452 wxString const &arg6_defvalue = wxPyPanelNameStr ;
9453 wxString *arg6 = (wxString *) &arg6_defvalue ;
9454 wxPyVScrolledWindow *result;
9455 wxPoint temp3 ;
9456 wxSize temp4 ;
9457 bool temp6 = false ;
9458 PyObject * obj0 = 0 ;
9459 PyObject * obj1 = 0 ;
9460 PyObject * obj2 = 0 ;
9461 PyObject * obj3 = 0 ;
9462 PyObject * obj4 = 0 ;
9463 PyObject * obj5 = 0 ;
9464 char *kwnames[] = {
9465 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9466 };
9467
9468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9471 if (obj1) {
9472 arg2 = (int)SWIG_As_int(obj1);
9473 if (PyErr_Occurred()) SWIG_fail;
9474 }
9475 if (obj2) {
9476 {
9477 arg3 = &temp3;
9478 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9479 }
9480 }
9481 if (obj3) {
9482 {
9483 arg4 = &temp4;
9484 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9485 }
9486 }
9487 if (obj4) {
9488 arg5 = (long)SWIG_As_long(obj4);
9489 if (PyErr_Occurred()) SWIG_fail;
9490 }
9491 if (obj5) {
9492 {
9493 arg6 = wxString_in_helper(obj5);
9494 if (arg6 == NULL) SWIG_fail;
9495 temp6 = true;
9496 }
9497 }
9498 {
9499 if (!wxPyCheckForApp()) SWIG_fail;
9500 PyThreadState* __tstate = wxPyBeginAllowThreads();
9501 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9502
9503 wxPyEndAllowThreads(__tstate);
9504 if (PyErr_Occurred()) SWIG_fail;
9505 }
9506 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
9507 {
9508 if (temp6)
9509 delete arg6;
9510 }
9511 return resultobj;
9512 fail:
9513 {
9514 if (temp6)
9515 delete arg6;
9516 }
9517 return NULL;
9518}
9519
9520
9521static PyObject *_wrap_new_PreVScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9522 PyObject *resultobj;
9523 wxPyVScrolledWindow *result;
9524 char *kwnames[] = {
9525 NULL
9526 };
9527
9528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
9529 {
9530 if (!wxPyCheckForApp()) SWIG_fail;
9531 PyThreadState* __tstate = wxPyBeginAllowThreads();
9532 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
9533
9534 wxPyEndAllowThreads(__tstate);
9535 if (PyErr_Occurred()) SWIG_fail;
9536 }
9537 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
9538 return resultobj;
9539 fail:
9540 return NULL;
9541}
9542
9543
9544static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
9545 PyObject *resultobj;
9546 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9547 PyObject *arg2 = (PyObject *) 0 ;
9548 PyObject *arg3 = (PyObject *) 0 ;
9549 PyObject * obj0 = 0 ;
9550 PyObject * obj1 = 0 ;
9551 PyObject * obj2 = 0 ;
9552 char *kwnames[] = {
9553 (char *) "self",(char *) "self",(char *) "_class", NULL
9554 };
9555
9556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9559 arg2 = obj1;
9560 arg3 = obj2;
9561 {
9562 PyThreadState* __tstate = wxPyBeginAllowThreads();
9563 (arg1)->_setCallbackInfo(arg2,arg3);
9564
9565 wxPyEndAllowThreads(__tstate);
9566 if (PyErr_Occurred()) SWIG_fail;
9567 }
9568 Py_INCREF(Py_None); resultobj = Py_None;
9569 return resultobj;
9570 fail:
9571 return NULL;
9572}
9573
9574
9575static PyObject *_wrap_VScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
9576 PyObject *resultobj;
9577 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9578 wxWindow *arg2 = (wxWindow *) 0 ;
9579 int arg3 = (int) wxID_ANY ;
9580 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9581 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9582 wxSize const &arg5_defvalue = wxDefaultSize ;
9583 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9584 long arg6 = (long) 0 ;
9585 wxString const &arg7_defvalue = wxPyPanelNameStr ;
9586 wxString *arg7 = (wxString *) &arg7_defvalue ;
9587 bool result;
9588 wxPoint temp4 ;
9589 wxSize temp5 ;
9590 bool temp7 = false ;
9591 PyObject * obj0 = 0 ;
9592 PyObject * obj1 = 0 ;
9593 PyObject * obj2 = 0 ;
9594 PyObject * obj3 = 0 ;
9595 PyObject * obj4 = 0 ;
9596 PyObject * obj5 = 0 ;
9597 PyObject * obj6 = 0 ;
9598 char *kwnames[] = {
9599 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9600 };
9601
9602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9605 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9607 if (obj2) {
9608 arg3 = (int)SWIG_As_int(obj2);
9609 if (PyErr_Occurred()) SWIG_fail;
9610 }
9611 if (obj3) {
9612 {
9613 arg4 = &temp4;
9614 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9615 }
9616 }
9617 if (obj4) {
9618 {
9619 arg5 = &temp5;
9620 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9621 }
9622 }
9623 if (obj5) {
9624 arg6 = (long)SWIG_As_long(obj5);
9625 if (PyErr_Occurred()) SWIG_fail;
9626 }
9627 if (obj6) {
9628 {
9629 arg7 = wxString_in_helper(obj6);
9630 if (arg7 == NULL) SWIG_fail;
9631 temp7 = true;
9632 }
9633 }
9634 {
9635 PyThreadState* __tstate = wxPyBeginAllowThreads();
9636 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9637
9638 wxPyEndAllowThreads(__tstate);
9639 if (PyErr_Occurred()) SWIG_fail;
9640 }
9641 {
9642 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9643 }
9644 {
9645 if (temp7)
9646 delete arg7;
9647 }
9648 return resultobj;
9649 fail:
9650 {
9651 if (temp7)
9652 delete arg7;
9653 }
9654 return NULL;
9655}
9656
9657
9658static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
9659 PyObject *resultobj;
9660 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9661 size_t arg2 ;
9662 PyObject * obj0 = 0 ;
9663 PyObject * obj1 = 0 ;
9664 char *kwnames[] = {
9665 (char *) "self",(char *) "count", NULL
9666 };
9667
9668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
9669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9671 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
9672 if (PyErr_Occurred()) SWIG_fail;
9673 {
9674 PyThreadState* __tstate = wxPyBeginAllowThreads();
9675 (arg1)->SetLineCount(arg2);
9676
9677 wxPyEndAllowThreads(__tstate);
9678 if (PyErr_Occurred()) SWIG_fail;
9679 }
9680 Py_INCREF(Py_None); resultobj = Py_None;
9681 return resultobj;
9682 fail:
9683 return NULL;
9684}
9685
9686
9687static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) {
9688 PyObject *resultobj;
9689 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9690 size_t arg2 ;
9691 bool result;
9692 PyObject * obj0 = 0 ;
9693 PyObject * obj1 = 0 ;
9694 char *kwnames[] = {
9695 (char *) "self",(char *) "line", NULL
9696 };
9697
9698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
9699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9701 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
9702 if (PyErr_Occurred()) SWIG_fail;
9703 {
9704 PyThreadState* __tstate = wxPyBeginAllowThreads();
9705 result = (bool)(arg1)->ScrollToLine(arg2);
9706
9707 wxPyEndAllowThreads(__tstate);
9708 if (PyErr_Occurred()) SWIG_fail;
9709 }
9710 {
9711 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9712 }
9713 return resultobj;
9714 fail:
9715 return NULL;
9716}
9717
9718
9719static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *, PyObject *args, PyObject *kwargs) {
9720 PyObject *resultobj;
9721 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9722 int arg2 ;
9723 bool result;
9724 PyObject * obj0 = 0 ;
9725 PyObject * obj1 = 0 ;
9726 char *kwnames[] = {
9727 (char *) "self",(char *) "lines", NULL
9728 };
9729
9730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
9731 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9733 arg2 = (int)SWIG_As_int(obj1);
9734 if (PyErr_Occurred()) SWIG_fail;
9735 {
9736 PyThreadState* __tstate = wxPyBeginAllowThreads();
9737 result = (bool)(arg1)->ScrollLines(arg2);
9738
9739 wxPyEndAllowThreads(__tstate);
9740 if (PyErr_Occurred()) SWIG_fail;
9741 }
9742 {
9743 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9744 }
9745 return resultobj;
9746 fail:
9747 return NULL;
9748}
9749
9750
9751static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *, PyObject *args, PyObject *kwargs) {
9752 PyObject *resultobj;
9753 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9754 int arg2 ;
9755 bool result;
9756 PyObject * obj0 = 0 ;
9757 PyObject * obj1 = 0 ;
9758 char *kwnames[] = {
9759 (char *) "self",(char *) "pages", NULL
9760 };
9761
9762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
9763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9765 arg2 = (int)SWIG_As_int(obj1);
9766 if (PyErr_Occurred()) SWIG_fail;
9767 {
9768 PyThreadState* __tstate = wxPyBeginAllowThreads();
9769 result = (bool)(arg1)->ScrollPages(arg2);
9770
9771 wxPyEndAllowThreads(__tstate);
9772 if (PyErr_Occurred()) SWIG_fail;
9773 }
9774 {
9775 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9776 }
9777 return resultobj;
9778 fail:
9779 return NULL;
9780}
9781
9782
9783static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *, PyObject *args, PyObject *kwargs) {
9784 PyObject *resultobj;
9785 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9786 size_t arg2 ;
9787 PyObject * obj0 = 0 ;
9788 PyObject * obj1 = 0 ;
9789 char *kwnames[] = {
9790 (char *) "self",(char *) "line", NULL
9791 };
9792
9793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
9794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9796 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
9797 if (PyErr_Occurred()) SWIG_fail;
9798 {
9799 PyThreadState* __tstate = wxPyBeginAllowThreads();
9800 (arg1)->RefreshLine(arg2);
9801
9802 wxPyEndAllowThreads(__tstate);
9803 if (PyErr_Occurred()) SWIG_fail;
9804 }
9805 Py_INCREF(Py_None); resultobj = Py_None;
9806 return resultobj;
9807 fail:
9808 return NULL;
9809}
9810
9811
9812static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *, PyObject *args, PyObject *kwargs) {
9813 PyObject *resultobj;
9814 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9815 size_t arg2 ;
9816 size_t arg3 ;
9817 PyObject * obj0 = 0 ;
9818 PyObject * obj1 = 0 ;
9819 PyObject * obj2 = 0 ;
9820 char *kwnames[] = {
9821 (char *) "self",(char *) "from",(char *) "to", NULL
9822 };
9823
9824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
9825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9827 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
9828 if (PyErr_Occurred()) SWIG_fail;
9829 arg3 = (size_t)SWIG_As_unsigned_SS_long(obj2);
9830 if (PyErr_Occurred()) SWIG_fail;
9831 {
9832 PyThreadState* __tstate = wxPyBeginAllowThreads();
9833 (arg1)->RefreshLines(arg2,arg3);
9834
9835 wxPyEndAllowThreads(__tstate);
9836 if (PyErr_Occurred()) SWIG_fail;
9837 }
9838 Py_INCREF(Py_None); resultobj = Py_None;
9839 return resultobj;
9840 fail:
9841 return NULL;
9842}
9843
9844
9845static PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
9846 PyObject *resultobj;
9847 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9848 int arg2 ;
9849 int arg3 ;
9850 int result;
9851 PyObject * obj0 = 0 ;
9852 PyObject * obj1 = 0 ;
9853 PyObject * obj2 = 0 ;
9854 char *kwnames[] = {
9855 (char *) "self",(char *) "x",(char *) "y", NULL
9856 };
9857
9858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
9859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9861 arg2 = (int)SWIG_As_int(obj1);
9862 if (PyErr_Occurred()) SWIG_fail;
9863 arg3 = (int)SWIG_As_int(obj2);
9864 if (PyErr_Occurred()) SWIG_fail;
9865 {
9866 PyThreadState* __tstate = wxPyBeginAllowThreads();
9867 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
9868
9869 wxPyEndAllowThreads(__tstate);
9870 if (PyErr_Occurred()) SWIG_fail;
9871 }
9872 resultobj = SWIG_From_int((int)result);
9873 return resultobj;
9874 fail:
9875 return NULL;
9876}
9877
9878
9879static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
9880 PyObject *resultobj;
9881 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9882 wxPoint *arg2 = 0 ;
9883 int result;
9884 wxPoint temp2 ;
9885 PyObject * obj0 = 0 ;
9886 PyObject * obj1 = 0 ;
9887 char *kwnames[] = {
9888 (char *) "self",(char *) "pt", NULL
9889 };
9890
9891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
9892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9894 {
9895 arg2 = &temp2;
9896 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9897 }
9898 {
9899 PyThreadState* __tstate = wxPyBeginAllowThreads();
9900 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
9901
9902 wxPyEndAllowThreads(__tstate);
9903 if (PyErr_Occurred()) SWIG_fail;
9904 }
9905 resultobj = SWIG_From_int((int)result);
9906 return resultobj;
9907 fail:
9908 return NULL;
9909}
9910
9911
9912static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
9913 PyObject *resultobj;
9914 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9915 PyObject * obj0 = 0 ;
9916 char *kwnames[] = {
9917 (char *) "self", NULL
9918 };
9919
9920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
9921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9923 {
9924 PyThreadState* __tstate = wxPyBeginAllowThreads();
9925 (arg1)->RefreshAll();
9926
9927 wxPyEndAllowThreads(__tstate);
9928 if (PyErr_Occurred()) SWIG_fail;
9929 }
9930 Py_INCREF(Py_None); resultobj = Py_None;
9931 return resultobj;
9932 fail:
9933 return NULL;
9934}
9935
9936
9937static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
9938 PyObject *resultobj;
9939 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9940 size_t result;
9941 PyObject * obj0 = 0 ;
9942 char *kwnames[] = {
9943 (char *) "self", NULL
9944 };
9945
9946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
9947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9949 {
9950 PyThreadState* __tstate = wxPyBeginAllowThreads();
9951 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
9952
9953 wxPyEndAllowThreads(__tstate);
9954 if (PyErr_Occurred()) SWIG_fail;
9955 }
9956 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
9957 return resultobj;
9958 fail:
9959 return NULL;
9960}
9961
9962
9963static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
9964 PyObject *resultobj;
9965 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9966 size_t result;
9967 PyObject * obj0 = 0 ;
9968 char *kwnames[] = {
9969 (char *) "self", NULL
9970 };
9971
9972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
9973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9975 {
9976 PyThreadState* __tstate = wxPyBeginAllowThreads();
9977 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
9978
9979 wxPyEndAllowThreads(__tstate);
9980 if (PyErr_Occurred()) SWIG_fail;
9981 }
9982 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
9983 return resultobj;
9984 fail:
9985 return NULL;
9986}
9987
9988
9989static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
9990 PyObject *resultobj;
9991 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9992 size_t result;
9993 PyObject * obj0 = 0 ;
9994 char *kwnames[] = {
9995 (char *) "self", NULL
9996 };
9997
9998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
9999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
10000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10001 {
10002 PyThreadState* __tstate = wxPyBeginAllowThreads();
10003 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
10004
10005 wxPyEndAllowThreads(__tstate);
10006 if (PyErr_Occurred()) SWIG_fail;
10007 }
10008 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
10009 return resultobj;
10010 fail:
10011 return NULL;
10012}
10013
10014
10015static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
10016 PyObject *resultobj;
10017 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
10018 size_t arg2 ;
10019 bool result;
10020 PyObject * obj0 = 0 ;
10021 PyObject * obj1 = 0 ;
10022 char *kwnames[] = {
10023 (char *) "self",(char *) "line", NULL
10024 };
10025
10026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
10027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
10028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10029 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10030 if (PyErr_Occurred()) SWIG_fail;
10031 {
10032 PyThreadState* __tstate = wxPyBeginAllowThreads();
10033 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
10034
10035 wxPyEndAllowThreads(__tstate);
10036 if (PyErr_Occurred()) SWIG_fail;
10037 }
10038 {
10039 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10040 }
10041 return resultobj;
10042 fail:
10043 return NULL;
10044}
10045
10046
10047static PyObject * VScrolledWindow_swigregister(PyObject *, PyObject *args) {
10048 PyObject *obj;
10049 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10050 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
10051 Py_INCREF(obj);
10052 return Py_BuildValue((char *)"");
10053}
10054static int _wrap_VListBoxNameStr_set(PyObject *) {
10055 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
10056 return 1;
10057}
10058
10059
10060static PyObject *_wrap_VListBoxNameStr_get() {
10061 PyObject *pyobj;
10062
10063 {
10064#if wxUSE_UNICODE
10065 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
10066#else
10067 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
10068#endif
10069 }
10070 return pyobj;
10071}
10072
10073
10074static PyObject *_wrap_new_VListBox(PyObject *, PyObject *args, PyObject *kwargs) {
10075 PyObject *resultobj;
10076 wxWindow *arg1 = (wxWindow *) 0 ;
10077 int arg2 = (int) wxID_ANY ;
10078 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10079 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10080 wxSize const &arg4_defvalue = wxDefaultSize ;
10081 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10082 long arg5 = (long) 0 ;
10083 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
10084 wxString *arg6 = (wxString *) &arg6_defvalue ;
10085 wxPyVListBox *result;
10086 wxPoint temp3 ;
10087 wxSize temp4 ;
10088 bool temp6 = false ;
10089 PyObject * obj0 = 0 ;
10090 PyObject * obj1 = 0 ;
10091 PyObject * obj2 = 0 ;
10092 PyObject * obj3 = 0 ;
10093 PyObject * obj4 = 0 ;
10094 PyObject * obj5 = 0 ;
10095 char *kwnames[] = {
10096 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10097 };
10098
10099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10102 if (obj1) {
10103 arg2 = (int)SWIG_As_int(obj1);
10104 if (PyErr_Occurred()) SWIG_fail;
10105 }
10106 if (obj2) {
10107 {
10108 arg3 = &temp3;
10109 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10110 }
10111 }
10112 if (obj3) {
10113 {
10114 arg4 = &temp4;
10115 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10116 }
10117 }
10118 if (obj4) {
10119 arg5 = (long)SWIG_As_long(obj4);
10120 if (PyErr_Occurred()) SWIG_fail;
10121 }
10122 if (obj5) {
10123 {
10124 arg6 = wxString_in_helper(obj5);
10125 if (arg6 == NULL) SWIG_fail;
10126 temp6 = true;
10127 }
10128 }
10129 {
10130 if (!wxPyCheckForApp()) SWIG_fail;
10131 PyThreadState* __tstate = wxPyBeginAllowThreads();
10132 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10133
10134 wxPyEndAllowThreads(__tstate);
10135 if (PyErr_Occurred()) SWIG_fail;
10136 }
10137 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
10138 {
10139 if (temp6)
10140 delete arg6;
10141 }
10142 return resultobj;
10143 fail:
10144 {
10145 if (temp6)
10146 delete arg6;
10147 }
10148 return NULL;
10149}
10150
10151
10152static PyObject *_wrap_new_PreVListBox(PyObject *, PyObject *args, PyObject *kwargs) {
10153 PyObject *resultobj;
10154 wxPyVListBox *result;
10155 char *kwnames[] = {
10156 NULL
10157 };
10158
10159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
10160 {
10161 if (!wxPyCheckForApp()) SWIG_fail;
10162 PyThreadState* __tstate = wxPyBeginAllowThreads();
10163 result = (wxPyVListBox *)new wxPyVListBox();
10164
10165 wxPyEndAllowThreads(__tstate);
10166 if (PyErr_Occurred()) SWIG_fail;
10167 }
10168 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
10169 return resultobj;
10170 fail:
10171 return NULL;
10172}
10173
10174
10175static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
10176 PyObject *resultobj;
10177 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10178 PyObject *arg2 = (PyObject *) 0 ;
10179 PyObject *arg3 = (PyObject *) 0 ;
10180 PyObject * obj0 = 0 ;
10181 PyObject * obj1 = 0 ;
10182 PyObject * obj2 = 0 ;
10183 char *kwnames[] = {
10184 (char *) "self",(char *) "self",(char *) "_class", NULL
10185 };
10186
10187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10190 arg2 = obj1;
10191 arg3 = obj2;
10192 {
10193 PyThreadState* __tstate = wxPyBeginAllowThreads();
10194 (arg1)->_setCallbackInfo(arg2,arg3);
10195
10196 wxPyEndAllowThreads(__tstate);
10197 if (PyErr_Occurred()) SWIG_fail;
10198 }
10199 Py_INCREF(Py_None); resultobj = Py_None;
10200 return resultobj;
10201 fail:
10202 return NULL;
10203}
10204
10205
10206static PyObject *_wrap_VListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
10207 PyObject *resultobj;
10208 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10209 wxWindow *arg2 = (wxWindow *) 0 ;
10210 int arg3 = (int) wxID_ANY ;
10211 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10212 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10213 wxSize const &arg5_defvalue = wxDefaultSize ;
10214 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10215 long arg6 = (long) 0 ;
10216 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
10217 wxString *arg7 = (wxString *) &arg7_defvalue ;
10218 bool result;
10219 wxPoint temp4 ;
10220 wxSize temp5 ;
10221 bool temp7 = false ;
10222 PyObject * obj0 = 0 ;
10223 PyObject * obj1 = 0 ;
10224 PyObject * obj2 = 0 ;
10225 PyObject * obj3 = 0 ;
10226 PyObject * obj4 = 0 ;
10227 PyObject * obj5 = 0 ;
10228 PyObject * obj6 = 0 ;
10229 char *kwnames[] = {
10230 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10231 };
10232
10233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10236 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10238 if (obj2) {
10239 arg3 = (int)SWIG_As_int(obj2);
10240 if (PyErr_Occurred()) SWIG_fail;
10241 }
10242 if (obj3) {
10243 {
10244 arg4 = &temp4;
10245 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10246 }
10247 }
10248 if (obj4) {
10249 {
10250 arg5 = &temp5;
10251 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10252 }
10253 }
10254 if (obj5) {
10255 arg6 = (long)SWIG_As_long(obj5);
10256 if (PyErr_Occurred()) SWIG_fail;
10257 }
10258 if (obj6) {
10259 {
10260 arg7 = wxString_in_helper(obj6);
10261 if (arg7 == NULL) SWIG_fail;
10262 temp7 = true;
10263 }
10264 }
10265 {
10266 PyThreadState* __tstate = wxPyBeginAllowThreads();
10267 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10268
10269 wxPyEndAllowThreads(__tstate);
10270 if (PyErr_Occurred()) SWIG_fail;
10271 }
10272 {
10273 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10274 }
10275 {
10276 if (temp7)
10277 delete arg7;
10278 }
10279 return resultobj;
10280 fail:
10281 {
10282 if (temp7)
10283 delete arg7;
10284 }
10285 return NULL;
10286}
10287
10288
10289static PyObject *_wrap_VListBox_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
10290 PyObject *resultobj;
10291 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10292 size_t result;
10293 PyObject * obj0 = 0 ;
10294 char *kwnames[] = {
10295 (char *) "self", NULL
10296 };
10297
10298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
10299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10301 {
10302 PyThreadState* __tstate = wxPyBeginAllowThreads();
10303 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
10304
10305 wxPyEndAllowThreads(__tstate);
10306 if (PyErr_Occurred()) SWIG_fail;
10307 }
10308 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
10309 return resultobj;
10310 fail:
10311 return NULL;
10312}
10313
10314
10315static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *, PyObject *args, PyObject *kwargs) {
10316 PyObject *resultobj;
10317 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10318 bool result;
10319 PyObject * obj0 = 0 ;
10320 char *kwnames[] = {
10321 (char *) "self", NULL
10322 };
10323
10324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
10325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10327 {
10328 PyThreadState* __tstate = wxPyBeginAllowThreads();
10329 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
10330
10331 wxPyEndAllowThreads(__tstate);
10332 if (PyErr_Occurred()) SWIG_fail;
10333 }
10334 {
10335 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10336 }
10337 return resultobj;
10338 fail:
10339 return NULL;
10340}
10341
10342
10343static PyObject *_wrap_VListBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
10344 PyObject *resultobj;
10345 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10346 int result;
10347 PyObject * obj0 = 0 ;
10348 char *kwnames[] = {
10349 (char *) "self", NULL
10350 };
10351
10352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
10353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10355 {
10356 PyThreadState* __tstate = wxPyBeginAllowThreads();
10357 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
10358
10359 wxPyEndAllowThreads(__tstate);
10360 if (PyErr_Occurred()) SWIG_fail;
10361 }
10362 resultobj = SWIG_From_int((int)result);
10363 return resultobj;
10364 fail:
10365 return NULL;
10366}
10367
10368
10369static PyObject *_wrap_VListBox_IsCurrent(PyObject *, PyObject *args, PyObject *kwargs) {
10370 PyObject *resultobj;
10371 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10372 size_t arg2 ;
10373 bool result;
10374 PyObject * obj0 = 0 ;
10375 PyObject * obj1 = 0 ;
10376 char *kwnames[] = {
10377 (char *) "self",(char *) "item", NULL
10378 };
10379
10380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
10381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10383 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10384 if (PyErr_Occurred()) SWIG_fail;
10385 {
10386 PyThreadState* __tstate = wxPyBeginAllowThreads();
10387 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
10388
10389 wxPyEndAllowThreads(__tstate);
10390 if (PyErr_Occurred()) SWIG_fail;
10391 }
10392 {
10393 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10394 }
10395 return resultobj;
10396 fail:
10397 return NULL;
10398}
10399
10400
10401static PyObject *_wrap_VListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
10402 PyObject *resultobj;
10403 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10404 size_t arg2 ;
10405 bool result;
10406 PyObject * obj0 = 0 ;
10407 PyObject * obj1 = 0 ;
10408 char *kwnames[] = {
10409 (char *) "self",(char *) "item", NULL
10410 };
10411
10412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
10413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10415 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10416 if (PyErr_Occurred()) SWIG_fail;
10417 {
10418 PyThreadState* __tstate = wxPyBeginAllowThreads();
10419 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
10420
10421 wxPyEndAllowThreads(__tstate);
10422 if (PyErr_Occurred()) SWIG_fail;
10423 }
10424 {
10425 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10426 }
10427 return resultobj;
10428 fail:
10429 return NULL;
10430}
10431
10432
10433static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *, PyObject *args, PyObject *kwargs) {
10434 PyObject *resultobj;
10435 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10436 size_t result;
10437 PyObject * obj0 = 0 ;
10438 char *kwnames[] = {
10439 (char *) "self", NULL
10440 };
10441
10442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
10443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10445 {
10446 PyThreadState* __tstate = wxPyBeginAllowThreads();
10447 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
10448
10449 wxPyEndAllowThreads(__tstate);
10450 if (PyErr_Occurred()) SWIG_fail;
10451 }
10452 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
10453 return resultobj;
10454 fail:
10455 return NULL;
10456}
10457
10458
10459static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
10460 PyObject *resultobj;
10461 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10462 PyObject *result;
10463 PyObject * obj0 = 0 ;
10464 char *kwnames[] = {
10465 (char *) "self", NULL
10466 };
10467
10468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetFirstSelected",kwnames,&obj0)) goto fail;
10469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10471 {
10472 PyThreadState* __tstate = wxPyBeginAllowThreads();
10473 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
10474
10475 wxPyEndAllowThreads(__tstate);
10476 if (PyErr_Occurred()) SWIG_fail;
10477 }
10478 resultobj = result;
10479 return resultobj;
10480 fail:
10481 return NULL;
10482}
10483
10484
10485static PyObject *_wrap_VListBox_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
10486 PyObject *resultobj;
10487 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10488 unsigned long arg2 ;
10489 PyObject *result;
10490 PyObject * obj0 = 0 ;
10491 PyObject * obj1 = 0 ;
10492 char *kwnames[] = {
10493 (char *) "self",(char *) "cookie", NULL
10494 };
10495
10496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
10497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10499 arg2 = (unsigned long)SWIG_As_unsigned_SS_long(obj1);
10500 if (PyErr_Occurred()) SWIG_fail;
10501 {
10502 PyThreadState* __tstate = wxPyBeginAllowThreads();
10503 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
10504
10505 wxPyEndAllowThreads(__tstate);
10506 if (PyErr_Occurred()) SWIG_fail;
10507 }
10508 resultobj = result;
10509 return resultobj;
10510 fail:
10511 return NULL;
10512}
10513
10514
10515static PyObject *_wrap_VListBox_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
10516 PyObject *resultobj;
10517 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10518 wxPoint result;
10519 PyObject * obj0 = 0 ;
10520 char *kwnames[] = {
10521 (char *) "self", NULL
10522 };
10523
10524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
10525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10527 {
10528 PyThreadState* __tstate = wxPyBeginAllowThreads();
10529 result = ((wxPyVListBox const *)arg1)->GetMargins();
10530
10531 wxPyEndAllowThreads(__tstate);
10532 if (PyErr_Occurred()) SWIG_fail;
10533 }
10534 {
10535 wxPoint * resultptr;
10536 resultptr = new wxPoint((wxPoint &) result);
10537 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
10538 }
10539 return resultobj;
10540 fail:
10541 return NULL;
10542}
10543
10544
10545static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
10546 PyObject *resultobj;
10547 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10548 wxColour *result;
10549 PyObject * obj0 = 0 ;
10550 char *kwnames[] = {
10551 (char *) "self", NULL
10552 };
10553
10554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
10555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10557 {
10558 PyThreadState* __tstate = wxPyBeginAllowThreads();
10559 {
10560 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
10561 result = (wxColour *) &_result_ref;
10562 }
10563
10564 wxPyEndAllowThreads(__tstate);
10565 if (PyErr_Occurred()) SWIG_fail;
10566 }
10567 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
10568 return resultobj;
10569 fail:
10570 return NULL;
10571}
10572
10573
10574static PyObject *_wrap_VListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
10575 PyObject *resultobj;
10576 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10577 size_t arg2 ;
10578 PyObject * obj0 = 0 ;
10579 PyObject * obj1 = 0 ;
10580 char *kwnames[] = {
10581 (char *) "self",(char *) "count", NULL
10582 };
10583
10584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
10585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10587 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10588 if (PyErr_Occurred()) SWIG_fail;
10589 {
10590 PyThreadState* __tstate = wxPyBeginAllowThreads();
10591 (arg1)->SetItemCount(arg2);
10592
10593 wxPyEndAllowThreads(__tstate);
10594 if (PyErr_Occurred()) SWIG_fail;
10595 }
10596 Py_INCREF(Py_None); resultobj = Py_None;
10597 return resultobj;
10598 fail:
10599 return NULL;
10600}
10601
10602
10603static PyObject *_wrap_VListBox_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
10604 PyObject *resultobj;
10605 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10606 PyObject * obj0 = 0 ;
10607 char *kwnames[] = {
10608 (char *) "self", NULL
10609 };
10610
10611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
10612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10614 {
10615 PyThreadState* __tstate = wxPyBeginAllowThreads();
10616 (arg1)->Clear();
10617
10618 wxPyEndAllowThreads(__tstate);
10619 if (PyErr_Occurred()) SWIG_fail;
10620 }
10621 Py_INCREF(Py_None); resultobj = Py_None;
10622 return resultobj;
10623 fail:
10624 return NULL;
10625}
10626
10627
10628static PyObject *_wrap_VListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
10629 PyObject *resultobj;
10630 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10631 int arg2 ;
10632 PyObject * obj0 = 0 ;
10633 PyObject * obj1 = 0 ;
10634 char *kwnames[] = {
10635 (char *) "self",(char *) "selection", NULL
10636 };
10637
10638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
10639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10641 arg2 = (int)SWIG_As_int(obj1);
10642 if (PyErr_Occurred()) SWIG_fail;
10643 {
10644 PyThreadState* __tstate = wxPyBeginAllowThreads();
10645 (arg1)->SetSelection(arg2);
10646
10647 wxPyEndAllowThreads(__tstate);
10648 if (PyErr_Occurred()) SWIG_fail;
10649 }
10650 Py_INCREF(Py_None); resultobj = Py_None;
10651 return resultobj;
10652 fail:
10653 return NULL;
10654}
10655
10656
10657static PyObject *_wrap_VListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
10658 PyObject *resultobj;
10659 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10660 size_t arg2 ;
10661 bool arg3 = (bool) true ;
10662 bool result;
10663 PyObject * obj0 = 0 ;
10664 PyObject * obj1 = 0 ;
10665 PyObject * obj2 = 0 ;
10666 char *kwnames[] = {
10667 (char *) "self",(char *) "item",(char *) "select", NULL
10668 };
10669
10670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
10671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10673 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10674 if (PyErr_Occurred()) SWIG_fail;
10675 if (obj2) {
10676 arg3 = (bool)SWIG_As_bool(obj2);
10677 if (PyErr_Occurred()) SWIG_fail;
10678 }
10679 {
10680 PyThreadState* __tstate = wxPyBeginAllowThreads();
10681 result = (bool)(arg1)->Select(arg2,arg3);
10682
10683 wxPyEndAllowThreads(__tstate);
10684 if (PyErr_Occurred()) SWIG_fail;
10685 }
10686 {
10687 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10688 }
10689 return resultobj;
10690 fail:
10691 return NULL;
10692}
10693
10694
10695static PyObject *_wrap_VListBox_SelectRange(PyObject *, PyObject *args, PyObject *kwargs) {
10696 PyObject *resultobj;
10697 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10698 size_t arg2 ;
10699 size_t arg3 ;
10700 bool result;
10701 PyObject * obj0 = 0 ;
10702 PyObject * obj1 = 0 ;
10703 PyObject * obj2 = 0 ;
10704 char *kwnames[] = {
10705 (char *) "self",(char *) "from",(char *) "to", NULL
10706 };
10707
10708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10711 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10712 if (PyErr_Occurred()) SWIG_fail;
10713 arg3 = (size_t)SWIG_As_unsigned_SS_long(obj2);
10714 if (PyErr_Occurred()) SWIG_fail;
10715 {
10716 PyThreadState* __tstate = wxPyBeginAllowThreads();
10717 result = (bool)(arg1)->SelectRange(arg2,arg3);
10718
10719 wxPyEndAllowThreads(__tstate);
10720 if (PyErr_Occurred()) SWIG_fail;
10721 }
10722 {
10723 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10724 }
10725 return resultobj;
10726 fail:
10727 return NULL;
10728}
10729
10730
10731static PyObject *_wrap_VListBox_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
10732 PyObject *resultobj;
10733 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10734 size_t arg2 ;
10735 PyObject * obj0 = 0 ;
10736 PyObject * obj1 = 0 ;
10737 char *kwnames[] = {
10738 (char *) "self",(char *) "item", NULL
10739 };
10740
10741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
10742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10744 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
10745 if (PyErr_Occurred()) SWIG_fail;
10746 {
10747 PyThreadState* __tstate = wxPyBeginAllowThreads();
10748 (arg1)->Toggle(arg2);
10749
10750 wxPyEndAllowThreads(__tstate);
10751 if (PyErr_Occurred()) SWIG_fail;
10752 }
10753 Py_INCREF(Py_None); resultobj = Py_None;
10754 return resultobj;
10755 fail:
10756 return NULL;
10757}
10758
10759
10760static PyObject *_wrap_VListBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
10761 PyObject *resultobj;
10762 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10763 bool result;
10764 PyObject * obj0 = 0 ;
10765 char *kwnames[] = {
10766 (char *) "self", NULL
10767 };
10768
10769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
10770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10772 {
10773 PyThreadState* __tstate = wxPyBeginAllowThreads();
10774 result = (bool)(arg1)->SelectAll();
10775
10776 wxPyEndAllowThreads(__tstate);
10777 if (PyErr_Occurred()) SWIG_fail;
10778 }
10779 {
10780 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10781 }
10782 return resultobj;
10783 fail:
10784 return NULL;
10785}
10786
10787
10788static PyObject *_wrap_VListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
10789 PyObject *resultobj;
10790 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10791 bool result;
10792 PyObject * obj0 = 0 ;
10793 char *kwnames[] = {
10794 (char *) "self", NULL
10795 };
10796
10797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
10798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10800 {
10801 PyThreadState* __tstate = wxPyBeginAllowThreads();
10802 result = (bool)(arg1)->DeselectAll();
10803
10804 wxPyEndAllowThreads(__tstate);
10805 if (PyErr_Occurred()) SWIG_fail;
10806 }
10807 {
10808 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10809 }
10810 return resultobj;
10811 fail:
10812 return NULL;
10813}
10814
10815
10816static PyObject *_wrap_VListBox_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
10817 PyObject *resultobj;
10818 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10819 wxPoint *arg2 = 0 ;
10820 wxPoint temp2 ;
10821 PyObject * obj0 = 0 ;
10822 PyObject * obj1 = 0 ;
10823 char *kwnames[] = {
10824 (char *) "self",(char *) "pt", NULL
10825 };
10826
10827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
10828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10830 {
10831 arg2 = &temp2;
10832 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10833 }
10834 {
10835 PyThreadState* __tstate = wxPyBeginAllowThreads();
10836 (arg1)->SetMargins((wxPoint const &)*arg2);
10837
10838 wxPyEndAllowThreads(__tstate);
10839 if (PyErr_Occurred()) SWIG_fail;
10840 }
10841 Py_INCREF(Py_None); resultobj = Py_None;
10842 return resultobj;
10843 fail:
10844 return NULL;
10845}
10846
10847
10848static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
10849 PyObject *resultobj;
10850 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10851 int arg2 ;
10852 int arg3 ;
10853 PyObject * obj0 = 0 ;
10854 PyObject * obj1 = 0 ;
10855 PyObject * obj2 = 0 ;
10856 char *kwnames[] = {
10857 (char *) "self",(char *) "x",(char *) "y", NULL
10858 };
10859
10860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
10861 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10863 arg2 = (int)SWIG_As_int(obj1);
10864 if (PyErr_Occurred()) SWIG_fail;
10865 arg3 = (int)SWIG_As_int(obj2);
10866 if (PyErr_Occurred()) SWIG_fail;
10867 {
10868 PyThreadState* __tstate = wxPyBeginAllowThreads();
10869 (arg1)->SetMargins(arg2,arg3);
10870
10871 wxPyEndAllowThreads(__tstate);
10872 if (PyErr_Occurred()) SWIG_fail;
10873 }
10874 Py_INCREF(Py_None); resultobj = Py_None;
10875 return resultobj;
10876 fail:
10877 return NULL;
10878}
10879
10880
10881static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
10882 PyObject *resultobj;
10883 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10884 wxColour *arg2 = 0 ;
10885 wxColour temp2 ;
10886 PyObject * obj0 = 0 ;
10887 PyObject * obj1 = 0 ;
10888 char *kwnames[] = {
10889 (char *) "self",(char *) "col", NULL
10890 };
10891
10892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
10893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10895 {
10896 arg2 = &temp2;
10897 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10898 }
10899 {
10900 PyThreadState* __tstate = wxPyBeginAllowThreads();
10901 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
10902
10903 wxPyEndAllowThreads(__tstate);
10904 if (PyErr_Occurred()) SWIG_fail;
10905 }
10906 Py_INCREF(Py_None); resultobj = Py_None;
10907 return resultobj;
10908 fail:
10909 return NULL;
10910}
10911
10912
10913static PyObject * VListBox_swigregister(PyObject *, PyObject *args) {
10914 PyObject *obj;
10915 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10916 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
10917 Py_INCREF(obj);
10918 return Py_BuildValue((char *)"");
10919}
10920static PyObject *_wrap_new_HtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
10921 PyObject *resultobj;
10922 wxWindow *arg1 = (wxWindow *) 0 ;
10923 int arg2 = (int) wxID_ANY ;
10924 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10925 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10926 wxSize const &arg4_defvalue = wxDefaultSize ;
10927 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10928 long arg5 = (long) 0 ;
10929 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
10930 wxString *arg6 = (wxString *) &arg6_defvalue ;
10931 wxPyHtmlListBox *result;
10932 wxPoint temp3 ;
10933 wxSize temp4 ;
10934 bool temp6 = false ;
10935 PyObject * obj0 = 0 ;
10936 PyObject * obj1 = 0 ;
10937 PyObject * obj2 = 0 ;
10938 PyObject * obj3 = 0 ;
10939 PyObject * obj4 = 0 ;
10940 PyObject * obj5 = 0 ;
10941 char *kwnames[] = {
10942 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10943 };
10944
10945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10948 if (obj1) {
10949 arg2 = (int)SWIG_As_int(obj1);
10950 if (PyErr_Occurred()) SWIG_fail;
10951 }
10952 if (obj2) {
10953 {
10954 arg3 = &temp3;
10955 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10956 }
10957 }
10958 if (obj3) {
10959 {
10960 arg4 = &temp4;
10961 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10962 }
10963 }
10964 if (obj4) {
10965 arg5 = (long)SWIG_As_long(obj4);
10966 if (PyErr_Occurred()) SWIG_fail;
10967 }
10968 if (obj5) {
10969 {
10970 arg6 = wxString_in_helper(obj5);
10971 if (arg6 == NULL) SWIG_fail;
10972 temp6 = true;
10973 }
10974 }
10975 {
10976 if (!wxPyCheckForApp()) SWIG_fail;
10977 PyThreadState* __tstate = wxPyBeginAllowThreads();
10978 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10979
10980 wxPyEndAllowThreads(__tstate);
10981 if (PyErr_Occurred()) SWIG_fail;
10982 }
10983 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10984 {
10985 if (temp6)
10986 delete arg6;
10987 }
10988 return resultobj;
10989 fail:
10990 {
10991 if (temp6)
10992 delete arg6;
10993 }
10994 return NULL;
10995}
10996
10997
10998static PyObject *_wrap_new_PreHtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
10999 PyObject *resultobj;
11000 wxPyHtmlListBox *result;
11001 char *kwnames[] = {
11002 NULL
11003 };
11004
11005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
11006 {
11007 if (!wxPyCheckForApp()) SWIG_fail;
11008 PyThreadState* __tstate = wxPyBeginAllowThreads();
11009 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
11010
11011 wxPyEndAllowThreads(__tstate);
11012 if (PyErr_Occurred()) SWIG_fail;
11013 }
11014 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
11015 return resultobj;
11016 fail:
11017 return NULL;
11018}
11019
11020
11021static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
11022 PyObject *resultobj;
11023 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
11024 PyObject *arg2 = (PyObject *) 0 ;
11025 PyObject *arg3 = (PyObject *) 0 ;
11026 PyObject * obj0 = 0 ;
11027 PyObject * obj1 = 0 ;
11028 PyObject * obj2 = 0 ;
11029 char *kwnames[] = {
11030 (char *) "self",(char *) "self",(char *) "_class", NULL
11031 };
11032
11033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
11034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
11035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11036 arg2 = obj1;
11037 arg3 = obj2;
11038 {
11039 PyThreadState* __tstate = wxPyBeginAllowThreads();
11040 (arg1)->_setCallbackInfo(arg2,arg3);
11041
11042 wxPyEndAllowThreads(__tstate);
11043 if (PyErr_Occurred()) SWIG_fail;
11044 }
11045 Py_INCREF(Py_None); resultobj = Py_None;
11046 return resultobj;
11047 fail:
11048 return NULL;
11049}
11050
11051
11052static PyObject *_wrap_HtmlListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
11053 PyObject *resultobj;
11054 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
11055 wxWindow *arg2 = (wxWindow *) 0 ;
11056 int arg3 = (int) wxID_ANY ;
11057 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11058 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11059 wxSize const &arg5_defvalue = wxDefaultSize ;
11060 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11061 long arg6 = (long) 0 ;
11062 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
11063 wxString *arg7 = (wxString *) &arg7_defvalue ;
11064 bool result;
11065 wxPoint temp4 ;
11066 wxSize temp5 ;
11067 bool temp7 = false ;
11068 PyObject * obj0 = 0 ;
11069 PyObject * obj1 = 0 ;
11070 PyObject * obj2 = 0 ;
11071 PyObject * obj3 = 0 ;
11072 PyObject * obj4 = 0 ;
11073 PyObject * obj5 = 0 ;
11074 PyObject * obj6 = 0 ;
11075 char *kwnames[] = {
11076 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11077 };
11078
11079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
11081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11082 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
11083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11084 if (obj2) {
11085 arg3 = (int)SWIG_As_int(obj2);
11086 if (PyErr_Occurred()) SWIG_fail;
11087 }
11088 if (obj3) {
11089 {
11090 arg4 = &temp4;
11091 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11092 }
11093 }
11094 if (obj4) {
11095 {
11096 arg5 = &temp5;
11097 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11098 }
11099 }
11100 if (obj5) {
11101 arg6 = (long)SWIG_As_long(obj5);
11102 if (PyErr_Occurred()) SWIG_fail;
11103 }
11104 if (obj6) {
11105 {
11106 arg7 = wxString_in_helper(obj6);
11107 if (arg7 == NULL) SWIG_fail;
11108 temp7 = true;
11109 }
11110 }
11111 {
11112 PyThreadState* __tstate = wxPyBeginAllowThreads();
11113 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11114
11115 wxPyEndAllowThreads(__tstate);
11116 if (PyErr_Occurred()) SWIG_fail;
11117 }
11118 {
11119 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11120 }
11121 {
11122 if (temp7)
11123 delete arg7;
11124 }
11125 return resultobj;
11126 fail:
11127 {
11128 if (temp7)
11129 delete arg7;
11130 }
11131 return NULL;
11132}
11133
11134
11135static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
11136 PyObject *resultobj;
11137 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
11138 PyObject * obj0 = 0 ;
11139 char *kwnames[] = {
11140 (char *) "self", NULL
11141 };
11142
11143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
11144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
11145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11146 {
11147 PyThreadState* __tstate = wxPyBeginAllowThreads();
11148 (arg1)->RefreshAll();
11149
11150 wxPyEndAllowThreads(__tstate);
11151 if (PyErr_Occurred()) SWIG_fail;
11152 }
11153 Py_INCREF(Py_None); resultobj = Py_None;
11154 return resultobj;
11155 fail:
11156 return NULL;
11157}
11158
11159
11160static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
11161 PyObject *resultobj;
11162 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
11163 size_t arg2 ;
11164 PyObject * obj0 = 0 ;
11165 PyObject * obj1 = 0 ;
11166 char *kwnames[] = {
11167 (char *) "self",(char *) "count", NULL
11168 };
11169
11170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
11171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
11172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11173 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
11174 if (PyErr_Occurred()) SWIG_fail;
11175 {
11176 PyThreadState* __tstate = wxPyBeginAllowThreads();
11177 (arg1)->SetItemCount(arg2);
11178
11179 wxPyEndAllowThreads(__tstate);
11180 if (PyErr_Occurred()) SWIG_fail;
11181 }
11182 Py_INCREF(Py_None); resultobj = Py_None;
11183 return resultobj;
11184 fail:
11185 return NULL;
11186}
11187
11188
11189static PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *, PyObject *args, PyObject *kwargs) {
11190 PyObject *resultobj;
11191 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
11192 wxFileSystem *result;
11193 PyObject * obj0 = 0 ;
11194 char *kwnames[] = {
11195 (char *) "self", NULL
11196 };
11197
11198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_GetFileSystem",kwnames,&obj0)) goto fail;
11199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
11200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11201 {
11202 PyThreadState* __tstate = wxPyBeginAllowThreads();
11203 {
11204 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
11205 result = (wxFileSystem *) &_result_ref;
11206 }
11207
11208 wxPyEndAllowThreads(__tstate);
11209 if (PyErr_Occurred()) SWIG_fail;
11210 }
11211 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileSystem, 0);
11212 return resultobj;
11213 fail:
11214 return NULL;
11215}
11216
11217
11218static PyObject * HtmlListBox_swigregister(PyObject *, PyObject *args) {
11219 PyObject *obj;
11220 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11221 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
11222 Py_INCREF(obj);
11223 return Py_BuildValue((char *)"");
11224}
11225static PyObject *_wrap_new_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) {
11226 PyObject *resultobj;
11227 wxPyTaskBarIcon *result;
11228 char *kwnames[] = {
11229 NULL
11230 };
11231
11232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
11233 {
11234 if (!wxPyCheckForApp()) SWIG_fail;
11235 PyThreadState* __tstate = wxPyBeginAllowThreads();
11236 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
11237
11238 wxPyEndAllowThreads(__tstate);
11239 if (PyErr_Occurred()) SWIG_fail;
11240 }
11241 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTaskBarIcon, 1);
11242 return resultobj;
11243 fail:
11244 return NULL;
11245}
11246
11247
11248static PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
11249 PyObject *resultobj;
11250 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
11251 PyObject *arg2 = (PyObject *) 0 ;
11252 PyObject *arg3 = (PyObject *) 0 ;
11253 int arg4 ;
11254 PyObject * obj0 = 0 ;
11255 PyObject * obj1 = 0 ;
11256 PyObject * obj2 = 0 ;
11257 PyObject * obj3 = 0 ;
11258 char *kwnames[] = {
11259 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
11260 };
11261
11262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon,
11264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11265 arg2 = obj1;
11266 arg3 = obj2;
11267 arg4 = (int)SWIG_As_int(obj3);
11268 if (PyErr_Occurred()) SWIG_fail;
11269 {
11270 PyThreadState* __tstate = wxPyBeginAllowThreads();
11271 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
11272
11273 wxPyEndAllowThreads(__tstate);
11274 if (PyErr_Occurred()) SWIG_fail;
11275 }
11276 Py_INCREF(Py_None); resultobj = Py_None;
11277 return resultobj;
11278 fail:
11279 return NULL;
11280}
11281
11282
11283static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
11284 PyObject *resultobj;
11285 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
11286 PyObject * obj0 = 0 ;
11287 char *kwnames[] = {
11288 (char *) "self", NULL
11289 };
11290
11291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail;
11292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon,
11293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11294 {
11295 PyThreadState* __tstate = wxPyBeginAllowThreads();
11296 wxPyTaskBarIcon_Destroy(arg1);
11297
11298 wxPyEndAllowThreads(__tstate);
11299 if (PyErr_Occurred()) SWIG_fail;
11300 }
11301 Py_INCREF(Py_None); resultobj = Py_None;
11302 return resultobj;
11303 fail:
11304 return NULL;
11305}
11306
11307
11308static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
11309 PyObject *resultobj;
11310 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
11311 bool result;
11312 PyObject * obj0 = 0 ;
11313 char *kwnames[] = {
11314 (char *) "self", NULL
11315 };
11316
11317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
11318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon,
11319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11320 {
11321 PyThreadState* __tstate = wxPyBeginAllowThreads();
11322 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
11323
11324 wxPyEndAllowThreads(__tstate);
11325 if (PyErr_Occurred()) SWIG_fail;
11326 }
11327 {
11328 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11329 }
11330 return resultobj;
11331 fail:
11332 return NULL;
11333}
11334
11335
11336static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *, PyObject *args, PyObject *kwargs) {
11337 PyObject *resultobj;
11338 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
11339 bool result;
11340 PyObject * obj0 = 0 ;
11341 char *kwnames[] = {
11342 (char *) "self", NULL
11343 };
11344
11345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
11346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon,
11347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11348 {
11349 PyThreadState* __tstate = wxPyBeginAllowThreads();
11350 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
11351
11352 wxPyEndAllowThreads(__tstate);
11353 if (PyErr_Occurred()) SWIG_fail;
11354 }
11355 {
11356 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11357 }
11358 return resultobj;
11359 fail:
11360 return NULL;
11361}
11362
11363
11364static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
11365 PyObject *resultobj;
11366 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
11367 wxIcon *arg2 = 0 ;
11368 wxString const &arg3_defvalue = wxPyEmptyString ;
11369 wxString *arg3 = (wxString *) &arg3_defvalue ;
11370 bool result;
11371 bool temp3 = false ;
11372 PyObject * obj0 = 0 ;
11373 PyObject * obj1 = 0 ;
11374 PyObject * obj2 = 0 ;
11375 char *kwnames[] = {
11376 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
11377 };
11378
11379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
11380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon,
11381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11382 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
11383 SWIG_POINTER_EXCEPTION | 0)) == -1)
11384 SWIG_fail;
11385 if (arg2 == NULL) {
11386 PyErr_SetString(PyExc_TypeError,"null reference");
11387 SWIG_fail;
11388 }
11389 if (obj2) {
11390 {
11391 arg3 = wxString_in_helper(obj2);
11392 if (arg3 == NULL) SWIG_fail;
11393 temp3 = true;
11394 }
11395 }
11396 {
11397 PyThreadState* __tstate = wxPyBeginAllowThreads();
11398 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
11399
11400 wxPyEndAllowThreads(__tstate);
11401 if (PyErr_Occurred()) SWIG_fail;
11402 }
11403 {
11404 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11405 }
11406 {
11407 if (temp3)
11408 delete arg3;
11409 }
11410 return resultobj;
11411 fail:
11412 {
11413 if (temp3)
11414 delete arg3;
11415 }
11416 return NULL;
11417}
11418
11419
11420static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *, PyObject *args, PyObject *kwargs) {
11421 PyObject *resultobj;
11422 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
11423 bool result;
11424 PyObject * obj0 = 0 ;
11425 char *kwnames[] = {
11426 (char *) "self", NULL
11427 };
11428
11429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
11430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon,
11431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11432 {
11433 PyThreadState* __tstate = wxPyBeginAllowThreads();
11434 result = (bool)(arg1)->RemoveIcon();
11435
11436 wxPyEndAllowThreads(__tstate);
11437 if (PyErr_Occurred()) SWIG_fail;
11438 }
11439 {
11440 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11441 }
11442 return resultobj;
11443 fail:
11444 return NULL;
11445}
11446
11447
11448static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *, PyObject *args, PyObject *kwargs) {
11449 PyObject *resultobj;
11450 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
11451 wxMenu *arg2 = (wxMenu *) 0 ;
11452 bool result;
11453 PyObject * obj0 = 0 ;
11454 PyObject * obj1 = 0 ;
11455 char *kwnames[] = {
11456 (char *) "self",(char *) "menu", NULL
11457 };
11458
11459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
11460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon,
11461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11462 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
11463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11464 {
11465 PyThreadState* __tstate = wxPyBeginAllowThreads();
11466 result = (bool)(arg1)->PopupMenu(arg2);
11467
11468 wxPyEndAllowThreads(__tstate);
11469 if (PyErr_Occurred()) SWIG_fail;
11470 }
11471 {
11472 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11473 }
11474 return resultobj;
11475 fail:
11476 return NULL;
11477}
11478
11479
11480static PyObject * TaskBarIcon_swigregister(PyObject *, PyObject *args) {
11481 PyObject *obj;
11482 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11483 SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon, obj);
11484 Py_INCREF(obj);
11485 return Py_BuildValue((char *)"");
11486}
11487static PyObject *_wrap_new_TaskBarIconEvent(PyObject *, PyObject *args, PyObject *kwargs) {
11488 PyObject *resultobj;
11489 wxEventType arg1 ;
11490 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
11491 wxTaskBarIconEvent *result;
11492 PyObject * obj0 = 0 ;
11493 PyObject * obj1 = 0 ;
11494 char *kwnames[] = {
11495 (char *) "evtType",(char *) "tbIcon", NULL
11496 };
11497
11498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
11499 arg1 = (wxEventType)SWIG_As_int(obj0);
11500 if (PyErr_Occurred()) SWIG_fail;
11501 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTaskBarIcon,
11502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11503 {
11504 PyThreadState* __tstate = wxPyBeginAllowThreads();
11505 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
11506
11507 wxPyEndAllowThreads(__tstate);
11508 if (PyErr_Occurred()) SWIG_fail;
11509 }
11510 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
11511 return resultobj;
11512 fail:
11513 return NULL;
11514}
11515
11516
11517static PyObject * TaskBarIconEvent_swigregister(PyObject *, PyObject *args) {
11518 PyObject *obj;
11519 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11520 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
11521 Py_INCREF(obj);
11522 return Py_BuildValue((char *)"");
11523}
11524static int _wrap_FileSelectorPromptStr_set(PyObject *) {
11525 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
11526 return 1;
11527}
11528
11529
11530static PyObject *_wrap_FileSelectorPromptStr_get() {
11531 PyObject *pyobj;
11532
11533 {
11534#if wxUSE_UNICODE
11535 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
11536#else
11537 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
11538#endif
11539 }
11540 return pyobj;
11541}
11542
11543
11544static int _wrap_DirSelectorPromptStr_set(PyObject *) {
11545 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
11546 return 1;
11547}
11548
11549
11550static PyObject *_wrap_DirSelectorPromptStr_get() {
11551 PyObject *pyobj;
11552
11553 {
11554#if wxUSE_UNICODE
11555 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
11556#else
11557 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
11558#endif
11559 }
11560 return pyobj;
11561}
11562
11563
11564static int _wrap_DirDialogNameStr_set(PyObject *) {
11565 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
11566 return 1;
11567}
11568
11569
11570static PyObject *_wrap_DirDialogNameStr_get() {
11571 PyObject *pyobj;
11572
11573 {
11574#if wxUSE_UNICODE
11575 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
11576#else
11577 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
11578#endif
11579 }
11580 return pyobj;
11581}
11582
11583
11584static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) {
11585 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
11586 return 1;
11587}
11588
11589
11590static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
11591 PyObject *pyobj;
11592
11593 {
11594#if wxUSE_UNICODE
11595 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
11596#else
11597 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
11598#endif
11599 }
11600 return pyobj;
11601}
11602
11603
11604static int _wrap_GetTextFromUserPromptStr_set(PyObject *) {
11605 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
11606 return 1;
11607}
11608
11609
11610static PyObject *_wrap_GetTextFromUserPromptStr_get() {
11611 PyObject *pyobj;
11612
11613 {
11614#if wxUSE_UNICODE
11615 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
11616#else
11617 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
11618#endif
11619 }
11620 return pyobj;
11621}
11622
11623
11624static int _wrap_MessageBoxCaptionStr_set(PyObject *) {
11625 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
11626 return 1;
11627}
11628
11629
11630static PyObject *_wrap_MessageBoxCaptionStr_get() {
11631 PyObject *pyobj;
11632
11633 {
11634#if wxUSE_UNICODE
11635 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
11636#else
11637 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
11638#endif
11639 }
11640 return pyobj;
11641}
11642
11643
11644static PyObject *_wrap_new_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
11645 PyObject *resultobj;
11646 wxColourData *result;
11647 char *kwnames[] = {
11648 NULL
11649 };
11650
11651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
11652 {
11653 PyThreadState* __tstate = wxPyBeginAllowThreads();
11654 result = (wxColourData *)new wxColourData();
11655
11656 wxPyEndAllowThreads(__tstate);
11657 if (PyErr_Occurred()) SWIG_fail;
11658 }
11659 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
11660 return resultobj;
11661 fail:
11662 return NULL;
11663}
11664
11665
11666static PyObject *_wrap_delete_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
11667 PyObject *resultobj;
11668 wxColourData *arg1 = (wxColourData *) 0 ;
11669 PyObject * obj0 = 0 ;
11670 char *kwnames[] = {
11671 (char *) "self", NULL
11672 };
11673
11674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
11675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11677 {
11678 PyThreadState* __tstate = wxPyBeginAllowThreads();
11679 delete arg1;
11680
11681 wxPyEndAllowThreads(__tstate);
11682 if (PyErr_Occurred()) SWIG_fail;
11683 }
11684 Py_INCREF(Py_None); resultobj = Py_None;
11685 return resultobj;
11686 fail:
11687 return NULL;
11688}
11689
11690
11691static PyObject *_wrap_ColourData_GetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
11692 PyObject *resultobj;
11693 wxColourData *arg1 = (wxColourData *) 0 ;
11694 bool result;
11695 PyObject * obj0 = 0 ;
11696 char *kwnames[] = {
11697 (char *) "self", NULL
11698 };
11699
11700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
11701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11703 {
11704 PyThreadState* __tstate = wxPyBeginAllowThreads();
11705 result = (bool)(arg1)->GetChooseFull();
11706
11707 wxPyEndAllowThreads(__tstate);
11708 if (PyErr_Occurred()) SWIG_fail;
11709 }
11710 {
11711 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11712 }
11713 return resultobj;
11714 fail:
11715 return NULL;
11716}
11717
11718
11719static PyObject *_wrap_ColourData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
11720 PyObject *resultobj;
11721 wxColourData *arg1 = (wxColourData *) 0 ;
11722 wxColour result;
11723 PyObject * obj0 = 0 ;
11724 char *kwnames[] = {
11725 (char *) "self", NULL
11726 };
11727
11728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
11729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11731 {
11732 PyThreadState* __tstate = wxPyBeginAllowThreads();
11733 result = (arg1)->GetColour();
11734
11735 wxPyEndAllowThreads(__tstate);
11736 if (PyErr_Occurred()) SWIG_fail;
11737 }
11738 {
11739 wxColour * resultptr;
11740 resultptr = new wxColour((wxColour &) result);
11741 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11742 }
11743 return resultobj;
11744 fail:
11745 return NULL;
11746}
11747
11748
11749static PyObject *_wrap_ColourData_GetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
11750 PyObject *resultobj;
11751 wxColourData *arg1 = (wxColourData *) 0 ;
11752 int arg2 ;
11753 wxColour result;
11754 PyObject * obj0 = 0 ;
11755 PyObject * obj1 = 0 ;
11756 char *kwnames[] = {
11757 (char *) "self",(char *) "i", NULL
11758 };
11759
11760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
11761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11763 arg2 = (int)SWIG_As_int(obj1);
11764 if (PyErr_Occurred()) SWIG_fail;
11765 {
11766 PyThreadState* __tstate = wxPyBeginAllowThreads();
11767 result = (arg1)->GetCustomColour(arg2);
11768
11769 wxPyEndAllowThreads(__tstate);
11770 if (PyErr_Occurred()) SWIG_fail;
11771 }
11772 {
11773 wxColour * resultptr;
11774 resultptr = new wxColour((wxColour &) result);
11775 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11776 }
11777 return resultobj;
11778 fail:
11779 return NULL;
11780}
11781
11782
11783static PyObject *_wrap_ColourData_SetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
11784 PyObject *resultobj;
11785 wxColourData *arg1 = (wxColourData *) 0 ;
11786 int arg2 ;
11787 PyObject * obj0 = 0 ;
11788 PyObject * obj1 = 0 ;
11789 char *kwnames[] = {
11790 (char *) "self",(char *) "flag", NULL
11791 };
11792
11793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
11794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11796 arg2 = (int)SWIG_As_int(obj1);
11797 if (PyErr_Occurred()) SWIG_fail;
11798 {
11799 PyThreadState* __tstate = wxPyBeginAllowThreads();
11800 (arg1)->SetChooseFull(arg2);
11801
11802 wxPyEndAllowThreads(__tstate);
11803 if (PyErr_Occurred()) SWIG_fail;
11804 }
11805 Py_INCREF(Py_None); resultobj = Py_None;
11806 return resultobj;
11807 fail:
11808 return NULL;
11809}
11810
11811
11812static PyObject *_wrap_ColourData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
11813 PyObject *resultobj;
11814 wxColourData *arg1 = (wxColourData *) 0 ;
11815 wxColour *arg2 = 0 ;
11816 wxColour temp2 ;
11817 PyObject * obj0 = 0 ;
11818 PyObject * obj1 = 0 ;
11819 char *kwnames[] = {
11820 (char *) "self",(char *) "colour", NULL
11821 };
11822
11823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
11824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11826 {
11827 arg2 = &temp2;
11828 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
11829 }
11830 {
11831 PyThreadState* __tstate = wxPyBeginAllowThreads();
11832 (arg1)->SetColour((wxColour const &)*arg2);
11833
11834 wxPyEndAllowThreads(__tstate);
11835 if (PyErr_Occurred()) SWIG_fail;
11836 }
11837 Py_INCREF(Py_None); resultobj = Py_None;
11838 return resultobj;
11839 fail:
11840 return NULL;
11841}
11842
11843
11844static PyObject *_wrap_ColourData_SetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
11845 PyObject *resultobj;
11846 wxColourData *arg1 = (wxColourData *) 0 ;
11847 int arg2 ;
11848 wxColour *arg3 = 0 ;
11849 wxColour temp3 ;
11850 PyObject * obj0 = 0 ;
11851 PyObject * obj1 = 0 ;
11852 PyObject * obj2 = 0 ;
11853 char *kwnames[] = {
11854 (char *) "self",(char *) "i",(char *) "colour", NULL
11855 };
11856
11857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
11858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11860 arg2 = (int)SWIG_As_int(obj1);
11861 if (PyErr_Occurred()) SWIG_fail;
11862 {
11863 arg3 = &temp3;
11864 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
11865 }
11866 {
11867 PyThreadState* __tstate = wxPyBeginAllowThreads();
11868 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
11869
11870 wxPyEndAllowThreads(__tstate);
11871 if (PyErr_Occurred()) SWIG_fail;
11872 }
11873 Py_INCREF(Py_None); resultobj = Py_None;
11874 return resultobj;
11875 fail:
11876 return NULL;
11877}
11878
11879
11880static PyObject * ColourData_swigregister(PyObject *, PyObject *args) {
11881 PyObject *obj;
11882 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11883 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
11884 Py_INCREF(obj);
11885 return Py_BuildValue((char *)"");
11886}
11887static PyObject *_wrap_new_ColourDialog(PyObject *, PyObject *args, PyObject *kwargs) {
11888 PyObject *resultobj;
11889 wxWindow *arg1 = (wxWindow *) 0 ;
11890 wxColourData *arg2 = (wxColourData *) NULL ;
11891 wxColourDialog *result;
11892 PyObject * obj0 = 0 ;
11893 PyObject * obj1 = 0 ;
11894 char *kwnames[] = {
11895 (char *) "parent",(char *) "data", NULL
11896 };
11897
11898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
11899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11901 if (obj1) {
11902 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColourData,
11903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11904 }
11905 {
11906 if (!wxPyCheckForApp()) SWIG_fail;
11907 PyThreadState* __tstate = wxPyBeginAllowThreads();
11908 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
11909
11910 wxPyEndAllowThreads(__tstate);
11911 if (PyErr_Occurred()) SWIG_fail;
11912 }
11913 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
11914 return resultobj;
11915 fail:
11916 return NULL;
11917}
11918
11919
11920static PyObject *_wrap_ColourDialog_GetColourData(PyObject *, PyObject *args, PyObject *kwargs) {
11921 PyObject *resultobj;
11922 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
11923 wxColourData *result;
11924 PyObject * obj0 = 0 ;
11925 char *kwnames[] = {
11926 (char *) "self", NULL
11927 };
11928
11929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
11930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDialog,
11931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11932 {
11933 PyThreadState* __tstate = wxPyBeginAllowThreads();
11934 {
11935 wxColourData &_result_ref = (arg1)->GetColourData();
11936 result = (wxColourData *) &_result_ref;
11937 }
11938
11939 wxPyEndAllowThreads(__tstate);
11940 if (PyErr_Occurred()) SWIG_fail;
11941 }
11942 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
11943 return resultobj;
11944 fail:
11945 return NULL;
11946}
11947
11948
11949static PyObject * ColourDialog_swigregister(PyObject *, PyObject *args) {
11950 PyObject *obj;
11951 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11952 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
11953 Py_INCREF(obj);
11954 return Py_BuildValue((char *)"");
11955}
11956static PyObject *_wrap_new_DirDialog(PyObject *, PyObject *args, PyObject *kwargs) {
11957 PyObject *resultobj;
11958 wxWindow *arg1 = (wxWindow *) 0 ;
11959 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
11960 wxString *arg2 = (wxString *) &arg2_defvalue ;
11961 wxString const &arg3_defvalue = wxPyEmptyString ;
11962 wxString *arg3 = (wxString *) &arg3_defvalue ;
11963 long arg4 = (long) 0 ;
11964 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11965 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11966 wxSize const &arg6_defvalue = wxDefaultSize ;
11967 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11968 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
11969 wxString *arg7 = (wxString *) &arg7_defvalue ;
11970 wxDirDialog *result;
11971 bool temp2 = false ;
11972 bool temp3 = false ;
11973 wxPoint temp5 ;
11974 wxSize temp6 ;
11975 bool temp7 = false ;
11976 PyObject * obj0 = 0 ;
11977 PyObject * obj1 = 0 ;
11978 PyObject * obj2 = 0 ;
11979 PyObject * obj3 = 0 ;
11980 PyObject * obj4 = 0 ;
11981 PyObject * obj5 = 0 ;
11982 PyObject * obj6 = 0 ;
11983 char *kwnames[] = {
11984 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11985 };
11986
11987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11990 if (obj1) {
11991 {
11992 arg2 = wxString_in_helper(obj1);
11993 if (arg2 == NULL) SWIG_fail;
11994 temp2 = true;
11995 }
11996 }
11997 if (obj2) {
11998 {
11999 arg3 = wxString_in_helper(obj2);
12000 if (arg3 == NULL) SWIG_fail;
12001 temp3 = true;
12002 }
12003 }
12004 if (obj3) {
12005 arg4 = (long)SWIG_As_long(obj3);
12006 if (PyErr_Occurred()) SWIG_fail;
12007 }
12008 if (obj4) {
12009 {
12010 arg5 = &temp5;
12011 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
12012 }
12013 }
12014 if (obj5) {
12015 {
12016 arg6 = &temp6;
12017 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
12018 }
12019 }
12020 if (obj6) {
12021 {
12022 arg7 = wxString_in_helper(obj6);
12023 if (arg7 == NULL) SWIG_fail;
12024 temp7 = true;
12025 }
12026 }
12027 {
12028 if (!wxPyCheckForApp()) SWIG_fail;
12029 PyThreadState* __tstate = wxPyBeginAllowThreads();
12030 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
12031
12032 wxPyEndAllowThreads(__tstate);
12033 if (PyErr_Occurred()) SWIG_fail;
12034 }
12035 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
12036 {
12037 if (temp2)
12038 delete arg2;
12039 }
12040 {
12041 if (temp3)
12042 delete arg3;
12043 }
12044 {
12045 if (temp7)
12046 delete arg7;
12047 }
12048 return resultobj;
12049 fail:
12050 {
12051 if (temp2)
12052 delete arg2;
12053 }
12054 {
12055 if (temp3)
12056 delete arg3;
12057 }
12058 {
12059 if (temp7)
12060 delete arg7;
12061 }
12062 return NULL;
12063}
12064
12065
12066static PyObject *_wrap_DirDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
12067 PyObject *resultobj;
12068 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
12069 wxString result;
12070 PyObject * obj0 = 0 ;
12071 char *kwnames[] = {
12072 (char *) "self", NULL
12073 };
12074
12075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
12076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
12077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12078 {
12079 PyThreadState* __tstate = wxPyBeginAllowThreads();
12080 result = (arg1)->GetPath();
12081
12082 wxPyEndAllowThreads(__tstate);
12083 if (PyErr_Occurred()) SWIG_fail;
12084 }
12085 {
12086#if wxUSE_UNICODE
12087 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12088#else
12089 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12090#endif
12091 }
12092 return resultobj;
12093 fail:
12094 return NULL;
12095}
12096
12097
12098static PyObject *_wrap_DirDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
12099 PyObject *resultobj;
12100 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
12101 wxString result;
12102 PyObject * obj0 = 0 ;
12103 char *kwnames[] = {
12104 (char *) "self", NULL
12105 };
12106
12107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
12108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
12109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12110 {
12111 PyThreadState* __tstate = wxPyBeginAllowThreads();
12112 result = (arg1)->GetMessage();
12113
12114 wxPyEndAllowThreads(__tstate);
12115 if (PyErr_Occurred()) SWIG_fail;
12116 }
12117 {
12118#if wxUSE_UNICODE
12119 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12120#else
12121 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12122#endif
12123 }
12124 return resultobj;
12125 fail:
12126 return NULL;
12127}
12128
12129
12130static PyObject *_wrap_DirDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
12131 PyObject *resultobj;
12132 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
12133 long result;
12134 PyObject * obj0 = 0 ;
12135 char *kwnames[] = {
12136 (char *) "self", NULL
12137 };
12138
12139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
12140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
12141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12142 {
12143 PyThreadState* __tstate = wxPyBeginAllowThreads();
12144 result = (long)(arg1)->GetStyle();
12145
12146 wxPyEndAllowThreads(__tstate);
12147 if (PyErr_Occurred()) SWIG_fail;
12148 }
12149 resultobj = SWIG_From_long((long)result);
12150 return resultobj;
12151 fail:
12152 return NULL;
12153}
12154
12155
12156static PyObject *_wrap_DirDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
12157 PyObject *resultobj;
12158 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
12159 wxString *arg2 = 0 ;
12160 bool temp2 = false ;
12161 PyObject * obj0 = 0 ;
12162 PyObject * obj1 = 0 ;
12163 char *kwnames[] = {
12164 (char *) "self",(char *) "message", NULL
12165 };
12166
12167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
12168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
12169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12170 {
12171 arg2 = wxString_in_helper(obj1);
12172 if (arg2 == NULL) SWIG_fail;
12173 temp2 = true;
12174 }
12175 {
12176 PyThreadState* __tstate = wxPyBeginAllowThreads();
12177 (arg1)->SetMessage((wxString const &)*arg2);
12178
12179 wxPyEndAllowThreads(__tstate);
12180 if (PyErr_Occurred()) SWIG_fail;
12181 }
12182 Py_INCREF(Py_None); resultobj = Py_None;
12183 {
12184 if (temp2)
12185 delete arg2;
12186 }
12187 return resultobj;
12188 fail:
12189 {
12190 if (temp2)
12191 delete arg2;
12192 }
12193 return NULL;
12194}
12195
12196
12197static PyObject *_wrap_DirDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
12198 PyObject *resultobj;
12199 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
12200 wxString *arg2 = 0 ;
12201 bool temp2 = false ;
12202 PyObject * obj0 = 0 ;
12203 PyObject * obj1 = 0 ;
12204 char *kwnames[] = {
12205 (char *) "self",(char *) "path", NULL
12206 };
12207
12208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
12209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
12210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12211 {
12212 arg2 = wxString_in_helper(obj1);
12213 if (arg2 == NULL) SWIG_fail;
12214 temp2 = true;
12215 }
12216 {
12217 PyThreadState* __tstate = wxPyBeginAllowThreads();
12218 (arg1)->SetPath((wxString const &)*arg2);
12219
12220 wxPyEndAllowThreads(__tstate);
12221 if (PyErr_Occurred()) SWIG_fail;
12222 }
12223 Py_INCREF(Py_None); resultobj = Py_None;
12224 {
12225 if (temp2)
12226 delete arg2;
12227 }
12228 return resultobj;
12229 fail:
12230 {
12231 if (temp2)
12232 delete arg2;
12233 }
12234 return NULL;
12235}
12236
12237
12238static PyObject * DirDialog_swigregister(PyObject *, PyObject *args) {
12239 PyObject *obj;
12240 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12241 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
12242 Py_INCREF(obj);
12243 return Py_BuildValue((char *)"");
12244}
12245static PyObject *_wrap_new_FileDialog(PyObject *, PyObject *args, PyObject *kwargs) {
12246 PyObject *resultobj;
12247 wxWindow *arg1 = (wxWindow *) 0 ;
12248 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
12249 wxString *arg2 = (wxString *) &arg2_defvalue ;
12250 wxString const &arg3_defvalue = wxPyEmptyString ;
12251 wxString *arg3 = (wxString *) &arg3_defvalue ;
12252 wxString const &arg4_defvalue = wxPyEmptyString ;
12253 wxString *arg4 = (wxString *) &arg4_defvalue ;
12254 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
12255 wxString *arg5 = (wxString *) &arg5_defvalue ;
12256 long arg6 = (long) 0 ;
12257 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12258 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12259 wxFileDialog *result;
12260 bool temp2 = false ;
12261 bool temp3 = false ;
12262 bool temp4 = false ;
12263 bool temp5 = false ;
12264 wxPoint temp7 ;
12265 PyObject * obj0 = 0 ;
12266 PyObject * obj1 = 0 ;
12267 PyObject * obj2 = 0 ;
12268 PyObject * obj3 = 0 ;
12269 PyObject * obj4 = 0 ;
12270 PyObject * obj5 = 0 ;
12271 PyObject * obj6 = 0 ;
12272 char *kwnames[] = {
12273 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
12274 };
12275
12276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
12277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12279 if (obj1) {
12280 {
12281 arg2 = wxString_in_helper(obj1);
12282 if (arg2 == NULL) SWIG_fail;
12283 temp2 = true;
12284 }
12285 }
12286 if (obj2) {
12287 {
12288 arg3 = wxString_in_helper(obj2);
12289 if (arg3 == NULL) SWIG_fail;
12290 temp3 = true;
12291 }
12292 }
12293 if (obj3) {
12294 {
12295 arg4 = wxString_in_helper(obj3);
12296 if (arg4 == NULL) SWIG_fail;
12297 temp4 = true;
12298 }
12299 }
12300 if (obj4) {
12301 {
12302 arg5 = wxString_in_helper(obj4);
12303 if (arg5 == NULL) SWIG_fail;
12304 temp5 = true;
12305 }
12306 }
12307 if (obj5) {
12308 arg6 = (long)SWIG_As_long(obj5);
12309 if (PyErr_Occurred()) SWIG_fail;
12310 }
12311 if (obj6) {
12312 {
12313 arg7 = &temp7;
12314 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
12315 }
12316 }
12317 {
12318 if (!wxPyCheckForApp()) SWIG_fail;
12319 PyThreadState* __tstate = wxPyBeginAllowThreads();
12320 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
12321
12322 wxPyEndAllowThreads(__tstate);
12323 if (PyErr_Occurred()) SWIG_fail;
12324 }
12325 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
12326 {
12327 if (temp2)
12328 delete arg2;
12329 }
12330 {
12331 if (temp3)
12332 delete arg3;
12333 }
12334 {
12335 if (temp4)
12336 delete arg4;
12337 }
12338 {
12339 if (temp5)
12340 delete arg5;
12341 }
12342 return resultobj;
12343 fail:
12344 {
12345 if (temp2)
12346 delete arg2;
12347 }
12348 {
12349 if (temp3)
12350 delete arg3;
12351 }
12352 {
12353 if (temp4)
12354 delete arg4;
12355 }
12356 {
12357 if (temp5)
12358 delete arg5;
12359 }
12360 return NULL;
12361}
12362
12363
12364static PyObject *_wrap_FileDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
12365 PyObject *resultobj;
12366 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12367 wxString *arg2 = 0 ;
12368 bool temp2 = false ;
12369 PyObject * obj0 = 0 ;
12370 PyObject * obj1 = 0 ;
12371 char *kwnames[] = {
12372 (char *) "self",(char *) "message", NULL
12373 };
12374
12375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
12376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12378 {
12379 arg2 = wxString_in_helper(obj1);
12380 if (arg2 == NULL) SWIG_fail;
12381 temp2 = true;
12382 }
12383 {
12384 PyThreadState* __tstate = wxPyBeginAllowThreads();
12385 (arg1)->SetMessage((wxString const &)*arg2);
12386
12387 wxPyEndAllowThreads(__tstate);
12388 if (PyErr_Occurred()) SWIG_fail;
12389 }
12390 Py_INCREF(Py_None); resultobj = Py_None;
12391 {
12392 if (temp2)
12393 delete arg2;
12394 }
12395 return resultobj;
12396 fail:
12397 {
12398 if (temp2)
12399 delete arg2;
12400 }
12401 return NULL;
12402}
12403
12404
12405static PyObject *_wrap_FileDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
12406 PyObject *resultobj;
12407 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12408 wxString *arg2 = 0 ;
12409 bool temp2 = false ;
12410 PyObject * obj0 = 0 ;
12411 PyObject * obj1 = 0 ;
12412 char *kwnames[] = {
12413 (char *) "self",(char *) "path", NULL
12414 };
12415
12416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
12417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12419 {
12420 arg2 = wxString_in_helper(obj1);
12421 if (arg2 == NULL) SWIG_fail;
12422 temp2 = true;
12423 }
12424 {
12425 PyThreadState* __tstate = wxPyBeginAllowThreads();
12426 (arg1)->SetPath((wxString const &)*arg2);
12427
12428 wxPyEndAllowThreads(__tstate);
12429 if (PyErr_Occurred()) SWIG_fail;
12430 }
12431 Py_INCREF(Py_None); resultobj = Py_None;
12432 {
12433 if (temp2)
12434 delete arg2;
12435 }
12436 return resultobj;
12437 fail:
12438 {
12439 if (temp2)
12440 delete arg2;
12441 }
12442 return NULL;
12443}
12444
12445
12446static PyObject *_wrap_FileDialog_SetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
12447 PyObject *resultobj;
12448 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12449 wxString *arg2 = 0 ;
12450 bool temp2 = false ;
12451 PyObject * obj0 = 0 ;
12452 PyObject * obj1 = 0 ;
12453 char *kwnames[] = {
12454 (char *) "self",(char *) "dir", NULL
12455 };
12456
12457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
12458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12460 {
12461 arg2 = wxString_in_helper(obj1);
12462 if (arg2 == NULL) SWIG_fail;
12463 temp2 = true;
12464 }
12465 {
12466 PyThreadState* __tstate = wxPyBeginAllowThreads();
12467 (arg1)->SetDirectory((wxString const &)*arg2);
12468
12469 wxPyEndAllowThreads(__tstate);
12470 if (PyErr_Occurred()) SWIG_fail;
12471 }
12472 Py_INCREF(Py_None); resultobj = Py_None;
12473 {
12474 if (temp2)
12475 delete arg2;
12476 }
12477 return resultobj;
12478 fail:
12479 {
12480 if (temp2)
12481 delete arg2;
12482 }
12483 return NULL;
12484}
12485
12486
12487static PyObject *_wrap_FileDialog_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
12488 PyObject *resultobj;
12489 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12490 wxString *arg2 = 0 ;
12491 bool temp2 = false ;
12492 PyObject * obj0 = 0 ;
12493 PyObject * obj1 = 0 ;
12494 char *kwnames[] = {
12495 (char *) "self",(char *) "name", NULL
12496 };
12497
12498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
12499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12501 {
12502 arg2 = wxString_in_helper(obj1);
12503 if (arg2 == NULL) SWIG_fail;
12504 temp2 = true;
12505 }
12506 {
12507 PyThreadState* __tstate = wxPyBeginAllowThreads();
12508 (arg1)->SetFilename((wxString const &)*arg2);
12509
12510 wxPyEndAllowThreads(__tstate);
12511 if (PyErr_Occurred()) SWIG_fail;
12512 }
12513 Py_INCREF(Py_None); resultobj = Py_None;
12514 {
12515 if (temp2)
12516 delete arg2;
12517 }
12518 return resultobj;
12519 fail:
12520 {
12521 if (temp2)
12522 delete arg2;
12523 }
12524 return NULL;
12525}
12526
12527
12528static PyObject *_wrap_FileDialog_SetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
12529 PyObject *resultobj;
12530 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12531 wxString *arg2 = 0 ;
12532 bool temp2 = false ;
12533 PyObject * obj0 = 0 ;
12534 PyObject * obj1 = 0 ;
12535 char *kwnames[] = {
12536 (char *) "self",(char *) "wildCard", NULL
12537 };
12538
12539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
12540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12542 {
12543 arg2 = wxString_in_helper(obj1);
12544 if (arg2 == NULL) SWIG_fail;
12545 temp2 = true;
12546 }
12547 {
12548 PyThreadState* __tstate = wxPyBeginAllowThreads();
12549 (arg1)->SetWildcard((wxString const &)*arg2);
12550
12551 wxPyEndAllowThreads(__tstate);
12552 if (PyErr_Occurred()) SWIG_fail;
12553 }
12554 Py_INCREF(Py_None); resultobj = Py_None;
12555 {
12556 if (temp2)
12557 delete arg2;
12558 }
12559 return resultobj;
12560 fail:
12561 {
12562 if (temp2)
12563 delete arg2;
12564 }
12565 return NULL;
12566}
12567
12568
12569static PyObject *_wrap_FileDialog_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
12570 PyObject *resultobj;
12571 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12572 long arg2 ;
12573 PyObject * obj0 = 0 ;
12574 PyObject * obj1 = 0 ;
12575 char *kwnames[] = {
12576 (char *) "self",(char *) "style", NULL
12577 };
12578
12579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
12580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12582 arg2 = (long)SWIG_As_long(obj1);
12583 if (PyErr_Occurred()) SWIG_fail;
12584 {
12585 PyThreadState* __tstate = wxPyBeginAllowThreads();
12586 (arg1)->SetStyle(arg2);
12587
12588 wxPyEndAllowThreads(__tstate);
12589 if (PyErr_Occurred()) SWIG_fail;
12590 }
12591 Py_INCREF(Py_None); resultobj = Py_None;
12592 return resultobj;
12593 fail:
12594 return NULL;
12595}
12596
12597
12598static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
12599 PyObject *resultobj;
12600 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12601 int arg2 ;
12602 PyObject * obj0 = 0 ;
12603 PyObject * obj1 = 0 ;
12604 char *kwnames[] = {
12605 (char *) "self",(char *) "filterIndex", NULL
12606 };
12607
12608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
12609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12611 arg2 = (int)SWIG_As_int(obj1);
12612 if (PyErr_Occurred()) SWIG_fail;
12613 {
12614 PyThreadState* __tstate = wxPyBeginAllowThreads();
12615 (arg1)->SetFilterIndex(arg2);
12616
12617 wxPyEndAllowThreads(__tstate);
12618 if (PyErr_Occurred()) SWIG_fail;
12619 }
12620 Py_INCREF(Py_None); resultobj = Py_None;
12621 return resultobj;
12622 fail:
12623 return NULL;
12624}
12625
12626
12627static PyObject *_wrap_FileDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
12628 PyObject *resultobj;
12629 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12630 wxString result;
12631 PyObject * obj0 = 0 ;
12632 char *kwnames[] = {
12633 (char *) "self", NULL
12634 };
12635
12636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
12637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12639 {
12640 PyThreadState* __tstate = wxPyBeginAllowThreads();
12641 result = ((wxFileDialog const *)arg1)->GetMessage();
12642
12643 wxPyEndAllowThreads(__tstate);
12644 if (PyErr_Occurred()) SWIG_fail;
12645 }
12646 {
12647#if wxUSE_UNICODE
12648 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12649#else
12650 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12651#endif
12652 }
12653 return resultobj;
12654 fail:
12655 return NULL;
12656}
12657
12658
12659static PyObject *_wrap_FileDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
12660 PyObject *resultobj;
12661 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12662 wxString result;
12663 PyObject * obj0 = 0 ;
12664 char *kwnames[] = {
12665 (char *) "self", NULL
12666 };
12667
12668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
12669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12671 {
12672 PyThreadState* __tstate = wxPyBeginAllowThreads();
12673 result = ((wxFileDialog const *)arg1)->GetPath();
12674
12675 wxPyEndAllowThreads(__tstate);
12676 if (PyErr_Occurred()) SWIG_fail;
12677 }
12678 {
12679#if wxUSE_UNICODE
12680 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12681#else
12682 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12683#endif
12684 }
12685 return resultobj;
12686 fail:
12687 return NULL;
12688}
12689
12690
12691static PyObject *_wrap_FileDialog_GetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
12692 PyObject *resultobj;
12693 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12694 wxString result;
12695 PyObject * obj0 = 0 ;
12696 char *kwnames[] = {
12697 (char *) "self", NULL
12698 };
12699
12700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
12701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12703 {
12704 PyThreadState* __tstate = wxPyBeginAllowThreads();
12705 result = ((wxFileDialog const *)arg1)->GetDirectory();
12706
12707 wxPyEndAllowThreads(__tstate);
12708 if (PyErr_Occurred()) SWIG_fail;
12709 }
12710 {
12711#if wxUSE_UNICODE
12712 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12713#else
12714 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12715#endif
12716 }
12717 return resultobj;
12718 fail:
12719 return NULL;
12720}
12721
12722
12723static PyObject *_wrap_FileDialog_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
12724 PyObject *resultobj;
12725 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12726 wxString result;
12727 PyObject * obj0 = 0 ;
12728 char *kwnames[] = {
12729 (char *) "self", NULL
12730 };
12731
12732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
12733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12735 {
12736 PyThreadState* __tstate = wxPyBeginAllowThreads();
12737 result = ((wxFileDialog const *)arg1)->GetFilename();
12738
12739 wxPyEndAllowThreads(__tstate);
12740 if (PyErr_Occurred()) SWIG_fail;
12741 }
12742 {
12743#if wxUSE_UNICODE
12744 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12745#else
12746 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12747#endif
12748 }
12749 return resultobj;
12750 fail:
12751 return NULL;
12752}
12753
12754
12755static PyObject *_wrap_FileDialog_GetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
12756 PyObject *resultobj;
12757 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12758 wxString result;
12759 PyObject * obj0 = 0 ;
12760 char *kwnames[] = {
12761 (char *) "self", NULL
12762 };
12763
12764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
12765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12767 {
12768 PyThreadState* __tstate = wxPyBeginAllowThreads();
12769 result = ((wxFileDialog const *)arg1)->GetWildcard();
12770
12771 wxPyEndAllowThreads(__tstate);
12772 if (PyErr_Occurred()) SWIG_fail;
12773 }
12774 {
12775#if wxUSE_UNICODE
12776 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12777#else
12778 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12779#endif
12780 }
12781 return resultobj;
12782 fail:
12783 return NULL;
12784}
12785
12786
12787static PyObject *_wrap_FileDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
12788 PyObject *resultobj;
12789 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12790 long result;
12791 PyObject * obj0 = 0 ;
12792 char *kwnames[] = {
12793 (char *) "self", NULL
12794 };
12795
12796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
12797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12799 {
12800 PyThreadState* __tstate = wxPyBeginAllowThreads();
12801 result = (long)((wxFileDialog const *)arg1)->GetStyle();
12802
12803 wxPyEndAllowThreads(__tstate);
12804 if (PyErr_Occurred()) SWIG_fail;
12805 }
12806 resultobj = SWIG_From_long((long)result);
12807 return resultobj;
12808 fail:
12809 return NULL;
12810}
12811
12812
12813static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
12814 PyObject *resultobj;
12815 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12816 int result;
12817 PyObject * obj0 = 0 ;
12818 char *kwnames[] = {
12819 (char *) "self", NULL
12820 };
12821
12822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
12823 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12825 {
12826 PyThreadState* __tstate = wxPyBeginAllowThreads();
12827 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
12828
12829 wxPyEndAllowThreads(__tstate);
12830 if (PyErr_Occurred()) SWIG_fail;
12831 }
12832 resultobj = SWIG_From_int((int)result);
12833 return resultobj;
12834 fail:
12835 return NULL;
12836}
12837
12838
12839static PyObject *_wrap_FileDialog_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) {
12840 PyObject *resultobj;
12841 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12842 PyObject *result;
12843 PyObject * obj0 = 0 ;
12844 char *kwnames[] = {
12845 (char *) "self", NULL
12846 };
12847
12848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
12849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12851 {
12852 PyThreadState* __tstate = wxPyBeginAllowThreads();
12853 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
12854
12855 wxPyEndAllowThreads(__tstate);
12856 if (PyErr_Occurred()) SWIG_fail;
12857 }
12858 resultobj = result;
12859 return resultobj;
12860 fail:
12861 return NULL;
12862}
12863
12864
12865static PyObject *_wrap_FileDialog_GetPaths(PyObject *, PyObject *args, PyObject *kwargs) {
12866 PyObject *resultobj;
12867 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12868 PyObject *result;
12869 PyObject * obj0 = 0 ;
12870 char *kwnames[] = {
12871 (char *) "self", NULL
12872 };
12873
12874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
12875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12877 {
12878 PyThreadState* __tstate = wxPyBeginAllowThreads();
12879 result = (PyObject *)wxFileDialog_GetPaths(arg1);
12880
12881 wxPyEndAllowThreads(__tstate);
12882 if (PyErr_Occurred()) SWIG_fail;
12883 }
12884 resultobj = result;
12885 return resultobj;
12886 fail:
12887 return NULL;
12888}
12889
12890
12891static PyObject * FileDialog_swigregister(PyObject *, PyObject *args) {
12892 PyObject *obj;
12893 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12894 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
12895 Py_INCREF(obj);
12896 return Py_BuildValue((char *)"");
12897}
12898static PyObject *_wrap_new_MultiChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
12899 PyObject *resultobj;
12900 wxWindow *arg1 = (wxWindow *) 0 ;
12901 wxString *arg2 = 0 ;
12902 wxString *arg3 = 0 ;
12903 int arg4 = (int) 0 ;
12904 wxString *arg5 = (wxString *) NULL ;
12905 long arg6 = (long) wxCHOICEDLG_STYLE ;
12906 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12907 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12908 wxMultiChoiceDialog *result;
12909 bool temp2 = false ;
12910 bool temp3 = false ;
12911 wxPoint temp6 ;
12912 PyObject * obj0 = 0 ;
12913 PyObject * obj1 = 0 ;
12914 PyObject * obj2 = 0 ;
12915 PyObject * obj3 = 0 ;
12916 PyObject * obj4 = 0 ;
12917 PyObject * obj5 = 0 ;
12918 char *kwnames[] = {
12919 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12920 };
12921
12922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12925 {
12926 arg2 = wxString_in_helper(obj1);
12927 if (arg2 == NULL) SWIG_fail;
12928 temp2 = true;
12929 }
12930 {
12931 arg3 = wxString_in_helper(obj2);
12932 if (arg3 == NULL) SWIG_fail;
12933 temp3 = true;
12934 }
12935 if (obj3) {
12936 {
12937 arg4 = PyList_Size(obj3);
12938 arg5 = wxString_LIST_helper(obj3);
12939 if (arg5 == NULL) SWIG_fail;
12940 }
12941 }
12942 if (obj4) {
12943 arg6 = (long)SWIG_As_long(obj4);
12944 if (PyErr_Occurred()) SWIG_fail;
12945 }
12946 if (obj5) {
12947 {
12948 arg7 = &temp6;
12949 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12950 }
12951 }
12952 {
12953 if (!wxPyCheckForApp()) SWIG_fail;
12954 PyThreadState* __tstate = wxPyBeginAllowThreads();
12955 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12956
12957 wxPyEndAllowThreads(__tstate);
12958 if (PyErr_Occurred()) SWIG_fail;
12959 }
12960 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
12961 {
12962 if (temp2)
12963 delete arg2;
12964 }
12965 {
12966 if (temp3)
12967 delete arg3;
12968 }
12969 {
12970 if (arg5) delete [] arg5;
12971 }
12972 return resultobj;
12973 fail:
12974 {
12975 if (temp2)
12976 delete arg2;
12977 }
12978 {
12979 if (temp3)
12980 delete arg3;
12981 }
12982 {
12983 if (arg5) delete [] arg5;
12984 }
12985 return NULL;
12986}
12987
12988
12989static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
12990 PyObject *resultobj;
12991 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12992 wxArrayInt *arg2 = 0 ;
12993 bool temp2 = false ;
12994 PyObject * obj0 = 0 ;
12995 PyObject * obj1 = 0 ;
12996 char *kwnames[] = {
12997 (char *) "self",(char *) "selections", NULL
12998 };
12999
13000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
13001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
13002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13003 {
13004 if (! PySequence_Check(obj1)) {
13005 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
13006 SWIG_fail;
13007 }
13008 arg2 = new wxArrayInt;
13009 temp2 = true;
13010 int i, len=PySequence_Length(obj1);
13011 for (i=0; i<len; i++) {
13012 PyObject* item = PySequence_GetItem(obj1, i);
13013 PyObject* number = PyNumber_Int(item);
13014 arg2->Add(PyInt_AS_LONG(number));
13015 Py_DECREF(item);
13016 Py_DECREF(number);
13017 }
13018 }
13019 {
13020 PyThreadState* __tstate = wxPyBeginAllowThreads();
13021 (arg1)->SetSelections((wxArrayInt const &)*arg2);
13022
13023 wxPyEndAllowThreads(__tstate);
13024 if (PyErr_Occurred()) SWIG_fail;
13025 }
13026 Py_INCREF(Py_None); resultobj = Py_None;
13027 {
13028 if (temp2) delete arg2;
13029 }
13030 return resultobj;
13031 fail:
13032 {
13033 if (temp2) delete arg2;
13034 }
13035 return NULL;
13036}
13037
13038
13039static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
13040 PyObject *resultobj;
13041 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
13042 PyObject *result;
13043 PyObject * obj0 = 0 ;
13044 char *kwnames[] = {
13045 (char *) "self", NULL
13046 };
13047
13048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
13049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
13050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13051 {
13052 PyThreadState* __tstate = wxPyBeginAllowThreads();
13053 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
13054
13055 wxPyEndAllowThreads(__tstate);
13056 if (PyErr_Occurred()) SWIG_fail;
13057 }
13058 resultobj = result;
13059 return resultobj;
13060 fail:
13061 return NULL;
13062}
13063
13064
13065static PyObject * MultiChoiceDialog_swigregister(PyObject *, PyObject *args) {
13066 PyObject *obj;
13067 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13068 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
13069 Py_INCREF(obj);
13070 return Py_BuildValue((char *)"");
13071}
13072static PyObject *_wrap_new_SingleChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13073 PyObject *resultobj;
13074 wxWindow *arg1 = (wxWindow *) 0 ;
13075 wxString *arg2 = 0 ;
13076 wxString *arg3 = 0 ;
13077 int arg4 ;
13078 wxString *arg5 = (wxString *) 0 ;
13079 long arg6 = (long) wxCHOICEDLG_STYLE ;
13080 wxPoint const &arg7_defvalue = wxDefaultPosition ;
13081 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
13082 wxSingleChoiceDialog *result;
13083 bool temp2 = false ;
13084 bool temp3 = false ;
13085 wxPoint temp6 ;
13086 PyObject * obj0 = 0 ;
13087 PyObject * obj1 = 0 ;
13088 PyObject * obj2 = 0 ;
13089 PyObject * obj3 = 0 ;
13090 PyObject * obj4 = 0 ;
13091 PyObject * obj5 = 0 ;
13092 char *kwnames[] = {
13093 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
13094 };
13095
13096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13099 {
13100 arg2 = wxString_in_helper(obj1);
13101 if (arg2 == NULL) SWIG_fail;
13102 temp2 = true;
13103 }
13104 {
13105 arg3 = wxString_in_helper(obj2);
13106 if (arg3 == NULL) SWIG_fail;
13107 temp3 = true;
13108 }
13109 {
13110 arg4 = PyList_Size(obj3);
13111 arg5 = wxString_LIST_helper(obj3);
13112 if (arg5 == NULL) SWIG_fail;
13113 }
13114 if (obj4) {
13115 arg6 = (long)SWIG_As_long(obj4);
13116 if (PyErr_Occurred()) SWIG_fail;
13117 }
13118 if (obj5) {
13119 {
13120 arg7 = &temp6;
13121 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
13122 }
13123 }
13124 {
13125 if (!wxPyCheckForApp()) SWIG_fail;
13126 PyThreadState* __tstate = wxPyBeginAllowThreads();
13127 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
13128
13129 wxPyEndAllowThreads(__tstate);
13130 if (PyErr_Occurred()) SWIG_fail;
13131 }
13132 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
13133 {
13134 if (temp2)
13135 delete arg2;
13136 }
13137 {
13138 if (temp3)
13139 delete arg3;
13140 }
13141 {
13142 if (arg5) delete [] arg5;
13143 }
13144 return resultobj;
13145 fail:
13146 {
13147 if (temp2)
13148 delete arg2;
13149 }
13150 {
13151 if (temp3)
13152 delete arg3;
13153 }
13154 {
13155 if (arg5) delete [] arg5;
13156 }
13157 return NULL;
13158}
13159
13160
13161static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13162 PyObject *resultobj;
13163 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
13164 int result;
13165 PyObject * obj0 = 0 ;
13166 char *kwnames[] = {
13167 (char *) "self", NULL
13168 };
13169
13170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
13171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
13172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13173 {
13174 PyThreadState* __tstate = wxPyBeginAllowThreads();
13175 result = (int)(arg1)->GetSelection();
13176
13177 wxPyEndAllowThreads(__tstate);
13178 if (PyErr_Occurred()) SWIG_fail;
13179 }
13180 resultobj = SWIG_From_int((int)result);
13181 return resultobj;
13182 fail:
13183 return NULL;
13184}
13185
13186
13187static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13188 PyObject *resultobj;
13189 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
13190 wxString result;
13191 PyObject * obj0 = 0 ;
13192 char *kwnames[] = {
13193 (char *) "self", NULL
13194 };
13195
13196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
13197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
13198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13199 {
13200 PyThreadState* __tstate = wxPyBeginAllowThreads();
13201 result = (arg1)->GetStringSelection();
13202
13203 wxPyEndAllowThreads(__tstate);
13204 if (PyErr_Occurred()) SWIG_fail;
13205 }
13206 {
13207#if wxUSE_UNICODE
13208 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13209#else
13210 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13211#endif
13212 }
13213 return resultobj;
13214 fail:
13215 return NULL;
13216}
13217
13218
13219static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13220 PyObject *resultobj;
13221 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
13222 int arg2 ;
13223 PyObject * obj0 = 0 ;
13224 PyObject * obj1 = 0 ;
13225 char *kwnames[] = {
13226 (char *) "self",(char *) "sel", NULL
13227 };
13228
13229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
13230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
13231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13232 arg2 = (int)SWIG_As_int(obj1);
13233 if (PyErr_Occurred()) SWIG_fail;
13234 {
13235 PyThreadState* __tstate = wxPyBeginAllowThreads();
13236 (arg1)->SetSelection(arg2);
13237
13238 wxPyEndAllowThreads(__tstate);
13239 if (PyErr_Occurred()) SWIG_fail;
13240 }
13241 Py_INCREF(Py_None); resultobj = Py_None;
13242 return resultobj;
13243 fail:
13244 return NULL;
13245}
13246
13247
13248static PyObject * SingleChoiceDialog_swigregister(PyObject *, PyObject *args) {
13249 PyObject *obj;
13250 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13251 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
13252 Py_INCREF(obj);
13253 return Py_BuildValue((char *)"");
13254}
13255static PyObject *_wrap_new_TextEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13256 PyObject *resultobj;
13257 wxWindow *arg1 = (wxWindow *) 0 ;
13258 wxString *arg2 = 0 ;
13259 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
13260 wxString *arg3 = (wxString *) &arg3_defvalue ;
13261 wxString const &arg4_defvalue = wxPyEmptyString ;
13262 wxString *arg4 = (wxString *) &arg4_defvalue ;
13263 long arg5 = (long) wxTextEntryDialogStyle ;
13264 wxPoint const &arg6_defvalue = wxDefaultPosition ;
13265 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
13266 wxTextEntryDialog *result;
13267 bool temp2 = false ;
13268 bool temp3 = false ;
13269 bool temp4 = false ;
13270 wxPoint temp6 ;
13271 PyObject * obj0 = 0 ;
13272 PyObject * obj1 = 0 ;
13273 PyObject * obj2 = 0 ;
13274 PyObject * obj3 = 0 ;
13275 PyObject * obj4 = 0 ;
13276 PyObject * obj5 = 0 ;
13277 char *kwnames[] = {
13278 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
13279 };
13280
13281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13284 {
13285 arg2 = wxString_in_helper(obj1);
13286 if (arg2 == NULL) SWIG_fail;
13287 temp2 = true;
13288 }
13289 if (obj2) {
13290 {
13291 arg3 = wxString_in_helper(obj2);
13292 if (arg3 == NULL) SWIG_fail;
13293 temp3 = true;
13294 }
13295 }
13296 if (obj3) {
13297 {
13298 arg4 = wxString_in_helper(obj3);
13299 if (arg4 == NULL) SWIG_fail;
13300 temp4 = true;
13301 }
13302 }
13303 if (obj4) {
13304 arg5 = (long)SWIG_As_long(obj4);
13305 if (PyErr_Occurred()) SWIG_fail;
13306 }
13307 if (obj5) {
13308 {
13309 arg6 = &temp6;
13310 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
13311 }
13312 }
13313 {
13314 if (!wxPyCheckForApp()) SWIG_fail;
13315 PyThreadState* __tstate = wxPyBeginAllowThreads();
13316 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
13317
13318 wxPyEndAllowThreads(__tstate);
13319 if (PyErr_Occurred()) SWIG_fail;
13320 }
13321 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
13322 {
13323 if (temp2)
13324 delete arg2;
13325 }
13326 {
13327 if (temp3)
13328 delete arg3;
13329 }
13330 {
13331 if (temp4)
13332 delete arg4;
13333 }
13334 return resultobj;
13335 fail:
13336 {
13337 if (temp2)
13338 delete arg2;
13339 }
13340 {
13341 if (temp3)
13342 delete arg3;
13343 }
13344 {
13345 if (temp4)
13346 delete arg4;
13347 }
13348 return NULL;
13349}
13350
13351
13352static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
13353 PyObject *resultobj;
13354 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
13355 wxString result;
13356 PyObject * obj0 = 0 ;
13357 char *kwnames[] = {
13358 (char *) "self", NULL
13359 };
13360
13361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
13362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
13363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13364 {
13365 PyThreadState* __tstate = wxPyBeginAllowThreads();
13366 result = (arg1)->GetValue();
13367
13368 wxPyEndAllowThreads(__tstate);
13369 if (PyErr_Occurred()) SWIG_fail;
13370 }
13371 {
13372#if wxUSE_UNICODE
13373 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13374#else
13375 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13376#endif
13377 }
13378 return resultobj;
13379 fail:
13380 return NULL;
13381}
13382
13383
13384static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
13385 PyObject *resultobj;
13386 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
13387 wxString *arg2 = 0 ;
13388 bool temp2 = false ;
13389 PyObject * obj0 = 0 ;
13390 PyObject * obj1 = 0 ;
13391 char *kwnames[] = {
13392 (char *) "self",(char *) "value", NULL
13393 };
13394
13395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
13396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
13397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13398 {
13399 arg2 = wxString_in_helper(obj1);
13400 if (arg2 == NULL) SWIG_fail;
13401 temp2 = true;
13402 }
13403 {
13404 PyThreadState* __tstate = wxPyBeginAllowThreads();
13405 (arg1)->SetValue((wxString const &)*arg2);
13406
13407 wxPyEndAllowThreads(__tstate);
13408 if (PyErr_Occurred()) SWIG_fail;
13409 }
13410 Py_INCREF(Py_None); resultobj = Py_None;
13411 {
13412 if (temp2)
13413 delete arg2;
13414 }
13415 return resultobj;
13416 fail:
13417 {
13418 if (temp2)
13419 delete arg2;
13420 }
13421 return NULL;
13422}
13423
13424
13425static PyObject * TextEntryDialog_swigregister(PyObject *, PyObject *args) {
13426 PyObject *obj;
13427 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13428 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
13429 Py_INCREF(obj);
13430 return Py_BuildValue((char *)"");
13431}
13432static int _wrap_GetPasswordFromUserPromptStr_set(PyObject *) {
13433 PyErr_SetString(PyExc_TypeError,"Variable GetPasswordFromUserPromptStr is read-only.");
13434 return 1;
13435}
13436
13437
13438static PyObject *_wrap_GetPasswordFromUserPromptStr_get() {
13439 PyObject *pyobj;
13440
13441 {
13442#if wxUSE_UNICODE
13443 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
13444#else
13445 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
13446#endif
13447 }
13448 return pyobj;
13449}
13450
13451
13452static PyObject *_wrap_new_PasswordEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13453 PyObject *resultobj;
13454 wxWindow *arg1 = (wxWindow *) 0 ;
13455 wxString *arg2 = 0 ;
13456 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
13457 wxString *arg3 = (wxString *) &arg3_defvalue ;
13458 wxString const &arg4_defvalue = wxPyEmptyString ;
13459 wxString *arg4 = (wxString *) &arg4_defvalue ;
13460 long arg5 = (long) wxTextEntryDialogStyle ;
13461 wxPoint const &arg6_defvalue = wxDefaultPosition ;
13462 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
13463 wxPasswordEntryDialog *result;
13464 bool temp2 = false ;
13465 bool temp3 = false ;
13466 bool temp4 = false ;
13467 wxPoint temp6 ;
13468 PyObject * obj0 = 0 ;
13469 PyObject * obj1 = 0 ;
13470 PyObject * obj2 = 0 ;
13471 PyObject * obj3 = 0 ;
13472 PyObject * obj4 = 0 ;
13473 PyObject * obj5 = 0 ;
13474 char *kwnames[] = {
13475 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
13476 };
13477
13478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13481 {
13482 arg2 = wxString_in_helper(obj1);
13483 if (arg2 == NULL) SWIG_fail;
13484 temp2 = true;
13485 }
13486 if (obj2) {
13487 {
13488 arg3 = wxString_in_helper(obj2);
13489 if (arg3 == NULL) SWIG_fail;
13490 temp3 = true;
13491 }
13492 }
13493 if (obj3) {
13494 {
13495 arg4 = wxString_in_helper(obj3);
13496 if (arg4 == NULL) SWIG_fail;
13497 temp4 = true;
13498 }
13499 }
13500 if (obj4) {
13501 arg5 = (long)SWIG_As_long(obj4);
13502 if (PyErr_Occurred()) SWIG_fail;
13503 }
13504 if (obj5) {
13505 {
13506 arg6 = &temp6;
13507 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
13508 }
13509 }
13510 {
13511 PyThreadState* __tstate = wxPyBeginAllowThreads();
13512 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
13513
13514 wxPyEndAllowThreads(__tstate);
13515 if (PyErr_Occurred()) SWIG_fail;
13516 }
13517 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPasswordEntryDialog, 1);
13518 {
13519 if (temp2)
13520 delete arg2;
13521 }
13522 {
13523 if (temp3)
13524 delete arg3;
13525 }
13526 {
13527 if (temp4)
13528 delete arg4;
13529 }
13530 return resultobj;
13531 fail:
13532 {
13533 if (temp2)
13534 delete arg2;
13535 }
13536 {
13537 if (temp3)
13538 delete arg3;
13539 }
13540 {
13541 if (temp4)
13542 delete arg4;
13543 }
13544 return NULL;
13545}
13546
13547
13548static PyObject * PasswordEntryDialog_swigregister(PyObject *, PyObject *args) {
13549 PyObject *obj;
13550 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13551 SWIG_TypeClientData(SWIGTYPE_p_wxPasswordEntryDialog, obj);
13552 Py_INCREF(obj);
13553 return Py_BuildValue((char *)"");
13554}
13555static PyObject *_wrap_new_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
13556 PyObject *resultobj;
13557 wxFontData *result;
13558 char *kwnames[] = {
13559 NULL
13560 };
13561
13562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
13563 {
13564 PyThreadState* __tstate = wxPyBeginAllowThreads();
13565 result = (wxFontData *)new wxFontData();
13566
13567 wxPyEndAllowThreads(__tstate);
13568 if (PyErr_Occurred()) SWIG_fail;
13569 }
13570 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
13571 return resultobj;
13572 fail:
13573 return NULL;
13574}
13575
13576
13577static PyObject *_wrap_delete_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
13578 PyObject *resultobj;
13579 wxFontData *arg1 = (wxFontData *) 0 ;
13580 PyObject * obj0 = 0 ;
13581 char *kwnames[] = {
13582 (char *) "self", NULL
13583 };
13584
13585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
13586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13588 {
13589 PyThreadState* __tstate = wxPyBeginAllowThreads();
13590 delete arg1;
13591
13592 wxPyEndAllowThreads(__tstate);
13593 if (PyErr_Occurred()) SWIG_fail;
13594 }
13595 Py_INCREF(Py_None); resultobj = Py_None;
13596 return resultobj;
13597 fail:
13598 return NULL;
13599}
13600
13601
13602static PyObject *_wrap_FontData_EnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
13603 PyObject *resultobj;
13604 wxFontData *arg1 = (wxFontData *) 0 ;
13605 bool arg2 ;
13606 PyObject * obj0 = 0 ;
13607 PyObject * obj1 = 0 ;
13608 char *kwnames[] = {
13609 (char *) "self",(char *) "enable", NULL
13610 };
13611
13612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
13613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13615 arg2 = (bool)SWIG_As_bool(obj1);
13616 if (PyErr_Occurred()) SWIG_fail;
13617 {
13618 PyThreadState* __tstate = wxPyBeginAllowThreads();
13619 (arg1)->EnableEffects(arg2);
13620
13621 wxPyEndAllowThreads(__tstate);
13622 if (PyErr_Occurred()) SWIG_fail;
13623 }
13624 Py_INCREF(Py_None); resultobj = Py_None;
13625 return resultobj;
13626 fail:
13627 return NULL;
13628}
13629
13630
13631static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
13632 PyObject *resultobj;
13633 wxFontData *arg1 = (wxFontData *) 0 ;
13634 bool result;
13635 PyObject * obj0 = 0 ;
13636 char *kwnames[] = {
13637 (char *) "self", NULL
13638 };
13639
13640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
13641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13643 {
13644 PyThreadState* __tstate = wxPyBeginAllowThreads();
13645 result = (bool)(arg1)->GetAllowSymbols();
13646
13647 wxPyEndAllowThreads(__tstate);
13648 if (PyErr_Occurred()) SWIG_fail;
13649 }
13650 {
13651 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13652 }
13653 return resultobj;
13654 fail:
13655 return NULL;
13656}
13657
13658
13659static PyObject *_wrap_FontData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
13660 PyObject *resultobj;
13661 wxFontData *arg1 = (wxFontData *) 0 ;
13662 wxColour result;
13663 PyObject * obj0 = 0 ;
13664 char *kwnames[] = {
13665 (char *) "self", NULL
13666 };
13667
13668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
13669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13671 {
13672 PyThreadState* __tstate = wxPyBeginAllowThreads();
13673 result = (arg1)->GetColour();
13674
13675 wxPyEndAllowThreads(__tstate);
13676 if (PyErr_Occurred()) SWIG_fail;
13677 }
13678 {
13679 wxColour * resultptr;
13680 resultptr = new wxColour((wxColour &) result);
13681 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13682 }
13683 return resultobj;
13684 fail:
13685 return NULL;
13686}
13687
13688
13689static PyObject *_wrap_FontData_GetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
13690 PyObject *resultobj;
13691 wxFontData *arg1 = (wxFontData *) 0 ;
13692 wxFont result;
13693 PyObject * obj0 = 0 ;
13694 char *kwnames[] = {
13695 (char *) "self", NULL
13696 };
13697
13698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
13699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13701 {
13702 PyThreadState* __tstate = wxPyBeginAllowThreads();
13703 result = (arg1)->GetChosenFont();
13704
13705 wxPyEndAllowThreads(__tstate);
13706 if (PyErr_Occurred()) SWIG_fail;
13707 }
13708 {
13709 wxFont * resultptr;
13710 resultptr = new wxFont((wxFont &) result);
13711 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
13712 }
13713 return resultobj;
13714 fail:
13715 return NULL;
13716}
13717
13718
13719static PyObject *_wrap_FontData_GetEnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
13720 PyObject *resultobj;
13721 wxFontData *arg1 = (wxFontData *) 0 ;
13722 bool result;
13723 PyObject * obj0 = 0 ;
13724 char *kwnames[] = {
13725 (char *) "self", NULL
13726 };
13727
13728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
13729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13731 {
13732 PyThreadState* __tstate = wxPyBeginAllowThreads();
13733 result = (bool)(arg1)->GetEnableEffects();
13734
13735 wxPyEndAllowThreads(__tstate);
13736 if (PyErr_Occurred()) SWIG_fail;
13737 }
13738 {
13739 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13740 }
13741 return resultobj;
13742 fail:
13743 return NULL;
13744}
13745
13746
13747static PyObject *_wrap_FontData_GetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
13748 PyObject *resultobj;
13749 wxFontData *arg1 = (wxFontData *) 0 ;
13750 wxFont result;
13751 PyObject * obj0 = 0 ;
13752 char *kwnames[] = {
13753 (char *) "self", NULL
13754 };
13755
13756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
13757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13759 {
13760 PyThreadState* __tstate = wxPyBeginAllowThreads();
13761 result = (arg1)->GetInitialFont();
13762
13763 wxPyEndAllowThreads(__tstate);
13764 if (PyErr_Occurred()) SWIG_fail;
13765 }
13766 {
13767 wxFont * resultptr;
13768 resultptr = new wxFont((wxFont &) result);
13769 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
13770 }
13771 return resultobj;
13772 fail:
13773 return NULL;
13774}
13775
13776
13777static PyObject *_wrap_FontData_GetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
13778 PyObject *resultobj;
13779 wxFontData *arg1 = (wxFontData *) 0 ;
13780 bool result;
13781 PyObject * obj0 = 0 ;
13782 char *kwnames[] = {
13783 (char *) "self", NULL
13784 };
13785
13786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
13787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13789 {
13790 PyThreadState* __tstate = wxPyBeginAllowThreads();
13791 result = (bool)(arg1)->GetShowHelp();
13792
13793 wxPyEndAllowThreads(__tstate);
13794 if (PyErr_Occurred()) SWIG_fail;
13795 }
13796 {
13797 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13798 }
13799 return resultobj;
13800 fail:
13801 return NULL;
13802}
13803
13804
13805static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
13806 PyObject *resultobj;
13807 wxFontData *arg1 = (wxFontData *) 0 ;
13808 bool arg2 ;
13809 PyObject * obj0 = 0 ;
13810 PyObject * obj1 = 0 ;
13811 char *kwnames[] = {
13812 (char *) "self",(char *) "allowSymbols", NULL
13813 };
13814
13815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
13816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13818 arg2 = (bool)SWIG_As_bool(obj1);
13819 if (PyErr_Occurred()) SWIG_fail;
13820 {
13821 PyThreadState* __tstate = wxPyBeginAllowThreads();
13822 (arg1)->SetAllowSymbols(arg2);
13823
13824 wxPyEndAllowThreads(__tstate);
13825 if (PyErr_Occurred()) SWIG_fail;
13826 }
13827 Py_INCREF(Py_None); resultobj = Py_None;
13828 return resultobj;
13829 fail:
13830 return NULL;
13831}
13832
13833
13834static PyObject *_wrap_FontData_SetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
13835 PyObject *resultobj;
13836 wxFontData *arg1 = (wxFontData *) 0 ;
13837 wxFont *arg2 = 0 ;
13838 PyObject * obj0 = 0 ;
13839 PyObject * obj1 = 0 ;
13840 char *kwnames[] = {
13841 (char *) "self",(char *) "font", NULL
13842 };
13843
13844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
13845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13847 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13848 SWIG_POINTER_EXCEPTION | 0)) == -1)
13849 SWIG_fail;
13850 if (arg2 == NULL) {
13851 PyErr_SetString(PyExc_TypeError,"null reference");
13852 SWIG_fail;
13853 }
13854 {
13855 PyThreadState* __tstate = wxPyBeginAllowThreads();
13856 (arg1)->SetChosenFont((wxFont const &)*arg2);
13857
13858 wxPyEndAllowThreads(__tstate);
13859 if (PyErr_Occurred()) SWIG_fail;
13860 }
13861 Py_INCREF(Py_None); resultobj = Py_None;
13862 return resultobj;
13863 fail:
13864 return NULL;
13865}
13866
13867
13868static PyObject *_wrap_FontData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
13869 PyObject *resultobj;
13870 wxFontData *arg1 = (wxFontData *) 0 ;
13871 wxColour *arg2 = 0 ;
13872 wxColour temp2 ;
13873 PyObject * obj0 = 0 ;
13874 PyObject * obj1 = 0 ;
13875 char *kwnames[] = {
13876 (char *) "self",(char *) "colour", NULL
13877 };
13878
13879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
13880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13882 {
13883 arg2 = &temp2;
13884 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13885 }
13886 {
13887 PyThreadState* __tstate = wxPyBeginAllowThreads();
13888 (arg1)->SetColour((wxColour const &)*arg2);
13889
13890 wxPyEndAllowThreads(__tstate);
13891 if (PyErr_Occurred()) SWIG_fail;
13892 }
13893 Py_INCREF(Py_None); resultobj = Py_None;
13894 return resultobj;
13895 fail:
13896 return NULL;
13897}
13898
13899
13900static PyObject *_wrap_FontData_SetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
13901 PyObject *resultobj;
13902 wxFontData *arg1 = (wxFontData *) 0 ;
13903 wxFont *arg2 = 0 ;
13904 PyObject * obj0 = 0 ;
13905 PyObject * obj1 = 0 ;
13906 char *kwnames[] = {
13907 (char *) "self",(char *) "font", NULL
13908 };
13909
13910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
13911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13913 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13914 SWIG_POINTER_EXCEPTION | 0)) == -1)
13915 SWIG_fail;
13916 if (arg2 == NULL) {
13917 PyErr_SetString(PyExc_TypeError,"null reference");
13918 SWIG_fail;
13919 }
13920 {
13921 PyThreadState* __tstate = wxPyBeginAllowThreads();
13922 (arg1)->SetInitialFont((wxFont const &)*arg2);
13923
13924 wxPyEndAllowThreads(__tstate);
13925 if (PyErr_Occurred()) SWIG_fail;
13926 }
13927 Py_INCREF(Py_None); resultobj = Py_None;
13928 return resultobj;
13929 fail:
13930 return NULL;
13931}
13932
13933
13934static PyObject *_wrap_FontData_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
13935 PyObject *resultobj;
13936 wxFontData *arg1 = (wxFontData *) 0 ;
13937 int arg2 ;
13938 int arg3 ;
13939 PyObject * obj0 = 0 ;
13940 PyObject * obj1 = 0 ;
13941 PyObject * obj2 = 0 ;
13942 char *kwnames[] = {
13943 (char *) "self",(char *) "min",(char *) "max", NULL
13944 };
13945
13946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
13947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13949 arg2 = (int)SWIG_As_int(obj1);
13950 if (PyErr_Occurred()) SWIG_fail;
13951 arg3 = (int)SWIG_As_int(obj2);
13952 if (PyErr_Occurred()) SWIG_fail;
13953 {
13954 PyThreadState* __tstate = wxPyBeginAllowThreads();
13955 (arg1)->SetRange(arg2,arg3);
13956
13957 wxPyEndAllowThreads(__tstate);
13958 if (PyErr_Occurred()) SWIG_fail;
13959 }
13960 Py_INCREF(Py_None); resultobj = Py_None;
13961 return resultobj;
13962 fail:
13963 return NULL;
13964}
13965
13966
13967static PyObject *_wrap_FontData_SetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
13968 PyObject *resultobj;
13969 wxFontData *arg1 = (wxFontData *) 0 ;
13970 bool arg2 ;
13971 PyObject * obj0 = 0 ;
13972 PyObject * obj1 = 0 ;
13973 char *kwnames[] = {
13974 (char *) "self",(char *) "showHelp", NULL
13975 };
13976
13977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
13978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13980 arg2 = (bool)SWIG_As_bool(obj1);
13981 if (PyErr_Occurred()) SWIG_fail;
13982 {
13983 PyThreadState* __tstate = wxPyBeginAllowThreads();
13984 (arg1)->SetShowHelp(arg2);
13985
13986 wxPyEndAllowThreads(__tstate);
13987 if (PyErr_Occurred()) SWIG_fail;
13988 }
13989 Py_INCREF(Py_None); resultobj = Py_None;
13990 return resultobj;
13991 fail:
13992 return NULL;
13993}
13994
13995
13996static PyObject * FontData_swigregister(PyObject *, PyObject *args) {
13997 PyObject *obj;
13998 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13999 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
14000 Py_INCREF(obj);
14001 return Py_BuildValue((char *)"");
14002}
14003static PyObject *_wrap_new_FontDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14004 PyObject *resultobj;
14005 wxWindow *arg1 = (wxWindow *) 0 ;
14006 wxFontData *arg2 = 0 ;
14007 wxFontDialog *result;
14008 PyObject * obj0 = 0 ;
14009 PyObject * obj1 = 0 ;
14010 char *kwnames[] = {
14011 (char *) "parent",(char *) "data", NULL
14012 };
14013
14014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
14015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14017 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFontData,
14018 SWIG_POINTER_EXCEPTION | 0)) == -1)
14019 SWIG_fail;
14020 if (arg2 == NULL) {
14021 PyErr_SetString(PyExc_TypeError,"null reference");
14022 SWIG_fail;
14023 }
14024 {
14025 if (!wxPyCheckForApp()) SWIG_fail;
14026 PyThreadState* __tstate = wxPyBeginAllowThreads();
14027 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
14028
14029 wxPyEndAllowThreads(__tstate);
14030 if (PyErr_Occurred()) SWIG_fail;
14031 }
14032 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
14033 return resultobj;
14034 fail:
14035 return NULL;
14036}
14037
14038
14039static PyObject *_wrap_FontDialog_GetFontData(PyObject *, PyObject *args, PyObject *kwargs) {
14040 PyObject *resultobj;
14041 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
14042 wxFontData *result;
14043 PyObject * obj0 = 0 ;
14044 char *kwnames[] = {
14045 (char *) "self", NULL
14046 };
14047
14048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
14049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontDialog,
14050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14051 {
14052 PyThreadState* __tstate = wxPyBeginAllowThreads();
14053 {
14054 wxFontData &_result_ref = (arg1)->GetFontData();
14055 result = (wxFontData *) &_result_ref;
14056 }
14057
14058 wxPyEndAllowThreads(__tstate);
14059 if (PyErr_Occurred()) SWIG_fail;
14060 }
14061 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
14062 return resultobj;
14063 fail:
14064 return NULL;
14065}
14066
14067
14068static PyObject * FontDialog_swigregister(PyObject *, PyObject *args) {
14069 PyObject *obj;
14070 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14071 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
14072 Py_INCREF(obj);
14073 return Py_BuildValue((char *)"");
14074}
14075static PyObject *_wrap_new_MessageDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14076 PyObject *resultobj;
14077 wxWindow *arg1 = (wxWindow *) 0 ;
14078 wxString *arg2 = 0 ;
14079 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
14080 wxString *arg3 = (wxString *) &arg3_defvalue ;
14081 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
14082 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14083 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14084 wxMessageDialog *result;
14085 bool temp2 = false ;
14086 bool temp3 = false ;
14087 wxPoint temp5 ;
14088 PyObject * obj0 = 0 ;
14089 PyObject * obj1 = 0 ;
14090 PyObject * obj2 = 0 ;
14091 PyObject * obj3 = 0 ;
14092 PyObject * obj4 = 0 ;
14093 char *kwnames[] = {
14094 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
14095 };
14096
14097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14100 {
14101 arg2 = wxString_in_helper(obj1);
14102 if (arg2 == NULL) SWIG_fail;
14103 temp2 = true;
14104 }
14105 if (obj2) {
14106 {
14107 arg3 = wxString_in_helper(obj2);
14108 if (arg3 == NULL) SWIG_fail;
14109 temp3 = true;
14110 }
14111 }
14112 if (obj3) {
14113 arg4 = (long)SWIG_As_long(obj3);
14114 if (PyErr_Occurred()) SWIG_fail;
14115 }
14116 if (obj4) {
14117 {
14118 arg5 = &temp5;
14119 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14120 }
14121 }
14122 {
14123 if (!wxPyCheckForApp()) SWIG_fail;
14124 PyThreadState* __tstate = wxPyBeginAllowThreads();
14125 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
14126
14127 wxPyEndAllowThreads(__tstate);
14128 if (PyErr_Occurred()) SWIG_fail;
14129 }
14130 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
14131 {
14132 if (temp2)
14133 delete arg2;
14134 }
14135 {
14136 if (temp3)
14137 delete arg3;
14138 }
14139 return resultobj;
14140 fail:
14141 {
14142 if (temp2)
14143 delete arg2;
14144 }
14145 {
14146 if (temp3)
14147 delete arg3;
14148 }
14149 return NULL;
14150}
14151
14152
14153static PyObject * MessageDialog_swigregister(PyObject *, PyObject *args) {
14154 PyObject *obj;
14155 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14156 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
14157 Py_INCREF(obj);
14158 return Py_BuildValue((char *)"");
14159}
14160static PyObject *_wrap_new_ProgressDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14161 PyObject *resultobj;
14162 wxString *arg1 = 0 ;
14163 wxString *arg2 = 0 ;
14164 int arg3 = (int) 100 ;
14165 wxWindow *arg4 = (wxWindow *) NULL ;
14166 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
14167 wxProgressDialog *result;
14168 bool temp1 = false ;
14169 bool temp2 = false ;
14170 PyObject * obj0 = 0 ;
14171 PyObject * obj1 = 0 ;
14172 PyObject * obj2 = 0 ;
14173 PyObject * obj3 = 0 ;
14174 PyObject * obj4 = 0 ;
14175 char *kwnames[] = {
14176 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
14177 };
14178
14179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14180 {
14181 arg1 = wxString_in_helper(obj0);
14182 if (arg1 == NULL) SWIG_fail;
14183 temp1 = true;
14184 }
14185 {
14186 arg2 = wxString_in_helper(obj1);
14187 if (arg2 == NULL) SWIG_fail;
14188 temp2 = true;
14189 }
14190 if (obj2) {
14191 arg3 = (int)SWIG_As_int(obj2);
14192 if (PyErr_Occurred()) SWIG_fail;
14193 }
14194 if (obj3) {
14195 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
14196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14197 }
14198 if (obj4) {
14199 arg5 = (int)SWIG_As_int(obj4);
14200 if (PyErr_Occurred()) SWIG_fail;
14201 }
14202 {
14203 if (!wxPyCheckForApp()) SWIG_fail;
14204 PyThreadState* __tstate = wxPyBeginAllowThreads();
14205 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
14206
14207 wxPyEndAllowThreads(__tstate);
14208 if (PyErr_Occurred()) SWIG_fail;
14209 }
14210 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
14211 {
14212 if (temp1)
14213 delete arg1;
14214 }
14215 {
14216 if (temp2)
14217 delete arg2;
14218 }
14219 return resultobj;
14220 fail:
14221 {
14222 if (temp1)
14223 delete arg1;
14224 }
14225 {
14226 if (temp2)
14227 delete arg2;
14228 }
14229 return NULL;
14230}
14231
14232
14233static PyObject *_wrap_ProgressDialog_Update(PyObject *, PyObject *args, PyObject *kwargs) {
14234 PyObject *resultobj;
14235 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
14236 int arg2 ;
14237 wxString const &arg3_defvalue = wxPyEmptyString ;
14238 wxString *arg3 = (wxString *) &arg3_defvalue ;
14239 bool result;
14240 bool temp3 = false ;
14241 PyObject * obj0 = 0 ;
14242 PyObject * obj1 = 0 ;
14243 PyObject * obj2 = 0 ;
14244 char *kwnames[] = {
14245 (char *) "self",(char *) "value",(char *) "newmsg", NULL
14246 };
14247
14248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
14249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
14250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14251 arg2 = (int)SWIG_As_int(obj1);
14252 if (PyErr_Occurred()) SWIG_fail;
14253 if (obj2) {
14254 {
14255 arg3 = wxString_in_helper(obj2);
14256 if (arg3 == NULL) SWIG_fail;
14257 temp3 = true;
14258 }
14259 }
14260 {
14261 PyThreadState* __tstate = wxPyBeginAllowThreads();
14262 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
14263
14264 wxPyEndAllowThreads(__tstate);
14265 if (PyErr_Occurred()) SWIG_fail;
14266 }
14267 {
14268 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14269 }
14270 {
14271 if (temp3)
14272 delete arg3;
14273 }
14274 return resultobj;
14275 fail:
14276 {
14277 if (temp3)
14278 delete arg3;
14279 }
14280 return NULL;
14281}
14282
14283
14284static PyObject *_wrap_ProgressDialog_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
14285 PyObject *resultobj;
14286 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
14287 PyObject * obj0 = 0 ;
14288 char *kwnames[] = {
14289 (char *) "self", NULL
14290 };
14291
14292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
14293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
14294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14295 {
14296 PyThreadState* __tstate = wxPyBeginAllowThreads();
14297 (arg1)->Resume();
14298
14299 wxPyEndAllowThreads(__tstate);
14300 if (PyErr_Occurred()) SWIG_fail;
14301 }
14302 Py_INCREF(Py_None); resultobj = Py_None;
14303 return resultobj;
14304 fail:
14305 return NULL;
14306}
14307
14308
14309static PyObject * ProgressDialog_swigregister(PyObject *, PyObject *args) {
14310 PyObject *obj;
14311 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14312 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
14313 Py_INCREF(obj);
14314 return Py_BuildValue((char *)"");
14315}
14316static PyObject *_wrap_new_FindDialogEvent(PyObject *, PyObject *args, PyObject *kwargs) {
14317 PyObject *resultobj;
14318 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14319 int arg2 = (int) 0 ;
14320 wxFindDialogEvent *result;
14321 PyObject * obj0 = 0 ;
14322 PyObject * obj1 = 0 ;
14323 char *kwnames[] = {
14324 (char *) "commandType",(char *) "id", NULL
14325 };
14326
14327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
14328 if (obj0) {
14329 arg1 = (wxEventType)SWIG_As_int(obj0);
14330 if (PyErr_Occurred()) SWIG_fail;
14331 }
14332 if (obj1) {
14333 arg2 = (int)SWIG_As_int(obj1);
14334 if (PyErr_Occurred()) SWIG_fail;
14335 }
14336 {
14337 PyThreadState* __tstate = wxPyBeginAllowThreads();
14338 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
14339
14340 wxPyEndAllowThreads(__tstate);
14341 if (PyErr_Occurred()) SWIG_fail;
14342 }
14343 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
14344 return resultobj;
14345 fail:
14346 return NULL;
14347}
14348
14349
14350static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
14351 PyObject *resultobj;
14352 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14353 int result;
14354 PyObject * obj0 = 0 ;
14355 char *kwnames[] = {
14356 (char *) "self", NULL
14357 };
14358
14359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
14360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14362 {
14363 PyThreadState* __tstate = wxPyBeginAllowThreads();
14364 result = (int)(arg1)->GetFlags();
14365
14366 wxPyEndAllowThreads(__tstate);
14367 if (PyErr_Occurred()) SWIG_fail;
14368 }
14369 resultobj = SWIG_From_int((int)result);
14370 return resultobj;
14371 fail:
14372 return NULL;
14373}
14374
14375
14376static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
14377 PyObject *resultobj;
14378 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14379 wxString *result;
14380 PyObject * obj0 = 0 ;
14381 char *kwnames[] = {
14382 (char *) "self", NULL
14383 };
14384
14385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
14386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14388 {
14389 PyThreadState* __tstate = wxPyBeginAllowThreads();
14390 {
14391 wxString const &_result_ref = (arg1)->GetFindString();
14392 result = (wxString *) &_result_ref;
14393 }
14394
14395 wxPyEndAllowThreads(__tstate);
14396 if (PyErr_Occurred()) SWIG_fail;
14397 }
14398 {
14399#if wxUSE_UNICODE
14400 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14401#else
14402 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14403#endif
14404 }
14405 return resultobj;
14406 fail:
14407 return NULL;
14408}
14409
14410
14411static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
14412 PyObject *resultobj;
14413 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14414 wxString *result;
14415 PyObject * obj0 = 0 ;
14416 char *kwnames[] = {
14417 (char *) "self", NULL
14418 };
14419
14420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
14421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14423 {
14424 PyThreadState* __tstate = wxPyBeginAllowThreads();
14425 {
14426 wxString const &_result_ref = (arg1)->GetReplaceString();
14427 result = (wxString *) &_result_ref;
14428 }
14429
14430 wxPyEndAllowThreads(__tstate);
14431 if (PyErr_Occurred()) SWIG_fail;
14432 }
14433 {
14434#if wxUSE_UNICODE
14435 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14436#else
14437 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14438#endif
14439 }
14440 return resultobj;
14441 fail:
14442 return NULL;
14443}
14444
14445
14446static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14447 PyObject *resultobj;
14448 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14449 wxFindReplaceDialog *result;
14450 PyObject * obj0 = 0 ;
14451 char *kwnames[] = {
14452 (char *) "self", NULL
14453 };
14454
14455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
14456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14458 {
14459 PyThreadState* __tstate = wxPyBeginAllowThreads();
14460 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
14461
14462 wxPyEndAllowThreads(__tstate);
14463 if (PyErr_Occurred()) SWIG_fail;
14464 }
14465 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
14466 return resultobj;
14467 fail:
14468 return NULL;
14469}
14470
14471
14472static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
14473 PyObject *resultobj;
14474 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14475 int arg2 ;
14476 PyObject * obj0 = 0 ;
14477 PyObject * obj1 = 0 ;
14478 char *kwnames[] = {
14479 (char *) "self",(char *) "flags", NULL
14480 };
14481
14482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
14483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14485 arg2 = (int)SWIG_As_int(obj1);
14486 if (PyErr_Occurred()) SWIG_fail;
14487 {
14488 PyThreadState* __tstate = wxPyBeginAllowThreads();
14489 (arg1)->SetFlags(arg2);
14490
14491 wxPyEndAllowThreads(__tstate);
14492 if (PyErr_Occurred()) SWIG_fail;
14493 }
14494 Py_INCREF(Py_None); resultobj = Py_None;
14495 return resultobj;
14496 fail:
14497 return NULL;
14498}
14499
14500
14501static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
14502 PyObject *resultobj;
14503 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14504 wxString *arg2 = 0 ;
14505 bool temp2 = false ;
14506 PyObject * obj0 = 0 ;
14507 PyObject * obj1 = 0 ;
14508 char *kwnames[] = {
14509 (char *) "self",(char *) "str", NULL
14510 };
14511
14512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
14513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14515 {
14516 arg2 = wxString_in_helper(obj1);
14517 if (arg2 == NULL) SWIG_fail;
14518 temp2 = true;
14519 }
14520 {
14521 PyThreadState* __tstate = wxPyBeginAllowThreads();
14522 (arg1)->SetFindString((wxString const &)*arg2);
14523
14524 wxPyEndAllowThreads(__tstate);
14525 if (PyErr_Occurred()) SWIG_fail;
14526 }
14527 Py_INCREF(Py_None); resultobj = Py_None;
14528 {
14529 if (temp2)
14530 delete arg2;
14531 }
14532 return resultobj;
14533 fail:
14534 {
14535 if (temp2)
14536 delete arg2;
14537 }
14538 return NULL;
14539}
14540
14541
14542static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
14543 PyObject *resultobj;
14544 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14545 wxString *arg2 = 0 ;
14546 bool temp2 = false ;
14547 PyObject * obj0 = 0 ;
14548 PyObject * obj1 = 0 ;
14549 char *kwnames[] = {
14550 (char *) "self",(char *) "str", NULL
14551 };
14552
14553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
14554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14556 {
14557 arg2 = wxString_in_helper(obj1);
14558 if (arg2 == NULL) SWIG_fail;
14559 temp2 = true;
14560 }
14561 {
14562 PyThreadState* __tstate = wxPyBeginAllowThreads();
14563 (arg1)->SetReplaceString((wxString const &)*arg2);
14564
14565 wxPyEndAllowThreads(__tstate);
14566 if (PyErr_Occurred()) SWIG_fail;
14567 }
14568 Py_INCREF(Py_None); resultobj = Py_None;
14569 {
14570 if (temp2)
14571 delete arg2;
14572 }
14573 return resultobj;
14574 fail:
14575 {
14576 if (temp2)
14577 delete arg2;
14578 }
14579 return NULL;
14580}
14581
14582
14583static PyObject * FindDialogEvent_swigregister(PyObject *, PyObject *args) {
14584 PyObject *obj;
14585 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14586 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
14587 Py_INCREF(obj);
14588 return Py_BuildValue((char *)"");
14589}
14590static PyObject *_wrap_new_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
14591 PyObject *resultobj;
14592 int arg1 = (int) 0 ;
14593 wxFindReplaceData *result;
14594 PyObject * obj0 = 0 ;
14595 char *kwnames[] = {
14596 (char *) "flags", NULL
14597 };
14598
14599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
14600 if (obj0) {
14601 arg1 = (int)SWIG_As_int(obj0);
14602 if (PyErr_Occurred()) SWIG_fail;
14603 }
14604 {
14605 PyThreadState* __tstate = wxPyBeginAllowThreads();
14606 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
14607
14608 wxPyEndAllowThreads(__tstate);
14609 if (PyErr_Occurred()) SWIG_fail;
14610 }
14611 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
14612 return resultobj;
14613 fail:
14614 return NULL;
14615}
14616
14617
14618static PyObject *_wrap_delete_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
14619 PyObject *resultobj;
14620 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14621 PyObject * obj0 = 0 ;
14622 char *kwnames[] = {
14623 (char *) "self", NULL
14624 };
14625
14626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
14627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14629 {
14630 PyThreadState* __tstate = wxPyBeginAllowThreads();
14631 delete arg1;
14632
14633 wxPyEndAllowThreads(__tstate);
14634 if (PyErr_Occurred()) SWIG_fail;
14635 }
14636 Py_INCREF(Py_None); resultobj = Py_None;
14637 return resultobj;
14638 fail:
14639 return NULL;
14640}
14641
14642
14643static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
14644 PyObject *resultobj;
14645 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14646 wxString *result;
14647 PyObject * obj0 = 0 ;
14648 char *kwnames[] = {
14649 (char *) "self", NULL
14650 };
14651
14652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
14653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14655 {
14656 PyThreadState* __tstate = wxPyBeginAllowThreads();
14657 {
14658 wxString const &_result_ref = (arg1)->GetFindString();
14659 result = (wxString *) &_result_ref;
14660 }
14661
14662 wxPyEndAllowThreads(__tstate);
14663 if (PyErr_Occurred()) SWIG_fail;
14664 }
14665 {
14666#if wxUSE_UNICODE
14667 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14668#else
14669 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14670#endif
14671 }
14672 return resultobj;
14673 fail:
14674 return NULL;
14675}
14676
14677
14678static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
14679 PyObject *resultobj;
14680 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14681 wxString *result;
14682 PyObject * obj0 = 0 ;
14683 char *kwnames[] = {
14684 (char *) "self", NULL
14685 };
14686
14687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
14688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14690 {
14691 PyThreadState* __tstate = wxPyBeginAllowThreads();
14692 {
14693 wxString const &_result_ref = (arg1)->GetReplaceString();
14694 result = (wxString *) &_result_ref;
14695 }
14696
14697 wxPyEndAllowThreads(__tstate);
14698 if (PyErr_Occurred()) SWIG_fail;
14699 }
14700 {
14701#if wxUSE_UNICODE
14702 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14703#else
14704 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14705#endif
14706 }
14707 return resultobj;
14708 fail:
14709 return NULL;
14710}
14711
14712
14713static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
14714 PyObject *resultobj;
14715 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14716 int result;
14717 PyObject * obj0 = 0 ;
14718 char *kwnames[] = {
14719 (char *) "self", NULL
14720 };
14721
14722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
14723 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14725 {
14726 PyThreadState* __tstate = wxPyBeginAllowThreads();
14727 result = (int)(arg1)->GetFlags();
14728
14729 wxPyEndAllowThreads(__tstate);
14730 if (PyErr_Occurred()) SWIG_fail;
14731 }
14732 resultobj = SWIG_From_int((int)result);
14733 return resultobj;
14734 fail:
14735 return NULL;
14736}
14737
14738
14739static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
14740 PyObject *resultobj;
14741 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14742 int arg2 ;
14743 PyObject * obj0 = 0 ;
14744 PyObject * obj1 = 0 ;
14745 char *kwnames[] = {
14746 (char *) "self",(char *) "flags", NULL
14747 };
14748
14749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
14750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14752 arg2 = (int)SWIG_As_int(obj1);
14753 if (PyErr_Occurred()) SWIG_fail;
14754 {
14755 PyThreadState* __tstate = wxPyBeginAllowThreads();
14756 (arg1)->SetFlags(arg2);
14757
14758 wxPyEndAllowThreads(__tstate);
14759 if (PyErr_Occurred()) SWIG_fail;
14760 }
14761 Py_INCREF(Py_None); resultobj = Py_None;
14762 return resultobj;
14763 fail:
14764 return NULL;
14765}
14766
14767
14768static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
14769 PyObject *resultobj;
14770 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14771 wxString *arg2 = 0 ;
14772 bool temp2 = false ;
14773 PyObject * obj0 = 0 ;
14774 PyObject * obj1 = 0 ;
14775 char *kwnames[] = {
14776 (char *) "self",(char *) "str", NULL
14777 };
14778
14779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
14780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14782 {
14783 arg2 = wxString_in_helper(obj1);
14784 if (arg2 == NULL) SWIG_fail;
14785 temp2 = true;
14786 }
14787 {
14788 PyThreadState* __tstate = wxPyBeginAllowThreads();
14789 (arg1)->SetFindString((wxString const &)*arg2);
14790
14791 wxPyEndAllowThreads(__tstate);
14792 if (PyErr_Occurred()) SWIG_fail;
14793 }
14794 Py_INCREF(Py_None); resultobj = Py_None;
14795 {
14796 if (temp2)
14797 delete arg2;
14798 }
14799 return resultobj;
14800 fail:
14801 {
14802 if (temp2)
14803 delete arg2;
14804 }
14805 return NULL;
14806}
14807
14808
14809static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
14810 PyObject *resultobj;
14811 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14812 wxString *arg2 = 0 ;
14813 bool temp2 = false ;
14814 PyObject * obj0 = 0 ;
14815 PyObject * obj1 = 0 ;
14816 char *kwnames[] = {
14817 (char *) "self",(char *) "str", NULL
14818 };
14819
14820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
14821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14823 {
14824 arg2 = wxString_in_helper(obj1);
14825 if (arg2 == NULL) SWIG_fail;
14826 temp2 = true;
14827 }
14828 {
14829 PyThreadState* __tstate = wxPyBeginAllowThreads();
14830 (arg1)->SetReplaceString((wxString const &)*arg2);
14831
14832 wxPyEndAllowThreads(__tstate);
14833 if (PyErr_Occurred()) SWIG_fail;
14834 }
14835 Py_INCREF(Py_None); resultobj = Py_None;
14836 {
14837 if (temp2)
14838 delete arg2;
14839 }
14840 return resultobj;
14841 fail:
14842 {
14843 if (temp2)
14844 delete arg2;
14845 }
14846 return NULL;
14847}
14848
14849
14850static PyObject * FindReplaceData_swigregister(PyObject *, PyObject *args) {
14851 PyObject *obj;
14852 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14853 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
14854 Py_INCREF(obj);
14855 return Py_BuildValue((char *)"");
14856}
14857static PyObject *_wrap_new_FindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14858 PyObject *resultobj;
14859 wxWindow *arg1 = (wxWindow *) 0 ;
14860 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14861 wxString *arg3 = 0 ;
14862 int arg4 = (int) 0 ;
14863 wxFindReplaceDialog *result;
14864 bool temp3 = false ;
14865 PyObject * obj0 = 0 ;
14866 PyObject * obj1 = 0 ;
14867 PyObject * obj2 = 0 ;
14868 PyObject * obj3 = 0 ;
14869 char *kwnames[] = {
14870 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14871 };
14872
14873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14876 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14878 {
14879 arg3 = wxString_in_helper(obj2);
14880 if (arg3 == NULL) SWIG_fail;
14881 temp3 = true;
14882 }
14883 if (obj3) {
14884 arg4 = (int)SWIG_As_int(obj3);
14885 if (PyErr_Occurred()) SWIG_fail;
14886 }
14887 {
14888 if (!wxPyCheckForApp()) SWIG_fail;
14889 PyThreadState* __tstate = wxPyBeginAllowThreads();
14890 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
14891
14892 wxPyEndAllowThreads(__tstate);
14893 if (PyErr_Occurred()) SWIG_fail;
14894 }
14895 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
14896 {
14897 if (temp3)
14898 delete arg3;
14899 }
14900 return resultobj;
14901 fail:
14902 {
14903 if (temp3)
14904 delete arg3;
14905 }
14906 return NULL;
14907}
14908
14909
14910static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14911 PyObject *resultobj;
14912 wxFindReplaceDialog *result;
14913 char *kwnames[] = {
14914 NULL
14915 };
14916
14917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
14918 {
14919 if (!wxPyCheckForApp()) SWIG_fail;
14920 PyThreadState* __tstate = wxPyBeginAllowThreads();
14921 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
14922
14923 wxPyEndAllowThreads(__tstate);
14924 if (PyErr_Occurred()) SWIG_fail;
14925 }
14926 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
14927 return resultobj;
14928 fail:
14929 return NULL;
14930}
14931
14932
14933static PyObject *_wrap_FindReplaceDialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
14934 PyObject *resultobj;
14935 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14936 wxWindow *arg2 = (wxWindow *) 0 ;
14937 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
14938 wxString *arg4 = 0 ;
14939 int arg5 = (int) 0 ;
14940 bool result;
14941 bool temp4 = false ;
14942 PyObject * obj0 = 0 ;
14943 PyObject * obj1 = 0 ;
14944 PyObject * obj2 = 0 ;
14945 PyObject * obj3 = 0 ;
14946 PyObject * obj4 = 0 ;
14947 char *kwnames[] = {
14948 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14949 };
14950
14951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14954 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14956 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFindReplaceData,
14957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14958 {
14959 arg4 = wxString_in_helper(obj3);
14960 if (arg4 == NULL) SWIG_fail;
14961 temp4 = true;
14962 }
14963 if (obj4) {
14964 arg5 = (int)SWIG_As_int(obj4);
14965 if (PyErr_Occurred()) SWIG_fail;
14966 }
14967 {
14968 PyThreadState* __tstate = wxPyBeginAllowThreads();
14969 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
14970
14971 wxPyEndAllowThreads(__tstate);
14972 if (PyErr_Occurred()) SWIG_fail;
14973 }
14974 {
14975 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14976 }
14977 {
14978 if (temp4)
14979 delete arg4;
14980 }
14981 return resultobj;
14982 fail:
14983 {
14984 if (temp4)
14985 delete arg4;
14986 }
14987 return NULL;
14988}
14989
14990
14991static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
14992 PyObject *resultobj;
14993 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14994 wxFindReplaceData *result;
14995 PyObject * obj0 = 0 ;
14996 char *kwnames[] = {
14997 (char *) "self", NULL
14998 };
14999
15000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
15001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
15002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15003 {
15004 PyThreadState* __tstate = wxPyBeginAllowThreads();
15005 result = (wxFindReplaceData *)(arg1)->GetData();
15006
15007 wxPyEndAllowThreads(__tstate);
15008 if (PyErr_Occurred()) SWIG_fail;
15009 }
15010 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
15011 return resultobj;
15012 fail:
15013 return NULL;
15014}
15015
15016
15017static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
15018 PyObject *resultobj;
15019 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
15020 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
15021 PyObject * obj0 = 0 ;
15022 PyObject * obj1 = 0 ;
15023 char *kwnames[] = {
15024 (char *) "self",(char *) "data", NULL
15025 };
15026
15027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
15028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
15029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15030 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
15031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15032 {
15033 PyThreadState* __tstate = wxPyBeginAllowThreads();
15034 (arg1)->SetData(arg2);
15035
15036 wxPyEndAllowThreads(__tstate);
15037 if (PyErr_Occurred()) SWIG_fail;
15038 }
15039 Py_INCREF(Py_None); resultobj = Py_None;
15040 return resultobj;
15041 fail:
15042 return NULL;
15043}
15044
15045
15046static PyObject * FindReplaceDialog_swigregister(PyObject *, PyObject *args) {
15047 PyObject *obj;
15048 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15049 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
15050 Py_INCREF(obj);
15051 return Py_BuildValue((char *)"");
15052}
15053static PyObject *_wrap_new_MDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
15054 PyObject *resultobj;
15055 wxWindow *arg1 = (wxWindow *) 0 ;
15056 int arg2 = (int) (int)-1 ;
15057 wxString const &arg3_defvalue = wxPyEmptyString ;
15058 wxString *arg3 = (wxString *) &arg3_defvalue ;
15059 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15060 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15061 wxSize const &arg5_defvalue = wxDefaultSize ;
15062 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15063 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
15064 wxString const &arg7_defvalue = wxPyFrameNameStr ;
15065 wxString *arg7 = (wxString *) &arg7_defvalue ;
15066 wxMDIParentFrame *result;
15067 bool temp3 = false ;
15068 wxPoint temp4 ;
15069 wxSize temp5 ;
15070 bool temp7 = false ;
15071 PyObject * obj0 = 0 ;
15072 PyObject * obj1 = 0 ;
15073 PyObject * obj2 = 0 ;
15074 PyObject * obj3 = 0 ;
15075 PyObject * obj4 = 0 ;
15076 PyObject * obj5 = 0 ;
15077 PyObject * obj6 = 0 ;
15078 char *kwnames[] = {
15079 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15080 };
15081
15082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15085 if (obj1) {
15086 arg2 = (int)SWIG_As_int(obj1);
15087 if (PyErr_Occurred()) SWIG_fail;
15088 }
15089 if (obj2) {
15090 {
15091 arg3 = wxString_in_helper(obj2);
15092 if (arg3 == NULL) SWIG_fail;
15093 temp3 = true;
15094 }
15095 }
15096 if (obj3) {
15097 {
15098 arg4 = &temp4;
15099 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15100 }
15101 }
15102 if (obj4) {
15103 {
15104 arg5 = &temp5;
15105 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15106 }
15107 }
15108 if (obj5) {
15109 arg6 = (long)SWIG_As_long(obj5);
15110 if (PyErr_Occurred()) SWIG_fail;
15111 }
15112 if (obj6) {
15113 {
15114 arg7 = wxString_in_helper(obj6);
15115 if (arg7 == NULL) SWIG_fail;
15116 temp7 = true;
15117 }
15118 }
15119 {
15120 if (!wxPyCheckForApp()) SWIG_fail;
15121 PyThreadState* __tstate = wxPyBeginAllowThreads();
15122 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15123
15124 wxPyEndAllowThreads(__tstate);
15125 if (PyErr_Occurred()) SWIG_fail;
15126 }
15127 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
15128 {
15129 if (temp3)
15130 delete arg3;
15131 }
15132 {
15133 if (temp7)
15134 delete arg7;
15135 }
15136 return resultobj;
15137 fail:
15138 {
15139 if (temp3)
15140 delete arg3;
15141 }
15142 {
15143 if (temp7)
15144 delete arg7;
15145 }
15146 return NULL;
15147}
15148
15149
15150static PyObject *_wrap_new_PreMDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
15151 PyObject *resultobj;
15152 wxMDIParentFrame *result;
15153 char *kwnames[] = {
15154 NULL
15155 };
15156
15157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
15158 {
15159 if (!wxPyCheckForApp()) SWIG_fail;
15160 PyThreadState* __tstate = wxPyBeginAllowThreads();
15161 result = (wxMDIParentFrame *)new wxMDIParentFrame();
15162
15163 wxPyEndAllowThreads(__tstate);
15164 if (PyErr_Occurred()) SWIG_fail;
15165 }
15166 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
15167 return resultobj;
15168 fail:
15169 return NULL;
15170}
15171
15172
15173static PyObject *_wrap_MDIParentFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
15174 PyObject *resultobj;
15175 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15176 wxWindow *arg2 = (wxWindow *) 0 ;
15177 int arg3 = (int) (int)-1 ;
15178 wxString const &arg4_defvalue = wxPyEmptyString ;
15179 wxString *arg4 = (wxString *) &arg4_defvalue ;
15180 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15181 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15182 wxSize const &arg6_defvalue = wxDefaultSize ;
15183 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
15184 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
15185 wxString const &arg8_defvalue = wxPyFrameNameStr ;
15186 wxString *arg8 = (wxString *) &arg8_defvalue ;
15187 bool result;
15188 bool temp4 = false ;
15189 wxPoint temp5 ;
15190 wxSize temp6 ;
15191 bool temp8 = false ;
15192 PyObject * obj0 = 0 ;
15193 PyObject * obj1 = 0 ;
15194 PyObject * obj2 = 0 ;
15195 PyObject * obj3 = 0 ;
15196 PyObject * obj4 = 0 ;
15197 PyObject * obj5 = 0 ;
15198 PyObject * obj6 = 0 ;
15199 PyObject * obj7 = 0 ;
15200 char *kwnames[] = {
15201 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15202 };
15203
15204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15207 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15209 if (obj2) {
15210 arg3 = (int)SWIG_As_int(obj2);
15211 if (PyErr_Occurred()) SWIG_fail;
15212 }
15213 if (obj3) {
15214 {
15215 arg4 = wxString_in_helper(obj3);
15216 if (arg4 == NULL) SWIG_fail;
15217 temp4 = true;
15218 }
15219 }
15220 if (obj4) {
15221 {
15222 arg5 = &temp5;
15223 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15224 }
15225 }
15226 if (obj5) {
15227 {
15228 arg6 = &temp6;
15229 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
15230 }
15231 }
15232 if (obj6) {
15233 arg7 = (long)SWIG_As_long(obj6);
15234 if (PyErr_Occurred()) SWIG_fail;
15235 }
15236 if (obj7) {
15237 {
15238 arg8 = wxString_in_helper(obj7);
15239 if (arg8 == NULL) SWIG_fail;
15240 temp8 = true;
15241 }
15242 }
15243 {
15244 PyThreadState* __tstate = wxPyBeginAllowThreads();
15245 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
15246
15247 wxPyEndAllowThreads(__tstate);
15248 if (PyErr_Occurred()) SWIG_fail;
15249 }
15250 {
15251 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15252 }
15253 {
15254 if (temp4)
15255 delete arg4;
15256 }
15257 {
15258 if (temp8)
15259 delete arg8;
15260 }
15261 return resultobj;
15262 fail:
15263 {
15264 if (temp4)
15265 delete arg4;
15266 }
15267 {
15268 if (temp8)
15269 delete arg8;
15270 }
15271 return NULL;
15272}
15273
15274
15275static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *, PyObject *args, PyObject *kwargs) {
15276 PyObject *resultobj;
15277 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15278 PyObject * obj0 = 0 ;
15279 char *kwnames[] = {
15280 (char *) "self", NULL
15281 };
15282
15283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
15284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15286 {
15287 PyThreadState* __tstate = wxPyBeginAllowThreads();
15288 (arg1)->ActivateNext();
15289
15290 wxPyEndAllowThreads(__tstate);
15291 if (PyErr_Occurred()) SWIG_fail;
15292 }
15293 Py_INCREF(Py_None); resultobj = Py_None;
15294 return resultobj;
15295 fail:
15296 return NULL;
15297}
15298
15299
15300static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *, PyObject *args, PyObject *kwargs) {
15301 PyObject *resultobj;
15302 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15303 PyObject * obj0 = 0 ;
15304 char *kwnames[] = {
15305 (char *) "self", NULL
15306 };
15307
15308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
15309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15311 {
15312 PyThreadState* __tstate = wxPyBeginAllowThreads();
15313 (arg1)->ActivatePrevious();
15314
15315 wxPyEndAllowThreads(__tstate);
15316 if (PyErr_Occurred()) SWIG_fail;
15317 }
15318 Py_INCREF(Py_None); resultobj = Py_None;
15319 return resultobj;
15320 fail:
15321 return NULL;
15322}
15323
15324
15325static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *, PyObject *args, PyObject *kwargs) {
15326 PyObject *resultobj;
15327 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15328 PyObject * obj0 = 0 ;
15329 char *kwnames[] = {
15330 (char *) "self", NULL
15331 };
15332
15333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
15334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15336 {
15337 PyThreadState* __tstate = wxPyBeginAllowThreads();
15338 (arg1)->ArrangeIcons();
15339
15340 wxPyEndAllowThreads(__tstate);
15341 if (PyErr_Occurred()) SWIG_fail;
15342 }
15343 Py_INCREF(Py_None); resultobj = Py_None;
15344 return resultobj;
15345 fail:
15346 return NULL;
15347}
15348
15349
15350static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *, PyObject *args, PyObject *kwargs) {
15351 PyObject *resultobj;
15352 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15353 PyObject * obj0 = 0 ;
15354 char *kwnames[] = {
15355 (char *) "self", NULL
15356 };
15357
15358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
15359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15361 {
15362 PyThreadState* __tstate = wxPyBeginAllowThreads();
15363 (arg1)->Cascade();
15364
15365 wxPyEndAllowThreads(__tstate);
15366 if (PyErr_Occurred()) SWIG_fail;
15367 }
15368 Py_INCREF(Py_None); resultobj = Py_None;
15369 return resultobj;
15370 fail:
15371 return NULL;
15372}
15373
15374
15375static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *, PyObject *args, PyObject *kwargs) {
15376 PyObject *resultobj;
15377 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15378 wxMDIChildFrame *result;
15379 PyObject * obj0 = 0 ;
15380 char *kwnames[] = {
15381 (char *) "self", NULL
15382 };
15383
15384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
15385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15387 {
15388 PyThreadState* __tstate = wxPyBeginAllowThreads();
15389 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
15390
15391 wxPyEndAllowThreads(__tstate);
15392 if (PyErr_Occurred()) SWIG_fail;
15393 }
15394 {
15395 resultobj = wxPyMake_wxObject(result, 0);
15396 }
15397 return resultobj;
15398 fail:
15399 return NULL;
15400}
15401
15402
15403static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15404 PyObject *resultobj;
15405 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15406 wxMDIClientWindow *result;
15407 PyObject * obj0 = 0 ;
15408 char *kwnames[] = {
15409 (char *) "self", NULL
15410 };
15411
15412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
15413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15415 {
15416 PyThreadState* __tstate = wxPyBeginAllowThreads();
15417 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
15418
15419 wxPyEndAllowThreads(__tstate);
15420 if (PyErr_Occurred()) SWIG_fail;
15421 }
15422 {
15423 resultobj = wxPyMake_wxObject(result, 0);
15424 }
15425 return resultobj;
15426 fail:
15427 return NULL;
15428}
15429
15430
15431static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
15432 PyObject *resultobj;
15433 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15434 wxWindow *result;
15435 PyObject * obj0 = 0 ;
15436 char *kwnames[] = {
15437 (char *) "self", NULL
15438 };
15439
15440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
15441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15443 {
15444 PyThreadState* __tstate = wxPyBeginAllowThreads();
15445 result = (wxWindow *)(arg1)->GetToolBar();
15446
15447 wxPyEndAllowThreads(__tstate);
15448 if (PyErr_Occurred()) SWIG_fail;
15449 }
15450 {
15451 resultobj = wxPyMake_wxObject(result, 0);
15452 }
15453 return resultobj;
15454 fail:
15455 return NULL;
15456}
15457
15458
15459static PyObject *_wrap_MDIParentFrame_GetWindowMenu(PyObject *, PyObject *args, PyObject *kwargs) {
15460 PyObject *resultobj;
15461 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15462 wxMenu *result;
15463 PyObject * obj0 = 0 ;
15464 char *kwnames[] = {
15465 (char *) "self", NULL
15466 };
15467
15468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetWindowMenu",kwnames,&obj0)) goto fail;
15469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15471 {
15472 PyThreadState* __tstate = wxPyBeginAllowThreads();
15473 result = (wxMenu *)(arg1)->GetWindowMenu();
15474
15475 wxPyEndAllowThreads(__tstate);
15476 if (PyErr_Occurred()) SWIG_fail;
15477 }
15478 {
15479 resultobj = wxPyMake_wxObject(result, 0);
15480 }
15481 return resultobj;
15482 fail:
15483 return NULL;
15484}
15485
15486
15487static PyObject *_wrap_MDIParentFrame_SetWindowMenu(PyObject *, PyObject *args, PyObject *kwargs) {
15488 PyObject *resultobj;
15489 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15490 wxMenu *arg2 = (wxMenu *) 0 ;
15491 PyObject * obj0 = 0 ;
15492 PyObject * obj1 = 0 ;
15493 char *kwnames[] = {
15494 (char *) "self",(char *) "menu", NULL
15495 };
15496
15497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames,&obj0,&obj1)) goto fail;
15498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15500 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
15501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15502 {
15503 PyThreadState* __tstate = wxPyBeginAllowThreads();
15504 (arg1)->SetWindowMenu(arg2);
15505
15506 wxPyEndAllowThreads(__tstate);
15507 if (PyErr_Occurred()) SWIG_fail;
15508 }
15509 Py_INCREF(Py_None); resultobj = Py_None;
15510 return resultobj;
15511 fail:
15512 return NULL;
15513}
15514
15515
15516static PyObject *_wrap_MDIParentFrame_SetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
15517 PyObject *resultobj;
15518 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15519 wxToolBar *arg2 = (wxToolBar *) 0 ;
15520 PyObject * obj0 = 0 ;
15521 PyObject * obj1 = 0 ;
15522 char *kwnames[] = {
15523 (char *) "self",(char *) "toolbar", NULL
15524 };
15525
15526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
15527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15529 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar,
15530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15531 {
15532 PyThreadState* __tstate = wxPyBeginAllowThreads();
15533 (arg1)->SetToolBar(arg2);
15534
15535 wxPyEndAllowThreads(__tstate);
15536 if (PyErr_Occurred()) SWIG_fail;
15537 }
15538 Py_INCREF(Py_None); resultobj = Py_None;
15539 return resultobj;
15540 fail:
15541 return NULL;
15542}
15543
15544
15545static PyObject *_wrap_MDIParentFrame_Tile(PyObject *, PyObject *args, PyObject *kwargs) {
15546 PyObject *resultobj;
15547 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15548 PyObject * obj0 = 0 ;
15549 char *kwnames[] = {
15550 (char *) "self", NULL
15551 };
15552
15553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
15554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15556 {
15557 PyThreadState* __tstate = wxPyBeginAllowThreads();
15558 (arg1)->Tile();
15559
15560 wxPyEndAllowThreads(__tstate);
15561 if (PyErr_Occurred()) SWIG_fail;
15562 }
15563 Py_INCREF(Py_None); resultobj = Py_None;
15564 return resultobj;
15565 fail:
15566 return NULL;
15567}
15568
15569
15570static PyObject * MDIParentFrame_swigregister(PyObject *, PyObject *args) {
15571 PyObject *obj;
15572 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15573 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
15574 Py_INCREF(obj);
15575 return Py_BuildValue((char *)"");
15576}
15577static PyObject *_wrap_new_MDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
15578 PyObject *resultobj;
15579 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15580 int arg2 = (int) (int)-1 ;
15581 wxString const &arg3_defvalue = wxPyEmptyString ;
15582 wxString *arg3 = (wxString *) &arg3_defvalue ;
15583 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15584 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15585 wxSize const &arg5_defvalue = wxDefaultSize ;
15586 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15587 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
15588 wxString const &arg7_defvalue = wxPyFrameNameStr ;
15589 wxString *arg7 = (wxString *) &arg7_defvalue ;
15590 wxMDIChildFrame *result;
15591 bool temp3 = false ;
15592 wxPoint temp4 ;
15593 wxSize temp5 ;
15594 bool temp7 = false ;
15595 PyObject * obj0 = 0 ;
15596 PyObject * obj1 = 0 ;
15597 PyObject * obj2 = 0 ;
15598 PyObject * obj3 = 0 ;
15599 PyObject * obj4 = 0 ;
15600 PyObject * obj5 = 0 ;
15601 PyObject * obj6 = 0 ;
15602 char *kwnames[] = {
15603 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15604 };
15605
15606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15609 if (obj1) {
15610 arg2 = (int)SWIG_As_int(obj1);
15611 if (PyErr_Occurred()) SWIG_fail;
15612 }
15613 if (obj2) {
15614 {
15615 arg3 = wxString_in_helper(obj2);
15616 if (arg3 == NULL) SWIG_fail;
15617 temp3 = true;
15618 }
15619 }
15620 if (obj3) {
15621 {
15622 arg4 = &temp4;
15623 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15624 }
15625 }
15626 if (obj4) {
15627 {
15628 arg5 = &temp5;
15629 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15630 }
15631 }
15632 if (obj5) {
15633 arg6 = (long)SWIG_As_long(obj5);
15634 if (PyErr_Occurred()) SWIG_fail;
15635 }
15636 if (obj6) {
15637 {
15638 arg7 = wxString_in_helper(obj6);
15639 if (arg7 == NULL) SWIG_fail;
15640 temp7 = true;
15641 }
15642 }
15643 {
15644 if (!wxPyCheckForApp()) SWIG_fail;
15645 PyThreadState* __tstate = wxPyBeginAllowThreads();
15646 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15647
15648 wxPyEndAllowThreads(__tstate);
15649 if (PyErr_Occurred()) SWIG_fail;
15650 }
15651 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
15652 {
15653 if (temp3)
15654 delete arg3;
15655 }
15656 {
15657 if (temp7)
15658 delete arg7;
15659 }
15660 return resultobj;
15661 fail:
15662 {
15663 if (temp3)
15664 delete arg3;
15665 }
15666 {
15667 if (temp7)
15668 delete arg7;
15669 }
15670 return NULL;
15671}
15672
15673
15674static PyObject *_wrap_new_PreMDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
15675 PyObject *resultobj;
15676 wxMDIChildFrame *result;
15677 char *kwnames[] = {
15678 NULL
15679 };
15680
15681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
15682 {
15683 if (!wxPyCheckForApp()) SWIG_fail;
15684 PyThreadState* __tstate = wxPyBeginAllowThreads();
15685 result = (wxMDIChildFrame *)new wxMDIChildFrame();
15686
15687 wxPyEndAllowThreads(__tstate);
15688 if (PyErr_Occurred()) SWIG_fail;
15689 }
15690 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
15691 return resultobj;
15692 fail:
15693 return NULL;
15694}
15695
15696
15697static PyObject *_wrap_MDIChildFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
15698 PyObject *resultobj;
15699 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15700 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
15701 int arg3 = (int) (int)-1 ;
15702 wxString const &arg4_defvalue = wxPyEmptyString ;
15703 wxString *arg4 = (wxString *) &arg4_defvalue ;
15704 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15705 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15706 wxSize const &arg6_defvalue = wxDefaultSize ;
15707 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
15708 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
15709 wxString const &arg8_defvalue = wxPyFrameNameStr ;
15710 wxString *arg8 = (wxString *) &arg8_defvalue ;
15711 bool result;
15712 bool temp4 = false ;
15713 wxPoint temp5 ;
15714 wxSize temp6 ;
15715 bool temp8 = false ;
15716 PyObject * obj0 = 0 ;
15717 PyObject * obj1 = 0 ;
15718 PyObject * obj2 = 0 ;
15719 PyObject * obj3 = 0 ;
15720 PyObject * obj4 = 0 ;
15721 PyObject * obj5 = 0 ;
15722 PyObject * obj6 = 0 ;
15723 PyObject * obj7 = 0 ;
15724 char *kwnames[] = {
15725 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15726 };
15727
15728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15731 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
15732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15733 if (obj2) {
15734 arg3 = (int)SWIG_As_int(obj2);
15735 if (PyErr_Occurred()) SWIG_fail;
15736 }
15737 if (obj3) {
15738 {
15739 arg4 = wxString_in_helper(obj3);
15740 if (arg4 == NULL) SWIG_fail;
15741 temp4 = true;
15742 }
15743 }
15744 if (obj4) {
15745 {
15746 arg5 = &temp5;
15747 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15748 }
15749 }
15750 if (obj5) {
15751 {
15752 arg6 = &temp6;
15753 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
15754 }
15755 }
15756 if (obj6) {
15757 arg7 = (long)SWIG_As_long(obj6);
15758 if (PyErr_Occurred()) SWIG_fail;
15759 }
15760 if (obj7) {
15761 {
15762 arg8 = wxString_in_helper(obj7);
15763 if (arg8 == NULL) SWIG_fail;
15764 temp8 = true;
15765 }
15766 }
15767 {
15768 PyThreadState* __tstate = wxPyBeginAllowThreads();
15769 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
15770
15771 wxPyEndAllowThreads(__tstate);
15772 if (PyErr_Occurred()) SWIG_fail;
15773 }
15774 {
15775 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15776 }
15777 {
15778 if (temp4)
15779 delete arg4;
15780 }
15781 {
15782 if (temp8)
15783 delete arg8;
15784 }
15785 return resultobj;
15786 fail:
15787 {
15788 if (temp4)
15789 delete arg4;
15790 }
15791 {
15792 if (temp8)
15793 delete arg8;
15794 }
15795 return NULL;
15796}
15797
15798
15799static PyObject *_wrap_MDIChildFrame_Activate(PyObject *, PyObject *args, PyObject *kwargs) {
15800 PyObject *resultobj;
15801 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15802 PyObject * obj0 = 0 ;
15803 char *kwnames[] = {
15804 (char *) "self", NULL
15805 };
15806
15807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
15808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15810 {
15811 PyThreadState* __tstate = wxPyBeginAllowThreads();
15812 (arg1)->Activate();
15813
15814 wxPyEndAllowThreads(__tstate);
15815 if (PyErr_Occurred()) SWIG_fail;
15816 }
15817 Py_INCREF(Py_None); resultobj = Py_None;
15818 return resultobj;
15819 fail:
15820 return NULL;
15821}
15822
15823
15824static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
15825 PyObject *resultobj;
15826 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15827 bool arg2 ;
15828 PyObject * obj0 = 0 ;
15829 PyObject * obj1 = 0 ;
15830 char *kwnames[] = {
15831 (char *) "self",(char *) "maximize", NULL
15832 };
15833
15834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
15835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15837 arg2 = (bool)SWIG_As_bool(obj1);
15838 if (PyErr_Occurred()) SWIG_fail;
15839 {
15840 PyThreadState* __tstate = wxPyBeginAllowThreads();
15841 (arg1)->Maximize(arg2);
15842
15843 wxPyEndAllowThreads(__tstate);
15844 if (PyErr_Occurred()) SWIG_fail;
15845 }
15846 Py_INCREF(Py_None); resultobj = Py_None;
15847 return resultobj;
15848 fail:
15849 return NULL;
15850}
15851
15852
15853static PyObject *_wrap_MDIChildFrame_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
15854 PyObject *resultobj;
15855 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15856 PyObject * obj0 = 0 ;
15857 char *kwnames[] = {
15858 (char *) "self", NULL
15859 };
15860
15861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
15862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15864 {
15865 PyThreadState* __tstate = wxPyBeginAllowThreads();
15866 (arg1)->Restore();
15867
15868 wxPyEndAllowThreads(__tstate);
15869 if (PyErr_Occurred()) SWIG_fail;
15870 }
15871 Py_INCREF(Py_None); resultobj = Py_None;
15872 return resultobj;
15873 fail:
15874 return NULL;
15875}
15876
15877
15878static PyObject * MDIChildFrame_swigregister(PyObject *, PyObject *args) {
15879 PyObject *obj;
15880 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15881 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
15882 Py_INCREF(obj);
15883 return Py_BuildValue((char *)"");
15884}
15885static PyObject *_wrap_new_MDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15886 PyObject *resultobj;
15887 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15888 long arg2 = (long) 0 ;
15889 wxMDIClientWindow *result;
15890 PyObject * obj0 = 0 ;
15891 PyObject * obj1 = 0 ;
15892 char *kwnames[] = {
15893 (char *) "parent",(char *) "style", NULL
15894 };
15895
15896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
15897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15899 if (obj1) {
15900 arg2 = (long)SWIG_As_long(obj1);
15901 if (PyErr_Occurred()) SWIG_fail;
15902 }
15903 {
15904 if (!wxPyCheckForApp()) SWIG_fail;
15905 PyThreadState* __tstate = wxPyBeginAllowThreads();
15906 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
15907
15908 wxPyEndAllowThreads(__tstate);
15909 if (PyErr_Occurred()) SWIG_fail;
15910 }
15911 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
15912 return resultobj;
15913 fail:
15914 return NULL;
15915}
15916
15917
15918static PyObject *_wrap_new_PreMDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15919 PyObject *resultobj;
15920 wxMDIClientWindow *result;
15921 char *kwnames[] = {
15922 NULL
15923 };
15924
15925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
15926 {
15927 if (!wxPyCheckForApp()) SWIG_fail;
15928 PyThreadState* __tstate = wxPyBeginAllowThreads();
15929 result = (wxMDIClientWindow *)new wxMDIClientWindow();
15930
15931 wxPyEndAllowThreads(__tstate);
15932 if (PyErr_Occurred()) SWIG_fail;
15933 }
15934 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
15935 return resultobj;
15936 fail:
15937 return NULL;
15938}
15939
15940
15941static PyObject *_wrap_MDIClientWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
15942 PyObject *resultobj;
15943 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
15944 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
15945 long arg3 = (long) 0 ;
15946 bool result;
15947 PyObject * obj0 = 0 ;
15948 PyObject * obj1 = 0 ;
15949 PyObject * obj2 = 0 ;
15950 char *kwnames[] = {
15951 (char *) "self",(char *) "parent",(char *) "style", NULL
15952 };
15953
15954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
15955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIClientWindow,
15956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15957 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
15958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15959 if (obj2) {
15960 arg3 = (long)SWIG_As_long(obj2);
15961 if (PyErr_Occurred()) SWIG_fail;
15962 }
15963 {
15964 PyThreadState* __tstate = wxPyBeginAllowThreads();
15965 result = (bool)(arg1)->Create(arg2,arg3);
15966
15967 wxPyEndAllowThreads(__tstate);
15968 if (PyErr_Occurred()) SWIG_fail;
15969 }
15970 {
15971 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15972 }
15973 return resultobj;
15974 fail:
15975 return NULL;
15976}
15977
15978
15979static PyObject * MDIClientWindow_swigregister(PyObject *, PyObject *args) {
15980 PyObject *obj;
15981 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15982 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
15983 Py_INCREF(obj);
15984 return Py_BuildValue((char *)"");
15985}
15986static PyObject *_wrap_new_PyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15987 PyObject *resultobj;
15988 wxWindow *arg1 = (wxWindow *) 0 ;
15989 int arg2 = (int) (int)-1 ;
15990 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15991 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15992 wxSize const &arg4_defvalue = wxDefaultSize ;
15993 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15994 long arg5 = (long) 0 ;
15995 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15996 wxString *arg6 = (wxString *) &arg6_defvalue ;
15997 wxPyWindow *result;
15998 wxPoint temp3 ;
15999 wxSize temp4 ;
16000 bool temp6 = false ;
16001 PyObject * obj0 = 0 ;
16002 PyObject * obj1 = 0 ;
16003 PyObject * obj2 = 0 ;
16004 PyObject * obj3 = 0 ;
16005 PyObject * obj4 = 0 ;
16006 PyObject * obj5 = 0 ;
16007 char *kwnames[] = {
16008 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16009 };
16010
16011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
16013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16014 if (obj1) {
16015 arg2 = (int)SWIG_As_int(obj1);
16016 if (PyErr_Occurred()) SWIG_fail;
16017 }
16018 if (obj2) {
16019 {
16020 arg3 = &temp3;
16021 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16022 }
16023 }
16024 if (obj3) {
16025 {
16026 arg4 = &temp4;
16027 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16028 }
16029 }
16030 if (obj4) {
16031 arg5 = (long)SWIG_As_long(obj4);
16032 if (PyErr_Occurred()) SWIG_fail;
16033 }
16034 if (obj5) {
16035 {
16036 arg6 = wxString_in_helper(obj5);
16037 if (arg6 == NULL) SWIG_fail;
16038 temp6 = true;
16039 }
16040 }
16041 {
16042 if (!wxPyCheckForApp()) SWIG_fail;
16043 PyThreadState* __tstate = wxPyBeginAllowThreads();
16044 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
16045
16046 wxPyEndAllowThreads(__tstate);
16047 if (PyErr_Occurred()) SWIG_fail;
16048 }
16049 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
16050 {
16051 if (temp6)
16052 delete arg6;
16053 }
16054 return resultobj;
16055 fail:
16056 {
16057 if (temp6)
16058 delete arg6;
16059 }
16060 return NULL;
16061}
16062
16063
16064static PyObject *_wrap_new_PrePyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16065 PyObject *resultobj;
16066 wxPyWindow *result;
16067 char *kwnames[] = {
16068 NULL
16069 };
16070
16071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail;
16072 {
16073 if (!wxPyCheckForApp()) SWIG_fail;
16074 PyThreadState* __tstate = wxPyBeginAllowThreads();
16075 result = (wxPyWindow *)new wxPyWindow();
16076
16077 wxPyEndAllowThreads(__tstate);
16078 if (PyErr_Occurred()) SWIG_fail;
16079 }
16080 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
16081 return resultobj;
16082 fail:
16083 return NULL;
16084}
16085
16086
16087static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
16088 PyObject *resultobj;
16089 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16090 PyObject *arg2 = (PyObject *) 0 ;
16091 PyObject *arg3 = (PyObject *) 0 ;
16092 PyObject * obj0 = 0 ;
16093 PyObject * obj1 = 0 ;
16094 PyObject * obj2 = 0 ;
16095 char *kwnames[] = {
16096 (char *) "self",(char *) "self",(char *) "_class", NULL
16097 };
16098
16099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
16100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16102 arg2 = obj1;
16103 arg3 = obj2;
16104 {
16105 PyThreadState* __tstate = wxPyBeginAllowThreads();
16106 (arg1)->_setCallbackInfo(arg2,arg3);
16107
16108 wxPyEndAllowThreads(__tstate);
16109 if (PyErr_Occurred()) SWIG_fail;
16110 }
16111 Py_INCREF(Py_None); resultobj = Py_None;
16112 return resultobj;
16113 fail:
16114 return NULL;
16115}
16116
16117
16118static PyObject *_wrap_PyWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
16119 PyObject *resultobj;
16120 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16121 wxSize *arg2 = 0 ;
16122 wxSize temp2 ;
16123 PyObject * obj0 = 0 ;
16124 PyObject * obj1 = 0 ;
16125 char *kwnames[] = {
16126 (char *) "self",(char *) "size", NULL
16127 };
16128
16129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
16130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16132 {
16133 arg2 = &temp2;
16134 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16135 }
16136 {
16137 PyThreadState* __tstate = wxPyBeginAllowThreads();
16138 (arg1)->SetBestSize((wxSize const &)*arg2);
16139
16140 wxPyEndAllowThreads(__tstate);
16141 if (PyErr_Occurred()) SWIG_fail;
16142 }
16143 Py_INCREF(Py_None); resultobj = Py_None;
16144 return resultobj;
16145 fail:
16146 return NULL;
16147}
16148
16149
16150static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16151 PyObject *resultobj;
16152 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16153 int arg2 ;
16154 int arg3 ;
16155 int arg4 ;
16156 int arg5 ;
16157 PyObject * obj0 = 0 ;
16158 PyObject * obj1 = 0 ;
16159 PyObject * obj2 = 0 ;
16160 PyObject * obj3 = 0 ;
16161 PyObject * obj4 = 0 ;
16162 char *kwnames[] = {
16163 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16164 };
16165
16166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16169 arg2 = (int)SWIG_As_int(obj1);
16170 if (PyErr_Occurred()) SWIG_fail;
16171 arg3 = (int)SWIG_As_int(obj2);
16172 if (PyErr_Occurred()) SWIG_fail;
16173 arg4 = (int)SWIG_As_int(obj3);
16174 if (PyErr_Occurred()) SWIG_fail;
16175 arg5 = (int)SWIG_As_int(obj4);
16176 if (PyErr_Occurred()) SWIG_fail;
16177 {
16178 PyThreadState* __tstate = wxPyBeginAllowThreads();
16179 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
16180
16181 wxPyEndAllowThreads(__tstate);
16182 if (PyErr_Occurred()) SWIG_fail;
16183 }
16184 Py_INCREF(Py_None); resultobj = Py_None;
16185 return resultobj;
16186 fail:
16187 return NULL;
16188}
16189
16190
16191static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
16192 PyObject *resultobj;
16193 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16194 int arg2 ;
16195 int arg3 ;
16196 int arg4 ;
16197 int arg5 ;
16198 int arg6 = (int) wxSIZE_AUTO ;
16199 PyObject * obj0 = 0 ;
16200 PyObject * obj1 = 0 ;
16201 PyObject * obj2 = 0 ;
16202 PyObject * obj3 = 0 ;
16203 PyObject * obj4 = 0 ;
16204 PyObject * obj5 = 0 ;
16205 char *kwnames[] = {
16206 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16207 };
16208
16209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16212 arg2 = (int)SWIG_As_int(obj1);
16213 if (PyErr_Occurred()) SWIG_fail;
16214 arg3 = (int)SWIG_As_int(obj2);
16215 if (PyErr_Occurred()) SWIG_fail;
16216 arg4 = (int)SWIG_As_int(obj3);
16217 if (PyErr_Occurred()) SWIG_fail;
16218 arg5 = (int)SWIG_As_int(obj4);
16219 if (PyErr_Occurred()) SWIG_fail;
16220 if (obj5) {
16221 arg6 = (int)SWIG_As_int(obj5);
16222 if (PyErr_Occurred()) SWIG_fail;
16223 }
16224 {
16225 PyThreadState* __tstate = wxPyBeginAllowThreads();
16226 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
16227
16228 wxPyEndAllowThreads(__tstate);
16229 if (PyErr_Occurred()) SWIG_fail;
16230 }
16231 Py_INCREF(Py_None); resultobj = Py_None;
16232 return resultobj;
16233 fail:
16234 return NULL;
16235}
16236
16237
16238static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
16239 PyObject *resultobj;
16240 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16241 int arg2 ;
16242 int arg3 ;
16243 PyObject * obj0 = 0 ;
16244 PyObject * obj1 = 0 ;
16245 PyObject * obj2 = 0 ;
16246 char *kwnames[] = {
16247 (char *) "self",(char *) "width",(char *) "height", NULL
16248 };
16249
16250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16253 arg2 = (int)SWIG_As_int(obj1);
16254 if (PyErr_Occurred()) SWIG_fail;
16255 arg3 = (int)SWIG_As_int(obj2);
16256 if (PyErr_Occurred()) SWIG_fail;
16257 {
16258 PyThreadState* __tstate = wxPyBeginAllowThreads();
16259 (arg1)->base_DoSetClientSize(arg2,arg3);
16260
16261 wxPyEndAllowThreads(__tstate);
16262 if (PyErr_Occurred()) SWIG_fail;
16263 }
16264 Py_INCREF(Py_None); resultobj = Py_None;
16265 return resultobj;
16266 fail:
16267 return NULL;
16268}
16269
16270
16271static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
16272 PyObject *resultobj;
16273 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16274 int arg2 ;
16275 int arg3 ;
16276 PyObject * obj0 = 0 ;
16277 PyObject * obj1 = 0 ;
16278 PyObject * obj2 = 0 ;
16279 char *kwnames[] = {
16280 (char *) "self",(char *) "x",(char *) "y", NULL
16281 };
16282
16283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16286 arg2 = (int)SWIG_As_int(obj1);
16287 if (PyErr_Occurred()) SWIG_fail;
16288 arg3 = (int)SWIG_As_int(obj2);
16289 if (PyErr_Occurred()) SWIG_fail;
16290 {
16291 PyThreadState* __tstate = wxPyBeginAllowThreads();
16292 (arg1)->base_DoSetVirtualSize(arg2,arg3);
16293
16294 wxPyEndAllowThreads(__tstate);
16295 if (PyErr_Occurred()) SWIG_fail;
16296 }
16297 Py_INCREF(Py_None); resultobj = Py_None;
16298 return resultobj;
16299 fail:
16300 return NULL;
16301}
16302
16303
16304static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
16305 PyObject *resultobj;
16306 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16307 int *arg2 = (int *) 0 ;
16308 int *arg3 = (int *) 0 ;
16309 int temp2 ;
16310 int res2 = 0 ;
16311 int temp3 ;
16312 int res3 = 0 ;
16313 PyObject * obj0 = 0 ;
16314 char *kwnames[] = {
16315 (char *) "self", NULL
16316 };
16317
16318 arg2 = &temp2; res2 = SWIG_NEWOBJ;
16319 arg3 = &temp3; res3 = SWIG_NEWOBJ;
16320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
16321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16323 {
16324 PyThreadState* __tstate = wxPyBeginAllowThreads();
16325 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
16326
16327 wxPyEndAllowThreads(__tstate);
16328 if (PyErr_Occurred()) SWIG_fail;
16329 }
16330 Py_INCREF(Py_None); resultobj = Py_None;
16331 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
16332 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
16333 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16334 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
16335 return resultobj;
16336 fail:
16337 return NULL;
16338}
16339
16340
16341static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
16342 PyObject *resultobj;
16343 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16344 int *arg2 = (int *) 0 ;
16345 int *arg3 = (int *) 0 ;
16346 int temp2 ;
16347 int res2 = 0 ;
16348 int temp3 ;
16349 int res3 = 0 ;
16350 PyObject * obj0 = 0 ;
16351 char *kwnames[] = {
16352 (char *) "self", NULL
16353 };
16354
16355 arg2 = &temp2; res2 = SWIG_NEWOBJ;
16356 arg3 = &temp3; res3 = SWIG_NEWOBJ;
16357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
16358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16360 {
16361 PyThreadState* __tstate = wxPyBeginAllowThreads();
16362 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
16363
16364 wxPyEndAllowThreads(__tstate);
16365 if (PyErr_Occurred()) SWIG_fail;
16366 }
16367 Py_INCREF(Py_None); resultobj = Py_None;
16368 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
16369 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
16370 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16371 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
16372 return resultobj;
16373 fail:
16374 return NULL;
16375}
16376
16377
16378static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
16379 PyObject *resultobj;
16380 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16381 int *arg2 = (int *) 0 ;
16382 int *arg3 = (int *) 0 ;
16383 int temp2 ;
16384 int res2 = 0 ;
16385 int temp3 ;
16386 int res3 = 0 ;
16387 PyObject * obj0 = 0 ;
16388 char *kwnames[] = {
16389 (char *) "self", NULL
16390 };
16391
16392 arg2 = &temp2; res2 = SWIG_NEWOBJ;
16393 arg3 = &temp3; res3 = SWIG_NEWOBJ;
16394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
16395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16397 {
16398 PyThreadState* __tstate = wxPyBeginAllowThreads();
16399 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
16400
16401 wxPyEndAllowThreads(__tstate);
16402 if (PyErr_Occurred()) SWIG_fail;
16403 }
16404 Py_INCREF(Py_None); resultobj = Py_None;
16405 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
16406 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
16407 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16408 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
16409 return resultobj;
16410 fail:
16411 return NULL;
16412}
16413
16414
16415static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
16416 PyObject *resultobj;
16417 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16418 wxSize result;
16419 PyObject * obj0 = 0 ;
16420 char *kwnames[] = {
16421 (char *) "self", NULL
16422 };
16423
16424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
16425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16427 {
16428 PyThreadState* __tstate = wxPyBeginAllowThreads();
16429 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
16430
16431 wxPyEndAllowThreads(__tstate);
16432 if (PyErr_Occurred()) SWIG_fail;
16433 }
16434 {
16435 wxSize * resultptr;
16436 resultptr = new wxSize((wxSize &) result);
16437 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16438 }
16439 return resultobj;
16440 fail:
16441 return NULL;
16442}
16443
16444
16445static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
16446 PyObject *resultobj;
16447 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16448 wxSize result;
16449 PyObject * obj0 = 0 ;
16450 char *kwnames[] = {
16451 (char *) "self", NULL
16452 };
16453
16454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
16455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16457 {
16458 PyThreadState* __tstate = wxPyBeginAllowThreads();
16459 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
16460
16461 wxPyEndAllowThreads(__tstate);
16462 if (PyErr_Occurred()) SWIG_fail;
16463 }
16464 {
16465 wxSize * resultptr;
16466 resultptr = new wxSize((wxSize &) result);
16467 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16468 }
16469 return resultobj;
16470 fail:
16471 return NULL;
16472}
16473
16474
16475static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
16476 PyObject *resultobj;
16477 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16478 PyObject * obj0 = 0 ;
16479 char *kwnames[] = {
16480 (char *) "self", NULL
16481 };
16482
16483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
16484 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16486 {
16487 PyThreadState* __tstate = wxPyBeginAllowThreads();
16488 (arg1)->base_InitDialog();
16489
16490 wxPyEndAllowThreads(__tstate);
16491 if (PyErr_Occurred()) SWIG_fail;
16492 }
16493 Py_INCREF(Py_None); resultobj = Py_None;
16494 return resultobj;
16495 fail:
16496 return NULL;
16497}
16498
16499
16500static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16501 PyObject *resultobj;
16502 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16503 bool result;
16504 PyObject * obj0 = 0 ;
16505 char *kwnames[] = {
16506 (char *) "self", NULL
16507 };
16508
16509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
16510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16512 {
16513 PyThreadState* __tstate = wxPyBeginAllowThreads();
16514 result = (bool)(arg1)->base_TransferDataToWindow();
16515
16516 wxPyEndAllowThreads(__tstate);
16517 if (PyErr_Occurred()) SWIG_fail;
16518 }
16519 {
16520 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16521 }
16522 return resultobj;
16523 fail:
16524 return NULL;
16525}
16526
16527
16528static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16529 PyObject *resultobj;
16530 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16531 bool result;
16532 PyObject * obj0 = 0 ;
16533 char *kwnames[] = {
16534 (char *) "self", NULL
16535 };
16536
16537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
16538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16540 {
16541 PyThreadState* __tstate = wxPyBeginAllowThreads();
16542 result = (bool)(arg1)->base_TransferDataFromWindow();
16543
16544 wxPyEndAllowThreads(__tstate);
16545 if (PyErr_Occurred()) SWIG_fail;
16546 }
16547 {
16548 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16549 }
16550 return resultobj;
16551 fail:
16552 return NULL;
16553}
16554
16555
16556static PyObject *_wrap_PyWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
16557 PyObject *resultobj;
16558 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16559 bool result;
16560 PyObject * obj0 = 0 ;
16561 char *kwnames[] = {
16562 (char *) "self", NULL
16563 };
16564
16565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
16566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16568 {
16569 PyThreadState* __tstate = wxPyBeginAllowThreads();
16570 result = (bool)(arg1)->base_Validate();
16571
16572 wxPyEndAllowThreads(__tstate);
16573 if (PyErr_Occurred()) SWIG_fail;
16574 }
16575 {
16576 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16577 }
16578 return resultobj;
16579 fail:
16580 return NULL;
16581}
16582
16583
16584static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
16585 PyObject *resultobj;
16586 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16587 bool result;
16588 PyObject * obj0 = 0 ;
16589 char *kwnames[] = {
16590 (char *) "self", NULL
16591 };
16592
16593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
16594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16596 {
16597 PyThreadState* __tstate = wxPyBeginAllowThreads();
16598 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
16599
16600 wxPyEndAllowThreads(__tstate);
16601 if (PyErr_Occurred()) SWIG_fail;
16602 }
16603 {
16604 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16605 }
16606 return resultobj;
16607 fail:
16608 return NULL;
16609}
16610
16611
16612static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
16613 PyObject *resultobj;
16614 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16615 bool result;
16616 PyObject * obj0 = 0 ;
16617 char *kwnames[] = {
16618 (char *) "self", NULL
16619 };
16620
16621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
16622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16624 {
16625 PyThreadState* __tstate = wxPyBeginAllowThreads();
16626 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
16627
16628 wxPyEndAllowThreads(__tstate);
16629 if (PyErr_Occurred()) SWIG_fail;
16630 }
16631 {
16632 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16633 }
16634 return resultobj;
16635 fail:
16636 return NULL;
16637}
16638
16639
16640static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
16641 PyObject *resultobj;
16642 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16643 wxSize result;
16644 PyObject * obj0 = 0 ;
16645 char *kwnames[] = {
16646 (char *) "self", NULL
16647 };
16648
16649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
16650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16652 {
16653 PyThreadState* __tstate = wxPyBeginAllowThreads();
16654 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
16655
16656 wxPyEndAllowThreads(__tstate);
16657 if (PyErr_Occurred()) SWIG_fail;
16658 }
16659 {
16660 wxSize * resultptr;
16661 resultptr = new wxSize((wxSize &) result);
16662 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16663 }
16664 return resultobj;
16665 fail:
16666 return NULL;
16667}
16668
16669
16670static PyObject *_wrap_PyWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
16671 PyObject *resultobj;
16672 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16673 wxWindow *arg2 = (wxWindow *) 0 ;
16674 PyObject * obj0 = 0 ;
16675 PyObject * obj1 = 0 ;
16676 char *kwnames[] = {
16677 (char *) "self",(char *) "child", NULL
16678 };
16679
16680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
16681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16683 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16685 {
16686 PyThreadState* __tstate = wxPyBeginAllowThreads();
16687 (arg1)->base_AddChild(arg2);
16688
16689 wxPyEndAllowThreads(__tstate);
16690 if (PyErr_Occurred()) SWIG_fail;
16691 }
16692 Py_INCREF(Py_None); resultobj = Py_None;
16693 return resultobj;
16694 fail:
16695 return NULL;
16696}
16697
16698
16699static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
16700 PyObject *resultobj;
16701 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16702 wxWindow *arg2 = (wxWindow *) 0 ;
16703 PyObject * obj0 = 0 ;
16704 PyObject * obj1 = 0 ;
16705 char *kwnames[] = {
16706 (char *) "self",(char *) "child", NULL
16707 };
16708
16709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
16710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16712 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16714 {
16715 PyThreadState* __tstate = wxPyBeginAllowThreads();
16716 (arg1)->base_RemoveChild(arg2);
16717
16718 wxPyEndAllowThreads(__tstate);
16719 if (PyErr_Occurred()) SWIG_fail;
16720 }
16721 Py_INCREF(Py_None); resultobj = Py_None;
16722 return resultobj;
16723 fail:
16724 return NULL;
16725}
16726
16727
16728static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
16729 PyObject *resultobj;
16730 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16731 bool result;
16732 PyObject * obj0 = 0 ;
16733 char *kwnames[] = {
16734 (char *) "self", NULL
16735 };
16736
16737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
16738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16740 {
16741 PyThreadState* __tstate = wxPyBeginAllowThreads();
16742 result = (bool)((wxPyWindow const *)arg1)->base_ShouldInheritColours();
16743
16744 wxPyEndAllowThreads(__tstate);
16745 if (PyErr_Occurred()) SWIG_fail;
16746 }
16747 {
16748 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16749 }
16750 return resultobj;
16751 fail:
16752 return NULL;
16753}
16754
16755
16756static PyObject *_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
16757 PyObject *resultobj;
16758 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16759 wxColour *arg2 = 0 ;
16760 wxColour temp2 ;
16761 PyObject * obj0 = 0 ;
16762 PyObject * obj1 = 0 ;
16763 char *kwnames[] = {
16764 (char *) "self",(char *) "c", NULL
16765 };
16766
16767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
16768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16770 {
16771 arg2 = &temp2;
16772 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16773 }
16774 {
16775 PyThreadState* __tstate = wxPyBeginAllowThreads();
16776 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
16777
16778 wxPyEndAllowThreads(__tstate);
16779 if (PyErr_Occurred()) SWIG_fail;
16780 }
16781 Py_INCREF(Py_None); resultobj = Py_None;
16782 return resultobj;
16783 fail:
16784 return NULL;
16785}
16786
16787
16788static PyObject *_wrap_PyWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
16789 PyObject *resultobj;
16790 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16791 wxVisualAttributes result;
16792 PyObject * obj0 = 0 ;
16793 char *kwnames[] = {
16794 (char *) "self", NULL
16795 };
16796
16797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
16798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16800 {
16801 PyThreadState* __tstate = wxPyBeginAllowThreads();
16802 result = (arg1)->base_GetDefaultAttributes();
16803
16804 wxPyEndAllowThreads(__tstate);
16805 if (PyErr_Occurred()) SWIG_fail;
16806 }
16807 {
16808 wxVisualAttributes * resultptr;
16809 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
16810 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16811 }
16812 return resultobj;
16813 fail:
16814 return NULL;
16815}
16816
16817
16818static PyObject * PyWindow_swigregister(PyObject *, PyObject *args) {
16819 PyObject *obj;
16820 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16821 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
16822 Py_INCREF(obj);
16823 return Py_BuildValue((char *)"");
16824}
16825static PyObject *_wrap_new_PyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
16826 PyObject *resultobj;
16827 wxWindow *arg1 = (wxWindow *) 0 ;
16828 int arg2 = (int) (int)-1 ;
16829 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16830 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16831 wxSize const &arg4_defvalue = wxDefaultSize ;
16832 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16833 long arg5 = (long) 0 ;
16834 wxString const &arg6_defvalue = wxPyPanelNameStr ;
16835 wxString *arg6 = (wxString *) &arg6_defvalue ;
16836 wxPyPanel *result;
16837 wxPoint temp3 ;
16838 wxSize temp4 ;
16839 bool temp6 = false ;
16840 PyObject * obj0 = 0 ;
16841 PyObject * obj1 = 0 ;
16842 PyObject * obj2 = 0 ;
16843 PyObject * obj3 = 0 ;
16844 PyObject * obj4 = 0 ;
16845 PyObject * obj5 = 0 ;
16846 char *kwnames[] = {
16847 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16848 };
16849
16850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
16852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16853 if (obj1) {
16854 arg2 = (int)SWIG_As_int(obj1);
16855 if (PyErr_Occurred()) SWIG_fail;
16856 }
16857 if (obj2) {
16858 {
16859 arg3 = &temp3;
16860 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16861 }
16862 }
16863 if (obj3) {
16864 {
16865 arg4 = &temp4;
16866 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16867 }
16868 }
16869 if (obj4) {
16870 arg5 = (long)SWIG_As_long(obj4);
16871 if (PyErr_Occurred()) SWIG_fail;
16872 }
16873 if (obj5) {
16874 {
16875 arg6 = wxString_in_helper(obj5);
16876 if (arg6 == NULL) SWIG_fail;
16877 temp6 = true;
16878 }
16879 }
16880 {
16881 if (!wxPyCheckForApp()) SWIG_fail;
16882 PyThreadState* __tstate = wxPyBeginAllowThreads();
16883 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
16884
16885 wxPyEndAllowThreads(__tstate);
16886 if (PyErr_Occurred()) SWIG_fail;
16887 }
16888 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
16889 {
16890 if (temp6)
16891 delete arg6;
16892 }
16893 return resultobj;
16894 fail:
16895 {
16896 if (temp6)
16897 delete arg6;
16898 }
16899 return NULL;
16900}
16901
16902
16903static PyObject *_wrap_new_PrePyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
16904 PyObject *resultobj;
16905 wxPyPanel *result;
16906 char *kwnames[] = {
16907 NULL
16908 };
16909
16910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail;
16911 {
16912 if (!wxPyCheckForApp()) SWIG_fail;
16913 PyThreadState* __tstate = wxPyBeginAllowThreads();
16914 result = (wxPyPanel *)new wxPyPanel();
16915
16916 wxPyEndAllowThreads(__tstate);
16917 if (PyErr_Occurred()) SWIG_fail;
16918 }
16919 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
16920 return resultobj;
16921 fail:
16922 return NULL;
16923}
16924
16925
16926static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
16927 PyObject *resultobj;
16928 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16929 PyObject *arg2 = (PyObject *) 0 ;
16930 PyObject *arg3 = (PyObject *) 0 ;
16931 PyObject * obj0 = 0 ;
16932 PyObject * obj1 = 0 ;
16933 PyObject * obj2 = 0 ;
16934 char *kwnames[] = {
16935 (char *) "self",(char *) "self",(char *) "_class", NULL
16936 };
16937
16938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
16939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16941 arg2 = obj1;
16942 arg3 = obj2;
16943 {
16944 PyThreadState* __tstate = wxPyBeginAllowThreads();
16945 (arg1)->_setCallbackInfo(arg2,arg3);
16946
16947 wxPyEndAllowThreads(__tstate);
16948 if (PyErr_Occurred()) SWIG_fail;
16949 }
16950 Py_INCREF(Py_None); resultobj = Py_None;
16951 return resultobj;
16952 fail:
16953 return NULL;
16954}
16955
16956
16957static PyObject *_wrap_PyPanel_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
16958 PyObject *resultobj;
16959 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16960 wxSize *arg2 = 0 ;
16961 wxSize temp2 ;
16962 PyObject * obj0 = 0 ;
16963 PyObject * obj1 = 0 ;
16964 char *kwnames[] = {
16965 (char *) "self",(char *) "size", NULL
16966 };
16967
16968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
16969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16971 {
16972 arg2 = &temp2;
16973 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16974 }
16975 {
16976 PyThreadState* __tstate = wxPyBeginAllowThreads();
16977 (arg1)->SetBestSize((wxSize const &)*arg2);
16978
16979 wxPyEndAllowThreads(__tstate);
16980 if (PyErr_Occurred()) SWIG_fail;
16981 }
16982 Py_INCREF(Py_None); resultobj = Py_None;
16983 return resultobj;
16984 fail:
16985 return NULL;
16986}
16987
16988
16989static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16990 PyObject *resultobj;
16991 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16992 int arg2 ;
16993 int arg3 ;
16994 int arg4 ;
16995 int arg5 ;
16996 PyObject * obj0 = 0 ;
16997 PyObject * obj1 = 0 ;
16998 PyObject * obj2 = 0 ;
16999 PyObject * obj3 = 0 ;
17000 PyObject * obj4 = 0 ;
17001 char *kwnames[] = {
17002 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17003 };
17004
17005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
17006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17008 arg2 = (int)SWIG_As_int(obj1);
17009 if (PyErr_Occurred()) SWIG_fail;
17010 arg3 = (int)SWIG_As_int(obj2);
17011 if (PyErr_Occurred()) SWIG_fail;
17012 arg4 = (int)SWIG_As_int(obj3);
17013 if (PyErr_Occurred()) SWIG_fail;
17014 arg5 = (int)SWIG_As_int(obj4);
17015 if (PyErr_Occurred()) SWIG_fail;
17016 {
17017 PyThreadState* __tstate = wxPyBeginAllowThreads();
17018 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
17019
17020 wxPyEndAllowThreads(__tstate);
17021 if (PyErr_Occurred()) SWIG_fail;
17022 }
17023 Py_INCREF(Py_None); resultobj = Py_None;
17024 return resultobj;
17025 fail:
17026 return NULL;
17027}
17028
17029
17030static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
17031 PyObject *resultobj;
17032 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17033 int arg2 ;
17034 int arg3 ;
17035 int arg4 ;
17036 int arg5 ;
17037 int arg6 = (int) wxSIZE_AUTO ;
17038 PyObject * obj0 = 0 ;
17039 PyObject * obj1 = 0 ;
17040 PyObject * obj2 = 0 ;
17041 PyObject * obj3 = 0 ;
17042 PyObject * obj4 = 0 ;
17043 PyObject * obj5 = 0 ;
17044 char *kwnames[] = {
17045 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17046 };
17047
17048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17051 arg2 = (int)SWIG_As_int(obj1);
17052 if (PyErr_Occurred()) SWIG_fail;
17053 arg3 = (int)SWIG_As_int(obj2);
17054 if (PyErr_Occurred()) SWIG_fail;
17055 arg4 = (int)SWIG_As_int(obj3);
17056 if (PyErr_Occurred()) SWIG_fail;
17057 arg5 = (int)SWIG_As_int(obj4);
17058 if (PyErr_Occurred()) SWIG_fail;
17059 if (obj5) {
17060 arg6 = (int)SWIG_As_int(obj5);
17061 if (PyErr_Occurred()) SWIG_fail;
17062 }
17063 {
17064 PyThreadState* __tstate = wxPyBeginAllowThreads();
17065 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
17066
17067 wxPyEndAllowThreads(__tstate);
17068 if (PyErr_Occurred()) SWIG_fail;
17069 }
17070 Py_INCREF(Py_None); resultobj = Py_None;
17071 return resultobj;
17072 fail:
17073 return NULL;
17074}
17075
17076
17077static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
17078 PyObject *resultobj;
17079 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17080 int arg2 ;
17081 int arg3 ;
17082 PyObject * obj0 = 0 ;
17083 PyObject * obj1 = 0 ;
17084 PyObject * obj2 = 0 ;
17085 char *kwnames[] = {
17086 (char *) "self",(char *) "width",(char *) "height", NULL
17087 };
17088
17089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17092 arg2 = (int)SWIG_As_int(obj1);
17093 if (PyErr_Occurred()) SWIG_fail;
17094 arg3 = (int)SWIG_As_int(obj2);
17095 if (PyErr_Occurred()) SWIG_fail;
17096 {
17097 PyThreadState* __tstate = wxPyBeginAllowThreads();
17098 (arg1)->base_DoSetClientSize(arg2,arg3);
17099
17100 wxPyEndAllowThreads(__tstate);
17101 if (PyErr_Occurred()) SWIG_fail;
17102 }
17103 Py_INCREF(Py_None); resultobj = Py_None;
17104 return resultobj;
17105 fail:
17106 return NULL;
17107}
17108
17109
17110static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
17111 PyObject *resultobj;
17112 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17113 int arg2 ;
17114 int arg3 ;
17115 PyObject * obj0 = 0 ;
17116 PyObject * obj1 = 0 ;
17117 PyObject * obj2 = 0 ;
17118 char *kwnames[] = {
17119 (char *) "self",(char *) "x",(char *) "y", NULL
17120 };
17121
17122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17125 arg2 = (int)SWIG_As_int(obj1);
17126 if (PyErr_Occurred()) SWIG_fail;
17127 arg3 = (int)SWIG_As_int(obj2);
17128 if (PyErr_Occurred()) SWIG_fail;
17129 {
17130 PyThreadState* __tstate = wxPyBeginAllowThreads();
17131 (arg1)->base_DoSetVirtualSize(arg2,arg3);
17132
17133 wxPyEndAllowThreads(__tstate);
17134 if (PyErr_Occurred()) SWIG_fail;
17135 }
17136 Py_INCREF(Py_None); resultobj = Py_None;
17137 return resultobj;
17138 fail:
17139 return NULL;
17140}
17141
17142
17143static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
17144 PyObject *resultobj;
17145 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17146 int *arg2 = (int *) 0 ;
17147 int *arg3 = (int *) 0 ;
17148 int temp2 ;
17149 int res2 = 0 ;
17150 int temp3 ;
17151 int res3 = 0 ;
17152 PyObject * obj0 = 0 ;
17153 char *kwnames[] = {
17154 (char *) "self", NULL
17155 };
17156
17157 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17158 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
17160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17162 {
17163 PyThreadState* __tstate = wxPyBeginAllowThreads();
17164 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
17165
17166 wxPyEndAllowThreads(__tstate);
17167 if (PyErr_Occurred()) SWIG_fail;
17168 }
17169 Py_INCREF(Py_None); resultobj = Py_None;
17170 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17171 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17172 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17173 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
17174 return resultobj;
17175 fail:
17176 return NULL;
17177}
17178
17179
17180static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
17181 PyObject *resultobj;
17182 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17183 int *arg2 = (int *) 0 ;
17184 int *arg3 = (int *) 0 ;
17185 int temp2 ;
17186 int res2 = 0 ;
17187 int temp3 ;
17188 int res3 = 0 ;
17189 PyObject * obj0 = 0 ;
17190 char *kwnames[] = {
17191 (char *) "self", NULL
17192 };
17193
17194 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17195 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
17197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17199 {
17200 PyThreadState* __tstate = wxPyBeginAllowThreads();
17201 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
17202
17203 wxPyEndAllowThreads(__tstate);
17204 if (PyErr_Occurred()) SWIG_fail;
17205 }
17206 Py_INCREF(Py_None); resultobj = Py_None;
17207 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17208 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17209 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17210 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
17211 return resultobj;
17212 fail:
17213 return NULL;
17214}
17215
17216
17217static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
17218 PyObject *resultobj;
17219 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17220 int *arg2 = (int *) 0 ;
17221 int *arg3 = (int *) 0 ;
17222 int temp2 ;
17223 int res2 = 0 ;
17224 int temp3 ;
17225 int res3 = 0 ;
17226 PyObject * obj0 = 0 ;
17227 char *kwnames[] = {
17228 (char *) "self", NULL
17229 };
17230
17231 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17232 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
17234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17236 {
17237 PyThreadState* __tstate = wxPyBeginAllowThreads();
17238 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
17239
17240 wxPyEndAllowThreads(__tstate);
17241 if (PyErr_Occurred()) SWIG_fail;
17242 }
17243 Py_INCREF(Py_None); resultobj = Py_None;
17244 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17245 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17246 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17247 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
17248 return resultobj;
17249 fail:
17250 return NULL;
17251}
17252
17253
17254static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
17255 PyObject *resultobj;
17256 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17257 wxSize result;
17258 PyObject * obj0 = 0 ;
17259 char *kwnames[] = {
17260 (char *) "self", NULL
17261 };
17262
17263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
17264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17266 {
17267 PyThreadState* __tstate = wxPyBeginAllowThreads();
17268 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
17269
17270 wxPyEndAllowThreads(__tstate);
17271 if (PyErr_Occurred()) SWIG_fail;
17272 }
17273 {
17274 wxSize * resultptr;
17275 resultptr = new wxSize((wxSize &) result);
17276 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17277 }
17278 return resultobj;
17279 fail:
17280 return NULL;
17281}
17282
17283
17284static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
17285 PyObject *resultobj;
17286 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17287 wxSize result;
17288 PyObject * obj0 = 0 ;
17289 char *kwnames[] = {
17290 (char *) "self", NULL
17291 };
17292
17293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
17294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17296 {
17297 PyThreadState* __tstate = wxPyBeginAllowThreads();
17298 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
17299
17300 wxPyEndAllowThreads(__tstate);
17301 if (PyErr_Occurred()) SWIG_fail;
17302 }
17303 {
17304 wxSize * resultptr;
17305 resultptr = new wxSize((wxSize &) result);
17306 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17307 }
17308 return resultobj;
17309 fail:
17310 return NULL;
17311}
17312
17313
17314static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
17315 PyObject *resultobj;
17316 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17317 PyObject * obj0 = 0 ;
17318 char *kwnames[] = {
17319 (char *) "self", NULL
17320 };
17321
17322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
17323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17325 {
17326 PyThreadState* __tstate = wxPyBeginAllowThreads();
17327 (arg1)->base_InitDialog();
17328
17329 wxPyEndAllowThreads(__tstate);
17330 if (PyErr_Occurred()) SWIG_fail;
17331 }
17332 Py_INCREF(Py_None); resultobj = Py_None;
17333 return resultobj;
17334 fail:
17335 return NULL;
17336}
17337
17338
17339static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17340 PyObject *resultobj;
17341 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17342 bool result;
17343 PyObject * obj0 = 0 ;
17344 char *kwnames[] = {
17345 (char *) "self", NULL
17346 };
17347
17348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
17349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17351 {
17352 PyThreadState* __tstate = wxPyBeginAllowThreads();
17353 result = (bool)(arg1)->base_TransferDataToWindow();
17354
17355 wxPyEndAllowThreads(__tstate);
17356 if (PyErr_Occurred()) SWIG_fail;
17357 }
17358 {
17359 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17360 }
17361 return resultobj;
17362 fail:
17363 return NULL;
17364}
17365
17366
17367static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17368 PyObject *resultobj;
17369 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17370 bool result;
17371 PyObject * obj0 = 0 ;
17372 char *kwnames[] = {
17373 (char *) "self", NULL
17374 };
17375
17376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
17377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17379 {
17380 PyThreadState* __tstate = wxPyBeginAllowThreads();
17381 result = (bool)(arg1)->base_TransferDataFromWindow();
17382
17383 wxPyEndAllowThreads(__tstate);
17384 if (PyErr_Occurred()) SWIG_fail;
17385 }
17386 {
17387 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17388 }
17389 return resultobj;
17390 fail:
17391 return NULL;
17392}
17393
17394
17395static PyObject *_wrap_PyPanel_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
17396 PyObject *resultobj;
17397 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17398 bool result;
17399 PyObject * obj0 = 0 ;
17400 char *kwnames[] = {
17401 (char *) "self", NULL
17402 };
17403
17404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
17405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17407 {
17408 PyThreadState* __tstate = wxPyBeginAllowThreads();
17409 result = (bool)(arg1)->base_Validate();
17410
17411 wxPyEndAllowThreads(__tstate);
17412 if (PyErr_Occurred()) SWIG_fail;
17413 }
17414 {
17415 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17416 }
17417 return resultobj;
17418 fail:
17419 return NULL;
17420}
17421
17422
17423static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
17424 PyObject *resultobj;
17425 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17426 bool result;
17427 PyObject * obj0 = 0 ;
17428 char *kwnames[] = {
17429 (char *) "self", NULL
17430 };
17431
17432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
17433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17435 {
17436 PyThreadState* __tstate = wxPyBeginAllowThreads();
17437 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
17438
17439 wxPyEndAllowThreads(__tstate);
17440 if (PyErr_Occurred()) SWIG_fail;
17441 }
17442 {
17443 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17444 }
17445 return resultobj;
17446 fail:
17447 return NULL;
17448}
17449
17450
17451static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
17452 PyObject *resultobj;
17453 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17454 bool result;
17455 PyObject * obj0 = 0 ;
17456 char *kwnames[] = {
17457 (char *) "self", NULL
17458 };
17459
17460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
17461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17463 {
17464 PyThreadState* __tstate = wxPyBeginAllowThreads();
17465 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
17466
17467 wxPyEndAllowThreads(__tstate);
17468 if (PyErr_Occurred()) SWIG_fail;
17469 }
17470 {
17471 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17472 }
17473 return resultobj;
17474 fail:
17475 return NULL;
17476}
17477
17478
17479static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
17480 PyObject *resultobj;
17481 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17482 wxSize result;
17483 PyObject * obj0 = 0 ;
17484 char *kwnames[] = {
17485 (char *) "self", NULL
17486 };
17487
17488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
17489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17491 {
17492 PyThreadState* __tstate = wxPyBeginAllowThreads();
17493 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
17494
17495 wxPyEndAllowThreads(__tstate);
17496 if (PyErr_Occurred()) SWIG_fail;
17497 }
17498 {
17499 wxSize * resultptr;
17500 resultptr = new wxSize((wxSize &) result);
17501 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17502 }
17503 return resultobj;
17504 fail:
17505 return NULL;
17506}
17507
17508
17509static PyObject *_wrap_PyPanel_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
17510 PyObject *resultobj;
17511 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17512 wxWindow *arg2 = (wxWindow *) 0 ;
17513 PyObject * obj0 = 0 ;
17514 PyObject * obj1 = 0 ;
17515 char *kwnames[] = {
17516 (char *) "self",(char *) "child", NULL
17517 };
17518
17519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
17520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17522 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17524 {
17525 PyThreadState* __tstate = wxPyBeginAllowThreads();
17526 (arg1)->base_AddChild(arg2);
17527
17528 wxPyEndAllowThreads(__tstate);
17529 if (PyErr_Occurred()) SWIG_fail;
17530 }
17531 Py_INCREF(Py_None); resultobj = Py_None;
17532 return resultobj;
17533 fail:
17534 return NULL;
17535}
17536
17537
17538static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
17539 PyObject *resultobj;
17540 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17541 wxWindow *arg2 = (wxWindow *) 0 ;
17542 PyObject * obj0 = 0 ;
17543 PyObject * obj1 = 0 ;
17544 char *kwnames[] = {
17545 (char *) "self",(char *) "child", NULL
17546 };
17547
17548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
17549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17551 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17553 {
17554 PyThreadState* __tstate = wxPyBeginAllowThreads();
17555 (arg1)->base_RemoveChild(arg2);
17556
17557 wxPyEndAllowThreads(__tstate);
17558 if (PyErr_Occurred()) SWIG_fail;
17559 }
17560 Py_INCREF(Py_None); resultobj = Py_None;
17561 return resultobj;
17562 fail:
17563 return NULL;
17564}
17565
17566
17567static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
17568 PyObject *resultobj;
17569 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17570 bool result;
17571 PyObject * obj0 = 0 ;
17572 char *kwnames[] = {
17573 (char *) "self", NULL
17574 };
17575
17576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
17577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17579 {
17580 PyThreadState* __tstate = wxPyBeginAllowThreads();
17581 result = (bool)((wxPyPanel const *)arg1)->base_ShouldInheritColours();
17582
17583 wxPyEndAllowThreads(__tstate);
17584 if (PyErr_Occurred()) SWIG_fail;
17585 }
17586 {
17587 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17588 }
17589 return resultobj;
17590 fail:
17591 return NULL;
17592}
17593
17594
17595static PyObject *_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
17596 PyObject *resultobj;
17597 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17598 wxColour *arg2 = 0 ;
17599 wxColour temp2 ;
17600 PyObject * obj0 = 0 ;
17601 PyObject * obj1 = 0 ;
17602 char *kwnames[] = {
17603 (char *) "self",(char *) "c", NULL
17604 };
17605
17606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
17607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17609 {
17610 arg2 = &temp2;
17611 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17612 }
17613 {
17614 PyThreadState* __tstate = wxPyBeginAllowThreads();
17615 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
17616
17617 wxPyEndAllowThreads(__tstate);
17618 if (PyErr_Occurred()) SWIG_fail;
17619 }
17620 Py_INCREF(Py_None); resultobj = Py_None;
17621 return resultobj;
17622 fail:
17623 return NULL;
17624}
17625
17626
17627static PyObject *_wrap_PyPanel_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
17628 PyObject *resultobj;
17629 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17630 wxVisualAttributes result;
17631 PyObject * obj0 = 0 ;
17632 char *kwnames[] = {
17633 (char *) "self", NULL
17634 };
17635
17636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
17637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17639 {
17640 PyThreadState* __tstate = wxPyBeginAllowThreads();
17641 result = (arg1)->base_GetDefaultAttributes();
17642
17643 wxPyEndAllowThreads(__tstate);
17644 if (PyErr_Occurred()) SWIG_fail;
17645 }
17646 {
17647 wxVisualAttributes * resultptr;
17648 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
17649 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
17650 }
17651 return resultobj;
17652 fail:
17653 return NULL;
17654}
17655
17656
17657static PyObject * PyPanel_swigregister(PyObject *, PyObject *args) {
17658 PyObject *obj;
17659 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17660 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
17661 Py_INCREF(obj);
17662 return Py_BuildValue((char *)"");
17663}
17664static PyObject *_wrap_new_PyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17665 PyObject *resultobj;
17666 wxWindow *arg1 = (wxWindow *) 0 ;
17667 int arg2 = (int) (int)-1 ;
17668 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17669 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17670 wxSize const &arg4_defvalue = wxDefaultSize ;
17671 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17672 long arg5 = (long) 0 ;
17673 wxString const &arg6_defvalue = wxPyPanelNameStr ;
17674 wxString *arg6 = (wxString *) &arg6_defvalue ;
17675 wxPyScrolledWindow *result;
17676 wxPoint temp3 ;
17677 wxSize temp4 ;
17678 bool temp6 = false ;
17679 PyObject * obj0 = 0 ;
17680 PyObject * obj1 = 0 ;
17681 PyObject * obj2 = 0 ;
17682 PyObject * obj3 = 0 ;
17683 PyObject * obj4 = 0 ;
17684 PyObject * obj5 = 0 ;
17685 char *kwnames[] = {
17686 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17687 };
17688
17689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
17691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17692 if (obj1) {
17693 arg2 = (int)SWIG_As_int(obj1);
17694 if (PyErr_Occurred()) SWIG_fail;
17695 }
17696 if (obj2) {
17697 {
17698 arg3 = &temp3;
17699 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17700 }
17701 }
17702 if (obj3) {
17703 {
17704 arg4 = &temp4;
17705 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17706 }
17707 }
17708 if (obj4) {
17709 arg5 = (long)SWIG_As_long(obj4);
17710 if (PyErr_Occurred()) SWIG_fail;
17711 }
17712 if (obj5) {
17713 {
17714 arg6 = wxString_in_helper(obj5);
17715 if (arg6 == NULL) SWIG_fail;
17716 temp6 = true;
17717 }
17718 }
17719 {
17720 if (!wxPyCheckForApp()) SWIG_fail;
17721 PyThreadState* __tstate = wxPyBeginAllowThreads();
17722 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17723
17724 wxPyEndAllowThreads(__tstate);
17725 if (PyErr_Occurred()) SWIG_fail;
17726 }
17727 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
17728 {
17729 if (temp6)
17730 delete arg6;
17731 }
17732 return resultobj;
17733 fail:
17734 {
17735 if (temp6)
17736 delete arg6;
17737 }
17738 return NULL;
17739}
17740
17741
17742static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17743 PyObject *resultobj;
17744 wxPyScrolledWindow *result;
17745 char *kwnames[] = {
17746 NULL
17747 };
17748
17749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail;
17750 {
17751 if (!wxPyCheckForApp()) SWIG_fail;
17752 PyThreadState* __tstate = wxPyBeginAllowThreads();
17753 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
17754
17755 wxPyEndAllowThreads(__tstate);
17756 if (PyErr_Occurred()) SWIG_fail;
17757 }
17758 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
17759 return resultobj;
17760 fail:
17761 return NULL;
17762}
17763
17764
17765static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
17766 PyObject *resultobj;
17767 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17768 PyObject *arg2 = (PyObject *) 0 ;
17769 PyObject *arg3 = (PyObject *) 0 ;
17770 PyObject * obj0 = 0 ;
17771 PyObject * obj1 = 0 ;
17772 PyObject * obj2 = 0 ;
17773 char *kwnames[] = {
17774 (char *) "self",(char *) "self",(char *) "_class", NULL
17775 };
17776
17777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17780 arg2 = obj1;
17781 arg3 = obj2;
17782 {
17783 PyThreadState* __tstate = wxPyBeginAllowThreads();
17784 (arg1)->_setCallbackInfo(arg2,arg3);
17785
17786 wxPyEndAllowThreads(__tstate);
17787 if (PyErr_Occurred()) SWIG_fail;
17788 }
17789 Py_INCREF(Py_None); resultobj = Py_None;
17790 return resultobj;
17791 fail:
17792 return NULL;
17793}
17794
17795
17796static PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
17797 PyObject *resultobj;
17798 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17799 wxSize *arg2 = 0 ;
17800 wxSize temp2 ;
17801 PyObject * obj0 = 0 ;
17802 PyObject * obj1 = 0 ;
17803 char *kwnames[] = {
17804 (char *) "self",(char *) "size", NULL
17805 };
17806
17807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
17808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17810 {
17811 arg2 = &temp2;
17812 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17813 }
17814 {
17815 PyThreadState* __tstate = wxPyBeginAllowThreads();
17816 (arg1)->SetBestSize((wxSize const &)*arg2);
17817
17818 wxPyEndAllowThreads(__tstate);
17819 if (PyErr_Occurred()) SWIG_fail;
17820 }
17821 Py_INCREF(Py_None); resultobj = Py_None;
17822 return resultobj;
17823 fail:
17824 return NULL;
17825}
17826
17827
17828static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17829 PyObject *resultobj;
17830 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17831 int arg2 ;
17832 int arg3 ;
17833 int arg4 ;
17834 int arg5 ;
17835 PyObject * obj0 = 0 ;
17836 PyObject * obj1 = 0 ;
17837 PyObject * obj2 = 0 ;
17838 PyObject * obj3 = 0 ;
17839 PyObject * obj4 = 0 ;
17840 char *kwnames[] = {
17841 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17842 };
17843
17844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
17845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17847 arg2 = (int)SWIG_As_int(obj1);
17848 if (PyErr_Occurred()) SWIG_fail;
17849 arg3 = (int)SWIG_As_int(obj2);
17850 if (PyErr_Occurred()) SWIG_fail;
17851 arg4 = (int)SWIG_As_int(obj3);
17852 if (PyErr_Occurred()) SWIG_fail;
17853 arg5 = (int)SWIG_As_int(obj4);
17854 if (PyErr_Occurred()) SWIG_fail;
17855 {
17856 PyThreadState* __tstate = wxPyBeginAllowThreads();
17857 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
17858
17859 wxPyEndAllowThreads(__tstate);
17860 if (PyErr_Occurred()) SWIG_fail;
17861 }
17862 Py_INCREF(Py_None); resultobj = Py_None;
17863 return resultobj;
17864 fail:
17865 return NULL;
17866}
17867
17868
17869static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
17870 PyObject *resultobj;
17871 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17872 int arg2 ;
17873 int arg3 ;
17874 int arg4 ;
17875 int arg5 ;
17876 int arg6 = (int) wxSIZE_AUTO ;
17877 PyObject * obj0 = 0 ;
17878 PyObject * obj1 = 0 ;
17879 PyObject * obj2 = 0 ;
17880 PyObject * obj3 = 0 ;
17881 PyObject * obj4 = 0 ;
17882 PyObject * obj5 = 0 ;
17883 char *kwnames[] = {
17884 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17885 };
17886
17887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17890 arg2 = (int)SWIG_As_int(obj1);
17891 if (PyErr_Occurred()) SWIG_fail;
17892 arg3 = (int)SWIG_As_int(obj2);
17893 if (PyErr_Occurred()) SWIG_fail;
17894 arg4 = (int)SWIG_As_int(obj3);
17895 if (PyErr_Occurred()) SWIG_fail;
17896 arg5 = (int)SWIG_As_int(obj4);
17897 if (PyErr_Occurred()) SWIG_fail;
17898 if (obj5) {
17899 arg6 = (int)SWIG_As_int(obj5);
17900 if (PyErr_Occurred()) SWIG_fail;
17901 }
17902 {
17903 PyThreadState* __tstate = wxPyBeginAllowThreads();
17904 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
17905
17906 wxPyEndAllowThreads(__tstate);
17907 if (PyErr_Occurred()) SWIG_fail;
17908 }
17909 Py_INCREF(Py_None); resultobj = Py_None;
17910 return resultobj;
17911 fail:
17912 return NULL;
17913}
17914
17915
17916static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
17917 PyObject *resultobj;
17918 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17919 int arg2 ;
17920 int arg3 ;
17921 PyObject * obj0 = 0 ;
17922 PyObject * obj1 = 0 ;
17923 PyObject * obj2 = 0 ;
17924 char *kwnames[] = {
17925 (char *) "self",(char *) "width",(char *) "height", NULL
17926 };
17927
17928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17931 arg2 = (int)SWIG_As_int(obj1);
17932 if (PyErr_Occurred()) SWIG_fail;
17933 arg3 = (int)SWIG_As_int(obj2);
17934 if (PyErr_Occurred()) SWIG_fail;
17935 {
17936 PyThreadState* __tstate = wxPyBeginAllowThreads();
17937 (arg1)->base_DoSetClientSize(arg2,arg3);
17938
17939 wxPyEndAllowThreads(__tstate);
17940 if (PyErr_Occurred()) SWIG_fail;
17941 }
17942 Py_INCREF(Py_None); resultobj = Py_None;
17943 return resultobj;
17944 fail:
17945 return NULL;
17946}
17947
17948
17949static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
17950 PyObject *resultobj;
17951 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17952 int arg2 ;
17953 int arg3 ;
17954 PyObject * obj0 = 0 ;
17955 PyObject * obj1 = 0 ;
17956 PyObject * obj2 = 0 ;
17957 char *kwnames[] = {
17958 (char *) "self",(char *) "x",(char *) "y", NULL
17959 };
17960
17961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17964 arg2 = (int)SWIG_As_int(obj1);
17965 if (PyErr_Occurred()) SWIG_fail;
17966 arg3 = (int)SWIG_As_int(obj2);
17967 if (PyErr_Occurred()) SWIG_fail;
17968 {
17969 PyThreadState* __tstate = wxPyBeginAllowThreads();
17970 (arg1)->base_DoSetVirtualSize(arg2,arg3);
17971
17972 wxPyEndAllowThreads(__tstate);
17973 if (PyErr_Occurred()) SWIG_fail;
17974 }
17975 Py_INCREF(Py_None); resultobj = Py_None;
17976 return resultobj;
17977 fail:
17978 return NULL;
17979}
17980
17981
17982static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
17983 PyObject *resultobj;
17984 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17985 int *arg2 = (int *) 0 ;
17986 int *arg3 = (int *) 0 ;
17987 int temp2 ;
17988 int res2 = 0 ;
17989 int temp3 ;
17990 int res3 = 0 ;
17991 PyObject * obj0 = 0 ;
17992 char *kwnames[] = {
17993 (char *) "self", NULL
17994 };
17995
17996 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17997 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
17999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18001 {
18002 PyThreadState* __tstate = wxPyBeginAllowThreads();
18003 ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3);
18004
18005 wxPyEndAllowThreads(__tstate);
18006 if (PyErr_Occurred()) SWIG_fail;
18007 }
18008 Py_INCREF(Py_None); resultobj = Py_None;
18009 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18010 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18011 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18012 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
18013 return resultobj;
18014 fail:
18015 return NULL;
18016}
18017
18018
18019static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
18020 PyObject *resultobj;
18021 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18022 int *arg2 = (int *) 0 ;
18023 int *arg3 = (int *) 0 ;
18024 int temp2 ;
18025 int res2 = 0 ;
18026 int temp3 ;
18027 int res3 = 0 ;
18028 PyObject * obj0 = 0 ;
18029 char *kwnames[] = {
18030 (char *) "self", NULL
18031 };
18032
18033 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18034 arg3 = &temp3; res3 = SWIG_NEWOBJ;
18035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
18036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18038 {
18039 PyThreadState* __tstate = wxPyBeginAllowThreads();
18040 ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
18041
18042 wxPyEndAllowThreads(__tstate);
18043 if (PyErr_Occurred()) SWIG_fail;
18044 }
18045 Py_INCREF(Py_None); resultobj = Py_None;
18046 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18047 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18048 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18049 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
18050 return resultobj;
18051 fail:
18052 return NULL;
18053}
18054
18055
18056static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
18057 PyObject *resultobj;
18058 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18059 int *arg2 = (int *) 0 ;
18060 int *arg3 = (int *) 0 ;
18061 int temp2 ;
18062 int res2 = 0 ;
18063 int temp3 ;
18064 int res3 = 0 ;
18065 PyObject * obj0 = 0 ;
18066 char *kwnames[] = {
18067 (char *) "self", NULL
18068 };
18069
18070 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18071 arg3 = &temp3; res3 = SWIG_NEWOBJ;
18072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
18073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18075 {
18076 PyThreadState* __tstate = wxPyBeginAllowThreads();
18077 ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
18078
18079 wxPyEndAllowThreads(__tstate);
18080 if (PyErr_Occurred()) SWIG_fail;
18081 }
18082 Py_INCREF(Py_None); resultobj = Py_None;
18083 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18084 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18085 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18086 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
18087 return resultobj;
18088 fail:
18089 return NULL;
18090}
18091
18092
18093static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
18094 PyObject *resultobj;
18095 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18096 wxSize result;
18097 PyObject * obj0 = 0 ;
18098 char *kwnames[] = {
18099 (char *) "self", NULL
18100 };
18101
18102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
18103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18105 {
18106 PyThreadState* __tstate = wxPyBeginAllowThreads();
18107 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize();
18108
18109 wxPyEndAllowThreads(__tstate);
18110 if (PyErr_Occurred()) SWIG_fail;
18111 }
18112 {
18113 wxSize * resultptr;
18114 resultptr = new wxSize((wxSize &) result);
18115 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18116 }
18117 return resultobj;
18118 fail:
18119 return NULL;
18120}
18121
18122
18123static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
18124 PyObject *resultobj;
18125 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18126 wxSize result;
18127 PyObject * obj0 = 0 ;
18128 char *kwnames[] = {
18129 (char *) "self", NULL
18130 };
18131
18132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
18133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18135 {
18136 PyThreadState* __tstate = wxPyBeginAllowThreads();
18137 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize();
18138
18139 wxPyEndAllowThreads(__tstate);
18140 if (PyErr_Occurred()) SWIG_fail;
18141 }
18142 {
18143 wxSize * resultptr;
18144 resultptr = new wxSize((wxSize &) result);
18145 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18146 }
18147 return resultobj;
18148 fail:
18149 return NULL;
18150}
18151
18152
18153static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
18154 PyObject *resultobj;
18155 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18156 PyObject * obj0 = 0 ;
18157 char *kwnames[] = {
18158 (char *) "self", NULL
18159 };
18160
18161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail;
18162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18164 {
18165 PyThreadState* __tstate = wxPyBeginAllowThreads();
18166 (arg1)->base_InitDialog();
18167
18168 wxPyEndAllowThreads(__tstate);
18169 if (PyErr_Occurred()) SWIG_fail;
18170 }
18171 Py_INCREF(Py_None); resultobj = Py_None;
18172 return resultobj;
18173 fail:
18174 return NULL;
18175}
18176
18177
18178static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
18179 PyObject *resultobj;
18180 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18181 bool result;
18182 PyObject * obj0 = 0 ;
18183 char *kwnames[] = {
18184 (char *) "self", NULL
18185 };
18186
18187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
18188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18190 {
18191 PyThreadState* __tstate = wxPyBeginAllowThreads();
18192 result = (bool)(arg1)->base_TransferDataToWindow();
18193
18194 wxPyEndAllowThreads(__tstate);
18195 if (PyErr_Occurred()) SWIG_fail;
18196 }
18197 {
18198 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18199 }
18200 return resultobj;
18201 fail:
18202 return NULL;
18203}
18204
18205
18206static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
18207 PyObject *resultobj;
18208 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18209 bool result;
18210 PyObject * obj0 = 0 ;
18211 char *kwnames[] = {
18212 (char *) "self", NULL
18213 };
18214
18215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
18216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18218 {
18219 PyThreadState* __tstate = wxPyBeginAllowThreads();
18220 result = (bool)(arg1)->base_TransferDataFromWindow();
18221
18222 wxPyEndAllowThreads(__tstate);
18223 if (PyErr_Occurred()) SWIG_fail;
18224 }
18225 {
18226 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18227 }
18228 return resultobj;
18229 fail:
18230 return NULL;
18231}
18232
18233
18234static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
18235 PyObject *resultobj;
18236 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18237 bool result;
18238 PyObject * obj0 = 0 ;
18239 char *kwnames[] = {
18240 (char *) "self", NULL
18241 };
18242
18243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail;
18244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18246 {
18247 PyThreadState* __tstate = wxPyBeginAllowThreads();
18248 result = (bool)(arg1)->base_Validate();
18249
18250 wxPyEndAllowThreads(__tstate);
18251 if (PyErr_Occurred()) SWIG_fail;
18252 }
18253 {
18254 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18255 }
18256 return resultobj;
18257 fail:
18258 return NULL;
18259}
18260
18261
18262static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
18263 PyObject *resultobj;
18264 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18265 bool result;
18266 PyObject * obj0 = 0 ;
18267 char *kwnames[] = {
18268 (char *) "self", NULL
18269 };
18270
18271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
18272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18274 {
18275 PyThreadState* __tstate = wxPyBeginAllowThreads();
18276 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus();
18277
18278 wxPyEndAllowThreads(__tstate);
18279 if (PyErr_Occurred()) SWIG_fail;
18280 }
18281 {
18282 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18283 }
18284 return resultobj;
18285 fail:
18286 return NULL;
18287}
18288
18289
18290static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
18291 PyObject *resultobj;
18292 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18293 bool result;
18294 PyObject * obj0 = 0 ;
18295 char *kwnames[] = {
18296 (char *) "self", NULL
18297 };
18298
18299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
18300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18302 {
18303 PyThreadState* __tstate = wxPyBeginAllowThreads();
18304 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
18305
18306 wxPyEndAllowThreads(__tstate);
18307 if (PyErr_Occurred()) SWIG_fail;
18308 }
18309 {
18310 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18311 }
18312 return resultobj;
18313 fail:
18314 return NULL;
18315}
18316
18317
18318static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
18319 PyObject *resultobj;
18320 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18321 wxSize result;
18322 PyObject * obj0 = 0 ;
18323 char *kwnames[] = {
18324 (char *) "self", NULL
18325 };
18326
18327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
18328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18330 {
18331 PyThreadState* __tstate = wxPyBeginAllowThreads();
18332 result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize();
18333
18334 wxPyEndAllowThreads(__tstate);
18335 if (PyErr_Occurred()) SWIG_fail;
18336 }
18337 {
18338 wxSize * resultptr;
18339 resultptr = new wxSize((wxSize &) result);
18340 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18341 }
18342 return resultobj;
18343 fail:
18344 return NULL;
18345}
18346
18347
18348static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
18349 PyObject *resultobj;
18350 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18351 wxWindow *arg2 = (wxWindow *) 0 ;
18352 PyObject * obj0 = 0 ;
18353 PyObject * obj1 = 0 ;
18354 char *kwnames[] = {
18355 (char *) "self",(char *) "child", NULL
18356 };
18357
18358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
18359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18361 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18363 {
18364 PyThreadState* __tstate = wxPyBeginAllowThreads();
18365 (arg1)->base_AddChild(arg2);
18366
18367 wxPyEndAllowThreads(__tstate);
18368 if (PyErr_Occurred()) SWIG_fail;
18369 }
18370 Py_INCREF(Py_None); resultobj = Py_None;
18371 return resultobj;
18372 fail:
18373 return NULL;
18374}
18375
18376
18377static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
18378 PyObject *resultobj;
18379 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18380 wxWindow *arg2 = (wxWindow *) 0 ;
18381 PyObject * obj0 = 0 ;
18382 PyObject * obj1 = 0 ;
18383 char *kwnames[] = {
18384 (char *) "self",(char *) "child", NULL
18385 };
18386
18387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
18388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18390 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18392 {
18393 PyThreadState* __tstate = wxPyBeginAllowThreads();
18394 (arg1)->base_RemoveChild(arg2);
18395
18396 wxPyEndAllowThreads(__tstate);
18397 if (PyErr_Occurred()) SWIG_fail;
18398 }
18399 Py_INCREF(Py_None); resultobj = Py_None;
18400 return resultobj;
18401 fail:
18402 return NULL;
18403}
18404
18405
18406static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
18407 PyObject *resultobj;
18408 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18409 bool result;
18410 PyObject * obj0 = 0 ;
18411 char *kwnames[] = {
18412 (char *) "self", NULL
18413 };
18414
18415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
18416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18418 {
18419 PyThreadState* __tstate = wxPyBeginAllowThreads();
18420 result = (bool)((wxPyScrolledWindow const *)arg1)->base_ShouldInheritColours();
18421
18422 wxPyEndAllowThreads(__tstate);
18423 if (PyErr_Occurred()) SWIG_fail;
18424 }
18425 {
18426 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18427 }
18428 return resultobj;
18429 fail:
18430 return NULL;
18431}
18432
18433
18434static PyObject *_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
18435 PyObject *resultobj;
18436 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18437 wxColour *arg2 = 0 ;
18438 wxColour temp2 ;
18439 PyObject * obj0 = 0 ;
18440 PyObject * obj1 = 0 ;
18441 char *kwnames[] = {
18442 (char *) "self",(char *) "c", NULL
18443 };
18444
18445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
18446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18448 {
18449 arg2 = &temp2;
18450 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18451 }
18452 {
18453 PyThreadState* __tstate = wxPyBeginAllowThreads();
18454 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
18455
18456 wxPyEndAllowThreads(__tstate);
18457 if (PyErr_Occurred()) SWIG_fail;
18458 }
18459 Py_INCREF(Py_None); resultobj = Py_None;
18460 return resultobj;
18461 fail:
18462 return NULL;
18463}
18464
18465
18466static PyObject *_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
18467 PyObject *resultobj;
18468 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18469 wxVisualAttributes result;
18470 PyObject * obj0 = 0 ;
18471 char *kwnames[] = {
18472 (char *) "self", NULL
18473 };
18474
18475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
18476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18478 {
18479 PyThreadState* __tstate = wxPyBeginAllowThreads();
18480 result = (arg1)->base_GetDefaultAttributes();
18481
18482 wxPyEndAllowThreads(__tstate);
18483 if (PyErr_Occurred()) SWIG_fail;
18484 }
18485 {
18486 wxVisualAttributes * resultptr;
18487 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
18488 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
18489 }
18490 return resultobj;
18491 fail:
18492 return NULL;
18493}
18494
18495
18496static PyObject * PyScrolledWindow_swigregister(PyObject *, PyObject *args) {
18497 PyObject *obj;
18498 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18499 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj);
18500 Py_INCREF(obj);
18501 return Py_BuildValue((char *)"");
18502}
18503static int _wrap_PrintoutTitleStr_set(PyObject *) {
18504 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
18505 return 1;
18506}
18507
18508
18509static PyObject *_wrap_PrintoutTitleStr_get() {
18510 PyObject *pyobj;
18511
18512 {
18513#if wxUSE_UNICODE
18514 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
18515#else
18516 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
18517#endif
18518 }
18519 return pyobj;
18520}
18521
18522
18523static int _wrap_PreviewCanvasNameStr_set(PyObject *) {
18524 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
18525 return 1;
18526}
18527
18528
18529static PyObject *_wrap_PreviewCanvasNameStr_get() {
18530 PyObject *pyobj;
18531
18532 {
18533#if wxUSE_UNICODE
18534 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
18535#else
18536 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
18537#endif
18538 }
18539 return pyobj;
18540}
18541
18542
18543static PyObject *_wrap_new_PrintData__SWIG_0(PyObject *, PyObject *args) {
18544 PyObject *resultobj;
18545 wxPrintData *result;
18546
18547 if(!PyArg_ParseTuple(args,(char *)":new_PrintData")) goto fail;
18548 {
18549 PyThreadState* __tstate = wxPyBeginAllowThreads();
18550 result = (wxPrintData *)new wxPrintData();
18551
18552 wxPyEndAllowThreads(__tstate);
18553 if (PyErr_Occurred()) SWIG_fail;
18554 }
18555 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
18556 return resultobj;
18557 fail:
18558 return NULL;
18559}
18560
18561
18562static PyObject *_wrap_new_PrintData__SWIG_1(PyObject *, PyObject *args) {
18563 PyObject *resultobj;
18564 wxPrintData *arg1 = 0 ;
18565 wxPrintData *result;
18566 PyObject * obj0 = 0 ;
18567
18568 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintData",&obj0)) goto fail;
18569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18570 SWIG_POINTER_EXCEPTION | 0)) == -1)
18571 SWIG_fail;
18572 if (arg1 == NULL) {
18573 PyErr_SetString(PyExc_TypeError,"null reference");
18574 SWIG_fail;
18575 }
18576 {
18577 PyThreadState* __tstate = wxPyBeginAllowThreads();
18578 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
18579
18580 wxPyEndAllowThreads(__tstate);
18581 if (PyErr_Occurred()) SWIG_fail;
18582 }
18583 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
18584 return resultobj;
18585 fail:
18586 return NULL;
18587}
18588
18589
18590static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
18591 int argc;
18592 PyObject *argv[2];
18593 int ii;
18594
18595 argc = PyObject_Length(args);
18596 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
18597 argv[ii] = PyTuple_GetItem(args,ii);
18598 }
18599 if (argc == 0) {
18600 return _wrap_new_PrintData__SWIG_0(self,args);
18601 }
18602 if (argc == 1) {
18603 int _v;
18604 {
18605 void *ptr;
18606 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
18607 _v = 0;
18608 PyErr_Clear();
18609 } else {
18610 _v = 1;
18611 }
18612 }
18613 if (_v) {
18614 return _wrap_new_PrintData__SWIG_1(self,args);
18615 }
18616 }
18617
18618 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintData'");
18619 return NULL;
18620}
18621
18622
18623static PyObject *_wrap_delete_PrintData(PyObject *, PyObject *args, PyObject *kwargs) {
18624 PyObject *resultobj;
18625 wxPrintData *arg1 = (wxPrintData *) 0 ;
18626 PyObject * obj0 = 0 ;
18627 char *kwnames[] = {
18628 (char *) "self", NULL
18629 };
18630
18631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
18632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18634 {
18635 PyThreadState* __tstate = wxPyBeginAllowThreads();
18636 delete arg1;
18637
18638 wxPyEndAllowThreads(__tstate);
18639 if (PyErr_Occurred()) SWIG_fail;
18640 }
18641 Py_INCREF(Py_None); resultobj = Py_None;
18642 return resultobj;
18643 fail:
18644 return NULL;
18645}
18646
18647
18648static PyObject *_wrap_PrintData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
18649 PyObject *resultobj;
18650 wxPrintData *arg1 = (wxPrintData *) 0 ;
18651 int result;
18652 PyObject * obj0 = 0 ;
18653 char *kwnames[] = {
18654 (char *) "self", NULL
18655 };
18656
18657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
18658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18660 {
18661 PyThreadState* __tstate = wxPyBeginAllowThreads();
18662 result = (int)(arg1)->GetNoCopies();
18663
18664 wxPyEndAllowThreads(__tstate);
18665 if (PyErr_Occurred()) SWIG_fail;
18666 }
18667 resultobj = SWIG_From_int((int)result);
18668 return resultobj;
18669 fail:
18670 return NULL;
18671}
18672
18673
18674static PyObject *_wrap_PrintData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
18675 PyObject *resultobj;
18676 wxPrintData *arg1 = (wxPrintData *) 0 ;
18677 bool result;
18678 PyObject * obj0 = 0 ;
18679 char *kwnames[] = {
18680 (char *) "self", NULL
18681 };
18682
18683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
18684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18686 {
18687 PyThreadState* __tstate = wxPyBeginAllowThreads();
18688 result = (bool)(arg1)->GetCollate();
18689
18690 wxPyEndAllowThreads(__tstate);
18691 if (PyErr_Occurred()) SWIG_fail;
18692 }
18693 {
18694 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18695 }
18696 return resultobj;
18697 fail:
18698 return NULL;
18699}
18700
18701
18702static PyObject *_wrap_PrintData_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
18703 PyObject *resultobj;
18704 wxPrintData *arg1 = (wxPrintData *) 0 ;
18705 int result;
18706 PyObject * obj0 = 0 ;
18707 char *kwnames[] = {
18708 (char *) "self", NULL
18709 };
18710
18711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
18712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18714 {
18715 PyThreadState* __tstate = wxPyBeginAllowThreads();
18716 result = (int)(arg1)->GetOrientation();
18717
18718 wxPyEndAllowThreads(__tstate);
18719 if (PyErr_Occurred()) SWIG_fail;
18720 }
18721 resultobj = SWIG_From_int((int)result);
18722 return resultobj;
18723 fail:
18724 return NULL;
18725}
18726
18727
18728static PyObject *_wrap_PrintData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
18729 PyObject *resultobj;
18730 wxPrintData *arg1 = (wxPrintData *) 0 ;
18731 bool result;
18732 PyObject * obj0 = 0 ;
18733 char *kwnames[] = {
18734 (char *) "self", NULL
18735 };
18736
18737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
18738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18740 {
18741 PyThreadState* __tstate = wxPyBeginAllowThreads();
18742 result = (bool)(arg1)->Ok();
18743
18744 wxPyEndAllowThreads(__tstate);
18745 if (PyErr_Occurred()) SWIG_fail;
18746 }
18747 {
18748 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18749 }
18750 return resultobj;
18751 fail:
18752 return NULL;
18753}
18754
18755
18756static PyObject *_wrap_PrintData_GetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
18757 PyObject *resultobj;
18758 wxPrintData *arg1 = (wxPrintData *) 0 ;
18759 wxString *result;
18760 PyObject * obj0 = 0 ;
18761 char *kwnames[] = {
18762 (char *) "self", NULL
18763 };
18764
18765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
18766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18768 {
18769 PyThreadState* __tstate = wxPyBeginAllowThreads();
18770 {
18771 wxString const &_result_ref = (arg1)->GetPrinterName();
18772 result = (wxString *) &_result_ref;
18773 }
18774
18775 wxPyEndAllowThreads(__tstate);
18776 if (PyErr_Occurred()) SWIG_fail;
18777 }
18778 {
18779#if wxUSE_UNICODE
18780 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18781#else
18782 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18783#endif
18784 }
18785 return resultobj;
18786 fail:
18787 return NULL;
18788}
18789
18790
18791static PyObject *_wrap_PrintData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
18792 PyObject *resultobj;
18793 wxPrintData *arg1 = (wxPrintData *) 0 ;
18794 bool result;
18795 PyObject * obj0 = 0 ;
18796 char *kwnames[] = {
18797 (char *) "self", NULL
18798 };
18799
18800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
18801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18803 {
18804 PyThreadState* __tstate = wxPyBeginAllowThreads();
18805 result = (bool)(arg1)->GetColour();
18806
18807 wxPyEndAllowThreads(__tstate);
18808 if (PyErr_Occurred()) SWIG_fail;
18809 }
18810 {
18811 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18812 }
18813 return resultobj;
18814 fail:
18815 return NULL;
18816}
18817
18818
18819static PyObject *_wrap_PrintData_GetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
18820 PyObject *resultobj;
18821 wxPrintData *arg1 = (wxPrintData *) 0 ;
18822 int result;
18823 PyObject * obj0 = 0 ;
18824 char *kwnames[] = {
18825 (char *) "self", NULL
18826 };
18827
18828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
18829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18831 {
18832 PyThreadState* __tstate = wxPyBeginAllowThreads();
18833 result = (int)(arg1)->GetDuplex();
18834
18835 wxPyEndAllowThreads(__tstate);
18836 if (PyErr_Occurred()) SWIG_fail;
18837 }
18838 resultobj = SWIG_From_int((int)result);
18839 return resultobj;
18840 fail:
18841 return NULL;
18842}
18843
18844
18845static PyObject *_wrap_PrintData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
18846 PyObject *resultobj;
18847 wxPrintData *arg1 = (wxPrintData *) 0 ;
18848 int result;
18849 PyObject * obj0 = 0 ;
18850 char *kwnames[] = {
18851 (char *) "self", NULL
18852 };
18853
18854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
18855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18857 {
18858 PyThreadState* __tstate = wxPyBeginAllowThreads();
18859 result = (int)(arg1)->GetPaperId();
18860
18861 wxPyEndAllowThreads(__tstate);
18862 if (PyErr_Occurred()) SWIG_fail;
18863 }
18864 resultobj = SWIG_From_int((int)result);
18865 return resultobj;
18866 fail:
18867 return NULL;
18868}
18869
18870
18871static PyObject *_wrap_PrintData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
18872 PyObject *resultobj;
18873 wxPrintData *arg1 = (wxPrintData *) 0 ;
18874 wxSize *result;
18875 PyObject * obj0 = 0 ;
18876 char *kwnames[] = {
18877 (char *) "self", NULL
18878 };
18879
18880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
18881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18883 {
18884 PyThreadState* __tstate = wxPyBeginAllowThreads();
18885 {
18886 wxSize const &_result_ref = (arg1)->GetPaperSize();
18887 result = (wxSize *) &_result_ref;
18888 }
18889
18890 wxPyEndAllowThreads(__tstate);
18891 if (PyErr_Occurred()) SWIG_fail;
18892 }
18893 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
18894 return resultobj;
18895 fail:
18896 return NULL;
18897}
18898
18899
18900static PyObject *_wrap_PrintData_GetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
18901 PyObject *resultobj;
18902 wxPrintData *arg1 = (wxPrintData *) 0 ;
18903 int result;
18904 PyObject * obj0 = 0 ;
18905 char *kwnames[] = {
18906 (char *) "self", NULL
18907 };
18908
18909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
18910 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18912 {
18913 PyThreadState* __tstate = wxPyBeginAllowThreads();
18914 result = (int)(arg1)->GetQuality();
18915
18916 wxPyEndAllowThreads(__tstate);
18917 if (PyErr_Occurred()) SWIG_fail;
18918 }
18919 resultobj = SWIG_From_int((int)result);
18920 return resultobj;
18921 fail:
18922 return NULL;
18923}
18924
18925
18926static PyObject *_wrap_PrintData_GetBin(PyObject *, PyObject *args, PyObject *kwargs) {
18927 PyObject *resultobj;
18928 wxPrintData *arg1 = (wxPrintData *) 0 ;
18929 int result;
18930 PyObject * obj0 = 0 ;
18931 char *kwnames[] = {
18932 (char *) "self", NULL
18933 };
18934
18935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetBin",kwnames,&obj0)) goto fail;
18936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18938 {
18939 PyThreadState* __tstate = wxPyBeginAllowThreads();
18940 result = (int)(arg1)->GetBin();
18941
18942 wxPyEndAllowThreads(__tstate);
18943 if (PyErr_Occurred()) SWIG_fail;
18944 }
18945 resultobj = SWIG_From_int((int)result);
18946 return resultobj;
18947 fail:
18948 return NULL;
18949}
18950
18951
18952static PyObject *_wrap_PrintData_GetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
18953 PyObject *resultobj;
18954 wxPrintData *arg1 = (wxPrintData *) 0 ;
18955 int result;
18956 PyObject * obj0 = 0 ;
18957 char *kwnames[] = {
18958 (char *) "self", NULL
18959 };
18960
18961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
18962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18964 {
18965 PyThreadState* __tstate = wxPyBeginAllowThreads();
18966 result = (int)((wxPrintData const *)arg1)->GetPrintMode();
18967
18968 wxPyEndAllowThreads(__tstate);
18969 if (PyErr_Occurred()) SWIG_fail;
18970 }
18971 resultobj = SWIG_From_int((int)result);
18972 return resultobj;
18973 fail:
18974 return NULL;
18975}
18976
18977
18978static PyObject *_wrap_PrintData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
18979 PyObject *resultobj;
18980 wxPrintData *arg1 = (wxPrintData *) 0 ;
18981 int arg2 ;
18982 PyObject * obj0 = 0 ;
18983 PyObject * obj1 = 0 ;
18984 char *kwnames[] = {
18985 (char *) "self",(char *) "v", NULL
18986 };
18987
18988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
18989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18991 arg2 = (int)SWIG_As_int(obj1);
18992 if (PyErr_Occurred()) SWIG_fail;
18993 {
18994 PyThreadState* __tstate = wxPyBeginAllowThreads();
18995 (arg1)->SetNoCopies(arg2);
18996
18997 wxPyEndAllowThreads(__tstate);
18998 if (PyErr_Occurred()) SWIG_fail;
18999 }
19000 Py_INCREF(Py_None); resultobj = Py_None;
19001 return resultobj;
19002 fail:
19003 return NULL;
19004}
19005
19006
19007static PyObject *_wrap_PrintData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
19008 PyObject *resultobj;
19009 wxPrintData *arg1 = (wxPrintData *) 0 ;
19010 bool arg2 ;
19011 PyObject * obj0 = 0 ;
19012 PyObject * obj1 = 0 ;
19013 char *kwnames[] = {
19014 (char *) "self",(char *) "flag", NULL
19015 };
19016
19017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
19018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19020 arg2 = (bool)SWIG_As_bool(obj1);
19021 if (PyErr_Occurred()) SWIG_fail;
19022 {
19023 PyThreadState* __tstate = wxPyBeginAllowThreads();
19024 (arg1)->SetCollate(arg2);
19025
19026 wxPyEndAllowThreads(__tstate);
19027 if (PyErr_Occurred()) SWIG_fail;
19028 }
19029 Py_INCREF(Py_None); resultobj = Py_None;
19030 return resultobj;
19031 fail:
19032 return NULL;
19033}
19034
19035
19036static PyObject *_wrap_PrintData_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
19037 PyObject *resultobj;
19038 wxPrintData *arg1 = (wxPrintData *) 0 ;
19039 int arg2 ;
19040 PyObject * obj0 = 0 ;
19041 PyObject * obj1 = 0 ;
19042 char *kwnames[] = {
19043 (char *) "self",(char *) "orient", NULL
19044 };
19045
19046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
19047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19049 arg2 = (int)SWIG_As_int(obj1);
19050 if (PyErr_Occurred()) SWIG_fail;
19051 {
19052 PyThreadState* __tstate = wxPyBeginAllowThreads();
19053 (arg1)->SetOrientation(arg2);
19054
19055 wxPyEndAllowThreads(__tstate);
19056 if (PyErr_Occurred()) SWIG_fail;
19057 }
19058 Py_INCREF(Py_None); resultobj = Py_None;
19059 return resultobj;
19060 fail:
19061 return NULL;
19062}
19063
19064
19065static PyObject *_wrap_PrintData_SetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
19066 PyObject *resultobj;
19067 wxPrintData *arg1 = (wxPrintData *) 0 ;
19068 wxString *arg2 = 0 ;
19069 bool temp2 = false ;
19070 PyObject * obj0 = 0 ;
19071 PyObject * obj1 = 0 ;
19072 char *kwnames[] = {
19073 (char *) "self",(char *) "name", NULL
19074 };
19075
19076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
19077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19079 {
19080 arg2 = wxString_in_helper(obj1);
19081 if (arg2 == NULL) SWIG_fail;
19082 temp2 = true;
19083 }
19084 {
19085 PyThreadState* __tstate = wxPyBeginAllowThreads();
19086 (arg1)->SetPrinterName((wxString const &)*arg2);
19087
19088 wxPyEndAllowThreads(__tstate);
19089 if (PyErr_Occurred()) SWIG_fail;
19090 }
19091 Py_INCREF(Py_None); resultobj = Py_None;
19092 {
19093 if (temp2)
19094 delete arg2;
19095 }
19096 return resultobj;
19097 fail:
19098 {
19099 if (temp2)
19100 delete arg2;
19101 }
19102 return NULL;
19103}
19104
19105
19106static PyObject *_wrap_PrintData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
19107 PyObject *resultobj;
19108 wxPrintData *arg1 = (wxPrintData *) 0 ;
19109 bool arg2 ;
19110 PyObject * obj0 = 0 ;
19111 PyObject * obj1 = 0 ;
19112 char *kwnames[] = {
19113 (char *) "self",(char *) "colour", NULL
19114 };
19115
19116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
19117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19119 arg2 = (bool)SWIG_As_bool(obj1);
19120 if (PyErr_Occurred()) SWIG_fail;
19121 {
19122 PyThreadState* __tstate = wxPyBeginAllowThreads();
19123 (arg1)->SetColour(arg2);
19124
19125 wxPyEndAllowThreads(__tstate);
19126 if (PyErr_Occurred()) SWIG_fail;
19127 }
19128 Py_INCREF(Py_None); resultobj = Py_None;
19129 return resultobj;
19130 fail:
19131 return NULL;
19132}
19133
19134
19135static PyObject *_wrap_PrintData_SetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
19136 PyObject *resultobj;
19137 wxPrintData *arg1 = (wxPrintData *) 0 ;
19138 int arg2 ;
19139 PyObject * obj0 = 0 ;
19140 PyObject * obj1 = 0 ;
19141 char *kwnames[] = {
19142 (char *) "self",(char *) "duplex", NULL
19143 };
19144
19145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
19146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19148 arg2 = (int)SWIG_As_int(obj1);
19149 if (PyErr_Occurred()) SWIG_fail;
19150 {
19151 PyThreadState* __tstate = wxPyBeginAllowThreads();
19152 (arg1)->SetDuplex((wxDuplexMode )arg2);
19153
19154 wxPyEndAllowThreads(__tstate);
19155 if (PyErr_Occurred()) SWIG_fail;
19156 }
19157 Py_INCREF(Py_None); resultobj = Py_None;
19158 return resultobj;
19159 fail:
19160 return NULL;
19161}
19162
19163
19164static PyObject *_wrap_PrintData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
19165 PyObject *resultobj;
19166 wxPrintData *arg1 = (wxPrintData *) 0 ;
19167 int arg2 ;
19168 PyObject * obj0 = 0 ;
19169 PyObject * obj1 = 0 ;
19170 char *kwnames[] = {
19171 (char *) "self",(char *) "sizeId", NULL
19172 };
19173
19174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
19175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19177 arg2 = (int)SWIG_As_int(obj1);
19178 if (PyErr_Occurred()) SWIG_fail;
19179 {
19180 PyThreadState* __tstate = wxPyBeginAllowThreads();
19181 (arg1)->SetPaperId((wxPaperSize )arg2);
19182
19183 wxPyEndAllowThreads(__tstate);
19184 if (PyErr_Occurred()) SWIG_fail;
19185 }
19186 Py_INCREF(Py_None); resultobj = Py_None;
19187 return resultobj;
19188 fail:
19189 return NULL;
19190}
19191
19192
19193static PyObject *_wrap_PrintData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
19194 PyObject *resultobj;
19195 wxPrintData *arg1 = (wxPrintData *) 0 ;
19196 wxSize *arg2 = 0 ;
19197 wxSize temp2 ;
19198 PyObject * obj0 = 0 ;
19199 PyObject * obj1 = 0 ;
19200 char *kwnames[] = {
19201 (char *) "self",(char *) "sz", NULL
19202 };
19203
19204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
19205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19207 {
19208 arg2 = &temp2;
19209 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19210 }
19211 {
19212 PyThreadState* __tstate = wxPyBeginAllowThreads();
19213 (arg1)->SetPaperSize((wxSize const &)*arg2);
19214
19215 wxPyEndAllowThreads(__tstate);
19216 if (PyErr_Occurred()) SWIG_fail;
19217 }
19218 Py_INCREF(Py_None); resultobj = Py_None;
19219 return resultobj;
19220 fail:
19221 return NULL;
19222}
19223
19224
19225static PyObject *_wrap_PrintData_SetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
19226 PyObject *resultobj;
19227 wxPrintData *arg1 = (wxPrintData *) 0 ;
19228 int arg2 ;
19229 PyObject * obj0 = 0 ;
19230 PyObject * obj1 = 0 ;
19231 char *kwnames[] = {
19232 (char *) "self",(char *) "quality", NULL
19233 };
19234
19235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
19236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19238 arg2 = (int)SWIG_As_int(obj1);
19239 if (PyErr_Occurred()) SWIG_fail;
19240 {
19241 PyThreadState* __tstate = wxPyBeginAllowThreads();
19242 (arg1)->SetQuality(arg2);
19243
19244 wxPyEndAllowThreads(__tstate);
19245 if (PyErr_Occurred()) SWIG_fail;
19246 }
19247 Py_INCREF(Py_None); resultobj = Py_None;
19248 return resultobj;
19249 fail:
19250 return NULL;
19251}
19252
19253
19254static PyObject *_wrap_PrintData_SetBin(PyObject *, PyObject *args, PyObject *kwargs) {
19255 PyObject *resultobj;
19256 wxPrintData *arg1 = (wxPrintData *) 0 ;
19257 int arg2 ;
19258 PyObject * obj0 = 0 ;
19259 PyObject * obj1 = 0 ;
19260 char *kwnames[] = {
19261 (char *) "self",(char *) "bin", NULL
19262 };
19263
19264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) goto fail;
19265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19267 arg2 = (int)SWIG_As_int(obj1);
19268 if (PyErr_Occurred()) SWIG_fail;
19269 {
19270 PyThreadState* __tstate = wxPyBeginAllowThreads();
19271 (arg1)->SetBin((wxPrintBin )arg2);
19272
19273 wxPyEndAllowThreads(__tstate);
19274 if (PyErr_Occurred()) SWIG_fail;
19275 }
19276 Py_INCREF(Py_None); resultobj = Py_None;
19277 return resultobj;
19278 fail:
19279 return NULL;
19280}
19281
19282
19283static PyObject *_wrap_PrintData_SetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
19284 PyObject *resultobj;
19285 wxPrintData *arg1 = (wxPrintData *) 0 ;
19286 int arg2 ;
19287 PyObject * obj0 = 0 ;
19288 PyObject * obj1 = 0 ;
19289 char *kwnames[] = {
19290 (char *) "self",(char *) "printMode", NULL
19291 };
19292
19293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
19294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19296 arg2 = (int)SWIG_As_int(obj1);
19297 if (PyErr_Occurred()) SWIG_fail;
19298 {
19299 PyThreadState* __tstate = wxPyBeginAllowThreads();
19300 (arg1)->SetPrintMode((wxPrintMode )arg2);
19301
19302 wxPyEndAllowThreads(__tstate);
19303 if (PyErr_Occurred()) SWIG_fail;
19304 }
19305 Py_INCREF(Py_None); resultobj = Py_None;
19306 return resultobj;
19307 fail:
19308 return NULL;
19309}
19310
19311
19312static PyObject *_wrap_PrintData_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
19313 PyObject *resultobj;
19314 wxPrintData *arg1 = (wxPrintData *) 0 ;
19315 wxString result;
19316 PyObject * obj0 = 0 ;
19317 char *kwnames[] = {
19318 (char *) "self", NULL
19319 };
19320
19321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
19322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19324 {
19325 PyThreadState* __tstate = wxPyBeginAllowThreads();
19326 result = ((wxPrintData const *)arg1)->GetFilename();
19327
19328 wxPyEndAllowThreads(__tstate);
19329 if (PyErr_Occurred()) SWIG_fail;
19330 }
19331 {
19332#if wxUSE_UNICODE
19333 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19334#else
19335 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19336#endif
19337 }
19338 return resultobj;
19339 fail:
19340 return NULL;
19341}
19342
19343
19344static PyObject *_wrap_PrintData_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
19345 PyObject *resultobj;
19346 wxPrintData *arg1 = (wxPrintData *) 0 ;
19347 wxString *arg2 = 0 ;
19348 bool temp2 = false ;
19349 PyObject * obj0 = 0 ;
19350 PyObject * obj1 = 0 ;
19351 char *kwnames[] = {
19352 (char *) "self",(char *) "filename", NULL
19353 };
19354
19355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
19356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19358 {
19359 arg2 = wxString_in_helper(obj1);
19360 if (arg2 == NULL) SWIG_fail;
19361 temp2 = true;
19362 }
19363 {
19364 PyThreadState* __tstate = wxPyBeginAllowThreads();
19365 (arg1)->SetFilename((wxString const &)*arg2);
19366
19367 wxPyEndAllowThreads(__tstate);
19368 if (PyErr_Occurred()) SWIG_fail;
19369 }
19370 Py_INCREF(Py_None); resultobj = Py_None;
19371 {
19372 if (temp2)
19373 delete arg2;
19374 }
19375 return resultobj;
19376 fail:
19377 {
19378 if (temp2)
19379 delete arg2;
19380 }
19381 return NULL;
19382}
19383
19384
19385static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
19386 PyObject *resultobj;
19387 wxPrintData *arg1 = (wxPrintData *) 0 ;
19388 wxString *result;
19389 PyObject * obj0 = 0 ;
19390 char *kwnames[] = {
19391 (char *) "self", NULL
19392 };
19393
19394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
19395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19397 {
19398 PyThreadState* __tstate = wxPyBeginAllowThreads();
19399 {
19400 wxString const &_result_ref = (arg1)->GetPrinterCommand();
19401 result = (wxString *) &_result_ref;
19402 }
19403
19404 wxPyEndAllowThreads(__tstate);
19405 if (PyErr_Occurred()) SWIG_fail;
19406 }
19407 {
19408#if wxUSE_UNICODE
19409 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19410#else
19411 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19412#endif
19413 }
19414 return resultobj;
19415 fail:
19416 return NULL;
19417}
19418
19419
19420static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) {
19421 PyObject *resultobj;
19422 wxPrintData *arg1 = (wxPrintData *) 0 ;
19423 wxString *result;
19424 PyObject * obj0 = 0 ;
19425 char *kwnames[] = {
19426 (char *) "self", NULL
19427 };
19428
19429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
19430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19432 {
19433 PyThreadState* __tstate = wxPyBeginAllowThreads();
19434 {
19435 wxString const &_result_ref = (arg1)->GetPrinterOptions();
19436 result = (wxString *) &_result_ref;
19437 }
19438
19439 wxPyEndAllowThreads(__tstate);
19440 if (PyErr_Occurred()) SWIG_fail;
19441 }
19442 {
19443#if wxUSE_UNICODE
19444 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19445#else
19446 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19447#endif
19448 }
19449 return resultobj;
19450 fail:
19451 return NULL;
19452}
19453
19454
19455static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) {
19456 PyObject *resultobj;
19457 wxPrintData *arg1 = (wxPrintData *) 0 ;
19458 wxString *result;
19459 PyObject * obj0 = 0 ;
19460 char *kwnames[] = {
19461 (char *) "self", NULL
19462 };
19463
19464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
19465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19467 {
19468 PyThreadState* __tstate = wxPyBeginAllowThreads();
19469 {
19470 wxString const &_result_ref = (arg1)->GetPreviewCommand();
19471 result = (wxString *) &_result_ref;
19472 }
19473
19474 wxPyEndAllowThreads(__tstate);
19475 if (PyErr_Occurred()) SWIG_fail;
19476 }
19477 {
19478#if wxUSE_UNICODE
19479 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19480#else
19481 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19482#endif
19483 }
19484 return resultobj;
19485 fail:
19486 return NULL;
19487}
19488
19489
19490static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) {
19491 PyObject *resultobj;
19492 wxPrintData *arg1 = (wxPrintData *) 0 ;
19493 wxString *result;
19494 PyObject * obj0 = 0 ;
19495 char *kwnames[] = {
19496 (char *) "self", NULL
19497 };
19498
19499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
19500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19502 {
19503 PyThreadState* __tstate = wxPyBeginAllowThreads();
19504 {
19505 wxString const &_result_ref = (arg1)->GetFontMetricPath();
19506 result = (wxString *) &_result_ref;
19507 }
19508
19509 wxPyEndAllowThreads(__tstate);
19510 if (PyErr_Occurred()) SWIG_fail;
19511 }
19512 {
19513#if wxUSE_UNICODE
19514 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19515#else
19516 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19517#endif
19518 }
19519 return resultobj;
19520 fail:
19521 return NULL;
19522}
19523
19524
19525static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
19526 PyObject *resultobj;
19527 wxPrintData *arg1 = (wxPrintData *) 0 ;
19528 double result;
19529 PyObject * obj0 = 0 ;
19530 char *kwnames[] = {
19531 (char *) "self", NULL
19532 };
19533
19534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
19535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19537 {
19538 PyThreadState* __tstate = wxPyBeginAllowThreads();
19539 result = (double)(arg1)->GetPrinterScaleX();
19540
19541 wxPyEndAllowThreads(__tstate);
19542 if (PyErr_Occurred()) SWIG_fail;
19543 }
19544 resultobj = SWIG_From_double((double)result);
19545 return resultobj;
19546 fail:
19547 return NULL;
19548}
19549
19550
19551static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
19552 PyObject *resultobj;
19553 wxPrintData *arg1 = (wxPrintData *) 0 ;
19554 double result;
19555 PyObject * obj0 = 0 ;
19556 char *kwnames[] = {
19557 (char *) "self", NULL
19558 };
19559
19560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
19561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19563 {
19564 PyThreadState* __tstate = wxPyBeginAllowThreads();
19565 result = (double)(arg1)->GetPrinterScaleY();
19566
19567 wxPyEndAllowThreads(__tstate);
19568 if (PyErr_Occurred()) SWIG_fail;
19569 }
19570 resultobj = SWIG_From_double((double)result);
19571 return resultobj;
19572 fail:
19573 return NULL;
19574}
19575
19576
19577static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) {
19578 PyObject *resultobj;
19579 wxPrintData *arg1 = (wxPrintData *) 0 ;
19580 long result;
19581 PyObject * obj0 = 0 ;
19582 char *kwnames[] = {
19583 (char *) "self", NULL
19584 };
19585
19586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
19587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19589 {
19590 PyThreadState* __tstate = wxPyBeginAllowThreads();
19591 result = (long)(arg1)->GetPrinterTranslateX();
19592
19593 wxPyEndAllowThreads(__tstate);
19594 if (PyErr_Occurred()) SWIG_fail;
19595 }
19596 resultobj = SWIG_From_long((long)result);
19597 return resultobj;
19598 fail:
19599 return NULL;
19600}
19601
19602
19603static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) {
19604 PyObject *resultobj;
19605 wxPrintData *arg1 = (wxPrintData *) 0 ;
19606 long result;
19607 PyObject * obj0 = 0 ;
19608 char *kwnames[] = {
19609 (char *) "self", NULL
19610 };
19611
19612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
19613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19615 {
19616 PyThreadState* __tstate = wxPyBeginAllowThreads();
19617 result = (long)(arg1)->GetPrinterTranslateY();
19618
19619 wxPyEndAllowThreads(__tstate);
19620 if (PyErr_Occurred()) SWIG_fail;
19621 }
19622 resultobj = SWIG_From_long((long)result);
19623 return resultobj;
19624 fail:
19625 return NULL;
19626}
19627
19628
19629static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
19630 PyObject *resultobj;
19631 wxPrintData *arg1 = (wxPrintData *) 0 ;
19632 wxString *arg2 = 0 ;
19633 bool temp2 = false ;
19634 PyObject * obj0 = 0 ;
19635 PyObject * obj1 = 0 ;
19636 char *kwnames[] = {
19637 (char *) "self",(char *) "command", NULL
19638 };
19639
19640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
19641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19643 {
19644 arg2 = wxString_in_helper(obj1);
19645 if (arg2 == NULL) SWIG_fail;
19646 temp2 = true;
19647 }
19648 {
19649 PyThreadState* __tstate = wxPyBeginAllowThreads();
19650 (arg1)->SetPrinterCommand((wxString const &)*arg2);
19651
19652 wxPyEndAllowThreads(__tstate);
19653 if (PyErr_Occurred()) SWIG_fail;
19654 }
19655 Py_INCREF(Py_None); resultobj = Py_None;
19656 {
19657 if (temp2)
19658 delete arg2;
19659 }
19660 return resultobj;
19661 fail:
19662 {
19663 if (temp2)
19664 delete arg2;
19665 }
19666 return NULL;
19667}
19668
19669
19670static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) {
19671 PyObject *resultobj;
19672 wxPrintData *arg1 = (wxPrintData *) 0 ;
19673 wxString *arg2 = 0 ;
19674 bool temp2 = false ;
19675 PyObject * obj0 = 0 ;
19676 PyObject * obj1 = 0 ;
19677 char *kwnames[] = {
19678 (char *) "self",(char *) "options", NULL
19679 };
19680
19681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
19682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19684 {
19685 arg2 = wxString_in_helper(obj1);
19686 if (arg2 == NULL) SWIG_fail;
19687 temp2 = true;
19688 }
19689 {
19690 PyThreadState* __tstate = wxPyBeginAllowThreads();
19691 (arg1)->SetPrinterOptions((wxString const &)*arg2);
19692
19693 wxPyEndAllowThreads(__tstate);
19694 if (PyErr_Occurred()) SWIG_fail;
19695 }
19696 Py_INCREF(Py_None); resultobj = Py_None;
19697 {
19698 if (temp2)
19699 delete arg2;
19700 }
19701 return resultobj;
19702 fail:
19703 {
19704 if (temp2)
19705 delete arg2;
19706 }
19707 return NULL;
19708}
19709
19710
19711static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) {
19712 PyObject *resultobj;
19713 wxPrintData *arg1 = (wxPrintData *) 0 ;
19714 wxString *arg2 = 0 ;
19715 bool temp2 = false ;
19716 PyObject * obj0 = 0 ;
19717 PyObject * obj1 = 0 ;
19718 char *kwnames[] = {
19719 (char *) "self",(char *) "command", NULL
19720 };
19721
19722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
19723 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19725 {
19726 arg2 = wxString_in_helper(obj1);
19727 if (arg2 == NULL) SWIG_fail;
19728 temp2 = true;
19729 }
19730 {
19731 PyThreadState* __tstate = wxPyBeginAllowThreads();
19732 (arg1)->SetPreviewCommand((wxString const &)*arg2);
19733
19734 wxPyEndAllowThreads(__tstate);
19735 if (PyErr_Occurred()) SWIG_fail;
19736 }
19737 Py_INCREF(Py_None); resultobj = Py_None;
19738 {
19739 if (temp2)
19740 delete arg2;
19741 }
19742 return resultobj;
19743 fail:
19744 {
19745 if (temp2)
19746 delete arg2;
19747 }
19748 return NULL;
19749}
19750
19751
19752static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) {
19753 PyObject *resultobj;
19754 wxPrintData *arg1 = (wxPrintData *) 0 ;
19755 wxString *arg2 = 0 ;
19756 bool temp2 = false ;
19757 PyObject * obj0 = 0 ;
19758 PyObject * obj1 = 0 ;
19759 char *kwnames[] = {
19760 (char *) "self",(char *) "path", NULL
19761 };
19762
19763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
19764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19766 {
19767 arg2 = wxString_in_helper(obj1);
19768 if (arg2 == NULL) SWIG_fail;
19769 temp2 = true;
19770 }
19771 {
19772 PyThreadState* __tstate = wxPyBeginAllowThreads();
19773 (arg1)->SetFontMetricPath((wxString const &)*arg2);
19774
19775 wxPyEndAllowThreads(__tstate);
19776 if (PyErr_Occurred()) SWIG_fail;
19777 }
19778 Py_INCREF(Py_None); resultobj = Py_None;
19779 {
19780 if (temp2)
19781 delete arg2;
19782 }
19783 return resultobj;
19784 fail:
19785 {
19786 if (temp2)
19787 delete arg2;
19788 }
19789 return NULL;
19790}
19791
19792
19793static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
19794 PyObject *resultobj;
19795 wxPrintData *arg1 = (wxPrintData *) 0 ;
19796 double arg2 ;
19797 PyObject * obj0 = 0 ;
19798 PyObject * obj1 = 0 ;
19799 char *kwnames[] = {
19800 (char *) "self",(char *) "x", NULL
19801 };
19802
19803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail;
19804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19806 arg2 = (double)SWIG_As_double(obj1);
19807 if (PyErr_Occurred()) SWIG_fail;
19808 {
19809 PyThreadState* __tstate = wxPyBeginAllowThreads();
19810 (arg1)->SetPrinterScaleX(arg2);
19811
19812 wxPyEndAllowThreads(__tstate);
19813 if (PyErr_Occurred()) SWIG_fail;
19814 }
19815 Py_INCREF(Py_None); resultobj = Py_None;
19816 return resultobj;
19817 fail:
19818 return NULL;
19819}
19820
19821
19822static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
19823 PyObject *resultobj;
19824 wxPrintData *arg1 = (wxPrintData *) 0 ;
19825 double arg2 ;
19826 PyObject * obj0 = 0 ;
19827 PyObject * obj1 = 0 ;
19828 char *kwnames[] = {
19829 (char *) "self",(char *) "y", NULL
19830 };
19831
19832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail;
19833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19835 arg2 = (double)SWIG_As_double(obj1);
19836 if (PyErr_Occurred()) SWIG_fail;
19837 {
19838 PyThreadState* __tstate = wxPyBeginAllowThreads();
19839 (arg1)->SetPrinterScaleY(arg2);
19840
19841 wxPyEndAllowThreads(__tstate);
19842 if (PyErr_Occurred()) SWIG_fail;
19843 }
19844 Py_INCREF(Py_None); resultobj = Py_None;
19845 return resultobj;
19846 fail:
19847 return NULL;
19848}
19849
19850
19851static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *, PyObject *args, PyObject *kwargs) {
19852 PyObject *resultobj;
19853 wxPrintData *arg1 = (wxPrintData *) 0 ;
19854 double arg2 ;
19855 double arg3 ;
19856 PyObject * obj0 = 0 ;
19857 PyObject * obj1 = 0 ;
19858 PyObject * obj2 = 0 ;
19859 char *kwnames[] = {
19860 (char *) "self",(char *) "x",(char *) "y", NULL
19861 };
19862
19863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail;
19864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19866 arg2 = (double)SWIG_As_double(obj1);
19867 if (PyErr_Occurred()) SWIG_fail;
19868 arg3 = (double)SWIG_As_double(obj2);
19869 if (PyErr_Occurred()) SWIG_fail;
19870 {
19871 PyThreadState* __tstate = wxPyBeginAllowThreads();
19872 (arg1)->SetPrinterScaling(arg2,arg3);
19873
19874 wxPyEndAllowThreads(__tstate);
19875 if (PyErr_Occurred()) SWIG_fail;
19876 }
19877 Py_INCREF(Py_None); resultobj = Py_None;
19878 return resultobj;
19879 fail:
19880 return NULL;
19881}
19882
19883
19884static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) {
19885 PyObject *resultobj;
19886 wxPrintData *arg1 = (wxPrintData *) 0 ;
19887 long arg2 ;
19888 PyObject * obj0 = 0 ;
19889 PyObject * obj1 = 0 ;
19890 char *kwnames[] = {
19891 (char *) "self",(char *) "x", NULL
19892 };
19893
19894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail;
19895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19897 arg2 = (long)SWIG_As_long(obj1);
19898 if (PyErr_Occurred()) SWIG_fail;
19899 {
19900 PyThreadState* __tstate = wxPyBeginAllowThreads();
19901 (arg1)->SetPrinterTranslateX(arg2);
19902
19903 wxPyEndAllowThreads(__tstate);
19904 if (PyErr_Occurred()) SWIG_fail;
19905 }
19906 Py_INCREF(Py_None); resultobj = Py_None;
19907 return resultobj;
19908 fail:
19909 return NULL;
19910}
19911
19912
19913static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) {
19914 PyObject *resultobj;
19915 wxPrintData *arg1 = (wxPrintData *) 0 ;
19916 long arg2 ;
19917 PyObject * obj0 = 0 ;
19918 PyObject * obj1 = 0 ;
19919 char *kwnames[] = {
19920 (char *) "self",(char *) "y", NULL
19921 };
19922
19923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail;
19924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19926 arg2 = (long)SWIG_As_long(obj1);
19927 if (PyErr_Occurred()) SWIG_fail;
19928 {
19929 PyThreadState* __tstate = wxPyBeginAllowThreads();
19930 (arg1)->SetPrinterTranslateY(arg2);
19931
19932 wxPyEndAllowThreads(__tstate);
19933 if (PyErr_Occurred()) SWIG_fail;
19934 }
19935 Py_INCREF(Py_None); resultobj = Py_None;
19936 return resultobj;
19937 fail:
19938 return NULL;
19939}
19940
19941
19942static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *, PyObject *args, PyObject *kwargs) {
19943 PyObject *resultobj;
19944 wxPrintData *arg1 = (wxPrintData *) 0 ;
19945 long arg2 ;
19946 long arg3 ;
19947 PyObject * obj0 = 0 ;
19948 PyObject * obj1 = 0 ;
19949 PyObject * obj2 = 0 ;
19950 char *kwnames[] = {
19951 (char *) "self",(char *) "x",(char *) "y", NULL
19952 };
19953
19954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail;
19955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19957 arg2 = (long)SWIG_As_long(obj1);
19958 if (PyErr_Occurred()) SWIG_fail;
19959 arg3 = (long)SWIG_As_long(obj2);
19960 if (PyErr_Occurred()) SWIG_fail;
19961 {
19962 PyThreadState* __tstate = wxPyBeginAllowThreads();
19963 (arg1)->SetPrinterTranslation(arg2,arg3);
19964
19965 wxPyEndAllowThreads(__tstate);
19966 if (PyErr_Occurred()) SWIG_fail;
19967 }
19968 Py_INCREF(Py_None); resultobj = Py_None;
19969 return resultobj;
19970 fail:
19971 return NULL;
19972}
19973
19974
19975static PyObject * PrintData_swigregister(PyObject *, PyObject *args) {
19976 PyObject *obj;
19977 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19978 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
19979 Py_INCREF(obj);
19980 return Py_BuildValue((char *)"");
19981}
19982static PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *, PyObject *args) {
19983 PyObject *resultobj;
19984 wxPageSetupDialogData *result;
19985
19986 if(!PyArg_ParseTuple(args,(char *)":new_PageSetupDialogData")) goto fail;
19987 {
19988 PyThreadState* __tstate = wxPyBeginAllowThreads();
19989 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
19990
19991 wxPyEndAllowThreads(__tstate);
19992 if (PyErr_Occurred()) SWIG_fail;
19993 }
19994 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
19995 return resultobj;
19996 fail:
19997 return NULL;
19998}
19999
20000
20001static PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *, PyObject *args) {
20002 PyObject *resultobj;
20003 wxPageSetupDialogData *arg1 = 0 ;
20004 wxPageSetupDialogData *result;
20005 PyObject * obj0 = 0 ;
20006
20007 if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail;
20008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20009 SWIG_POINTER_EXCEPTION | 0)) == -1)
20010 SWIG_fail;
20011 if (arg1 == NULL) {
20012 PyErr_SetString(PyExc_TypeError,"null reference");
20013 SWIG_fail;
20014 }
20015 {
20016 PyThreadState* __tstate = wxPyBeginAllowThreads();
20017 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
20018
20019 wxPyEndAllowThreads(__tstate);
20020 if (PyErr_Occurred()) SWIG_fail;
20021 }
20022 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
20023 return resultobj;
20024 fail:
20025 return NULL;
20026}
20027
20028
20029static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
20030 int argc;
20031 PyObject *argv[2];
20032 int ii;
20033
20034 argc = PyObject_Length(args);
20035 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
20036 argv[ii] = PyTuple_GetItem(args,ii);
20037 }
20038 if (argc == 0) {
20039 return _wrap_new_PageSetupDialogData__SWIG_0(self,args);
20040 }
20041 if (argc == 1) {
20042 int _v;
20043 {
20044 void *ptr;
20045 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPageSetupDialogData, 0) == -1) {
20046 _v = 0;
20047 PyErr_Clear();
20048 } else {
20049 _v = 1;
20050 }
20051 }
20052 if (_v) {
20053 return _wrap_new_PageSetupDialogData__SWIG_1(self,args);
20054 }
20055 }
20056
20057 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PageSetupDialogData'");
20058 return NULL;
20059}
20060
20061
20062static PyObject *_wrap_delete_PageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
20063 PyObject *resultobj;
20064 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20065 PyObject * obj0 = 0 ;
20066 char *kwnames[] = {
20067 (char *) "self", NULL
20068 };
20069
20070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
20071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20073 {
20074 PyThreadState* __tstate = wxPyBeginAllowThreads();
20075 delete arg1;
20076
20077 wxPyEndAllowThreads(__tstate);
20078 if (PyErr_Occurred()) SWIG_fail;
20079 }
20080 Py_INCREF(Py_None); resultobj = Py_None;
20081 return resultobj;
20082 fail:
20083 return NULL;
20084}
20085
20086
20087static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20088 PyObject *resultobj;
20089 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20090 bool arg2 ;
20091 PyObject * obj0 = 0 ;
20092 PyObject * obj1 = 0 ;
20093 char *kwnames[] = {
20094 (char *) "self",(char *) "flag", NULL
20095 };
20096
20097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
20098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20100 arg2 = (bool)SWIG_As_bool(obj1);
20101 if (PyErr_Occurred()) SWIG_fail;
20102 {
20103 PyThreadState* __tstate = wxPyBeginAllowThreads();
20104 (arg1)->EnableHelp(arg2);
20105
20106 wxPyEndAllowThreads(__tstate);
20107 if (PyErr_Occurred()) SWIG_fail;
20108 }
20109 Py_INCREF(Py_None); resultobj = Py_None;
20110 return resultobj;
20111 fail:
20112 return NULL;
20113}
20114
20115
20116static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
20117 PyObject *resultobj;
20118 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20119 bool arg2 ;
20120 PyObject * obj0 = 0 ;
20121 PyObject * obj1 = 0 ;
20122 char *kwnames[] = {
20123 (char *) "self",(char *) "flag", NULL
20124 };
20125
20126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
20127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20129 arg2 = (bool)SWIG_As_bool(obj1);
20130 if (PyErr_Occurred()) SWIG_fail;
20131 {
20132 PyThreadState* __tstate = wxPyBeginAllowThreads();
20133 (arg1)->EnableMargins(arg2);
20134
20135 wxPyEndAllowThreads(__tstate);
20136 if (PyErr_Occurred()) SWIG_fail;
20137 }
20138 Py_INCREF(Py_None); resultobj = Py_None;
20139 return resultobj;
20140 fail:
20141 return NULL;
20142}
20143
20144
20145static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
20146 PyObject *resultobj;
20147 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20148 bool arg2 ;
20149 PyObject * obj0 = 0 ;
20150 PyObject * obj1 = 0 ;
20151 char *kwnames[] = {
20152 (char *) "self",(char *) "flag", NULL
20153 };
20154
20155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
20156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20158 arg2 = (bool)SWIG_As_bool(obj1);
20159 if (PyErr_Occurred()) SWIG_fail;
20160 {
20161 PyThreadState* __tstate = wxPyBeginAllowThreads();
20162 (arg1)->EnableOrientation(arg2);
20163
20164 wxPyEndAllowThreads(__tstate);
20165 if (PyErr_Occurred()) SWIG_fail;
20166 }
20167 Py_INCREF(Py_None); resultobj = Py_None;
20168 return resultobj;
20169 fail:
20170 return NULL;
20171}
20172
20173
20174static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
20175 PyObject *resultobj;
20176 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20177 bool arg2 ;
20178 PyObject * obj0 = 0 ;
20179 PyObject * obj1 = 0 ;
20180 char *kwnames[] = {
20181 (char *) "self",(char *) "flag", NULL
20182 };
20183
20184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
20185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20187 arg2 = (bool)SWIG_As_bool(obj1);
20188 if (PyErr_Occurred()) SWIG_fail;
20189 {
20190 PyThreadState* __tstate = wxPyBeginAllowThreads();
20191 (arg1)->EnablePaper(arg2);
20192
20193 wxPyEndAllowThreads(__tstate);
20194 if (PyErr_Occurred()) SWIG_fail;
20195 }
20196 Py_INCREF(Py_None); resultobj = Py_None;
20197 return resultobj;
20198 fail:
20199 return NULL;
20200}
20201
20202
20203static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
20204 PyObject *resultobj;
20205 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20206 bool arg2 ;
20207 PyObject * obj0 = 0 ;
20208 PyObject * obj1 = 0 ;
20209 char *kwnames[] = {
20210 (char *) "self",(char *) "flag", NULL
20211 };
20212
20213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
20214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20216 arg2 = (bool)SWIG_As_bool(obj1);
20217 if (PyErr_Occurred()) SWIG_fail;
20218 {
20219 PyThreadState* __tstate = wxPyBeginAllowThreads();
20220 (arg1)->EnablePrinter(arg2);
20221
20222 wxPyEndAllowThreads(__tstate);
20223 if (PyErr_Occurred()) SWIG_fail;
20224 }
20225 Py_INCREF(Py_None); resultobj = Py_None;
20226 return resultobj;
20227 fail:
20228 return NULL;
20229}
20230
20231
20232static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
20233 PyObject *resultobj;
20234 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20235 bool result;
20236 PyObject * obj0 = 0 ;
20237 char *kwnames[] = {
20238 (char *) "self", NULL
20239 };
20240
20241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
20242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20244 {
20245 PyThreadState* __tstate = wxPyBeginAllowThreads();
20246 result = (bool)(arg1)->GetDefaultMinMargins();
20247
20248 wxPyEndAllowThreads(__tstate);
20249 if (PyErr_Occurred()) SWIG_fail;
20250 }
20251 {
20252 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20253 }
20254 return resultobj;
20255 fail:
20256 return NULL;
20257}
20258
20259
20260static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
20261 PyObject *resultobj;
20262 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20263 bool result;
20264 PyObject * obj0 = 0 ;
20265 char *kwnames[] = {
20266 (char *) "self", NULL
20267 };
20268
20269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
20270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20272 {
20273 PyThreadState* __tstate = wxPyBeginAllowThreads();
20274 result = (bool)(arg1)->GetEnableMargins();
20275
20276 wxPyEndAllowThreads(__tstate);
20277 if (PyErr_Occurred()) SWIG_fail;
20278 }
20279 {
20280 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20281 }
20282 return resultobj;
20283 fail:
20284 return NULL;
20285}
20286
20287
20288static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
20289 PyObject *resultobj;
20290 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20291 bool result;
20292 PyObject * obj0 = 0 ;
20293 char *kwnames[] = {
20294 (char *) "self", NULL
20295 };
20296
20297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
20298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20300 {
20301 PyThreadState* __tstate = wxPyBeginAllowThreads();
20302 result = (bool)(arg1)->GetEnableOrientation();
20303
20304 wxPyEndAllowThreads(__tstate);
20305 if (PyErr_Occurred()) SWIG_fail;
20306 }
20307 {
20308 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20309 }
20310 return resultobj;
20311 fail:
20312 return NULL;
20313}
20314
20315
20316static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
20317 PyObject *resultobj;
20318 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20319 bool result;
20320 PyObject * obj0 = 0 ;
20321 char *kwnames[] = {
20322 (char *) "self", NULL
20323 };
20324
20325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
20326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20328 {
20329 PyThreadState* __tstate = wxPyBeginAllowThreads();
20330 result = (bool)(arg1)->GetEnablePaper();
20331
20332 wxPyEndAllowThreads(__tstate);
20333 if (PyErr_Occurred()) SWIG_fail;
20334 }
20335 {
20336 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20337 }
20338 return resultobj;
20339 fail:
20340 return NULL;
20341}
20342
20343
20344static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
20345 PyObject *resultobj;
20346 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20347 bool result;
20348 PyObject * obj0 = 0 ;
20349 char *kwnames[] = {
20350 (char *) "self", NULL
20351 };
20352
20353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
20354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20356 {
20357 PyThreadState* __tstate = wxPyBeginAllowThreads();
20358 result = (bool)(arg1)->GetEnablePrinter();
20359
20360 wxPyEndAllowThreads(__tstate);
20361 if (PyErr_Occurred()) SWIG_fail;
20362 }
20363 {
20364 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20365 }
20366 return resultobj;
20367 fail:
20368 return NULL;
20369}
20370
20371
20372static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20373 PyObject *resultobj;
20374 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20375 bool result;
20376 PyObject * obj0 = 0 ;
20377 char *kwnames[] = {
20378 (char *) "self", NULL
20379 };
20380
20381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
20382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20384 {
20385 PyThreadState* __tstate = wxPyBeginAllowThreads();
20386 result = (bool)(arg1)->GetEnableHelp();
20387
20388 wxPyEndAllowThreads(__tstate);
20389 if (PyErr_Occurred()) SWIG_fail;
20390 }
20391 {
20392 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20393 }
20394 return resultobj;
20395 fail:
20396 return NULL;
20397}
20398
20399
20400static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
20401 PyObject *resultobj;
20402 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20403 bool result;
20404 PyObject * obj0 = 0 ;
20405 char *kwnames[] = {
20406 (char *) "self", NULL
20407 };
20408
20409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
20410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20412 {
20413 PyThreadState* __tstate = wxPyBeginAllowThreads();
20414 result = (bool)(arg1)->GetDefaultInfo();
20415
20416 wxPyEndAllowThreads(__tstate);
20417 if (PyErr_Occurred()) SWIG_fail;
20418 }
20419 {
20420 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20421 }
20422 return resultobj;
20423 fail:
20424 return NULL;
20425}
20426
20427
20428static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
20429 PyObject *resultobj;
20430 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20431 wxPoint result;
20432 PyObject * obj0 = 0 ;
20433 char *kwnames[] = {
20434 (char *) "self", NULL
20435 };
20436
20437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
20438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20440 {
20441 PyThreadState* __tstate = wxPyBeginAllowThreads();
20442 result = (arg1)->GetMarginTopLeft();
20443
20444 wxPyEndAllowThreads(__tstate);
20445 if (PyErr_Occurred()) SWIG_fail;
20446 }
20447 {
20448 wxPoint * resultptr;
20449 resultptr = new wxPoint((wxPoint &) result);
20450 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20451 }
20452 return resultobj;
20453 fail:
20454 return NULL;
20455}
20456
20457
20458static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
20459 PyObject *resultobj;
20460 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20461 wxPoint result;
20462 PyObject * obj0 = 0 ;
20463 char *kwnames[] = {
20464 (char *) "self", NULL
20465 };
20466
20467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
20468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20470 {
20471 PyThreadState* __tstate = wxPyBeginAllowThreads();
20472 result = (arg1)->GetMarginBottomRight();
20473
20474 wxPyEndAllowThreads(__tstate);
20475 if (PyErr_Occurred()) SWIG_fail;
20476 }
20477 {
20478 wxPoint * resultptr;
20479 resultptr = new wxPoint((wxPoint &) result);
20480 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20481 }
20482 return resultobj;
20483 fail:
20484 return NULL;
20485}
20486
20487
20488static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
20489 PyObject *resultobj;
20490 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20491 wxPoint result;
20492 PyObject * obj0 = 0 ;
20493 char *kwnames[] = {
20494 (char *) "self", NULL
20495 };
20496
20497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
20498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20500 {
20501 PyThreadState* __tstate = wxPyBeginAllowThreads();
20502 result = (arg1)->GetMinMarginTopLeft();
20503
20504 wxPyEndAllowThreads(__tstate);
20505 if (PyErr_Occurred()) SWIG_fail;
20506 }
20507 {
20508 wxPoint * resultptr;
20509 resultptr = new wxPoint((wxPoint &) result);
20510 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20511 }
20512 return resultobj;
20513 fail:
20514 return NULL;
20515}
20516
20517
20518static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
20519 PyObject *resultobj;
20520 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20521 wxPoint result;
20522 PyObject * obj0 = 0 ;
20523 char *kwnames[] = {
20524 (char *) "self", NULL
20525 };
20526
20527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
20528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20530 {
20531 PyThreadState* __tstate = wxPyBeginAllowThreads();
20532 result = (arg1)->GetMinMarginBottomRight();
20533
20534 wxPyEndAllowThreads(__tstate);
20535 if (PyErr_Occurred()) SWIG_fail;
20536 }
20537 {
20538 wxPoint * resultptr;
20539 resultptr = new wxPoint((wxPoint &) result);
20540 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20541 }
20542 return resultobj;
20543 fail:
20544 return NULL;
20545}
20546
20547
20548static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
20549 PyObject *resultobj;
20550 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20551 int result;
20552 PyObject * obj0 = 0 ;
20553 char *kwnames[] = {
20554 (char *) "self", NULL
20555 };
20556
20557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
20558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20560 {
20561 PyThreadState* __tstate = wxPyBeginAllowThreads();
20562 result = (int)(arg1)->GetPaperId();
20563
20564 wxPyEndAllowThreads(__tstate);
20565 if (PyErr_Occurred()) SWIG_fail;
20566 }
20567 resultobj = SWIG_From_int((int)result);
20568 return resultobj;
20569 fail:
20570 return NULL;
20571}
20572
20573
20574static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
20575 PyObject *resultobj;
20576 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20577 wxSize result;
20578 PyObject * obj0 = 0 ;
20579 char *kwnames[] = {
20580 (char *) "self", NULL
20581 };
20582
20583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
20584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20586 {
20587 PyThreadState* __tstate = wxPyBeginAllowThreads();
20588 result = (arg1)->GetPaperSize();
20589
20590 wxPyEndAllowThreads(__tstate);
20591 if (PyErr_Occurred()) SWIG_fail;
20592 }
20593 {
20594 wxSize * resultptr;
20595 resultptr = new wxSize((wxSize &) result);
20596 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20597 }
20598 return resultobj;
20599 fail:
20600 return NULL;
20601}
20602
20603
20604static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
20605 PyObject *resultobj;
20606 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20607 wxPrintData *result;
20608 PyObject * obj0 = 0 ;
20609 char *kwnames[] = {
20610 (char *) "self", NULL
20611 };
20612
20613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
20614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20616 {
20617 PyThreadState* __tstate = wxPyBeginAllowThreads();
20618 {
20619 wxPrintData &_result_ref = (arg1)->GetPrintData();
20620 result = (wxPrintData *) &_result_ref;
20621 }
20622
20623 wxPyEndAllowThreads(__tstate);
20624 if (PyErr_Occurred()) SWIG_fail;
20625 }
20626 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
20627 return resultobj;
20628 fail:
20629 return NULL;
20630}
20631
20632
20633static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
20634 PyObject *resultobj;
20635 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20636 bool result;
20637 PyObject * obj0 = 0 ;
20638 char *kwnames[] = {
20639 (char *) "self", NULL
20640 };
20641
20642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
20643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20645 {
20646 PyThreadState* __tstate = wxPyBeginAllowThreads();
20647 result = (bool)(arg1)->Ok();
20648
20649 wxPyEndAllowThreads(__tstate);
20650 if (PyErr_Occurred()) SWIG_fail;
20651 }
20652 {
20653 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20654 }
20655 return resultobj;
20656 fail:
20657 return NULL;
20658}
20659
20660
20661static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
20662 PyObject *resultobj;
20663 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20664 bool arg2 ;
20665 PyObject * obj0 = 0 ;
20666 PyObject * obj1 = 0 ;
20667 char *kwnames[] = {
20668 (char *) "self",(char *) "flag", NULL
20669 };
20670
20671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
20672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20674 arg2 = (bool)SWIG_As_bool(obj1);
20675 if (PyErr_Occurred()) SWIG_fail;
20676 {
20677 PyThreadState* __tstate = wxPyBeginAllowThreads();
20678 (arg1)->SetDefaultInfo(arg2);
20679
20680 wxPyEndAllowThreads(__tstate);
20681 if (PyErr_Occurred()) SWIG_fail;
20682 }
20683 Py_INCREF(Py_None); resultobj = Py_None;
20684 return resultobj;
20685 fail:
20686 return NULL;
20687}
20688
20689
20690static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
20691 PyObject *resultobj;
20692 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20693 bool arg2 ;
20694 PyObject * obj0 = 0 ;
20695 PyObject * obj1 = 0 ;
20696 char *kwnames[] = {
20697 (char *) "self",(char *) "flag", NULL
20698 };
20699
20700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
20701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20703 arg2 = (bool)SWIG_As_bool(obj1);
20704 if (PyErr_Occurred()) SWIG_fail;
20705 {
20706 PyThreadState* __tstate = wxPyBeginAllowThreads();
20707 (arg1)->SetDefaultMinMargins(arg2);
20708
20709 wxPyEndAllowThreads(__tstate);
20710 if (PyErr_Occurred()) SWIG_fail;
20711 }
20712 Py_INCREF(Py_None); resultobj = Py_None;
20713 return resultobj;
20714 fail:
20715 return NULL;
20716}
20717
20718
20719static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
20720 PyObject *resultobj;
20721 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20722 wxPoint *arg2 = 0 ;
20723 wxPoint temp2 ;
20724 PyObject * obj0 = 0 ;
20725 PyObject * obj1 = 0 ;
20726 char *kwnames[] = {
20727 (char *) "self",(char *) "pt", NULL
20728 };
20729
20730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
20731 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20733 {
20734 arg2 = &temp2;
20735 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20736 }
20737 {
20738 PyThreadState* __tstate = wxPyBeginAllowThreads();
20739 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
20740
20741 wxPyEndAllowThreads(__tstate);
20742 if (PyErr_Occurred()) SWIG_fail;
20743 }
20744 Py_INCREF(Py_None); resultobj = Py_None;
20745 return resultobj;
20746 fail:
20747 return NULL;
20748}
20749
20750
20751static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
20752 PyObject *resultobj;
20753 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20754 wxPoint *arg2 = 0 ;
20755 wxPoint temp2 ;
20756 PyObject * obj0 = 0 ;
20757 PyObject * obj1 = 0 ;
20758 char *kwnames[] = {
20759 (char *) "self",(char *) "pt", NULL
20760 };
20761
20762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
20763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20765 {
20766 arg2 = &temp2;
20767 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20768 }
20769 {
20770 PyThreadState* __tstate = wxPyBeginAllowThreads();
20771 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
20772
20773 wxPyEndAllowThreads(__tstate);
20774 if (PyErr_Occurred()) SWIG_fail;
20775 }
20776 Py_INCREF(Py_None); resultobj = Py_None;
20777 return resultobj;
20778 fail:
20779 return NULL;
20780}
20781
20782
20783static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
20784 PyObject *resultobj;
20785 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20786 wxPoint *arg2 = 0 ;
20787 wxPoint temp2 ;
20788 PyObject * obj0 = 0 ;
20789 PyObject * obj1 = 0 ;
20790 char *kwnames[] = {
20791 (char *) "self",(char *) "pt", NULL
20792 };
20793
20794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
20795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20797 {
20798 arg2 = &temp2;
20799 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20800 }
20801 {
20802 PyThreadState* __tstate = wxPyBeginAllowThreads();
20803 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
20804
20805 wxPyEndAllowThreads(__tstate);
20806 if (PyErr_Occurred()) SWIG_fail;
20807 }
20808 Py_INCREF(Py_None); resultobj = Py_None;
20809 return resultobj;
20810 fail:
20811 return NULL;
20812}
20813
20814
20815static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
20816 PyObject *resultobj;
20817 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20818 wxPoint *arg2 = 0 ;
20819 wxPoint temp2 ;
20820 PyObject * obj0 = 0 ;
20821 PyObject * obj1 = 0 ;
20822 char *kwnames[] = {
20823 (char *) "self",(char *) "pt", NULL
20824 };
20825
20826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
20827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20829 {
20830 arg2 = &temp2;
20831 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20832 }
20833 {
20834 PyThreadState* __tstate = wxPyBeginAllowThreads();
20835 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
20836
20837 wxPyEndAllowThreads(__tstate);
20838 if (PyErr_Occurred()) SWIG_fail;
20839 }
20840 Py_INCREF(Py_None); resultobj = Py_None;
20841 return resultobj;
20842 fail:
20843 return NULL;
20844}
20845
20846
20847static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
20848 PyObject *resultobj;
20849 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20850 int arg2 ;
20851 PyObject * obj0 = 0 ;
20852 PyObject * obj1 = 0 ;
20853 char *kwnames[] = {
20854 (char *) "self",(char *) "id", NULL
20855 };
20856
20857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
20858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20860 arg2 = (int)SWIG_As_int(obj1);
20861 if (PyErr_Occurred()) SWIG_fail;
20862 {
20863 PyThreadState* __tstate = wxPyBeginAllowThreads();
20864 (arg1)->SetPaperId((wxPaperSize )arg2);
20865
20866 wxPyEndAllowThreads(__tstate);
20867 if (PyErr_Occurred()) SWIG_fail;
20868 }
20869 Py_INCREF(Py_None); resultobj = Py_None;
20870 return resultobj;
20871 fail:
20872 return NULL;
20873}
20874
20875
20876static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
20877 PyObject *resultobj;
20878 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20879 wxSize *arg2 = 0 ;
20880 wxSize temp2 ;
20881 PyObject * obj0 = 0 ;
20882 PyObject * obj1 = 0 ;
20883 char *kwnames[] = {
20884 (char *) "self",(char *) "size", NULL
20885 };
20886
20887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
20888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20890 {
20891 arg2 = &temp2;
20892 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20893 }
20894 {
20895 PyThreadState* __tstate = wxPyBeginAllowThreads();
20896 (arg1)->SetPaperSize((wxSize const &)*arg2);
20897
20898 wxPyEndAllowThreads(__tstate);
20899 if (PyErr_Occurred()) SWIG_fail;
20900 }
20901 Py_INCREF(Py_None); resultobj = Py_None;
20902 return resultobj;
20903 fail:
20904 return NULL;
20905}
20906
20907
20908static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
20909 PyObject *resultobj;
20910 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20911 wxPrintData *arg2 = 0 ;
20912 PyObject * obj0 = 0 ;
20913 PyObject * obj1 = 0 ;
20914 char *kwnames[] = {
20915 (char *) "self",(char *) "printData", NULL
20916 };
20917
20918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
20919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20921 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
20922 SWIG_POINTER_EXCEPTION | 0)) == -1)
20923 SWIG_fail;
20924 if (arg2 == NULL) {
20925 PyErr_SetString(PyExc_TypeError,"null reference");
20926 SWIG_fail;
20927 }
20928 {
20929 PyThreadState* __tstate = wxPyBeginAllowThreads();
20930 (arg1)->SetPrintData((wxPrintData const &)*arg2);
20931
20932 wxPyEndAllowThreads(__tstate);
20933 if (PyErr_Occurred()) SWIG_fail;
20934 }
20935 Py_INCREF(Py_None); resultobj = Py_None;
20936 return resultobj;
20937 fail:
20938 return NULL;
20939}
20940
20941
20942static PyObject * PageSetupDialogData_swigregister(PyObject *, PyObject *args) {
20943 PyObject *obj;
20944 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20945 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
20946 Py_INCREF(obj);
20947 return Py_BuildValue((char *)"");
20948}
20949static PyObject *_wrap_new_PageSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
20950 PyObject *resultobj;
20951 wxWindow *arg1 = (wxWindow *) 0 ;
20952 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
20953 wxPageSetupDialog *result;
20954 PyObject * obj0 = 0 ;
20955 PyObject * obj1 = 0 ;
20956 char *kwnames[] = {
20957 (char *) "parent",(char *) "data", NULL
20958 };
20959
20960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
20961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
20962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20963 if (obj1) {
20964 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPageSetupDialogData,
20965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20966 }
20967 {
20968 if (!wxPyCheckForApp()) SWIG_fail;
20969 PyThreadState* __tstate = wxPyBeginAllowThreads();
20970 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
20971
20972 wxPyEndAllowThreads(__tstate);
20973 if (PyErr_Occurred()) SWIG_fail;
20974 }
20975 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
20976 return resultobj;
20977 fail:
20978 return NULL;
20979}
20980
20981
20982static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) {
20983 PyObject *resultobj;
20984 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
20985 wxPageSetupDialogData *result;
20986 PyObject * obj0 = 0 ;
20987 char *kwnames[] = {
20988 (char *) "self", NULL
20989 };
20990
20991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
20992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
20993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20994 {
20995 PyThreadState* __tstate = wxPyBeginAllowThreads();
20996 {
20997 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
20998 result = (wxPageSetupDialogData *) &_result_ref;
20999 }
21000
21001 wxPyEndAllowThreads(__tstate);
21002 if (PyErr_Occurred()) SWIG_fail;
21003 }
21004 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
21005 return resultobj;
21006 fail:
21007 return NULL;
21008}
21009
21010
21011static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
21012 PyObject *resultobj;
21013 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
21014 int result;
21015 PyObject * obj0 = 0 ;
21016 char *kwnames[] = {
21017 (char *) "self", NULL
21018 };
21019
21020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
21021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
21022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21023 {
21024 PyThreadState* __tstate = wxPyBeginAllowThreads();
21025 result = (int)(arg1)->ShowModal();
21026
21027 wxPyEndAllowThreads(__tstate);
21028 if (PyErr_Occurred()) SWIG_fail;
21029 }
21030 resultobj = SWIG_From_int((int)result);
21031 return resultobj;
21032 fail:
21033 return NULL;
21034}
21035
21036
21037static PyObject * PageSetupDialog_swigregister(PyObject *, PyObject *args) {
21038 PyObject *obj;
21039 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21040 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
21041 Py_INCREF(obj);
21042 return Py_BuildValue((char *)"");
21043}
21044static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *, PyObject *args) {
21045 PyObject *resultobj;
21046 wxPrintDialogData *result;
21047
21048 if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail;
21049 {
21050 PyThreadState* __tstate = wxPyBeginAllowThreads();
21051 result = (wxPrintDialogData *)new wxPrintDialogData();
21052
21053 wxPyEndAllowThreads(__tstate);
21054 if (PyErr_Occurred()) SWIG_fail;
21055 }
21056 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
21057 return resultobj;
21058 fail:
21059 return NULL;
21060}
21061
21062
21063static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *, PyObject *args) {
21064 PyObject *resultobj;
21065 wxPrintData *arg1 = 0 ;
21066 wxPrintDialogData *result;
21067 PyObject * obj0 = 0 ;
21068
21069 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
21070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
21071 SWIG_POINTER_EXCEPTION | 0)) == -1)
21072 SWIG_fail;
21073 if (arg1 == NULL) {
21074 PyErr_SetString(PyExc_TypeError,"null reference");
21075 SWIG_fail;
21076 }
21077 {
21078 PyThreadState* __tstate = wxPyBeginAllowThreads();
21079 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
21080
21081 wxPyEndAllowThreads(__tstate);
21082 if (PyErr_Occurred()) SWIG_fail;
21083 }
21084 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
21085 return resultobj;
21086 fail:
21087 return NULL;
21088}
21089
21090
21091static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
21092 int argc;
21093 PyObject *argv[2];
21094 int ii;
21095
21096 argc = PyObject_Length(args);
21097 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
21098 argv[ii] = PyTuple_GetItem(args,ii);
21099 }
21100 if (argc == 0) {
21101 return _wrap_new_PrintDialogData__SWIG_0(self,args);
21102 }
21103 if (argc == 1) {
21104 int _v;
21105 {
21106 void *ptr;
21107 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
21108 _v = 0;
21109 PyErr_Clear();
21110 } else {
21111 _v = 1;
21112 }
21113 }
21114 if (_v) {
21115 return _wrap_new_PrintDialogData__SWIG_1(self,args);
21116 }
21117 }
21118
21119 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintDialogData'");
21120 return NULL;
21121}
21122
21123
21124static PyObject *_wrap_delete_PrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
21125 PyObject *resultobj;
21126 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21127 PyObject * obj0 = 0 ;
21128 char *kwnames[] = {
21129 (char *) "self", NULL
21130 };
21131
21132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
21133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21135 {
21136 PyThreadState* __tstate = wxPyBeginAllowThreads();
21137 delete arg1;
21138
21139 wxPyEndAllowThreads(__tstate);
21140 if (PyErr_Occurred()) SWIG_fail;
21141 }
21142 Py_INCREF(Py_None); resultobj = Py_None;
21143 return resultobj;
21144 fail:
21145 return NULL;
21146}
21147
21148
21149static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
21150 PyObject *resultobj;
21151 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21152 int result;
21153 PyObject * obj0 = 0 ;
21154 char *kwnames[] = {
21155 (char *) "self", NULL
21156 };
21157
21158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
21159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21161 {
21162 PyThreadState* __tstate = wxPyBeginAllowThreads();
21163 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
21164
21165 wxPyEndAllowThreads(__tstate);
21166 if (PyErr_Occurred()) SWIG_fail;
21167 }
21168 resultobj = SWIG_From_int((int)result);
21169 return resultobj;
21170 fail:
21171 return NULL;
21172}
21173
21174
21175static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
21176 PyObject *resultobj;
21177 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21178 int result;
21179 PyObject * obj0 = 0 ;
21180 char *kwnames[] = {
21181 (char *) "self", NULL
21182 };
21183
21184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
21185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21187 {
21188 PyThreadState* __tstate = wxPyBeginAllowThreads();
21189 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
21190
21191 wxPyEndAllowThreads(__tstate);
21192 if (PyErr_Occurred()) SWIG_fail;
21193 }
21194 resultobj = SWIG_From_int((int)result);
21195 return resultobj;
21196 fail:
21197 return NULL;
21198}
21199
21200
21201static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
21202 PyObject *resultobj;
21203 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21204 int result;
21205 PyObject * obj0 = 0 ;
21206 char *kwnames[] = {
21207 (char *) "self", NULL
21208 };
21209
21210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
21211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21213 {
21214 PyThreadState* __tstate = wxPyBeginAllowThreads();
21215 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
21216
21217 wxPyEndAllowThreads(__tstate);
21218 if (PyErr_Occurred()) SWIG_fail;
21219 }
21220 resultobj = SWIG_From_int((int)result);
21221 return resultobj;
21222 fail:
21223 return NULL;
21224}
21225
21226
21227static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
21228 PyObject *resultobj;
21229 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21230 int result;
21231 PyObject * obj0 = 0 ;
21232 char *kwnames[] = {
21233 (char *) "self", NULL
21234 };
21235
21236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
21237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21239 {
21240 PyThreadState* __tstate = wxPyBeginAllowThreads();
21241 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
21242
21243 wxPyEndAllowThreads(__tstate);
21244 if (PyErr_Occurred()) SWIG_fail;
21245 }
21246 resultobj = SWIG_From_int((int)result);
21247 return resultobj;
21248 fail:
21249 return NULL;
21250}
21251
21252
21253static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
21254 PyObject *resultobj;
21255 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21256 int result;
21257 PyObject * obj0 = 0 ;
21258 char *kwnames[] = {
21259 (char *) "self", NULL
21260 };
21261
21262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
21263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21265 {
21266 PyThreadState* __tstate = wxPyBeginAllowThreads();
21267 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
21268
21269 wxPyEndAllowThreads(__tstate);
21270 if (PyErr_Occurred()) SWIG_fail;
21271 }
21272 resultobj = SWIG_From_int((int)result);
21273 return resultobj;
21274 fail:
21275 return NULL;
21276}
21277
21278
21279static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
21280 PyObject *resultobj;
21281 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21282 bool result;
21283 PyObject * obj0 = 0 ;
21284 char *kwnames[] = {
21285 (char *) "self", NULL
21286 };
21287
21288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
21289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21291 {
21292 PyThreadState* __tstate = wxPyBeginAllowThreads();
21293 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
21294
21295 wxPyEndAllowThreads(__tstate);
21296 if (PyErr_Occurred()) SWIG_fail;
21297 }
21298 {
21299 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21300 }
21301 return resultobj;
21302 fail:
21303 return NULL;
21304}
21305
21306
21307static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
21308 PyObject *resultobj;
21309 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21310 bool result;
21311 PyObject * obj0 = 0 ;
21312 char *kwnames[] = {
21313 (char *) "self", NULL
21314 };
21315
21316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
21317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21319 {
21320 PyThreadState* __tstate = wxPyBeginAllowThreads();
21321 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
21322
21323 wxPyEndAllowThreads(__tstate);
21324 if (PyErr_Occurred()) SWIG_fail;
21325 }
21326 {
21327 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21328 }
21329 return resultobj;
21330 fail:
21331 return NULL;
21332}
21333
21334
21335static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
21336 PyObject *resultobj;
21337 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21338 bool result;
21339 PyObject * obj0 = 0 ;
21340 char *kwnames[] = {
21341 (char *) "self", NULL
21342 };
21343
21344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
21345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21347 {
21348 PyThreadState* __tstate = wxPyBeginAllowThreads();
21349 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
21350
21351 wxPyEndAllowThreads(__tstate);
21352 if (PyErr_Occurred()) SWIG_fail;
21353 }
21354 {
21355 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21356 }
21357 return resultobj;
21358 fail:
21359 return NULL;
21360}
21361
21362
21363static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
21364 PyObject *resultobj;
21365 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21366 bool result;
21367 PyObject * obj0 = 0 ;
21368 char *kwnames[] = {
21369 (char *) "self", NULL
21370 };
21371
21372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
21373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21375 {
21376 PyThreadState* __tstate = wxPyBeginAllowThreads();
21377 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
21378
21379 wxPyEndAllowThreads(__tstate);
21380 if (PyErr_Occurred()) SWIG_fail;
21381 }
21382 {
21383 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21384 }
21385 return resultobj;
21386 fail:
21387 return NULL;
21388}
21389
21390
21391static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
21392 PyObject *resultobj;
21393 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21394 bool result;
21395 PyObject * obj0 = 0 ;
21396 char *kwnames[] = {
21397 (char *) "self", NULL
21398 };
21399
21400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
21401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21403 {
21404 PyThreadState* __tstate = wxPyBeginAllowThreads();
21405 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
21406
21407 wxPyEndAllowThreads(__tstate);
21408 if (PyErr_Occurred()) SWIG_fail;
21409 }
21410 {
21411 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21412 }
21413 return resultobj;
21414 fail:
21415 return NULL;
21416}
21417
21418
21419static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
21420 PyObject *resultobj;
21421 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21422 bool arg2 ;
21423 PyObject * obj0 = 0 ;
21424 PyObject * obj1 = 0 ;
21425 char *kwnames[] = {
21426 (char *) "self",(char *) "flag", NULL
21427 };
21428
21429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
21430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21432 arg2 = (bool)SWIG_As_bool(obj1);
21433 if (PyErr_Occurred()) SWIG_fail;
21434 {
21435 PyThreadState* __tstate = wxPyBeginAllowThreads();
21436 (arg1)->SetSetupDialog(arg2);
21437
21438 wxPyEndAllowThreads(__tstate);
21439 if (PyErr_Occurred()) SWIG_fail;
21440 }
21441 Py_INCREF(Py_None); resultobj = Py_None;
21442 return resultobj;
21443 fail:
21444 return NULL;
21445}
21446
21447
21448static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
21449 PyObject *resultobj;
21450 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21451 int arg2 ;
21452 PyObject * obj0 = 0 ;
21453 PyObject * obj1 = 0 ;
21454 char *kwnames[] = {
21455 (char *) "self",(char *) "v", NULL
21456 };
21457
21458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
21459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21461 arg2 = (int)SWIG_As_int(obj1);
21462 if (PyErr_Occurred()) SWIG_fail;
21463 {
21464 PyThreadState* __tstate = wxPyBeginAllowThreads();
21465 (arg1)->SetFromPage(arg2);
21466
21467 wxPyEndAllowThreads(__tstate);
21468 if (PyErr_Occurred()) SWIG_fail;
21469 }
21470 Py_INCREF(Py_None); resultobj = Py_None;
21471 return resultobj;
21472 fail:
21473 return NULL;
21474}
21475
21476
21477static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
21478 PyObject *resultobj;
21479 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21480 int arg2 ;
21481 PyObject * obj0 = 0 ;
21482 PyObject * obj1 = 0 ;
21483 char *kwnames[] = {
21484 (char *) "self",(char *) "v", NULL
21485 };
21486
21487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
21488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21490 arg2 = (int)SWIG_As_int(obj1);
21491 if (PyErr_Occurred()) SWIG_fail;
21492 {
21493 PyThreadState* __tstate = wxPyBeginAllowThreads();
21494 (arg1)->SetToPage(arg2);
21495
21496 wxPyEndAllowThreads(__tstate);
21497 if (PyErr_Occurred()) SWIG_fail;
21498 }
21499 Py_INCREF(Py_None); resultobj = Py_None;
21500 return resultobj;
21501 fail:
21502 return NULL;
21503}
21504
21505
21506static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
21507 PyObject *resultobj;
21508 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21509 int arg2 ;
21510 PyObject * obj0 = 0 ;
21511 PyObject * obj1 = 0 ;
21512 char *kwnames[] = {
21513 (char *) "self",(char *) "v", NULL
21514 };
21515
21516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
21517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21519 arg2 = (int)SWIG_As_int(obj1);
21520 if (PyErr_Occurred()) SWIG_fail;
21521 {
21522 PyThreadState* __tstate = wxPyBeginAllowThreads();
21523 (arg1)->SetMinPage(arg2);
21524
21525 wxPyEndAllowThreads(__tstate);
21526 if (PyErr_Occurred()) SWIG_fail;
21527 }
21528 Py_INCREF(Py_None); resultobj = Py_None;
21529 return resultobj;
21530 fail:
21531 return NULL;
21532}
21533
21534
21535static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
21536 PyObject *resultobj;
21537 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21538 int arg2 ;
21539 PyObject * obj0 = 0 ;
21540 PyObject * obj1 = 0 ;
21541 char *kwnames[] = {
21542 (char *) "self",(char *) "v", NULL
21543 };
21544
21545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
21546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21548 arg2 = (int)SWIG_As_int(obj1);
21549 if (PyErr_Occurred()) SWIG_fail;
21550 {
21551 PyThreadState* __tstate = wxPyBeginAllowThreads();
21552 (arg1)->SetMaxPage(arg2);
21553
21554 wxPyEndAllowThreads(__tstate);
21555 if (PyErr_Occurred()) SWIG_fail;
21556 }
21557 Py_INCREF(Py_None); resultobj = Py_None;
21558 return resultobj;
21559 fail:
21560 return NULL;
21561}
21562
21563
21564static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
21565 PyObject *resultobj;
21566 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21567 int arg2 ;
21568 PyObject * obj0 = 0 ;
21569 PyObject * obj1 = 0 ;
21570 char *kwnames[] = {
21571 (char *) "self",(char *) "v", NULL
21572 };
21573
21574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
21575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21577 arg2 = (int)SWIG_As_int(obj1);
21578 if (PyErr_Occurred()) SWIG_fail;
21579 {
21580 PyThreadState* __tstate = wxPyBeginAllowThreads();
21581 (arg1)->SetNoCopies(arg2);
21582
21583 wxPyEndAllowThreads(__tstate);
21584 if (PyErr_Occurred()) SWIG_fail;
21585 }
21586 Py_INCREF(Py_None); resultobj = Py_None;
21587 return resultobj;
21588 fail:
21589 return NULL;
21590}
21591
21592
21593static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
21594 PyObject *resultobj;
21595 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21596 bool arg2 ;
21597 PyObject * obj0 = 0 ;
21598 PyObject * obj1 = 0 ;
21599 char *kwnames[] = {
21600 (char *) "self",(char *) "flag", NULL
21601 };
21602
21603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
21604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21606 arg2 = (bool)SWIG_As_bool(obj1);
21607 if (PyErr_Occurred()) SWIG_fail;
21608 {
21609 PyThreadState* __tstate = wxPyBeginAllowThreads();
21610 (arg1)->SetAllPages(arg2);
21611
21612 wxPyEndAllowThreads(__tstate);
21613 if (PyErr_Occurred()) SWIG_fail;
21614 }
21615 Py_INCREF(Py_None); resultobj = Py_None;
21616 return resultobj;
21617 fail:
21618 return NULL;
21619}
21620
21621
21622static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
21623 PyObject *resultobj;
21624 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21625 bool arg2 ;
21626 PyObject * obj0 = 0 ;
21627 PyObject * obj1 = 0 ;
21628 char *kwnames[] = {
21629 (char *) "self",(char *) "flag", NULL
21630 };
21631
21632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
21633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21635 arg2 = (bool)SWIG_As_bool(obj1);
21636 if (PyErr_Occurred()) SWIG_fail;
21637 {
21638 PyThreadState* __tstate = wxPyBeginAllowThreads();
21639 (arg1)->SetSelection(arg2);
21640
21641 wxPyEndAllowThreads(__tstate);
21642 if (PyErr_Occurred()) SWIG_fail;
21643 }
21644 Py_INCREF(Py_None); resultobj = Py_None;
21645 return resultobj;
21646 fail:
21647 return NULL;
21648}
21649
21650
21651static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
21652 PyObject *resultobj;
21653 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21654 bool arg2 ;
21655 PyObject * obj0 = 0 ;
21656 PyObject * obj1 = 0 ;
21657 char *kwnames[] = {
21658 (char *) "self",(char *) "flag", NULL
21659 };
21660
21661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
21662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21664 arg2 = (bool)SWIG_As_bool(obj1);
21665 if (PyErr_Occurred()) SWIG_fail;
21666 {
21667 PyThreadState* __tstate = wxPyBeginAllowThreads();
21668 (arg1)->SetCollate(arg2);
21669
21670 wxPyEndAllowThreads(__tstate);
21671 if (PyErr_Occurred()) SWIG_fail;
21672 }
21673 Py_INCREF(Py_None); resultobj = Py_None;
21674 return resultobj;
21675 fail:
21676 return NULL;
21677}
21678
21679
21680static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
21681 PyObject *resultobj;
21682 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21683 bool arg2 ;
21684 PyObject * obj0 = 0 ;
21685 PyObject * obj1 = 0 ;
21686 char *kwnames[] = {
21687 (char *) "self",(char *) "flag", NULL
21688 };
21689
21690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
21691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21693 arg2 = (bool)SWIG_As_bool(obj1);
21694 if (PyErr_Occurred()) SWIG_fail;
21695 {
21696 PyThreadState* __tstate = wxPyBeginAllowThreads();
21697 (arg1)->SetPrintToFile(arg2);
21698
21699 wxPyEndAllowThreads(__tstate);
21700 if (PyErr_Occurred()) SWIG_fail;
21701 }
21702 Py_INCREF(Py_None); resultobj = Py_None;
21703 return resultobj;
21704 fail:
21705 return NULL;
21706}
21707
21708
21709static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
21710 PyObject *resultobj;
21711 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21712 bool arg2 ;
21713 PyObject * obj0 = 0 ;
21714 PyObject * obj1 = 0 ;
21715 char *kwnames[] = {
21716 (char *) "self",(char *) "flag", NULL
21717 };
21718
21719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
21720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21722 arg2 = (bool)SWIG_As_bool(obj1);
21723 if (PyErr_Occurred()) SWIG_fail;
21724 {
21725 PyThreadState* __tstate = wxPyBeginAllowThreads();
21726 (arg1)->EnablePrintToFile(arg2);
21727
21728 wxPyEndAllowThreads(__tstate);
21729 if (PyErr_Occurred()) SWIG_fail;
21730 }
21731 Py_INCREF(Py_None); resultobj = Py_None;
21732 return resultobj;
21733 fail:
21734 return NULL;
21735}
21736
21737
21738static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
21739 PyObject *resultobj;
21740 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21741 bool arg2 ;
21742 PyObject * obj0 = 0 ;
21743 PyObject * obj1 = 0 ;
21744 char *kwnames[] = {
21745 (char *) "self",(char *) "flag", NULL
21746 };
21747
21748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
21749 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21750 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21751 arg2 = (bool)SWIG_As_bool(obj1);
21752 if (PyErr_Occurred()) SWIG_fail;
21753 {
21754 PyThreadState* __tstate = wxPyBeginAllowThreads();
21755 (arg1)->EnableSelection(arg2);
21756
21757 wxPyEndAllowThreads(__tstate);
21758 if (PyErr_Occurred()) SWIG_fail;
21759 }
21760 Py_INCREF(Py_None); resultobj = Py_None;
21761 return resultobj;
21762 fail:
21763 return NULL;
21764}
21765
21766
21767static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
21768 PyObject *resultobj;
21769 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21770 bool arg2 ;
21771 PyObject * obj0 = 0 ;
21772 PyObject * obj1 = 0 ;
21773 char *kwnames[] = {
21774 (char *) "self",(char *) "flag", NULL
21775 };
21776
21777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
21778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21780 arg2 = (bool)SWIG_As_bool(obj1);
21781 if (PyErr_Occurred()) SWIG_fail;
21782 {
21783 PyThreadState* __tstate = wxPyBeginAllowThreads();
21784 (arg1)->EnablePageNumbers(arg2);
21785
21786 wxPyEndAllowThreads(__tstate);
21787 if (PyErr_Occurred()) SWIG_fail;
21788 }
21789 Py_INCREF(Py_None); resultobj = Py_None;
21790 return resultobj;
21791 fail:
21792 return NULL;
21793}
21794
21795
21796static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
21797 PyObject *resultobj;
21798 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21799 bool arg2 ;
21800 PyObject * obj0 = 0 ;
21801 PyObject * obj1 = 0 ;
21802 char *kwnames[] = {
21803 (char *) "self",(char *) "flag", NULL
21804 };
21805
21806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
21807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21809 arg2 = (bool)SWIG_As_bool(obj1);
21810 if (PyErr_Occurred()) SWIG_fail;
21811 {
21812 PyThreadState* __tstate = wxPyBeginAllowThreads();
21813 (arg1)->EnableHelp(arg2);
21814
21815 wxPyEndAllowThreads(__tstate);
21816 if (PyErr_Occurred()) SWIG_fail;
21817 }
21818 Py_INCREF(Py_None); resultobj = Py_None;
21819 return resultobj;
21820 fail:
21821 return NULL;
21822}
21823
21824
21825static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
21826 PyObject *resultobj;
21827 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21828 bool result;
21829 PyObject * obj0 = 0 ;
21830 char *kwnames[] = {
21831 (char *) "self", NULL
21832 };
21833
21834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
21835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21837 {
21838 PyThreadState* __tstate = wxPyBeginAllowThreads();
21839 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
21840
21841 wxPyEndAllowThreads(__tstate);
21842 if (PyErr_Occurred()) SWIG_fail;
21843 }
21844 {
21845 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21846 }
21847 return resultobj;
21848 fail:
21849 return NULL;
21850}
21851
21852
21853static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
21854 PyObject *resultobj;
21855 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21856 bool result;
21857 PyObject * obj0 = 0 ;
21858 char *kwnames[] = {
21859 (char *) "self", NULL
21860 };
21861
21862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
21863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21865 {
21866 PyThreadState* __tstate = wxPyBeginAllowThreads();
21867 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
21868
21869 wxPyEndAllowThreads(__tstate);
21870 if (PyErr_Occurred()) SWIG_fail;
21871 }
21872 {
21873 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21874 }
21875 return resultobj;
21876 fail:
21877 return NULL;
21878}
21879
21880
21881static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
21882 PyObject *resultobj;
21883 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21884 bool result;
21885 PyObject * obj0 = 0 ;
21886 char *kwnames[] = {
21887 (char *) "self", NULL
21888 };
21889
21890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
21891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21893 {
21894 PyThreadState* __tstate = wxPyBeginAllowThreads();
21895 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
21896
21897 wxPyEndAllowThreads(__tstate);
21898 if (PyErr_Occurred()) SWIG_fail;
21899 }
21900 {
21901 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21902 }
21903 return resultobj;
21904 fail:
21905 return NULL;
21906}
21907
21908
21909static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
21910 PyObject *resultobj;
21911 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21912 bool result;
21913 PyObject * obj0 = 0 ;
21914 char *kwnames[] = {
21915 (char *) "self", NULL
21916 };
21917
21918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
21919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21921 {
21922 PyThreadState* __tstate = wxPyBeginAllowThreads();
21923 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
21924
21925 wxPyEndAllowThreads(__tstate);
21926 if (PyErr_Occurred()) SWIG_fail;
21927 }
21928 {
21929 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21930 }
21931 return resultobj;
21932 fail:
21933 return NULL;
21934}
21935
21936
21937static PyObject *_wrap_PrintDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
21938 PyObject *resultobj;
21939 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21940 bool result;
21941 PyObject * obj0 = 0 ;
21942 char *kwnames[] = {
21943 (char *) "self", NULL
21944 };
21945
21946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
21947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21949 {
21950 PyThreadState* __tstate = wxPyBeginAllowThreads();
21951 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
21952
21953 wxPyEndAllowThreads(__tstate);
21954 if (PyErr_Occurred()) SWIG_fail;
21955 }
21956 {
21957 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21958 }
21959 return resultobj;
21960 fail:
21961 return NULL;
21962}
21963
21964
21965static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
21966 PyObject *resultobj;
21967 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21968 wxPrintData *result;
21969 PyObject * obj0 = 0 ;
21970 char *kwnames[] = {
21971 (char *) "self", NULL
21972 };
21973
21974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
21975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21977 {
21978 PyThreadState* __tstate = wxPyBeginAllowThreads();
21979 {
21980 wxPrintData &_result_ref = (arg1)->GetPrintData();
21981 result = (wxPrintData *) &_result_ref;
21982 }
21983
21984 wxPyEndAllowThreads(__tstate);
21985 if (PyErr_Occurred()) SWIG_fail;
21986 }
21987 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
21988 return resultobj;
21989 fail:
21990 return NULL;
21991}
21992
21993
21994static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
21995 PyObject *resultobj;
21996 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21997 wxPrintData *arg2 = 0 ;
21998 PyObject * obj0 = 0 ;
21999 PyObject * obj1 = 0 ;
22000 char *kwnames[] = {
22001 (char *) "self",(char *) "printData", NULL
22002 };
22003
22004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
22005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
22006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22007 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
22008 SWIG_POINTER_EXCEPTION | 0)) == -1)
22009 SWIG_fail;
22010 if (arg2 == NULL) {
22011 PyErr_SetString(PyExc_TypeError,"null reference");
22012 SWIG_fail;
22013 }
22014 {
22015 PyThreadState* __tstate = wxPyBeginAllowThreads();
22016 (arg1)->SetPrintData((wxPrintData const &)*arg2);
22017
22018 wxPyEndAllowThreads(__tstate);
22019 if (PyErr_Occurred()) SWIG_fail;
22020 }
22021 Py_INCREF(Py_None); resultobj = Py_None;
22022 return resultobj;
22023 fail:
22024 return NULL;
22025}
22026
22027
22028static PyObject * PrintDialogData_swigregister(PyObject *, PyObject *args) {
22029 PyObject *obj;
22030 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22031 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
22032 Py_INCREF(obj);
22033 return Py_BuildValue((char *)"");
22034}
22035static PyObject *_wrap_new_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
22036 PyObject *resultobj;
22037 wxWindow *arg1 = (wxWindow *) 0 ;
22038 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
22039 wxPrintDialog *result;
22040 PyObject * obj0 = 0 ;
22041 PyObject * obj1 = 0 ;
22042 char *kwnames[] = {
22043 (char *) "parent",(char *) "data", NULL
22044 };
22045
22046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
22047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22049 if (obj1) {
22050 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintDialogData,
22051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22052 }
22053 {
22054 if (!wxPyCheckForApp()) SWIG_fail;
22055 PyThreadState* __tstate = wxPyBeginAllowThreads();
22056 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
22057
22058 wxPyEndAllowThreads(__tstate);
22059 if (PyErr_Occurred()) SWIG_fail;
22060 }
22061 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
22062 return resultobj;
22063 fail:
22064 return NULL;
22065}
22066
22067
22068static PyObject *_wrap_PrintDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
22069 PyObject *resultobj;
22070 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
22071 int result;
22072 PyObject * obj0 = 0 ;
22073 char *kwnames[] = {
22074 (char *) "self", NULL
22075 };
22076
22077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
22078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
22079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22080 {
22081 PyThreadState* __tstate = wxPyBeginAllowThreads();
22082 result = (int)(arg1)->ShowModal();
22083
22084 wxPyEndAllowThreads(__tstate);
22085 if (PyErr_Occurred()) SWIG_fail;
22086 }
22087 resultobj = SWIG_From_int((int)result);
22088 return resultobj;
22089 fail:
22090 return NULL;
22091}
22092
22093
22094static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
22095 PyObject *resultobj;
22096 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
22097 wxPrintDialogData *result;
22098 PyObject * obj0 = 0 ;
22099 char *kwnames[] = {
22100 (char *) "self", NULL
22101 };
22102
22103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
22104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
22105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22106 {
22107 PyThreadState* __tstate = wxPyBeginAllowThreads();
22108 {
22109 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
22110 result = (wxPrintDialogData *) &_result_ref;
22111 }
22112
22113 wxPyEndAllowThreads(__tstate);
22114 if (PyErr_Occurred()) SWIG_fail;
22115 }
22116 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
22117 return resultobj;
22118 fail:
22119 return NULL;
22120}
22121
22122
22123static PyObject *_wrap_PrintDialog_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
22124 PyObject *resultobj;
22125 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
22126 wxPrintData *result;
22127 PyObject * obj0 = 0 ;
22128 char *kwnames[] = {
22129 (char *) "self", NULL
22130 };
22131
22132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintData",kwnames,&obj0)) goto fail;
22133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
22134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22135 {
22136 PyThreadState* __tstate = wxPyBeginAllowThreads();
22137 {
22138 wxPrintData &_result_ref = (arg1)->GetPrintData();
22139 result = (wxPrintData *) &_result_ref;
22140 }
22141
22142 wxPyEndAllowThreads(__tstate);
22143 if (PyErr_Occurred()) SWIG_fail;
22144 }
22145 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
22146 return resultobj;
22147 fail:
22148 return NULL;
22149}
22150
22151
22152static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *, PyObject *args, PyObject *kwargs) {
22153 PyObject *resultobj;
22154 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
22155 wxDC *result;
22156 PyObject * obj0 = 0 ;
22157 char *kwnames[] = {
22158 (char *) "self", NULL
22159 };
22160
22161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
22162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
22163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22164 {
22165 PyThreadState* __tstate = wxPyBeginAllowThreads();
22166 result = (wxDC *)(arg1)->GetPrintDC();
22167
22168 wxPyEndAllowThreads(__tstate);
22169 if (PyErr_Occurred()) SWIG_fail;
22170 }
22171 {
22172 resultobj = wxPyMake_wxObject(result, 1);
22173 }
22174 return resultobj;
22175 fail:
22176 return NULL;
22177}
22178
22179
22180static PyObject * PrintDialog_swigregister(PyObject *, PyObject *args) {
22181 PyObject *obj;
22182 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22183 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
22184 Py_INCREF(obj);
22185 return Py_BuildValue((char *)"");
22186}
22187static PyObject *_wrap_new_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
22188 PyObject *resultobj;
22189 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
22190 wxPrinter *result;
22191 PyObject * obj0 = 0 ;
22192 char *kwnames[] = {
22193 (char *) "data", NULL
22194 };
22195
22196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
22197 if (obj0) {
22198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
22199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22200 }
22201 {
22202 if (!wxPyCheckForApp()) SWIG_fail;
22203 PyThreadState* __tstate = wxPyBeginAllowThreads();
22204 result = (wxPrinter *)new wxPrinter(arg1);
22205
22206 wxPyEndAllowThreads(__tstate);
22207 if (PyErr_Occurred()) SWIG_fail;
22208 }
22209 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
22210 return resultobj;
22211 fail:
22212 return NULL;
22213}
22214
22215
22216static PyObject *_wrap_delete_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
22217 PyObject *resultobj;
22218 wxPrinter *arg1 = (wxPrinter *) 0 ;
22219 PyObject * obj0 = 0 ;
22220 char *kwnames[] = {
22221 (char *) "self", NULL
22222 };
22223
22224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
22225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22227 {
22228 PyThreadState* __tstate = wxPyBeginAllowThreads();
22229 delete arg1;
22230
22231 wxPyEndAllowThreads(__tstate);
22232 if (PyErr_Occurred()) SWIG_fail;
22233 }
22234 Py_INCREF(Py_None); resultobj = Py_None;
22235 return resultobj;
22236 fail:
22237 return NULL;
22238}
22239
22240
22241static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *, PyObject *args, PyObject *kwargs) {
22242 PyObject *resultobj;
22243 wxPrinter *arg1 = (wxPrinter *) 0 ;
22244 wxWindow *arg2 = (wxWindow *) 0 ;
22245 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
22246 wxWindow *result;
22247 PyObject * obj0 = 0 ;
22248 PyObject * obj1 = 0 ;
22249 PyObject * obj2 = 0 ;
22250 char *kwnames[] = {
22251 (char *) "self",(char *) "parent",(char *) "printout", NULL
22252 };
22253
22254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
22255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22257 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22259 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
22260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22261 {
22262 PyThreadState* __tstate = wxPyBeginAllowThreads();
22263 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
22264
22265 wxPyEndAllowThreads(__tstate);
22266 if (PyErr_Occurred()) SWIG_fail;
22267 }
22268 {
22269 resultobj = wxPyMake_wxObject(result, 0);
22270 }
22271 return resultobj;
22272 fail:
22273 return NULL;
22274}
22275
22276
22277static PyObject *_wrap_Printer_ReportError(PyObject *, PyObject *args, PyObject *kwargs) {
22278 PyObject *resultobj;
22279 wxPrinter *arg1 = (wxPrinter *) 0 ;
22280 wxWindow *arg2 = (wxWindow *) 0 ;
22281 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
22282 wxString *arg4 = 0 ;
22283 bool temp4 = false ;
22284 PyObject * obj0 = 0 ;
22285 PyObject * obj1 = 0 ;
22286 PyObject * obj2 = 0 ;
22287 PyObject * obj3 = 0 ;
22288 char *kwnames[] = {
22289 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
22290 };
22291
22292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22295 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22297 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
22298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22299 {
22300 arg4 = wxString_in_helper(obj3);
22301 if (arg4 == NULL) SWIG_fail;
22302 temp4 = true;
22303 }
22304 {
22305 PyThreadState* __tstate = wxPyBeginAllowThreads();
22306 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
22307
22308 wxPyEndAllowThreads(__tstate);
22309 if (PyErr_Occurred()) SWIG_fail;
22310 }
22311 Py_INCREF(Py_None); resultobj = Py_None;
22312 {
22313 if (temp4)
22314 delete arg4;
22315 }
22316 return resultobj;
22317 fail:
22318 {
22319 if (temp4)
22320 delete arg4;
22321 }
22322 return NULL;
22323}
22324
22325
22326static PyObject *_wrap_Printer_Setup(PyObject *, PyObject *args, PyObject *kwargs) {
22327 PyObject *resultobj;
22328 wxPrinter *arg1 = (wxPrinter *) 0 ;
22329 wxWindow *arg2 = (wxWindow *) 0 ;
22330 bool result;
22331 PyObject * obj0 = 0 ;
22332 PyObject * obj1 = 0 ;
22333 char *kwnames[] = {
22334 (char *) "self",(char *) "parent", NULL
22335 };
22336
22337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
22338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22340 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22342 {
22343 PyThreadState* __tstate = wxPyBeginAllowThreads();
22344 result = (bool)(arg1)->Setup(arg2);
22345
22346 wxPyEndAllowThreads(__tstate);
22347 if (PyErr_Occurred()) SWIG_fail;
22348 }
22349 {
22350 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22351 }
22352 return resultobj;
22353 fail:
22354 return NULL;
22355}
22356
22357
22358static PyObject *_wrap_Printer_Print(PyObject *, PyObject *args, PyObject *kwargs) {
22359 PyObject *resultobj;
22360 wxPrinter *arg1 = (wxPrinter *) 0 ;
22361 wxWindow *arg2 = (wxWindow *) 0 ;
22362 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
22363 bool arg4 = (bool) true ;
22364 bool result;
22365 PyObject * obj0 = 0 ;
22366 PyObject * obj1 = 0 ;
22367 PyObject * obj2 = 0 ;
22368 PyObject * obj3 = 0 ;
22369 char *kwnames[] = {
22370 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
22371 };
22372
22373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22376 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22378 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
22379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22380 if (obj3) {
22381 arg4 = (bool)SWIG_As_bool(obj3);
22382 if (PyErr_Occurred()) SWIG_fail;
22383 }
22384 {
22385 PyThreadState* __tstate = wxPyBeginAllowThreads();
22386 result = (bool)(arg1)->Print(arg2,arg3,arg4);
22387
22388 wxPyEndAllowThreads(__tstate);
22389 if (PyErr_Occurred()) SWIG_fail;
22390 }
22391 {
22392 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22393 }
22394 return resultobj;
22395 fail:
22396 return NULL;
22397}
22398
22399
22400static PyObject *_wrap_Printer_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
22401 PyObject *resultobj;
22402 wxPrinter *arg1 = (wxPrinter *) 0 ;
22403 wxWindow *arg2 = (wxWindow *) 0 ;
22404 wxDC *result;
22405 PyObject * obj0 = 0 ;
22406 PyObject * obj1 = 0 ;
22407 char *kwnames[] = {
22408 (char *) "self",(char *) "parent", NULL
22409 };
22410
22411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
22412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22414 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22416 {
22417 PyThreadState* __tstate = wxPyBeginAllowThreads();
22418 result = (wxDC *)(arg1)->PrintDialog(arg2);
22419
22420 wxPyEndAllowThreads(__tstate);
22421 if (PyErr_Occurred()) SWIG_fail;
22422 }
22423 {
22424 resultobj = wxPyMake_wxObject(result, 0);
22425 }
22426 return resultobj;
22427 fail:
22428 return NULL;
22429}
22430
22431
22432static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
22433 PyObject *resultobj;
22434 wxPrinter *arg1 = (wxPrinter *) 0 ;
22435 wxPrintDialogData *result;
22436 PyObject * obj0 = 0 ;
22437 char *kwnames[] = {
22438 (char *) "self", NULL
22439 };
22440
22441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
22442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22444 {
22445 PyThreadState* __tstate = wxPyBeginAllowThreads();
22446 {
22447 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
22448 result = (wxPrintDialogData *) &_result_ref;
22449 }
22450
22451 wxPyEndAllowThreads(__tstate);
22452 if (PyErr_Occurred()) SWIG_fail;
22453 }
22454 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
22455 return resultobj;
22456 fail:
22457 return NULL;
22458}
22459
22460
22461static PyObject *_wrap_Printer_GetAbort(PyObject *, PyObject *args, PyObject *kwargs) {
22462 PyObject *resultobj;
22463 wxPrinter *arg1 = (wxPrinter *) 0 ;
22464 bool result;
22465 PyObject * obj0 = 0 ;
22466 char *kwnames[] = {
22467 (char *) "self", NULL
22468 };
22469
22470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
22471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22473 {
22474 PyThreadState* __tstate = wxPyBeginAllowThreads();
22475 result = (bool)(arg1)->GetAbort();
22476
22477 wxPyEndAllowThreads(__tstate);
22478 if (PyErr_Occurred()) SWIG_fail;
22479 }
22480 {
22481 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22482 }
22483 return resultobj;
22484 fail:
22485 return NULL;
22486}
22487
22488
22489static PyObject *_wrap_Printer_GetLastError(PyObject *, PyObject *args, PyObject *kwargs) {
22490 PyObject *resultobj;
22491 int result;
22492 char *kwnames[] = {
22493 NULL
22494 };
22495
22496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
22497 {
22498 PyThreadState* __tstate = wxPyBeginAllowThreads();
22499 result = (int)wxPrinter::GetLastError();
22500
22501 wxPyEndAllowThreads(__tstate);
22502 if (PyErr_Occurred()) SWIG_fail;
22503 }
22504 resultobj = SWIG_From_int((int)result);
22505 return resultobj;
22506 fail:
22507 return NULL;
22508}
22509
22510
22511static PyObject * Printer_swigregister(PyObject *, PyObject *args) {
22512 PyObject *obj;
22513 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22514 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
22515 Py_INCREF(obj);
22516 return Py_BuildValue((char *)"");
22517}
22518static PyObject *_wrap_new_Printout(PyObject *, PyObject *args, PyObject *kwargs) {
22519 PyObject *resultobj;
22520 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
22521 wxString *arg1 = (wxString *) &arg1_defvalue ;
22522 wxPyPrintout *result;
22523 bool temp1 = false ;
22524 PyObject * obj0 = 0 ;
22525 char *kwnames[] = {
22526 (char *) "title", NULL
22527 };
22528
22529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
22530 if (obj0) {
22531 {
22532 arg1 = wxString_in_helper(obj0);
22533 if (arg1 == NULL) SWIG_fail;
22534 temp1 = true;
22535 }
22536 }
22537 {
22538 if (!wxPyCheckForApp()) SWIG_fail;
22539 PyThreadState* __tstate = wxPyBeginAllowThreads();
22540 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
22541
22542 wxPyEndAllowThreads(__tstate);
22543 if (PyErr_Occurred()) SWIG_fail;
22544 }
22545 {
22546 resultobj = wxPyMake_wxObject(result, 1);
22547 }
22548 {
22549 if (temp1)
22550 delete arg1;
22551 }
22552 return resultobj;
22553 fail:
22554 {
22555 if (temp1)
22556 delete arg1;
22557 }
22558 return NULL;
22559}
22560
22561
22562static PyObject *_wrap_Printout__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
22563 PyObject *resultobj;
22564 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22565 PyObject *arg2 = (PyObject *) 0 ;
22566 PyObject *arg3 = (PyObject *) 0 ;
22567 PyObject * obj0 = 0 ;
22568 PyObject * obj1 = 0 ;
22569 PyObject * obj2 = 0 ;
22570 char *kwnames[] = {
22571 (char *) "self",(char *) "self",(char *) "_class", NULL
22572 };
22573
22574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22577 arg2 = obj1;
22578 arg3 = obj2;
22579 {
22580 PyThreadState* __tstate = wxPyBeginAllowThreads();
22581 (arg1)->_setCallbackInfo(arg2,arg3);
22582
22583 wxPyEndAllowThreads(__tstate);
22584 if (PyErr_Occurred()) SWIG_fail;
22585 }
22586 Py_INCREF(Py_None); resultobj = Py_None;
22587 return resultobj;
22588 fail:
22589 return NULL;
22590}
22591
22592
22593static PyObject *_wrap_Printout_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
22594 PyObject *resultobj;
22595 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22596 wxString result;
22597 PyObject * obj0 = 0 ;
22598 char *kwnames[] = {
22599 (char *) "self", NULL
22600 };
22601
22602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
22603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22605 {
22606 PyThreadState* __tstate = wxPyBeginAllowThreads();
22607 result = ((wxPyPrintout const *)arg1)->GetTitle();
22608
22609 wxPyEndAllowThreads(__tstate);
22610 if (PyErr_Occurred()) SWIG_fail;
22611 }
22612 {
22613#if wxUSE_UNICODE
22614 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22615#else
22616 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22617#endif
22618 }
22619 return resultobj;
22620 fail:
22621 return NULL;
22622}
22623
22624
22625static PyObject *_wrap_Printout_GetDC(PyObject *, PyObject *args, PyObject *kwargs) {
22626 PyObject *resultobj;
22627 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22628 wxDC *result;
22629 PyObject * obj0 = 0 ;
22630 char *kwnames[] = {
22631 (char *) "self", NULL
22632 };
22633
22634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
22635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22637 {
22638 PyThreadState* __tstate = wxPyBeginAllowThreads();
22639 result = (wxDC *)(arg1)->GetDC();
22640
22641 wxPyEndAllowThreads(__tstate);
22642 if (PyErr_Occurred()) SWIG_fail;
22643 }
22644 {
22645 resultobj = wxPyMake_wxObject(result, 0);
22646 }
22647 return resultobj;
22648 fail:
22649 return NULL;
22650}
22651
22652
22653static PyObject *_wrap_Printout_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
22654 PyObject *resultobj;
22655 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22656 wxDC *arg2 = (wxDC *) 0 ;
22657 PyObject * obj0 = 0 ;
22658 PyObject * obj1 = 0 ;
22659 char *kwnames[] = {
22660 (char *) "self",(char *) "dc", NULL
22661 };
22662
22663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
22664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22666 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22668 {
22669 PyThreadState* __tstate = wxPyBeginAllowThreads();
22670 (arg1)->SetDC(arg2);
22671
22672 wxPyEndAllowThreads(__tstate);
22673 if (PyErr_Occurred()) SWIG_fail;
22674 }
22675 Py_INCREF(Py_None); resultobj = Py_None;
22676 return resultobj;
22677 fail:
22678 return NULL;
22679}
22680
22681
22682static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
22683 PyObject *resultobj;
22684 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22685 int arg2 ;
22686 int arg3 ;
22687 PyObject * obj0 = 0 ;
22688 PyObject * obj1 = 0 ;
22689 PyObject * obj2 = 0 ;
22690 char *kwnames[] = {
22691 (char *) "self",(char *) "w",(char *) "h", NULL
22692 };
22693
22694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
22695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22697 arg2 = (int)SWIG_As_int(obj1);
22698 if (PyErr_Occurred()) SWIG_fail;
22699 arg3 = (int)SWIG_As_int(obj2);
22700 if (PyErr_Occurred()) SWIG_fail;
22701 {
22702 PyThreadState* __tstate = wxPyBeginAllowThreads();
22703 (arg1)->SetPageSizePixels(arg2,arg3);
22704
22705 wxPyEndAllowThreads(__tstate);
22706 if (PyErr_Occurred()) SWIG_fail;
22707 }
22708 Py_INCREF(Py_None); resultobj = Py_None;
22709 return resultobj;
22710 fail:
22711 return NULL;
22712}
22713
22714
22715static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
22716 PyObject *resultobj;
22717 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22718 int *arg2 = (int *) 0 ;
22719 int *arg3 = (int *) 0 ;
22720 int temp2 ;
22721 int res2 = 0 ;
22722 int temp3 ;
22723 int res3 = 0 ;
22724 PyObject * obj0 = 0 ;
22725 char *kwnames[] = {
22726 (char *) "self", NULL
22727 };
22728
22729 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22730 arg3 = &temp3; res3 = SWIG_NEWOBJ;
22731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
22732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22734 {
22735 PyThreadState* __tstate = wxPyBeginAllowThreads();
22736 (arg1)->GetPageSizePixels(arg2,arg3);
22737
22738 wxPyEndAllowThreads(__tstate);
22739 if (PyErr_Occurred()) SWIG_fail;
22740 }
22741 Py_INCREF(Py_None); resultobj = Py_None;
22742 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22743 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22744 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22745 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
22746 return resultobj;
22747 fail:
22748 return NULL;
22749}
22750
22751
22752static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
22753 PyObject *resultobj;
22754 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22755 int arg2 ;
22756 int arg3 ;
22757 PyObject * obj0 = 0 ;
22758 PyObject * obj1 = 0 ;
22759 PyObject * obj2 = 0 ;
22760 char *kwnames[] = {
22761 (char *) "self",(char *) "w",(char *) "h", NULL
22762 };
22763
22764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
22765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22767 arg2 = (int)SWIG_As_int(obj1);
22768 if (PyErr_Occurred()) SWIG_fail;
22769 arg3 = (int)SWIG_As_int(obj2);
22770 if (PyErr_Occurred()) SWIG_fail;
22771 {
22772 PyThreadState* __tstate = wxPyBeginAllowThreads();
22773 (arg1)->SetPageSizeMM(arg2,arg3);
22774
22775 wxPyEndAllowThreads(__tstate);
22776 if (PyErr_Occurred()) SWIG_fail;
22777 }
22778 Py_INCREF(Py_None); resultobj = Py_None;
22779 return resultobj;
22780 fail:
22781 return NULL;
22782}
22783
22784
22785static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
22786 PyObject *resultobj;
22787 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22788 int *arg2 = (int *) 0 ;
22789 int *arg3 = (int *) 0 ;
22790 int temp2 ;
22791 int res2 = 0 ;
22792 int temp3 ;
22793 int res3 = 0 ;
22794 PyObject * obj0 = 0 ;
22795 char *kwnames[] = {
22796 (char *) "self", NULL
22797 };
22798
22799 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22800 arg3 = &temp3; res3 = SWIG_NEWOBJ;
22801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
22802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22804 {
22805 PyThreadState* __tstate = wxPyBeginAllowThreads();
22806 (arg1)->GetPageSizeMM(arg2,arg3);
22807
22808 wxPyEndAllowThreads(__tstate);
22809 if (PyErr_Occurred()) SWIG_fail;
22810 }
22811 Py_INCREF(Py_None); resultobj = Py_None;
22812 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22813 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22814 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22815 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
22816 return resultobj;
22817 fail:
22818 return NULL;
22819}
22820
22821
22822static PyObject *_wrap_Printout_SetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
22823 PyObject *resultobj;
22824 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22825 int arg2 ;
22826 int arg3 ;
22827 PyObject * obj0 = 0 ;
22828 PyObject * obj1 = 0 ;
22829 PyObject * obj2 = 0 ;
22830 char *kwnames[] = {
22831 (char *) "self",(char *) "x",(char *) "y", NULL
22832 };
22833
22834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
22835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22837 arg2 = (int)SWIG_As_int(obj1);
22838 if (PyErr_Occurred()) SWIG_fail;
22839 arg3 = (int)SWIG_As_int(obj2);
22840 if (PyErr_Occurred()) SWIG_fail;
22841 {
22842 PyThreadState* __tstate = wxPyBeginAllowThreads();
22843 (arg1)->SetPPIScreen(arg2,arg3);
22844
22845 wxPyEndAllowThreads(__tstate);
22846 if (PyErr_Occurred()) SWIG_fail;
22847 }
22848 Py_INCREF(Py_None); resultobj = Py_None;
22849 return resultobj;
22850 fail:
22851 return NULL;
22852}
22853
22854
22855static PyObject *_wrap_Printout_GetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
22856 PyObject *resultobj;
22857 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22858 int *arg2 = (int *) 0 ;
22859 int *arg3 = (int *) 0 ;
22860 int temp2 ;
22861 int res2 = 0 ;
22862 int temp3 ;
22863 int res3 = 0 ;
22864 PyObject * obj0 = 0 ;
22865 char *kwnames[] = {
22866 (char *) "self", NULL
22867 };
22868
22869 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22870 arg3 = &temp3; res3 = SWIG_NEWOBJ;
22871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
22872 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22874 {
22875 PyThreadState* __tstate = wxPyBeginAllowThreads();
22876 (arg1)->GetPPIScreen(arg2,arg3);
22877
22878 wxPyEndAllowThreads(__tstate);
22879 if (PyErr_Occurred()) SWIG_fail;
22880 }
22881 Py_INCREF(Py_None); resultobj = Py_None;
22882 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22883 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22884 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22885 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
22886 return resultobj;
22887 fail:
22888 return NULL;
22889}
22890
22891
22892static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
22893 PyObject *resultobj;
22894 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22895 int arg2 ;
22896 int arg3 ;
22897 PyObject * obj0 = 0 ;
22898 PyObject * obj1 = 0 ;
22899 PyObject * obj2 = 0 ;
22900 char *kwnames[] = {
22901 (char *) "self",(char *) "x",(char *) "y", NULL
22902 };
22903
22904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
22905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22907 arg2 = (int)SWIG_As_int(obj1);
22908 if (PyErr_Occurred()) SWIG_fail;
22909 arg3 = (int)SWIG_As_int(obj2);
22910 if (PyErr_Occurred()) SWIG_fail;
22911 {
22912 PyThreadState* __tstate = wxPyBeginAllowThreads();
22913 (arg1)->SetPPIPrinter(arg2,arg3);
22914
22915 wxPyEndAllowThreads(__tstate);
22916 if (PyErr_Occurred()) SWIG_fail;
22917 }
22918 Py_INCREF(Py_None); resultobj = Py_None;
22919 return resultobj;
22920 fail:
22921 return NULL;
22922}
22923
22924
22925static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
22926 PyObject *resultobj;
22927 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22928 int *arg2 = (int *) 0 ;
22929 int *arg3 = (int *) 0 ;
22930 int temp2 ;
22931 int res2 = 0 ;
22932 int temp3 ;
22933 int res3 = 0 ;
22934 PyObject * obj0 = 0 ;
22935 char *kwnames[] = {
22936 (char *) "self", NULL
22937 };
22938
22939 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22940 arg3 = &temp3; res3 = SWIG_NEWOBJ;
22941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
22942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22944 {
22945 PyThreadState* __tstate = wxPyBeginAllowThreads();
22946 (arg1)->GetPPIPrinter(arg2,arg3);
22947
22948 wxPyEndAllowThreads(__tstate);
22949 if (PyErr_Occurred()) SWIG_fail;
22950 }
22951 Py_INCREF(Py_None); resultobj = Py_None;
22952 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22953 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22954 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22955 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
22956 return resultobj;
22957 fail:
22958 return NULL;
22959}
22960
22961
22962static PyObject *_wrap_Printout_IsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
22963 PyObject *resultobj;
22964 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22965 bool result;
22966 PyObject * obj0 = 0 ;
22967 char *kwnames[] = {
22968 (char *) "self", NULL
22969 };
22970
22971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
22972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22974 {
22975 PyThreadState* __tstate = wxPyBeginAllowThreads();
22976 result = (bool)(arg1)->IsPreview();
22977
22978 wxPyEndAllowThreads(__tstate);
22979 if (PyErr_Occurred()) SWIG_fail;
22980 }
22981 {
22982 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22983 }
22984 return resultobj;
22985 fail:
22986 return NULL;
22987}
22988
22989
22990static PyObject *_wrap_Printout_SetIsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
22991 PyObject *resultobj;
22992 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22993 bool arg2 ;
22994 PyObject * obj0 = 0 ;
22995 PyObject * obj1 = 0 ;
22996 char *kwnames[] = {
22997 (char *) "self",(char *) "p", NULL
22998 };
22999
23000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
23001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23003 arg2 = (bool)SWIG_As_bool(obj1);
23004 if (PyErr_Occurred()) SWIG_fail;
23005 {
23006 PyThreadState* __tstate = wxPyBeginAllowThreads();
23007 (arg1)->SetIsPreview(arg2);
23008
23009 wxPyEndAllowThreads(__tstate);
23010 if (PyErr_Occurred()) SWIG_fail;
23011 }
23012 Py_INCREF(Py_None); resultobj = Py_None;
23013 return resultobj;
23014 fail:
23015 return NULL;
23016}
23017
23018
23019static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *, PyObject *args, PyObject *kwargs) {
23020 PyObject *resultobj;
23021 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23022 int arg2 ;
23023 int arg3 ;
23024 bool result;
23025 PyObject * obj0 = 0 ;
23026 PyObject * obj1 = 0 ;
23027 PyObject * obj2 = 0 ;
23028 char *kwnames[] = {
23029 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
23030 };
23031
23032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
23033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23035 arg2 = (int)SWIG_As_int(obj1);
23036 if (PyErr_Occurred()) SWIG_fail;
23037 arg3 = (int)SWIG_As_int(obj2);
23038 if (PyErr_Occurred()) SWIG_fail;
23039 {
23040 PyThreadState* __tstate = wxPyBeginAllowThreads();
23041 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
23042
23043 wxPyEndAllowThreads(__tstate);
23044 if (PyErr_Occurred()) SWIG_fail;
23045 }
23046 {
23047 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23048 }
23049 return resultobj;
23050 fail:
23051 return NULL;
23052}
23053
23054
23055static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *, PyObject *args, PyObject *kwargs) {
23056 PyObject *resultobj;
23057 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23058 PyObject * obj0 = 0 ;
23059 char *kwnames[] = {
23060 (char *) "self", NULL
23061 };
23062
23063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
23064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23066 {
23067 PyThreadState* __tstate = wxPyBeginAllowThreads();
23068 (arg1)->base_OnEndDocument();
23069
23070 wxPyEndAllowThreads(__tstate);
23071 if (PyErr_Occurred()) SWIG_fail;
23072 }
23073 Py_INCREF(Py_None); resultobj = Py_None;
23074 return resultobj;
23075 fail:
23076 return NULL;
23077}
23078
23079
23080static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
23081 PyObject *resultobj;
23082 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23083 PyObject * obj0 = 0 ;
23084 char *kwnames[] = {
23085 (char *) "self", NULL
23086 };
23087
23088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
23089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23091 {
23092 PyThreadState* __tstate = wxPyBeginAllowThreads();
23093 (arg1)->base_OnBeginPrinting();
23094
23095 wxPyEndAllowThreads(__tstate);
23096 if (PyErr_Occurred()) SWIG_fail;
23097 }
23098 Py_INCREF(Py_None); resultobj = Py_None;
23099 return resultobj;
23100 fail:
23101 return NULL;
23102}
23103
23104
23105static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
23106 PyObject *resultobj;
23107 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23108 PyObject * obj0 = 0 ;
23109 char *kwnames[] = {
23110 (char *) "self", NULL
23111 };
23112
23113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
23114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23116 {
23117 PyThreadState* __tstate = wxPyBeginAllowThreads();
23118 (arg1)->base_OnEndPrinting();
23119
23120 wxPyEndAllowThreads(__tstate);
23121 if (PyErr_Occurred()) SWIG_fail;
23122 }
23123 Py_INCREF(Py_None); resultobj = Py_None;
23124 return resultobj;
23125 fail:
23126 return NULL;
23127}
23128
23129
23130static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *, PyObject *args, PyObject *kwargs) {
23131 PyObject *resultobj;
23132 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23133 PyObject * obj0 = 0 ;
23134 char *kwnames[] = {
23135 (char *) "self", NULL
23136 };
23137
23138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
23139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23141 {
23142 PyThreadState* __tstate = wxPyBeginAllowThreads();
23143 (arg1)->base_OnPreparePrinting();
23144
23145 wxPyEndAllowThreads(__tstate);
23146 if (PyErr_Occurred()) SWIG_fail;
23147 }
23148 Py_INCREF(Py_None); resultobj = Py_None;
23149 return resultobj;
23150 fail:
23151 return NULL;
23152}
23153
23154
23155static PyObject *_wrap_Printout_base_HasPage(PyObject *, PyObject *args, PyObject *kwargs) {
23156 PyObject *resultobj;
23157 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23158 int arg2 ;
23159 bool result;
23160 PyObject * obj0 = 0 ;
23161 PyObject * obj1 = 0 ;
23162 char *kwnames[] = {
23163 (char *) "self",(char *) "page", NULL
23164 };
23165
23166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
23167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23169 arg2 = (int)SWIG_As_int(obj1);
23170 if (PyErr_Occurred()) SWIG_fail;
23171 {
23172 PyThreadState* __tstate = wxPyBeginAllowThreads();
23173 result = (bool)(arg1)->base_HasPage(arg2);
23174
23175 wxPyEndAllowThreads(__tstate);
23176 if (PyErr_Occurred()) SWIG_fail;
23177 }
23178 {
23179 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23180 }
23181 return resultobj;
23182 fail:
23183 return NULL;
23184}
23185
23186
23187static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *, PyObject *args, PyObject *kwargs) {
23188 PyObject *resultobj;
23189 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23190 int *arg2 = (int *) 0 ;
23191 int *arg3 = (int *) 0 ;
23192 int *arg4 = (int *) 0 ;
23193 int *arg5 = (int *) 0 ;
23194 int temp2 ;
23195 int res2 = 0 ;
23196 int temp3 ;
23197 int res3 = 0 ;
23198 int temp4 ;
23199 int res4 = 0 ;
23200 int temp5 ;
23201 int res5 = 0 ;
23202 PyObject * obj0 = 0 ;
23203 char *kwnames[] = {
23204 (char *) "self", NULL
23205 };
23206
23207 arg2 = &temp2; res2 = SWIG_NEWOBJ;
23208 arg3 = &temp3; res3 = SWIG_NEWOBJ;
23209 arg4 = &temp4; res4 = SWIG_NEWOBJ;
23210 arg5 = &temp5; res5 = SWIG_NEWOBJ;
23211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
23212 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23214 {
23215 PyThreadState* __tstate = wxPyBeginAllowThreads();
23216 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
23217
23218 wxPyEndAllowThreads(__tstate);
23219 if (PyErr_Occurred()) SWIG_fail;
23220 }
23221 Py_INCREF(Py_None); resultobj = Py_None;
23222 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
23223 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
23224 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
23225 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
23226 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
23227 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
23228 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
23229 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
23230 return resultobj;
23231 fail:
23232 return NULL;
23233}
23234
23235
23236static PyObject * Printout_swigregister(PyObject *, PyObject *args) {
23237 PyObject *obj;
23238 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23239 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
23240 Py_INCREF(obj);
23241 return Py_BuildValue((char *)"");
23242}
23243static PyObject *_wrap_new_PreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
23244 PyObject *resultobj;
23245 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23246 wxWindow *arg2 = (wxWindow *) 0 ;
23247 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23248 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23249 wxSize const &arg4_defvalue = wxDefaultSize ;
23250 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23251 long arg5 = (long) 0 ;
23252 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
23253 wxString *arg6 = (wxString *) &arg6_defvalue ;
23254 wxPreviewCanvas *result;
23255 wxPoint temp3 ;
23256 wxSize temp4 ;
23257 bool temp6 = false ;
23258 PyObject * obj0 = 0 ;
23259 PyObject * obj1 = 0 ;
23260 PyObject * obj2 = 0 ;
23261 PyObject * obj3 = 0 ;
23262 PyObject * obj4 = 0 ;
23263 PyObject * obj5 = 0 ;
23264 char *kwnames[] = {
23265 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23266 };
23267
23268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
23269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23271 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
23272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23273 if (obj2) {
23274 {
23275 arg3 = &temp3;
23276 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23277 }
23278 }
23279 if (obj3) {
23280 {
23281 arg4 = &temp4;
23282 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23283 }
23284 }
23285 if (obj4) {
23286 arg5 = (long)SWIG_As_long(obj4);
23287 if (PyErr_Occurred()) SWIG_fail;
23288 }
23289 if (obj5) {
23290 {
23291 arg6 = wxString_in_helper(obj5);
23292 if (arg6 == NULL) SWIG_fail;
23293 temp6 = true;
23294 }
23295 }
23296 {
23297 if (!wxPyCheckForApp()) SWIG_fail;
23298 PyThreadState* __tstate = wxPyBeginAllowThreads();
23299 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
23300
23301 wxPyEndAllowThreads(__tstate);
23302 if (PyErr_Occurred()) SWIG_fail;
23303 }
23304 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
23305 {
23306 if (temp6)
23307 delete arg6;
23308 }
23309 return resultobj;
23310 fail:
23311 {
23312 if (temp6)
23313 delete arg6;
23314 }
23315 return NULL;
23316}
23317
23318
23319static PyObject * PreviewCanvas_swigregister(PyObject *, PyObject *args) {
23320 PyObject *obj;
23321 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23322 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
23323 Py_INCREF(obj);
23324 return Py_BuildValue((char *)"");
23325}
23326static PyObject *_wrap_new_PreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
23327 PyObject *resultobj;
23328 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23329 wxFrame *arg2 = (wxFrame *) 0 ;
23330 wxString *arg3 = 0 ;
23331 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23332 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23333 wxSize const &arg5_defvalue = wxDefaultSize ;
23334 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23335 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
23336 wxString const &arg7_defvalue = wxPyFrameNameStr ;
23337 wxString *arg7 = (wxString *) &arg7_defvalue ;
23338 wxPreviewFrame *result;
23339 bool temp3 = false ;
23340 wxPoint temp4 ;
23341 wxSize temp5 ;
23342 bool temp7 = false ;
23343 PyObject * obj0 = 0 ;
23344 PyObject * obj1 = 0 ;
23345 PyObject * obj2 = 0 ;
23346 PyObject * obj3 = 0 ;
23347 PyObject * obj4 = 0 ;
23348 PyObject * obj5 = 0 ;
23349 PyObject * obj6 = 0 ;
23350 char *kwnames[] = {
23351 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23352 };
23353
23354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23357 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
23358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23359 {
23360 arg3 = wxString_in_helper(obj2);
23361 if (arg3 == NULL) SWIG_fail;
23362 temp3 = true;
23363 }
23364 if (obj3) {
23365 {
23366 arg4 = &temp4;
23367 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23368 }
23369 }
23370 if (obj4) {
23371 {
23372 arg5 = &temp5;
23373 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23374 }
23375 }
23376 if (obj5) {
23377 arg6 = (long)SWIG_As_long(obj5);
23378 if (PyErr_Occurred()) SWIG_fail;
23379 }
23380 if (obj6) {
23381 {
23382 arg7 = wxString_in_helper(obj6);
23383 if (arg7 == NULL) SWIG_fail;
23384 temp7 = true;
23385 }
23386 }
23387 {
23388 if (!wxPyCheckForApp()) SWIG_fail;
23389 PyThreadState* __tstate = wxPyBeginAllowThreads();
23390 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
23391
23392 wxPyEndAllowThreads(__tstate);
23393 if (PyErr_Occurred()) SWIG_fail;
23394 }
23395 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
23396 {
23397 if (temp3)
23398 delete arg3;
23399 }
23400 {
23401 if (temp7)
23402 delete arg7;
23403 }
23404 return resultobj;
23405 fail:
23406 {
23407 if (temp3)
23408 delete arg3;
23409 }
23410 {
23411 if (temp7)
23412 delete arg7;
23413 }
23414 return NULL;
23415}
23416
23417
23418static PyObject *_wrap_PreviewFrame_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
23419 PyObject *resultobj;
23420 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
23421 PyObject * obj0 = 0 ;
23422 char *kwnames[] = {
23423 (char *) "self", NULL
23424 };
23425
23426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
23427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
23428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23429 {
23430 PyThreadState* __tstate = wxPyBeginAllowThreads();
23431 (arg1)->Initialize();
23432
23433 wxPyEndAllowThreads(__tstate);
23434 if (PyErr_Occurred()) SWIG_fail;
23435 }
23436 Py_INCREF(Py_None); resultobj = Py_None;
23437 return resultobj;
23438 fail:
23439 return NULL;
23440}
23441
23442
23443static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
23444 PyObject *resultobj;
23445 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
23446 PyObject * obj0 = 0 ;
23447 char *kwnames[] = {
23448 (char *) "self", NULL
23449 };
23450
23451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
23452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
23453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23454 {
23455 PyThreadState* __tstate = wxPyBeginAllowThreads();
23456 (arg1)->CreateControlBar();
23457
23458 wxPyEndAllowThreads(__tstate);
23459 if (PyErr_Occurred()) SWIG_fail;
23460 }
23461 Py_INCREF(Py_None); resultobj = Py_None;
23462 return resultobj;
23463 fail:
23464 return NULL;
23465}
23466
23467
23468static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
23469 PyObject *resultobj;
23470 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
23471 PyObject * obj0 = 0 ;
23472 char *kwnames[] = {
23473 (char *) "self", NULL
23474 };
23475
23476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
23477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
23478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23479 {
23480 PyThreadState* __tstate = wxPyBeginAllowThreads();
23481 (arg1)->CreateCanvas();
23482
23483 wxPyEndAllowThreads(__tstate);
23484 if (PyErr_Occurred()) SWIG_fail;
23485 }
23486 Py_INCREF(Py_None); resultobj = Py_None;
23487 return resultobj;
23488 fail:
23489 return NULL;
23490}
23491
23492
23493static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
23494 PyObject *resultobj;
23495 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
23496 wxPreviewControlBar *result;
23497 PyObject * obj0 = 0 ;
23498 char *kwnames[] = {
23499 (char *) "self", NULL
23500 };
23501
23502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
23503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
23504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23505 {
23506 PyThreadState* __tstate = wxPyBeginAllowThreads();
23507 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
23508
23509 wxPyEndAllowThreads(__tstate);
23510 if (PyErr_Occurred()) SWIG_fail;
23511 }
23512 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
23513 return resultobj;
23514 fail:
23515 return NULL;
23516}
23517
23518
23519static PyObject * PreviewFrame_swigregister(PyObject *, PyObject *args) {
23520 PyObject *obj;
23521 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23522 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
23523 Py_INCREF(obj);
23524 return Py_BuildValue((char *)"");
23525}
23526static PyObject *_wrap_new_PreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
23527 PyObject *resultobj;
23528 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23529 long arg2 ;
23530 wxWindow *arg3 = (wxWindow *) 0 ;
23531 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23532 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23533 wxSize const &arg5_defvalue = wxDefaultSize ;
23534 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23535 long arg6 = (long) wxTAB_TRAVERSAL ;
23536 wxString const &arg7_defvalue = wxPyPanelNameStr ;
23537 wxString *arg7 = (wxString *) &arg7_defvalue ;
23538 wxPreviewControlBar *result;
23539 wxPoint temp4 ;
23540 wxSize temp5 ;
23541 bool temp7 = false ;
23542 PyObject * obj0 = 0 ;
23543 PyObject * obj1 = 0 ;
23544 PyObject * obj2 = 0 ;
23545 PyObject * obj3 = 0 ;
23546 PyObject * obj4 = 0 ;
23547 PyObject * obj5 = 0 ;
23548 PyObject * obj6 = 0 ;
23549 char *kwnames[] = {
23550 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23551 };
23552
23553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23556 arg2 = (long)SWIG_As_long(obj1);
23557 if (PyErr_Occurred()) SWIG_fail;
23558 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
23559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23560 if (obj3) {
23561 {
23562 arg4 = &temp4;
23563 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23564 }
23565 }
23566 if (obj4) {
23567 {
23568 arg5 = &temp5;
23569 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23570 }
23571 }
23572 if (obj5) {
23573 arg6 = (long)SWIG_As_long(obj5);
23574 if (PyErr_Occurred()) SWIG_fail;
23575 }
23576 if (obj6) {
23577 {
23578 arg7 = wxString_in_helper(obj6);
23579 if (arg7 == NULL) SWIG_fail;
23580 temp7 = true;
23581 }
23582 }
23583 {
23584 if (!wxPyCheckForApp()) SWIG_fail;
23585 PyThreadState* __tstate = wxPyBeginAllowThreads();
23586 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
23587
23588 wxPyEndAllowThreads(__tstate);
23589 if (PyErr_Occurred()) SWIG_fail;
23590 }
23591 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
23592 {
23593 if (temp7)
23594 delete arg7;
23595 }
23596 return resultobj;
23597 fail:
23598 {
23599 if (temp7)
23600 delete arg7;
23601 }
23602 return NULL;
23603}
23604
23605
23606static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
23607 PyObject *resultobj;
23608 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23609 int result;
23610 PyObject * obj0 = 0 ;
23611 char *kwnames[] = {
23612 (char *) "self", NULL
23613 };
23614
23615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
23616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23618 {
23619 PyThreadState* __tstate = wxPyBeginAllowThreads();
23620 result = (int)(arg1)->GetZoomControl();
23621
23622 wxPyEndAllowThreads(__tstate);
23623 if (PyErr_Occurred()) SWIG_fail;
23624 }
23625 resultobj = SWIG_From_int((int)result);
23626 return resultobj;
23627 fail:
23628 return NULL;
23629}
23630
23631
23632static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
23633 PyObject *resultobj;
23634 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23635 int arg2 ;
23636 PyObject * obj0 = 0 ;
23637 PyObject * obj1 = 0 ;
23638 char *kwnames[] = {
23639 (char *) "self",(char *) "zoom", NULL
23640 };
23641
23642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
23643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23645 arg2 = (int)SWIG_As_int(obj1);
23646 if (PyErr_Occurred()) SWIG_fail;
23647 {
23648 PyThreadState* __tstate = wxPyBeginAllowThreads();
23649 (arg1)->SetZoomControl(arg2);
23650
23651 wxPyEndAllowThreads(__tstate);
23652 if (PyErr_Occurred()) SWIG_fail;
23653 }
23654 Py_INCREF(Py_None); resultobj = Py_None;
23655 return resultobj;
23656 fail:
23657 return NULL;
23658}
23659
23660
23661static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
23662 PyObject *resultobj;
23663 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23664 wxPrintPreview *result;
23665 PyObject * obj0 = 0 ;
23666 char *kwnames[] = {
23667 (char *) "self", NULL
23668 };
23669
23670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
23671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23673 {
23674 PyThreadState* __tstate = wxPyBeginAllowThreads();
23675 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
23676
23677 wxPyEndAllowThreads(__tstate);
23678 if (PyErr_Occurred()) SWIG_fail;
23679 }
23680 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
23681 return resultobj;
23682 fail:
23683 return NULL;
23684}
23685
23686
23687static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *, PyObject *args, PyObject *kwargs) {
23688 PyObject *resultobj;
23689 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23690 PyObject * obj0 = 0 ;
23691 char *kwnames[] = {
23692 (char *) "self", NULL
23693 };
23694
23695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
23696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23698 {
23699 PyThreadState* __tstate = wxPyBeginAllowThreads();
23700 (arg1)->OnNext();
23701
23702 wxPyEndAllowThreads(__tstate);
23703 if (PyErr_Occurred()) SWIG_fail;
23704 }
23705 Py_INCREF(Py_None); resultobj = Py_None;
23706 return resultobj;
23707 fail:
23708 return NULL;
23709}
23710
23711
23712static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *, PyObject *args, PyObject *kwargs) {
23713 PyObject *resultobj;
23714 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23715 PyObject * obj0 = 0 ;
23716 char *kwnames[] = {
23717 (char *) "self", NULL
23718 };
23719
23720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
23721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23723 {
23724 PyThreadState* __tstate = wxPyBeginAllowThreads();
23725 (arg1)->OnPrevious();
23726
23727 wxPyEndAllowThreads(__tstate);
23728 if (PyErr_Occurred()) SWIG_fail;
23729 }
23730 Py_INCREF(Py_None); resultobj = Py_None;
23731 return resultobj;
23732 fail:
23733 return NULL;
23734}
23735
23736
23737static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *, PyObject *args, PyObject *kwargs) {
23738 PyObject *resultobj;
23739 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23740 PyObject * obj0 = 0 ;
23741 char *kwnames[] = {
23742 (char *) "self", NULL
23743 };
23744
23745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
23746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23748 {
23749 PyThreadState* __tstate = wxPyBeginAllowThreads();
23750 (arg1)->OnFirst();
23751
23752 wxPyEndAllowThreads(__tstate);
23753 if (PyErr_Occurred()) SWIG_fail;
23754 }
23755 Py_INCREF(Py_None); resultobj = Py_None;
23756 return resultobj;
23757 fail:
23758 return NULL;
23759}
23760
23761
23762static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *, PyObject *args, PyObject *kwargs) {
23763 PyObject *resultobj;
23764 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23765 PyObject * obj0 = 0 ;
23766 char *kwnames[] = {
23767 (char *) "self", NULL
23768 };
23769
23770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
23771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23773 {
23774 PyThreadState* __tstate = wxPyBeginAllowThreads();
23775 (arg1)->OnLast();
23776
23777 wxPyEndAllowThreads(__tstate);
23778 if (PyErr_Occurred()) SWIG_fail;
23779 }
23780 Py_INCREF(Py_None); resultobj = Py_None;
23781 return resultobj;
23782 fail:
23783 return NULL;
23784}
23785
23786
23787static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *, PyObject *args, PyObject *kwargs) {
23788 PyObject *resultobj;
23789 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23790 PyObject * obj0 = 0 ;
23791 char *kwnames[] = {
23792 (char *) "self", NULL
23793 };
23794
23795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
23796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23798 {
23799 PyThreadState* __tstate = wxPyBeginAllowThreads();
23800 (arg1)->OnGoto();
23801
23802 wxPyEndAllowThreads(__tstate);
23803 if (PyErr_Occurred()) SWIG_fail;
23804 }
23805 Py_INCREF(Py_None); resultobj = Py_None;
23806 return resultobj;
23807 fail:
23808 return NULL;
23809}
23810
23811
23812static PyObject * PreviewControlBar_swigregister(PyObject *, PyObject *args) {
23813 PyObject *obj;
23814 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23815 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
23816 Py_INCREF(obj);
23817 return Py_BuildValue((char *)"");
23818}
23819static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *, PyObject *args) {
23820 PyObject *resultobj;
23821 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23822 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23823 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
23824 wxPrintPreview *result;
23825 PyObject * obj0 = 0 ;
23826 PyObject * obj1 = 0 ;
23827 PyObject * obj2 = 0 ;
23828
23829 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
23830 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23832 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23834 if (obj2) {
23835 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
23836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23837 }
23838 {
23839 if (!wxPyCheckForApp()) SWIG_fail;
23840 PyThreadState* __tstate = wxPyBeginAllowThreads();
23841 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
23842
23843 wxPyEndAllowThreads(__tstate);
23844 if (PyErr_Occurred()) SWIG_fail;
23845 }
23846 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
23847 return resultobj;
23848 fail:
23849 return NULL;
23850}
23851
23852
23853static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *, PyObject *args) {
23854 PyObject *resultobj;
23855 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23856 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23857 wxPrintData *arg3 = (wxPrintData *) 0 ;
23858 wxPrintPreview *result;
23859 PyObject * obj0 = 0 ;
23860 PyObject * obj1 = 0 ;
23861 PyObject * obj2 = 0 ;
23862
23863 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
23864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23866 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23868 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
23869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23870 {
23871 if (!wxPyCheckForApp()) SWIG_fail;
23872 PyThreadState* __tstate = wxPyBeginAllowThreads();
23873 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
23874
23875 wxPyEndAllowThreads(__tstate);
23876 if (PyErr_Occurred()) SWIG_fail;
23877 }
23878 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
23879 return resultobj;
23880 fail:
23881 return NULL;
23882}
23883
23884
23885static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
23886 int argc;
23887 PyObject *argv[4];
23888 int ii;
23889
23890 argc = PyObject_Length(args);
23891 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
23892 argv[ii] = PyTuple_GetItem(args,ii);
23893 }
23894 if ((argc >= 2) && (argc <= 3)) {
23895 int _v;
23896 {
23897 void *ptr;
23898 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23899 _v = 0;
23900 PyErr_Clear();
23901 } else {
23902 _v = 1;
23903 }
23904 }
23905 if (_v) {
23906 {
23907 void *ptr;
23908 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23909 _v = 0;
23910 PyErr_Clear();
23911 } else {
23912 _v = 1;
23913 }
23914 }
23915 if (_v) {
23916 if (argc <= 2) {
23917 return _wrap_new_PrintPreview__SWIG_0(self,args);
23918 }
23919 {
23920 void *ptr;
23921 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
23922 _v = 0;
23923 PyErr_Clear();
23924 } else {
23925 _v = 1;
23926 }
23927 }
23928 if (_v) {
23929 return _wrap_new_PrintPreview__SWIG_0(self,args);
23930 }
23931 }
23932 }
23933 }
23934 if (argc == 3) {
23935 int _v;
23936 {
23937 void *ptr;
23938 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23939 _v = 0;
23940 PyErr_Clear();
23941 } else {
23942 _v = 1;
23943 }
23944 }
23945 if (_v) {
23946 {
23947 void *ptr;
23948 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23949 _v = 0;
23950 PyErr_Clear();
23951 } else {
23952 _v = 1;
23953 }
23954 }
23955 if (_v) {
23956 {
23957 void *ptr;
23958 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
23959 _v = 0;
23960 PyErr_Clear();
23961 } else {
23962 _v = 1;
23963 }
23964 }
23965 if (_v) {
23966 return _wrap_new_PrintPreview__SWIG_1(self,args);
23967 }
23968 }
23969 }
23970 }
23971
23972 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintPreview'");
23973 return NULL;
23974}
23975
23976
23977static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
23978 PyObject *resultobj;
23979 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23980 int arg2 ;
23981 bool result;
23982 PyObject * obj0 = 0 ;
23983 PyObject * obj1 = 0 ;
23984 char *kwnames[] = {
23985 (char *) "self",(char *) "pageNum", NULL
23986 };
23987
23988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
23989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23991 arg2 = (int)SWIG_As_int(obj1);
23992 if (PyErr_Occurred()) SWIG_fail;
23993 {
23994 PyThreadState* __tstate = wxPyBeginAllowThreads();
23995 result = (bool)(arg1)->SetCurrentPage(arg2);
23996
23997 wxPyEndAllowThreads(__tstate);
23998 if (PyErr_Occurred()) SWIG_fail;
23999 }
24000 {
24001 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24002 }
24003 return resultobj;
24004 fail:
24005 return NULL;
24006}
24007
24008
24009static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
24010 PyObject *resultobj;
24011 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24012 int result;
24013 PyObject * obj0 = 0 ;
24014 char *kwnames[] = {
24015 (char *) "self", NULL
24016 };
24017
24018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
24019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24021 {
24022 PyThreadState* __tstate = wxPyBeginAllowThreads();
24023 result = (int)(arg1)->GetCurrentPage();
24024
24025 wxPyEndAllowThreads(__tstate);
24026 if (PyErr_Occurred()) SWIG_fail;
24027 }
24028 resultobj = SWIG_From_int((int)result);
24029 return resultobj;
24030 fail:
24031 return NULL;
24032}
24033
24034
24035static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
24036 PyObject *resultobj;
24037 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24038 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
24039 PyObject * obj0 = 0 ;
24040 PyObject * obj1 = 0 ;
24041 char *kwnames[] = {
24042 (char *) "self",(char *) "printout", NULL
24043 };
24044
24045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
24046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24048 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
24049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24050 {
24051 PyThreadState* __tstate = wxPyBeginAllowThreads();
24052 (arg1)->SetPrintout(arg2);
24053
24054 wxPyEndAllowThreads(__tstate);
24055 if (PyErr_Occurred()) SWIG_fail;
24056 }
24057 Py_INCREF(Py_None); resultobj = Py_None;
24058 return resultobj;
24059 fail:
24060 return NULL;
24061}
24062
24063
24064static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
24065 PyObject *resultobj;
24066 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24067 wxPyPrintout *result;
24068 PyObject * obj0 = 0 ;
24069 char *kwnames[] = {
24070 (char *) "self", NULL
24071 };
24072
24073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
24074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24076 {
24077 PyThreadState* __tstate = wxPyBeginAllowThreads();
24078 result = (wxPyPrintout *)(arg1)->GetPrintout();
24079
24080 wxPyEndAllowThreads(__tstate);
24081 if (PyErr_Occurred()) SWIG_fail;
24082 }
24083 {
24084 resultobj = wxPyMake_wxObject(result, 0);
24085 }
24086 return resultobj;
24087 fail:
24088 return NULL;
24089}
24090
24091
24092static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
24093 PyObject *resultobj;
24094 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24095 wxPyPrintout *result;
24096 PyObject * obj0 = 0 ;
24097 char *kwnames[] = {
24098 (char *) "self", NULL
24099 };
24100
24101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
24102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24104 {
24105 PyThreadState* __tstate = wxPyBeginAllowThreads();
24106 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
24107
24108 wxPyEndAllowThreads(__tstate);
24109 if (PyErr_Occurred()) SWIG_fail;
24110 }
24111 {
24112 resultobj = wxPyMake_wxObject(result, 0);
24113 }
24114 return resultobj;
24115 fail:
24116 return NULL;
24117}
24118
24119
24120static PyObject *_wrap_PrintPreview_SetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
24121 PyObject *resultobj;
24122 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24123 wxFrame *arg2 = (wxFrame *) 0 ;
24124 PyObject * obj0 = 0 ;
24125 PyObject * obj1 = 0 ;
24126 char *kwnames[] = {
24127 (char *) "self",(char *) "frame", NULL
24128 };
24129
24130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
24131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24133 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
24134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24135 {
24136 PyThreadState* __tstate = wxPyBeginAllowThreads();
24137 (arg1)->SetFrame(arg2);
24138
24139 wxPyEndAllowThreads(__tstate);
24140 if (PyErr_Occurred()) SWIG_fail;
24141 }
24142 Py_INCREF(Py_None); resultobj = Py_None;
24143 return resultobj;
24144 fail:
24145 return NULL;
24146}
24147
24148
24149static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
24150 PyObject *resultobj;
24151 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24152 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24153 PyObject * obj0 = 0 ;
24154 PyObject * obj1 = 0 ;
24155 char *kwnames[] = {
24156 (char *) "self",(char *) "canvas", NULL
24157 };
24158
24159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
24160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24162 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24164 {
24165 PyThreadState* __tstate = wxPyBeginAllowThreads();
24166 (arg1)->SetCanvas(arg2);
24167
24168 wxPyEndAllowThreads(__tstate);
24169 if (PyErr_Occurred()) SWIG_fail;
24170 }
24171 Py_INCREF(Py_None); resultobj = Py_None;
24172 return resultobj;
24173 fail:
24174 return NULL;
24175}
24176
24177
24178static PyObject *_wrap_PrintPreview_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
24179 PyObject *resultobj;
24180 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24181 wxFrame *result;
24182 PyObject * obj0 = 0 ;
24183 char *kwnames[] = {
24184 (char *) "self", NULL
24185 };
24186
24187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
24188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24190 {
24191 PyThreadState* __tstate = wxPyBeginAllowThreads();
24192 result = (wxFrame *)(arg1)->GetFrame();
24193
24194 wxPyEndAllowThreads(__tstate);
24195 if (PyErr_Occurred()) SWIG_fail;
24196 }
24197 {
24198 resultobj = wxPyMake_wxObject(result, 0);
24199 }
24200 return resultobj;
24201 fail:
24202 return NULL;
24203}
24204
24205
24206static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
24207 PyObject *resultobj;
24208 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24209 wxPreviewCanvas *result;
24210 PyObject * obj0 = 0 ;
24211 char *kwnames[] = {
24212 (char *) "self", NULL
24213 };
24214
24215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
24216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24218 {
24219 PyThreadState* __tstate = wxPyBeginAllowThreads();
24220 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
24221
24222 wxPyEndAllowThreads(__tstate);
24223 if (PyErr_Occurred()) SWIG_fail;
24224 }
24225 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
24226 return resultobj;
24227 fail:
24228 return NULL;
24229}
24230
24231
24232static PyObject *_wrap_PrintPreview_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
24233 PyObject *resultobj;
24234 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24235 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24236 wxDC *arg3 = 0 ;
24237 bool result;
24238 PyObject * obj0 = 0 ;
24239 PyObject * obj1 = 0 ;
24240 PyObject * obj2 = 0 ;
24241 char *kwnames[] = {
24242 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24243 };
24244
24245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24248 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24250 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
24251 SWIG_POINTER_EXCEPTION | 0)) == -1)
24252 SWIG_fail;
24253 if (arg3 == NULL) {
24254 PyErr_SetString(PyExc_TypeError,"null reference");
24255 SWIG_fail;
24256 }
24257 {
24258 PyThreadState* __tstate = wxPyBeginAllowThreads();
24259 result = (bool)(arg1)->PaintPage(arg2,*arg3);
24260
24261 wxPyEndAllowThreads(__tstate);
24262 if (PyErr_Occurred()) SWIG_fail;
24263 }
24264 {
24265 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24266 }
24267 return resultobj;
24268 fail:
24269 return NULL;
24270}
24271
24272
24273static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
24274 PyObject *resultobj;
24275 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24276 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24277 wxDC *arg3 = 0 ;
24278 bool result;
24279 PyObject * obj0 = 0 ;
24280 PyObject * obj1 = 0 ;
24281 PyObject * obj2 = 0 ;
24282 char *kwnames[] = {
24283 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24284 };
24285
24286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24289 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24291 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
24292 SWIG_POINTER_EXCEPTION | 0)) == -1)
24293 SWIG_fail;
24294 if (arg3 == NULL) {
24295 PyErr_SetString(PyExc_TypeError,"null reference");
24296 SWIG_fail;
24297 }
24298 {
24299 PyThreadState* __tstate = wxPyBeginAllowThreads();
24300 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
24301
24302 wxPyEndAllowThreads(__tstate);
24303 if (PyErr_Occurred()) SWIG_fail;
24304 }
24305 {
24306 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24307 }
24308 return resultobj;
24309 fail:
24310 return NULL;
24311}
24312
24313
24314static PyObject *_wrap_PrintPreview_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
24315 PyObject *resultobj;
24316 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24317 int arg2 ;
24318 bool result;
24319 PyObject * obj0 = 0 ;
24320 PyObject * obj1 = 0 ;
24321 char *kwnames[] = {
24322 (char *) "self",(char *) "pageNum", NULL
24323 };
24324
24325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
24326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24328 arg2 = (int)SWIG_As_int(obj1);
24329 if (PyErr_Occurred()) SWIG_fail;
24330 {
24331 PyThreadState* __tstate = wxPyBeginAllowThreads();
24332 result = (bool)(arg1)->RenderPage(arg2);
24333
24334 wxPyEndAllowThreads(__tstate);
24335 if (PyErr_Occurred()) SWIG_fail;
24336 }
24337 {
24338 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24339 }
24340 return resultobj;
24341 fail:
24342 return NULL;
24343}
24344
24345
24346static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
24347 PyObject *resultobj;
24348 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24349 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24350 PyObject * obj0 = 0 ;
24351 PyObject * obj1 = 0 ;
24352 char *kwnames[] = {
24353 (char *) "self",(char *) "canvas", NULL
24354 };
24355
24356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
24357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24359 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24361 {
24362 PyThreadState* __tstate = wxPyBeginAllowThreads();
24363 (arg1)->AdjustScrollbars(arg2);
24364
24365 wxPyEndAllowThreads(__tstate);
24366 if (PyErr_Occurred()) SWIG_fail;
24367 }
24368 Py_INCREF(Py_None); resultobj = Py_None;
24369 return resultobj;
24370 fail:
24371 return NULL;
24372}
24373
24374
24375static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
24376 PyObject *resultobj;
24377 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24378 wxPrintDialogData *result;
24379 PyObject * obj0 = 0 ;
24380 char *kwnames[] = {
24381 (char *) "self", NULL
24382 };
24383
24384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
24385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24387 {
24388 PyThreadState* __tstate = wxPyBeginAllowThreads();
24389 {
24390 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
24391 result = (wxPrintDialogData *) &_result_ref;
24392 }
24393
24394 wxPyEndAllowThreads(__tstate);
24395 if (PyErr_Occurred()) SWIG_fail;
24396 }
24397 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
24398 return resultobj;
24399 fail:
24400 return NULL;
24401}
24402
24403
24404static PyObject *_wrap_PrintPreview_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
24405 PyObject *resultobj;
24406 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24407 int arg2 ;
24408 PyObject * obj0 = 0 ;
24409 PyObject * obj1 = 0 ;
24410 char *kwnames[] = {
24411 (char *) "self",(char *) "percent", NULL
24412 };
24413
24414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
24415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24417 arg2 = (int)SWIG_As_int(obj1);
24418 if (PyErr_Occurred()) SWIG_fail;
24419 {
24420 PyThreadState* __tstate = wxPyBeginAllowThreads();
24421 (arg1)->SetZoom(arg2);
24422
24423 wxPyEndAllowThreads(__tstate);
24424 if (PyErr_Occurred()) SWIG_fail;
24425 }
24426 Py_INCREF(Py_None); resultobj = Py_None;
24427 return resultobj;
24428 fail:
24429 return NULL;
24430}
24431
24432
24433static PyObject *_wrap_PrintPreview_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
24434 PyObject *resultobj;
24435 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24436 int result;
24437 PyObject * obj0 = 0 ;
24438 char *kwnames[] = {
24439 (char *) "self", NULL
24440 };
24441
24442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
24443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24445 {
24446 PyThreadState* __tstate = wxPyBeginAllowThreads();
24447 result = (int)(arg1)->GetZoom();
24448
24449 wxPyEndAllowThreads(__tstate);
24450 if (PyErr_Occurred()) SWIG_fail;
24451 }
24452 resultobj = SWIG_From_int((int)result);
24453 return resultobj;
24454 fail:
24455 return NULL;
24456}
24457
24458
24459static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
24460 PyObject *resultobj;
24461 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24462 int result;
24463 PyObject * obj0 = 0 ;
24464 char *kwnames[] = {
24465 (char *) "self", NULL
24466 };
24467
24468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
24469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24471 {
24472 PyThreadState* __tstate = wxPyBeginAllowThreads();
24473 result = (int)(arg1)->GetMaxPage();
24474
24475 wxPyEndAllowThreads(__tstate);
24476 if (PyErr_Occurred()) SWIG_fail;
24477 }
24478 resultobj = SWIG_From_int((int)result);
24479 return resultobj;
24480 fail:
24481 return NULL;
24482}
24483
24484
24485static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
24486 PyObject *resultobj;
24487 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24488 int result;
24489 PyObject * obj0 = 0 ;
24490 char *kwnames[] = {
24491 (char *) "self", NULL
24492 };
24493
24494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
24495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24497 {
24498 PyThreadState* __tstate = wxPyBeginAllowThreads();
24499 result = (int)(arg1)->GetMinPage();
24500
24501 wxPyEndAllowThreads(__tstate);
24502 if (PyErr_Occurred()) SWIG_fail;
24503 }
24504 resultobj = SWIG_From_int((int)result);
24505 return resultobj;
24506 fail:
24507 return NULL;
24508}
24509
24510
24511static PyObject *_wrap_PrintPreview_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
24512 PyObject *resultobj;
24513 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24514 bool result;
24515 PyObject * obj0 = 0 ;
24516 char *kwnames[] = {
24517 (char *) "self", NULL
24518 };
24519
24520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
24521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24523 {
24524 PyThreadState* __tstate = wxPyBeginAllowThreads();
24525 result = (bool)(arg1)->Ok();
24526
24527 wxPyEndAllowThreads(__tstate);
24528 if (PyErr_Occurred()) SWIG_fail;
24529 }
24530 {
24531 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24532 }
24533 return resultobj;
24534 fail:
24535 return NULL;
24536}
24537
24538
24539static PyObject *_wrap_PrintPreview_SetOk(PyObject *, PyObject *args, PyObject *kwargs) {
24540 PyObject *resultobj;
24541 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24542 bool arg2 ;
24543 PyObject * obj0 = 0 ;
24544 PyObject * obj1 = 0 ;
24545 char *kwnames[] = {
24546 (char *) "self",(char *) "ok", NULL
24547 };
24548
24549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
24550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24552 arg2 = (bool)SWIG_As_bool(obj1);
24553 if (PyErr_Occurred()) SWIG_fail;
24554 {
24555 PyThreadState* __tstate = wxPyBeginAllowThreads();
24556 (arg1)->SetOk(arg2);
24557
24558 wxPyEndAllowThreads(__tstate);
24559 if (PyErr_Occurred()) SWIG_fail;
24560 }
24561 Py_INCREF(Py_None); resultobj = Py_None;
24562 return resultobj;
24563 fail:
24564 return NULL;
24565}
24566
24567
24568static PyObject *_wrap_PrintPreview_Print(PyObject *, PyObject *args, PyObject *kwargs) {
24569 PyObject *resultobj;
24570 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24571 bool arg2 ;
24572 bool result;
24573 PyObject * obj0 = 0 ;
24574 PyObject * obj1 = 0 ;
24575 char *kwnames[] = {
24576 (char *) "self",(char *) "interactive", NULL
24577 };
24578
24579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
24580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24582 arg2 = (bool)SWIG_As_bool(obj1);
24583 if (PyErr_Occurred()) SWIG_fail;
24584 {
24585 PyThreadState* __tstate = wxPyBeginAllowThreads();
24586 result = (bool)(arg1)->Print(arg2);
24587
24588 wxPyEndAllowThreads(__tstate);
24589 if (PyErr_Occurred()) SWIG_fail;
24590 }
24591 {
24592 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24593 }
24594 return resultobj;
24595 fail:
24596 return NULL;
24597}
24598
24599
24600static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
24601 PyObject *resultobj;
24602 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24603 PyObject * obj0 = 0 ;
24604 char *kwnames[] = {
24605 (char *) "self", NULL
24606 };
24607
24608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
24609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24611 {
24612 PyThreadState* __tstate = wxPyBeginAllowThreads();
24613 (arg1)->DetermineScaling();
24614
24615 wxPyEndAllowThreads(__tstate);
24616 if (PyErr_Occurred()) SWIG_fail;
24617 }
24618 Py_INCREF(Py_None); resultobj = Py_None;
24619 return resultobj;
24620 fail:
24621 return NULL;
24622}
24623
24624
24625static PyObject * PrintPreview_swigregister(PyObject *, PyObject *args) {
24626 PyObject *obj;
24627 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24628 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
24629 Py_INCREF(obj);
24630 return Py_BuildValue((char *)"");
24631}
24632static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *, PyObject *args) {
24633 PyObject *resultobj;
24634 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24635 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
24636 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
24637 wxPyPrintPreview *result;
24638 PyObject * obj0 = 0 ;
24639 PyObject * obj1 = 0 ;
24640 PyObject * obj2 = 0 ;
24641
24642 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
24643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
24644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24645 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
24646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24647 if (obj2) {
24648 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
24649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24650 }
24651 {
24652 if (!wxPyCheckForApp()) SWIG_fail;
24653 PyThreadState* __tstate = wxPyBeginAllowThreads();
24654 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
24655
24656 wxPyEndAllowThreads(__tstate);
24657 if (PyErr_Occurred()) SWIG_fail;
24658 }
24659 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
24660 return resultobj;
24661 fail:
24662 return NULL;
24663}
24664
24665
24666static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *, PyObject *args) {
24667 PyObject *resultobj;
24668 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24669 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
24670 wxPrintData *arg3 = (wxPrintData *) 0 ;
24671 wxPyPrintPreview *result;
24672 PyObject * obj0 = 0 ;
24673 PyObject * obj1 = 0 ;
24674 PyObject * obj2 = 0 ;
24675
24676 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
24677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
24678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24679 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
24680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24681 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
24682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24683 {
24684 if (!wxPyCheckForApp()) SWIG_fail;
24685 PyThreadState* __tstate = wxPyBeginAllowThreads();
24686 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
24687
24688 wxPyEndAllowThreads(__tstate);
24689 if (PyErr_Occurred()) SWIG_fail;
24690 }
24691 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
24692 return resultobj;
24693 fail:
24694 return NULL;
24695}
24696
24697
24698static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
24699 int argc;
24700 PyObject *argv[4];
24701 int ii;
24702
24703 argc = PyObject_Length(args);
24704 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
24705 argv[ii] = PyTuple_GetItem(args,ii);
24706 }
24707 if ((argc >= 2) && (argc <= 3)) {
24708 int _v;
24709 {
24710 void *ptr;
24711 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24712 _v = 0;
24713 PyErr_Clear();
24714 } else {
24715 _v = 1;
24716 }
24717 }
24718 if (_v) {
24719 {
24720 void *ptr;
24721 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24722 _v = 0;
24723 PyErr_Clear();
24724 } else {
24725 _v = 1;
24726 }
24727 }
24728 if (_v) {
24729 if (argc <= 2) {
24730 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
24731 }
24732 {
24733 void *ptr;
24734 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
24735 _v = 0;
24736 PyErr_Clear();
24737 } else {
24738 _v = 1;
24739 }
24740 }
24741 if (_v) {
24742 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
24743 }
24744 }
24745 }
24746 }
24747 if (argc == 3) {
24748 int _v;
24749 {
24750 void *ptr;
24751 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24752 _v = 0;
24753 PyErr_Clear();
24754 } else {
24755 _v = 1;
24756 }
24757 }
24758 if (_v) {
24759 {
24760 void *ptr;
24761 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24762 _v = 0;
24763 PyErr_Clear();
24764 } else {
24765 _v = 1;
24766 }
24767 }
24768 if (_v) {
24769 {
24770 void *ptr;
24771 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
24772 _v = 0;
24773 PyErr_Clear();
24774 } else {
24775 _v = 1;
24776 }
24777 }
24778 if (_v) {
24779 return _wrap_new_PyPrintPreview__SWIG_1(self,args);
24780 }
24781 }
24782 }
24783 }
24784
24785 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PyPrintPreview'");
24786 return NULL;
24787}
24788
24789
24790static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
24791 PyObject *resultobj;
24792 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24793 PyObject *arg2 = (PyObject *) 0 ;
24794 PyObject *arg3 = (PyObject *) 0 ;
24795 PyObject * obj0 = 0 ;
24796 PyObject * obj1 = 0 ;
24797 PyObject * obj2 = 0 ;
24798 char *kwnames[] = {
24799 (char *) "self",(char *) "self",(char *) "_class", NULL
24800 };
24801
24802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24805 arg2 = obj1;
24806 arg3 = obj2;
24807 {
24808 PyThreadState* __tstate = wxPyBeginAllowThreads();
24809 (arg1)->_setCallbackInfo(arg2,arg3);
24810
24811 wxPyEndAllowThreads(__tstate);
24812 if (PyErr_Occurred()) SWIG_fail;
24813 }
24814 Py_INCREF(Py_None); resultobj = Py_None;
24815 return resultobj;
24816 fail:
24817 return NULL;
24818}
24819
24820
24821static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
24822 PyObject *resultobj;
24823 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24824 int arg2 ;
24825 bool result;
24826 PyObject * obj0 = 0 ;
24827 PyObject * obj1 = 0 ;
24828 char *kwnames[] = {
24829 (char *) "self",(char *) "pageNum", NULL
24830 };
24831
24832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
24833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24835 arg2 = (int)SWIG_As_int(obj1);
24836 if (PyErr_Occurred()) SWIG_fail;
24837 {
24838 PyThreadState* __tstate = wxPyBeginAllowThreads();
24839 result = (bool)(arg1)->base_SetCurrentPage(arg2);
24840
24841 wxPyEndAllowThreads(__tstate);
24842 if (PyErr_Occurred()) SWIG_fail;
24843 }
24844 {
24845 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24846 }
24847 return resultobj;
24848 fail:
24849 return NULL;
24850}
24851
24852
24853static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
24854 PyObject *resultobj;
24855 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24856 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24857 wxDC *arg3 = 0 ;
24858 bool result;
24859 PyObject * obj0 = 0 ;
24860 PyObject * obj1 = 0 ;
24861 PyObject * obj2 = 0 ;
24862 char *kwnames[] = {
24863 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24864 };
24865
24866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24869 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24871 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
24872 SWIG_POINTER_EXCEPTION | 0)) == -1)
24873 SWIG_fail;
24874 if (arg3 == NULL) {
24875 PyErr_SetString(PyExc_TypeError,"null reference");
24876 SWIG_fail;
24877 }
24878 {
24879 PyThreadState* __tstate = wxPyBeginAllowThreads();
24880 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
24881
24882 wxPyEndAllowThreads(__tstate);
24883 if (PyErr_Occurred()) SWIG_fail;
24884 }
24885 {
24886 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24887 }
24888 return resultobj;
24889 fail:
24890 return NULL;
24891}
24892
24893
24894static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
24895 PyObject *resultobj;
24896 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24897 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24898 wxDC *arg3 = 0 ;
24899 bool result;
24900 PyObject * obj0 = 0 ;
24901 PyObject * obj1 = 0 ;
24902 PyObject * obj2 = 0 ;
24903 char *kwnames[] = {
24904 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24905 };
24906
24907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24910 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24912 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
24913 SWIG_POINTER_EXCEPTION | 0)) == -1)
24914 SWIG_fail;
24915 if (arg3 == NULL) {
24916 PyErr_SetString(PyExc_TypeError,"null reference");
24917 SWIG_fail;
24918 }
24919 {
24920 PyThreadState* __tstate = wxPyBeginAllowThreads();
24921 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
24922
24923 wxPyEndAllowThreads(__tstate);
24924 if (PyErr_Occurred()) SWIG_fail;
24925 }
24926 {
24927 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24928 }
24929 return resultobj;
24930 fail:
24931 return NULL;
24932}
24933
24934
24935static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
24936 PyObject *resultobj;
24937 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24938 int arg2 ;
24939 bool result;
24940 PyObject * obj0 = 0 ;
24941 PyObject * obj1 = 0 ;
24942 char *kwnames[] = {
24943 (char *) "self",(char *) "pageNum", NULL
24944 };
24945
24946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
24947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24949 arg2 = (int)SWIG_As_int(obj1);
24950 if (PyErr_Occurred()) SWIG_fail;
24951 {
24952 PyThreadState* __tstate = wxPyBeginAllowThreads();
24953 result = (bool)(arg1)->base_RenderPage(arg2);
24954
24955 wxPyEndAllowThreads(__tstate);
24956 if (PyErr_Occurred()) SWIG_fail;
24957 }
24958 {
24959 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24960 }
24961 return resultobj;
24962 fail:
24963 return NULL;
24964}
24965
24966
24967static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
24968 PyObject *resultobj;
24969 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24970 int arg2 ;
24971 PyObject * obj0 = 0 ;
24972 PyObject * obj1 = 0 ;
24973 char *kwnames[] = {
24974 (char *) "self",(char *) "percent", NULL
24975 };
24976
24977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
24978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24980 arg2 = (int)SWIG_As_int(obj1);
24981 if (PyErr_Occurred()) SWIG_fail;
24982 {
24983 PyThreadState* __tstate = wxPyBeginAllowThreads();
24984 (arg1)->base_SetZoom(arg2);
24985
24986 wxPyEndAllowThreads(__tstate);
24987 if (PyErr_Occurred()) SWIG_fail;
24988 }
24989 Py_INCREF(Py_None); resultobj = Py_None;
24990 return resultobj;
24991 fail:
24992 return NULL;
24993}
24994
24995
24996static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *, PyObject *args, PyObject *kwargs) {
24997 PyObject *resultobj;
24998 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24999 bool arg2 ;
25000 bool result;
25001 PyObject * obj0 = 0 ;
25002 PyObject * obj1 = 0 ;
25003 char *kwnames[] = {
25004 (char *) "self",(char *) "interactive", NULL
25005 };
25006
25007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
25008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
25009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25010 arg2 = (bool)SWIG_As_bool(obj1);
25011 if (PyErr_Occurred()) SWIG_fail;
25012 {
25013 PyThreadState* __tstate = wxPyBeginAllowThreads();
25014 result = (bool)(arg1)->base_Print(arg2);
25015
25016 wxPyEndAllowThreads(__tstate);
25017 if (PyErr_Occurred()) SWIG_fail;
25018 }
25019 {
25020 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25021 }
25022 return resultobj;
25023 fail:
25024 return NULL;
25025}
25026
25027
25028static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
25029 PyObject *resultobj;
25030 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
25031 PyObject * obj0 = 0 ;
25032 char *kwnames[] = {
25033 (char *) "self", NULL
25034 };
25035
25036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
25037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
25038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25039 {
25040 PyThreadState* __tstate = wxPyBeginAllowThreads();
25041 (arg1)->base_DetermineScaling();
25042
25043 wxPyEndAllowThreads(__tstate);
25044 if (PyErr_Occurred()) SWIG_fail;
25045 }
25046 Py_INCREF(Py_None); resultobj = Py_None;
25047 return resultobj;
25048 fail:
25049 return NULL;
25050}
25051
25052
25053static PyObject * PyPrintPreview_swigregister(PyObject *, PyObject *args) {
25054 PyObject *obj;
25055 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25056 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
25057 Py_INCREF(obj);
25058 return Py_BuildValue((char *)"");
25059}
25060static PyObject *_wrap_new_PyPreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
25061 PyObject *resultobj;
25062 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25063 wxFrame *arg2 = (wxFrame *) 0 ;
25064 wxString *arg3 = 0 ;
25065 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25066 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25067 wxSize const &arg5_defvalue = wxDefaultSize ;
25068 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25069 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
25070 wxString const &arg7_defvalue = wxPyFrameNameStr ;
25071 wxString *arg7 = (wxString *) &arg7_defvalue ;
25072 wxPyPreviewFrame *result;
25073 bool temp3 = false ;
25074 wxPoint temp4 ;
25075 wxSize temp5 ;
25076 bool temp7 = false ;
25077 PyObject * obj0 = 0 ;
25078 PyObject * obj1 = 0 ;
25079 PyObject * obj2 = 0 ;
25080 PyObject * obj3 = 0 ;
25081 PyObject * obj4 = 0 ;
25082 PyObject * obj5 = 0 ;
25083 PyObject * obj6 = 0 ;
25084 char *kwnames[] = {
25085 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25086 };
25087
25088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
25090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25091 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
25092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25093 {
25094 arg3 = wxString_in_helper(obj2);
25095 if (arg3 == NULL) SWIG_fail;
25096 temp3 = true;
25097 }
25098 if (obj3) {
25099 {
25100 arg4 = &temp4;
25101 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25102 }
25103 }
25104 if (obj4) {
25105 {
25106 arg5 = &temp5;
25107 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25108 }
25109 }
25110 if (obj5) {
25111 arg6 = (long)SWIG_As_long(obj5);
25112 if (PyErr_Occurred()) SWIG_fail;
25113 }
25114 if (obj6) {
25115 {
25116 arg7 = wxString_in_helper(obj6);
25117 if (arg7 == NULL) SWIG_fail;
25118 temp7 = true;
25119 }
25120 }
25121 {
25122 if (!wxPyCheckForApp()) SWIG_fail;
25123 PyThreadState* __tstate = wxPyBeginAllowThreads();
25124 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25125
25126 wxPyEndAllowThreads(__tstate);
25127 if (PyErr_Occurred()) SWIG_fail;
25128 }
25129 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
25130 {
25131 if (temp3)
25132 delete arg3;
25133 }
25134 {
25135 if (temp7)
25136 delete arg7;
25137 }
25138 return resultobj;
25139 fail:
25140 {
25141 if (temp3)
25142 delete arg3;
25143 }
25144 {
25145 if (temp7)
25146 delete arg7;
25147 }
25148 return NULL;
25149}
25150
25151
25152static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
25153 PyObject *resultobj;
25154 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
25155 PyObject *arg2 = (PyObject *) 0 ;
25156 PyObject *arg3 = (PyObject *) 0 ;
25157 PyObject * obj0 = 0 ;
25158 PyObject * obj1 = 0 ;
25159 PyObject * obj2 = 0 ;
25160 char *kwnames[] = {
25161 (char *) "self",(char *) "self",(char *) "_class", NULL
25162 };
25163
25164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
25166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25167 arg2 = obj1;
25168 arg3 = obj2;
25169 {
25170 PyThreadState* __tstate = wxPyBeginAllowThreads();
25171 (arg1)->_setCallbackInfo(arg2,arg3);
25172
25173 wxPyEndAllowThreads(__tstate);
25174 if (PyErr_Occurred()) SWIG_fail;
25175 }
25176 Py_INCREF(Py_None); resultobj = Py_None;
25177 return resultobj;
25178 fail:
25179 return NULL;
25180}
25181
25182
25183static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
25184 PyObject *resultobj;
25185 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
25186 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
25187 PyObject * obj0 = 0 ;
25188 PyObject * obj1 = 0 ;
25189 char *kwnames[] = {
25190 (char *) "self",(char *) "canvas", NULL
25191 };
25192
25193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
25194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
25195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25196 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
25197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25198 {
25199 PyThreadState* __tstate = wxPyBeginAllowThreads();
25200 (arg1)->SetPreviewCanvas(arg2);
25201
25202 wxPyEndAllowThreads(__tstate);
25203 if (PyErr_Occurred()) SWIG_fail;
25204 }
25205 Py_INCREF(Py_None); resultobj = Py_None;
25206 return resultobj;
25207 fail:
25208 return NULL;
25209}
25210
25211
25212static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
25213 PyObject *resultobj;
25214 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
25215 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
25216 PyObject * obj0 = 0 ;
25217 PyObject * obj1 = 0 ;
25218 char *kwnames[] = {
25219 (char *) "self",(char *) "bar", NULL
25220 };
25221
25222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
25223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
25224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25225 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewControlBar,
25226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25227 {
25228 PyThreadState* __tstate = wxPyBeginAllowThreads();
25229 (arg1)->SetControlBar(arg2);
25230
25231 wxPyEndAllowThreads(__tstate);
25232 if (PyErr_Occurred()) SWIG_fail;
25233 }
25234 Py_INCREF(Py_None); resultobj = Py_None;
25235 return resultobj;
25236 fail:
25237 return NULL;
25238}
25239
25240
25241static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
25242 PyObject *resultobj;
25243 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
25244 PyObject * obj0 = 0 ;
25245 char *kwnames[] = {
25246 (char *) "self", NULL
25247 };
25248
25249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
25250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
25251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25252 {
25253 PyThreadState* __tstate = wxPyBeginAllowThreads();
25254 (arg1)->base_Initialize();
25255
25256 wxPyEndAllowThreads(__tstate);
25257 if (PyErr_Occurred()) SWIG_fail;
25258 }
25259 Py_INCREF(Py_None); resultobj = Py_None;
25260 return resultobj;
25261 fail:
25262 return NULL;
25263}
25264
25265
25266static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
25267 PyObject *resultobj;
25268 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
25269 PyObject * obj0 = 0 ;
25270 char *kwnames[] = {
25271 (char *) "self", NULL
25272 };
25273
25274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
25275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
25276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25277 {
25278 PyThreadState* __tstate = wxPyBeginAllowThreads();
25279 (arg1)->base_CreateCanvas();
25280
25281 wxPyEndAllowThreads(__tstate);
25282 if (PyErr_Occurred()) SWIG_fail;
25283 }
25284 Py_INCREF(Py_None); resultobj = Py_None;
25285 return resultobj;
25286 fail:
25287 return NULL;
25288}
25289
25290
25291static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
25292 PyObject *resultobj;
25293 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
25294 PyObject * obj0 = 0 ;
25295 char *kwnames[] = {
25296 (char *) "self", NULL
25297 };
25298
25299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
25300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
25301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25302 {
25303 PyThreadState* __tstate = wxPyBeginAllowThreads();
25304 (arg1)->base_CreateControlBar();
25305
25306 wxPyEndAllowThreads(__tstate);
25307 if (PyErr_Occurred()) SWIG_fail;
25308 }
25309 Py_INCREF(Py_None); resultobj = Py_None;
25310 return resultobj;
25311 fail:
25312 return NULL;
25313}
25314
25315
25316static PyObject * PyPreviewFrame_swigregister(PyObject *, PyObject *args) {
25317 PyObject *obj;
25318 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25319 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
25320 Py_INCREF(obj);
25321 return Py_BuildValue((char *)"");
25322}
25323static PyObject *_wrap_new_PyPreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
25324 PyObject *resultobj;
25325 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25326 long arg2 ;
25327 wxWindow *arg3 = (wxWindow *) 0 ;
25328 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25329 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25330 wxSize const &arg5_defvalue = wxDefaultSize ;
25331 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25332 long arg6 = (long) 0 ;
25333 wxString const &arg7_defvalue = wxPyPanelNameStr ;
25334 wxString *arg7 = (wxString *) &arg7_defvalue ;
25335 wxPyPreviewControlBar *result;
25336 wxPoint temp4 ;
25337 wxSize temp5 ;
25338 bool temp7 = false ;
25339 PyObject * obj0 = 0 ;
25340 PyObject * obj1 = 0 ;
25341 PyObject * obj2 = 0 ;
25342 PyObject * obj3 = 0 ;
25343 PyObject * obj4 = 0 ;
25344 PyObject * obj5 = 0 ;
25345 PyObject * obj6 = 0 ;
25346 char *kwnames[] = {
25347 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25348 };
25349
25350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
25352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25353 arg2 = (long)SWIG_As_long(obj1);
25354 if (PyErr_Occurred()) SWIG_fail;
25355 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
25356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25357 if (obj3) {
25358 {
25359 arg4 = &temp4;
25360 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25361 }
25362 }
25363 if (obj4) {
25364 {
25365 arg5 = &temp5;
25366 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25367 }
25368 }
25369 if (obj5) {
25370 arg6 = (long)SWIG_As_long(obj5);
25371 if (PyErr_Occurred()) SWIG_fail;
25372 }
25373 if (obj6) {
25374 {
25375 arg7 = wxString_in_helper(obj6);
25376 if (arg7 == NULL) SWIG_fail;
25377 temp7 = true;
25378 }
25379 }
25380 {
25381 if (!wxPyCheckForApp()) SWIG_fail;
25382 PyThreadState* __tstate = wxPyBeginAllowThreads();
25383 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25384
25385 wxPyEndAllowThreads(__tstate);
25386 if (PyErr_Occurred()) SWIG_fail;
25387 }
25388 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
25389 {
25390 if (temp7)
25391 delete arg7;
25392 }
25393 return resultobj;
25394 fail:
25395 {
25396 if (temp7)
25397 delete arg7;
25398 }
25399 return NULL;
25400}
25401
25402
25403static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
25404 PyObject *resultobj;
25405 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
25406 PyObject *arg2 = (PyObject *) 0 ;
25407 PyObject *arg3 = (PyObject *) 0 ;
25408 PyObject * obj0 = 0 ;
25409 PyObject * obj1 = 0 ;
25410 PyObject * obj2 = 0 ;
25411 char *kwnames[] = {
25412 (char *) "self",(char *) "self",(char *) "_class", NULL
25413 };
25414
25415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
25417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25418 arg2 = obj1;
25419 arg3 = obj2;
25420 {
25421 PyThreadState* __tstate = wxPyBeginAllowThreads();
25422 (arg1)->_setCallbackInfo(arg2,arg3);
25423
25424 wxPyEndAllowThreads(__tstate);
25425 if (PyErr_Occurred()) SWIG_fail;
25426 }
25427 Py_INCREF(Py_None); resultobj = Py_None;
25428 return resultobj;
25429 fail:
25430 return NULL;
25431}
25432
25433
25434static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
25435 PyObject *resultobj;
25436 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
25437 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
25438 PyObject * obj0 = 0 ;
25439 PyObject * obj1 = 0 ;
25440 char *kwnames[] = {
25441 (char *) "self",(char *) "preview", NULL
25442 };
25443
25444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
25445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
25446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25447 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintPreview,
25448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25449 {
25450 PyThreadState* __tstate = wxPyBeginAllowThreads();
25451 (arg1)->SetPrintPreview(arg2);
25452
25453 wxPyEndAllowThreads(__tstate);
25454 if (PyErr_Occurred()) SWIG_fail;
25455 }
25456 Py_INCREF(Py_None); resultobj = Py_None;
25457 return resultobj;
25458 fail:
25459 return NULL;
25460}
25461
25462
25463static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *, PyObject *args, PyObject *kwargs) {
25464 PyObject *resultobj;
25465 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
25466 PyObject * obj0 = 0 ;
25467 char *kwnames[] = {
25468 (char *) "self", NULL
25469 };
25470
25471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
25472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
25473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25474 {
25475 PyThreadState* __tstate = wxPyBeginAllowThreads();
25476 (arg1)->base_CreateButtons();
25477
25478 wxPyEndAllowThreads(__tstate);
25479 if (PyErr_Occurred()) SWIG_fail;
25480 }
25481 Py_INCREF(Py_None); resultobj = Py_None;
25482 return resultobj;
25483 fail:
25484 return NULL;
25485}
25486
25487
25488static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
25489 PyObject *resultobj;
25490 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
25491 int arg2 ;
25492 PyObject * obj0 = 0 ;
25493 PyObject * obj1 = 0 ;
25494 char *kwnames[] = {
25495 (char *) "self",(char *) "zoom", NULL
25496 };
25497
25498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
25499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
25500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25501 arg2 = (int)SWIG_As_int(obj1);
25502 if (PyErr_Occurred()) SWIG_fail;
25503 {
25504 PyThreadState* __tstate = wxPyBeginAllowThreads();
25505 (arg1)->base_SetZoomControl(arg2);
25506
25507 wxPyEndAllowThreads(__tstate);
25508 if (PyErr_Occurred()) SWIG_fail;
25509 }
25510 Py_INCREF(Py_None); resultobj = Py_None;
25511 return resultobj;
25512 fail:
25513 return NULL;
25514}
25515
25516
25517static PyObject * PyPreviewControlBar_swigregister(PyObject *, PyObject *args) {
25518 PyObject *obj;
25519 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25520 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
25521 Py_INCREF(obj);
25522 return Py_BuildValue((char *)"");
25523}
25524static PyMethodDef SwigMethods[] = {
25525 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL },
25526 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS, NULL },
25527 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25528 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25529 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25530 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL },
25531 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25532 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25533 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25534 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL },
25535 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL },
25536 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
25537 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
25538 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL },
25539 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS, NULL },
25540 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL },
25541 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS, NULL },
25542 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL },
25543 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS, NULL },
25544 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS, NULL },
25545 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL },
25546 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL },
25547 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL },
25548 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL },
25549 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25550 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25551 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL },
25552 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL },
25553 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL },
25554 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25555 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL },
25556 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL },
25557 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS, NULL },
25558 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL },
25559 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS, NULL },
25560 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS, NULL },
25561 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25562 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25563 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL },
25564 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL },
25565 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS, NULL },
25566 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
25567 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
25568 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL },
25569 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL },
25570 { (char *)"TopLevelWindow_IsActive", (PyCFunction) _wrap_TopLevelWindow_IsActive, METH_VARARGS | METH_KEYWORDS, NULL },
25571 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL },
25572 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacGetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL },
25573 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL },
25574 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL },
25575 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25576 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25577 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS, NULL },
25578 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25579 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL },
25580 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL },
25581 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL },
25582 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
25583 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
25584 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
25585 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25586 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL },
25587 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25588 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25589 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL },
25590 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL },
25591 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
25592 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
25593 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
25594 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25595 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL },
25596 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25597 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL },
25598 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL },
25599 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25600 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25601 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL },
25602 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL },
25603 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL },
25604 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL },
25605 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS, NULL },
25606 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL },
25607 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL },
25608 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25609 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL },
25610 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25611 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25612 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25613 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL },
25614 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25615 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
25616 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
25617 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL },
25618 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL },
25619 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS, NULL },
25620 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25621 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS, NULL },
25622 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL },
25623 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
25624 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
25625 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25626 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL },
25627 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL },
25628 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25629 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25630 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25631 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25632 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL },
25633 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL },
25634 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL },
25635 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL },
25636 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS, NULL },
25637 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS, NULL },
25638 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25639 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL },
25640 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25641 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25642 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25643 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS, NULL },
25644 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS, NULL },
25645 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL },
25646 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL },
25647 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL },
25648 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL },
25649 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL },
25650 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL },
25651 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25652 { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS, NULL },
25653 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS, NULL },
25654 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL },
25655 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25656 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS, NULL },
25657 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25658 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25659 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25660 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL },
25661 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL },
25662 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL },
25663 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL },
25664 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL },
25665 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL },
25666 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25667 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL },
25668 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25669 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25670 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25671 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS, NULL },
25672 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL },
25673 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL },
25674 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL },
25675 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25676 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25677 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25678 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL },
25679 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL },
25680 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL },
25681 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL },
25682 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL },
25683 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25684 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25685 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25686 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25687 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
25688 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
25689 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
25690 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
25691 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
25692 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
25693 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
25694 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
25695 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL },
25696 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL },
25697 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL },
25698 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25699 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL },
25700 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS, NULL },
25701 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL },
25702 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS, NULL },
25703 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL },
25704 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL },
25705 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL },
25706 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25707 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL },
25708 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL },
25709 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25710 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25711 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25712 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25713 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25714 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25715 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
25716 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
25717 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL },
25718 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25719 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25720 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25721 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL },
25722 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL },
25723 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL },
25724 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25725 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25726 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25727 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
25728 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25729 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
25730 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL },
25731 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25732 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL },
25733 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL },
25734 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL },
25735 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25736 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25737 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25738 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL },
25739 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25740 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25741 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25742 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS, NULL },
25743 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL },
25744 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25745 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25746 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25747 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS, NULL },
25748 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS, NULL },
25749 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL },
25750 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25751 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL },
25752 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS, NULL },
25753 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL },
25754 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25755 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25756 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25757 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25758 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL },
25759 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL },
25760 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS, NULL },
25761 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS, NULL },
25762 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL },
25763 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL },
25764 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL },
25765 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
25766 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL },
25767 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL },
25768 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL },
25769 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL },
25770 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL },
25771 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL },
25772 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL },
25773 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS, NULL },
25774 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25775 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25776 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
25777 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25778 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25779 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL },
25780 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL },
25781 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS, NULL },
25782 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL },
25783 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL },
25784 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25785 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25786 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
25787 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS, NULL },
25788 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25789 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL },
25790 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL },
25791 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL },
25792 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL },
25793 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL },
25794 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25795 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL },
25796 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25797 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL },
25798 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL },
25799 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL },
25800 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25801 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25802 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL },
25803 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
25804 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction) _wrap_HtmlListBox_GetFileSystem, METH_VARARGS | METH_KEYWORDS, NULL },
25805 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL },
25806 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25807 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25808 { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
25809 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS, NULL },
25810 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS, NULL },
25811 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25812 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25813 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL },
25814 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL },
25815 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25816 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL },
25817 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS, NULL },
25818 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS, NULL },
25819 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL },
25820 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25821 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL },
25822 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL },
25823 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25824 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL },
25825 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL },
25826 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25827 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS, NULL },
25828 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL },
25829 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25830 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL },
25831 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
25832 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
25833 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
25834 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL },
25835 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL },
25836 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25837 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
25838 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL },
25839 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL },
25840 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
25841 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL },
25842 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
25843 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL },
25844 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
25845 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL },
25846 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS, NULL },
25847 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
25848 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS, NULL },
25849 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
25850 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL },
25851 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS, NULL },
25852 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS, NULL },
25853 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL },
25854 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25855 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL },
25856 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL },
25857 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL },
25858 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25859 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25860 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25861 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25862 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL },
25863 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25864 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
25865 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
25866 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL },
25867 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25868 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL },
25869 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS, NULL },
25870 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS, NULL },
25871 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL },
25872 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL },
25873 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25874 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL },
25875 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS, NULL },
25876 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL },
25877 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25878 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL },
25879 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL },
25880 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25881 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL },
25882 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL },
25883 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25884 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL },
25885 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25886 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS, NULL },
25887 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL },
25888 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25889 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL },
25890 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25891 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL },
25892 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS, NULL },
25893 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL },
25894 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25895 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25896 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
25897 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
25898 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25899 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25900 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
25901 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
25902 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL },
25903 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL },
25904 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL },
25905 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
25906 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
25907 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25908 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25909 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
25910 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
25911 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL },
25912 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25913 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25914 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25915 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
25916 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
25917 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL },
25918 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25919 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25920 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25921 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS, NULL },
25922 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS, NULL },
25923 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS, NULL },
25924 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS, NULL },
25925 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS, NULL },
25926 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25927 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
25928 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_GetWindowMenu, METH_VARARGS | METH_KEYWORDS, NULL },
25929 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_SetWindowMenu, METH_VARARGS | METH_KEYWORDS, NULL },
25930 { (char *)"MDIParentFrame_SetToolBar", (PyCFunction) _wrap_MDIParentFrame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
25931 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL },
25932 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL },
25933 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25934 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25935 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25936 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS, NULL },
25937 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS, NULL },
25938 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS, NULL },
25939 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL },
25940 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25941 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25942 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25943 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL },
25944 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25945 { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25946 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25947 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25948 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25949 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25950 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25951 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25952 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25953 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25954 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25955 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25956 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25957 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25958 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25959 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25960 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
25961 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
25962 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
25963 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
25964 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
25965 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
25966 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL },
25967 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25968 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25969 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL },
25970 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL },
25971 { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS, NULL },
25972 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25973 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25974 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25975 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25976 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25977 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25978 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25979 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25980 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25981 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25982 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25983 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25984 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25985 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25986 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
25987 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
25988 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
25989 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
25990 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
25991 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
25992 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL },
25993 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyPanel_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25994 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction) _wrap_PyPanel_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25995 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL },
25996 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25997 { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25998 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25999 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
26000 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
26001 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
26002 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
26003 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
26004 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL },
26005 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
26006 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
26007 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
26008 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
26009 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
26010 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
26011 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
26012 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
26013 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
26014 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
26015 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
26016 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
26017 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
26018 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL },
26019 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL },
26020 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyScrolledWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
26021 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL },
26022 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL },
26023 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS, NULL },
26024 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
26025 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
26026 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
26027 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
26028 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL },
26029 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
26030 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS, NULL },
26031 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
26032 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
26033 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS, NULL },
26034 { (char *)"PrintData_GetBin", (PyCFunction) _wrap_PrintData_GetBin, METH_VARARGS | METH_KEYWORDS, NULL },
26035 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL },
26036 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
26037 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
26038 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
26039 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL },
26040 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL },
26041 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL },
26042 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
26043 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
26044 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL },
26045 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL },
26046 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL },
26047 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
26048 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
26049 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL },
26050 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL },
26051 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL },
26052 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL },
26053 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL },
26054 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL },
26055 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL },
26056 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL },
26057 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL },
26058 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL },
26059 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL },
26060 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL },
26061 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL },
26062 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL },
26063 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS, NULL },
26064 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL },
26065 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL },
26066 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS, NULL },
26067 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL },
26068 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL },
26069 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
26070 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
26071 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL },
26072 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
26073 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL },
26074 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL },
26075 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL },
26076 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS, NULL },
26077 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
26078 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS, NULL },
26079 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL },
26080 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
26081 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL },
26082 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
26083 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
26084 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
26085 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
26086 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
26087 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
26088 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
26089 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
26090 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL },
26091 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL },
26092 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
26093 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
26094 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
26095 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
26096 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
26097 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
26098 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
26099 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL },
26100 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL },
26101 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL },
26102 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL },
26103 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL },
26104 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL },
26105 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
26106 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS, NULL },
26107 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS, NULL },
26108 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL },
26109 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL },
26110 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
26111 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS, NULL },
26112 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
26113 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
26114 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
26115 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL },
26116 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL },
26117 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL },
26118 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL },
26119 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL },
26120 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL },
26121 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
26122 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL },
26123 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
26124 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
26125 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
26126 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
26127 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL },
26128 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL },
26129 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
26130 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
26131 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS, NULL },
26132 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL },
26133 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
26134 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
26135 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
26136 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
26137 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL },
26138 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL },
26139 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL },
26140 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
26141 { (char *)"PrintDialog_GetPrintData", (PyCFunction) _wrap_PrintDialog_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
26142 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS, NULL },
26143 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL },
26144 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL },
26145 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS, NULL },
26146 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL },
26147 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL },
26148 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL },
26149 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL },
26150 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL },
26151 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
26152 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS, NULL },
26153 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS, NULL },
26154 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL },
26155 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL },
26156 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
26157 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
26158 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS, NULL },
26159 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL },
26160 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL },
26161 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL },
26162 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL },
26163 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL },
26164 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL },
26165 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL },
26166 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL },
26167 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL },
26168 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS, NULL },
26169 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL },
26170 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL },
26171 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS, NULL },
26172 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS, NULL },
26173 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS, NULL },
26174 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS, NULL },
26175 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS, NULL },
26176 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS, NULL },
26177 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL },
26178 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
26179 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL },
26180 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL },
26181 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS, NULL },
26182 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
26183 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
26184 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
26185 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL },
26186 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
26187 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL },
26188 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL },
26189 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL },
26190 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS, NULL },
26191 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS, NULL },
26192 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS, NULL },
26193 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS, NULL },
26194 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS, NULL },
26195 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL },
26196 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL },
26197 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL },
26198 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL },
26199 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL },
26200 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS, NULL },
26201 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS, NULL },
26202 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL },
26203 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
26204 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL },
26205 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
26206 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL },
26207 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL },
26208 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL },
26209 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL },
26210 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
26211 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL },
26212 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS, NULL },
26213 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL },
26214 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL },
26215 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
26216 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL },
26217 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL },
26218 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL },
26219 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL },
26220 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL },
26221 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
26222 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL },
26223 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL },
26224 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL },
26225 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL },
26226 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL },
26227 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS, NULL },
26228 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL },
26229 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL },
26230 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL },
26231 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
26232 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
26233 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
26234 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS, NULL },
26235 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
26236 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
26237 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL },
26238 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
26239 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
26240 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL },
26241 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS, NULL },
26242 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL },
26243 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL },
26244 { NULL, NULL, 0, NULL }
26245};
26246
26247
26248/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
26249
26250static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
26251 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26252}
26253static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
26254 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
26255}
26256static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
26257 return (void *)((wxEvent *) ((wxMenuEvent *) x));
26258}
26259static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
26260 return (void *)((wxEvent *) ((wxCloseEvent *) x));
26261}
26262static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
26263 return (void *)((wxEvent *) ((wxMouseEvent *) x));
26264}
26265static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
26266 return (void *)((wxEvent *) ((wxEraseEvent *) x));
26267}
26268static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
26269 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
26270}
26271static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
26272 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
26273}
26274static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
26275 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
26276}
26277static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
26278 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
26279}
26280static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
26281 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
26282}
26283static void *_p_wxPyEventTo_p_wxEvent(void *x) {
26284 return (void *)((wxEvent *) ((wxPyEvent *) x));
26285}
26286static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
26287 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
26288}
26289static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
26290 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
26291}
26292static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
26293 return (void *)((wxEvent *) ((wxIdleEvent *) x));
26294}
26295static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
26296 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
26297}
26298static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
26299 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
26300}
26301static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
26302 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
26303}
26304static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
26305 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
26306}
26307static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
26308 return (void *)((wxEvent *) ((wxActivateEvent *) x));
26309}
26310static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
26311 return (void *)((wxEvent *) ((wxSizeEvent *) x));
26312}
26313static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
26314 return (void *)((wxEvent *) ((wxMoveEvent *) x));
26315}
26316static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
26317 return (void *)((wxEvent *) ((wxPaintEvent *) x));
26318}
26319static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
26320 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
26321}
26322static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
26323 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
26324}
26325static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
26326 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
26327}
26328static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
26329 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
26330}
26331static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
26332 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
26333}
26334static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
26335 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
26336}
26337static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
26338 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
26339}
26340static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
26341 return (void *)((wxEvent *) ((wxFocusEvent *) x));
26342}
26343static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
26344 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
26345}
26346static void *_p_wxSashEventTo_p_wxEvent(void *x) {
26347 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
26348}
26349static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
26350 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
26351}
26352static void *_p_wxShowEventTo_p_wxEvent(void *x) {
26353 return (void *)((wxEvent *) ((wxShowEvent *) x));
26354}
26355static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
26356 return (void *)((wxEvent *) ((wxCommandEvent *) x));
26357}
26358static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
26359 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
26360}
26361static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
26362 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26363}
26364static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
26365 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
26366}
26367static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
26368 return (void *)((wxEvent *) ((wxKeyEvent *) x));
26369}
26370static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
26371 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
26372}
26373static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
26374 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
26375}
26376static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
26377 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
26378}
26379static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
26380 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
26381}
26382static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
26383 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
26384}
26385static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
26386 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
26387}
26388static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
26389 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
26390}
26391static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
26392 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
26393}
26394static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
26395 return (void *)((wxEvtHandler *) ((wxValidator *) x));
26396}
26397static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
26398 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
26399}
26400static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
26401 return (void *)((wxEvtHandler *) ((wxMenu *) x));
26402}
26403static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
26404 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
26405}
26406static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
26407 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
26408}
26409static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
26410 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
26411}
26412static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
26413 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
26414}
26415static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
26416 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
26417}
26418static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
26419 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
26420}
26421static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
26422 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
26423}
26424static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
26425 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
26426}
26427static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
26428 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
26429}
26430static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
26431 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
26432}
26433static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
26434 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
26435}
26436static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
26437 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26438}
26439static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
26440 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26441}
26442static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
26443 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
26444}
26445static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
26446 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
26447}
26448static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
26449 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
26450}
26451static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
26452 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
26453}
26454static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
26455 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
26456}
26457static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
26458 return (void *)((wxEvtHandler *) ((wxWindow *) x));
26459}
26460static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
26461 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
26462}
26463static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
26464 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
26465}
26466static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
26467 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
26468}
26469static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
26470 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26471}
26472static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
26473 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
26474}
26475static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
26476 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
26477}
26478static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
26479 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26480}
26481static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
26482 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
26483}
26484static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
26485 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
26486}
26487static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
26488 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
26489}
26490static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
26491 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
26492}
26493static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
26494 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
26495}
26496static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
26497 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26498}
26499static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
26500 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26501}
26502static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
26503 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
26504}
26505static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
26506 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26507}
26508static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
26509 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
26510}
26511static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
26512 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
26513}
26514static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
26515 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
26516}
26517static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
26518 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
26519}
26520static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
26521 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
26522}
26523static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
26524 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
26525}
26526static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
26527 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
26528}
26529static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
26530 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
26531}
26532static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
26533 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
26534}
26535static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
26536 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
26537}
26538static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
26539 return (void *)((wxFrame *) ((wxProgressDialog *) x));
26540}
26541static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
26542 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
26543}
26544static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
26545 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26546}
26547static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
26548 return (void *)((wxFrame *) ((wxMiniFrame *) x));
26549}
26550static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
26551 return (void *)((wxFrame *) ((wxSplashScreen *) x));
26552}
26553static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
26554 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
26555}
26556static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
26557 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
26558}
26559static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
26560 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
26561}
26562static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
26563 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
26564}
26565static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
26566 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26567}
26568static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
26569 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
26570}
26571static void *_p_wxSizerItemTo_p_wxObject(void *x) {
26572 return (void *)((wxObject *) ((wxSizerItem *) x));
26573}
26574static void *_p_wxScrollEventTo_p_wxObject(void *x) {
26575 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
26576}
26577static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
26578 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
26579}
26580static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
26581 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
26582}
26583static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
26584 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
26585}
26586static void *_p_wxSizerTo_p_wxObject(void *x) {
26587 return (void *)((wxObject *) ((wxSizer *) x));
26588}
26589static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
26590 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
26591}
26592static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
26593 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
26594}
26595static void *_p_wxPyPanelTo_p_wxObject(void *x) {
26596 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
26597}
26598static void *_p_wxEventTo_p_wxObject(void *x) {
26599 return (void *)((wxObject *) ((wxEvent *) x));
26600}
26601static void *_p_wxFontDataTo_p_wxObject(void *x) {
26602 return (void *)((wxObject *) ((wxFontData *) x));
26603}
26604static void *_p_wxPrintDataTo_p_wxObject(void *x) {
26605 return (void *)((wxObject *) ((wxPrintData *) x));
26606}
26607static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
26608 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
26609}
26610static void *_p_wxGridSizerTo_p_wxObject(void *x) {
26611 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
26612}
26613static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
26614 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
26615}
26616static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
26617 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
26618}
26619static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
26620 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
26621}
26622static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
26623 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
26624}
26625static void *_p_wxPaintEventTo_p_wxObject(void *x) {
26626 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
26627}
26628static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
26629 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
26630}
26631static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
26632 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
26633}
26634static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
26635 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
26636}
26637static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
26638 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
26639}
26640static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
26641 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
26642}
26643static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
26644 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
26645}
26646static void *_p_wxControlTo_p_wxObject(void *x) {
26647 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
26648}
26649static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
26650 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
26651}
26652static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
26653 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
26654}
26655static void *_p_wxFSFileTo_p_wxObject(void *x) {
26656 return (void *)((wxObject *) ((wxFSFile *) x));
26657}
26658static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
26659 return (void *)((wxObject *) ((wxFindReplaceData *) x));
26660}
26661static void *_p_wxPySizerTo_p_wxObject(void *x) {
26662 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
26663}
26664static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
26665 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
26666}
26667static void *_p_wxColourDataTo_p_wxObject(void *x) {
26668 return (void *)((wxObject *) ((wxColourData *) x));
26669}
26670static void *_p_wxPyEventTo_p_wxObject(void *x) {
26671 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
26672}
26673static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
26674 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
26675}
26676static void *_p_wxPyWindowTo_p_wxObject(void *x) {
26677 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
26678}
26679static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
26680 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
26681}
26682static void *_p_wxFileDialogTo_p_wxObject(void *x) {
26683 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
26684}
26685static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
26686 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
26687}
26688static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
26689 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
26690}
26691static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
26692 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
26693}
26694static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
26695 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
26696}
26697static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
26698 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
26699}
26700static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
26701 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
26702}
26703static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
26704 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
26705}
26706static void *_p_wxShowEventTo_p_wxObject(void *x) {
26707 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
26708}
26709static void *_p_wxPrinterTo_p_wxObject(void *x) {
26710 return (void *)((wxObject *) ((wxPrinter *) x));
26711}
26712static void *_p_wxMenuItemTo_p_wxObject(void *x) {
26713 return (void *)((wxObject *) ((wxMenuItem *) x));
26714}
26715static void *_p_wxIdleEventTo_p_wxObject(void *x) {
26716 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
26717}
26718static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
26719 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
26720}
26721static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
26722 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
26723}
26724static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
26725 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
26726}
26727static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
26728 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
26729}
26730static void *_p_wxSizeEventTo_p_wxObject(void *x) {
26731 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
26732}
26733static void *_p_wxMoveEventTo_p_wxObject(void *x) {
26734 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
26735}
26736static void *_p_wxActivateEventTo_p_wxObject(void *x) {
26737 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
26738}
26739static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
26740 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
26741}
26742static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
26743 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
26744}
26745static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
26746 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
26747}
26748static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
26749 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
26750}
26751static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
26752 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
26753}
26754static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
26755 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
26756}
26757static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
26758 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
26759}
26760static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
26761 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
26762}
26763static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
26764 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
26765}
26766static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
26767 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
26768}
26769static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
26770 return (void *)((wxObject *) ((wxImageHandler *) x));
26771}
26772static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
26773 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
26774}
26775static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
26776 return (void *)((wxObject *) ((wxEvtHandler *) x));
26777}
26778static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
26779 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
26780}
26781static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
26782 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26783}
26784static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
26785 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26786}
26787static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
26788 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
26789}
26790static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
26791 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
26792}
26793static void *_p_wxImageTo_p_wxObject(void *x) {
26794 return (void *)((wxObject *) ((wxImage *) x));
26795}
26796static void *_p_wxFrameTo_p_wxObject(void *x) {
26797 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
26798}
26799static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
26800 return (void *)((wxObject *) ((wxPyPrintout *) x));
26801}
26802static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
26803 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
26804}
26805static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
26806 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
26807}
26808static void *_p_wxStatusBarTo_p_wxObject(void *x) {
26809 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
26810}
26811static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
26812 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
26813}
26814static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
26815 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26816}
26817static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
26818 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
26819}
26820static void *_p_wxKeyEventTo_p_wxObject(void *x) {
26821 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
26822}
26823static void *_p_wxWindowTo_p_wxObject(void *x) {
26824 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
26825}
26826static void *_p_wxMenuTo_p_wxObject(void *x) {
26827 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
26828}
26829static void *_p_wxMenuBarTo_p_wxObject(void *x) {
26830 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
26831}
26832static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
26833 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
26834}
26835static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
26836 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
26837}
26838static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
26839 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
26840}
26841static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
26842 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
26843}
26844static void *_p_wxSashWindowTo_p_wxObject(void *x) {
26845 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
26846}
26847static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
26848 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
26849}
26850static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
26851 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
26852}
26853static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
26854 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26855}
26856static void *_p_wxTipWindowTo_p_wxObject(void *x) {
26857 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26858}
26859static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
26860 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
26861}
26862static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
26863 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
26864}
26865static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
26866 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26867}
26868static void *_p_wxSashEventTo_p_wxObject(void *x) {
26869 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
26870}
26871static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
26872 return (void *)((wxObject *) ((wxPrintPreview *) x));
26873}
26874static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
26875 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
26876}
26877static void *_p_wxPanelTo_p_wxObject(void *x) {
26878 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
26879}
26880static void *_p_wxDialogTo_p_wxObject(void *x) {
26881 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
26882}
26883static void *_p_wxColourDialogTo_p_wxObject(void *x) {
26884 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
26885}
26886static void *_p_wxDirDialogTo_p_wxObject(void *x) {
26887 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
26888}
26889static void *_p_wxFontDialogTo_p_wxObject(void *x) {
26890 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
26891}
26892static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
26893 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
26894}
26895static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
26896 return (void *)((wxObject *) ((wxPrintDialog *) x));
26897}
26898static void *_p_wxFileSystemTo_p_wxObject(void *x) {
26899 return (void *)((wxObject *) ((wxFileSystem *) x));
26900}
26901static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
26902 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
26903}
26904static void *_p_wxMenuEventTo_p_wxObject(void *x) {
26905 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
26906}
26907static void *_p_wxPyAppTo_p_wxObject(void *x) {
26908 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
26909}
26910static void *_p_wxCloseEventTo_p_wxObject(void *x) {
26911 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
26912}
26913static void *_p_wxMouseEventTo_p_wxObject(void *x) {
26914 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
26915}
26916static void *_p_wxEraseEventTo_p_wxObject(void *x) {
26917 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
26918}
26919static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
26920 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
26921}
26922static void *_p_wxCommandEventTo_p_wxObject(void *x) {
26923 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
26924}
26925static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
26926 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
26927}
26928static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
26929 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26930}
26931static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
26932 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
26933}
26934static void *_p_wxFocusEventTo_p_wxObject(void *x) {
26935 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
26936}
26937static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
26938 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
26939}
26940static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
26941 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
26942}
26943static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
26944 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
26945}
26946static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
26947 return (void *)((wxObject *) ((wxPrintDialogData *) x));
26948}
26949static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
26950 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
26951}
26952static void *_p_wxValidatorTo_p_wxObject(void *x) {
26953 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
26954}
26955static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
26956 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26957}
26958static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
26959 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
26960}
26961static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
26962 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26963}
26964static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
26965 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26966}
26967static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
26968 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26969}
26970static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
26971 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
26972}
26973static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
26974 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
26975}
26976static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
26977 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
26978}
26979static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
26980 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
26981}
26982static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
26983 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
26984}
26985static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
26986 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
26987}
26988static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
26989 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
26990}
26991static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
26992 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
26993}
26994static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
26995 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
26996}
26997static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
26998 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
26999}
27000static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
27001 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
27002}
27003static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
27004 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
27005}
27006static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
27007 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
27008}
27009static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
27010 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
27011}
27012static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
27013 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
27014}
27015static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
27016 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
27017}
27018static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
27019 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
27020}
27021static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
27022 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
27023}
27024static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
27025 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
27026}
27027static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
27028 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
27029}
27030static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
27031 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
27032}
27033static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
27034 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
27035}
27036static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
27037 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
27038}
27039static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
27040 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
27041}
27042static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
27043 return (void *)((wxWindow *) ((wxMenuBar *) x));
27044}
27045static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
27046 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
27047}
27048static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
27049 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
27050}
27051static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
27052 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
27053}
27054static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
27055 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
27056}
27057static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
27058 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
27059}
27060static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
27061 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
27062}
27063static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
27064 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
27065}
27066static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
27067 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
27068}
27069static void *_p_wxPanelTo_p_wxWindow(void *x) {
27070 return (void *)((wxWindow *) ((wxPanel *) x));
27071}
27072static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
27073 return (void *)((wxWindow *) ((wxStatusBar *) x));
27074}
27075static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
27076 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
27077}
27078static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
27079 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
27080}
27081static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
27082 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
27083}
27084static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
27085 return (void *)((wxWindow *) ((wxPopupWindow *) x));
27086}
27087static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
27088 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
27089}
27090static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
27091 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
27092}
27093static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
27094 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
27095}
27096static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
27097 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
27098}
27099static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
27100 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
27101}
27102static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
27103 return (void *)((wxWindow *) ((wxSashWindow *) x));
27104}
27105static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
27106 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
27107}
27108static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
27109 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
27110}
27111static void *_p_wxControlTo_p_wxWindow(void *x) {
27112 return (void *)((wxWindow *) ((wxControl *) x));
27113}
27114static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
27115 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
27116}
27117static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
27118 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
27119}
27120static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
27121 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
27122}
27123static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
27124 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
27125}
27126static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
27127 return (void *)((wxWindow *) ((wxPyWindow *) x));
27128}
27129static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
27130 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
27131}
27132static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
27133 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
27134}
27135static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
27136 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
27137}
27138static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
27139 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
27140}
27141static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
27142 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
27143}
27144static void *_p_wxFrameTo_p_wxWindow(void *x) {
27145 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
27146}
27147static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
27148 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
27149}
27150static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
27151 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
27152}
27153static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
27154 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
27155}
27156static void *_p_wxDialogTo_p_wxWindow(void *x) {
27157 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
27158}
27159static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
27160 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
27161}
27162static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
27163 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
27164}
27165static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
27166 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
27167}
27168static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
27169 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
27170}
27171static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
27172 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
27173}
27174static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
27175 return (void *)((wxDialog *) ((wxColourDialog *) x));
27176}
27177static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
27178 return (void *)((wxDialog *) ((wxDirDialog *) x));
27179}
27180static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
27181 return (void *)((wxDialog *) ((wxFontDialog *) x));
27182}
27183static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
27184 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
27185}
27186static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
27187 return (void *)((wxDialog *) ((wxFileDialog *) x));
27188}
27189static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
27190 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
27191}
27192static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
27193 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
27194}
27195static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
27196 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
27197}
27198static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
27199 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
27200}
27201static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
27202 return (void *)((wxDialog *) ((wxMessageDialog *) x));
27203}
27204static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
27205 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
27206}
27207static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
27208 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
27209}
27210static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
27211 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
27212}
27213static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
27214 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
27215}
27216static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
27217 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
27218}
27219static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
27220 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
27221}
27222static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
27223 return (void *)((wxPanel *) ((wxPyPanel *) x));
27224}
27225static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
27226 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
27227}
27228static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
27229 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
27230}
27231static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
27232 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
27233}
27234static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
27235 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
27236}
27237static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
27238 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
27239}
27240static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
27241 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
27242}
27243static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
27244 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
27245}
27246static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
27247 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
27248}
27249static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
27250 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
27251}
27252static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
27253 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
27254}
27255static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
27256 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
27257}
27258static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
27259 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
27260}
27261static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
27262 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
27263}
27264static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
27265 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
27266}
27267static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
27268 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
27269}
27270static swig_type_info _swigt__p_wxQueryLayoutInfoEvent[] = {{"_p_wxQueryLayoutInfoEvent", 0, "wxQueryLayoutInfoEvent *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27271static swig_type_info _swigt__p_wxPreviewFrame[] = {{"_p_wxPreviewFrame", 0, "wxPreviewFrame *", 0, 0, 0, 0},{"_p_wxPreviewFrame", 0, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxPreviewFrame, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27272static swig_type_info _swigt__p_wxPyPreviewFrame[] = {{"_p_wxPyPreviewFrame", 0, "wxPyPreviewFrame *", 0, 0, 0, 0},{"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27273static swig_type_info _swigt__p_wxPyPanel[] = {{"_p_wxPyPanel", 0, "wxPyPanel *", 0, 0, 0, 0},{"_p_wxPyPanel", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27274static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0, 0, 0, 0},{"_p_wxMenu", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27275static swig_type_info _swigt__p_wxFontData[] = {{"_p_wxFontData", 0, "wxFontData *", 0, 0, 0, 0},{"_p_wxFontData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27276static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27277static swig_type_info _swigt__p_wxPrintData[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0, 0, 0, 0},{"_p_wxPrintData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27278static swig_type_info _swigt__p_wxTaskBarIcon[] = {{"_p_wxTaskBarIcon", 0, "wxTaskBarIcon *", 0, 0, 0, 0},{"_p_wxTaskBarIcon", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27279static swig_type_info _swigt__p_wxPyTaskBarIcon[] = {{"_p_wxPyTaskBarIcon", 0, "wxPyTaskBarIcon *", 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27280static swig_type_info _swigt__p_wxIconBundle[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0, 0, 0, 0},{"_p_wxIconBundle", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27281static swig_type_info _swigt__p_wxLayoutAlgorithm[] = {{"_p_wxLayoutAlgorithm", 0, "wxLayoutAlgorithm *", 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27282static swig_type_info _swigt__p_wxFindDialogEvent[] = {{"_p_wxFindDialogEvent", 0, "wxFindDialogEvent *", 0, 0, 0, 0},{"_p_wxFindDialogEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27283static swig_type_info _swigt__p_wxPreviewCanvas[] = {{"_p_wxPreviewCanvas", 0, "wxPreviewCanvas *", 0, 0, 0, 0},{"_p_wxPreviewCanvas", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27284static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27285static swig_type_info _swigt__p_wxSplitterEvent[] = {{"_p_wxSplitterEvent", 0, "wxSplitterEvent *", 0, 0, 0, 0},{"_p_wxSplitterEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27286static swig_type_info _swigt__p_wxRegion[] = {{"_p_wxRegion", 0, "wxRegion *", 0, 0, 0, 0},{"_p_wxRegion", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27287static swig_type_info _swigt__p_wxFindReplaceData[] = {{"_p_wxFindReplaceData", 0, "wxFindReplaceData *", 0, 0, 0, 0},{"_p_wxFindReplaceData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27288static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27289static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0, 0, 0, 0},{"_p_wxSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27290static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27291static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0, 0, 0, 0},{"_p_wxIcon", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27292static swig_type_info _swigt__p_wxVisualAttributes[] = {{"_p_wxVisualAttributes", 0, "wxVisualAttributes *", 0, 0, 0, 0},{"_p_wxVisualAttributes", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27293static swig_type_info _swigt__p_wxMDIChildFrame[] = {{"_p_wxMDIChildFrame", 0, "wxMDIChildFrame *", 0, 0, 0, 0},{"_p_wxMDIChildFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27294static swig_type_info _swigt__p_wxColourData[] = {{"_p_wxColourData", 0, "wxColourData *", 0, 0, 0, 0},{"_p_wxColourData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27295static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27296static swig_type_info _swigt__p_wxPyWindow[] = {{"_p_wxPyWindow", 0, "wxPyWindow *", 0, 0, 0, 0},{"_p_wxPyWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27297static swig_type_info _swigt__p_wxSplashScreen[] = {{"_p_wxSplashScreen", 0, "wxSplashScreen *", 0, 0, 0, 0},{"_p_wxSplashScreen", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27298static swig_type_info _swigt__p_wxFindReplaceDialog[] = {{"_p_wxFindReplaceDialog", 0, "wxFindReplaceDialog *", 0, 0, 0, 0},{"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27299static swig_type_info _swigt__p_wxProgressDialog[] = {{"_p_wxProgressDialog", 0, "wxProgressDialog *", 0, 0, 0, 0},{"_p_wxProgressDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27300static swig_type_info _swigt__p_wxMessageDialog[] = {{"_p_wxMessageDialog", 0, "wxMessageDialog *", 0, 0, 0, 0},{"_p_wxMessageDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27301static swig_type_info _swigt__p_wxPasswordEntryDialog[] = {{"_p_wxPasswordEntryDialog", 0, "wxPasswordEntryDialog *", 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27302static swig_type_info _swigt__p_wxSingleChoiceDialog[] = {{"_p_wxSingleChoiceDialog", 0, "wxSingleChoiceDialog *", 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27303static swig_type_info _swigt__p_wxMultiChoiceDialog[] = {{"_p_wxMultiChoiceDialog", 0, "wxMultiChoiceDialog *", 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27304static swig_type_info _swigt__p_wxFileDialog[] = {{"_p_wxFileDialog", 0, "wxFileDialog *", 0, 0, 0, 0},{"_p_wxFileDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27305static swig_type_info _swigt__p_wxTextEntryDialog[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0, 0, 0, 0},{"_p_wxTextEntryDialog", 0, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxTextEntryDialog, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27306static swig_type_info _swigt__p_wxPrinter[] = {{"_p_wxPrinter", 0, "wxPrinter *", 0, 0, 0, 0},{"_p_wxPrinter", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27307static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0, 0, 0, 0},{"_p_wxArrayInt", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27308static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27309static swig_type_info _swigt__p_wxCalculateLayoutEvent[] = {{"_p_wxCalculateLayoutEvent", 0, "wxCalculateLayoutEvent *", 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27310static swig_type_info _swigt__p_wxPyHtmlListBox[] = {{"_p_wxPyHtmlListBox", 0, "wxPyHtmlListBox *", 0, 0, 0, 0},{"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27311static swig_type_info _swigt__p_wxPyVListBox[] = {{"_p_wxPyVListBox", 0, "wxPyVListBox *", 0, 0, 0, 0},{"_p_wxPyVListBox", 0, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVListBox, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27312static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0, 0, 0, 0},{"_p_wxRect", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27313static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27314static swig_type_info _swigt__p_wxMiniFrame[] = {{"_p_wxMiniFrame", 0, "wxMiniFrame *", 0, 0, 0, 0},{"_p_wxMiniFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27315static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27316static swig_type_info _swigt__p_wxPyPrintout[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0, 0, 0, 0},{"_p_wxPyPrintout", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27317static swig_type_info _swigt__p_wxTaskBarIconEvent[] = {{"_p_wxTaskBarIconEvent", 0, "wxTaskBarIconEvent *", 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27318static swig_type_info _swigt__p_wxScrollWinEvent[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0, 0, 0, 0},{"_p_wxScrollWinEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27319static swig_type_info _swigt__p_wxStatusBar[] = {{"_p_wxStatusBar", 0, "wxStatusBar *", 0, 0, 0, 0},{"_p_wxStatusBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27320static swig_type_info _swigt__p_wxMDIParentFrame[] = {{"_p_wxMDIParentFrame", 0, "wxMDIParentFrame *", 0, 0, 0, 0},{"_p_wxMDIParentFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27321static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27322static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27323static swig_type_info _swigt__p_wxMDIClientWindow[] = {{"_p_wxMDIClientWindow", 0, "wxMDIClientWindow *", 0, 0, 0, 0},{"_p_wxMDIClientWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27324static swig_type_info _swigt__p_wxTipWindow[] = {{"_p_wxTipWindow", 0, "wxTipWindow *", 0, 0, 0, 0},{"_p_wxTipWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27325static swig_type_info _swigt__p_wxSashLayoutWindow[] = {{"_p_wxSashLayoutWindow", 0, "wxSashLayoutWindow *", 0, 0, 0, 0},{"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27326static swig_type_info _swigt__p_wxSplitterWindow[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0, 0, 0, 0},{"_p_wxSplitterWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27327static swig_type_info _swigt__p_wxSplashScreenWindow[] = {{"_p_wxSplashScreenWindow", 0, "wxSplashScreenWindow *", 0, 0, 0, 0},{"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27328static swig_type_info _swigt__p_wxPyVScrolledWindow[] = {{"_p_wxPyVScrolledWindow", 0, "wxPyVScrolledWindow *", 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPyVScrolledWindow, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27329static swig_type_info _swigt__p_wxPyPopupTransientWindow[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPyPopupTransientWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27330static swig_type_info _swigt__p_wxPopupWindow[] = {{"_p_wxPopupWindow", 0, "wxPopupWindow *", 0, 0, 0, 0},{"_p_wxPopupWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxPopupWindow, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPopupWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27331static swig_type_info _swigt__p_wxSashWindow[] = {{"_p_wxSashWindow", 0, "wxSashWindow *", 0, 0, 0, 0},{"_p_wxSashWindow", 0, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxSashWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27332static swig_type_info _swigt__p_wxTopLevelWindow[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", 0, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27333static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27334static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0, 0, 0, 0},{"_p_wxScrolledWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27335static swig_type_info _swigt__p_wxMenuBar[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0, 0, 0, 0},{"_p_wxMenuBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27336static swig_type_info _swigt__p_wxPyScrolledWindow[] = {{"_p_wxPyScrolledWindow", 0, "wxPyScrolledWindow *", 0, 0, 0, 0},{"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27337static swig_type_info _swigt__p_wxPrintPreview[] = {{"_p_wxPrintPreview", 0, "wxPrintPreview *", 0, 0, 0, 0},{"_p_wxPrintPreview", 0, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxPrintPreview, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27338static swig_type_info _swigt__p_wxSashEvent[] = {{"_p_wxSashEvent", 0, "wxSashEvent *", 0, 0, 0, 0},{"_p_wxSashEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27339static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0, 0, 0, 0},{"_p_wxString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27340static swig_type_info _swigt__p_wxPyPrintPreview[] = {{"_p_wxPyPrintPreview", 0, "wxPyPrintPreview *", 0, 0, 0, 0},{"_p_wxPyPrintPreview", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27341static swig_type_info _swigt__p_wxFontDialog[] = {{"_p_wxFontDialog", 0, "wxFontDialog *", 0, 0, 0, 0},{"_p_wxFontDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27342static swig_type_info _swigt__p_wxDirDialog[] = {{"_p_wxDirDialog", 0, "wxDirDialog *", 0, 0, 0, 0},{"_p_wxDirDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27343static swig_type_info _swigt__p_wxColourDialog[] = {{"_p_wxColourDialog", 0, "wxColourDialog *", 0, 0, 0, 0},{"_p_wxColourDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27344static swig_type_info _swigt__p_wxDialog[] = {{"_p_wxDialog", 0, "wxDialog *", 0, 0, 0, 0},{"_p_wxDialog", 0, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27345static swig_type_info _swigt__p_wxPanel[] = {{"_p_wxPanel", 0, "wxPanel *", 0, 0, 0, 0},{"_p_wxPanel", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27346static swig_type_info _swigt__p_wxPageSetupDialog[] = {{"_p_wxPageSetupDialog", 0, "wxPageSetupDialog *", 0, 0, 0, 0},{"_p_wxPageSetupDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27347static swig_type_info _swigt__p_wxPrintDialog[] = {{"_p_wxPrintDialog", 0, "wxPrintDialog *", 0, 0, 0, 0},{"_p_wxPrintDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27348static swig_type_info _swigt__p_wxFileSystem[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0, 0, 0, 0},{"_p_wxFileSystem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27349static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27350static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27351static swig_type_info _swigt__p_wxPreviewControlBar[] = {{"_p_wxPreviewControlBar", 0, "wxPreviewControlBar *", 0, 0, 0, 0},{"_p_wxPreviewControlBar", 0, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPreviewControlBar, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27352static swig_type_info _swigt__p_wxPyPreviewControlBar[] = {{"_p_wxPyPreviewControlBar", 0, "wxPyPreviewControlBar *", 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27353static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27354static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0, 0, 0, 0},{"_p_wxToolBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27355static swig_type_info _swigt__p_wxPageSetupDialogData[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0, 0, 0, 0},{"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27356static swig_type_info _swigt__p_wxPrintDialogData[] = {{"_p_wxPrintDialogData", 0, "wxPrintDialogData *", 0, 0, 0, 0},{"_p_wxPrintDialogData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27357
27358static swig_type_info *swig_types_initial[] = {
27359_swigt__p_wxQueryLayoutInfoEvent,
27360_swigt__p_wxPreviewFrame,
27361_swigt__p_wxPyPreviewFrame,
27362_swigt__p_wxPyPanel,
27363_swigt__p_wxMenu,
27364_swigt__p_wxFontData,
27365_swigt__p_wxEvent,
27366_swigt__p_wxPrintData,
27367_swigt__p_wxTaskBarIcon,
27368_swigt__p_wxPyTaskBarIcon,
27369_swigt__p_wxIconBundle,
27370_swigt__p_wxLayoutAlgorithm,
27371_swigt__p_wxFindDialogEvent,
27372_swigt__p_wxPreviewCanvas,
27373_swigt__p_wxFont,
27374_swigt__p_wxSplitterEvent,
27375_swigt__p_wxRegion,
27376_swigt__p_wxFindReplaceData,
27377_swigt__p_int,
27378_swigt__p_wxSize,
27379_swigt__p_wxDC,
27380_swigt__p_wxIcon,
27381_swigt__p_wxVisualAttributes,
27382_swigt__p_wxMDIChildFrame,
27383_swigt__p_wxColourData,
27384_swigt__p_wxNotifyEvent,
27385_swigt__p_wxPyWindow,
27386_swigt__p_wxSplashScreen,
27387_swigt__p_wxFindReplaceDialog,
27388_swigt__p_wxProgressDialog,
27389_swigt__p_wxMessageDialog,
27390_swigt__p_wxPasswordEntryDialog,
27391_swigt__p_wxSingleChoiceDialog,
27392_swigt__p_wxMultiChoiceDialog,
27393_swigt__p_wxFileDialog,
27394_swigt__p_wxTextEntryDialog,
27395_swigt__p_wxPrinter,
27396_swigt__p_wxArrayInt,
27397_swigt__p_wxEvtHandler,
27398_swigt__p_wxCalculateLayoutEvent,
27399_swigt__p_wxPyHtmlListBox,
27400_swigt__p_wxPyVListBox,
27401_swigt__p_wxRect,
27402_swigt__p_char,
27403_swigt__p_wxMiniFrame,
27404_swigt__p_wxFrame,
27405_swigt__p_wxPyPrintout,
27406_swigt__p_wxTaskBarIconEvent,
27407_swigt__p_wxScrollWinEvent,
27408_swigt__p_wxStatusBar,
27409_swigt__p_wxMDIParentFrame,
27410_swigt__p_wxPoint,
27411_swigt__p_wxObject,
27412_swigt__p_wxMDIClientWindow,
27413_swigt__p_wxTipWindow,
27414_swigt__p_wxSashLayoutWindow,
27415_swigt__p_wxSplitterWindow,
27416_swigt__p_wxSplashScreenWindow,
27417_swigt__p_wxPyVScrolledWindow,
27418_swigt__p_wxPyPopupTransientWindow,
27419_swigt__p_wxPopupWindow,
27420_swigt__p_wxSashWindow,
27421_swigt__p_wxTopLevelWindow,
27422_swigt__p_wxWindow,
27423_swigt__p_wxScrolledWindow,
27424_swigt__p_wxMenuBar,
27425_swigt__p_wxPyScrolledWindow,
27426_swigt__p_wxPrintPreview,
27427_swigt__p_wxSashEvent,
27428_swigt__p_wxString,
27429_swigt__p_wxPyPrintPreview,
27430_swigt__p_wxFontDialog,
27431_swigt__p_wxDirDialog,
27432_swigt__p_wxColourDialog,
27433_swigt__p_wxDialog,
27434_swigt__p_wxPanel,
27435_swigt__p_wxPageSetupDialog,
27436_swigt__p_wxPrintDialog,
27437_swigt__p_wxFileSystem,
27438_swigt__p_wxBitmap,
27439_swigt__p_wxCommandEvent,
27440_swigt__p_wxPreviewControlBar,
27441_swigt__p_wxPyPreviewControlBar,
27442_swigt__p_wxColour,
27443_swigt__p_wxToolBar,
27444_swigt__p_wxPageSetupDialogData,
27445_swigt__p_wxPrintDialogData,
274460
27447};
27448
27449
27450/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
27451
27452static swig_const_info swig_const_table[] = {
27453{0, 0, 0, 0.0, 0, 0}};
27454
27455#ifdef __cplusplus
27456}
27457#endif
27458
27459#ifdef __cplusplus
27460extern "C"
27461#endif
27462SWIGEXPORT(void) SWIG_init(void) {
27463 static PyObject *SWIG_globals = 0;
27464 static int typeinit = 0;
27465 PyObject *m, *d;
27466 int i;
27467 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
27468 m = Py_InitModule((char *) SWIG_name, SwigMethods);
27469 d = PyModule_GetDict(m);
27470
27471 if (!typeinit) {
27472 for (i = 0; swig_types_initial[i]; i++) {
27473 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
27474 }
27475 typeinit = 1;
27476 }
27477 SWIG_InstallConstants(d,swig_const_table);
27478
27479 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
27480 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
27481 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
27482 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
27483 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
27484 PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_From_int((int)wxSTAY_ON_TOP));
27485 PyDict_SetItemString(d,"ICONIZE", SWIG_From_int((int)wxICONIZE));
27486 PyDict_SetItemString(d,"MINIMIZE", SWIG_From_int((int)wxMINIMIZE));
27487 PyDict_SetItemString(d,"MAXIMIZE", SWIG_From_int((int)wxMAXIMIZE));
27488 PyDict_SetItemString(d,"CLOSE_BOX", SWIG_From_int((int)wxCLOSE_BOX));
27489 PyDict_SetItemString(d,"THICK_FRAME", SWIG_From_int((int)wxTHICK_FRAME));
27490 PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_From_int((int)wxSYSTEM_MENU));
27491 PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_From_int((int)wxMINIMIZE_BOX));
27492 PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_From_int((int)wxMAXIMIZE_BOX));
27493 PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_From_int((int)wxTINY_CAPTION_HORIZ));
27494 PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_From_int((int)wxTINY_CAPTION_VERT));
27495 PyDict_SetItemString(d,"RESIZE_BOX", SWIG_From_int((int)wxRESIZE_BOX));
27496 PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_From_int((int)wxRESIZE_BORDER));
27497 PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_From_int((int)wxDIALOG_NO_PARENT));
27498 PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)wxDEFAULT_FRAME_STYLE));
27499 PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)wxDEFAULT_DIALOG_STYLE));
27500 PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_From_int((int)wxFRAME_TOOL_WINDOW));
27501 PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)wxFRAME_FLOAT_ON_PARENT));
27502 PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)wxFRAME_NO_WINDOW_MENU));
27503 PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_From_int((int)wxFRAME_NO_TASKBAR));
27504 PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_From_int((int)wxFRAME_SHAPED));
27505 PyDict_SetItemString(d,"FRAME_DRAWER", SWIG_From_int((int)wxFRAME_DRAWER));
27506 PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_From_int((int)wxDIALOG_MODAL));
27507 PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_From_int((int)wxDIALOG_MODELESS));
27508 PyDict_SetItemString(d,"USER_COLOURS", SWIG_From_int((int)wxUSER_COLOURS));
27509 PyDict_SetItemString(d,"NO_3D", SWIG_From_int((int)wxNO_3D));
27510 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)wxFULLSCREEN_NOMENUBAR));
27511 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)wxFULLSCREEN_NOTOOLBAR));
27512 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)wxFULLSCREEN_NOSTATUSBAR));
27513 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_From_int((int)wxFULLSCREEN_NOBORDER));
27514 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)wxFULLSCREEN_NOCAPTION));
27515 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_From_int((int)wxFULLSCREEN_ALL));
27516 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)wxTOPLEVEL_EX_DIALOG));
27517 PyDict_SetItemString(d,"USER_ATTENTION_INFO", SWIG_From_int((int)wxUSER_ATTENTION_INFO));
27518 PyDict_SetItemString(d,"USER_ATTENTION_ERROR", SWIG_From_int((int)wxUSER_ATTENTION_ERROR));
27519 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)wxSPLASH_CENTRE_ON_PARENT));
27520 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)wxSPLASH_CENTRE_ON_SCREEN));
27521 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_From_int((int)wxSPLASH_NO_CENTRE));
27522 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_From_int((int)wxSPLASH_TIMEOUT));
27523 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)wxSPLASH_NO_TIMEOUT));
27524 PyDict_SetItemString(d,"SB_NORMAL", SWIG_From_int((int)wxSB_NORMAL));
27525 PyDict_SetItemString(d,"SB_FLAT", SWIG_From_int((int)wxSB_FLAT));
27526 PyDict_SetItemString(d,"SB_RAISED", SWIG_From_int((int)wxSB_RAISED));
27527 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
27528 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_From_int((int)wxSP_NOBORDER));
27529 PyDict_SetItemString(d,"SP_NOSASH", SWIG_From_int((int)wxSP_NOSASH));
27530 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)wxSP_PERMIT_UNSPLIT));
27531 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_From_int((int)wxSP_LIVE_UPDATE));
27532 PyDict_SetItemString(d,"SP_3DSASH", SWIG_From_int((int)wxSP_3DSASH));
27533 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_From_int((int)wxSP_3DBORDER));
27534 PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_From_int((int)wxSP_NO_XP_THEME));
27535 PyDict_SetItemString(d,"SP_BORDER", SWIG_From_int((int)wxSP_BORDER));
27536 PyDict_SetItemString(d,"SP_3D", SWIG_From_int((int)wxSP_3D));
27537 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_From_int((int)wxSPLIT_HORIZONTAL));
27538 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_From_int((int)wxSPLIT_VERTICAL));
27539 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_From_int((int)wxSPLIT_DRAG_NONE));
27540 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)wxSPLIT_DRAG_DRAGGING));
27541 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSPLIT_DRAG_LEFT_DOWN));
27542 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
27543 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
27544 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
27545 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
27546 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
27547 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
27548 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_From_int((int)wxSASH_DRAG_NONE));
27549 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_From_int((int)wxSASH_DRAG_DRAGGING));
27550 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSASH_DRAG_LEFT_DOWN));
27551 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_From_int((int)wxSW_NOBORDER));
27552 PyDict_SetItemString(d,"SW_BORDER", SWIG_From_int((int)wxSW_BORDER));
27553 PyDict_SetItemString(d,"SW_3DSASH", SWIG_From_int((int)wxSW_3DSASH));
27554 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_From_int((int)wxSW_3DBORDER));
27555 PyDict_SetItemString(d,"SW_3D", SWIG_From_int((int)wxSW_3D));
27556 PyDict_SetItemString(d,"SASH_TOP", SWIG_From_int((int)wxSASH_TOP));
27557 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_From_int((int)wxSASH_RIGHT));
27558 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_From_int((int)wxSASH_BOTTOM));
27559 PyDict_SetItemString(d,"SASH_LEFT", SWIG_From_int((int)wxSASH_LEFT));
27560 PyDict_SetItemString(d,"SASH_NONE", SWIG_From_int((int)wxSASH_NONE));
27561 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_From_int((int)wxSASH_STATUS_OK));
27562 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)wxSASH_STATUS_OUT_OF_RANGE));
27563 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
27564 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_From_int((int)wxLAYOUT_HORIZONTAL));
27565 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_From_int((int)wxLAYOUT_VERTICAL));
27566 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_From_int((int)wxLAYOUT_NONE));
27567 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_From_int((int)wxLAYOUT_TOP));
27568 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_From_int((int)wxLAYOUT_LEFT));
27569 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_From_int((int)wxLAYOUT_RIGHT));
27570 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_From_int((int)wxLAYOUT_BOTTOM));
27571 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_From_int((int)wxLAYOUT_LENGTH_Y));
27572 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_From_int((int)wxLAYOUT_LENGTH_X));
27573 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)wxLAYOUT_MRU_LENGTH));
27574 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_From_int((int)wxLAYOUT_QUERY));
27575 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
27576 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
27577 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
27578
27579 // Map renamed classes back to their common name for OOR
27580 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
27581 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
27582 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
27583
27584 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
27585 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
27586 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
27587 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
27588 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
27589 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
27590 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
27591 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
27592 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
27593 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
27594 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
27595 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
27596 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
27597 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_From_int((int)wxCHOICEDLG_STYLE));
27598 SWIG_addvarlink(SWIG_globals,(char*)"GetPasswordFromUserPromptStr",_wrap_GetPasswordFromUserPromptStr_get, _wrap_GetPasswordFromUserPromptStr_set);
27599 PyDict_SetItemString(d,"FR_DOWN", SWIG_From_int((int)wxFR_DOWN));
27600 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_From_int((int)wxFR_WHOLEWORD));
27601 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_From_int((int)wxFR_MATCHCASE));
27602 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_From_int((int)wxFR_REPLACEDIALOG));
27603 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_From_int((int)wxFR_NOUPDOWN));
27604 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_From_int((int)wxFR_NOMATCHCASE));
27605 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_From_int((int)wxFR_NOWHOLEWORD));
27606 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
27607 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
27608 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
27609 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
27610 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
27611 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_From_int((int)4001));
27612 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_From_int((int)4001));
27613 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_From_int((int)4002));
27614 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_From_int((int)4003));
27615 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_From_int((int)4004));
27616 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_From_int((int)4005));
27617 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_From_int((int)4100));
27618 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_From_int((int)4600));
27619 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
27620 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
27621 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_From_int((int)wxPRINT_MODE_NONE));
27622 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_From_int((int)wxPRINT_MODE_PREVIEW));
27623 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_From_int((int)wxPRINT_MODE_FILE));
27624 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_From_int((int)wxPRINT_MODE_PRINTER));
27625 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_From_int((int)wxPRINT_MODE_STREAM));
27626 PyDict_SetItemString(d,"PRINTBIN_DEFAULT", SWIG_From_int((int)wxPRINTBIN_DEFAULT));
27627 PyDict_SetItemString(d,"PRINTBIN_ONLYONE", SWIG_From_int((int)wxPRINTBIN_ONLYONE));
27628 PyDict_SetItemString(d,"PRINTBIN_LOWER", SWIG_From_int((int)wxPRINTBIN_LOWER));
27629 PyDict_SetItemString(d,"PRINTBIN_MIDDLE", SWIG_From_int((int)wxPRINTBIN_MIDDLE));
27630 PyDict_SetItemString(d,"PRINTBIN_MANUAL", SWIG_From_int((int)wxPRINTBIN_MANUAL));
27631 PyDict_SetItemString(d,"PRINTBIN_ENVELOPE", SWIG_From_int((int)wxPRINTBIN_ENVELOPE));
27632 PyDict_SetItemString(d,"PRINTBIN_ENVMANUAL", SWIG_From_int((int)wxPRINTBIN_ENVMANUAL));
27633 PyDict_SetItemString(d,"PRINTBIN_AUTO", SWIG_From_int((int)wxPRINTBIN_AUTO));
27634 PyDict_SetItemString(d,"PRINTBIN_TRACTOR", SWIG_From_int((int)wxPRINTBIN_TRACTOR));
27635 PyDict_SetItemString(d,"PRINTBIN_SMALLFMT", SWIG_From_int((int)wxPRINTBIN_SMALLFMT));
27636 PyDict_SetItemString(d,"PRINTBIN_LARGEFMT", SWIG_From_int((int)wxPRINTBIN_LARGEFMT));
27637 PyDict_SetItemString(d,"PRINTBIN_LARGECAPACITY", SWIG_From_int((int)wxPRINTBIN_LARGECAPACITY));
27638 PyDict_SetItemString(d,"PRINTBIN_CASSETTE", SWIG_From_int((int)wxPRINTBIN_CASSETTE));
27639 PyDict_SetItemString(d,"PRINTBIN_FORMSOURCE", SWIG_From_int((int)wxPRINTBIN_FORMSOURCE));
27640 PyDict_SetItemString(d,"PRINTBIN_USER", SWIG_From_int((int)wxPRINTBIN_USER));
27641 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_From_int((int)wxPRINTER_NO_ERROR));
27642 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_From_int((int)wxPRINTER_CANCELLED));
27643 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_From_int((int)wxPRINTER_ERROR));
27644 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_From_int((int)wxPREVIEW_PRINT));
27645 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_From_int((int)wxPREVIEW_PREVIOUS));
27646 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_From_int((int)wxPREVIEW_NEXT));
27647 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_From_int((int)wxPREVIEW_ZOOM));
27648 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_From_int((int)wxPREVIEW_FIRST));
27649 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_From_int((int)wxPREVIEW_LAST));
27650 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_From_int((int)wxPREVIEW_GOTO));
27651 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_From_int((int)wxPREVIEW_DEFAULT));
27652 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_From_int((int)wxID_PREVIEW_CLOSE));
27653 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_From_int((int)wxID_PREVIEW_NEXT));
27654 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)wxID_PREVIEW_PREVIOUS));
27655 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_From_int((int)wxID_PREVIEW_PRINT));
27656 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_From_int((int)wxID_PREVIEW_ZOOM));
27657 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_From_int((int)wxID_PREVIEW_FIRST));
27658 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_From_int((int)wxID_PREVIEW_LAST));
27659 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_From_int((int)wxID_PREVIEW_GOTO));
27660
27661 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
27662
27663}
27664