]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/_windows_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / src / gtk / _windows_wrap.cpp
CommitLineData
d14a1e28
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
a41e16b6 3 * Version 1.3.22
d14a1e28
RD
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
c32bde28 46#define SWIG_TypePrettyName SWIG_Python_TypePrettyName
d14a1e28
RD
47#define SWIG_TypeQuery SWIG_Python_TypeQuery
48#define SWIG_TypeClientData SWIG_Python_TypeClientData
c9c7117a
RD
49#define SWIG_PackData SWIG_Python_PackData
50#define SWIG_UnpackData SWIG_Python_UnpackData
51
d14a1e28
RD
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
cc6dd355
RD
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
d14a1e28 83#else
cc6dd355
RD
84# define SWIGEXPORT(a) a
85# define SWIGIMPORT(a) a
d14a1e28
RD
86#endif
87
88#ifdef SWIG_GLOBAL
cc6dd355 89# define SWIGRUNTIME(a) SWIGEXPORT(a)
d14a1e28 90#else
cc6dd355 91# define SWIGRUNTIME(a) static a
d14a1e28
RD
92#endif
93
d14a1e28
RD
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 {
cc6dd355 102 const char *name;
d14a1e28
RD
103 swig_converter_func converter;
104 const char *str;
cc6dd355 105 void *clientdata;
d14a1e28
RD
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 *);
c32bde28 117SWIGIMPORT(const char *) SWIG_TypePrettyName(const swig_type_info *);
d14a1e28
RD
118SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
119SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
cc6dd355
RD
120SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
121SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
d14a1e28
RD
122
123
124#ifdef __cplusplus
125}
126#endif
127
c32bde28 128
d14a1e28
RD
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
d14a1e28
RD
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
d14a1e28
RD
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)
a41e16b6 174
d14a1e28
RD
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)
d14a1e28
RD
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
994141e6 187typedef double (*py_objasdbl_conv)(PyObject *obj);
d14a1e28 188
cc6dd355
RD
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[]);
d14a1e28 197
d14a1e28
RD
198
199/* Contract support */
200
9d1d5697 201#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
d14a1e28 202
d14a1e28
RD
203#ifdef __cplusplus
204}
205#endif
206
207
c32bde28 208
d14a1e28
RD
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]
1e0c8722
RD
214#define SWIGTYPE_p_wxPyPanel swig_types[3]
215#define SWIGTYPE_p_wxMenu swig_types[4]
f5b96ee1
RD
216#define SWIGTYPE_p_wxFontData swig_types[5]
217#define SWIGTYPE_p_wxEvent swig_types[6]
218#define SWIGTYPE_p_wxPrintData swig_types[7]
1e0c8722
RD
219#define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
220#define SWIGTYPE_p_wxIconBundle swig_types[9]
221#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[10]
222#define SWIGTYPE_p_wxFindDialogEvent swig_types[11]
223#define SWIGTYPE_p_wxPreviewCanvas swig_types[12]
224#define SWIGTYPE_p_wxFont swig_types[13]
225#define SWIGTYPE_p_wxSplitterEvent swig_types[14]
226#define SWIGTYPE_p_wxRegion swig_types[15]
227#define SWIGTYPE_p_wxFindReplaceData swig_types[16]
228#define SWIGTYPE_p_int swig_types[17]
229#define SWIGTYPE_p_wxSize swig_types[18]
230#define SWIGTYPE_p_wxDC swig_types[19]
231#define SWIGTYPE_p_wxIcon swig_types[20]
22bfe96c
RD
232#define SWIGTYPE_p_wxVisualAttributes swig_types[21]
233#define SWIGTYPE_p_wxMDIChildFrame swig_types[22]
234#define SWIGTYPE_p_wxColourData swig_types[23]
235#define SWIGTYPE_p_wxNotifyEvent swig_types[24]
236#define SWIGTYPE_p_wxPyWindow swig_types[25]
237#define SWIGTYPE_p_wxSplashScreen swig_types[26]
238#define SWIGTYPE_p_wxFindReplaceDialog swig_types[27]
239#define SWIGTYPE_p_wxProgressDialog swig_types[28]
240#define SWIGTYPE_p_wxMessageDialog swig_types[29]
241#define SWIGTYPE_p_wxTextEntryDialog swig_types[30]
242#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[31]
243#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[32]
244#define SWIGTYPE_p_wxFileDialog swig_types[33]
245#define SWIGTYPE_p_wxPrinter swig_types[34]
246#define SWIGTYPE_p_wxArrayInt swig_types[35]
247#define SWIGTYPE_p_wxEvtHandler swig_types[36]
248#define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[37]
249#define SWIGTYPE_p_wxPyHtmlListBox swig_types[38]
250#define SWIGTYPE_p_wxPyVListBox swig_types[39]
251#define SWIGTYPE_p_wxRect swig_types[40]
252#define SWIGTYPE_p_char swig_types[41]
253#define SWIGTYPE_p_wxMiniFrame swig_types[42]
254#define SWIGTYPE_p_wxFrame swig_types[43]
255#define SWIGTYPE_p_wxPyPrintout swig_types[44]
256#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[45]
257#define SWIGTYPE_p_wxScrollWinEvent swig_types[46]
258#define SWIGTYPE_p_wxStatusBar swig_types[47]
259#define SWIGTYPE_p_wxMDIParentFrame swig_types[48]
260#define SWIGTYPE_p_wxPoint swig_types[49]
261#define SWIGTYPE_p_wxObject swig_types[50]
262#define SWIGTYPE_p_wxOutputStream swig_types[51]
09c21d3b
RD
263#define SWIGTYPE_p_wxPyScrolledWindow 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]
f5b96ee1
RD
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]
09c21d3b
RD
276#define SWIGTYPE_p_wxMenuBar swig_types[65]
277#define SWIGTYPE_p_wxPrintPreview swig_types[66]
278#define SWIGTYPE_p_wxSashEvent swig_types[67]
279#define SWIGTYPE_p_wxString swig_types[68]
280#define SWIGTYPE_p_wxPyPrintPreview swig_types[69]
281#define SWIGTYPE_p_wxFontDialog swig_types[70]
282#define SWIGTYPE_p_wxDirDialog swig_types[71]
283#define SWIGTYPE_p_wxColourDialog swig_types[72]
284#define SWIGTYPE_p_wxDialog swig_types[73]
285#define SWIGTYPE_p_wxPanel swig_types[74]
286#define SWIGTYPE_p_wxPageSetupDialog swig_types[75]
287#define SWIGTYPE_p_wxPrintDialog swig_types[76]
288#define SWIGTYPE_p_wxFileSystem swig_types[77]
289#define SWIGTYPE_p_wxBitmap swig_types[78]
290#define SWIGTYPE_p_wxCommandEvent swig_types[79]
291#define SWIGTYPE_p_wxPreviewControlBar swig_types[80]
292#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[81]
293#define SWIGTYPE_p_wxColour swig_types[82]
294#define SWIGTYPE_p_wxToolBar swig_types[83]
295#define SWIGTYPE_p_wxPageSetupDialogData swig_types[84]
296#define SWIGTYPE_p_wxPrintDialogData swig_types[85]
297static swig_type_info *swig_types[87];
d14a1e28
RD
298
299/* -------- TYPES TABLE (END) -------- */
300
301
302/*-----------------------------------------------
54f9ee45 303 @(target):= _windows_.so
d14a1e28 304 ------------------------------------------------*/
54f9ee45 305#define SWIG_init init_windows_
d14a1e28 306
54f9ee45 307#define SWIG_name "_windows_"
d14a1e28 308
c32bde28
RD
309/* Auxiliar swig macros that appear in the header */
310
311#define SWIG_OLDOBJ 1
312#define SWIG_NEWOBJ SWIG_OLDOBJ + 1
313#define SWIG_PYSTR SWIG_NEWOBJ + 1
994141e6 314
994141e6 315#ifdef __cplusplus
15afbcd0 316#define SWIGSTATICINLINE(a) static inline a
994141e6 317#define SWIGSTATIC(a) static a
c32bde28
RD
318#define swig_new_array(size,Type) (new Type[(size)])
319#define swig_delete(cptr) delete cptr
15afbcd0 320#define swig_delete_array(cptr) delete[] cptr
c32bde28
RD
321#define swig_const_cast(a,Type) const_cast<Type >(a)
322#define swig_static_cast(a,Type) static_cast<Type >(a)
323#define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a)
324#define swig_new_copy(ptr,Type) (new Type(*ptr))
325#define swig_numeric_cast(a,Type) static_cast<Type >(a)
994141e6 326
15afbcd0
RD
327#else /* C case */
328
329#define SWIGSTATICINLINE(a) static a
330#define SWIGSTATIC(a) static a
c32bde28
RD
331#define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type)))
332#define swig_delete(cptr) free((char*)cptr)
15afbcd0 333#define swig_delete_array(cptr) free((char*)cptr)
c32bde28
RD
334#define swig_const_cast(a,Type) (Type)(a)
335#define swig_static_cast(a,Type) (Type)(a)
336#define swig_reinterpret_cast(a,Type) (Type)(a)
337#define swig_numeric_cast(a,Type) (Type)(a)
338#define swig_new_copy(ptr,Type) ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type)))
15afbcd0
RD
339
340#endif /* __cplusplus */
994141e6
RD
341
342
c32bde28
RD
343/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
344#define SWIG_From_signed_SS_char PyInt_FromLong
345/*@@*/
346/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
347#define SWIG_From_unsigned_SS_char PyInt_FromLong
348/*@@*/
349/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
350#define SWIG_From_short PyInt_FromLong
351/*@@*/
352/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
353#define SWIG_From_unsigned_SS_short PyInt_FromLong
354/*@@*/
355/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
356#define SWIG_From_int PyInt_FromLong
357/*@@*/
358/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
359#define SWIG_From_long PyInt_FromLong
360/*@@*/
361/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
362#define SWIG_From_float PyFloat_FromDouble
363/*@@*/
364/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
365#define SWIG_From_double PyFloat_FromDouble
366/*@@*/
994141e6
RD
367
368
d14a1e28
RD
369#include "wx/wxPython/wxPython.h"
370#include "wx/wxPython/pyclasses.h"
371
d14a1e28 372
b2dc1044
RD
373 static const wxString wxPyEmptyString(wxEmptyString);
374 static const wxString wxPyPanelNameStr(wxPanelNameStr);
d14a1e28
RD
375
376
377
15afbcd0
RD
378#include <limits.h>
379
380
c32bde28
RD
381SWIGSTATICINLINE(int)
382 SWIG_CheckLongInRange(long value, long min_value, long max_value,
383 const char *errmsg)
15afbcd0 384{
c32bde28
RD
385 if (value < min_value) {
386 if (errmsg) {
387 PyErr_Format(PyExc_OverflowError,
388 "value %ld is less than '%s' minimum %ld",
389 value, errmsg, min_value);
390 }
391 return 0;
392 } else if (value > max_value) {
393 if (errmsg) {
394 PyErr_Format(PyExc_OverflowError,
395 "value %ld is greater than '%s' maximum %ld",
396 value, errmsg, max_value);
15afbcd0 397 }
c32bde28 398 return 0;
15afbcd0 399 }
c32bde28 400 return 1;
994141e6
RD
401}
402
403
c32bde28
RD
404// See my_fragments.i
405SWIGSTATICINLINE(int)
406SWIG_AsVal_long(PyObject* obj, long* val)
994141e6 407{
c32bde28
RD
408 if (PyNumber_Check(obj)) {
409 if (val) *val = PyInt_AsLong(obj);
410 return 1;
411 }
69223c70
RD
412 else {
413 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
414 obj->ob_type->tp_name);
415 PyErr_SetObject(PyExc_TypeError, errmsg);
416 Py_DECREF(errmsg);
69223c70 417 }
c32bde28 418 return 0;
994141e6
RD
419}
420
421
15afbcd0
RD
422#if INT_MAX != LONG_MAX
423SWIGSTATICINLINE(int)
c32bde28 424 SWIG_AsVal_int(PyObject *obj, int *val)
15afbcd0 425{
c32bde28
RD
426 const char* errmsg = val ? "int" : 0;
427 long v;
428 if (SWIG_AsVal_long(obj, &v)) {
429 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
430 if (val) *val = swig_numeric_cast(v, int);
431 return 1;
432 } else {
433 return 0;
434 }
435 } else {
436 PyErr_Clear();
437 }
438 if (val) {
439 PyErr_SetString(PyExc_TypeError, "an int is expected");
440 }
441 return 0;
15afbcd0
RD
442}
443#else
c32bde28
RD
444SWIGSTATICINLINE(int)
445 SWIG_AsVal_int(PyObject *obj, int *val)
446{
447 return SWIG_AsVal_long(obj,(long*)val);
448}
15afbcd0
RD
449#endif
450
451
452SWIGSTATICINLINE(int)
c32bde28 453SWIG_As_int(PyObject* obj)
15afbcd0 454{
c32bde28
RD
455 int v;
456 if (!SWIG_AsVal_int(obj, &v)) {
457 /*
458 this is needed to make valgrind/purify happier. the other
459 solution is throw an exception, but since this code should work
460 with plain C ....
461 */
462 memset((void*)&v, 0, sizeof(int));
15afbcd0 463 }
c32bde28 464 return v;
15afbcd0
RD
465}
466
467
c32bde28
RD
468SWIGSTATICINLINE(long)
469SWIG_As_long(PyObject* obj)
15afbcd0 470{
c32bde28
RD
471 long v;
472 if (!SWIG_AsVal_long(obj, &v)) {
473 /*
474 this is needed to make valgrind/purify happier. the other
475 solution is throw an exception, but since this code should work
476 with plain C ....
477 */
478 memset((void*)&v, 0, sizeof(long));
15afbcd0 479 }
c32bde28 480 return v;
15afbcd0
RD
481}
482
c32bde28
RD
483
484SWIGSTATICINLINE(int)
485SWIG_Check_int(PyObject* obj)
486{
487 return SWIG_AsVal_int(obj, (int*)0);
488}
15afbcd0 489
c32bde28
RD
490
491SWIGSTATICINLINE(int)
492SWIG_Check_long(PyObject* obj)
994141e6 493{
c32bde28 494 return SWIG_AsVal_long(obj, (long*)0);
994141e6
RD
495}
496
497
15afbcd0 498SWIGSTATICINLINE(int)
c32bde28 499 SWIG_AsVal_bool(PyObject *obj, bool *val)
15afbcd0 500{
c32bde28
RD
501 /* if (val) *val = PyObject_IsTrue(obj); return 1; */
502 if (obj == Py_True) {
503 if (val) *val = true;
504 return 1;
505 }
506 if (obj == Py_False) {
507 if (val) *val = false;
508 return 1;
509 }
510 int res = 0;
511 if (SWIG_AsVal_int(obj, &res)) {
512 if (val) *val = (bool)res;
15afbcd0
RD
513 return 1;
514 }
c32bde28
RD
515 if (val) {
516 PyErr_SetString(PyExc_TypeError, "a bool is expected");
517 }
518 return 0;
519}
520
521
522SWIGSTATICINLINE(bool)
523SWIG_As_bool(PyObject* obj)
524{
525 bool v;
526 if (!SWIG_AsVal_bool(obj, &v)) {
527 /*
528 this is needed to make valgrind/purify happier. the other
529 solution is throw an exception, but since this code should work
530 with plain C ....
531 */
532 memset((void*)&v, 0, sizeof(bool));
533 }
534 return v;
15afbcd0
RD
535}
536
c32bde28
RD
537
538SWIGSTATICINLINE(int)
539SWIG_Check_bool(PyObject* obj)
540{
541 return SWIG_AsVal_bool(obj, (bool*)0);
542}
15afbcd0 543
c32bde28
RD
544
545 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
d14a1e28
RD
546 PyObject* o2;
547 PyObject* o3;
c32bde28 548
d14a1e28
RD
549 if (!target) {
550 target = o;
551 } else if (target == Py_None) {
552 Py_DECREF(Py_None);
553 target = o;
554 } else {
c32bde28
RD
555 o2 = target;
556 target = PyTuple_New(1);
557 PyTuple_SetItem(target, 0, o2);
558
d14a1e28
RD
559 o3 = PyTuple_New(1);
560 PyTuple_SetItem(o3, 0, o);
561
562 o2 = target;
563 target = PySequence_Concat(o2, o3);
564 Py_DECREF(o2);
565 Py_DECREF(o3);
566 }
567 return target;
568}
569
994141e6 570
c32bde28
RD
571
572// See my_fragments.i
573SWIGSTATICINLINE(int)
574SWIG_AsVal_double(PyObject *obj, double* val)
994141e6 575{
c32bde28
RD
576 if (PyNumber_Check(obj)) {
577 if (val) *val = PyFloat_AsDouble(obj);
578 return 1;
579 }
69223c70
RD
580 else {
581 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
582 obj->ob_type->tp_name);
583 PyErr_SetObject(PyExc_TypeError, errmsg);
584 Py_DECREF(errmsg);
69223c70 585 }
c32bde28 586 return 0;
15afbcd0
RD
587}
588
589
c32bde28
RD
590SWIGSTATICINLINE(double)
591SWIG_As_double(PyObject* obj)
15afbcd0 592{
c32bde28
RD
593 double v;
594 if (!SWIG_AsVal_double(obj, &v)) {
595 /*
596 this is needed to make valgrind/purify happier. the other
597 solution is throw an exception, but since this code should work
598 with plain C ....
599 */
600 memset((void*)&v, 0, sizeof(double));
15afbcd0 601 }
c32bde28
RD
602 return v;
603}
604
605
606SWIGSTATICINLINE(int)
607SWIG_Check_double(PyObject* obj)
608{
609 return SWIG_AsVal_double(obj, (double*)0);
994141e6
RD
610}
611
b2dc1044
RD
612 static const wxString wxPyFrameNameStr(wxFrameNameStr);
613 static const wxString wxPyDialogNameStr(wxDialogNameStr);
614 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
615 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
d14a1e28
RD
616
617
7722248d
RD
618wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
619 wxRect r;
620 self->GetFieldRect(i, r);
621 return r;
622 }
33b885b9
RD
623 static const wxString wxPySplitterNameStr(wxT("splitter"));
624 static const wxString wxPySashNameStr(wxT("sashWindow"));
625 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
d14a1e28
RD
626
627#include <wx/popupwin.h>
628
629
630class wxPyPopupTransientWindow : public wxPopupTransientWindow
631{
632public:
633 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
634 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
635 : wxPopupTransientWindow(parent, style) {}
636
637 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
638 DEC_PYCALLBACK__(OnDismiss);
639 DEC_PYCALLBACK_BOOL_(CanDismiss);
640 PYPRIVATE;
641};
642
643
644IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
645IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
646IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
647
648
649#include <wx/tipwin.h>
650
fd3f2efe
RD
651wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength,wxRect *rectBound){
652 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
d14a1e28
RD
653 }
654
655#include <wx/tipwin.h>
656
657
658#include <wx/vscroll.h>
659
660
661class wxPyVScrolledWindow : public wxVScrolledWindow
662{
663 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
664public:
665 wxPyVScrolledWindow() : wxVScrolledWindow() {}
666
667 wxPyVScrolledWindow(wxWindow *parent,
668 wxWindowID id = wxID_ANY,
669 const wxPoint& pos = wxDefaultPosition,
670 const wxSize& size = wxDefaultSize,
671 long style = 0,
672 const wxString& name = wxPyPanelNameStr)
673 : wxVScrolledWindow(parent, id, pos, size, style, name)
674 {}
675
676 // Overridable virtuals
677
678 // this function must be overridden in the derived class and it should
679 // return the height of the given line in pixels
680 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
681
682
683 // this function doesn't have to be overridden but it may be useful to do
684 // it if calculating the lines heights is a relatively expensive operation
685 // as it gives the user code a possibility to calculate several of them at
686 // once
687 //
688 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
689 // shouldn't rely on the latter being called for all lines in the interval
690 // specified here. It is also possible that OnGetLineHeight() will be
691 // called for the lines outside of this interval, so this is really just a
692 // hint, not a promise.
693 //
694 // finally note that lineMin is inclusive, while lineMax is exclusive, as
695 // usual
696 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
697
698
699 // when the number of lines changes, we try to estimate the total height
700 // of all lines which is a rather expensive operation in terms of lines
701 // access, so if the user code may estimate the average height
702 // better/faster than we do, it should override this function to implement
703 // its own logic
704 //
705 // this function should return the best guess for the total height it may
706 // make
707 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
708
709
710 // Also expose some other interesting protected methods
711
712
713 // find the index of the line we need to show at the top of the window such
714 // that the last (fully or partially) visible line is the given one
e811c8ce 715 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = False)
d14a1e28
RD
716 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
717
718 // get the total height of the lines between lineMin (inclusive) and
719 // lineMax (exclusive)
720 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
721 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
722
723
724 PYPRIVATE;
725};
726
727IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
728
729IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
730IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
731IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
732
733
c32bde28
RD
734// See my_fragments.i
735SWIGSTATICINLINE(int)
736SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
15afbcd0 737{
c32bde28
RD
738 long v = 0;
739 if (SWIG_AsVal_long(obj, &v) && v < 0) {
740 PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type");
741 return 0;
15afbcd0 742 }
c32bde28
RD
743 else if (val)
744 *val = (unsigned long)v;
745 return 1;
15afbcd0
RD
746}
747
748
c32bde28
RD
749SWIGSTATICINLINE(unsigned long)
750SWIG_As_unsigned_SS_long(PyObject* obj)
15afbcd0 751{
c32bde28
RD
752 unsigned long v;
753 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
754 /*
755 this is needed to make valgrind/purify happier. the other
756 solution is throw an exception, but since this code should work
757 with plain C ....
758 */
759 memset((void*)&v, 0, sizeof(unsigned long));
15afbcd0 760 }
c32bde28
RD
761 return v;
762}
763
764
765SWIGSTATICINLINE(int)
766SWIG_Check_unsigned_SS_long(PyObject* obj)
767{
768 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
15afbcd0
RD
769}
770
771
772SWIGSTATICINLINE(PyObject* )
c32bde28 773 SWIG_From_unsigned_SS_long(unsigned long value)
994141e6 774{
15afbcd0
RD
775 return (value > LONG_MAX) ?
776 PyLong_FromUnsignedLong(value)
c32bde28 777 : PyInt_FromLong(swig_numeric_cast(value,long));
994141e6
RD
778}
779
780
d14a1e28 781#include <wx/vlbox.h>
d14a1e28 782
b2dc1044 783 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
d14a1e28
RD
784
785class wxPyVListBox : public wxVListBox
786{
787 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
788public:
789 wxPyVListBox() : wxVListBox() {}
790
791 wxPyVListBox(wxWindow *parent,
792 wxWindowID id = wxID_ANY,
793 const wxPoint& pos = wxDefaultPosition,
794 const wxSize& size = wxDefaultSize,
795 long style = 0,
796 const wxString& name = wxPyVListBoxNameStr)
797 : wxVListBox(parent, id, pos, size, style, name)
798 {}
799
800 // Overridable virtuals
801
802 // the derived class must implement this function to actually draw the item
803 // with the given index on the provided DC
804 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
805 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
806
807
808 // the derived class must implement this method to return the height of the
809 // specified item
810 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
811 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
812
813
814 // this method may be used to draw separators between the lines; note that
815 // the rectangle may be modified, typically to deflate it a bit before
816 // passing to OnDrawItem()
817 //
818 // the base class version doesn't do anything
819 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
820 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
821
822
823 // this method is used to draw the items background and, maybe, a border
824 // around it
825 //
826 // the base class version implements a reasonable default behaviour which
827 // consists in drawing the selected item with the standard background
828 // colour and drawing a border around the item if it is either selected or
829 // current
830 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
831 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
832
833
834 PYPRIVATE;
835};
836
837IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
838
839IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
840IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
841IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
842IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
843
844
09c21d3b
RD
845PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
846 unsigned long cookie = 0;
847 int selected = self->GetFirstSelected(cookie);
848 bool blocked = wxPyBeginBlockThreads();
849 PyObject* tup = PyTuple_New(2);
850 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
851 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
852 wxPyEndBlockThreads(blocked);
853 return tup;
854 }
855PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
856 int selected = self->GetNextSelected(cookie);
857 bool blocked = wxPyBeginBlockThreads();
858 PyObject* tup = PyTuple_New(2);
859 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
860 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
861 wxPyEndBlockThreads(blocked);
862 return tup;
863 }
d14a1e28
RD
864
865#include <wx/htmllbox.h>
866
867
868class wxPyHtmlListBox : public wxHtmlListBox
869{
870 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
871public:
872 wxPyHtmlListBox() : wxHtmlListBox() {}
873
874 wxPyHtmlListBox(wxWindow *parent,
875 wxWindowID id = wxID_ANY,
876 const wxPoint& pos = wxDefaultPosition,
877 const wxSize& size = wxDefaultSize,
878 long style = 0,
879 const wxString& name = wxPyVListBoxNameStr)
880 : wxHtmlListBox(parent, id, pos, size, style, name)
881 {}
882
883 // Overridable virtuals
884
885 // this method must be implemented in the derived class and should return
886 // the body (i.e. without <html>) of the HTML for the given item
887 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
888
889 // this function may be overridden to decorate HTML returned by OnGetItem()
890 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
891
892// TODO:
893// // this method allows to customize the selection appearance: it may be used
894// // to specify the colour of the text which normally has the given colour
895// // colFg when it is inside the selection
896// //
897// // by default, the original colour is not used at all and all text has the
898// // same (default for this system) colour inside selection
899// virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
900
901// // this is the same as GetSelectedTextColour() but allows to customize the
902// // background colour -- this is even more rarely used as you can change it
903// // globally using SetSelectionBackground()
904// virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
905
906
907 PYPRIVATE;
908};
909
910
911IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
912
913IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
914IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
915
916
917
918
919
920#ifdef __WXMAC__
921// implement dummy classes and such for wxMac
922
923class wxTaskBarIcon : public wxEvtHandler
924{
925public:
39f61e25 926 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
d14a1e28 927};
09c21d3b 928
d14a1e28
RD
929
930class wxTaskBarIconEvent : public wxEvent
931{
932public:
933 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
39f61e25 934 { wxPyRaiseNotImplemented(); }
d14a1e28
RD
935 virtual wxEvent* Clone() const { return NULL; }
936};
937
938enum {
939 wxEVT_TASKBAR_MOVE = 0,
940 wxEVT_TASKBAR_LEFT_DOWN = 0,
941 wxEVT_TASKBAR_LEFT_UP = 0,
942 wxEVT_TASKBAR_RIGHT_DOWN = 0,
943 wxEVT_TASKBAR_RIGHT_UP = 0,
944 wxEVT_TASKBAR_LEFT_DCLICK = 0,
945 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
946};
09c21d3b
RD
947
948
949#else
950// // Otherwise make a class that can virtualize CreatePopupMenu
951// class wxPyTaskBarIcon : public wxTaskBarIcon
952// {
953// DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon);
954// public:
955// wxPyTaskBarIcon() : wxTaskBarIcon()
956// {}
957
958// wxMenu* CreatePopupMenu() {
959// wxMenu *rval = NULL;
960// bool found;
961// bool blocked = wxPyBeginBlockThreads();
962// if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
963// PyObject* ro;
964// wxMenu* ptr;
965// ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
966// if (ro) {
967// if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
968// rval = ptr;
969// Py_DECREF(ro);
970// }
971// }
972// wxPyEndBlockThreads(blocked);
973// if (! found)
974// rval = wxTaskBarIcon::CreatePopupMenu();
975// return rval;
976// }
977
978// PYPRIVATE;
979// };
980
981// IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
982
d14a1e28
RD
983#endif
984
74a57fcd
RD
985void wxTaskBarIcon_Destroy(wxTaskBarIcon *self){
986
987 self->RemoveIcon();
988
989 }
b2dc1044
RD
990 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
991 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
992 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
993 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
994 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
995 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
d14a1e28
RD
996PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
997 wxArrayString arr;
998 self->GetFilenames(arr);
999 return wxArrayString2PyList_helper(arr);
1000 }
1001PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
1002 wxArrayString arr;
1003 self->GetPaths(arr);
1004 return wxArrayString2PyList_helper(arr);
1005 }
1006PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
1007 return wxArrayInt2PyList_helper(self->GetSelections());
1008 }
1009wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){
1010 return new wxSingleChoiceDialog(parent, message, caption,
1011 choices, choices_array, NULL, style, pos);
1012 }
1013
1014#include <wx/mdi.h>
1015
1016 // C++ version of Python aware wxWindow
1017class wxPyWindow : public wxWindow
1018{
1019 DECLARE_DYNAMIC_CLASS(wxPyWindow)
1020public:
1021 wxPyWindow() : wxWindow() {}
1022 wxPyWindow(wxWindow* parent, const wxWindowID id,
1023 const wxPoint& pos = wxDefaultPosition,
1024 const wxSize& size = wxDefaultSize,
1025 long style = 0,
1026 const wxString& name = wxPyPanelNameStr)
1027 : wxWindow(parent, id, pos, size, style, name) {}
1028
db3e571a 1029 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
d14a1e28
RD
1030
1031 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1032 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1033 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1034 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1035
1036 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1037 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1038 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1039
1040 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1041 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1042
1043 DEC_PYCALLBACK__(InitDialog);
1044 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1045 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1046 DEC_PYCALLBACK_BOOL_(Validate);
1047
1048 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1049 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1050 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1051
1052 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1053 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1054
db3e571a 1055 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
1cb4a8aa 1056 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
db3e571a 1057 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
4276dc52 1058
d14a1e28
RD
1059 PYPRIVATE;
1060};
1061
1062IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
1063
1064IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
1065IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
1066IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
1067IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
1068
1069IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
1070IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
1071IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
1072
1073IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
1074IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
1075
1076IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
1077IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
1078IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
1079IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
1080
1081IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
1082IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
1083IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
1084
1085IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
1086IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
1087
db3e571a 1088IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
1cb4a8aa 1089IMP_PYCALLBACK__COLOUR(wxPyWindow, wxWindow, ApplyParentThemeBackground);
db3e571a 1090IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
1cb4a8aa 1091
d14a1e28
RD
1092
1093 // C++ version of Python aware wxPanel
1094class wxPyPanel : public wxPanel
1095{
1096 DECLARE_DYNAMIC_CLASS(wxPyPanel)
1097public:
1098 wxPyPanel() : wxPanel() {}
1099 wxPyPanel(wxWindow* parent, const wxWindowID id,
1100 const wxPoint& pos = wxDefaultPosition,
1101 const wxSize& size = wxDefaultSize,
1102 long style = 0,
1103 const wxString& name = wxPyPanelNameStr)
1104 : wxPanel(parent, id, pos, size, style, name) {}
1105
db3e571a
RD
1106 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
1107
d14a1e28
RD
1108
1109 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1110 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1111 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1112 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1113
1114 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1115 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1116 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1117
1118 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1119 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1120
1121 DEC_PYCALLBACK__(InitDialog);
1122 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1123 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1124 DEC_PYCALLBACK_BOOL_(Validate);
1125
1126 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1127 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1128 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1129
1130 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1131 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1132
db3e571a 1133 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
1cb4a8aa 1134 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
db3e571a 1135 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
4276dc52 1136
d14a1e28
RD
1137 PYPRIVATE;
1138};
1139
1140IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
1141
1142IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
1143IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
1144IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
1145IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
1146
1147IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
1148IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
1149IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
1150
1151IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
1152IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
1153
1154IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
1155IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
1156IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
1157IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
1158
1159IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
1160IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
1161IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
1162
1163IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
1164IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
1165
db3e571a 1166IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
1cb4a8aa 1167IMP_PYCALLBACK__COLOUR(wxPyPanel, wxPanel, ApplyParentThemeBackground);
db3e571a 1168IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
1cb4a8aa 1169
db3e571a 1170
1cb4a8aa
RD
1171 // C++ version of Python aware wxScrolledWindow
1172class wxPyScrolledWindow : public wxScrolledWindow
1173{
1174 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
1175public:
1176 wxPyScrolledWindow() : wxScrolledWindow() {}
1177 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
1178 const wxPoint& pos = wxDefaultPosition,
1179 const wxSize& size = wxDefaultSize,
1180 long style = 0,
1181 const wxString& name = wxPyPanelNameStr)
1182 : wxScrolledWindow(parent, id, pos, size, style, name) {}
1183
db3e571a 1184 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
1cb4a8aa
RD
1185
1186 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1187 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1188 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1189 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1190
1191 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1192 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1193 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1194
1195 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1196 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1197
1198 DEC_PYCALLBACK__(InitDialog);
1199 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1200 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1201 DEC_PYCALLBACK_BOOL_(Validate);
1202
1203 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1204 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1205 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1206
1207 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1208 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1209
db3e571a 1210 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
1cb4a8aa 1211 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
db3e571a 1212 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
1cb4a8aa
RD
1213
1214 PYPRIVATE;
1215};
1216
1217IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
1218
1219IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
1220IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
1221IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
1222IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
1223
1224IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
1225IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
1226IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
1227
1228IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
1229IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
1230
1231IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
1232IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
1233IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
1234IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
1235
1236IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
1237IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
1238IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
1239
1240IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
1241IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
1242
db3e571a 1243IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
1cb4a8aa 1244IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow, wxScrolledWindow, ApplyParentThemeBackground);
db3e571a
RD
1245IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
1246
d14a1e28
RD
1247
1248
1249#include "wx/wxPython/printfw.h"
1250
d14a1e28 1251
33b885b9
RD
1252 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
1253 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
d14a1e28
RD
1254
1255
1256
1257// Since this one would be tough and ugly to do with the Macros...
1258void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
e811c8ce 1259 bool hadErr = False;
d14a1e28
RD
1260 bool found;
1261
4f89f6a3 1262 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1263 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
1264 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1265 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
1266 PyObject* val;
1267
1268 val = PyTuple_GetItem(result, 0);
1269 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
e811c8ce 1270 else hadErr = True;
d14a1e28
RD
1271
1272 val = PyTuple_GetItem(result, 1);
1273 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
e811c8ce 1274 else hadErr = True;
d14a1e28
RD
1275
1276 val = PyTuple_GetItem(result, 2);
1277 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
e811c8ce 1278 else hadErr = True;
d14a1e28
RD
1279
1280 val = PyTuple_GetItem(result, 3);
1281 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
e811c8ce 1282 else hadErr = True;
d14a1e28
RD
1283 }
1284 else
e811c8ce 1285 hadErr = True;
d14a1e28
RD
1286
1287 if (hadErr) {
1288 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
1289 PyErr_Print();
1290 }
1291 Py_DECREF(result);
1292 }
4f89f6a3 1293 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1294 if (! found)
1295 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1296}
1297
1298void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1299 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1300}
1301
1302
1303IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
1304IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
1305IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
1306IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
1307IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
1308IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
1309IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
1310
1311
1312
1313
1314
1315#define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1316 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1317 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1318
1319
1320#define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1321 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
e811c8ce 1322 bool rval=False; \
d14a1e28 1323 bool found; \
4f89f6a3 1324 bool blocked = wxPyBeginBlockThreads(); \
d14a1e28 1325 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
412d302d
RD
1326 PyObject* win = wxPyMake_wxObject(a,false); \
1327 PyObject* dc = wxPyMake_wxObject(&b,false); \
d14a1e28
RD
1328 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
1329 Py_DECREF(win); \
1330 Py_DECREF(dc); \
1331 } \
4f89f6a3 1332 wxPyEndBlockThreads(blocked); \
d14a1e28
RD
1333 if (! found) \
1334 rval = PCLASS::CBNAME(a, b); \
1335 return rval; \
1336 } \
1337 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1338 return PCLASS::CBNAME(a, b); \
1339 }
1340
1341
1342
1343
1344class wxPyPrintPreview : public wxPrintPreview
1345{
1346 DECLARE_CLASS(wxPyPrintPreview)
1347public:
4276dc52
RD
1348 wxPyPrintPreview(wxPyPrintout* printout,
1349 wxPyPrintout* printoutForPrinting,
1350 wxPrintDialogData* data=NULL)
1351 : wxPrintPreview(printout, printoutForPrinting, data)
1352 {}
d14a1e28
RD
1353 wxPyPrintPreview(wxPyPrintout* printout,
1354 wxPyPrintout* printoutForPrinting,
1355 wxPrintData* data=NULL)
1356 : wxPrintPreview(printout, printoutForPrinting, data)
1357 {}
1358
1359 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
1360 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
1361 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
1362 DEC_PYCALLBACK_BOOL_INT(RenderPage);
1363 DEC_PYCALLBACK_VOID_INT(SetZoom);
1364 DEC_PYCALLBACK_BOOL_BOOL(Print);
1365 DEC_PYCALLBACK_VOID_(DetermineScaling);
1366
1367 PYPRIVATE;
1368};
1369
1370// Stupid renamed classes... Fix this in 2.5...
1371#if defined(__WXMSW__)
1372IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
1373#elif defined(__WXMAC__)
1374IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
1375#else
1376IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
1377#endif
1378
1379IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
1380IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
1381IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
1382IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
1383IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
1384IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
1385IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
1386
1387
1388class wxPyPreviewFrame : public wxPreviewFrame
1389{
1390 DECLARE_CLASS(wxPyPreviewFrame);
1391public:
1392 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
1393 const wxString& title,
1394 const wxPoint& pos = wxDefaultPosition,
1395 const wxSize& size = wxDefaultSize,
1396 long style = wxDEFAULT_FRAME_STYLE,
1397 const wxString& name = wxPyFrameNameStr)
1398 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
1399 {}
1400
1401 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
1402 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
1403
1404 DEC_PYCALLBACK_VOID_(Initialize);
1405 DEC_PYCALLBACK_VOID_(CreateCanvas);
1406 DEC_PYCALLBACK_VOID_(CreateControlBar);
1407
1408 PYPRIVATE;
1409};
1410
1411IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
1412
1413IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
1414IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
1415IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
1416
1417
1418class wxPyPreviewControlBar : public wxPreviewControlBar
1419{
1420 DECLARE_CLASS(wxPyPreviewControlBar);
1421public:
1422 wxPyPreviewControlBar(wxPrintPreview *preview,
1423 long buttons,
1424 wxWindow *parent,
1425 const wxPoint& pos = wxDefaultPosition,
1426 const wxSize& size = wxDefaultSize,
1427 long style = 0,
1428 const wxString& name = wxPyPanelNameStr)
1429 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
1430 {}
1431
1432 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
1433
1434 DEC_PYCALLBACK_VOID_(CreateButtons);
1435 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
1436
1437 PYPRIVATE;
1438};
1439
1440IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
1441IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
1442IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
1443
1444#ifdef __cplusplus
1445extern "C" {
1446#endif
c32bde28 1447static PyObject *_wrap_new_Panel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1448 PyObject *resultobj;
1449 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 1450 int arg2 = (int) (int)-1 ;
d14a1e28
RD
1451 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1452 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1453 wxSize const &arg4_defvalue = wxDefaultSize ;
1454 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1455 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1456 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1457 wxString *arg6 = (wxString *) &arg6_defvalue ;
1458 wxPanel *result;
1459 wxPoint temp3 ;
1460 wxSize temp4 ;
e811c8ce 1461 bool temp6 = False ;
d14a1e28 1462 PyObject * obj0 = 0 ;
994141e6 1463 PyObject * obj1 = 0 ;
d14a1e28
RD
1464 PyObject * obj2 = 0 ;
1465 PyObject * obj3 = 0 ;
994141e6 1466 PyObject * obj4 = 0 ;
d14a1e28
RD
1467 PyObject * obj5 = 0 ;
1468 char *kwnames[] = {
1469 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1470 };
1471
994141e6 1472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
1473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 1475 if (obj1) {
c32bde28 1476 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 1477 if (PyErr_Occurred()) SWIG_fail;
994141e6 1478 }
d14a1e28
RD
1479 if (obj2) {
1480 {
1481 arg3 = &temp3;
1482 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1483 }
1484 }
1485 if (obj3) {
1486 {
1487 arg4 = &temp4;
1488 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1489 }
1490 }
994141e6 1491 if (obj4) {
c32bde28 1492 arg5 = (long)SWIG_As_long(obj4);
15afbcd0 1493 if (PyErr_Occurred()) SWIG_fail;
994141e6 1494 }
d14a1e28
RD
1495 if (obj5) {
1496 {
1497 arg6 = wxString_in_helper(obj5);
1498 if (arg6 == NULL) SWIG_fail;
e811c8ce 1499 temp6 = True;
d14a1e28
RD
1500 }
1501 }
1502 {
e3b71cb8 1503 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
1504 PyThreadState* __tstate = wxPyBeginAllowThreads();
1505 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1506
1507 wxPyEndAllowThreads(__tstate);
110da5b0 1508 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 1509 }
b0f7404b 1510 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
d14a1e28
RD
1511 {
1512 if (temp6)
1513 delete arg6;
1514 }
1515 return resultobj;
1516 fail:
1517 {
1518 if (temp6)
1519 delete arg6;
1520 }
1521 return NULL;
1522}
1523
1524
c32bde28 1525static PyObject *_wrap_new_PrePanel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1526 PyObject *resultobj;
1527 wxPanel *result;
1528 char *kwnames[] = {
1529 NULL
1530 };
1531
1532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
1533 {
e3b71cb8 1534 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
1535 PyThreadState* __tstate = wxPyBeginAllowThreads();
1536 result = (wxPanel *)new wxPanel();
1537
1538 wxPyEndAllowThreads(__tstate);
110da5b0 1539 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 1540 }
b0f7404b 1541 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
d14a1e28
RD
1542 return resultobj;
1543 fail:
1544 return NULL;
1545}
1546
1547
c32bde28 1548static PyObject *_wrap_Panel_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1549 PyObject *resultobj;
1550 wxPanel *arg1 = (wxPanel *) 0 ;
1551 wxWindow *arg2 = (wxWindow *) 0 ;
cfe5e918 1552 int arg3 = (int) (int)-1 ;
d14a1e28
RD
1553 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1554 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1555 wxSize const &arg5_defvalue = wxDefaultSize ;
1556 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1557 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1558 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1559 wxString *arg7 = (wxString *) &arg7_defvalue ;
1560 bool result;
1561 wxPoint temp4 ;
1562 wxSize temp5 ;
e811c8ce 1563 bool temp7 = False ;
d14a1e28
RD
1564 PyObject * obj0 = 0 ;
1565 PyObject * obj1 = 0 ;
994141e6 1566 PyObject * obj2 = 0 ;
d14a1e28
RD
1567 PyObject * obj3 = 0 ;
1568 PyObject * obj4 = 0 ;
994141e6 1569 PyObject * obj5 = 0 ;
d14a1e28
RD
1570 PyObject * obj6 = 0 ;
1571 char *kwnames[] = {
1572 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1573 };
1574
cfe5e918 1575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
1576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1578 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
cfe5e918 1580 if (obj2) {
c32bde28 1581 arg3 = (int)SWIG_As_int(obj2);
cfe5e918
RD
1582 if (PyErr_Occurred()) SWIG_fail;
1583 }
d14a1e28
RD
1584 if (obj3) {
1585 {
1586 arg4 = &temp4;
1587 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1588 }
1589 }
1590 if (obj4) {
1591 {
1592 arg5 = &temp5;
1593 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1594 }
1595 }
994141e6 1596 if (obj5) {
c32bde28 1597 arg6 = (long)SWIG_As_long(obj5);
15afbcd0 1598 if (PyErr_Occurred()) SWIG_fail;
994141e6 1599 }
d14a1e28
RD
1600 if (obj6) {
1601 {
1602 arg7 = wxString_in_helper(obj6);
1603 if (arg7 == NULL) SWIG_fail;
e811c8ce 1604 temp7 = True;
d14a1e28
RD
1605 }
1606 }
1607 {
1608 PyThreadState* __tstate = wxPyBeginAllowThreads();
1609 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1610
1611 wxPyEndAllowThreads(__tstate);
1612 if (PyErr_Occurred()) SWIG_fail;
1613 }
4f89f6a3
RD
1614 {
1615 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1616 }
d14a1e28
RD
1617 {
1618 if (temp7)
1619 delete arg7;
1620 }
1621 return resultobj;
1622 fail:
1623 {
1624 if (temp7)
1625 delete arg7;
1626 }
1627 return NULL;
1628}
1629
1630
c32bde28 1631static PyObject *_wrap_Panel_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1632 PyObject *resultobj;
1633 wxPanel *arg1 = (wxPanel *) 0 ;
1634 PyObject * obj0 = 0 ;
1635 char *kwnames[] = {
1636 (char *) "self", NULL
1637 };
1638
1639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
15afbcd0
RD
1640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1642 {
1643 PyThreadState* __tstate = wxPyBeginAllowThreads();
1644 (arg1)->InitDialog();
1645
1646 wxPyEndAllowThreads(__tstate);
1647 if (PyErr_Occurred()) SWIG_fail;
1648 }
1649 Py_INCREF(Py_None); resultobj = Py_None;
1650 return resultobj;
1651 fail:
1652 return NULL;
1653}
1654
1655
c32bde28 1656static PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c
RD
1657 PyObject *resultobj;
1658 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
1659 wxVisualAttributes result;
1660 PyObject * obj0 = 0 ;
1661 char *kwnames[] = {
1662 (char *) "variant", NULL
1663 };
1664
1665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
1666 if (obj0) {
c32bde28 1667 arg1 = (int)SWIG_As_int(obj0);
22bfe96c
RD
1668 if (PyErr_Occurred()) SWIG_fail;
1669 }
1670 {
e3b71cb8 1671 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
1672 PyThreadState* __tstate = wxPyBeginAllowThreads();
1673 result = wxPanel::GetClassDefaultAttributes((wxWindowVariant )arg1);
1674
1675 wxPyEndAllowThreads(__tstate);
110da5b0 1676 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
1677 }
1678 {
1679 wxVisualAttributes * resultptr;
1680 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
1681 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
1682 }
1683 return resultobj;
1684 fail:
1685 return NULL;
1686}
1687
1688
c32bde28 1689static PyObject * Panel_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
1690 PyObject *obj;
1691 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1692 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
1693 Py_INCREF(obj);
1694 return Py_BuildValue((char *)"");
1695}
c32bde28 1696static PyObject *_wrap_new_ScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1697 PyObject *resultobj;
1698 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 1699 int arg2 = (int) (int)-1 ;
d14a1e28
RD
1700 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1701 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1702 wxSize const &arg4_defvalue = wxDefaultSize ;
1703 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1704 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
1705 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1706 wxString *arg6 = (wxString *) &arg6_defvalue ;
1707 wxScrolledWindow *result;
1708 wxPoint temp3 ;
1709 wxSize temp4 ;
e811c8ce 1710 bool temp6 = False ;
d14a1e28 1711 PyObject * obj0 = 0 ;
994141e6 1712 PyObject * obj1 = 0 ;
d14a1e28
RD
1713 PyObject * obj2 = 0 ;
1714 PyObject * obj3 = 0 ;
994141e6 1715 PyObject * obj4 = 0 ;
d14a1e28
RD
1716 PyObject * obj5 = 0 ;
1717 char *kwnames[] = {
1718 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1719 };
1720
994141e6 1721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
1722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 1724 if (obj1) {
c32bde28 1725 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 1726 if (PyErr_Occurred()) SWIG_fail;
994141e6 1727 }
d14a1e28
RD
1728 if (obj2) {
1729 {
1730 arg3 = &temp3;
1731 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1732 }
1733 }
1734 if (obj3) {
1735 {
1736 arg4 = &temp4;
1737 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1738 }
1739 }
994141e6 1740 if (obj4) {
c32bde28 1741 arg5 = (long)SWIG_As_long(obj4);
15afbcd0 1742 if (PyErr_Occurred()) SWIG_fail;
994141e6 1743 }
d14a1e28
RD
1744 if (obj5) {
1745 {
1746 arg6 = wxString_in_helper(obj5);
1747 if (arg6 == NULL) SWIG_fail;
e811c8ce 1748 temp6 = True;
d14a1e28
RD
1749 }
1750 }
1751 {
e3b71cb8 1752 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
1753 PyThreadState* __tstate = wxPyBeginAllowThreads();
1754 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1755
1756 wxPyEndAllowThreads(__tstate);
110da5b0 1757 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 1758 }
b0f7404b 1759 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
d14a1e28
RD
1760 {
1761 if (temp6)
1762 delete arg6;
1763 }
1764 return resultobj;
1765 fail:
1766 {
1767 if (temp6)
1768 delete arg6;
1769 }
1770 return NULL;
1771}
1772
1773
c32bde28 1774static PyObject *_wrap_new_PreScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1775 PyObject *resultobj;
1776 wxScrolledWindow *result;
1777 char *kwnames[] = {
1778 NULL
1779 };
1780
1781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
1782 {
e3b71cb8 1783 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
1784 PyThreadState* __tstate = wxPyBeginAllowThreads();
1785 result = (wxScrolledWindow *)new wxScrolledWindow();
1786
1787 wxPyEndAllowThreads(__tstate);
110da5b0 1788 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 1789 }
b0f7404b 1790 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
d14a1e28
RD
1791 return resultobj;
1792 fail:
1793 return NULL;
1794}
1795
1796
c32bde28 1797static PyObject *_wrap_ScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1798 PyObject *resultobj;
1799 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1800 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 1801 int arg3 = (int) (int)-1 ;
d14a1e28
RD
1802 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1803 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1804 wxSize const &arg5_defvalue = wxDefaultSize ;
1805 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1806 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
1807 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1808 wxString *arg7 = (wxString *) &arg7_defvalue ;
1809 bool result;
1810 wxPoint temp4 ;
1811 wxSize temp5 ;
e811c8ce 1812 bool temp7 = False ;
d14a1e28
RD
1813 PyObject * obj0 = 0 ;
1814 PyObject * obj1 = 0 ;
994141e6 1815 PyObject * obj2 = 0 ;
d14a1e28
RD
1816 PyObject * obj3 = 0 ;
1817 PyObject * obj4 = 0 ;
994141e6 1818 PyObject * obj5 = 0 ;
d14a1e28
RD
1819 PyObject * obj6 = 0 ;
1820 char *kwnames[] = {
1821 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1822 };
1823
994141e6 1824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
1825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1827 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 1829 if (obj2) {
c32bde28 1830 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 1831 if (PyErr_Occurred()) SWIG_fail;
994141e6 1832 }
d14a1e28
RD
1833 if (obj3) {
1834 {
1835 arg4 = &temp4;
1836 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1837 }
1838 }
1839 if (obj4) {
1840 {
1841 arg5 = &temp5;
1842 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1843 }
1844 }
994141e6 1845 if (obj5) {
c32bde28 1846 arg6 = (long)SWIG_As_long(obj5);
15afbcd0 1847 if (PyErr_Occurred()) SWIG_fail;
994141e6 1848 }
d14a1e28
RD
1849 if (obj6) {
1850 {
1851 arg7 = wxString_in_helper(obj6);
1852 if (arg7 == NULL) SWIG_fail;
e811c8ce 1853 temp7 = True;
d14a1e28
RD
1854 }
1855 }
1856 {
1857 PyThreadState* __tstate = wxPyBeginAllowThreads();
1858 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1859
1860 wxPyEndAllowThreads(__tstate);
1861 if (PyErr_Occurred()) SWIG_fail;
1862 }
4f89f6a3
RD
1863 {
1864 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1865 }
d14a1e28
RD
1866 {
1867 if (temp7)
1868 delete arg7;
1869 }
1870 return resultobj;
1871 fail:
1872 {
1873 if (temp7)
1874 delete arg7;
1875 }
1876 return NULL;
1877}
1878
1879
c32bde28 1880static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1881 PyObject *resultobj;
1882 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1883 int arg2 ;
1884 int arg3 ;
1885 int arg4 ;
1886 int arg5 ;
1887 int arg6 = (int) 0 ;
1888 int arg7 = (int) 0 ;
e811c8ce 1889 bool arg8 = (bool) False ;
d14a1e28 1890 PyObject * obj0 = 0 ;
994141e6
RD
1891 PyObject * obj1 = 0 ;
1892 PyObject * obj2 = 0 ;
1893 PyObject * obj3 = 0 ;
1894 PyObject * obj4 = 0 ;
1895 PyObject * obj5 = 0 ;
1896 PyObject * obj6 = 0 ;
d14a1e28
RD
1897 PyObject * obj7 = 0 ;
1898 char *kwnames[] = {
1899 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1900 };
1901
994141e6 1902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
1903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 1905 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 1906 if (PyErr_Occurred()) SWIG_fail;
c32bde28 1907 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 1908 if (PyErr_Occurred()) SWIG_fail;
c32bde28 1909 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 1910 if (PyErr_Occurred()) SWIG_fail;
c32bde28 1911 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 1912 if (PyErr_Occurred()) SWIG_fail;
994141e6 1913 if (obj5) {
c32bde28 1914 arg6 = (int)SWIG_As_int(obj5);
15afbcd0 1915 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
1916 }
1917 if (obj6) {
c32bde28 1918 arg7 = (int)SWIG_As_int(obj6);
15afbcd0 1919 if (PyErr_Occurred()) SWIG_fail;
994141e6 1920 }
d14a1e28 1921 if (obj7) {
c32bde28 1922 arg8 = (bool)SWIG_As_bool(obj7);
15afbcd0 1923 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1924 }
1925 {
1926 PyThreadState* __tstate = wxPyBeginAllowThreads();
1927 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1928
1929 wxPyEndAllowThreads(__tstate);
1930 if (PyErr_Occurred()) SWIG_fail;
1931 }
1932 Py_INCREF(Py_None); resultobj = Py_None;
1933 return resultobj;
1934 fail:
1935 return NULL;
1936}
1937
1938
c32bde28 1939static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1940 PyObject *resultobj;
1941 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1942 int arg2 ;
1943 int arg3 ;
1944 PyObject * obj0 = 0 ;
994141e6
RD
1945 PyObject * obj1 = 0 ;
1946 PyObject * obj2 = 0 ;
d14a1e28
RD
1947 char *kwnames[] = {
1948 (char *) "self",(char *) "x",(char *) "y", NULL
1949 };
1950
994141e6 1951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
1952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 1954 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 1955 if (PyErr_Occurred()) SWIG_fail;
c32bde28 1956 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 1957 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1958 {
1959 PyThreadState* __tstate = wxPyBeginAllowThreads();
1960 (arg1)->Scroll(arg2,arg3);
1961
1962 wxPyEndAllowThreads(__tstate);
1963 if (PyErr_Occurred()) SWIG_fail;
1964 }
1965 Py_INCREF(Py_None); resultobj = Py_None;
1966 return resultobj;
1967 fail:
1968 return NULL;
1969}
1970
1971
c32bde28 1972static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1973 PyObject *resultobj;
1974 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1975 int arg2 ;
1976 int result;
1977 PyObject * obj0 = 0 ;
994141e6 1978 PyObject * obj1 = 0 ;
d14a1e28
RD
1979 char *kwnames[] = {
1980 (char *) "self",(char *) "orient", NULL
1981 };
1982
994141e6 1983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 1986 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 1987 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1988 {
1989 PyThreadState* __tstate = wxPyBeginAllowThreads();
1990 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
1991
1992 wxPyEndAllowThreads(__tstate);
1993 if (PyErr_Occurred()) SWIG_fail;
1994 }
c32bde28 1995 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
1996 return resultobj;
1997 fail:
1998 return NULL;
1999}
2000
2001
c32bde28 2002static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2003 PyObject *resultobj;
2004 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2005 int arg2 ;
2006 int arg3 ;
2007 PyObject * obj0 = 0 ;
994141e6
RD
2008 PyObject * obj1 = 0 ;
2009 PyObject * obj2 = 0 ;
d14a1e28
RD
2010 char *kwnames[] = {
2011 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
2012 };
2013
994141e6 2014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 2017 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 2018 if (PyErr_Occurred()) SWIG_fail;
c32bde28 2019 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 2020 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2021 {
2022 PyThreadState* __tstate = wxPyBeginAllowThreads();
2023 (arg1)->SetScrollPageSize(arg2,arg3);
2024
2025 wxPyEndAllowThreads(__tstate);
2026 if (PyErr_Occurred()) SWIG_fail;
2027 }
2028 Py_INCREF(Py_None); resultobj = Py_None;
2029 return resultobj;
2030 fail:
2031 return NULL;
2032}
2033
2034
c32bde28 2035static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2036 PyObject *resultobj;
2037 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2038 int arg2 ;
2039 int arg3 ;
2040 PyObject * obj0 = 0 ;
994141e6
RD
2041 PyObject * obj1 = 0 ;
2042 PyObject * obj2 = 0 ;
d14a1e28
RD
2043 char *kwnames[] = {
2044 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
2045 };
2046
994141e6 2047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 2050 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 2051 if (PyErr_Occurred()) SWIG_fail;
c32bde28 2052 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 2053 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2054 {
2055 PyThreadState* __tstate = wxPyBeginAllowThreads();
2056 (arg1)->SetScrollRate(arg2,arg3);
2057
2058 wxPyEndAllowThreads(__tstate);
2059 if (PyErr_Occurred()) SWIG_fail;
2060 }
2061 Py_INCREF(Py_None); resultobj = Py_None;
2062 return resultobj;
2063 fail:
2064 return NULL;
2065}
2066
2067
c32bde28 2068static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2069 PyObject *resultobj;
2070 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2071 int *arg2 = (int *) 0 ;
2072 int *arg3 = (int *) 0 ;
2073 int temp2 ;
c32bde28 2074 int res2 = 0 ;
d14a1e28 2075 int temp3 ;
c32bde28 2076 int res3 = 0 ;
d14a1e28
RD
2077 PyObject * obj0 = 0 ;
2078 char *kwnames[] = {
2079 (char *) "self", NULL
2080 };
2081
c32bde28
RD
2082 arg2 = &temp2; res2 = SWIG_NEWOBJ;
2083 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 2084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
15afbcd0
RD
2085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2087 {
2088 PyThreadState* __tstate = wxPyBeginAllowThreads();
2089 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
2090
2091 wxPyEndAllowThreads(__tstate);
2092 if (PyErr_Occurred()) SWIG_fail;
2093 }
2094 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
2095 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
2096 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
2097 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
2098 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
2099 return resultobj;
2100 fail:
2101 return NULL;
2102}
2103
2104
c32bde28 2105static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2106 PyObject *resultobj;
2107 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2108 bool arg2 ;
2109 bool arg3 ;
2110 PyObject * obj0 = 0 ;
2111 PyObject * obj1 = 0 ;
2112 PyObject * obj2 = 0 ;
2113 char *kwnames[] = {
2114 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
2115 };
2116
2117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 2120 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 2121 if (PyErr_Occurred()) SWIG_fail;
c32bde28 2122 arg3 = (bool)SWIG_As_bool(obj2);
15afbcd0 2123 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2124 {
2125 PyThreadState* __tstate = wxPyBeginAllowThreads();
2126 (arg1)->EnableScrolling(arg2,arg3);
2127
2128 wxPyEndAllowThreads(__tstate);
2129 if (PyErr_Occurred()) SWIG_fail;
2130 }
2131 Py_INCREF(Py_None); resultobj = Py_None;
2132 return resultobj;
2133 fail:
2134 return NULL;
2135}
2136
2137
c32bde28 2138static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2139 PyObject *resultobj;
2140 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2141 int *arg2 = (int *) 0 ;
2142 int *arg3 = (int *) 0 ;
2143 int temp2 ;
c32bde28 2144 int res2 = 0 ;
d14a1e28 2145 int temp3 ;
c32bde28 2146 int res3 = 0 ;
d14a1e28
RD
2147 PyObject * obj0 = 0 ;
2148 char *kwnames[] = {
2149 (char *) "self", NULL
2150 };
2151
c32bde28
RD
2152 arg2 = &temp2; res2 = SWIG_NEWOBJ;
2153 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 2154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
15afbcd0
RD
2155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2157 {
2158 PyThreadState* __tstate = wxPyBeginAllowThreads();
2159 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
2160
2161 wxPyEndAllowThreads(__tstate);
2162 if (PyErr_Occurred()) SWIG_fail;
2163 }
2164 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
2165 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
2166 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
2167 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
2168 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
2169 return resultobj;
2170 fail:
2171 return NULL;
2172}
2173
2174
c32bde28 2175static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2176 PyObject *resultobj;
2177 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2178 double arg2 ;
2179 double arg3 ;
2180 PyObject * obj0 = 0 ;
994141e6
RD
2181 PyObject * obj1 = 0 ;
2182 PyObject * obj2 = 0 ;
d14a1e28
RD
2183 char *kwnames[] = {
2184 (char *) "self",(char *) "xs",(char *) "ys", NULL
2185 };
2186
994141e6 2187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 2190 arg2 = (double)SWIG_As_double(obj1);
15afbcd0 2191 if (PyErr_Occurred()) SWIG_fail;
c32bde28 2192 arg3 = (double)SWIG_As_double(obj2);
15afbcd0 2193 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2194 {
2195 PyThreadState* __tstate = wxPyBeginAllowThreads();
2196 (arg1)->SetScale(arg2,arg3);
2197
2198 wxPyEndAllowThreads(__tstate);
2199 if (PyErr_Occurred()) SWIG_fail;
2200 }
2201 Py_INCREF(Py_None); resultobj = Py_None;
2202 return resultobj;
2203 fail:
2204 return NULL;
2205}
2206
2207
c32bde28 2208static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2209 PyObject *resultobj;
2210 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2211 double result;
2212 PyObject * obj0 = 0 ;
2213 char *kwnames[] = {
2214 (char *) "self", NULL
2215 };
2216
2217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
15afbcd0
RD
2218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2220 {
2221 PyThreadState* __tstate = wxPyBeginAllowThreads();
2222 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
2223
2224 wxPyEndAllowThreads(__tstate);
2225 if (PyErr_Occurred()) SWIG_fail;
2226 }
c32bde28 2227 resultobj = SWIG_From_double((double)result);
d14a1e28
RD
2228 return resultobj;
2229 fail:
2230 return NULL;
2231}
2232
2233
c32bde28 2234static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2235 PyObject *resultobj;
2236 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2237 double result;
2238 PyObject * obj0 = 0 ;
2239 char *kwnames[] = {
2240 (char *) "self", NULL
2241 };
2242
2243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
15afbcd0
RD
2244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2246 {
2247 PyThreadState* __tstate = wxPyBeginAllowThreads();
2248 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
2249
2250 wxPyEndAllowThreads(__tstate);
2251 if (PyErr_Occurred()) SWIG_fail;
2252 }
c32bde28 2253 resultobj = SWIG_From_double((double)result);
d14a1e28
RD
2254 return resultobj;
2255 fail:
2256 return NULL;
2257}
2258
2259
c32bde28 2260static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
2261 PyObject *resultobj;
2262 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
322913ce
RD
2263 wxPoint *arg2 = 0 ;
2264 wxPoint result;
2265 wxPoint temp2 ;
d14a1e28 2266 PyObject * obj0 = 0 ;
322913ce 2267 PyObject * obj1 = 0 ;
d14a1e28 2268
322913ce 2269 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
15afbcd0
RD
2270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
322913ce
RD
2272 {
2273 arg2 = &temp2;
2274 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2275 }
d14a1e28
RD
2276 {
2277 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 2278 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
d14a1e28
RD
2279
2280 wxPyEndAllowThreads(__tstate);
2281 if (PyErr_Occurred()) SWIG_fail;
2282 }
d14a1e28 2283 {
322913ce
RD
2284 wxPoint * resultptr;
2285 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 2286 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
2287 }
2288 return resultobj;
2289 fail:
2290 return NULL;
2291}
2292
2293
c32bde28 2294static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *, PyObject *args) {
d14a1e28
RD
2295 PyObject *resultobj;
2296 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
322913ce
RD
2297 int arg2 ;
2298 int arg3 ;
2299 int *arg4 = (int *) 0 ;
2300 int *arg5 = (int *) 0 ;
2301 int temp4 ;
c32bde28 2302 int res4 = 0 ;
322913ce 2303 int temp5 ;
c32bde28 2304 int res5 = 0 ;
d14a1e28 2305 PyObject * obj0 = 0 ;
994141e6
RD
2306 PyObject * obj1 = 0 ;
2307 PyObject * obj2 = 0 ;
d14a1e28 2308
c32bde28
RD
2309 arg4 = &temp4; res4 = SWIG_NEWOBJ;
2310 arg5 = &temp5; res5 = SWIG_NEWOBJ;
994141e6 2311 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 2314 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 2315 if (PyErr_Occurred()) SWIG_fail;
c32bde28 2316 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 2317 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2318 {
2319 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 2320 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
d14a1e28
RD
2321
2322 wxPyEndAllowThreads(__tstate);
2323 if (PyErr_Occurred()) SWIG_fail;
2324 }
322913ce 2325 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
2326 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
2327 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
2328 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
2329 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
d14a1e28
RD
2330 return resultobj;
2331 fail:
2332 return NULL;
2333}
2334
2335
2336static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
2337 int argc;
2338 PyObject *argv[4];
2339 int ii;
2340
2341 argc = PyObject_Length(args);
2342 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2343 argv[ii] = PyTuple_GetItem(args,ii);
2344 }
2345 if (argc == 2) {
2346 int _v;
2347 {
2348 void *ptr;
15afbcd0 2349 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
d14a1e28
RD
2350 _v = 0;
2351 PyErr_Clear();
2352 } else {
2353 _v = 1;
2354 }
2355 }
2356 if (_v) {
2357 {
2358 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2359 }
2360 if (_v) {
322913ce 2361 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
d14a1e28
RD
2362 }
2363 }
2364 }
2365 if (argc == 3) {
2366 int _v;
2367 {
2368 void *ptr;
15afbcd0 2369 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
d14a1e28
RD
2370 _v = 0;
2371 PyErr_Clear();
2372 } else {
2373 _v = 1;
2374 }
2375 }
2376 if (_v) {
c32bde28 2377 _v = SWIG_Check_int(argv[1]);
d14a1e28 2378 if (_v) {
c32bde28 2379 _v = SWIG_Check_int(argv[2]);
d14a1e28 2380 if (_v) {
322913ce 2381 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
d14a1e28
RD
2382 }
2383 }
2384 }
2385 }
2386
2387 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2388 return NULL;
2389}
2390
2391
c32bde28 2392static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
2393 PyObject *resultobj;
2394 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
322913ce
RD
2395 wxPoint *arg2 = 0 ;
2396 wxPoint result;
2397 wxPoint temp2 ;
d14a1e28 2398 PyObject * obj0 = 0 ;
322913ce 2399 PyObject * obj1 = 0 ;
d14a1e28 2400
322913ce 2401 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
15afbcd0
RD
2402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
322913ce
RD
2404 {
2405 arg2 = &temp2;
2406 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2407 }
d14a1e28
RD
2408 {
2409 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 2410 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
d14a1e28
RD
2411
2412 wxPyEndAllowThreads(__tstate);
2413 if (PyErr_Occurred()) SWIG_fail;
2414 }
d14a1e28 2415 {
322913ce
RD
2416 wxPoint * resultptr;
2417 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 2418 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
2419 }
2420 return resultobj;
2421 fail:
2422 return NULL;
2423}
2424
2425
c32bde28 2426static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *, PyObject *args) {
d14a1e28
RD
2427 PyObject *resultobj;
2428 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
322913ce
RD
2429 int arg2 ;
2430 int arg3 ;
2431 int *arg4 = (int *) 0 ;
2432 int *arg5 = (int *) 0 ;
2433 int temp4 ;
c32bde28 2434 int res4 = 0 ;
322913ce 2435 int temp5 ;
c32bde28 2436 int res5 = 0 ;
d14a1e28 2437 PyObject * obj0 = 0 ;
994141e6
RD
2438 PyObject * obj1 = 0 ;
2439 PyObject * obj2 = 0 ;
d14a1e28 2440
c32bde28
RD
2441 arg4 = &temp4; res4 = SWIG_NEWOBJ;
2442 arg5 = &temp5; res5 = SWIG_NEWOBJ;
994141e6 2443 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 2446 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 2447 if (PyErr_Occurred()) SWIG_fail;
c32bde28 2448 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 2449 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2450 {
2451 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 2452 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
d14a1e28
RD
2453
2454 wxPyEndAllowThreads(__tstate);
2455 if (PyErr_Occurred()) SWIG_fail;
2456 }
322913ce 2457 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
2458 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
2459 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
2460 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
2461 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
d14a1e28
RD
2462 return resultobj;
2463 fail:
2464 return NULL;
2465}
2466
2467
2468static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
2469 int argc;
2470 PyObject *argv[4];
2471 int ii;
2472
2473 argc = PyObject_Length(args);
2474 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2475 argv[ii] = PyTuple_GetItem(args,ii);
2476 }
2477 if (argc == 2) {
2478 int _v;
2479 {
2480 void *ptr;
15afbcd0 2481 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
d14a1e28
RD
2482 _v = 0;
2483 PyErr_Clear();
2484 } else {
2485 _v = 1;
2486 }
2487 }
2488 if (_v) {
2489 {
2490 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2491 }
2492 if (_v) {
322913ce 2493 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
d14a1e28
RD
2494 }
2495 }
2496 }
2497 if (argc == 3) {
2498 int _v;
2499 {
2500 void *ptr;
15afbcd0 2501 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
d14a1e28
RD
2502 _v = 0;
2503 PyErr_Clear();
2504 } else {
2505 _v = 1;
2506 }
2507 }
2508 if (_v) {
c32bde28 2509 _v = SWIG_Check_int(argv[1]);
d14a1e28 2510 if (_v) {
c32bde28 2511 _v = SWIG_Check_int(argv[2]);
d14a1e28 2512 if (_v) {
322913ce 2513 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
d14a1e28
RD
2514 }
2515 }
2516 }
2517 }
2518
2519 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2520 return NULL;
2521}
2522
2523
c32bde28 2524static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2525 PyObject *resultobj;
2526 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2527 PyObject * obj0 = 0 ;
2528 char *kwnames[] = {
2529 (char *) "self", NULL
2530 };
2531
2532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
15afbcd0
RD
2533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2535 {
2536 PyThreadState* __tstate = wxPyBeginAllowThreads();
2537 (arg1)->AdjustScrollbars();
2538
2539 wxPyEndAllowThreads(__tstate);
2540 if (PyErr_Occurred()) SWIG_fail;
2541 }
2542 Py_INCREF(Py_None); resultobj = Py_None;
2543 return resultobj;
2544 fail:
2545 return NULL;
2546}
2547
2548
c32bde28 2549static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2550 PyObject *resultobj;
2551 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2552 wxScrollWinEvent *arg2 = 0 ;
2553 int result;
2554 PyObject * obj0 = 0 ;
2555 PyObject * obj1 = 0 ;
2556 char *kwnames[] = {
2557 (char *) "self",(char *) "event", NULL
2558 };
2559
2560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2563 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollWinEvent,
2564 SWIG_POINTER_EXCEPTION | 0)) == -1)
2565 SWIG_fail;
d14a1e28 2566 if (arg2 == NULL) {
15afbcd0
RD
2567 PyErr_SetString(PyExc_TypeError,"null reference");
2568 SWIG_fail;
d14a1e28
RD
2569 }
2570 {
2571 PyThreadState* __tstate = wxPyBeginAllowThreads();
2572 result = (int)(arg1)->CalcScrollInc(*arg2);
2573
2574 wxPyEndAllowThreads(__tstate);
2575 if (PyErr_Occurred()) SWIG_fail;
2576 }
c32bde28 2577 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
2578 return resultobj;
2579 fail:
2580 return NULL;
2581}
2582
2583
c32bde28 2584static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2585 PyObject *resultobj;
2586 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2587 wxWindow *arg2 = (wxWindow *) 0 ;
2588 PyObject * obj0 = 0 ;
2589 PyObject * obj1 = 0 ;
2590 char *kwnames[] = {
2591 (char *) "self",(char *) "target", NULL
2592 };
2593
2594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2597 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2599 {
2600 PyThreadState* __tstate = wxPyBeginAllowThreads();
2601 (arg1)->SetTargetWindow(arg2);
2602
2603 wxPyEndAllowThreads(__tstate);
2604 if (PyErr_Occurred()) SWIG_fail;
2605 }
2606 Py_INCREF(Py_None); resultobj = Py_None;
2607 return resultobj;
2608 fail:
2609 return NULL;
2610}
2611
2612
c32bde28 2613static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2614 PyObject *resultobj;
2615 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2616 wxWindow *result;
2617 PyObject * obj0 = 0 ;
2618 char *kwnames[] = {
2619 (char *) "self", NULL
2620 };
2621
2622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
2623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2625 {
2626 PyThreadState* __tstate = wxPyBeginAllowThreads();
2627 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
2628
2629 wxPyEndAllowThreads(__tstate);
2630 if (PyErr_Occurred()) SWIG_fail;
2631 }
2632 {
412d302d 2633 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
2634 }
2635 return resultobj;
2636 fail:
2637 return NULL;
2638}
2639
2640
c32bde28 2641static PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *, PyObject *args, PyObject *kwargs) {
f5b96ee1
RD
2642 PyObject *resultobj;
2643 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2644 wxDC *arg2 = 0 ;
2645 PyObject * obj0 = 0 ;
2646 PyObject * obj1 = 0 ;
2647 char *kwnames[] = {
2648 (char *) "self",(char *) "dc", NULL
2649 };
2650
2651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) goto fail;
2652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2654 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
2655 SWIG_POINTER_EXCEPTION | 0)) == -1)
2656 SWIG_fail;
2657 if (arg2 == NULL) {
2658 PyErr_SetString(PyExc_TypeError,"null reference");
2659 SWIG_fail;
2660 }
2661 {
2662 PyThreadState* __tstate = wxPyBeginAllowThreads();
2663 (arg1)->DoPrepareDC(*arg2);
2664
2665 wxPyEndAllowThreads(__tstate);
2666 if (PyErr_Occurred()) SWIG_fail;
2667 }
2668 Py_INCREF(Py_None); resultobj = Py_None;
2669 return resultobj;
2670 fail:
2671 return NULL;
2672}
2673
2674
c32bde28 2675static PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c
RD
2676 PyObject *resultobj;
2677 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
2678 wxVisualAttributes result;
2679 PyObject * obj0 = 0 ;
2680 char *kwnames[] = {
2681 (char *) "variant", NULL
2682 };
2683
2684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2685 if (obj0) {
c32bde28 2686 arg1 = (int)SWIG_As_int(obj0);
22bfe96c
RD
2687 if (PyErr_Occurred()) SWIG_fail;
2688 }
2689 {
e3b71cb8 2690 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
2691 PyThreadState* __tstate = wxPyBeginAllowThreads();
2692 result = wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
2693
2694 wxPyEndAllowThreads(__tstate);
110da5b0 2695 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
2696 }
2697 {
2698 wxVisualAttributes * resultptr;
2699 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
2700 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2701 }
2702 return resultobj;
2703 fail:
2704 return NULL;
2705}
2706
2707
c32bde28 2708static PyObject * ScrolledWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
2709 PyObject *obj;
2710 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2711 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2712 Py_INCREF(obj);
2713 return Py_BuildValue((char *)"");
2714}
c32bde28 2715static int _wrap_FrameNameStr_set(PyObject *) {
b2dc1044
RD
2716 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
2717 return 1;
2718}
2719
2720
2721static PyObject *_wrap_FrameNameStr_get() {
2722 PyObject *pyobj;
2723
2724 {
2725#if wxUSE_UNICODE
2726 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2727#else
2728 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2729#endif
2730 }
2731 return pyobj;
2732}
2733
2734
c32bde28 2735static int _wrap_DialogNameStr_set(PyObject *) {
b2dc1044
RD
2736 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
2737 return 1;
2738}
2739
2740
2741static PyObject *_wrap_DialogNameStr_get() {
2742 PyObject *pyobj;
2743
2744 {
2745#if wxUSE_UNICODE
2746 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2747#else
2748 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2749#endif
2750 }
2751 return pyobj;
2752}
2753
2754
c32bde28 2755static int _wrap_StatusLineNameStr_set(PyObject *) {
b2dc1044
RD
2756 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
2757 return 1;
2758}
2759
2760
2761static PyObject *_wrap_StatusLineNameStr_get() {
2762 PyObject *pyobj;
2763
2764 {
2765#if wxUSE_UNICODE
2766 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2767#else
2768 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2769#endif
2770 }
2771 return pyobj;
2772}
2773
2774
c32bde28 2775static int _wrap_ToolBarNameStr_set(PyObject *) {
b2dc1044
RD
2776 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
2777 return 1;
2778}
2779
2780
2781static PyObject *_wrap_ToolBarNameStr_get() {
2782 PyObject *pyobj;
2783
2784 {
2785#if wxUSE_UNICODE
2786 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2787#else
2788 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2789#endif
2790 }
2791 return pyobj;
2792}
2793
2794
c32bde28 2795static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2796 PyObject *resultobj;
2797 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
e811c8ce 2798 bool arg2 = (bool) True ;
d14a1e28
RD
2799 PyObject * obj0 = 0 ;
2800 PyObject * obj1 = 0 ;
2801 char *kwnames[] = {
2802 (char *) "self",(char *) "maximize", NULL
2803 };
2804
2805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 2808 if (obj1) {
c32bde28 2809 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 2810 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2811 }
2812 {
2813 PyThreadState* __tstate = wxPyBeginAllowThreads();
2814 (arg1)->Maximize(arg2);
2815
2816 wxPyEndAllowThreads(__tstate);
2817 if (PyErr_Occurred()) SWIG_fail;
2818 }
2819 Py_INCREF(Py_None); resultobj = Py_None;
2820 return resultobj;
2821 fail:
2822 return NULL;
2823}
2824
2825
c32bde28 2826static PyObject *_wrap_TopLevelWindow_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2827 PyObject *resultobj;
2828 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2829 PyObject * obj0 = 0 ;
2830 char *kwnames[] = {
2831 (char *) "self", NULL
2832 };
2833
2834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
15afbcd0
RD
2835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2837 {
2838 PyThreadState* __tstate = wxPyBeginAllowThreads();
2839 (arg1)->Restore();
2840
2841 wxPyEndAllowThreads(__tstate);
2842 if (PyErr_Occurred()) SWIG_fail;
2843 }
2844 Py_INCREF(Py_None); resultobj = Py_None;
2845 return resultobj;
2846 fail:
2847 return NULL;
2848}
2849
2850
c32bde28 2851static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2852 PyObject *resultobj;
2853 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
e811c8ce 2854 bool arg2 = (bool) True ;
d14a1e28
RD
2855 PyObject * obj0 = 0 ;
2856 PyObject * obj1 = 0 ;
2857 char *kwnames[] = {
2858 (char *) "self",(char *) "iconize", NULL
2859 };
2860
2861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 2864 if (obj1) {
c32bde28 2865 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 2866 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2867 }
2868 {
2869 PyThreadState* __tstate = wxPyBeginAllowThreads();
2870 (arg1)->Iconize(arg2);
2871
2872 wxPyEndAllowThreads(__tstate);
2873 if (PyErr_Occurred()) SWIG_fail;
2874 }
2875 Py_INCREF(Py_None); resultobj = Py_None;
2876 return resultobj;
2877 fail:
2878 return NULL;
2879}
2880
2881
c32bde28 2882static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2883 PyObject *resultobj;
2884 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2885 bool result;
2886 PyObject * obj0 = 0 ;
2887 char *kwnames[] = {
2888 (char *) "self", NULL
2889 };
2890
2891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
15afbcd0
RD
2892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2894 {
2895 PyThreadState* __tstate = wxPyBeginAllowThreads();
2896 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2897
2898 wxPyEndAllowThreads(__tstate);
2899 if (PyErr_Occurred()) SWIG_fail;
2900 }
4f89f6a3
RD
2901 {
2902 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2903 }
d14a1e28
RD
2904 return resultobj;
2905 fail:
2906 return NULL;
2907}
2908
2909
c32bde28 2910static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2911 PyObject *resultobj;
2912 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2913 bool result;
2914 PyObject * obj0 = 0 ;
2915 char *kwnames[] = {
2916 (char *) "self", NULL
2917 };
2918
2919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
15afbcd0
RD
2920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2922 {
2923 PyThreadState* __tstate = wxPyBeginAllowThreads();
2924 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2925
2926 wxPyEndAllowThreads(__tstate);
2927 if (PyErr_Occurred()) SWIG_fail;
2928 }
4f89f6a3
RD
2929 {
2930 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2931 }
d14a1e28
RD
2932 return resultobj;
2933 fail:
2934 return NULL;
2935}
2936
2937
c32bde28 2938static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2939 PyObject *resultobj;
2940 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2941 wxIcon result;
2942 PyObject * obj0 = 0 ;
2943 char *kwnames[] = {
2944 (char *) "self", NULL
2945 };
2946
2947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
15afbcd0
RD
2948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2950 {
2951 PyThreadState* __tstate = wxPyBeginAllowThreads();
2952 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
2953
2954 wxPyEndAllowThreads(__tstate);
2955 if (PyErr_Occurred()) SWIG_fail;
2956 }
2957 {
2958 wxIcon * resultptr;
2959 resultptr = new wxIcon((wxIcon &) result);
15afbcd0 2960 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
d14a1e28
RD
2961 }
2962 return resultobj;
2963 fail:
2964 return NULL;
2965}
2966
2967
c32bde28 2968static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2969 PyObject *resultobj;
2970 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2971 wxIcon *arg2 = 0 ;
2972 PyObject * obj0 = 0 ;
2973 PyObject * obj1 = 0 ;
2974 char *kwnames[] = {
2975 (char *) "self",(char *) "icon", NULL
2976 };
2977
2978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2981 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
2982 SWIG_POINTER_EXCEPTION | 0)) == -1)
2983 SWIG_fail;
d14a1e28 2984 if (arg2 == NULL) {
15afbcd0
RD
2985 PyErr_SetString(PyExc_TypeError,"null reference");
2986 SWIG_fail;
d14a1e28
RD
2987 }
2988 {
2989 PyThreadState* __tstate = wxPyBeginAllowThreads();
2990 (arg1)->SetIcon((wxIcon const &)*arg2);
2991
2992 wxPyEndAllowThreads(__tstate);
2993 if (PyErr_Occurred()) SWIG_fail;
2994 }
2995 Py_INCREF(Py_None); resultobj = Py_None;
2996 return resultobj;
2997 fail:
2998 return NULL;
2999}
3000
3001
c32bde28 3002static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3003 PyObject *resultobj;
3004 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3005 wxIconBundle *arg2 = 0 ;
3006 PyObject * obj0 = 0 ;
3007 PyObject * obj1 = 0 ;
3008 char *kwnames[] = {
3009 (char *) "self",(char *) "icons", NULL
3010 };
3011
3012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3015 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIconBundle,
3016 SWIG_POINTER_EXCEPTION | 0)) == -1)
3017 SWIG_fail;
d14a1e28 3018 if (arg2 == NULL) {
15afbcd0
RD
3019 PyErr_SetString(PyExc_TypeError,"null reference");
3020 SWIG_fail;
d14a1e28
RD
3021 }
3022 {
3023 PyThreadState* __tstate = wxPyBeginAllowThreads();
3024 (arg1)->SetIcons((wxIconBundle const &)*arg2);
3025
3026 wxPyEndAllowThreads(__tstate);
3027 if (PyErr_Occurred()) SWIG_fail;
3028 }
3029 Py_INCREF(Py_None); resultobj = Py_None;
3030 return resultobj;
3031 fail:
3032 return NULL;
3033}
3034
3035
c32bde28 3036static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3037 PyObject *resultobj;
3038 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3039 bool arg2 ;
3040 long arg3 = (long) wxFULLSCREEN_ALL ;
3041 bool result;
3042 PyObject * obj0 = 0 ;
3043 PyObject * obj1 = 0 ;
994141e6 3044 PyObject * obj2 = 0 ;
d14a1e28
RD
3045 char *kwnames[] = {
3046 (char *) "self",(char *) "show",(char *) "style", NULL
3047 };
3048
994141e6 3049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
3050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 3052 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 3053 if (PyErr_Occurred()) SWIG_fail;
994141e6 3054 if (obj2) {
c32bde28 3055 arg3 = (long)SWIG_As_long(obj2);
15afbcd0 3056 if (PyErr_Occurred()) SWIG_fail;
994141e6 3057 }
d14a1e28
RD
3058 {
3059 PyThreadState* __tstate = wxPyBeginAllowThreads();
3060 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
3061
3062 wxPyEndAllowThreads(__tstate);
3063 if (PyErr_Occurred()) SWIG_fail;
3064 }
4f89f6a3
RD
3065 {
3066 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3067 }
d14a1e28
RD
3068 return resultobj;
3069 fail:
3070 return NULL;
3071}
3072
3073
c32bde28 3074static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3075 PyObject *resultobj;
3076 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3077 bool result;
3078 PyObject * obj0 = 0 ;
3079 char *kwnames[] = {
3080 (char *) "self", NULL
3081 };
3082
3083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
15afbcd0
RD
3084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3086 {
3087 PyThreadState* __tstate = wxPyBeginAllowThreads();
3088 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
3089
3090 wxPyEndAllowThreads(__tstate);
3091 if (PyErr_Occurred()) SWIG_fail;
3092 }
4f89f6a3
RD
3093 {
3094 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3095 }
d14a1e28
RD
3096 return resultobj;
3097 fail:
3098 return NULL;
3099}
3100
3101
c32bde28 3102static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3103 PyObject *resultobj;
3104 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3105 wxString *arg2 = 0 ;
e811c8ce 3106 bool temp2 = False ;
d14a1e28
RD
3107 PyObject * obj0 = 0 ;
3108 PyObject * obj1 = 0 ;
3109 char *kwnames[] = {
3110 (char *) "self",(char *) "title", NULL
3111 };
3112
3113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3116 {
3117 arg2 = wxString_in_helper(obj1);
3118 if (arg2 == NULL) SWIG_fail;
e811c8ce 3119 temp2 = True;
d14a1e28
RD
3120 }
3121 {
3122 PyThreadState* __tstate = wxPyBeginAllowThreads();
3123 (arg1)->SetTitle((wxString const &)*arg2);
3124
3125 wxPyEndAllowThreads(__tstate);
3126 if (PyErr_Occurred()) SWIG_fail;
3127 }
3128 Py_INCREF(Py_None); resultobj = Py_None;
3129 {
3130 if (temp2)
3131 delete arg2;
3132 }
3133 return resultobj;
3134 fail:
3135 {
3136 if (temp2)
3137 delete arg2;
3138 }
3139 return NULL;
3140}
3141
3142
c32bde28 3143static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3144 PyObject *resultobj;
3145 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3146 wxString result;
3147 PyObject * obj0 = 0 ;
3148 char *kwnames[] = {
3149 (char *) "self", NULL
3150 };
3151
3152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
15afbcd0
RD
3153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3155 {
3156 PyThreadState* __tstate = wxPyBeginAllowThreads();
3157 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
3158
3159 wxPyEndAllowThreads(__tstate);
3160 if (PyErr_Occurred()) SWIG_fail;
3161 }
3162 {
3163#if wxUSE_UNICODE
3164 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3165#else
3166 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3167#endif
3168 }
3169 return resultobj;
3170 fail:
3171 return NULL;
3172}
3173
3174
c32bde28 3175static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3176 PyObject *resultobj;
3177 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3178 wxRegion *arg2 = 0 ;
3179 bool result;
3180 PyObject * obj0 = 0 ;
3181 PyObject * obj1 = 0 ;
3182 char *kwnames[] = {
3183 (char *) "self",(char *) "region", NULL
3184 };
3185
3186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3189 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion,
3190 SWIG_POINTER_EXCEPTION | 0)) == -1)
3191 SWIG_fail;
d14a1e28 3192 if (arg2 == NULL) {
15afbcd0
RD
3193 PyErr_SetString(PyExc_TypeError,"null reference");
3194 SWIG_fail;
d14a1e28
RD
3195 }
3196 {
3197 PyThreadState* __tstate = wxPyBeginAllowThreads();
3198 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
3199
3200 wxPyEndAllowThreads(__tstate);
3201 if (PyErr_Occurred()) SWIG_fail;
3202 }
4f89f6a3
RD
3203 {
3204 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3205 }
d14a1e28
RD
3206 return resultobj;
3207 fail:
3208 return NULL;
3209}
3210
3211
c32bde28
RD
3212static PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *, PyObject *args, PyObject *kwargs) {
3213 PyObject *resultobj;
3214 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3215 int arg2 = (int) wxUSER_ATTENTION_INFO ;
3216 PyObject * obj0 = 0 ;
3217 PyObject * obj1 = 0 ;
3218 char *kwnames[] = {
3219 (char *) "self",(char *) "flags", NULL
3220 };
3221
3222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) goto fail;
3223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3225 if (obj1) {
3226 arg2 = (int)SWIG_As_int(obj1);
3227 if (PyErr_Occurred()) SWIG_fail;
3228 }
3229 {
3230 PyThreadState* __tstate = wxPyBeginAllowThreads();
3231 (arg1)->RequestUserAttention(arg2);
3232
3233 wxPyEndAllowThreads(__tstate);
3234 if (PyErr_Occurred()) SWIG_fail;
3235 }
3236 Py_INCREF(Py_None); resultobj = Py_None;
3237 return resultobj;
3238 fail:
3239 return NULL;
3240}
3241
3242
3243static PyObject * TopLevelWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
3244 PyObject *obj;
3245 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3246 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
3247 Py_INCREF(obj);
3248 return Py_BuildValue((char *)"");
3249}
c32bde28 3250static PyObject *_wrap_new_Frame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3251 PyObject *resultobj;
3252 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
3253 int arg2 = (int) (int)-1 ;
3254 wxString const &arg3_defvalue = wxPyEmptyString ;
3255 wxString *arg3 = (wxString *) &arg3_defvalue ;
d14a1e28
RD
3256 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3257 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3258 wxSize const &arg5_defvalue = wxDefaultSize ;
3259 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3260 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
3261 wxString const &arg7_defvalue = wxPyFrameNameStr ;
3262 wxString *arg7 = (wxString *) &arg7_defvalue ;
3263 wxFrame *result;
e811c8ce 3264 bool temp3 = False ;
d14a1e28
RD
3265 wxPoint temp4 ;
3266 wxSize temp5 ;
e811c8ce 3267 bool temp7 = False ;
d14a1e28 3268 PyObject * obj0 = 0 ;
994141e6 3269 PyObject * obj1 = 0 ;
d14a1e28
RD
3270 PyObject * obj2 = 0 ;
3271 PyObject * obj3 = 0 ;
3272 PyObject * obj4 = 0 ;
994141e6 3273 PyObject * obj5 = 0 ;
d14a1e28
RD
3274 PyObject * obj6 = 0 ;
3275 char *kwnames[] = {
3276 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3277 };
3278
248ed943 3279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
3280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 3282 if (obj1) {
c32bde28 3283 arg2 = (int)SWIG_As_int(obj1);
248ed943
RD
3284 if (PyErr_Occurred()) SWIG_fail;
3285 }
3286 if (obj2) {
3287 {
3288 arg3 = wxString_in_helper(obj2);
3289 if (arg3 == NULL) SWIG_fail;
3290 temp3 = True;
3291 }
d14a1e28
RD
3292 }
3293 if (obj3) {
3294 {
3295 arg4 = &temp4;
3296 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3297 }
3298 }
3299 if (obj4) {
3300 {
3301 arg5 = &temp5;
3302 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3303 }
3304 }
994141e6 3305 if (obj5) {
c32bde28 3306 arg6 = (long)SWIG_As_long(obj5);
15afbcd0 3307 if (PyErr_Occurred()) SWIG_fail;
994141e6 3308 }
d14a1e28
RD
3309 if (obj6) {
3310 {
3311 arg7 = wxString_in_helper(obj6);
3312 if (arg7 == NULL) SWIG_fail;
e811c8ce 3313 temp7 = True;
d14a1e28
RD
3314 }
3315 }
3316 {
e3b71cb8 3317 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
3318 PyThreadState* __tstate = wxPyBeginAllowThreads();
3319 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3320
3321 wxPyEndAllowThreads(__tstate);
110da5b0 3322 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 3323 }
b0f7404b 3324 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
d14a1e28
RD
3325 {
3326 if (temp3)
3327 delete arg3;
3328 }
3329 {
3330 if (temp7)
3331 delete arg7;
3332 }
3333 return resultobj;
3334 fail:
3335 {
3336 if (temp3)
3337 delete arg3;
3338 }
3339 {
3340 if (temp7)
3341 delete arg7;
3342 }
3343 return NULL;
3344}
3345
3346
c32bde28 3347static PyObject *_wrap_new_PreFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3348 PyObject *resultobj;
3349 wxFrame *result;
3350 char *kwnames[] = {
3351 NULL
3352 };
3353
3354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
3355 {
e3b71cb8 3356 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
3357 PyThreadState* __tstate = wxPyBeginAllowThreads();
3358 result = (wxFrame *)new wxFrame();
3359
3360 wxPyEndAllowThreads(__tstate);
110da5b0 3361 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 3362 }
b0f7404b 3363 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
d14a1e28
RD
3364 return resultobj;
3365 fail:
3366 return NULL;
3367}
3368
3369
c32bde28 3370static PyObject *_wrap_Frame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3371 PyObject *resultobj;
3372 wxFrame *arg1 = (wxFrame *) 0 ;
3373 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
3374 int arg3 = (int) (int)-1 ;
3375 wxString const &arg4_defvalue = wxPyEmptyString ;
3376 wxString *arg4 = (wxString *) &arg4_defvalue ;
d14a1e28
RD
3377 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3378 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3379 wxSize const &arg6_defvalue = wxDefaultSize ;
3380 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3381 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
3382 wxString const &arg8_defvalue = wxPyFrameNameStr ;
3383 wxString *arg8 = (wxString *) &arg8_defvalue ;
3384 bool result;
e811c8ce 3385 bool temp4 = False ;
d14a1e28
RD
3386 wxPoint temp5 ;
3387 wxSize temp6 ;
e811c8ce 3388 bool temp8 = False ;
d14a1e28
RD
3389 PyObject * obj0 = 0 ;
3390 PyObject * obj1 = 0 ;
994141e6 3391 PyObject * obj2 = 0 ;
d14a1e28
RD
3392 PyObject * obj3 = 0 ;
3393 PyObject * obj4 = 0 ;
3394 PyObject * obj5 = 0 ;
994141e6 3395 PyObject * obj6 = 0 ;
d14a1e28
RD
3396 PyObject * obj7 = 0 ;
3397 char *kwnames[] = {
3398 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3399 };
3400
248ed943 3401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
3402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3404 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 3406 if (obj2) {
c32bde28 3407 arg3 = (int)SWIG_As_int(obj2);
248ed943
RD
3408 if (PyErr_Occurred()) SWIG_fail;
3409 }
3410 if (obj3) {
3411 {
3412 arg4 = wxString_in_helper(obj3);
3413 if (arg4 == NULL) SWIG_fail;
3414 temp4 = True;
3415 }
d14a1e28
RD
3416 }
3417 if (obj4) {
3418 {
3419 arg5 = &temp5;
3420 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3421 }
3422 }
3423 if (obj5) {
3424 {
3425 arg6 = &temp6;
3426 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3427 }
3428 }
994141e6 3429 if (obj6) {
c32bde28 3430 arg7 = (long)SWIG_As_long(obj6);
15afbcd0 3431 if (PyErr_Occurred()) SWIG_fail;
994141e6 3432 }
d14a1e28
RD
3433 if (obj7) {
3434 {
3435 arg8 = wxString_in_helper(obj7);
3436 if (arg8 == NULL) SWIG_fail;
e811c8ce 3437 temp8 = True;
d14a1e28
RD
3438 }
3439 }
3440 {
3441 PyThreadState* __tstate = wxPyBeginAllowThreads();
3442 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3443
3444 wxPyEndAllowThreads(__tstate);
3445 if (PyErr_Occurred()) SWIG_fail;
3446 }
4f89f6a3
RD
3447 {
3448 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3449 }
d14a1e28
RD
3450 {
3451 if (temp4)
3452 delete arg4;
3453 }
3454 {
3455 if (temp8)
3456 delete arg8;
3457 }
3458 return resultobj;
3459 fail:
3460 {
3461 if (temp4)
3462 delete arg4;
3463 }
3464 {
3465 if (temp8)
3466 delete arg8;
3467 }
3468 return NULL;
3469}
3470
3471
c32bde28 3472static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3473 PyObject *resultobj;
3474 wxFrame *arg1 = (wxFrame *) 0 ;
3475 wxPoint result;
3476 PyObject * obj0 = 0 ;
3477 char *kwnames[] = {
3478 (char *) "self", NULL
3479 };
3480
3481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
15afbcd0
RD
3482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3484 {
3485 PyThreadState* __tstate = wxPyBeginAllowThreads();
3486 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
3487
3488 wxPyEndAllowThreads(__tstate);
3489 if (PyErr_Occurred()) SWIG_fail;
3490 }
3491 {
3492 wxPoint * resultptr;
3493 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 3494 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
3495 }
3496 return resultobj;
3497 fail:
3498 return NULL;
3499}
3500
3501
c32bde28 3502static PyObject *_wrap_Frame_SendSizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3503 PyObject *resultobj;
3504 wxFrame *arg1 = (wxFrame *) 0 ;
3505 PyObject * obj0 = 0 ;
3506 char *kwnames[] = {
3507 (char *) "self", NULL
3508 };
3509
3510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
15afbcd0
RD
3511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3513 {
3514 PyThreadState* __tstate = wxPyBeginAllowThreads();
3515 (arg1)->SendSizeEvent();
3516
3517 wxPyEndAllowThreads(__tstate);
3518 if (PyErr_Occurred()) SWIG_fail;
3519 }
3520 Py_INCREF(Py_None); resultobj = Py_None;
3521 return resultobj;
3522 fail:
3523 return NULL;
3524}
3525
3526
c32bde28 3527static PyObject *_wrap_Frame_SetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3528 PyObject *resultobj;
3529 wxFrame *arg1 = (wxFrame *) 0 ;
3530 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
3531 PyObject * obj0 = 0 ;
3532 PyObject * obj1 = 0 ;
3533 char *kwnames[] = {
3534 (char *) "self",(char *) "menubar", NULL
3535 };
3536
3537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3540 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBar,
3541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3542 {
3543 PyThreadState* __tstate = wxPyBeginAllowThreads();
3544 (arg1)->SetMenuBar(arg2);
3545
3546 wxPyEndAllowThreads(__tstate);
3547 if (PyErr_Occurred()) SWIG_fail;
3548 }
3549 Py_INCREF(Py_None); resultobj = Py_None;
3550 return resultobj;
3551 fail:
3552 return NULL;
3553}
3554
3555
c32bde28 3556static PyObject *_wrap_Frame_GetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3557 PyObject *resultobj;
3558 wxFrame *arg1 = (wxFrame *) 0 ;
3559 wxMenuBar *result;
3560 PyObject * obj0 = 0 ;
3561 char *kwnames[] = {
3562 (char *) "self", NULL
3563 };
3564
3565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
15afbcd0
RD
3566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3568 {
3569 PyThreadState* __tstate = wxPyBeginAllowThreads();
3570 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
3571
3572 wxPyEndAllowThreads(__tstate);
3573 if (PyErr_Occurred()) SWIG_fail;
3574 }
3575 {
412d302d 3576 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
3577 }
3578 return resultobj;
3579 fail:
3580 return NULL;
3581}
3582
3583
c32bde28 3584static PyObject *_wrap_Frame_ProcessCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3585 PyObject *resultobj;
3586 wxFrame *arg1 = (wxFrame *) 0 ;
3587 int arg2 ;
3588 bool result;
3589 PyObject * obj0 = 0 ;
994141e6 3590 PyObject * obj1 = 0 ;
d14a1e28
RD
3591 char *kwnames[] = {
3592 (char *) "self",(char *) "winid", NULL
3593 };
3594
994141e6 3595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 3598 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 3599 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3600 {
3601 PyThreadState* __tstate = wxPyBeginAllowThreads();
3602 result = (bool)(arg1)->ProcessCommand(arg2);
3603
3604 wxPyEndAllowThreads(__tstate);
3605 if (PyErr_Occurred()) SWIG_fail;
3606 }
4f89f6a3
RD
3607 {
3608 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3609 }
d14a1e28
RD
3610 return resultobj;
3611 fail:
3612 return NULL;
3613}
3614
3615
c32bde28 3616static PyObject *_wrap_Frame_CreateStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3617 PyObject *resultobj;
3618 wxFrame *arg1 = (wxFrame *) 0 ;
3619 int arg2 = (int) 1 ;
4276dc52 3620 long arg3 = (long) wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE ;
e811c8ce 3621 int arg4 = (int) 0 ;
d14a1e28
RD
3622 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
3623 wxString *arg5 = (wxString *) &arg5_defvalue ;
3624 wxStatusBar *result;
e811c8ce 3625 bool temp5 = False ;
d14a1e28 3626 PyObject * obj0 = 0 ;
994141e6
RD
3627 PyObject * obj1 = 0 ;
3628 PyObject * obj2 = 0 ;
3629 PyObject * obj3 = 0 ;
d14a1e28
RD
3630 PyObject * obj4 = 0 ;
3631 char *kwnames[] = {
3632 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3633 };
3634
994141e6 3635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
3636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 3638 if (obj1) {
c32bde28 3639 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 3640 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
3641 }
3642 if (obj2) {
c32bde28 3643 arg3 = (long)SWIG_As_long(obj2);
15afbcd0 3644 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
3645 }
3646 if (obj3) {
c32bde28 3647 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 3648 if (PyErr_Occurred()) SWIG_fail;
994141e6 3649 }
d14a1e28
RD
3650 if (obj4) {
3651 {
3652 arg5 = wxString_in_helper(obj4);
3653 if (arg5 == NULL) SWIG_fail;
e811c8ce 3654 temp5 = True;
d14a1e28
RD
3655 }
3656 }
3657 {
3658 PyThreadState* __tstate = wxPyBeginAllowThreads();
3659 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
3660
3661 wxPyEndAllowThreads(__tstate);
3662 if (PyErr_Occurred()) SWIG_fail;
3663 }
3664 {
412d302d 3665 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
3666 }
3667 {
3668 if (temp5)
3669 delete arg5;
3670 }
3671 return resultobj;
3672 fail:
3673 {
3674 if (temp5)
3675 delete arg5;
3676 }
3677 return NULL;
3678}
3679
3680
c32bde28 3681static PyObject *_wrap_Frame_GetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3682 PyObject *resultobj;
3683 wxFrame *arg1 = (wxFrame *) 0 ;
3684 wxStatusBar *result;
3685 PyObject * obj0 = 0 ;
3686 char *kwnames[] = {
3687 (char *) "self", NULL
3688 };
3689
3690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
15afbcd0
RD
3691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3693 {
3694 PyThreadState* __tstate = wxPyBeginAllowThreads();
3695 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
3696
3697 wxPyEndAllowThreads(__tstate);
3698 if (PyErr_Occurred()) SWIG_fail;
3699 }
3700 {
412d302d 3701 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
3702 }
3703 return resultobj;
3704 fail:
3705 return NULL;
3706}
3707
3708
c32bde28 3709static PyObject *_wrap_Frame_SetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3710 PyObject *resultobj;
3711 wxFrame *arg1 = (wxFrame *) 0 ;
3712 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
3713 PyObject * obj0 = 0 ;
3714 PyObject * obj1 = 0 ;
3715 char *kwnames[] = {
3716 (char *) "self",(char *) "statBar", NULL
3717 };
3718
3719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3722 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxStatusBar,
3723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3724 {
3725 PyThreadState* __tstate = wxPyBeginAllowThreads();
3726 (arg1)->SetStatusBar(arg2);
3727
3728 wxPyEndAllowThreads(__tstate);
3729 if (PyErr_Occurred()) SWIG_fail;
3730 }
3731 Py_INCREF(Py_None); resultobj = Py_None;
3732 return resultobj;
3733 fail:
3734 return NULL;
3735}
3736
3737
c32bde28 3738static PyObject *_wrap_Frame_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3739 PyObject *resultobj;
3740 wxFrame *arg1 = (wxFrame *) 0 ;
3741 wxString *arg2 = 0 ;
3742 int arg3 = (int) 0 ;
e811c8ce 3743 bool temp2 = False ;
d14a1e28
RD
3744 PyObject * obj0 = 0 ;
3745 PyObject * obj1 = 0 ;
994141e6 3746 PyObject * obj2 = 0 ;
d14a1e28
RD
3747 char *kwnames[] = {
3748 (char *) "self",(char *) "text",(char *) "number", NULL
3749 };
3750
994141e6 3751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
3752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3754 {
3755 arg2 = wxString_in_helper(obj1);
3756 if (arg2 == NULL) SWIG_fail;
e811c8ce 3757 temp2 = True;
d14a1e28 3758 }
994141e6 3759 if (obj2) {
c32bde28 3760 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 3761 if (PyErr_Occurred()) SWIG_fail;
994141e6 3762 }
d14a1e28
RD
3763 {
3764 PyThreadState* __tstate = wxPyBeginAllowThreads();
3765 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
3766
3767 wxPyEndAllowThreads(__tstate);
3768 if (PyErr_Occurred()) SWIG_fail;
3769 }
3770 Py_INCREF(Py_None); resultobj = Py_None;
3771 {
3772 if (temp2)
3773 delete arg2;
3774 }
3775 return resultobj;
3776 fail:
3777 {
3778 if (temp2)
3779 delete arg2;
3780 }
3781 return NULL;
3782}
3783
3784
c32bde28 3785static PyObject *_wrap_Frame_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3786 PyObject *resultobj;
3787 wxFrame *arg1 = (wxFrame *) 0 ;
3788 int arg2 ;
3789 int *arg3 = (int *) 0 ;
3790 PyObject * obj0 = 0 ;
3791 PyObject * obj1 = 0 ;
3792 char *kwnames[] = {
3793 (char *) "self",(char *) "widths", NULL
3794 };
3795
3796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3799 {
3800 arg2 = PyList_Size(obj1);
3801 arg3 = int_LIST_helper(obj1);
3802 if (arg3 == NULL) SWIG_fail;
3803 }
3804 {
3805 PyThreadState* __tstate = wxPyBeginAllowThreads();
3806 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
3807
3808 wxPyEndAllowThreads(__tstate);
3809 if (PyErr_Occurred()) SWIG_fail;
3810 }
3811 Py_INCREF(Py_None); resultobj = Py_None;
3812 {
3813 if (arg3) delete [] arg3;
3814 }
3815 return resultobj;
3816 fail:
3817 {
3818 if (arg3) delete [] arg3;
3819 }
3820 return NULL;
3821}
3822
3823
c32bde28 3824static PyObject *_wrap_Frame_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3825 PyObject *resultobj;
3826 wxFrame *arg1 = (wxFrame *) 0 ;
3827 wxString *arg2 = 0 ;
3828 int arg3 = (int) 0 ;
e811c8ce 3829 bool temp2 = False ;
d14a1e28
RD
3830 PyObject * obj0 = 0 ;
3831 PyObject * obj1 = 0 ;
994141e6 3832 PyObject * obj2 = 0 ;
d14a1e28
RD
3833 char *kwnames[] = {
3834 (char *) "self",(char *) "text",(char *) "number", NULL
3835 };
3836
994141e6 3837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
3838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3840 {
3841 arg2 = wxString_in_helper(obj1);
3842 if (arg2 == NULL) SWIG_fail;
e811c8ce 3843 temp2 = True;
d14a1e28 3844 }
994141e6 3845 if (obj2) {
c32bde28 3846 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 3847 if (PyErr_Occurred()) SWIG_fail;
994141e6 3848 }
d14a1e28
RD
3849 {
3850 PyThreadState* __tstate = wxPyBeginAllowThreads();
3851 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
3852
3853 wxPyEndAllowThreads(__tstate);
3854 if (PyErr_Occurred()) SWIG_fail;
3855 }
3856 Py_INCREF(Py_None); resultobj = Py_None;
3857 {
3858 if (temp2)
3859 delete arg2;
3860 }
3861 return resultobj;
3862 fail:
3863 {
3864 if (temp2)
3865 delete arg2;
3866 }
3867 return NULL;
3868}
3869
3870
c32bde28 3871static PyObject *_wrap_Frame_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3872 PyObject *resultobj;
3873 wxFrame *arg1 = (wxFrame *) 0 ;
3874 int arg2 = (int) 0 ;
3875 PyObject * obj0 = 0 ;
994141e6 3876 PyObject * obj1 = 0 ;
d14a1e28
RD
3877 char *kwnames[] = {
3878 (char *) "self",(char *) "number", NULL
3879 };
3880
994141e6 3881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 3884 if (obj1) {
c32bde28 3885 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 3886 if (PyErr_Occurred()) SWIG_fail;
994141e6 3887 }
d14a1e28
RD
3888 {
3889 PyThreadState* __tstate = wxPyBeginAllowThreads();
3890 (arg1)->PopStatusText(arg2);
3891
3892 wxPyEndAllowThreads(__tstate);
3893 if (PyErr_Occurred()) SWIG_fail;
3894 }
3895 Py_INCREF(Py_None); resultobj = Py_None;
3896 return resultobj;
3897 fail:
3898 return NULL;
3899}
3900
3901
c32bde28 3902static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3903 PyObject *resultobj;
3904 wxFrame *arg1 = (wxFrame *) 0 ;
3905 int arg2 ;
3906 PyObject * obj0 = 0 ;
994141e6 3907 PyObject * obj1 = 0 ;
d14a1e28
RD
3908 char *kwnames[] = {
3909 (char *) "self",(char *) "n", NULL
3910 };
3911
994141e6 3912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 3915 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 3916 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3917 {
3918 PyThreadState* __tstate = wxPyBeginAllowThreads();
3919 (arg1)->SetStatusBarPane(arg2);
3920
3921 wxPyEndAllowThreads(__tstate);
3922 if (PyErr_Occurred()) SWIG_fail;
3923 }
3924 Py_INCREF(Py_None); resultobj = Py_None;
3925 return resultobj;
3926 fail:
3927 return NULL;
3928}
3929
3930
c32bde28 3931static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3932 PyObject *resultobj;
3933 wxFrame *arg1 = (wxFrame *) 0 ;
3934 int result;
3935 PyObject * obj0 = 0 ;
3936 char *kwnames[] = {
3937 (char *) "self", NULL
3938 };
3939
3940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
15afbcd0
RD
3941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3943 {
3944 PyThreadState* __tstate = wxPyBeginAllowThreads();
3945 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
3946
3947 wxPyEndAllowThreads(__tstate);
3948 if (PyErr_Occurred()) SWIG_fail;
3949 }
c32bde28 3950 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
3951 return resultobj;
3952 fail:
3953 return NULL;
3954}
3955
3956
c32bde28 3957static PyObject *_wrap_Frame_CreateToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3958 PyObject *resultobj;
3959 wxFrame *arg1 = (wxFrame *) 0 ;
3960 long arg2 = (long) -1 ;
e811c8ce 3961 int arg3 = (int) -1 ;
d14a1e28
RD
3962 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
3963 wxString *arg4 = (wxString *) &arg4_defvalue ;
3964 wxToolBar *result;
e811c8ce 3965 bool temp4 = False ;
d14a1e28 3966 PyObject * obj0 = 0 ;
994141e6
RD
3967 PyObject * obj1 = 0 ;
3968 PyObject * obj2 = 0 ;
d14a1e28
RD
3969 PyObject * obj3 = 0 ;
3970 char *kwnames[] = {
3971 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3972 };
3973
994141e6 3974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
3975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 3977 if (obj1) {
c32bde28 3978 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 3979 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
3980 }
3981 if (obj2) {
c32bde28 3982 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 3983 if (PyErr_Occurred()) SWIG_fail;
994141e6 3984 }
d14a1e28
RD
3985 if (obj3) {
3986 {
3987 arg4 = wxString_in_helper(obj3);
3988 if (arg4 == NULL) SWIG_fail;
e811c8ce 3989 temp4 = True;
d14a1e28
RD
3990 }
3991 }
3992 {
3993 PyThreadState* __tstate = wxPyBeginAllowThreads();
3994 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
3995
3996 wxPyEndAllowThreads(__tstate);
3997 if (PyErr_Occurred()) SWIG_fail;
3998 }
3999 {
412d302d 4000 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
4001 }
4002 {
4003 if (temp4)
4004 delete arg4;
4005 }
4006 return resultobj;
4007 fail:
4008 {
4009 if (temp4)
4010 delete arg4;
4011 }
4012 return NULL;
4013}
4014
4015
c32bde28 4016static PyObject *_wrap_Frame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4017 PyObject *resultobj;
4018 wxFrame *arg1 = (wxFrame *) 0 ;
4019 wxToolBar *result;
4020 PyObject * obj0 = 0 ;
4021 char *kwnames[] = {
4022 (char *) "self", NULL
4023 };
4024
4025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
15afbcd0
RD
4026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4028 {
4029 PyThreadState* __tstate = wxPyBeginAllowThreads();
4030 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
4031
4032 wxPyEndAllowThreads(__tstate);
4033 if (PyErr_Occurred()) SWIG_fail;
4034 }
4035 {
412d302d 4036 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
4037 }
4038 return resultobj;
4039 fail:
4040 return NULL;
4041}
4042
4043
c32bde28 4044static PyObject *_wrap_Frame_SetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4045 PyObject *resultobj;
4046 wxFrame *arg1 = (wxFrame *) 0 ;
4047 wxToolBar *arg2 = (wxToolBar *) 0 ;
4048 PyObject * obj0 = 0 ;
4049 PyObject * obj1 = 0 ;
4050 char *kwnames[] = {
4051 (char *) "self",(char *) "toolbar", NULL
4052 };
4053
4054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4057 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar,
4058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4059 {
4060 PyThreadState* __tstate = wxPyBeginAllowThreads();
4061 (arg1)->SetToolBar(arg2);
4062
4063 wxPyEndAllowThreads(__tstate);
4064 if (PyErr_Occurred()) SWIG_fail;
4065 }
4066 Py_INCREF(Py_None); resultobj = Py_None;
4067 return resultobj;
4068 fail:
4069 return NULL;
4070}
4071
4072
c32bde28 4073static PyObject *_wrap_Frame_DoGiveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4074 PyObject *resultobj;
4075 wxFrame *arg1 = (wxFrame *) 0 ;
4076 wxString *arg2 = 0 ;
4077 bool arg3 ;
e811c8ce 4078 bool temp2 = False ;
d14a1e28
RD
4079 PyObject * obj0 = 0 ;
4080 PyObject * obj1 = 0 ;
4081 PyObject * obj2 = 0 ;
4082 char *kwnames[] = {
4083 (char *) "self",(char *) "text",(char *) "show", NULL
4084 };
4085
4086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
4087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4089 {
4090 arg2 = wxString_in_helper(obj1);
4091 if (arg2 == NULL) SWIG_fail;
e811c8ce 4092 temp2 = True;
d14a1e28 4093 }
c32bde28 4094 arg3 = (bool)SWIG_As_bool(obj2);
15afbcd0 4095 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4096 {
4097 PyThreadState* __tstate = wxPyBeginAllowThreads();
4098 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
4099
4100 wxPyEndAllowThreads(__tstate);
4101 if (PyErr_Occurred()) SWIG_fail;
4102 }
4103 Py_INCREF(Py_None); resultobj = Py_None;
4104 {
4105 if (temp2)
4106 delete arg2;
4107 }
4108 return resultobj;
4109 fail:
4110 {
4111 if (temp2)
4112 delete arg2;
4113 }
4114 return NULL;
4115}
4116
4117
c32bde28 4118static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4119 PyObject *resultobj;
4120 wxFrame *arg1 = (wxFrame *) 0 ;
4121 wxMenu *arg2 = (wxMenu *) NULL ;
4122 PyObject * obj0 = 0 ;
4123 PyObject * obj1 = 0 ;
4124 char *kwnames[] = {
4125 (char *) "self",(char *) "menu", NULL
4126 };
4127
4128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 4131 if (obj1) {
15afbcd0
RD
4132 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
4133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4134 }
4135 {
4136 PyThreadState* __tstate = wxPyBeginAllowThreads();
4137 (arg1)->DoMenuUpdates(arg2);
4138
4139 wxPyEndAllowThreads(__tstate);
4140 if (PyErr_Occurred()) SWIG_fail;
4141 }
4142 Py_INCREF(Py_None); resultobj = Py_None;
4143 return resultobj;
4144 fail:
4145 return NULL;
4146}
4147
4148
c32bde28 4149static PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c
RD
4150 PyObject *resultobj;
4151 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4152 wxVisualAttributes result;
4153 PyObject * obj0 = 0 ;
4154 char *kwnames[] = {
4155 (char *) "variant", NULL
4156 };
4157
4158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4159 if (obj0) {
c32bde28 4160 arg1 = (int)SWIG_As_int(obj0);
22bfe96c
RD
4161 if (PyErr_Occurred()) SWIG_fail;
4162 }
4163 {
e3b71cb8 4164 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
4165 PyThreadState* __tstate = wxPyBeginAllowThreads();
4166 result = wxFrame::GetClassDefaultAttributes((wxWindowVariant )arg1);
4167
4168 wxPyEndAllowThreads(__tstate);
110da5b0 4169 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
4170 }
4171 {
4172 wxVisualAttributes * resultptr;
4173 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4174 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4175 }
4176 return resultobj;
4177 fail:
4178 return NULL;
4179}
4180
4181
c32bde28 4182static PyObject * Frame_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
4183 PyObject *obj;
4184 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4185 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
4186 Py_INCREF(obj);
4187 return Py_BuildValue((char *)"");
4188}
c32bde28 4189static PyObject *_wrap_new_Dialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4190 PyObject *resultobj;
4191 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
4192 int arg2 = (int) (int)-1 ;
4193 wxString const &arg3_defvalue = wxPyEmptyString ;
4194 wxString *arg3 = (wxString *) &arg3_defvalue ;
d14a1e28
RD
4195 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4196 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4197 wxSize const &arg5_defvalue = wxDefaultSize ;
4198 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4199 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
4200 wxString const &arg7_defvalue = wxPyDialogNameStr ;
4201 wxString *arg7 = (wxString *) &arg7_defvalue ;
4202 wxDialog *result;
e811c8ce 4203 bool temp3 = False ;
d14a1e28
RD
4204 wxPoint temp4 ;
4205 wxSize temp5 ;
e811c8ce 4206 bool temp7 = False ;
d14a1e28 4207 PyObject * obj0 = 0 ;
994141e6 4208 PyObject * obj1 = 0 ;
d14a1e28
RD
4209 PyObject * obj2 = 0 ;
4210 PyObject * obj3 = 0 ;
4211 PyObject * obj4 = 0 ;
994141e6 4212 PyObject * obj5 = 0 ;
d14a1e28
RD
4213 PyObject * obj6 = 0 ;
4214 char *kwnames[] = {
4215 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4216 };
4217
248ed943 4218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
4219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 4221 if (obj1) {
c32bde28 4222 arg2 = (int)SWIG_As_int(obj1);
248ed943
RD
4223 if (PyErr_Occurred()) SWIG_fail;
4224 }
4225 if (obj2) {
4226 {
4227 arg3 = wxString_in_helper(obj2);
4228 if (arg3 == NULL) SWIG_fail;
4229 temp3 = True;
4230 }
d14a1e28
RD
4231 }
4232 if (obj3) {
4233 {
4234 arg4 = &temp4;
4235 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4236 }
4237 }
4238 if (obj4) {
4239 {
4240 arg5 = &temp5;
4241 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4242 }
4243 }
994141e6 4244 if (obj5) {
c32bde28 4245 arg6 = (long)SWIG_As_long(obj5);
15afbcd0 4246 if (PyErr_Occurred()) SWIG_fail;
994141e6 4247 }
d14a1e28
RD
4248 if (obj6) {
4249 {
4250 arg7 = wxString_in_helper(obj6);
4251 if (arg7 == NULL) SWIG_fail;
e811c8ce 4252 temp7 = True;
d14a1e28
RD
4253 }
4254 }
4255 {
e3b71cb8 4256 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
4257 PyThreadState* __tstate = wxPyBeginAllowThreads();
4258 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4259
4260 wxPyEndAllowThreads(__tstate);
110da5b0 4261 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 4262 }
b0f7404b 4263 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
d14a1e28
RD
4264 {
4265 if (temp3)
4266 delete arg3;
4267 }
4268 {
4269 if (temp7)
4270 delete arg7;
4271 }
4272 return resultobj;
4273 fail:
4274 {
4275 if (temp3)
4276 delete arg3;
4277 }
4278 {
4279 if (temp7)
4280 delete arg7;
4281 }
4282 return NULL;
4283}
4284
4285
c32bde28 4286static PyObject *_wrap_new_PreDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4287 PyObject *resultobj;
4288 wxDialog *result;
4289 char *kwnames[] = {
4290 NULL
4291 };
4292
4293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
4294 {
e3b71cb8 4295 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
4296 PyThreadState* __tstate = wxPyBeginAllowThreads();
4297 result = (wxDialog *)new wxDialog();
4298
4299 wxPyEndAllowThreads(__tstate);
110da5b0 4300 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 4301 }
b0f7404b 4302 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
d14a1e28
RD
4303 return resultobj;
4304 fail:
4305 return NULL;
4306}
4307
4308
c32bde28 4309static PyObject *_wrap_Dialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4310 PyObject *resultobj;
4311 wxDialog *arg1 = (wxDialog *) 0 ;
4312 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
4313 int arg3 = (int) (int)-1 ;
4314 wxString const &arg4_defvalue = wxPyEmptyString ;
4315 wxString *arg4 = (wxString *) &arg4_defvalue ;
d14a1e28
RD
4316 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4317 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4318 wxSize const &arg6_defvalue = wxDefaultSize ;
4319 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4320 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
4321 wxString const &arg8_defvalue = wxPyDialogNameStr ;
4322 wxString *arg8 = (wxString *) &arg8_defvalue ;
4323 bool result;
e811c8ce 4324 bool temp4 = False ;
d14a1e28
RD
4325 wxPoint temp5 ;
4326 wxSize temp6 ;
e811c8ce 4327 bool temp8 = False ;
d14a1e28
RD
4328 PyObject * obj0 = 0 ;
4329 PyObject * obj1 = 0 ;
994141e6 4330 PyObject * obj2 = 0 ;
d14a1e28
RD
4331 PyObject * obj3 = 0 ;
4332 PyObject * obj4 = 0 ;
4333 PyObject * obj5 = 0 ;
994141e6 4334 PyObject * obj6 = 0 ;
d14a1e28
RD
4335 PyObject * obj7 = 0 ;
4336 char *kwnames[] = {
4337 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4338 };
4339
248ed943 4340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
4341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4343 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 4345 if (obj2) {
c32bde28 4346 arg3 = (int)SWIG_As_int(obj2);
248ed943
RD
4347 if (PyErr_Occurred()) SWIG_fail;
4348 }
4349 if (obj3) {
4350 {
4351 arg4 = wxString_in_helper(obj3);
4352 if (arg4 == NULL) SWIG_fail;
4353 temp4 = True;
4354 }
d14a1e28
RD
4355 }
4356 if (obj4) {
4357 {
4358 arg5 = &temp5;
4359 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4360 }
4361 }
4362 if (obj5) {
4363 {
4364 arg6 = &temp6;
4365 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4366 }
4367 }
994141e6 4368 if (obj6) {
c32bde28 4369 arg7 = (long)SWIG_As_long(obj6);
15afbcd0 4370 if (PyErr_Occurred()) SWIG_fail;
994141e6 4371 }
d14a1e28
RD
4372 if (obj7) {
4373 {
4374 arg8 = wxString_in_helper(obj7);
4375 if (arg8 == NULL) SWIG_fail;
e811c8ce 4376 temp8 = True;
d14a1e28
RD
4377 }
4378 }
4379 {
4380 PyThreadState* __tstate = wxPyBeginAllowThreads();
4381 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4382
4383 wxPyEndAllowThreads(__tstate);
4384 if (PyErr_Occurred()) SWIG_fail;
4385 }
4f89f6a3
RD
4386 {
4387 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4388 }
d14a1e28
RD
4389 {
4390 if (temp4)
4391 delete arg4;
4392 }
4393 {
4394 if (temp8)
4395 delete arg8;
4396 }
4397 return resultobj;
4398 fail:
4399 {
4400 if (temp4)
4401 delete arg4;
4402 }
4403 {
4404 if (temp8)
4405 delete arg8;
4406 }
4407 return NULL;
4408}
4409
4410
c32bde28 4411static PyObject *_wrap_Dialog_SetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4412 PyObject *resultobj;
4413 wxDialog *arg1 = (wxDialog *) 0 ;
4414 int arg2 ;
4415 PyObject * obj0 = 0 ;
994141e6 4416 PyObject * obj1 = 0 ;
d14a1e28
RD
4417 char *kwnames[] = {
4418 (char *) "self",(char *) "returnCode", NULL
4419 };
4420
994141e6 4421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 4424 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 4425 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4426 {
4427 PyThreadState* __tstate = wxPyBeginAllowThreads();
4428 (arg1)->SetReturnCode(arg2);
4429
4430 wxPyEndAllowThreads(__tstate);
4431 if (PyErr_Occurred()) SWIG_fail;
4432 }
4433 Py_INCREF(Py_None); resultobj = Py_None;
4434 return resultobj;
4435 fail:
4436 return NULL;
4437}
4438
4439
c32bde28 4440static PyObject *_wrap_Dialog_GetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4441 PyObject *resultobj;
4442 wxDialog *arg1 = (wxDialog *) 0 ;
4443 int result;
4444 PyObject * obj0 = 0 ;
4445 char *kwnames[] = {
4446 (char *) "self", NULL
4447 };
4448
4449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
15afbcd0
RD
4450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4452 {
4453 PyThreadState* __tstate = wxPyBeginAllowThreads();
4454 result = (int)((wxDialog const *)arg1)->GetReturnCode();
4455
4456 wxPyEndAllowThreads(__tstate);
4457 if (PyErr_Occurred()) SWIG_fail;
4458 }
c32bde28 4459 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
4460 return resultobj;
4461 fail:
4462 return NULL;
4463}
4464
4465
c32bde28 4466static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4467 PyObject *resultobj;
4468 wxDialog *arg1 = (wxDialog *) 0 ;
4469 wxString *arg2 = 0 ;
4470 wxSizer *result;
e811c8ce 4471 bool temp2 = False ;
d14a1e28
RD
4472 PyObject * obj0 = 0 ;
4473 PyObject * obj1 = 0 ;
4474 char *kwnames[] = {
4475 (char *) "self",(char *) "message", NULL
4476 };
4477
4478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4481 {
4482 arg2 = wxString_in_helper(obj1);
4483 if (arg2 == NULL) SWIG_fail;
e811c8ce 4484 temp2 = True;
d14a1e28
RD
4485 }
4486 {
4487 PyThreadState* __tstate = wxPyBeginAllowThreads();
4488 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
4489
4490 wxPyEndAllowThreads(__tstate);
4491 if (PyErr_Occurred()) SWIG_fail;
4492 }
4493 {
412d302d 4494 resultobj = wxPyMake_wxSizer(result, 0);
d14a1e28
RD
4495 }
4496 {
4497 if (temp2)
4498 delete arg2;
4499 }
4500 return resultobj;
4501 fail:
4502 {
4503 if (temp2)
4504 delete arg2;
4505 }
4506 return NULL;
4507}
4508
4509
c32bde28 4510static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4511 PyObject *resultobj;
4512 wxDialog *arg1 = (wxDialog *) 0 ;
4513 long arg2 ;
4514 wxSizer *result;
4515 PyObject * obj0 = 0 ;
994141e6 4516 PyObject * obj1 = 0 ;
d14a1e28
RD
4517 char *kwnames[] = {
4518 (char *) "self",(char *) "flags", NULL
4519 };
4520
994141e6 4521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 4524 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 4525 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4526 {
4527 PyThreadState* __tstate = wxPyBeginAllowThreads();
4528 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
4529
4530 wxPyEndAllowThreads(__tstate);
4531 if (PyErr_Occurred()) SWIG_fail;
4532 }
4533 {
412d302d 4534 resultobj = wxPyMake_wxSizer(result, 0);
d14a1e28
RD
4535 }
4536 return resultobj;
4537 fail:
4538 return NULL;
4539}
4540
4541
c32bde28 4542static PyObject *_wrap_Dialog_IsModal(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4543 PyObject *resultobj;
4544 wxDialog *arg1 = (wxDialog *) 0 ;
4545 bool result;
4546 PyObject * obj0 = 0 ;
4547 char *kwnames[] = {
4548 (char *) "self", NULL
4549 };
4550
4551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
15afbcd0
RD
4552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4554 {
4555 PyThreadState* __tstate = wxPyBeginAllowThreads();
4556 result = (bool)((wxDialog const *)arg1)->IsModal();
4557
4558 wxPyEndAllowThreads(__tstate);
4559 if (PyErr_Occurred()) SWIG_fail;
4560 }
4f89f6a3
RD
4561 {
4562 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4563 }
d14a1e28
RD
4564 return resultobj;
4565 fail:
4566 return NULL;
4567}
4568
4569
c32bde28 4570static PyObject *_wrap_Dialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4571 PyObject *resultobj;
4572 wxDialog *arg1 = (wxDialog *) 0 ;
4573 int result;
4574 PyObject * obj0 = 0 ;
4575 char *kwnames[] = {
4576 (char *) "self", NULL
4577 };
4578
4579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
15afbcd0
RD
4580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4582 {
4583 PyThreadState* __tstate = wxPyBeginAllowThreads();
4584 result = (int)(arg1)->ShowModal();
4585
4586 wxPyEndAllowThreads(__tstate);
4587 if (PyErr_Occurred()) SWIG_fail;
4588 }
c32bde28 4589 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
4590 return resultobj;
4591 fail:
4592 return NULL;
4593}
4594
4595
c32bde28 4596static PyObject *_wrap_Dialog_EndModal(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4597 PyObject *resultobj;
4598 wxDialog *arg1 = (wxDialog *) 0 ;
4599 int arg2 ;
4600 PyObject * obj0 = 0 ;
994141e6 4601 PyObject * obj1 = 0 ;
d14a1e28
RD
4602 char *kwnames[] = {
4603 (char *) "self",(char *) "retCode", NULL
4604 };
4605
994141e6 4606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 4609 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 4610 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4611 {
4612 PyThreadState* __tstate = wxPyBeginAllowThreads();
4613 (arg1)->EndModal(arg2);
4614
4615 wxPyEndAllowThreads(__tstate);
4616 if (PyErr_Occurred()) SWIG_fail;
4617 }
4618 Py_INCREF(Py_None); resultobj = Py_None;
4619 return resultobj;
4620 fail:
4621 return NULL;
4622}
4623
4624
c32bde28 4625static PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c
RD
4626 PyObject *resultobj;
4627 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4628 wxVisualAttributes result;
4629 PyObject * obj0 = 0 ;
4630 char *kwnames[] = {
4631 (char *) "variant", NULL
4632 };
4633
4634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4635 if (obj0) {
c32bde28 4636 arg1 = (int)SWIG_As_int(obj0);
22bfe96c
RD
4637 if (PyErr_Occurred()) SWIG_fail;
4638 }
4639 {
e3b71cb8 4640 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
4641 PyThreadState* __tstate = wxPyBeginAllowThreads();
4642 result = wxDialog::GetClassDefaultAttributes((wxWindowVariant )arg1);
4643
4644 wxPyEndAllowThreads(__tstate);
110da5b0 4645 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
4646 }
4647 {
4648 wxVisualAttributes * resultptr;
4649 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4650 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4651 }
4652 return resultobj;
4653 fail:
4654 return NULL;
4655}
4656
4657
c32bde28 4658static PyObject * Dialog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
4659 PyObject *obj;
4660 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4661 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
4662 Py_INCREF(obj);
4663 return Py_BuildValue((char *)"");
4664}
c32bde28 4665static PyObject *_wrap_new_MiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4666 PyObject *resultobj;
4667 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
4668 int arg2 = (int) (int)-1 ;
4669 wxString const &arg3_defvalue = wxPyEmptyString ;
4670 wxString *arg3 = (wxString *) &arg3_defvalue ;
d14a1e28
RD
4671 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4672 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4673 wxSize const &arg5_defvalue = wxDefaultSize ;
4674 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4675 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4676 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4677 wxString *arg7 = (wxString *) &arg7_defvalue ;
4678 wxMiniFrame *result;
e811c8ce 4679 bool temp3 = False ;
d14a1e28
RD
4680 wxPoint temp4 ;
4681 wxSize temp5 ;
e811c8ce 4682 bool temp7 = False ;
d14a1e28 4683 PyObject * obj0 = 0 ;
994141e6 4684 PyObject * obj1 = 0 ;
d14a1e28
RD
4685 PyObject * obj2 = 0 ;
4686 PyObject * obj3 = 0 ;
4687 PyObject * obj4 = 0 ;
994141e6 4688 PyObject * obj5 = 0 ;
d14a1e28
RD
4689 PyObject * obj6 = 0 ;
4690 char *kwnames[] = {
4691 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4692 };
4693
248ed943 4694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
4695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 4697 if (obj1) {
c32bde28 4698 arg2 = (int)SWIG_As_int(obj1);
248ed943
RD
4699 if (PyErr_Occurred()) SWIG_fail;
4700 }
4701 if (obj2) {
4702 {
4703 arg3 = wxString_in_helper(obj2);
4704 if (arg3 == NULL) SWIG_fail;
4705 temp3 = True;
4706 }
d14a1e28
RD
4707 }
4708 if (obj3) {
4709 {
4710 arg4 = &temp4;
4711 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4712 }
4713 }
4714 if (obj4) {
4715 {
4716 arg5 = &temp5;
4717 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4718 }
4719 }
994141e6 4720 if (obj5) {
c32bde28 4721 arg6 = (long)SWIG_As_long(obj5);
15afbcd0 4722 if (PyErr_Occurred()) SWIG_fail;
994141e6 4723 }
d14a1e28
RD
4724 if (obj6) {
4725 {
4726 arg7 = wxString_in_helper(obj6);
4727 if (arg7 == NULL) SWIG_fail;
e811c8ce 4728 temp7 = True;
d14a1e28
RD
4729 }
4730 }
4731 {
e3b71cb8 4732 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
4733 PyThreadState* __tstate = wxPyBeginAllowThreads();
4734 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4735
4736 wxPyEndAllowThreads(__tstate);
110da5b0 4737 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 4738 }
15afbcd0 4739 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
d14a1e28
RD
4740 {
4741 if (temp3)
4742 delete arg3;
4743 }
4744 {
4745 if (temp7)
4746 delete arg7;
4747 }
4748 return resultobj;
4749 fail:
4750 {
4751 if (temp3)
4752 delete arg3;
4753 }
4754 {
4755 if (temp7)
4756 delete arg7;
4757 }
4758 return NULL;
4759}
4760
4761
c32bde28 4762static PyObject *_wrap_new_PreMiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4763 PyObject *resultobj;
4764 wxMiniFrame *result;
4765 char *kwnames[] = {
4766 NULL
4767 };
4768
4769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
4770 {
e3b71cb8 4771 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
4772 PyThreadState* __tstate = wxPyBeginAllowThreads();
4773 result = (wxMiniFrame *)new wxMiniFrame();
4774
4775 wxPyEndAllowThreads(__tstate);
110da5b0 4776 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 4777 }
15afbcd0 4778 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
d14a1e28
RD
4779 return resultobj;
4780 fail:
4781 return NULL;
4782}
4783
4784
c32bde28 4785static PyObject *_wrap_MiniFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4786 PyObject *resultobj;
4787 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
4788 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
4789 int arg3 = (int) (int)-1 ;
4790 wxString const &arg4_defvalue = wxPyEmptyString ;
4791 wxString *arg4 = (wxString *) &arg4_defvalue ;
d14a1e28
RD
4792 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4793 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4794 wxSize const &arg6_defvalue = wxDefaultSize ;
4795 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4796 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4797 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4798 wxString *arg8 = (wxString *) &arg8_defvalue ;
4799 bool result;
e811c8ce 4800 bool temp4 = False ;
d14a1e28
RD
4801 wxPoint temp5 ;
4802 wxSize temp6 ;
e811c8ce 4803 bool temp8 = False ;
d14a1e28
RD
4804 PyObject * obj0 = 0 ;
4805 PyObject * obj1 = 0 ;
994141e6 4806 PyObject * obj2 = 0 ;
d14a1e28
RD
4807 PyObject * obj3 = 0 ;
4808 PyObject * obj4 = 0 ;
4809 PyObject * obj5 = 0 ;
994141e6 4810 PyObject * obj6 = 0 ;
d14a1e28
RD
4811 PyObject * obj7 = 0 ;
4812 char *kwnames[] = {
4813 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4814 };
4815
248ed943 4816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
4817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMiniFrame,
4818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4819 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 4821 if (obj2) {
c32bde28 4822 arg3 = (int)SWIG_As_int(obj2);
248ed943
RD
4823 if (PyErr_Occurred()) SWIG_fail;
4824 }
4825 if (obj3) {
4826 {
4827 arg4 = wxString_in_helper(obj3);
4828 if (arg4 == NULL) SWIG_fail;
4829 temp4 = True;
4830 }
d14a1e28
RD
4831 }
4832 if (obj4) {
4833 {
4834 arg5 = &temp5;
4835 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4836 }
4837 }
4838 if (obj5) {
4839 {
4840 arg6 = &temp6;
4841 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4842 }
4843 }
994141e6 4844 if (obj6) {
c32bde28 4845 arg7 = (long)SWIG_As_long(obj6);
15afbcd0 4846 if (PyErr_Occurred()) SWIG_fail;
994141e6 4847 }
d14a1e28
RD
4848 if (obj7) {
4849 {
4850 arg8 = wxString_in_helper(obj7);
4851 if (arg8 == NULL) SWIG_fail;
e811c8ce 4852 temp8 = True;
d14a1e28
RD
4853 }
4854 }
4855 {
4856 PyThreadState* __tstate = wxPyBeginAllowThreads();
4857 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4858
4859 wxPyEndAllowThreads(__tstate);
4860 if (PyErr_Occurred()) SWIG_fail;
4861 }
4f89f6a3
RD
4862 {
4863 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4864 }
d14a1e28
RD
4865 {
4866 if (temp4)
4867 delete arg4;
4868 }
4869 {
4870 if (temp8)
4871 delete arg8;
4872 }
4873 return resultobj;
4874 fail:
4875 {
4876 if (temp4)
4877 delete arg4;
4878 }
4879 {
4880 if (temp8)
4881 delete arg8;
4882 }
4883 return NULL;
4884}
4885
4886
c32bde28 4887static PyObject * MiniFrame_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
4888 PyObject *obj;
4889 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4890 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
4891 Py_INCREF(obj);
4892 return Py_BuildValue((char *)"");
4893}
c32bde28 4894static PyObject *_wrap_new_SplashScreenWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4895 PyObject *resultobj;
4896 wxBitmap *arg1 = 0 ;
4897 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 4898 int arg3 ;
d14a1e28
RD
4899 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4900 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4901 wxSize const &arg5_defvalue = wxDefaultSize ;
4902 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4903 long arg6 = (long) wxNO_BORDER ;
4904 wxSplashScreenWindow *result;
4905 wxPoint temp4 ;
4906 wxSize temp5 ;
4907 PyObject * obj0 = 0 ;
4908 PyObject * obj1 = 0 ;
994141e6 4909 PyObject * obj2 = 0 ;
d14a1e28
RD
4910 PyObject * obj3 = 0 ;
4911 PyObject * obj4 = 0 ;
994141e6 4912 PyObject * obj5 = 0 ;
d14a1e28
RD
4913 char *kwnames[] = {
4914 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4915 };
4916
994141e6 4917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
4918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4919 SWIG_POINTER_EXCEPTION | 0)) == -1)
4920 SWIG_fail;
d14a1e28 4921 if (arg1 == NULL) {
15afbcd0
RD
4922 PyErr_SetString(PyExc_TypeError,"null reference");
4923 SWIG_fail;
994141e6 4924 }
15afbcd0
RD
4925 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 4927 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 4928 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4929 if (obj3) {
4930 {
4931 arg4 = &temp4;
4932 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4933 }
4934 }
4935 if (obj4) {
4936 {
4937 arg5 = &temp5;
4938 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4939 }
4940 }
994141e6 4941 if (obj5) {
c32bde28 4942 arg6 = (long)SWIG_As_long(obj5);
15afbcd0 4943 if (PyErr_Occurred()) SWIG_fail;
994141e6 4944 }
d14a1e28 4945 {
e3b71cb8 4946 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
4947 PyThreadState* __tstate = wxPyBeginAllowThreads();
4948 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
4949
4950 wxPyEndAllowThreads(__tstate);
110da5b0 4951 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 4952 }
15afbcd0 4953 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
d14a1e28
RD
4954 return resultobj;
4955 fail:
4956 return NULL;
4957}
4958
4959
c32bde28 4960static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4961 PyObject *resultobj;
4962 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4963 wxBitmap *arg2 = 0 ;
4964 PyObject * obj0 = 0 ;
4965 PyObject * obj1 = 0 ;
4966 char *kwnames[] = {
4967 (char *) "self",(char *) "bitmap", NULL
4968 };
4969
4970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
4972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4973 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
4974 SWIG_POINTER_EXCEPTION | 0)) == -1)
4975 SWIG_fail;
d14a1e28 4976 if (arg2 == NULL) {
15afbcd0
RD
4977 PyErr_SetString(PyExc_TypeError,"null reference");
4978 SWIG_fail;
d14a1e28
RD
4979 }
4980 {
4981 PyThreadState* __tstate = wxPyBeginAllowThreads();
4982 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4983
4984 wxPyEndAllowThreads(__tstate);
4985 if (PyErr_Occurred()) SWIG_fail;
4986 }
4987 Py_INCREF(Py_None); resultobj = Py_None;
4988 return resultobj;
4989 fail:
4990 return NULL;
4991}
4992
4993
c32bde28 4994static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4995 PyObject *resultobj;
4996 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4997 wxBitmap *result;
4998 PyObject * obj0 = 0 ;
4999 char *kwnames[] = {
5000 (char *) "self", NULL
5001 };
5002
5003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
15afbcd0
RD
5004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
5005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5006 {
5007 PyThreadState* __tstate = wxPyBeginAllowThreads();
5008 {
5009 wxBitmap &_result_ref = (arg1)->GetBitmap();
5010 result = (wxBitmap *) &_result_ref;
5011 }
5012
5013 wxPyEndAllowThreads(__tstate);
5014 if (PyErr_Occurred()) SWIG_fail;
5015 }
4276dc52
RD
5016 {
5017 wxBitmap* resultptr = new wxBitmap(*result);
5018 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
5019 }
d14a1e28
RD
5020 return resultobj;
5021 fail:
5022 return NULL;
5023}
5024
5025
c32bde28 5026static PyObject * SplashScreenWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5027 PyObject *obj;
5028 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5029 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
5030 Py_INCREF(obj);
5031 return Py_BuildValue((char *)"");
5032}
c32bde28 5033static PyObject *_wrap_new_SplashScreen(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5034 PyObject *resultobj;
5035 wxBitmap *arg1 = 0 ;
5036 long arg2 ;
5037 int arg3 ;
5038 wxWindow *arg4 = (wxWindow *) 0 ;
248ed943 5039 int arg5 = (int) -1 ;
d14a1e28
RD
5040 wxPoint const &arg6_defvalue = wxDefaultPosition ;
5041 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
5042 wxSize const &arg7_defvalue = wxDefaultSize ;
5043 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
5044 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
5045 wxSplashScreen *result;
5046 wxPoint temp6 ;
5047 wxSize temp7 ;
5048 PyObject * obj0 = 0 ;
994141e6
RD
5049 PyObject * obj1 = 0 ;
5050 PyObject * obj2 = 0 ;
d14a1e28 5051 PyObject * obj3 = 0 ;
994141e6 5052 PyObject * obj4 = 0 ;
d14a1e28
RD
5053 PyObject * obj5 = 0 ;
5054 PyObject * obj6 = 0 ;
994141e6 5055 PyObject * obj7 = 0 ;
d14a1e28
RD
5056 char *kwnames[] = {
5057 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
5058 };
5059
248ed943 5060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
5061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
5062 SWIG_POINTER_EXCEPTION | 0)) == -1)
5063 SWIG_fail;
d14a1e28 5064 if (arg1 == NULL) {
15afbcd0
RD
5065 PyErr_SetString(PyExc_TypeError,"null reference");
5066 SWIG_fail;
5067 }
c32bde28 5068 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 5069 if (PyErr_Occurred()) SWIG_fail;
c32bde28 5070 arg3 = (int)SWIG_As_int(obj2);
15afbcd0
RD
5071 if (PyErr_Occurred()) SWIG_fail;
5072 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
5073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 5074 if (obj4) {
c32bde28 5075 arg5 = (int)SWIG_As_int(obj4);
248ed943
RD
5076 if (PyErr_Occurred()) SWIG_fail;
5077 }
d14a1e28
RD
5078 if (obj5) {
5079 {
5080 arg6 = &temp6;
5081 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
5082 }
5083 }
5084 if (obj6) {
5085 {
5086 arg7 = &temp7;
5087 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
5088 }
5089 }
994141e6 5090 if (obj7) {
c32bde28 5091 arg8 = (long)SWIG_As_long(obj7);
15afbcd0 5092 if (PyErr_Occurred()) SWIG_fail;
994141e6 5093 }
d14a1e28 5094 {
e3b71cb8 5095 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
5096 PyThreadState* __tstate = wxPyBeginAllowThreads();
5097 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
5098
5099 wxPyEndAllowThreads(__tstate);
110da5b0 5100 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 5101 }
15afbcd0 5102 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
d14a1e28
RD
5103 return resultobj;
5104 fail:
5105 return NULL;
5106}
5107
5108
c32bde28 5109static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5110 PyObject *resultobj;
5111 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
5112 long result;
5113 PyObject * obj0 = 0 ;
5114 char *kwnames[] = {
5115 (char *) "self", NULL
5116 };
5117
5118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
15afbcd0
RD
5119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
5120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5121 {
5122 PyThreadState* __tstate = wxPyBeginAllowThreads();
5123 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
5124
5125 wxPyEndAllowThreads(__tstate);
5126 if (PyErr_Occurred()) SWIG_fail;
5127 }
c32bde28 5128 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
5129 return resultobj;
5130 fail:
5131 return NULL;
5132}
5133
5134
c32bde28 5135static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5136 PyObject *resultobj;
5137 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
5138 wxSplashScreenWindow *result;
5139 PyObject * obj0 = 0 ;
5140 char *kwnames[] = {
5141 (char *) "self", NULL
5142 };
5143
5144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
5145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
5146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5147 {
5148 PyThreadState* __tstate = wxPyBeginAllowThreads();
5149 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
5150
5151 wxPyEndAllowThreads(__tstate);
5152 if (PyErr_Occurred()) SWIG_fail;
5153 }
15afbcd0 5154 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
d14a1e28
RD
5155 return resultobj;
5156 fail:
5157 return NULL;
5158}
5159
5160
c32bde28 5161static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5162 PyObject *resultobj;
5163 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
5164 int result;
5165 PyObject * obj0 = 0 ;
5166 char *kwnames[] = {
5167 (char *) "self", NULL
5168 };
5169
5170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
15afbcd0
RD
5171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
5172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5173 {
5174 PyThreadState* __tstate = wxPyBeginAllowThreads();
5175 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
5176
5177 wxPyEndAllowThreads(__tstate);
5178 if (PyErr_Occurred()) SWIG_fail;
5179 }
c32bde28 5180 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
5181 return resultobj;
5182 fail:
5183 return NULL;
5184}
5185
5186
c32bde28 5187static PyObject * SplashScreen_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5188 PyObject *obj;
5189 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5190 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
5191 Py_INCREF(obj);
5192 return Py_BuildValue((char *)"");
5193}
c32bde28 5194static PyObject *_wrap_new_StatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5195 PyObject *resultobj;
5196 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 5197 int arg2 = (int) -1 ;
4276dc52 5198 long arg3 = (long) wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE ;
d14a1e28
RD
5199 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
5200 wxString *arg4 = (wxString *) &arg4_defvalue ;
5201 wxStatusBar *result;
e811c8ce 5202 bool temp4 = False ;
d14a1e28 5203 PyObject * obj0 = 0 ;
994141e6
RD
5204 PyObject * obj1 = 0 ;
5205 PyObject * obj2 = 0 ;
d14a1e28
RD
5206 PyObject * obj3 = 0 ;
5207 char *kwnames[] = {
5208 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5209 };
5210
994141e6 5211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
5212 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 5214 if (obj1) {
c32bde28 5215 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 5216 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
5217 }
5218 if (obj2) {
c32bde28 5219 arg3 = (long)SWIG_As_long(obj2);
15afbcd0 5220 if (PyErr_Occurred()) SWIG_fail;
994141e6 5221 }
d14a1e28
RD
5222 if (obj3) {
5223 {
5224 arg4 = wxString_in_helper(obj3);
5225 if (arg4 == NULL) SWIG_fail;
e811c8ce 5226 temp4 = True;
d14a1e28
RD
5227 }
5228 }
5229 {
e3b71cb8 5230 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
5231 PyThreadState* __tstate = wxPyBeginAllowThreads();
5232 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
5233
5234 wxPyEndAllowThreads(__tstate);
110da5b0 5235 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 5236 }
b0f7404b 5237 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
d14a1e28
RD
5238 {
5239 if (temp4)
5240 delete arg4;
5241 }
5242 return resultobj;
5243 fail:
5244 {
5245 if (temp4)
5246 delete arg4;
5247 }
5248 return NULL;
5249}
5250
5251
c32bde28 5252static PyObject *_wrap_new_PreStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5253 PyObject *resultobj;
5254 wxStatusBar *result;
5255 char *kwnames[] = {
5256 NULL
5257 };
5258
5259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
5260 {
e3b71cb8 5261 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
5262 PyThreadState* __tstate = wxPyBeginAllowThreads();
5263 result = (wxStatusBar *)new wxStatusBar();
5264
5265 wxPyEndAllowThreads(__tstate);
110da5b0 5266 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 5267 }
b0f7404b 5268 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
d14a1e28
RD
5269 return resultobj;
5270 fail:
5271 return NULL;
5272}
5273
5274
c32bde28 5275static PyObject *_wrap_StatusBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5276 PyObject *resultobj;
5277 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5278 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 5279 int arg3 = (int) -1 ;
d14a1e28
RD
5280 long arg4 = (long) wxST_SIZEGRIP ;
5281 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
5282 wxString *arg5 = (wxString *) &arg5_defvalue ;
5283 bool result;
e811c8ce 5284 bool temp5 = False ;
d14a1e28
RD
5285 PyObject * obj0 = 0 ;
5286 PyObject * obj1 = 0 ;
994141e6
RD
5287 PyObject * obj2 = 0 ;
5288 PyObject * obj3 = 0 ;
d14a1e28
RD
5289 PyObject * obj4 = 0 ;
5290 char *kwnames[] = {
5291 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5292 };
5293
248ed943 5294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
5295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5297 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 5299 if (obj2) {
c32bde28 5300 arg3 = (int)SWIG_As_int(obj2);
248ed943
RD
5301 if (PyErr_Occurred()) SWIG_fail;
5302 }
994141e6 5303 if (obj3) {
c32bde28 5304 arg4 = (long)SWIG_As_long(obj3);
15afbcd0 5305 if (PyErr_Occurred()) SWIG_fail;
994141e6 5306 }
d14a1e28
RD
5307 if (obj4) {
5308 {
5309 arg5 = wxString_in_helper(obj4);
5310 if (arg5 == NULL) SWIG_fail;
e811c8ce 5311 temp5 = True;
d14a1e28
RD
5312 }
5313 }
5314 {
5315 PyThreadState* __tstate = wxPyBeginAllowThreads();
5316 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
5317
5318 wxPyEndAllowThreads(__tstate);
5319 if (PyErr_Occurred()) SWIG_fail;
5320 }
4f89f6a3
RD
5321 {
5322 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5323 }
d14a1e28
RD
5324 {
5325 if (temp5)
5326 delete arg5;
5327 }
5328 return resultobj;
5329 fail:
5330 {
5331 if (temp5)
5332 delete arg5;
5333 }
5334 return NULL;
5335}
5336
5337
c32bde28 5338static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5339 PyObject *resultobj;
5340 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5341 int arg2 = (int) 1 ;
5342 PyObject * obj0 = 0 ;
994141e6 5343 PyObject * obj1 = 0 ;
d14a1e28
RD
5344 char *kwnames[] = {
5345 (char *) "self",(char *) "number", NULL
5346 };
5347
994141e6 5348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 5351 if (obj1) {
c32bde28 5352 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 5353 if (PyErr_Occurred()) SWIG_fail;
994141e6 5354 }
d14a1e28
RD
5355 {
5356 PyThreadState* __tstate = wxPyBeginAllowThreads();
5357 (arg1)->SetFieldsCount(arg2);
5358
5359 wxPyEndAllowThreads(__tstate);
5360 if (PyErr_Occurred()) SWIG_fail;
5361 }
5362 Py_INCREF(Py_None); resultobj = Py_None;
5363 return resultobj;
5364 fail:
5365 return NULL;
5366}
5367
5368
c32bde28 5369static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5370 PyObject *resultobj;
5371 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5372 int result;
5373 PyObject * obj0 = 0 ;
5374 char *kwnames[] = {
5375 (char *) "self", NULL
5376 };
5377
5378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
5379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5381 {
5382 PyThreadState* __tstate = wxPyBeginAllowThreads();
5383 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
5384
5385 wxPyEndAllowThreads(__tstate);
5386 if (PyErr_Occurred()) SWIG_fail;
5387 }
c32bde28 5388 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
5389 return resultobj;
5390 fail:
5391 return NULL;
5392}
5393
5394
c32bde28 5395static PyObject *_wrap_StatusBar_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5396 PyObject *resultobj;
5397 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5398 wxString *arg2 = 0 ;
5399 int arg3 = (int) 0 ;
e811c8ce 5400 bool temp2 = False ;
d14a1e28
RD
5401 PyObject * obj0 = 0 ;
5402 PyObject * obj1 = 0 ;
994141e6 5403 PyObject * obj2 = 0 ;
d14a1e28
RD
5404 char *kwnames[] = {
5405 (char *) "self",(char *) "text",(char *) "number", NULL
5406 };
5407
994141e6 5408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5411 {
5412 arg2 = wxString_in_helper(obj1);
5413 if (arg2 == NULL) SWIG_fail;
e811c8ce 5414 temp2 = True;
d14a1e28 5415 }
994141e6 5416 if (obj2) {
c32bde28 5417 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 5418 if (PyErr_Occurred()) SWIG_fail;
994141e6 5419 }
d14a1e28
RD
5420 {
5421 PyThreadState* __tstate = wxPyBeginAllowThreads();
5422 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
5423
5424 wxPyEndAllowThreads(__tstate);
5425 if (PyErr_Occurred()) SWIG_fail;
5426 }
5427 Py_INCREF(Py_None); resultobj = Py_None;
5428 {
5429 if (temp2)
5430 delete arg2;
5431 }
5432 return resultobj;
5433 fail:
5434 {
5435 if (temp2)
5436 delete arg2;
5437 }
5438 return NULL;
5439}
5440
5441
c32bde28 5442static PyObject *_wrap_StatusBar_GetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5443 PyObject *resultobj;
5444 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5445 int arg2 = (int) 0 ;
5446 wxString result;
5447 PyObject * obj0 = 0 ;
994141e6 5448 PyObject * obj1 = 0 ;
d14a1e28
RD
5449 char *kwnames[] = {
5450 (char *) "self",(char *) "number", NULL
5451 };
5452
994141e6 5453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 5456 if (obj1) {
c32bde28 5457 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 5458 if (PyErr_Occurred()) SWIG_fail;
994141e6 5459 }
d14a1e28
RD
5460 {
5461 PyThreadState* __tstate = wxPyBeginAllowThreads();
5462 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
5463
5464 wxPyEndAllowThreads(__tstate);
5465 if (PyErr_Occurred()) SWIG_fail;
5466 }
5467 {
5468#if wxUSE_UNICODE
5469 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5470#else
5471 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5472#endif
5473 }
5474 return resultobj;
5475 fail:
5476 return NULL;
5477}
5478
5479
c32bde28 5480static PyObject *_wrap_StatusBar_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5481 PyObject *resultobj;
5482 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5483 wxString *arg2 = 0 ;
5484 int arg3 = (int) 0 ;
e811c8ce 5485 bool temp2 = False ;
d14a1e28
RD
5486 PyObject * obj0 = 0 ;
5487 PyObject * obj1 = 0 ;
994141e6 5488 PyObject * obj2 = 0 ;
d14a1e28
RD
5489 char *kwnames[] = {
5490 (char *) "self",(char *) "text",(char *) "number", NULL
5491 };
5492
994141e6 5493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5496 {
5497 arg2 = wxString_in_helper(obj1);
5498 if (arg2 == NULL) SWIG_fail;
e811c8ce 5499 temp2 = True;
d14a1e28 5500 }
994141e6 5501 if (obj2) {
c32bde28 5502 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 5503 if (PyErr_Occurred()) SWIG_fail;
994141e6 5504 }
d14a1e28
RD
5505 {
5506 PyThreadState* __tstate = wxPyBeginAllowThreads();
5507 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5508
5509 wxPyEndAllowThreads(__tstate);
5510 if (PyErr_Occurred()) SWIG_fail;
5511 }
5512 Py_INCREF(Py_None); resultobj = Py_None;
5513 {
5514 if (temp2)
5515 delete arg2;
5516 }
5517 return resultobj;
5518 fail:
5519 {
5520 if (temp2)
5521 delete arg2;
5522 }
5523 return NULL;
5524}
5525
5526
c32bde28 5527static PyObject *_wrap_StatusBar_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5528 PyObject *resultobj;
5529 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5530 int arg2 = (int) 0 ;
5531 PyObject * obj0 = 0 ;
994141e6 5532 PyObject * obj1 = 0 ;
d14a1e28
RD
5533 char *kwnames[] = {
5534 (char *) "self",(char *) "number", NULL
5535 };
5536
994141e6 5537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 5540 if (obj1) {
c32bde28 5541 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 5542 if (PyErr_Occurred()) SWIG_fail;
994141e6 5543 }
d14a1e28
RD
5544 {
5545 PyThreadState* __tstate = wxPyBeginAllowThreads();
5546 (arg1)->PopStatusText(arg2);
5547
5548 wxPyEndAllowThreads(__tstate);
5549 if (PyErr_Occurred()) SWIG_fail;
5550 }
5551 Py_INCREF(Py_None); resultobj = Py_None;
5552 return resultobj;
5553 fail:
5554 return NULL;
5555}
5556
5557
c32bde28 5558static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5559 PyObject *resultobj;
5560 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5561 int arg2 ;
5562 int *arg3 = (int *) 0 ;
5563 PyObject * obj0 = 0 ;
5564 PyObject * obj1 = 0 ;
5565 char *kwnames[] = {
5566 (char *) "self",(char *) "widths", NULL
5567 };
5568
5569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5572 {
5573 arg2 = PyList_Size(obj1);
5574 arg3 = int_LIST_helper(obj1);
5575 if (arg3 == NULL) SWIG_fail;
5576 }
5577 {
5578 PyThreadState* __tstate = wxPyBeginAllowThreads();
5579 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5580
5581 wxPyEndAllowThreads(__tstate);
5582 if (PyErr_Occurred()) SWIG_fail;
5583 }
5584 Py_INCREF(Py_None); resultobj = Py_None;
5585 {
5586 if (arg3) delete [] arg3;
5587 }
5588 return resultobj;
5589 fail:
5590 {
5591 if (arg3) delete [] arg3;
5592 }
5593 return NULL;
5594}
5595
5596
c32bde28 5597static PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *, PyObject *args, PyObject *kwargs) {
f16ab95d
RD
5598 PyObject *resultobj;
5599 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5600 int arg2 ;
5601 int *arg3 = (int *) 0 ;
5602 PyObject * obj0 = 0 ;
5603 PyObject * obj1 = 0 ;
5604 char *kwnames[] = {
5605 (char *) "self",(char *) "styles", NULL
5606 };
5607
5608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) goto fail;
5609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5611 {
5612 arg2 = PyList_Size(obj1);
5613 arg3 = int_LIST_helper(obj1);
5614 if (arg3 == NULL) SWIG_fail;
5615 }
5616 {
5617 PyThreadState* __tstate = wxPyBeginAllowThreads();
5618 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
5619
5620 wxPyEndAllowThreads(__tstate);
5621 if (PyErr_Occurred()) SWIG_fail;
5622 }
5623 Py_INCREF(Py_None); resultobj = Py_None;
5624 {
5625 if (arg3) delete [] arg3;
5626 }
5627 return resultobj;
5628 fail:
5629 {
5630 if (arg3) delete [] arg3;
5631 }
5632 return NULL;
5633}
5634
5635
c32bde28 5636static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5637 PyObject *resultobj;
5638 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5639 int arg2 ;
7722248d 5640 wxRect result;
d14a1e28 5641 PyObject * obj0 = 0 ;
994141e6 5642 PyObject * obj1 = 0 ;
d14a1e28 5643 char *kwnames[] = {
7722248d 5644 (char *) "self",(char *) "i", NULL
d14a1e28
RD
5645 };
5646
994141e6 5647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 5650 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 5651 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5652 {
5653 PyThreadState* __tstate = wxPyBeginAllowThreads();
7722248d 5654 result = wxStatusBar_GetFieldRect(arg1,arg2);
d14a1e28
RD
5655
5656 wxPyEndAllowThreads(__tstate);
5657 if (PyErr_Occurred()) SWIG_fail;
5658 }
7722248d
RD
5659 {
5660 wxRect * resultptr;
5661 resultptr = new wxRect((wxRect &) result);
15afbcd0 5662 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7722248d 5663 }
d14a1e28
RD
5664 return resultobj;
5665 fail:
5666 return NULL;
5667}
5668
5669
c32bde28 5670static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5671 PyObject *resultobj;
5672 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5673 int arg2 ;
5674 PyObject * obj0 = 0 ;
994141e6 5675 PyObject * obj1 = 0 ;
d14a1e28
RD
5676 char *kwnames[] = {
5677 (char *) "self",(char *) "height", NULL
5678 };
5679
994141e6 5680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 5683 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 5684 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5685 {
5686 PyThreadState* __tstate = wxPyBeginAllowThreads();
5687 (arg1)->SetMinHeight(arg2);
5688
5689 wxPyEndAllowThreads(__tstate);
5690 if (PyErr_Occurred()) SWIG_fail;
5691 }
5692 Py_INCREF(Py_None); resultobj = Py_None;
5693 return resultobj;
5694 fail:
5695 return NULL;
5696}
5697
5698
c32bde28 5699static PyObject *_wrap_StatusBar_GetBorderX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5700 PyObject *resultobj;
5701 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5702 int result;
5703 PyObject * obj0 = 0 ;
5704 char *kwnames[] = {
5705 (char *) "self", NULL
5706 };
5707
5708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
15afbcd0
RD
5709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5711 {
5712 PyThreadState* __tstate = wxPyBeginAllowThreads();
5713 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
5714
5715 wxPyEndAllowThreads(__tstate);
5716 if (PyErr_Occurred()) SWIG_fail;
5717 }
c32bde28 5718 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
5719 return resultobj;
5720 fail:
5721 return NULL;
5722}
5723
5724
c32bde28 5725static PyObject *_wrap_StatusBar_GetBorderY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5726 PyObject *resultobj;
5727 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5728 int result;
5729 PyObject * obj0 = 0 ;
5730 char *kwnames[] = {
5731 (char *) "self", NULL
5732 };
5733
5734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
15afbcd0
RD
5735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5737 {
5738 PyThreadState* __tstate = wxPyBeginAllowThreads();
5739 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
5740
5741 wxPyEndAllowThreads(__tstate);
5742 if (PyErr_Occurred()) SWIG_fail;
5743 }
c32bde28 5744 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
5745 return resultobj;
5746 fail:
5747 return NULL;
5748}
5749
5750
c32bde28 5751static PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c
RD
5752 PyObject *resultobj;
5753 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
5754 wxVisualAttributes result;
5755 PyObject * obj0 = 0 ;
5756 char *kwnames[] = {
5757 (char *) "variant", NULL
5758 };
5759
5760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5761 if (obj0) {
c32bde28 5762 arg1 = (int)SWIG_As_int(obj0);
22bfe96c
RD
5763 if (PyErr_Occurred()) SWIG_fail;
5764 }
5765 {
e3b71cb8 5766 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
5767 PyThreadState* __tstate = wxPyBeginAllowThreads();
5768 result = wxStatusBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
5769
5770 wxPyEndAllowThreads(__tstate);
110da5b0 5771 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
5772 }
5773 {
5774 wxVisualAttributes * resultptr;
5775 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
5776 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5777 }
5778 return resultobj;
5779 fail:
5780 return NULL;
5781}
5782
5783
c32bde28 5784static PyObject * StatusBar_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5785 PyObject *obj;
5786 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5787 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
5788 Py_INCREF(obj);
5789 return Py_BuildValue((char *)"");
5790}
c32bde28 5791static int _wrap_SplitterNameStr_set(PyObject *) {
b2dc1044
RD
5792 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
5793 return 1;
5794}
5795
5796
5797static PyObject *_wrap_SplitterNameStr_get() {
5798 PyObject *pyobj;
5799
5800 {
5801#if wxUSE_UNICODE
5802 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5803#else
5804 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5805#endif
5806 }
5807 return pyobj;
5808}
5809
5810
c32bde28 5811static PyObject *_wrap_new_SplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5812 PyObject *resultobj;
5813 wxWindow *arg1 = (wxWindow *) 0 ;
74a57fcd 5814 int arg2 = (int) -1 ;
d14a1e28
RD
5815 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5816 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5817 wxSize const &arg4_defvalue = wxDefaultSize ;
5818 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5819 long arg5 = (long) wxSP_3D ;
5820 wxString const &arg6_defvalue = wxPySplitterNameStr ;
5821 wxString *arg6 = (wxString *) &arg6_defvalue ;
5822 wxSplitterWindow *result;
5823 wxPoint temp3 ;
5824 wxSize temp4 ;
e811c8ce 5825 bool temp6 = False ;
d14a1e28 5826 PyObject * obj0 = 0 ;
994141e6 5827 PyObject * obj1 = 0 ;
d14a1e28
RD
5828 PyObject * obj2 = 0 ;
5829 PyObject * obj3 = 0 ;
994141e6 5830 PyObject * obj4 = 0 ;
d14a1e28
RD
5831 PyObject * obj5 = 0 ;
5832 char *kwnames[] = {
994141e6 5833 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
d14a1e28
RD
5834 };
5835
74a57fcd 5836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
5837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
74a57fcd 5839 if (obj1) {
c32bde28 5840 arg2 = (int)SWIG_As_int(obj1);
74a57fcd
RD
5841 if (PyErr_Occurred()) SWIG_fail;
5842 }
d14a1e28
RD
5843 if (obj2) {
5844 {
5845 arg3 = &temp3;
5846 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5847 }
5848 }
5849 if (obj3) {
5850 {
5851 arg4 = &temp4;
5852 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5853 }
5854 }
15afbcd0 5855 if (obj4) {
c32bde28 5856 arg5 = (long)SWIG_As_long(obj4);
15afbcd0 5857 if (PyErr_Occurred()) SWIG_fail;
994141e6 5858 }
d14a1e28
RD
5859 if (obj5) {
5860 {
5861 arg6 = wxString_in_helper(obj5);
5862 if (arg6 == NULL) SWIG_fail;
e811c8ce 5863 temp6 = True;
d14a1e28
RD
5864 }
5865 }
5866 {
e3b71cb8 5867 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
5868 PyThreadState* __tstate = wxPyBeginAllowThreads();
5869 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5870
5871 wxPyEndAllowThreads(__tstate);
110da5b0 5872 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 5873 }
15afbcd0 5874 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
d14a1e28
RD
5875 {
5876 if (temp6)
5877 delete arg6;
5878 }
5879 return resultobj;
5880 fail:
5881 {
5882 if (temp6)
5883 delete arg6;
5884 }
5885 return NULL;
5886}
5887
5888
c32bde28 5889static PyObject *_wrap_new_PreSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5890 PyObject *resultobj;
5891 wxSplitterWindow *result;
5892 char *kwnames[] = {
5893 NULL
5894 };
5895
5896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
5897 {
e3b71cb8 5898 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
5899 PyThreadState* __tstate = wxPyBeginAllowThreads();
5900 result = (wxSplitterWindow *)new wxSplitterWindow();
5901
5902 wxPyEndAllowThreads(__tstate);
110da5b0 5903 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 5904 }
15afbcd0 5905 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
d14a1e28
RD
5906 return resultobj;
5907 fail:
5908 return NULL;
5909}
5910
5911
c32bde28 5912static PyObject *_wrap_SplitterWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5913 PyObject *resultobj;
5914 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5915 wxWindow *arg2 = (wxWindow *) 0 ;
74a57fcd 5916 int arg3 = (int) -1 ;
d14a1e28
RD
5917 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5918 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5919 wxSize const &arg5_defvalue = wxDefaultSize ;
5920 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5921 long arg6 = (long) wxSP_3D ;
5922 wxString const &arg7_defvalue = wxPySplitterNameStr ;
5923 wxString *arg7 = (wxString *) &arg7_defvalue ;
5924 bool result;
5925 wxPoint temp4 ;
5926 wxSize temp5 ;
e811c8ce 5927 bool temp7 = False ;
d14a1e28
RD
5928 PyObject * obj0 = 0 ;
5929 PyObject * obj1 = 0 ;
994141e6 5930 PyObject * obj2 = 0 ;
d14a1e28
RD
5931 PyObject * obj3 = 0 ;
5932 PyObject * obj4 = 0 ;
994141e6 5933 PyObject * obj5 = 0 ;
d14a1e28
RD
5934 PyObject * obj6 = 0 ;
5935 char *kwnames[] = {
994141e6 5936 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
d14a1e28
RD
5937 };
5938
74a57fcd 5939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
5940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5942 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
74a57fcd 5944 if (obj2) {
c32bde28 5945 arg3 = (int)SWIG_As_int(obj2);
74a57fcd
RD
5946 if (PyErr_Occurred()) SWIG_fail;
5947 }
d14a1e28
RD
5948 if (obj3) {
5949 {
5950 arg4 = &temp4;
5951 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5952 }
5953 }
5954 if (obj4) {
5955 {
5956 arg5 = &temp5;
5957 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5958 }
5959 }
994141e6 5960 if (obj5) {
c32bde28 5961 arg6 = (long)SWIG_As_long(obj5);
15afbcd0 5962 if (PyErr_Occurred()) SWIG_fail;
994141e6 5963 }
d14a1e28
RD
5964 if (obj6) {
5965 {
5966 arg7 = wxString_in_helper(obj6);
5967 if (arg7 == NULL) SWIG_fail;
e811c8ce 5968 temp7 = True;
d14a1e28
RD
5969 }
5970 }
5971 {
5972 PyThreadState* __tstate = wxPyBeginAllowThreads();
5973 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5974
5975 wxPyEndAllowThreads(__tstate);
5976 if (PyErr_Occurred()) SWIG_fail;
5977 }
4f89f6a3
RD
5978 {
5979 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5980 }
d14a1e28
RD
5981 {
5982 if (temp7)
5983 delete arg7;
5984 }
5985 return resultobj;
5986 fail:
5987 {
5988 if (temp7)
5989 delete arg7;
5990 }
5991 return NULL;
5992}
5993
5994
c32bde28 5995static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5996 PyObject *resultobj;
5997 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5998 wxWindow *result;
5999 PyObject * obj0 = 0 ;
6000 char *kwnames[] = {
6001 (char *) "self", NULL
6002 };
6003
6004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
15afbcd0
RD
6005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6007 {
6008 PyThreadState* __tstate = wxPyBeginAllowThreads();
6009 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
6010
6011 wxPyEndAllowThreads(__tstate);
6012 if (PyErr_Occurred()) SWIG_fail;
6013 }
6014 {
412d302d 6015 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
6016 }
6017 return resultobj;
6018 fail:
6019 return NULL;
6020}
6021
6022
c32bde28 6023static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6024 PyObject *resultobj;
6025 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6026 wxWindow *result;
6027 PyObject * obj0 = 0 ;
6028 char *kwnames[] = {
6029 (char *) "self", NULL
6030 };
6031
6032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
15afbcd0
RD
6033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6035 {
6036 PyThreadState* __tstate = wxPyBeginAllowThreads();
6037 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
6038
6039 wxPyEndAllowThreads(__tstate);
6040 if (PyErr_Occurred()) SWIG_fail;
6041 }
6042 {
412d302d 6043 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
6044 }
6045 return resultobj;
6046 fail:
6047 return NULL;
6048}
6049
6050
c32bde28 6051static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6052 PyObject *resultobj;
6053 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6054 int arg2 ;
6055 PyObject * obj0 = 0 ;
994141e6 6056 PyObject * obj1 = 0 ;
d14a1e28
RD
6057 char *kwnames[] = {
6058 (char *) "self",(char *) "mode", NULL
6059 };
6060
994141e6 6061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6062 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6064 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 6065 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6066 {
6067 PyThreadState* __tstate = wxPyBeginAllowThreads();
6068 (arg1)->SetSplitMode(arg2);
6069
6070 wxPyEndAllowThreads(__tstate);
6071 if (PyErr_Occurred()) SWIG_fail;
6072 }
6073 Py_INCREF(Py_None); resultobj = Py_None;
6074 return resultobj;
6075 fail:
6076 return NULL;
6077}
6078
6079
c32bde28 6080static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6081 PyObject *resultobj;
6082 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6083 int result;
6084 PyObject * obj0 = 0 ;
6085 char *kwnames[] = {
6086 (char *) "self", NULL
6087 };
6088
6089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
15afbcd0
RD
6090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6092 {
6093 PyThreadState* __tstate = wxPyBeginAllowThreads();
6094 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
6095
6096 wxPyEndAllowThreads(__tstate);
6097 if (PyErr_Occurred()) SWIG_fail;
6098 }
c32bde28 6099 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
6100 return resultobj;
6101 fail:
6102 return NULL;
6103}
6104
6105
c32bde28 6106static PyObject *_wrap_SplitterWindow_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6107 PyObject *resultobj;
6108 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6109 wxWindow *arg2 = (wxWindow *) 0 ;
6110 PyObject * obj0 = 0 ;
6111 PyObject * obj1 = 0 ;
6112 char *kwnames[] = {
6113 (char *) "self",(char *) "window", NULL
6114 };
6115
6116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6119 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6121 {
6122 PyThreadState* __tstate = wxPyBeginAllowThreads();
6123 (arg1)->Initialize(arg2);
6124
6125 wxPyEndAllowThreads(__tstate);
6126 if (PyErr_Occurred()) SWIG_fail;
6127 }
6128 Py_INCREF(Py_None); resultobj = Py_None;
6129 return resultobj;
6130 fail:
6131 return NULL;
6132}
6133
6134
c32bde28 6135static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6136 PyObject *resultobj;
6137 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6138 wxWindow *arg2 = (wxWindow *) 0 ;
6139 wxWindow *arg3 = (wxWindow *) 0 ;
6140 int arg4 = (int) 0 ;
6141 bool result;
6142 PyObject * obj0 = 0 ;
6143 PyObject * obj1 = 0 ;
6144 PyObject * obj2 = 0 ;
994141e6 6145 PyObject * obj3 = 0 ;
d14a1e28
RD
6146 char *kwnames[] = {
6147 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6148 };
6149
994141e6 6150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
6151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6153 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6155 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 6157 if (obj3) {
c32bde28 6158 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 6159 if (PyErr_Occurred()) SWIG_fail;
994141e6 6160 }
d14a1e28
RD
6161 {
6162 PyThreadState* __tstate = wxPyBeginAllowThreads();
6163 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
6164
6165 wxPyEndAllowThreads(__tstate);
6166 if (PyErr_Occurred()) SWIG_fail;
6167 }
4f89f6a3
RD
6168 {
6169 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6170 }
d14a1e28
RD
6171 return resultobj;
6172 fail:
6173 return NULL;
6174}
6175
6176
c32bde28 6177static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6178 PyObject *resultobj;
6179 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6180 wxWindow *arg2 = (wxWindow *) 0 ;
6181 wxWindow *arg3 = (wxWindow *) 0 ;
6182 int arg4 = (int) 0 ;
6183 bool result;
6184 PyObject * obj0 = 0 ;
6185 PyObject * obj1 = 0 ;
6186 PyObject * obj2 = 0 ;
994141e6 6187 PyObject * obj3 = 0 ;
d14a1e28
RD
6188 char *kwnames[] = {
6189 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6190 };
6191
994141e6 6192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
6193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6195 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6197 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 6199 if (obj3) {
c32bde28 6200 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 6201 if (PyErr_Occurred()) SWIG_fail;
994141e6 6202 }
d14a1e28
RD
6203 {
6204 PyThreadState* __tstate = wxPyBeginAllowThreads();
6205 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
6206
6207 wxPyEndAllowThreads(__tstate);
6208 if (PyErr_Occurred()) SWIG_fail;
6209 }
4f89f6a3
RD
6210 {
6211 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6212 }
d14a1e28
RD
6213 return resultobj;
6214 fail:
6215 return NULL;
6216}
6217
6218
c32bde28 6219static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6220 PyObject *resultobj;
6221 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6222 wxWindow *arg2 = (wxWindow *) NULL ;
6223 bool result;
6224 PyObject * obj0 = 0 ;
6225 PyObject * obj1 = 0 ;
6226 char *kwnames[] = {
6227 (char *) "self",(char *) "toRemove", NULL
6228 };
6229
6230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 6233 if (obj1) {
15afbcd0
RD
6234 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6236 }
6237 {
6238 PyThreadState* __tstate = wxPyBeginAllowThreads();
6239 result = (bool)(arg1)->Unsplit(arg2);
6240
6241 wxPyEndAllowThreads(__tstate);
6242 if (PyErr_Occurred()) SWIG_fail;
6243 }
4f89f6a3
RD
6244 {
6245 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6246 }
d14a1e28
RD
6247 return resultobj;
6248 fail:
6249 return NULL;
6250}
6251
6252
c32bde28 6253static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6254 PyObject *resultobj;
6255 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6256 wxWindow *arg2 = (wxWindow *) 0 ;
6257 wxWindow *arg3 = (wxWindow *) 0 ;
6258 bool result;
6259 PyObject * obj0 = 0 ;
6260 PyObject * obj1 = 0 ;
6261 PyObject * obj2 = 0 ;
6262 char *kwnames[] = {
6263 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
6264 };
6265
6266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6269 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6271 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6273 {
6274 PyThreadState* __tstate = wxPyBeginAllowThreads();
6275 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
6276
6277 wxPyEndAllowThreads(__tstate);
6278 if (PyErr_Occurred()) SWIG_fail;
6279 }
4f89f6a3
RD
6280 {
6281 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6282 }
d14a1e28
RD
6283 return resultobj;
6284 fail:
6285 return NULL;
6286}
6287
6288
c32bde28 6289static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *, PyObject *args, PyObject *kwargs) {
d00d1b88
RD
6290 PyObject *resultobj;
6291 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6292 PyObject * obj0 = 0 ;
6293 char *kwnames[] = {
6294 (char *) "self", NULL
6295 };
6296
6297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail;
6298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6300 {
6301 PyThreadState* __tstate = wxPyBeginAllowThreads();
6302 (arg1)->UpdateSize();
6303
6304 wxPyEndAllowThreads(__tstate);
6305 if (PyErr_Occurred()) SWIG_fail;
6306 }
6307 Py_INCREF(Py_None); resultobj = Py_None;
6308 return resultobj;
6309 fail:
6310 return NULL;
6311}
6312
6313
c32bde28 6314static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6315 PyObject *resultobj;
6316 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6317 bool result;
6318 PyObject * obj0 = 0 ;
6319 char *kwnames[] = {
6320 (char *) "self", NULL
6321 };
6322
6323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
15afbcd0
RD
6324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6326 {
6327 PyThreadState* __tstate = wxPyBeginAllowThreads();
6328 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
6329
6330 wxPyEndAllowThreads(__tstate);
6331 if (PyErr_Occurred()) SWIG_fail;
6332 }
4f89f6a3
RD
6333 {
6334 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6335 }
d14a1e28
RD
6336 return resultobj;
6337 fail:
6338 return NULL;
6339}
6340
6341
c32bde28 6342static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6343 PyObject *resultobj;
6344 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6345 int arg2 ;
6346 PyObject * obj0 = 0 ;
994141e6 6347 PyObject * obj1 = 0 ;
d14a1e28
RD
6348 char *kwnames[] = {
6349 (char *) "self",(char *) "width", NULL
6350 };
6351
994141e6 6352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6355 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 6356 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6357 {
6358 PyThreadState* __tstate = wxPyBeginAllowThreads();
6359 (arg1)->SetSashSize(arg2);
6360
6361 wxPyEndAllowThreads(__tstate);
6362 if (PyErr_Occurred()) SWIG_fail;
6363 }
6364 Py_INCREF(Py_None); resultobj = Py_None;
6365 return resultobj;
6366 fail:
6367 return NULL;
6368}
6369
6370
c32bde28 6371static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6372 PyObject *resultobj;
6373 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6374 int arg2 ;
6375 PyObject * obj0 = 0 ;
994141e6 6376 PyObject * obj1 = 0 ;
d14a1e28
RD
6377 char *kwnames[] = {
6378 (char *) "self",(char *) "width", NULL
6379 };
6380
994141e6 6381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6384 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 6385 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6386 {
6387 PyThreadState* __tstate = wxPyBeginAllowThreads();
6388 (arg1)->SetBorderSize(arg2);
6389
6390 wxPyEndAllowThreads(__tstate);
6391 if (PyErr_Occurred()) SWIG_fail;
6392 }
6393 Py_INCREF(Py_None); resultobj = Py_None;
6394 return resultobj;
6395 fail:
6396 return NULL;
6397}
6398
6399
c32bde28 6400static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6401 PyObject *resultobj;
6402 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6403 int result;
6404 PyObject * obj0 = 0 ;
6405 char *kwnames[] = {
6406 (char *) "self", NULL
6407 };
6408
6409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
6410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6412 {
6413 PyThreadState* __tstate = wxPyBeginAllowThreads();
6414 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
6415
6416 wxPyEndAllowThreads(__tstate);
6417 if (PyErr_Occurred()) SWIG_fail;
6418 }
c32bde28 6419 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
6420 return resultobj;
6421 fail:
6422 return NULL;
6423}
6424
6425
c32bde28 6426static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6427 PyObject *resultobj;
6428 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6429 int result;
6430 PyObject * obj0 = 0 ;
6431 char *kwnames[] = {
6432 (char *) "self", NULL
6433 };
6434
6435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
6436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6438 {
6439 PyThreadState* __tstate = wxPyBeginAllowThreads();
6440 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
6441
6442 wxPyEndAllowThreads(__tstate);
6443 if (PyErr_Occurred()) SWIG_fail;
6444 }
c32bde28 6445 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
6446 return resultobj;
6447 fail:
6448 return NULL;
6449}
6450
6451
c32bde28 6452static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6453 PyObject *resultobj;
6454 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6455 int arg2 ;
e811c8ce 6456 bool arg3 = (bool) True ;
d14a1e28 6457 PyObject * obj0 = 0 ;
994141e6 6458 PyObject * obj1 = 0 ;
d14a1e28
RD
6459 PyObject * obj2 = 0 ;
6460 char *kwnames[] = {
6461 (char *) "self",(char *) "position",(char *) "redraw", NULL
6462 };
6463
994141e6 6464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6467 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 6468 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6469 if (obj2) {
c32bde28 6470 arg3 = (bool)SWIG_As_bool(obj2);
15afbcd0 6471 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6472 }
6473 {
6474 PyThreadState* __tstate = wxPyBeginAllowThreads();
6475 (arg1)->SetSashPosition(arg2,arg3);
6476
6477 wxPyEndAllowThreads(__tstate);
6478 if (PyErr_Occurred()) SWIG_fail;
6479 }
6480 Py_INCREF(Py_None); resultobj = Py_None;
6481 return resultobj;
6482 fail:
6483 return NULL;
6484}
6485
6486
c32bde28 6487static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6488 PyObject *resultobj;
6489 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6490 int result;
6491 PyObject * obj0 = 0 ;
6492 char *kwnames[] = {
6493 (char *) "self", NULL
6494 };
6495
6496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
6497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6499 {
6500 PyThreadState* __tstate = wxPyBeginAllowThreads();
6501 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
6502
6503 wxPyEndAllowThreads(__tstate);
6504 if (PyErr_Occurred()) SWIG_fail;
6505 }
c32bde28 6506 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
6507 return resultobj;
6508 fail:
6509 return NULL;
6510}
6511
6512
c32bde28 6513static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6514 PyObject *resultobj;
6515 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6516 int arg2 ;
6517 PyObject * obj0 = 0 ;
994141e6 6518 PyObject * obj1 = 0 ;
d14a1e28
RD
6519 char *kwnames[] = {
6520 (char *) "self",(char *) "min", NULL
6521 };
6522
994141e6 6523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6526 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 6527 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6528 {
6529 PyThreadState* __tstate = wxPyBeginAllowThreads();
6530 (arg1)->SetMinimumPaneSize(arg2);
6531
6532 wxPyEndAllowThreads(__tstate);
6533 if (PyErr_Occurred()) SWIG_fail;
6534 }
6535 Py_INCREF(Py_None); resultobj = Py_None;
6536 return resultobj;
6537 fail:
6538 return NULL;
6539}
6540
6541
c32bde28 6542static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6543 PyObject *resultobj;
6544 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6545 int result;
6546 PyObject * obj0 = 0 ;
6547 char *kwnames[] = {
6548 (char *) "self", NULL
6549 };
6550
6551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
6552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6554 {
6555 PyThreadState* __tstate = wxPyBeginAllowThreads();
6556 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
6557
6558 wxPyEndAllowThreads(__tstate);
6559 if (PyErr_Occurred()) SWIG_fail;
6560 }
c32bde28 6561 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
6562 return resultobj;
6563 fail:
6564 return NULL;
6565}
6566
6567
c32bde28 6568static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6569 PyObject *resultobj;
6570 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6571 int arg2 ;
6572 int arg3 ;
6573 int arg4 = (int) 5 ;
6574 bool result;
6575 PyObject * obj0 = 0 ;
994141e6
RD
6576 PyObject * obj1 = 0 ;
6577 PyObject * obj2 = 0 ;
6578 PyObject * obj3 = 0 ;
d14a1e28
RD
6579 char *kwnames[] = {
6580 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6581 };
6582
994141e6 6583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
6584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6586 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 6587 if (PyErr_Occurred()) SWIG_fail;
c32bde28 6588 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 6589 if (PyErr_Occurred()) SWIG_fail;
994141e6 6590 if (obj3) {
c32bde28 6591 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 6592 if (PyErr_Occurred()) SWIG_fail;
994141e6 6593 }
d14a1e28
RD
6594 {
6595 PyThreadState* __tstate = wxPyBeginAllowThreads();
6596 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
6597
6598 wxPyEndAllowThreads(__tstate);
6599 if (PyErr_Occurred()) SWIG_fail;
6600 }
4f89f6a3
RD
6601 {
6602 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6603 }
d14a1e28
RD
6604 return resultobj;
6605 fail:
6606 return NULL;
6607}
6608
6609
c32bde28 6610static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6611 PyObject *resultobj;
6612 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6613 PyObject * obj0 = 0 ;
6614 char *kwnames[] = {
6615 (char *) "self", NULL
6616 };
6617
6618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
15afbcd0
RD
6619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6621 {
6622 PyThreadState* __tstate = wxPyBeginAllowThreads();
6623 (arg1)->SizeWindows();
6624
6625 wxPyEndAllowThreads(__tstate);
6626 if (PyErr_Occurred()) SWIG_fail;
6627 }
6628 Py_INCREF(Py_None); resultobj = Py_None;
6629 return resultobj;
6630 fail:
6631 return NULL;
6632}
6633
6634
c32bde28 6635static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6636 PyObject *resultobj;
6637 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6638 bool arg2 ;
6639 PyObject * obj0 = 0 ;
6640 PyObject * obj1 = 0 ;
6641 char *kwnames[] = {
6642 (char *) "self",(char *) "needUpdating", NULL
6643 };
6644
6645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6648 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 6649 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6650 {
6651 PyThreadState* __tstate = wxPyBeginAllowThreads();
6652 (arg1)->SetNeedUpdating(arg2);
6653
6654 wxPyEndAllowThreads(__tstate);
6655 if (PyErr_Occurred()) SWIG_fail;
6656 }
6657 Py_INCREF(Py_None); resultobj = Py_None;
6658 return resultobj;
6659 fail:
6660 return NULL;
6661}
6662
6663
c32bde28 6664static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6665 PyObject *resultobj;
6666 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6667 bool result;
6668 PyObject * obj0 = 0 ;
6669 char *kwnames[] = {
6670 (char *) "self", NULL
6671 };
6672
6673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
15afbcd0
RD
6674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6676 {
6677 PyThreadState* __tstate = wxPyBeginAllowThreads();
6678 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
6679
6680 wxPyEndAllowThreads(__tstate);
6681 if (PyErr_Occurred()) SWIG_fail;
6682 }
4f89f6a3
RD
6683 {
6684 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6685 }
d14a1e28
RD
6686 return resultobj;
6687 fail:
6688 return NULL;
6689}
6690
6691
c32bde28 6692static PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c
RD
6693 PyObject *resultobj;
6694 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
6695 wxVisualAttributes result;
6696 PyObject * obj0 = 0 ;
6697 char *kwnames[] = {
6698 (char *) "variant", NULL
6699 };
6700
6701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6702 if (obj0) {
c32bde28 6703 arg1 = (int)SWIG_As_int(obj0);
22bfe96c
RD
6704 if (PyErr_Occurred()) SWIG_fail;
6705 }
6706 {
e3b71cb8 6707 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
6708 PyThreadState* __tstate = wxPyBeginAllowThreads();
6709 result = wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
6710
6711 wxPyEndAllowThreads(__tstate);
110da5b0 6712 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
6713 }
6714 {
6715 wxVisualAttributes * resultptr;
6716 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
6717 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6718 }
6719 return resultobj;
6720 fail:
6721 return NULL;
6722}
6723
6724
c32bde28 6725static PyObject * SplitterWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6726 PyObject *obj;
6727 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6728 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
6729 Py_INCREF(obj);
6730 return Py_BuildValue((char *)"");
6731}
c32bde28 6732static PyObject *_wrap_new_SplitterEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6733 PyObject *resultobj;
6734 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
6735 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
6736 wxSplitterEvent *result;
994141e6 6737 PyObject * obj0 = 0 ;
d14a1e28
RD
6738 PyObject * obj1 = 0 ;
6739 char *kwnames[] = {
6740 (char *) "type",(char *) "splitter", NULL
6741 };
6742
994141e6
RD
6743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
6744 if (obj0) {
c32bde28 6745 arg1 = (wxEventType)SWIG_As_int(obj0);
15afbcd0 6746 if (PyErr_Occurred()) SWIG_fail;
994141e6 6747 }
d14a1e28 6748 if (obj1) {
15afbcd0
RD
6749 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSplitterWindow,
6750 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6751 }
6752 {
6753 PyThreadState* __tstate = wxPyBeginAllowThreads();
6754 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
6755
6756 wxPyEndAllowThreads(__tstate);
6757 if (PyErr_Occurred()) SWIG_fail;
6758 }
15afbcd0 6759 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
d14a1e28
RD
6760 return resultobj;
6761 fail:
6762 return NULL;
6763}
6764
6765
c32bde28 6766static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6767 PyObject *resultobj;
6768 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6769 int arg2 ;
6770 PyObject * obj0 = 0 ;
994141e6 6771 PyObject * obj1 = 0 ;
d14a1e28
RD
6772 char *kwnames[] = {
6773 (char *) "self",(char *) "pos", NULL
6774 };
6775
994141e6 6776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6779 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 6780 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6781 {
6782 PyThreadState* __tstate = wxPyBeginAllowThreads();
6783 (arg1)->SetSashPosition(arg2);
6784
6785 wxPyEndAllowThreads(__tstate);
6786 if (PyErr_Occurred()) SWIG_fail;
6787 }
6788 Py_INCREF(Py_None); resultobj = Py_None;
6789 return resultobj;
6790 fail:
6791 return NULL;
6792}
6793
6794
c32bde28 6795static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6796 PyObject *resultobj;
6797 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6798 int result;
6799 PyObject * obj0 = 0 ;
6800 char *kwnames[] = {
6801 (char *) "self", NULL
6802 };
6803
6804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
6805 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6807 {
6808 PyThreadState* __tstate = wxPyBeginAllowThreads();
6809 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
6810
6811 wxPyEndAllowThreads(__tstate);
6812 if (PyErr_Occurred()) SWIG_fail;
6813 }
c32bde28 6814 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
6815 return resultobj;
6816 fail:
6817 return NULL;
6818}
6819
6820
c32bde28 6821static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6822 PyObject *resultobj;
6823 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6824 wxWindow *result;
6825 PyObject * obj0 = 0 ;
6826 char *kwnames[] = {
6827 (char *) "self", NULL
6828 };
6829
6830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
15afbcd0
RD
6831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6833 {
6834 PyThreadState* __tstate = wxPyBeginAllowThreads();
6835 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
6836
6837 wxPyEndAllowThreads(__tstate);
6838 if (PyErr_Occurred()) SWIG_fail;
6839 }
6840 {
412d302d 6841 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
6842 }
6843 return resultobj;
6844 fail:
6845 return NULL;
6846}
6847
6848
c32bde28 6849static PyObject *_wrap_SplitterEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6850 PyObject *resultobj;
6851 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6852 int result;
6853 PyObject * obj0 = 0 ;
6854 char *kwnames[] = {
6855 (char *) "self", NULL
6856 };
6857
6858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
15afbcd0
RD
6859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6861 {
6862 PyThreadState* __tstate = wxPyBeginAllowThreads();
6863 result = (int)((wxSplitterEvent const *)arg1)->GetX();
6864
6865 wxPyEndAllowThreads(__tstate);
6866 if (PyErr_Occurred()) SWIG_fail;
6867 }
c32bde28 6868 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
6869 return resultobj;
6870 fail:
6871 return NULL;
6872}
6873
6874
c32bde28 6875static PyObject *_wrap_SplitterEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6876 PyObject *resultobj;
6877 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6878 int result;
6879 PyObject * obj0 = 0 ;
6880 char *kwnames[] = {
6881 (char *) "self", NULL
6882 };
6883
6884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
15afbcd0
RD
6885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6887 {
6888 PyThreadState* __tstate = wxPyBeginAllowThreads();
6889 result = (int)((wxSplitterEvent const *)arg1)->GetY();
6890
6891 wxPyEndAllowThreads(__tstate);
6892 if (PyErr_Occurred()) SWIG_fail;
6893 }
c32bde28 6894 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
6895 return resultobj;
6896 fail:
6897 return NULL;
6898}
6899
6900
c32bde28 6901static PyObject * SplitterEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6902 PyObject *obj;
6903 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6904 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
6905 Py_INCREF(obj);
6906 return Py_BuildValue((char *)"");
6907}
c32bde28 6908static int _wrap_SashNameStr_set(PyObject *) {
b2dc1044
RD
6909 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
6910 return 1;
6911}
6912
6913
6914static PyObject *_wrap_SashNameStr_get() {
6915 PyObject *pyobj;
6916
6917 {
6918#if wxUSE_UNICODE
6919 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6920#else
6921 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6922#endif
6923 }
6924 return pyobj;
6925}
6926
6927
c32bde28 6928static int _wrap_SashLayoutNameStr_set(PyObject *) {
b2dc1044
RD
6929 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
6930 return 1;
6931}
6932
6933
6934static PyObject *_wrap_SashLayoutNameStr_get() {
6935 PyObject *pyobj;
6936
6937 {
6938#if wxUSE_UNICODE
6939 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6940#else
6941 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6942#endif
6943 }
6944 return pyobj;
6945}
6946
6947
c32bde28 6948static PyObject *_wrap_new_SashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6949 PyObject *resultobj;
6950 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 6951 int arg2 = (int) -1 ;
d14a1e28
RD
6952 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6953 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6954 wxSize const &arg4_defvalue = wxDefaultSize ;
6955 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6956 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6957 wxString const &arg6_defvalue = wxPySashNameStr ;
6958 wxString *arg6 = (wxString *) &arg6_defvalue ;
6959 wxSashWindow *result;
6960 wxPoint temp3 ;
6961 wxSize temp4 ;
e811c8ce 6962 bool temp6 = False ;
d14a1e28 6963 PyObject * obj0 = 0 ;
994141e6 6964 PyObject * obj1 = 0 ;
d14a1e28
RD
6965 PyObject * obj2 = 0 ;
6966 PyObject * obj3 = 0 ;
994141e6 6967 PyObject * obj4 = 0 ;
d14a1e28
RD
6968 PyObject * obj5 = 0 ;
6969 char *kwnames[] = {
6970 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6971 };
6972
248ed943 6973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
6974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 6976 if (obj1) {
c32bde28 6977 arg2 = (int)SWIG_As_int(obj1);
248ed943
RD
6978 if (PyErr_Occurred()) SWIG_fail;
6979 }
d14a1e28
RD
6980 if (obj2) {
6981 {
6982 arg3 = &temp3;
6983 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6984 }
6985 }
6986 if (obj3) {
6987 {
6988 arg4 = &temp4;
6989 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6990 }
6991 }
994141e6 6992 if (obj4) {
c32bde28 6993 arg5 = (long)SWIG_As_long(obj4);
15afbcd0 6994 if (PyErr_Occurred()) SWIG_fail;
994141e6 6995 }
d14a1e28
RD
6996 if (obj5) {
6997 {
6998 arg6 = wxString_in_helper(obj5);
6999 if (arg6 == NULL) SWIG_fail;
e811c8ce 7000 temp6 = True;
d14a1e28
RD
7001 }
7002 }
7003 {
e3b71cb8 7004 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
7005 PyThreadState* __tstate = wxPyBeginAllowThreads();
7006 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7007
7008 wxPyEndAllowThreads(__tstate);
110da5b0 7009 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 7010 }
15afbcd0 7011 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
d14a1e28
RD
7012 {
7013 if (temp6)
7014 delete arg6;
7015 }
7016 return resultobj;
7017 fail:
7018 {
7019 if (temp6)
7020 delete arg6;
7021 }
7022 return NULL;
7023}
7024
7025
c32bde28 7026static PyObject *_wrap_new_PreSashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7027 PyObject *resultobj;
7028 wxSashWindow *result;
7029 char *kwnames[] = {
7030 NULL
7031 };
7032
7033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
7034 {
e3b71cb8 7035 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
7036 PyThreadState* __tstate = wxPyBeginAllowThreads();
7037 result = (wxSashWindow *)new wxSashWindow();
7038
7039 wxPyEndAllowThreads(__tstate);
110da5b0 7040 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 7041 }
15afbcd0 7042 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
d14a1e28
RD
7043 return resultobj;
7044 fail:
7045 return NULL;
7046}
7047
7048
c32bde28 7049static PyObject *_wrap_SashWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7050 PyObject *resultobj;
7051 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7052 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 7053 int arg3 = (int) -1 ;
d14a1e28
RD
7054 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7055 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7056 wxSize const &arg5_defvalue = wxDefaultSize ;
7057 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7058 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7059 wxString const &arg7_defvalue = wxPySashNameStr ;
7060 wxString *arg7 = (wxString *) &arg7_defvalue ;
7061 bool result;
7062 wxPoint temp4 ;
7063 wxSize temp5 ;
e811c8ce 7064 bool temp7 = False ;
d14a1e28
RD
7065 PyObject * obj0 = 0 ;
7066 PyObject * obj1 = 0 ;
994141e6 7067 PyObject * obj2 = 0 ;
d14a1e28
RD
7068 PyObject * obj3 = 0 ;
7069 PyObject * obj4 = 0 ;
994141e6 7070 PyObject * obj5 = 0 ;
d14a1e28
RD
7071 PyObject * obj6 = 0 ;
7072 char *kwnames[] = {
7073 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7074 };
7075
248ed943 7076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
7077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7079 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
7080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 7081 if (obj2) {
c32bde28 7082 arg3 = (int)SWIG_As_int(obj2);
248ed943
RD
7083 if (PyErr_Occurred()) SWIG_fail;
7084 }
d14a1e28
RD
7085 if (obj3) {
7086 {
7087 arg4 = &temp4;
7088 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7089 }
7090 }
7091 if (obj4) {
7092 {
7093 arg5 = &temp5;
7094 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7095 }
7096 }
994141e6 7097 if (obj5) {
c32bde28 7098 arg6 = (long)SWIG_As_long(obj5);
15afbcd0 7099 if (PyErr_Occurred()) SWIG_fail;
994141e6 7100 }
d14a1e28
RD
7101 if (obj6) {
7102 {
7103 arg7 = wxString_in_helper(obj6);
7104 if (arg7 == NULL) SWIG_fail;
e811c8ce 7105 temp7 = True;
d14a1e28
RD
7106 }
7107 }
7108 {
7109 PyThreadState* __tstate = wxPyBeginAllowThreads();
7110 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7111
7112 wxPyEndAllowThreads(__tstate);
7113 if (PyErr_Occurred()) SWIG_fail;
7114 }
4f89f6a3
RD
7115 {
7116 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7117 }
d14a1e28
RD
7118 {
7119 if (temp7)
7120 delete arg7;
7121 }
7122 return resultobj;
7123 fail:
7124 {
7125 if (temp7)
7126 delete arg7;
7127 }
7128 return NULL;
7129}
7130
7131
c32bde28 7132static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7133 PyObject *resultobj;
7134 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7135 int arg2 ;
7136 bool arg3 ;
7137 PyObject * obj0 = 0 ;
994141e6 7138 PyObject * obj1 = 0 ;
d14a1e28
RD
7139 PyObject * obj2 = 0 ;
7140 char *kwnames[] = {
7141 (char *) "self",(char *) "edge",(char *) "sash", NULL
7142 };
7143
994141e6 7144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7147 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 7148 if (PyErr_Occurred()) SWIG_fail;
c32bde28 7149 arg3 = (bool)SWIG_As_bool(obj2);
15afbcd0 7150 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7151 {
7152 PyThreadState* __tstate = wxPyBeginAllowThreads();
7153 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
7154
7155 wxPyEndAllowThreads(__tstate);
7156 if (PyErr_Occurred()) SWIG_fail;
7157 }
7158 Py_INCREF(Py_None); resultobj = Py_None;
7159 return resultobj;
7160 fail:
7161 return NULL;
7162}
7163
7164
c32bde28 7165static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7166 PyObject *resultobj;
7167 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7168 int arg2 ;
7169 bool result;
7170 PyObject * obj0 = 0 ;
994141e6 7171 PyObject * obj1 = 0 ;
d14a1e28
RD
7172 char *kwnames[] = {
7173 (char *) "self",(char *) "edge", NULL
7174 };
7175
994141e6 7176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7179 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 7180 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7181 {
7182 PyThreadState* __tstate = wxPyBeginAllowThreads();
7183 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
7184
7185 wxPyEndAllowThreads(__tstate);
7186 if (PyErr_Occurred()) SWIG_fail;
7187 }
4f89f6a3
RD
7188 {
7189 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7190 }
d14a1e28
RD
7191 return resultobj;
7192 fail:
7193 return NULL;
7194}
7195
7196
c32bde28 7197static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7198 PyObject *resultobj;
7199 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7200 int arg2 ;
7201 bool arg3 ;
7202 PyObject * obj0 = 0 ;
994141e6 7203 PyObject * obj1 = 0 ;
d14a1e28
RD
7204 PyObject * obj2 = 0 ;
7205 char *kwnames[] = {
7206 (char *) "self",(char *) "edge",(char *) "border", NULL
7207 };
7208
994141e6 7209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7212 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 7213 if (PyErr_Occurred()) SWIG_fail;
c32bde28 7214 arg3 = (bool)SWIG_As_bool(obj2);
15afbcd0 7215 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7216 {
7217 PyThreadState* __tstate = wxPyBeginAllowThreads();
7218 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
7219
7220 wxPyEndAllowThreads(__tstate);
7221 if (PyErr_Occurred()) SWIG_fail;
7222 }
7223 Py_INCREF(Py_None); resultobj = Py_None;
7224 return resultobj;
7225 fail:
7226 return NULL;
7227}
7228
7229
c32bde28 7230static PyObject *_wrap_SashWindow_HasBorder(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7231 PyObject *resultobj;
7232 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7233 int arg2 ;
7234 bool result;
7235 PyObject * obj0 = 0 ;
994141e6 7236 PyObject * obj1 = 0 ;
d14a1e28
RD
7237 char *kwnames[] = {
7238 (char *) "self",(char *) "edge", NULL
7239 };
7240
994141e6 7241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7244 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 7245 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7246 {
7247 PyThreadState* __tstate = wxPyBeginAllowThreads();
7248 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
7249
7250 wxPyEndAllowThreads(__tstate);
7251 if (PyErr_Occurred()) SWIG_fail;
7252 }
4f89f6a3
RD
7253 {
7254 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7255 }
d14a1e28
RD
7256 return resultobj;
7257 fail:
7258 return NULL;
7259}
7260
7261
c32bde28 7262static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7263 PyObject *resultobj;
7264 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7265 int arg2 ;
7266 int result;
7267 PyObject * obj0 = 0 ;
994141e6 7268 PyObject * obj1 = 0 ;
d14a1e28
RD
7269 char *kwnames[] = {
7270 (char *) "self",(char *) "edge", NULL
7271 };
7272
994141e6 7273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7276 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 7277 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7278 {
7279 PyThreadState* __tstate = wxPyBeginAllowThreads();
7280 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
7281
7282 wxPyEndAllowThreads(__tstate);
7283 if (PyErr_Occurred()) SWIG_fail;
7284 }
c32bde28 7285 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
7286 return resultobj;
7287 fail:
7288 return NULL;
7289}
7290
7291
c32bde28 7292static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7293 PyObject *resultobj;
7294 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7295 int arg2 ;
7296 PyObject * obj0 = 0 ;
994141e6 7297 PyObject * obj1 = 0 ;
d14a1e28
RD
7298 char *kwnames[] = {
7299 (char *) "self",(char *) "width", NULL
7300 };
7301
994141e6 7302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7305 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 7306 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7307 {
7308 PyThreadState* __tstate = wxPyBeginAllowThreads();
7309 (arg1)->SetDefaultBorderSize(arg2);
7310
7311 wxPyEndAllowThreads(__tstate);
7312 if (PyErr_Occurred()) SWIG_fail;
7313 }
7314 Py_INCREF(Py_None); resultobj = Py_None;
7315 return resultobj;
7316 fail:
7317 return NULL;
7318}
7319
7320
c32bde28 7321static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7322 PyObject *resultobj;
7323 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7324 int result;
7325 PyObject * obj0 = 0 ;
7326 char *kwnames[] = {
7327 (char *) "self", NULL
7328 };
7329
7330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
7331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7333 {
7334 PyThreadState* __tstate = wxPyBeginAllowThreads();
7335 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
7336
7337 wxPyEndAllowThreads(__tstate);
7338 if (PyErr_Occurred()) SWIG_fail;
7339 }
c32bde28 7340 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
7341 return resultobj;
7342 fail:
7343 return NULL;
7344}
7345
7346
c32bde28 7347static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7348 PyObject *resultobj;
7349 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7350 int arg2 ;
7351 PyObject * obj0 = 0 ;
994141e6 7352 PyObject * obj1 = 0 ;
d14a1e28
RD
7353 char *kwnames[] = {
7354 (char *) "self",(char *) "width", NULL
7355 };
7356
994141e6 7357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7360 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 7361 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7362 {
7363 PyThreadState* __tstate = wxPyBeginAllowThreads();
7364 (arg1)->SetExtraBorderSize(arg2);
7365
7366 wxPyEndAllowThreads(__tstate);
7367 if (PyErr_Occurred()) SWIG_fail;
7368 }
7369 Py_INCREF(Py_None); resultobj = Py_None;
7370 return resultobj;
7371 fail:
7372 return NULL;
7373}
7374
7375
c32bde28 7376static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7377 PyObject *resultobj;
7378 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7379 int result;
7380 PyObject * obj0 = 0 ;
7381 char *kwnames[] = {
7382 (char *) "self", NULL
7383 };
7384
7385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
7386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7388 {
7389 PyThreadState* __tstate = wxPyBeginAllowThreads();
7390 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
7391
7392 wxPyEndAllowThreads(__tstate);
7393 if (PyErr_Occurred()) SWIG_fail;
7394 }
c32bde28 7395 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
7396 return resultobj;
7397 fail:
7398 return NULL;
7399}
7400
7401
c32bde28 7402static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7403 PyObject *resultobj;
7404 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7405 int arg2 ;
7406 PyObject * obj0 = 0 ;
994141e6 7407 PyObject * obj1 = 0 ;
d14a1e28
RD
7408 char *kwnames[] = {
7409 (char *) "self",(char *) "min", NULL
7410 };
7411
994141e6 7412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7415 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 7416 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7417 {
7418 PyThreadState* __tstate = wxPyBeginAllowThreads();
7419 (arg1)->SetMinimumSizeX(arg2);
7420
7421 wxPyEndAllowThreads(__tstate);
7422 if (PyErr_Occurred()) SWIG_fail;
7423 }
7424 Py_INCREF(Py_None); resultobj = Py_None;
7425 return resultobj;
7426 fail:
7427 return NULL;
7428}
7429
7430
c32bde28 7431static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7432 PyObject *resultobj;
7433 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7434 int arg2 ;
7435 PyObject * obj0 = 0 ;
994141e6 7436 PyObject * obj1 = 0 ;
d14a1e28
RD
7437 char *kwnames[] = {
7438 (char *) "self",(char *) "min", NULL
7439 };
7440
994141e6 7441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7444 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 7445 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7446 {
7447 PyThreadState* __tstate = wxPyBeginAllowThreads();
7448 (arg1)->SetMinimumSizeY(arg2);
7449
7450 wxPyEndAllowThreads(__tstate);
7451 if (PyErr_Occurred()) SWIG_fail;
7452 }
7453 Py_INCREF(Py_None); resultobj = Py_None;
7454 return resultobj;
7455 fail:
7456 return NULL;
7457}
7458
7459
c32bde28 7460static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7461 PyObject *resultobj;
7462 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7463 int result;
7464 PyObject * obj0 = 0 ;
7465 char *kwnames[] = {
7466 (char *) "self", NULL
7467 };
7468
7469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
15afbcd0
RD
7470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7472 {
7473 PyThreadState* __tstate = wxPyBeginAllowThreads();
7474 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
7475
7476 wxPyEndAllowThreads(__tstate);
7477 if (PyErr_Occurred()) SWIG_fail;
7478 }
c32bde28 7479 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
7480 return resultobj;
7481 fail:
7482 return NULL;
7483}
7484
7485
c32bde28 7486static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7487 PyObject *resultobj;
7488 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7489 int result;
7490 PyObject * obj0 = 0 ;
7491 char *kwnames[] = {
7492 (char *) "self", NULL
7493 };
7494
7495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
15afbcd0
RD
7496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7498 {
7499 PyThreadState* __tstate = wxPyBeginAllowThreads();
7500 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
7501
7502 wxPyEndAllowThreads(__tstate);
7503 if (PyErr_Occurred()) SWIG_fail;
7504 }
c32bde28 7505 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
7506 return resultobj;
7507 fail:
7508 return NULL;
7509}
7510
7511
c32bde28 7512static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7513 PyObject *resultobj;
7514 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7515 int arg2 ;
7516 PyObject * obj0 = 0 ;
994141e6 7517 PyObject * obj1 = 0 ;
d14a1e28
RD
7518 char *kwnames[] = {
7519 (char *) "self",(char *) "max", NULL
7520 };
7521
994141e6 7522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7525 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 7526 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7527 {
7528 PyThreadState* __tstate = wxPyBeginAllowThreads();
7529 (arg1)->SetMaximumSizeX(arg2);
7530
7531 wxPyEndAllowThreads(__tstate);
7532 if (PyErr_Occurred()) SWIG_fail;
7533 }
7534 Py_INCREF(Py_None); resultobj = Py_None;
7535 return resultobj;
7536 fail:
7537 return NULL;
7538}
7539
7540
c32bde28 7541static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7542 PyObject *resultobj;
7543 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7544 int arg2 ;
7545 PyObject * obj0 = 0 ;
994141e6 7546 PyObject * obj1 = 0 ;
d14a1e28
RD
7547 char *kwnames[] = {
7548 (char *) "self",(char *) "max", NULL
7549 };
7550
994141e6 7551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7554 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 7555 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7556 {
7557 PyThreadState* __tstate = wxPyBeginAllowThreads();
7558 (arg1)->SetMaximumSizeY(arg2);
7559
7560 wxPyEndAllowThreads(__tstate);
7561 if (PyErr_Occurred()) SWIG_fail;
7562 }
7563 Py_INCREF(Py_None); resultobj = Py_None;
7564 return resultobj;
7565 fail:
7566 return NULL;
7567}
7568
7569
c32bde28 7570static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7571 PyObject *resultobj;
7572 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7573 int result;
7574 PyObject * obj0 = 0 ;
7575 char *kwnames[] = {
7576 (char *) "self", NULL
7577 };
7578
7579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
15afbcd0
RD
7580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7582 {
7583 PyThreadState* __tstate = wxPyBeginAllowThreads();
7584 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
7585
7586 wxPyEndAllowThreads(__tstate);
7587 if (PyErr_Occurred()) SWIG_fail;
7588 }
c32bde28 7589 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
7590 return resultobj;
7591 fail:
7592 return NULL;
7593}
7594
7595
c32bde28 7596static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7597 PyObject *resultobj;
7598 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7599 int result;
7600 PyObject * obj0 = 0 ;
7601 char *kwnames[] = {
7602 (char *) "self", NULL
7603 };
7604
7605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
15afbcd0
RD
7606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7608 {
7609 PyThreadState* __tstate = wxPyBeginAllowThreads();
7610 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
7611
7612 wxPyEndAllowThreads(__tstate);
7613 if (PyErr_Occurred()) SWIG_fail;
7614 }
c32bde28 7615 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
7616 return resultobj;
7617 fail:
7618 return NULL;
7619}
7620
7621
c32bde28 7622static PyObject *_wrap_SashWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7623 PyObject *resultobj;
7624 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7625 int arg2 ;
7626 int arg3 ;
7627 int arg4 = (int) 2 ;
7628 int result;
7629 PyObject * obj0 = 0 ;
994141e6
RD
7630 PyObject * obj1 = 0 ;
7631 PyObject * obj2 = 0 ;
7632 PyObject * obj3 = 0 ;
d14a1e28
RD
7633 char *kwnames[] = {
7634 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7635 };
7636
994141e6 7637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
7638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7640 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 7641 if (PyErr_Occurred()) SWIG_fail;
c32bde28 7642 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 7643 if (PyErr_Occurred()) SWIG_fail;
994141e6 7644 if (obj3) {
c32bde28 7645 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 7646 if (PyErr_Occurred()) SWIG_fail;
994141e6 7647 }
d14a1e28
RD
7648 {
7649 PyThreadState* __tstate = wxPyBeginAllowThreads();
7650 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
7651
7652 wxPyEndAllowThreads(__tstate);
7653 if (PyErr_Occurred()) SWIG_fail;
7654 }
c32bde28 7655 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
7656 return resultobj;
7657 fail:
7658 return NULL;
7659}
7660
7661
c32bde28 7662static PyObject *_wrap_SashWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7663 PyObject *resultobj;
7664 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7665 PyObject * obj0 = 0 ;
7666 char *kwnames[] = {
7667 (char *) "self", NULL
7668 };
7669
7670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
15afbcd0
RD
7671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7673 {
7674 PyThreadState* __tstate = wxPyBeginAllowThreads();
7675 (arg1)->SizeWindows();
7676
7677 wxPyEndAllowThreads(__tstate);
7678 if (PyErr_Occurred()) SWIG_fail;
7679 }
7680 Py_INCREF(Py_None); resultobj = Py_None;
7681 return resultobj;
7682 fail:
7683 return NULL;
7684}
7685
7686
c32bde28 7687static PyObject * SashWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7688 PyObject *obj;
7689 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7690 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
7691 Py_INCREF(obj);
7692 return Py_BuildValue((char *)"");
7693}
c32bde28 7694static PyObject *_wrap_new_SashEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7695 PyObject *resultobj;
7696 int arg1 = (int) 0 ;
7697 int arg2 = (int) wxSASH_NONE ;
7698 wxSashEvent *result;
994141e6
RD
7699 PyObject * obj0 = 0 ;
7700 PyObject * obj1 = 0 ;
d14a1e28
RD
7701 char *kwnames[] = {
7702 (char *) "id",(char *) "edge", NULL
7703 };
7704
994141e6
RD
7705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
7706 if (obj0) {
c32bde28 7707 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 7708 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
7709 }
7710 if (obj1) {
c32bde28 7711 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 7712 if (PyErr_Occurred()) SWIG_fail;
994141e6 7713 }
d14a1e28
RD
7714 {
7715 PyThreadState* __tstate = wxPyBeginAllowThreads();
7716 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
7717
7718 wxPyEndAllowThreads(__tstate);
7719 if (PyErr_Occurred()) SWIG_fail;
7720 }
15afbcd0 7721 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
d14a1e28
RD
7722 return resultobj;
7723 fail:
7724 return NULL;
7725}
7726
7727
c32bde28 7728static PyObject *_wrap_SashEvent_SetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7729 PyObject *resultobj;
7730 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7731 int arg2 ;
7732 PyObject * obj0 = 0 ;
994141e6 7733 PyObject * obj1 = 0 ;
d14a1e28
RD
7734 char *kwnames[] = {
7735 (char *) "self",(char *) "edge", NULL
7736 };
7737
994141e6 7738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7741 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 7742 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7743 {
7744 PyThreadState* __tstate = wxPyBeginAllowThreads();
7745 (arg1)->SetEdge((wxSashEdgePosition )arg2);
7746
7747 wxPyEndAllowThreads(__tstate);
7748 if (PyErr_Occurred()) SWIG_fail;
7749 }
7750 Py_INCREF(Py_None); resultobj = Py_None;
7751 return resultobj;
7752 fail:
7753 return NULL;
7754}
7755
7756
c32bde28 7757static PyObject *_wrap_SashEvent_GetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7758 PyObject *resultobj;
7759 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7760 int result;
7761 PyObject * obj0 = 0 ;
7762 char *kwnames[] = {
7763 (char *) "self", NULL
7764 };
7765
7766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
15afbcd0
RD
7767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7769 {
7770 PyThreadState* __tstate = wxPyBeginAllowThreads();
7771 result = (int)((wxSashEvent const *)arg1)->GetEdge();
7772
7773 wxPyEndAllowThreads(__tstate);
7774 if (PyErr_Occurred()) SWIG_fail;
7775 }
c32bde28 7776 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
7777 return resultobj;
7778 fail:
7779 return NULL;
7780}
7781
7782
c32bde28 7783static PyObject *_wrap_SashEvent_SetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7784 PyObject *resultobj;
7785 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7786 wxRect *arg2 = 0 ;
7787 wxRect temp2 ;
7788 PyObject * obj0 = 0 ;
7789 PyObject * obj1 = 0 ;
7790 char *kwnames[] = {
7791 (char *) "self",(char *) "rect", NULL
7792 };
7793
7794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7797 {
7798 arg2 = &temp2;
7799 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7800 }
7801 {
7802 PyThreadState* __tstate = wxPyBeginAllowThreads();
7803 (arg1)->SetDragRect((wxRect const &)*arg2);
7804
7805 wxPyEndAllowThreads(__tstate);
7806 if (PyErr_Occurred()) SWIG_fail;
7807 }
7808 Py_INCREF(Py_None); resultobj = Py_None;
7809 return resultobj;
7810 fail:
7811 return NULL;
7812}
7813
7814
c32bde28 7815static PyObject *_wrap_SashEvent_GetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7816 PyObject *resultobj;
7817 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7818 wxRect result;
7819 PyObject * obj0 = 0 ;
7820 char *kwnames[] = {
7821 (char *) "self", NULL
7822 };
7823
7824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
15afbcd0
RD
7825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7827 {
7828 PyThreadState* __tstate = wxPyBeginAllowThreads();
7829 result = ((wxSashEvent const *)arg1)->GetDragRect();
7830
7831 wxPyEndAllowThreads(__tstate);
7832 if (PyErr_Occurred()) SWIG_fail;
7833 }
7834 {
7835 wxRect * resultptr;
7836 resultptr = new wxRect((wxRect &) result);
15afbcd0 7837 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
7838 }
7839 return resultobj;
7840 fail:
7841 return NULL;
7842}
7843
7844
c32bde28 7845static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7846 PyObject *resultobj;
7847 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7848 int arg2 ;
7849 PyObject * obj0 = 0 ;
994141e6 7850 PyObject * obj1 = 0 ;
d14a1e28
RD
7851 char *kwnames[] = {
7852 (char *) "self",(char *) "status", NULL
7853 };
7854
994141e6 7855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7858 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 7859 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7860 {
7861 PyThreadState* __tstate = wxPyBeginAllowThreads();
7862 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
7863
7864 wxPyEndAllowThreads(__tstate);
7865 if (PyErr_Occurred()) SWIG_fail;
7866 }
7867 Py_INCREF(Py_None); resultobj = Py_None;
7868 return resultobj;
7869 fail:
7870 return NULL;
7871}
7872
7873
c32bde28 7874static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7875 PyObject *resultobj;
7876 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7877 int result;
7878 PyObject * obj0 = 0 ;
7879 char *kwnames[] = {
7880 (char *) "self", NULL
7881 };
7882
7883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
15afbcd0
RD
7884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7886 {
7887 PyThreadState* __tstate = wxPyBeginAllowThreads();
7888 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
7889
7890 wxPyEndAllowThreads(__tstate);
7891 if (PyErr_Occurred()) SWIG_fail;
7892 }
c32bde28 7893 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
7894 return resultobj;
7895 fail:
7896 return NULL;
7897}
7898
7899
c32bde28 7900static PyObject * SashEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7901 PyObject *obj;
7902 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7903 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
7904 Py_INCREF(obj);
7905 return Py_BuildValue((char *)"");
7906}
c32bde28 7907static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 7908 PyObject *resultobj;
e811c8ce 7909 int arg1 = (int) 0 ;
d14a1e28 7910 wxQueryLayoutInfoEvent *result;
994141e6 7911 PyObject * obj0 = 0 ;
d14a1e28
RD
7912 char *kwnames[] = {
7913 (char *) "id", NULL
7914 };
7915
994141e6
RD
7916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
7917 if (obj0) {
c32bde28 7918 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 7919 if (PyErr_Occurred()) SWIG_fail;
994141e6 7920 }
d14a1e28
RD
7921 {
7922 PyThreadState* __tstate = wxPyBeginAllowThreads();
7923 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
7924
7925 wxPyEndAllowThreads(__tstate);
7926 if (PyErr_Occurred()) SWIG_fail;
7927 }
15afbcd0 7928 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
d14a1e28
RD
7929 return resultobj;
7930 fail:
7931 return NULL;
7932}
7933
7934
c32bde28 7935static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7936 PyObject *resultobj;
7937 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7938 int arg2 ;
7939 PyObject * obj0 = 0 ;
994141e6 7940 PyObject * obj1 = 0 ;
d14a1e28
RD
7941 char *kwnames[] = {
7942 (char *) "self",(char *) "length", NULL
7943 };
7944
994141e6 7945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7948 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 7949 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7950 {
7951 PyThreadState* __tstate = wxPyBeginAllowThreads();
7952 (arg1)->SetRequestedLength(arg2);
7953
7954 wxPyEndAllowThreads(__tstate);
7955 if (PyErr_Occurred()) SWIG_fail;
7956 }
7957 Py_INCREF(Py_None); resultobj = Py_None;
7958 return resultobj;
7959 fail:
7960 return NULL;
7961}
7962
7963
c32bde28 7964static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7965 PyObject *resultobj;
7966 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7967 int result;
7968 PyObject * obj0 = 0 ;
7969 char *kwnames[] = {
7970 (char *) "self", NULL
7971 };
7972
7973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
15afbcd0
RD
7974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7976 {
7977 PyThreadState* __tstate = wxPyBeginAllowThreads();
7978 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
7979
7980 wxPyEndAllowThreads(__tstate);
7981 if (PyErr_Occurred()) SWIG_fail;
7982 }
c32bde28 7983 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
7984 return resultobj;
7985 fail:
7986 return NULL;
7987}
7988
7989
c32bde28 7990static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7991 PyObject *resultobj;
7992 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7993 int arg2 ;
7994 PyObject * obj0 = 0 ;
994141e6 7995 PyObject * obj1 = 0 ;
d14a1e28
RD
7996 char *kwnames[] = {
7997 (char *) "self",(char *) "flags", NULL
7998 };
7999
994141e6 8000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 8003 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 8004 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8005 {
8006 PyThreadState* __tstate = wxPyBeginAllowThreads();
8007 (arg1)->SetFlags(arg2);
8008
8009 wxPyEndAllowThreads(__tstate);
8010 if (PyErr_Occurred()) SWIG_fail;
8011 }
8012 Py_INCREF(Py_None); resultobj = Py_None;
8013 return resultobj;
8014 fail:
8015 return NULL;
8016}
8017
8018
c32bde28 8019static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8020 PyObject *resultobj;
8021 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8022 int result;
8023 PyObject * obj0 = 0 ;
8024 char *kwnames[] = {
8025 (char *) "self", NULL
8026 };
8027
8028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
15afbcd0
RD
8029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8031 {
8032 PyThreadState* __tstate = wxPyBeginAllowThreads();
8033 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
8034
8035 wxPyEndAllowThreads(__tstate);
8036 if (PyErr_Occurred()) SWIG_fail;
8037 }
c32bde28 8038 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
8039 return resultobj;
8040 fail:
8041 return NULL;
8042}
8043
8044
c32bde28 8045static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8046 PyObject *resultobj;
8047 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8048 wxSize *arg2 = 0 ;
8049 wxSize temp2 ;
8050 PyObject * obj0 = 0 ;
8051 PyObject * obj1 = 0 ;
8052 char *kwnames[] = {
8053 (char *) "self",(char *) "size", NULL
8054 };
8055
8056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8059 {
8060 arg2 = &temp2;
8061 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
8062 }
8063 {
8064 PyThreadState* __tstate = wxPyBeginAllowThreads();
8065 (arg1)->SetSize((wxSize const &)*arg2);
8066
8067 wxPyEndAllowThreads(__tstate);
8068 if (PyErr_Occurred()) SWIG_fail;
8069 }
8070 Py_INCREF(Py_None); resultobj = Py_None;
8071 return resultobj;
8072 fail:
8073 return NULL;
8074}
8075
8076
c32bde28 8077static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8078 PyObject *resultobj;
8079 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8080 wxSize result;
8081 PyObject * obj0 = 0 ;
8082 char *kwnames[] = {
8083 (char *) "self", NULL
8084 };
8085
8086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
8087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8089 {
8090 PyThreadState* __tstate = wxPyBeginAllowThreads();
8091 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
8092
8093 wxPyEndAllowThreads(__tstate);
8094 if (PyErr_Occurred()) SWIG_fail;
8095 }
8096 {
8097 wxSize * resultptr;
8098 resultptr = new wxSize((wxSize &) result);
15afbcd0 8099 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
8100 }
8101 return resultobj;
8102 fail:
8103 return NULL;
8104}
8105
8106
c32bde28 8107static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8108 PyObject *resultobj;
8109 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8110 int arg2 ;
8111 PyObject * obj0 = 0 ;
994141e6 8112 PyObject * obj1 = 0 ;
d14a1e28
RD
8113 char *kwnames[] = {
8114 (char *) "self",(char *) "orient", NULL
8115 };
8116
994141e6 8117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 8120 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 8121 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8122 {
8123 PyThreadState* __tstate = wxPyBeginAllowThreads();
8124 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8125
8126 wxPyEndAllowThreads(__tstate);
8127 if (PyErr_Occurred()) SWIG_fail;
8128 }
8129 Py_INCREF(Py_None); resultobj = Py_None;
8130 return resultobj;
8131 fail:
8132 return NULL;
8133}
8134
8135
c32bde28 8136static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8137 PyObject *resultobj;
8138 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8139 int result;
8140 PyObject * obj0 = 0 ;
8141 char *kwnames[] = {
8142 (char *) "self", NULL
8143 };
8144
8145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
15afbcd0
RD
8146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8148 {
8149 PyThreadState* __tstate = wxPyBeginAllowThreads();
8150 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
8151
8152 wxPyEndAllowThreads(__tstate);
8153 if (PyErr_Occurred()) SWIG_fail;
8154 }
c32bde28 8155 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
8156 return resultobj;
8157 fail:
8158 return NULL;
8159}
8160
8161
c32bde28 8162static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8163 PyObject *resultobj;
8164 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8165 int arg2 ;
8166 PyObject * obj0 = 0 ;
994141e6 8167 PyObject * obj1 = 0 ;
d14a1e28
RD
8168 char *kwnames[] = {
8169 (char *) "self",(char *) "align", NULL
8170 };
8171
994141e6 8172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 8175 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 8176 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8177 {
8178 PyThreadState* __tstate = wxPyBeginAllowThreads();
8179 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
8180
8181 wxPyEndAllowThreads(__tstate);
8182 if (PyErr_Occurred()) SWIG_fail;
8183 }
8184 Py_INCREF(Py_None); resultobj = Py_None;
8185 return resultobj;
8186 fail:
8187 return NULL;
8188}
8189
8190
c32bde28 8191static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8192 PyObject *resultobj;
8193 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8194 int result;
8195 PyObject * obj0 = 0 ;
8196 char *kwnames[] = {
8197 (char *) "self", NULL
8198 };
8199
8200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
15afbcd0
RD
8201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8203 {
8204 PyThreadState* __tstate = wxPyBeginAllowThreads();
8205 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
8206
8207 wxPyEndAllowThreads(__tstate);
8208 if (PyErr_Occurred()) SWIG_fail;
8209 }
c32bde28 8210 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
8211 return resultobj;
8212 fail:
8213 return NULL;
8214}
8215
8216
c32bde28 8217static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
8218 PyObject *obj;
8219 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8220 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
8221 Py_INCREF(obj);
8222 return Py_BuildValue((char *)"");
8223}
c32bde28 8224static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 8225 PyObject *resultobj;
e811c8ce 8226 int arg1 = (int) 0 ;
d14a1e28 8227 wxCalculateLayoutEvent *result;
994141e6 8228 PyObject * obj0 = 0 ;
d14a1e28
RD
8229 char *kwnames[] = {
8230 (char *) "id", NULL
8231 };
8232
994141e6
RD
8233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
8234 if (obj0) {
c32bde28 8235 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 8236 if (PyErr_Occurred()) SWIG_fail;
994141e6 8237 }
d14a1e28
RD
8238 {
8239 PyThreadState* __tstate = wxPyBeginAllowThreads();
8240 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
8241
8242 wxPyEndAllowThreads(__tstate);
8243 if (PyErr_Occurred()) SWIG_fail;
8244 }
15afbcd0 8245 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
d14a1e28
RD
8246 return resultobj;
8247 fail:
8248 return NULL;
8249}
8250
8251
c32bde28 8252static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8253 PyObject *resultobj;
8254 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8255 int arg2 ;
8256 PyObject * obj0 = 0 ;
994141e6 8257 PyObject * obj1 = 0 ;
d14a1e28
RD
8258 char *kwnames[] = {
8259 (char *) "self",(char *) "flags", NULL
8260 };
8261
994141e6 8262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 8265 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 8266 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8267 {
8268 PyThreadState* __tstate = wxPyBeginAllowThreads();
8269 (arg1)->SetFlags(arg2);
8270
8271 wxPyEndAllowThreads(__tstate);
8272 if (PyErr_Occurred()) SWIG_fail;
8273 }
8274 Py_INCREF(Py_None); resultobj = Py_None;
8275 return resultobj;
8276 fail:
8277 return NULL;
8278}
8279
8280
c32bde28 8281static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8282 PyObject *resultobj;
8283 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8284 int result;
8285 PyObject * obj0 = 0 ;
8286 char *kwnames[] = {
8287 (char *) "self", NULL
8288 };
8289
8290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
15afbcd0
RD
8291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8293 {
8294 PyThreadState* __tstate = wxPyBeginAllowThreads();
8295 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
8296
8297 wxPyEndAllowThreads(__tstate);
8298 if (PyErr_Occurred()) SWIG_fail;
8299 }
c32bde28 8300 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
8301 return resultobj;
8302 fail:
8303 return NULL;
8304}
8305
8306
c32bde28 8307static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8308 PyObject *resultobj;
8309 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8310 wxRect *arg2 = 0 ;
8311 wxRect temp2 ;
8312 PyObject * obj0 = 0 ;
8313 PyObject * obj1 = 0 ;
8314 char *kwnames[] = {
8315 (char *) "self",(char *) "rect", NULL
8316 };
8317
8318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8321 {
8322 arg2 = &temp2;
8323 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8324 }
8325 {
8326 PyThreadState* __tstate = wxPyBeginAllowThreads();
8327 (arg1)->SetRect((wxRect const &)*arg2);
8328
8329 wxPyEndAllowThreads(__tstate);
8330 if (PyErr_Occurred()) SWIG_fail;
8331 }
8332 Py_INCREF(Py_None); resultobj = Py_None;
8333 return resultobj;
8334 fail:
8335 return NULL;
8336}
8337
8338
c32bde28 8339static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8340 PyObject *resultobj;
8341 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8342 wxRect result;
8343 PyObject * obj0 = 0 ;
8344 char *kwnames[] = {
8345 (char *) "self", NULL
8346 };
8347
8348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
15afbcd0
RD
8349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8351 {
8352 PyThreadState* __tstate = wxPyBeginAllowThreads();
8353 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
8354
8355 wxPyEndAllowThreads(__tstate);
8356 if (PyErr_Occurred()) SWIG_fail;
8357 }
8358 {
8359 wxRect * resultptr;
8360 resultptr = new wxRect((wxRect &) result);
15afbcd0 8361 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
8362 }
8363 return resultobj;
8364 fail:
8365 return NULL;
8366}
8367
8368
c32bde28 8369static PyObject * CalculateLayoutEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
8370 PyObject *obj;
8371 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8372 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
8373 Py_INCREF(obj);
8374 return Py_BuildValue((char *)"");
8375}
c32bde28 8376static PyObject *_wrap_new_SashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8377 PyObject *resultobj;
8378 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 8379 int arg2 = (int) -1 ;
d14a1e28
RD
8380 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8381 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8382 wxSize const &arg4_defvalue = wxDefaultSize ;
8383 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8384 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8385 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
8386 wxString *arg6 = (wxString *) &arg6_defvalue ;
8387 wxSashLayoutWindow *result;
8388 wxPoint temp3 ;
8389 wxSize temp4 ;
e811c8ce 8390 bool temp6 = False ;
d14a1e28 8391 PyObject * obj0 = 0 ;
994141e6 8392 PyObject * obj1 = 0 ;
d14a1e28
RD
8393 PyObject * obj2 = 0 ;
8394 PyObject * obj3 = 0 ;
994141e6 8395 PyObject * obj4 = 0 ;
d14a1e28
RD
8396 PyObject * obj5 = 0 ;
8397 char *kwnames[] = {
8398 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8399 };
8400
248ed943 8401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
8402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 8404 if (obj1) {
c32bde28 8405 arg2 = (int)SWIG_As_int(obj1);
248ed943
RD
8406 if (PyErr_Occurred()) SWIG_fail;
8407 }
d14a1e28
RD
8408 if (obj2) {
8409 {
8410 arg3 = &temp3;
8411 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8412 }
8413 }
8414 if (obj3) {
8415 {
8416 arg4 = &temp4;
8417 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8418 }
8419 }
994141e6 8420 if (obj4) {
c32bde28 8421 arg5 = (long)SWIG_As_long(obj4);
15afbcd0 8422 if (PyErr_Occurred()) SWIG_fail;
994141e6 8423 }
d14a1e28
RD
8424 if (obj5) {
8425 {
8426 arg6 = wxString_in_helper(obj5);
8427 if (arg6 == NULL) SWIG_fail;
e811c8ce 8428 temp6 = True;
d14a1e28
RD
8429 }
8430 }
8431 {
e3b71cb8 8432 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
8433 PyThreadState* __tstate = wxPyBeginAllowThreads();
8434 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8435
8436 wxPyEndAllowThreads(__tstate);
110da5b0 8437 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 8438 }
15afbcd0 8439 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
d14a1e28
RD
8440 {
8441 if (temp6)
8442 delete arg6;
8443 }
8444 return resultobj;
8445 fail:
8446 {
8447 if (temp6)
8448 delete arg6;
8449 }
8450 return NULL;
8451}
8452
8453
c32bde28 8454static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8455 PyObject *resultobj;
8456 wxSashLayoutWindow *result;
8457 char *kwnames[] = {
8458 NULL
8459 };
8460
8461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
8462 {
e3b71cb8 8463 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
8464 PyThreadState* __tstate = wxPyBeginAllowThreads();
8465 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
8466
8467 wxPyEndAllowThreads(__tstate);
110da5b0 8468 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 8469 }
15afbcd0 8470 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
d14a1e28
RD
8471 return resultobj;
8472 fail:
8473 return NULL;
8474}
8475
8476
c32bde28 8477static PyObject *_wrap_SashLayoutWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8478 PyObject *resultobj;
8479 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8480 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 8481 int arg3 = (int) -1 ;
d14a1e28
RD
8482 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8483 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8484 wxSize const &arg5_defvalue = wxDefaultSize ;
8485 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8486 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8487 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
8488 wxString *arg7 = (wxString *) &arg7_defvalue ;
8489 bool result;
8490 wxPoint temp4 ;
8491 wxSize temp5 ;
e811c8ce 8492 bool temp7 = False ;
d14a1e28
RD
8493 PyObject * obj0 = 0 ;
8494 PyObject * obj1 = 0 ;
994141e6 8495 PyObject * obj2 = 0 ;
d14a1e28
RD
8496 PyObject * obj3 = 0 ;
8497 PyObject * obj4 = 0 ;
994141e6 8498 PyObject * obj5 = 0 ;
d14a1e28
RD
8499 PyObject * obj6 = 0 ;
8500 char *kwnames[] = {
8501 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8502 };
8503
248ed943 8504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
8505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8507 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 8509 if (obj2) {
c32bde28 8510 arg3 = (int)SWIG_As_int(obj2);
248ed943
RD
8511 if (PyErr_Occurred()) SWIG_fail;
8512 }
d14a1e28
RD
8513 if (obj3) {
8514 {
8515 arg4 = &temp4;
8516 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8517 }
8518 }
8519 if (obj4) {
8520 {
8521 arg5 = &temp5;
8522 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8523 }
8524 }
994141e6 8525 if (obj5) {
c32bde28 8526 arg6 = (long)SWIG_As_long(obj5);
15afbcd0 8527 if (PyErr_Occurred()) SWIG_fail;
994141e6 8528 }
d14a1e28
RD
8529 if (obj6) {
8530 {
8531 arg7 = wxString_in_helper(obj6);
8532 if (arg7 == NULL) SWIG_fail;
e811c8ce 8533 temp7 = True;
d14a1e28
RD
8534 }
8535 }
8536 {
8537 PyThreadState* __tstate = wxPyBeginAllowThreads();
8538 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8539
8540 wxPyEndAllowThreads(__tstate);
8541 if (PyErr_Occurred()) SWIG_fail;
8542 }
4f89f6a3
RD
8543 {
8544 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8545 }
d14a1e28
RD
8546 {
8547 if (temp7)
8548 delete arg7;
8549 }
8550 return resultobj;
8551 fail:
8552 {
8553 if (temp7)
8554 delete arg7;
8555 }
8556 return NULL;
8557}
8558
8559
c32bde28 8560static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8561 PyObject *resultobj;
8562 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8563 int result;
8564 PyObject * obj0 = 0 ;
8565 char *kwnames[] = {
8566 (char *) "self", NULL
8567 };
8568
8569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
15afbcd0
RD
8570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8572 {
8573 PyThreadState* __tstate = wxPyBeginAllowThreads();
8574 result = (int)(arg1)->GetAlignment();
8575
8576 wxPyEndAllowThreads(__tstate);
8577 if (PyErr_Occurred()) SWIG_fail;
8578 }
c32bde28 8579 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
8580 return resultobj;
8581 fail:
8582 return NULL;
8583}
8584
8585
c32bde28 8586static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8587 PyObject *resultobj;
8588 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8589 int result;
8590 PyObject * obj0 = 0 ;
8591 char *kwnames[] = {
8592 (char *) "self", NULL
8593 };
8594
8595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
15afbcd0
RD
8596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8598 {
8599 PyThreadState* __tstate = wxPyBeginAllowThreads();
8600 result = (int)(arg1)->GetOrientation();
8601
8602 wxPyEndAllowThreads(__tstate);
8603 if (PyErr_Occurred()) SWIG_fail;
8604 }
c32bde28 8605 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
8606 return resultobj;
8607 fail:
8608 return NULL;
8609}
8610
8611
c32bde28 8612static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8613 PyObject *resultobj;
8614 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8615 int arg2 ;
8616 PyObject * obj0 = 0 ;
994141e6 8617 PyObject * obj1 = 0 ;
d14a1e28
RD
8618 char *kwnames[] = {
8619 (char *) "self",(char *) "alignment", NULL
8620 };
8621
994141e6 8622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 8625 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 8626 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8627 {
8628 PyThreadState* __tstate = wxPyBeginAllowThreads();
8629 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
8630
8631 wxPyEndAllowThreads(__tstate);
8632 if (PyErr_Occurred()) SWIG_fail;
8633 }
8634 Py_INCREF(Py_None); resultobj = Py_None;
8635 return resultobj;
8636 fail:
8637 return NULL;
8638}
8639
8640
c32bde28 8641static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8642 PyObject *resultobj;
8643 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8644 wxSize *arg2 = 0 ;
8645 wxSize temp2 ;
8646 PyObject * obj0 = 0 ;
8647 PyObject * obj1 = 0 ;
8648 char *kwnames[] = {
8649 (char *) "self",(char *) "size", NULL
8650 };
8651
8652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8655 {
8656 arg2 = &temp2;
8657 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
8658 }
8659 {
8660 PyThreadState* __tstate = wxPyBeginAllowThreads();
8661 (arg1)->SetDefaultSize((wxSize const &)*arg2);
8662
8663 wxPyEndAllowThreads(__tstate);
8664 if (PyErr_Occurred()) SWIG_fail;
8665 }
8666 Py_INCREF(Py_None); resultobj = Py_None;
8667 return resultobj;
8668 fail:
8669 return NULL;
8670}
8671
8672
c32bde28 8673static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8674 PyObject *resultobj;
8675 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8676 int arg2 ;
8677 PyObject * obj0 = 0 ;
994141e6 8678 PyObject * obj1 = 0 ;
d14a1e28
RD
8679 char *kwnames[] = {
8680 (char *) "self",(char *) "orientation", NULL
8681 };
8682
994141e6 8683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 8686 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 8687 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8688 {
8689 PyThreadState* __tstate = wxPyBeginAllowThreads();
8690 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8691
8692 wxPyEndAllowThreads(__tstate);
8693 if (PyErr_Occurred()) SWIG_fail;
8694 }
8695 Py_INCREF(Py_None); resultobj = Py_None;
8696 return resultobj;
8697 fail:
8698 return NULL;
8699}
8700
8701
c32bde28 8702static PyObject * SashLayoutWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
8703 PyObject *obj;
8704 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8705 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
8706 Py_INCREF(obj);
8707 return Py_BuildValue((char *)"");
8708}
c32bde28 8709static PyObject *_wrap_new_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8710 PyObject *resultobj;
8711 wxLayoutAlgorithm *result;
8712 char *kwnames[] = {
8713 NULL
8714 };
8715
8716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
8717 {
8718 PyThreadState* __tstate = wxPyBeginAllowThreads();
8719 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
8720
8721 wxPyEndAllowThreads(__tstate);
8722 if (PyErr_Occurred()) SWIG_fail;
8723 }
15afbcd0 8724 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
d14a1e28
RD
8725 return resultobj;
8726 fail:
8727 return NULL;
8728}
8729
8730
c32bde28 8731static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8732 PyObject *resultobj;
8733 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8734 PyObject * obj0 = 0 ;
8735 char *kwnames[] = {
8736 (char *) "self", NULL
8737 };
8738
8739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
15afbcd0
RD
8740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8742 {
8743 PyThreadState* __tstate = wxPyBeginAllowThreads();
8744 delete arg1;
8745
8746 wxPyEndAllowThreads(__tstate);
8747 if (PyErr_Occurred()) SWIG_fail;
8748 }
8749 Py_INCREF(Py_None); resultobj = Py_None;
8750 return resultobj;
8751 fail:
8752 return NULL;
8753}
8754
8755
c32bde28 8756static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8757 PyObject *resultobj;
8758 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8759 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
8760 wxRect *arg3 = (wxRect *) NULL ;
8761 bool result;
8762 PyObject * obj0 = 0 ;
8763 PyObject * obj1 = 0 ;
8764 PyObject * obj2 = 0 ;
8765 char *kwnames[] = {
8766 (char *) "self",(char *) "frame",(char *) "rect", NULL
8767 };
8768
8769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8772 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
8773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 8774 if (obj2) {
15afbcd0
RD
8775 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect,
8776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8777 }
8778 {
8779 PyThreadState* __tstate = wxPyBeginAllowThreads();
8780 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
8781
8782 wxPyEndAllowThreads(__tstate);
8783 if (PyErr_Occurred()) SWIG_fail;
8784 }
4f89f6a3
RD
8785 {
8786 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8787 }
d14a1e28
RD
8788 return resultobj;
8789 fail:
8790 return NULL;
8791}
8792
8793
c32bde28 8794static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8795 PyObject *resultobj;
8796 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8797 wxFrame *arg2 = (wxFrame *) 0 ;
8798 wxWindow *arg3 = (wxWindow *) NULL ;
8799 bool result;
8800 PyObject * obj0 = 0 ;
8801 PyObject * obj1 = 0 ;
8802 PyObject * obj2 = 0 ;
8803 char *kwnames[] = {
8804 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8805 };
8806
8807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8810 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
8811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 8812 if (obj2) {
15afbcd0
RD
8813 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8815 }
8816 {
8817 PyThreadState* __tstate = wxPyBeginAllowThreads();
8818 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
8819
8820 wxPyEndAllowThreads(__tstate);
8821 if (PyErr_Occurred()) SWIG_fail;
8822 }
4f89f6a3
RD
8823 {
8824 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8825 }
d14a1e28
RD
8826 return resultobj;
8827 fail:
8828 return NULL;
8829}
8830
8831
c32bde28 8832static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8833 PyObject *resultobj;
8834 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8835 wxWindow *arg2 = (wxWindow *) 0 ;
8836 wxWindow *arg3 = (wxWindow *) NULL ;
8837 bool result;
8838 PyObject * obj0 = 0 ;
8839 PyObject * obj1 = 0 ;
8840 PyObject * obj2 = 0 ;
8841 char *kwnames[] = {
8842 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8843 };
8844
8845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8848 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 8850 if (obj2) {
15afbcd0
RD
8851 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8853 }
8854 {
8855 PyThreadState* __tstate = wxPyBeginAllowThreads();
8856 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
8857
8858 wxPyEndAllowThreads(__tstate);
8859 if (PyErr_Occurred()) SWIG_fail;
8860 }
4f89f6a3
RD
8861 {
8862 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8863 }
d14a1e28
RD
8864 return resultobj;
8865 fail:
8866 return NULL;
8867}
8868
8869
c32bde28 8870static PyObject * LayoutAlgorithm_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
8871 PyObject *obj;
8872 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8873 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
8874 Py_INCREF(obj);
8875 return Py_BuildValue((char *)"");
8876}
c32bde28 8877static PyObject *_wrap_new_PopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8878 PyObject *resultobj;
8879 wxWindow *arg1 = (wxWindow *) 0 ;
8880 int arg2 = (int) wxBORDER_NONE ;
8881 wxPopupWindow *result;
8882 PyObject * obj0 = 0 ;
994141e6 8883 PyObject * obj1 = 0 ;
d14a1e28
RD
8884 char *kwnames[] = {
8885 (char *) "parent",(char *) "flags", NULL
8886 };
8887
994141e6 8888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 8891 if (obj1) {
c32bde28 8892 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 8893 if (PyErr_Occurred()) SWIG_fail;
994141e6 8894 }
d14a1e28 8895 {
e3b71cb8 8896 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
8897 PyThreadState* __tstate = wxPyBeginAllowThreads();
8898 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
8899
8900 wxPyEndAllowThreads(__tstate);
110da5b0 8901 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 8902 }
15afbcd0 8903 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
d14a1e28
RD
8904 return resultobj;
8905 fail:
8906 return NULL;
8907}
8908
8909
c32bde28 8910static PyObject *_wrap_new_PrePopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8911 PyObject *resultobj;
8912 wxPopupWindow *result;
8913 char *kwnames[] = {
8914 NULL
8915 };
8916
8917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
8918 {
e3b71cb8 8919 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
8920 PyThreadState* __tstate = wxPyBeginAllowThreads();
8921 result = (wxPopupWindow *)new wxPopupWindow();
8922
8923 wxPyEndAllowThreads(__tstate);
110da5b0 8924 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 8925 }
15afbcd0 8926 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
d14a1e28
RD
8927 return resultobj;
8928 fail:
8929 return NULL;
8930}
8931
8932
c32bde28 8933static PyObject *_wrap_PopupWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8934 PyObject *resultobj;
8935 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
8936 wxWindow *arg2 = (wxWindow *) 0 ;
8937 int arg3 = (int) wxBORDER_NONE ;
8938 bool result;
8939 PyObject * obj0 = 0 ;
8940 PyObject * obj1 = 0 ;
994141e6 8941 PyObject * obj2 = 0 ;
d14a1e28
RD
8942 char *kwnames[] = {
8943 (char *) "self",(char *) "parent",(char *) "flags", NULL
8944 };
8945
994141e6 8946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow,
8948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8949 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 8951 if (obj2) {
c32bde28 8952 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 8953 if (PyErr_Occurred()) SWIG_fail;
994141e6 8954 }
d14a1e28
RD
8955 {
8956 PyThreadState* __tstate = wxPyBeginAllowThreads();
8957 result = (bool)(arg1)->Create(arg2,arg3);
8958
8959 wxPyEndAllowThreads(__tstate);
8960 if (PyErr_Occurred()) SWIG_fail;
8961 }
4f89f6a3
RD
8962 {
8963 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8964 }
d14a1e28
RD
8965 return resultobj;
8966 fail:
8967 return NULL;
8968}
8969
8970
c32bde28 8971static PyObject *_wrap_PopupWindow_Position(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8972 PyObject *resultobj;
8973 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
8974 wxPoint *arg2 = 0 ;
8975 wxSize *arg3 = 0 ;
8976 wxPoint temp2 ;
8977 wxSize temp3 ;
8978 PyObject * obj0 = 0 ;
8979 PyObject * obj1 = 0 ;
8980 PyObject * obj2 = 0 ;
8981 char *kwnames[] = {
8982 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
8983 };
8984
8985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow,
8987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8988 {
8989 arg2 = &temp2;
8990 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8991 }
8992 {
8993 arg3 = &temp3;
8994 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
8995 }
8996 {
8997 PyThreadState* __tstate = wxPyBeginAllowThreads();
8998 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
8999
9000 wxPyEndAllowThreads(__tstate);
9001 if (PyErr_Occurred()) SWIG_fail;
9002 }
9003 Py_INCREF(Py_None); resultobj = Py_None;
9004 return resultobj;
9005 fail:
9006 return NULL;
9007}
9008
9009
c32bde28 9010static PyObject * PopupWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
9011 PyObject *obj;
9012 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9013 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
9014 Py_INCREF(obj);
9015 return Py_BuildValue((char *)"");
9016}
c32bde28 9017static PyObject *_wrap_new_PopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9018 PyObject *resultobj;
9019 wxWindow *arg1 = (wxWindow *) 0 ;
9020 int arg2 = (int) wxBORDER_NONE ;
9021 wxPyPopupTransientWindow *result;
9022 PyObject * obj0 = 0 ;
994141e6 9023 PyObject * obj1 = 0 ;
d14a1e28
RD
9024 char *kwnames[] = {
9025 (char *) "parent",(char *) "style", NULL
9026 };
9027
994141e6 9028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 9031 if (obj1) {
c32bde28 9032 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 9033 if (PyErr_Occurred()) SWIG_fail;
994141e6 9034 }
d14a1e28 9035 {
e3b71cb8 9036 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
9037 PyThreadState* __tstate = wxPyBeginAllowThreads();
9038 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
9039
9040 wxPyEndAllowThreads(__tstate);
110da5b0 9041 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 9042 }
15afbcd0 9043 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
d14a1e28
RD
9044 return resultobj;
9045 fail:
9046 return NULL;
9047}
9048
9049
c32bde28 9050static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9051 PyObject *resultobj;
9052 wxPyPopupTransientWindow *result;
9053 char *kwnames[] = {
9054 NULL
9055 };
9056
9057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
9058 {
e3b71cb8 9059 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
9060 PyThreadState* __tstate = wxPyBeginAllowThreads();
9061 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
9062
9063 wxPyEndAllowThreads(__tstate);
110da5b0 9064 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 9065 }
15afbcd0 9066 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
d14a1e28
RD
9067 return resultobj;
9068 fail:
9069 return NULL;
9070}
9071
9072
c32bde28 9073static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9074 PyObject *resultobj;
9075 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
9076 PyObject *arg2 = (PyObject *) 0 ;
9077 PyObject *arg3 = (PyObject *) 0 ;
9078 PyObject * obj0 = 0 ;
9079 PyObject * obj1 = 0 ;
9080 PyObject * obj2 = 0 ;
9081 char *kwnames[] = {
9082 (char *) "self",(char *) "self",(char *) "_class", NULL
9083 };
9084
9085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
9087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9088 arg2 = obj1;
9089 arg3 = obj2;
9090 {
9091 PyThreadState* __tstate = wxPyBeginAllowThreads();
9092 (arg1)->_setCallbackInfo(arg2,arg3);
9093
9094 wxPyEndAllowThreads(__tstate);
9095 if (PyErr_Occurred()) SWIG_fail;
9096 }
9097 Py_INCREF(Py_None); resultobj = Py_None;
9098 return resultobj;
9099 fail:
9100 return NULL;
9101}
9102
9103
c32bde28 9104static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9105 PyObject *resultobj;
9106 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
9107 wxWindow *arg2 = (wxWindow *) NULL ;
9108 PyObject * obj0 = 0 ;
9109 PyObject * obj1 = 0 ;
9110 char *kwnames[] = {
9111 (char *) "self",(char *) "focus", NULL
9112 };
9113
9114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
9116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 9117 if (obj1) {
15afbcd0
RD
9118 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9120 }
9121 {
9122 PyThreadState* __tstate = wxPyBeginAllowThreads();
9123 (arg1)->Popup(arg2);
9124
9125 wxPyEndAllowThreads(__tstate);
9126 if (PyErr_Occurred()) SWIG_fail;
9127 }
9128 Py_INCREF(Py_None); resultobj = Py_None;
9129 return resultobj;
9130 fail:
9131 return NULL;
9132}
9133
9134
c32bde28 9135static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9136 PyObject *resultobj;
9137 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
9138 PyObject * obj0 = 0 ;
9139 char *kwnames[] = {
9140 (char *) "self", NULL
9141 };
9142
9143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail;
15afbcd0
RD
9144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
9145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9146 {
9147 PyThreadState* __tstate = wxPyBeginAllowThreads();
9148 (arg1)->Dismiss();
9149
9150 wxPyEndAllowThreads(__tstate);
9151 if (PyErr_Occurred()) SWIG_fail;
9152 }
9153 Py_INCREF(Py_None); resultobj = Py_None;
9154 return resultobj;
9155 fail:
9156 return NULL;
9157}
9158
9159
c32bde28 9160static PyObject * PopupTransientWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
9161 PyObject *obj;
9162 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9163 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
9164 Py_INCREF(obj);
9165 return Py_BuildValue((char *)"");
9166}
c32bde28 9167static PyObject *_wrap_new_TipWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9168 PyObject *resultobj;
9169 wxWindow *arg1 = (wxWindow *) 0 ;
fd3f2efe 9170 wxString *arg2 = 0 ;
e811c8ce 9171 int arg3 = (int) 100 ;
d14a1e28
RD
9172 wxRect *arg4 = (wxRect *) NULL ;
9173 wxTipWindow *result;
fd3f2efe 9174 bool temp2 = False ;
d14a1e28
RD
9175 PyObject * obj0 = 0 ;
9176 PyObject * obj1 = 0 ;
994141e6 9177 PyObject * obj2 = 0 ;
d14a1e28
RD
9178 PyObject * obj3 = 0 ;
9179 char *kwnames[] = {
9180 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
9181 };
9182
994141e6 9183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
9184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
fd3f2efe
RD
9186 {
9187 arg2 = wxString_in_helper(obj1);
9188 if (arg2 == NULL) SWIG_fail;
9189 temp2 = True;
9190 }
994141e6 9191 if (obj2) {
c32bde28 9192 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 9193 if (PyErr_Occurred()) SWIG_fail;
994141e6 9194 }
d14a1e28 9195 if (obj3) {
15afbcd0
RD
9196 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect,
9197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9198 }
9199 {
e3b71cb8 9200 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 9201 PyThreadState* __tstate = wxPyBeginAllowThreads();
fd3f2efe 9202 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
d14a1e28
RD
9203
9204 wxPyEndAllowThreads(__tstate);
110da5b0 9205 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 9206 }
15afbcd0 9207 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
fd3f2efe
RD
9208 {
9209 if (temp2)
9210 delete arg2;
9211 }
d14a1e28
RD
9212 return resultobj;
9213 fail:
fd3f2efe
RD
9214 {
9215 if (temp2)
9216 delete arg2;
9217 }
d14a1e28
RD
9218 return NULL;
9219}
9220
9221
c32bde28 9222static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9223 PyObject *resultobj;
9224 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
9225 wxRect *arg2 = 0 ;
9226 wxRect temp2 ;
9227 PyObject * obj0 = 0 ;
9228 PyObject * obj1 = 0 ;
9229 char *kwnames[] = {
9230 (char *) "self",(char *) "rectBound", NULL
9231 };
9232
9233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
9235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9236 {
9237 arg2 = &temp2;
9238 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
9239 }
9240 {
9241 PyThreadState* __tstate = wxPyBeginAllowThreads();
9242 (arg1)->SetBoundingRect((wxRect const &)*arg2);
9243
9244 wxPyEndAllowThreads(__tstate);
9245 if (PyErr_Occurred()) SWIG_fail;
9246 }
9247 Py_INCREF(Py_None); resultobj = Py_None;
9248 return resultobj;
9249 fail:
9250 return NULL;
9251}
9252
9253
c32bde28 9254static PyObject *_wrap_TipWindow_Close(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9255 PyObject *resultobj;
9256 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
9257 PyObject * obj0 = 0 ;
9258 char *kwnames[] = {
9259 (char *) "self", NULL
9260 };
9261
9262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
15afbcd0
RD
9263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
9264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9265 {
9266 PyThreadState* __tstate = wxPyBeginAllowThreads();
9267 (arg1)->Close();
9268
9269 wxPyEndAllowThreads(__tstate);
9270 if (PyErr_Occurred()) SWIG_fail;
9271 }
9272 Py_INCREF(Py_None); resultobj = Py_None;
9273 return resultobj;
9274 fail:
9275 return NULL;
9276}
9277
9278
c32bde28 9279static PyObject * TipWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
9280 PyObject *obj;
9281 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9282 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
9283 Py_INCREF(obj);
9284 return Py_BuildValue((char *)"");
9285}
c32bde28 9286static PyObject *_wrap_new_VScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9287 PyObject *resultobj;
9288 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 9289 int arg2 = (int) wxID_ANY ;
d14a1e28
RD
9290 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9291 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9292 wxSize const &arg4_defvalue = wxDefaultSize ;
9293 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9294 long arg5 = (long) 0 ;
9295 wxString const &arg6_defvalue = wxPyPanelNameStr ;
9296 wxString *arg6 = (wxString *) &arg6_defvalue ;
9297 wxPyVScrolledWindow *result;
9298 wxPoint temp3 ;
9299 wxSize temp4 ;
e811c8ce 9300 bool temp6 = False ;
d14a1e28 9301 PyObject * obj0 = 0 ;
994141e6 9302 PyObject * obj1 = 0 ;
d14a1e28
RD
9303 PyObject * obj2 = 0 ;
9304 PyObject * obj3 = 0 ;
994141e6 9305 PyObject * obj4 = 0 ;
d14a1e28
RD
9306 PyObject * obj5 = 0 ;
9307 char *kwnames[] = {
9308 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9309 };
9310
994141e6 9311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
9312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 9314 if (obj1) {
c32bde28 9315 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 9316 if (PyErr_Occurred()) SWIG_fail;
994141e6 9317 }
d14a1e28
RD
9318 if (obj2) {
9319 {
9320 arg3 = &temp3;
9321 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9322 }
9323 }
9324 if (obj3) {
9325 {
9326 arg4 = &temp4;
9327 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9328 }
9329 }
994141e6 9330 if (obj4) {
c32bde28 9331 arg5 = (long)SWIG_As_long(obj4);
15afbcd0 9332 if (PyErr_Occurred()) SWIG_fail;
994141e6 9333 }
d14a1e28
RD
9334 if (obj5) {
9335 {
9336 arg6 = wxString_in_helper(obj5);
9337 if (arg6 == NULL) SWIG_fail;
e811c8ce 9338 temp6 = True;
d14a1e28
RD
9339 }
9340 }
9341 {
e3b71cb8 9342 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
9343 PyThreadState* __tstate = wxPyBeginAllowThreads();
9344 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9345
9346 wxPyEndAllowThreads(__tstate);
110da5b0 9347 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 9348 }
15afbcd0 9349 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
d14a1e28
RD
9350 {
9351 if (temp6)
9352 delete arg6;
9353 }
9354 return resultobj;
9355 fail:
9356 {
9357 if (temp6)
9358 delete arg6;
9359 }
9360 return NULL;
9361}
9362
9363
c32bde28 9364static PyObject *_wrap_new_PreVScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9365 PyObject *resultobj;
9366 wxPyVScrolledWindow *result;
9367 char *kwnames[] = {
9368 NULL
9369 };
9370
9371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
9372 {
e3b71cb8 9373 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
9374 PyThreadState* __tstate = wxPyBeginAllowThreads();
9375 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
9376
9377 wxPyEndAllowThreads(__tstate);
110da5b0 9378 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 9379 }
15afbcd0 9380 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
d14a1e28
RD
9381 return resultobj;
9382 fail:
9383 return NULL;
9384}
9385
9386
c32bde28 9387static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9388 PyObject *resultobj;
9389 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9390 PyObject *arg2 = (PyObject *) 0 ;
9391 PyObject *arg3 = (PyObject *) 0 ;
9392 PyObject * obj0 = 0 ;
9393 PyObject * obj1 = 0 ;
9394 PyObject * obj2 = 0 ;
9395 char *kwnames[] = {
9396 (char *) "self",(char *) "self",(char *) "_class", NULL
9397 };
9398
9399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9402 arg2 = obj1;
9403 arg3 = obj2;
9404 {
9405 PyThreadState* __tstate = wxPyBeginAllowThreads();
9406 (arg1)->_setCallbackInfo(arg2,arg3);
9407
9408 wxPyEndAllowThreads(__tstate);
9409 if (PyErr_Occurred()) SWIG_fail;
9410 }
9411 Py_INCREF(Py_None); resultobj = Py_None;
9412 return resultobj;
9413 fail:
9414 return NULL;
9415}
9416
9417
c32bde28 9418static PyObject *_wrap_VScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9419 PyObject *resultobj;
9420 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9421 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 9422 int arg3 = (int) wxID_ANY ;
d14a1e28
RD
9423 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9424 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9425 wxSize const &arg5_defvalue = wxDefaultSize ;
9426 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9427 long arg6 = (long) 0 ;
9428 wxString const &arg7_defvalue = wxPyPanelNameStr ;
9429 wxString *arg7 = (wxString *) &arg7_defvalue ;
9430 bool result;
9431 wxPoint temp4 ;
9432 wxSize temp5 ;
e811c8ce 9433 bool temp7 = False ;
d14a1e28
RD
9434 PyObject * obj0 = 0 ;
9435 PyObject * obj1 = 0 ;
994141e6 9436 PyObject * obj2 = 0 ;
d14a1e28
RD
9437 PyObject * obj3 = 0 ;
9438 PyObject * obj4 = 0 ;
994141e6 9439 PyObject * obj5 = 0 ;
d14a1e28
RD
9440 PyObject * obj6 = 0 ;
9441 char *kwnames[] = {
9442 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9443 };
9444
994141e6 9445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
9446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9448 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 9450 if (obj2) {
c32bde28 9451 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 9452 if (PyErr_Occurred()) SWIG_fail;
994141e6 9453 }
d14a1e28
RD
9454 if (obj3) {
9455 {
9456 arg4 = &temp4;
9457 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9458 }
9459 }
9460 if (obj4) {
9461 {
9462 arg5 = &temp5;
9463 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9464 }
9465 }
994141e6 9466 if (obj5) {
c32bde28 9467 arg6 = (long)SWIG_As_long(obj5);
15afbcd0 9468 if (PyErr_Occurred()) SWIG_fail;
994141e6 9469 }
d14a1e28
RD
9470 if (obj6) {
9471 {
9472 arg7 = wxString_in_helper(obj6);
9473 if (arg7 == NULL) SWIG_fail;
e811c8ce 9474 temp7 = True;
d14a1e28
RD
9475 }
9476 }
9477 {
9478 PyThreadState* __tstate = wxPyBeginAllowThreads();
9479 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9480
9481 wxPyEndAllowThreads(__tstate);
9482 if (PyErr_Occurred()) SWIG_fail;
9483 }
4f89f6a3
RD
9484 {
9485 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9486 }
d14a1e28
RD
9487 {
9488 if (temp7)
9489 delete arg7;
9490 }
9491 return resultobj;
9492 fail:
9493 {
9494 if (temp7)
9495 delete arg7;
9496 }
9497 return NULL;
9498}
9499
9500
c32bde28 9501static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9502 PyObject *resultobj;
9503 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9504 size_t arg2 ;
9505 PyObject * obj0 = 0 ;
9506 PyObject * obj1 = 0 ;
9507 char *kwnames[] = {
9508 (char *) "self",(char *) "count", NULL
9509 };
9510
9511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9514 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 9515 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9516 {
9517 PyThreadState* __tstate = wxPyBeginAllowThreads();
9518 (arg1)->SetLineCount(arg2);
9519
9520 wxPyEndAllowThreads(__tstate);
9521 if (PyErr_Occurred()) SWIG_fail;
9522 }
9523 Py_INCREF(Py_None); resultobj = Py_None;
9524 return resultobj;
9525 fail:
9526 return NULL;
9527}
9528
9529
c32bde28 9530static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9531 PyObject *resultobj;
9532 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9533 size_t arg2 ;
9534 bool result;
9535 PyObject * obj0 = 0 ;
9536 PyObject * obj1 = 0 ;
9537 char *kwnames[] = {
9538 (char *) "self",(char *) "line", NULL
9539 };
9540
9541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9544 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 9545 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9546 {
9547 PyThreadState* __tstate = wxPyBeginAllowThreads();
9548 result = (bool)(arg1)->ScrollToLine(arg2);
9549
9550 wxPyEndAllowThreads(__tstate);
9551 if (PyErr_Occurred()) SWIG_fail;
9552 }
4f89f6a3
RD
9553 {
9554 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9555 }
d14a1e28
RD
9556 return resultobj;
9557 fail:
9558 return NULL;
9559}
9560
9561
c32bde28 9562static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9563 PyObject *resultobj;
9564 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9565 int arg2 ;
9566 bool result;
9567 PyObject * obj0 = 0 ;
994141e6 9568 PyObject * obj1 = 0 ;
d14a1e28
RD
9569 char *kwnames[] = {
9570 (char *) "self",(char *) "lines", NULL
9571 };
9572
994141e6 9573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9576 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 9577 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9578 {
9579 PyThreadState* __tstate = wxPyBeginAllowThreads();
9580 result = (bool)(arg1)->ScrollLines(arg2);
9581
9582 wxPyEndAllowThreads(__tstate);
9583 if (PyErr_Occurred()) SWIG_fail;
9584 }
4f89f6a3
RD
9585 {
9586 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9587 }
d14a1e28
RD
9588 return resultobj;
9589 fail:
9590 return NULL;
9591}
9592
9593
c32bde28 9594static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9595 PyObject *resultobj;
9596 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9597 int arg2 ;
9598 bool result;
9599 PyObject * obj0 = 0 ;
994141e6 9600 PyObject * obj1 = 0 ;
d14a1e28
RD
9601 char *kwnames[] = {
9602 (char *) "self",(char *) "pages", NULL
9603 };
9604
994141e6 9605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9608 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 9609 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9610 {
9611 PyThreadState* __tstate = wxPyBeginAllowThreads();
9612 result = (bool)(arg1)->ScrollPages(arg2);
9613
9614 wxPyEndAllowThreads(__tstate);
9615 if (PyErr_Occurred()) SWIG_fail;
9616 }
4f89f6a3
RD
9617 {
9618 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9619 }
d14a1e28
RD
9620 return resultobj;
9621 fail:
9622 return NULL;
9623}
9624
9625
c32bde28 9626static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9627 PyObject *resultobj;
9628 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9629 size_t arg2 ;
9630 PyObject * obj0 = 0 ;
9631 PyObject * obj1 = 0 ;
9632 char *kwnames[] = {
9633 (char *) "self",(char *) "line", NULL
9634 };
9635
9636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9639 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 9640 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9641 {
9642 PyThreadState* __tstate = wxPyBeginAllowThreads();
9643 (arg1)->RefreshLine(arg2);
9644
9645 wxPyEndAllowThreads(__tstate);
9646 if (PyErr_Occurred()) SWIG_fail;
9647 }
9648 Py_INCREF(Py_None); resultobj = Py_None;
9649 return resultobj;
9650 fail:
9651 return NULL;
9652}
9653
9654
c32bde28 9655static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9656 PyObject *resultobj;
9657 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9658 size_t arg2 ;
9659 size_t arg3 ;
9660 PyObject * obj0 = 0 ;
9661 PyObject * obj1 = 0 ;
9662 PyObject * obj2 = 0 ;
9663 char *kwnames[] = {
9664 (char *) "self",(char *) "from",(char *) "to", NULL
9665 };
9666
9667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9670 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 9671 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9672 arg3 = (size_t)SWIG_As_unsigned_SS_long(obj2);
15afbcd0 9673 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9674 {
9675 PyThreadState* __tstate = wxPyBeginAllowThreads();
9676 (arg1)->RefreshLines(arg2,arg3);
9677
9678 wxPyEndAllowThreads(__tstate);
9679 if (PyErr_Occurred()) SWIG_fail;
9680 }
9681 Py_INCREF(Py_None); resultobj = Py_None;
9682 return resultobj;
9683 fail:
9684 return NULL;
9685}
9686
9687
c32bde28 9688static PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9689 PyObject *resultobj;
9690 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
e811c8ce
RD
9691 int arg2 ;
9692 int arg3 ;
d14a1e28
RD
9693 int result;
9694 PyObject * obj0 = 0 ;
994141e6
RD
9695 PyObject * obj1 = 0 ;
9696 PyObject * obj2 = 0 ;
d14a1e28
RD
9697 char *kwnames[] = {
9698 (char *) "self",(char *) "x",(char *) "y", NULL
9699 };
9700
354693ff 9701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9704 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 9705 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9706 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 9707 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9708 {
9709 PyThreadState* __tstate = wxPyBeginAllowThreads();
9710 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
9711
9712 wxPyEndAllowThreads(__tstate);
9713 if (PyErr_Occurred()) SWIG_fail;
9714 }
c32bde28 9715 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
9716 return resultobj;
9717 fail:
9718 return NULL;
9719}
9720
9721
c32bde28 9722static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9723 PyObject *resultobj;
9724 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9725 wxPoint *arg2 = 0 ;
9726 int result;
9727 wxPoint temp2 ;
9728 PyObject * obj0 = 0 ;
9729 PyObject * obj1 = 0 ;
9730 char *kwnames[] = {
9731 (char *) "self",(char *) "pt", NULL
9732 };
9733
9734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9737 {
9738 arg2 = &temp2;
9739 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9740 }
9741 {
9742 PyThreadState* __tstate = wxPyBeginAllowThreads();
9743 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
9744
9745 wxPyEndAllowThreads(__tstate);
9746 if (PyErr_Occurred()) SWIG_fail;
9747 }
c32bde28 9748 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
9749 return resultobj;
9750 fail:
9751 return NULL;
9752}
9753
9754
c32bde28 9755static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9756 PyObject *resultobj;
9757 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9758 PyObject * obj0 = 0 ;
9759 char *kwnames[] = {
9760 (char *) "self", NULL
9761 };
9762
9763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
15afbcd0
RD
9764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9766 {
9767 PyThreadState* __tstate = wxPyBeginAllowThreads();
9768 (arg1)->RefreshAll();
9769
9770 wxPyEndAllowThreads(__tstate);
9771 if (PyErr_Occurred()) SWIG_fail;
9772 }
9773 Py_INCREF(Py_None); resultobj = Py_None;
9774 return resultobj;
9775 fail:
9776 return NULL;
9777}
9778
9779
c32bde28 9780static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9781 PyObject *resultobj;
9782 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9783 size_t result;
9784 PyObject * obj0 = 0 ;
9785 char *kwnames[] = {
9786 (char *) "self", NULL
9787 };
9788
9789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
9790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9792 {
9793 PyThreadState* __tstate = wxPyBeginAllowThreads();
9794 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
9795
9796 wxPyEndAllowThreads(__tstate);
9797 if (PyErr_Occurred()) SWIG_fail;
9798 }
c32bde28 9799 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
d14a1e28
RD
9800 return resultobj;
9801 fail:
9802 return NULL;
9803}
9804
9805
c32bde28 9806static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9807 PyObject *resultobj;
9808 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9809 size_t result;
9810 PyObject * obj0 = 0 ;
9811 char *kwnames[] = {
9812 (char *) "self", NULL
9813 };
9814
9815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
15afbcd0
RD
9816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9818 {
9819 PyThreadState* __tstate = wxPyBeginAllowThreads();
9820 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
9821
9822 wxPyEndAllowThreads(__tstate);
9823 if (PyErr_Occurred()) SWIG_fail;
9824 }
c32bde28 9825 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
d14a1e28
RD
9826 return resultobj;
9827 fail:
9828 return NULL;
9829}
9830
9831
c32bde28 9832static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9833 PyObject *resultobj;
9834 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9835 size_t result;
9836 PyObject * obj0 = 0 ;
9837 char *kwnames[] = {
9838 (char *) "self", NULL
9839 };
9840
9841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
15afbcd0
RD
9842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9844 {
9845 PyThreadState* __tstate = wxPyBeginAllowThreads();
9846 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
9847
9848 wxPyEndAllowThreads(__tstate);
9849 if (PyErr_Occurred()) SWIG_fail;
9850 }
c32bde28 9851 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
d14a1e28
RD
9852 return resultobj;
9853 fail:
9854 return NULL;
9855}
9856
9857
c32bde28 9858static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9859 PyObject *resultobj;
9860 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9861 size_t arg2 ;
9862 bool result;
9863 PyObject * obj0 = 0 ;
9864 PyObject * obj1 = 0 ;
9865 char *kwnames[] = {
9866 (char *) "self",(char *) "line", NULL
9867 };
9868
9869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9872 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 9873 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9874 {
9875 PyThreadState* __tstate = wxPyBeginAllowThreads();
9876 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
9877
9878 wxPyEndAllowThreads(__tstate);
9879 if (PyErr_Occurred()) SWIG_fail;
9880 }
4f89f6a3
RD
9881 {
9882 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9883 }
d14a1e28
RD
9884 return resultobj;
9885 fail:
9886 return NULL;
9887}
9888
9889
c32bde28 9890static PyObject * VScrolledWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
9891 PyObject *obj;
9892 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9893 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
9894 Py_INCREF(obj);
9895 return Py_BuildValue((char *)"");
9896}
c32bde28 9897static int _wrap_VListBoxNameStr_set(PyObject *) {
b2dc1044
RD
9898 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
9899 return 1;
9900}
9901
9902
9903static PyObject *_wrap_VListBoxNameStr_get() {
9904 PyObject *pyobj;
9905
9906 {
9907#if wxUSE_UNICODE
9908 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9909#else
9910 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9911#endif
9912 }
9913 return pyobj;
9914}
9915
9916
c32bde28 9917static PyObject *_wrap_new_VListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9918 PyObject *resultobj;
9919 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 9920 int arg2 = (int) wxID_ANY ;
d14a1e28
RD
9921 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9922 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9923 wxSize const &arg4_defvalue = wxDefaultSize ;
9924 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9925 long arg5 = (long) 0 ;
9926 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
9927 wxString *arg6 = (wxString *) &arg6_defvalue ;
9928 wxPyVListBox *result;
9929 wxPoint temp3 ;
9930 wxSize temp4 ;
e811c8ce 9931 bool temp6 = False ;
d14a1e28 9932 PyObject * obj0 = 0 ;
994141e6 9933 PyObject * obj1 = 0 ;
d14a1e28
RD
9934 PyObject * obj2 = 0 ;
9935 PyObject * obj3 = 0 ;
994141e6 9936 PyObject * obj4 = 0 ;
d14a1e28
RD
9937 PyObject * obj5 = 0 ;
9938 char *kwnames[] = {
9939 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9940 };
9941
994141e6 9942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
9943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 9945 if (obj1) {
c32bde28 9946 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 9947 if (PyErr_Occurred()) SWIG_fail;
994141e6 9948 }
d14a1e28
RD
9949 if (obj2) {
9950 {
9951 arg3 = &temp3;
9952 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9953 }
9954 }
9955 if (obj3) {
9956 {
9957 arg4 = &temp4;
9958 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9959 }
9960 }
994141e6 9961 if (obj4) {
c32bde28 9962 arg5 = (long)SWIG_As_long(obj4);
15afbcd0 9963 if (PyErr_Occurred()) SWIG_fail;
994141e6 9964 }
d14a1e28
RD
9965 if (obj5) {
9966 {
9967 arg6 = wxString_in_helper(obj5);
9968 if (arg6 == NULL) SWIG_fail;
e811c8ce 9969 temp6 = True;
d14a1e28
RD
9970 }
9971 }
9972 {
e3b71cb8 9973 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
9974 PyThreadState* __tstate = wxPyBeginAllowThreads();
9975 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9976
9977 wxPyEndAllowThreads(__tstate);
110da5b0 9978 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 9979 }
15afbcd0 9980 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
d14a1e28
RD
9981 {
9982 if (temp6)
9983 delete arg6;
9984 }
9985 return resultobj;
9986 fail:
9987 {
9988 if (temp6)
9989 delete arg6;
9990 }
9991 return NULL;
9992}
9993
9994
c32bde28 9995static PyObject *_wrap_new_PreVListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9996 PyObject *resultobj;
9997 wxPyVListBox *result;
9998 char *kwnames[] = {
9999 NULL
10000 };
10001
10002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
10003 {
e3b71cb8 10004 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
10005 PyThreadState* __tstate = wxPyBeginAllowThreads();
10006 result = (wxPyVListBox *)new wxPyVListBox();
10007
10008 wxPyEndAllowThreads(__tstate);
110da5b0 10009 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 10010 }
15afbcd0 10011 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
d14a1e28
RD
10012 return resultobj;
10013 fail:
10014 return NULL;
10015}
10016
10017
c32bde28 10018static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10019 PyObject *resultobj;
10020 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10021 PyObject *arg2 = (PyObject *) 0 ;
10022 PyObject *arg3 = (PyObject *) 0 ;
10023 PyObject * obj0 = 0 ;
10024 PyObject * obj1 = 0 ;
10025 PyObject * obj2 = 0 ;
10026 char *kwnames[] = {
10027 (char *) "self",(char *) "self",(char *) "_class", NULL
10028 };
10029
10030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
10031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10033 arg2 = obj1;
10034 arg3 = obj2;
10035 {
10036 PyThreadState* __tstate = wxPyBeginAllowThreads();
10037 (arg1)->_setCallbackInfo(arg2,arg3);
10038
10039 wxPyEndAllowThreads(__tstate);
10040 if (PyErr_Occurred()) SWIG_fail;
10041 }
10042 Py_INCREF(Py_None); resultobj = Py_None;
10043 return resultobj;
10044 fail:
10045 return NULL;
10046}
10047
10048
c32bde28 10049static PyObject *_wrap_VListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10050 PyObject *resultobj;
10051 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10052 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 10053 int arg3 = (int) wxID_ANY ;
d14a1e28
RD
10054 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10055 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10056 wxSize const &arg5_defvalue = wxDefaultSize ;
10057 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10058 long arg6 = (long) 0 ;
10059 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
10060 wxString *arg7 = (wxString *) &arg7_defvalue ;
10061 bool result;
10062 wxPoint temp4 ;
10063 wxSize temp5 ;
e811c8ce 10064 bool temp7 = False ;
d14a1e28
RD
10065 PyObject * obj0 = 0 ;
10066 PyObject * obj1 = 0 ;
994141e6 10067 PyObject * obj2 = 0 ;
d14a1e28
RD
10068 PyObject * obj3 = 0 ;
10069 PyObject * obj4 = 0 ;
994141e6 10070 PyObject * obj5 = 0 ;
d14a1e28
RD
10071 PyObject * obj6 = 0 ;
10072 char *kwnames[] = {
10073 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10074 };
10075
994141e6 10076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
10077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10079 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 10081 if (obj2) {
c32bde28 10082 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 10083 if (PyErr_Occurred()) SWIG_fail;
994141e6 10084 }
d14a1e28
RD
10085 if (obj3) {
10086 {
10087 arg4 = &temp4;
10088 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10089 }
10090 }
10091 if (obj4) {
10092 {
10093 arg5 = &temp5;
10094 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10095 }
10096 }
994141e6 10097 if (obj5) {
c32bde28 10098 arg6 = (long)SWIG_As_long(obj5);
15afbcd0 10099 if (PyErr_Occurred()) SWIG_fail;
994141e6 10100 }
d14a1e28
RD
10101 if (obj6) {
10102 {
10103 arg7 = wxString_in_helper(obj6);
10104 if (arg7 == NULL) SWIG_fail;
e811c8ce 10105 temp7 = True;
d14a1e28
RD
10106 }
10107 }
10108 {
10109 PyThreadState* __tstate = wxPyBeginAllowThreads();
10110 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10111
10112 wxPyEndAllowThreads(__tstate);
10113 if (PyErr_Occurred()) SWIG_fail;
10114 }
4f89f6a3
RD
10115 {
10116 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10117 }
d14a1e28
RD
10118 {
10119 if (temp7)
10120 delete arg7;
10121 }
10122 return resultobj;
10123 fail:
10124 {
10125 if (temp7)
10126 delete arg7;
10127 }
10128 return NULL;
10129}
10130
10131
c32bde28 10132static PyObject *_wrap_VListBox_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10133 PyObject *resultobj;
10134 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10135 size_t result;
10136 PyObject * obj0 = 0 ;
10137 char *kwnames[] = {
10138 (char *) "self", NULL
10139 };
10140
10141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
10142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10144 {
10145 PyThreadState* __tstate = wxPyBeginAllowThreads();
10146 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
10147
10148 wxPyEndAllowThreads(__tstate);
10149 if (PyErr_Occurred()) SWIG_fail;
10150 }
c32bde28 10151 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
d14a1e28
RD
10152 return resultobj;
10153 fail:
10154 return NULL;
10155}
10156
10157
c32bde28 10158static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10159 PyObject *resultobj;
10160 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10161 bool result;
10162 PyObject * obj0 = 0 ;
10163 char *kwnames[] = {
10164 (char *) "self", NULL
10165 };
10166
10167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
10168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10170 {
10171 PyThreadState* __tstate = wxPyBeginAllowThreads();
10172 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
10173
10174 wxPyEndAllowThreads(__tstate);
10175 if (PyErr_Occurred()) SWIG_fail;
10176 }
4f89f6a3
RD
10177 {
10178 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10179 }
d14a1e28
RD
10180 return resultobj;
10181 fail:
10182 return NULL;
10183}
10184
10185
c32bde28 10186static PyObject *_wrap_VListBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10187 PyObject *resultobj;
10188 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10189 int result;
10190 PyObject * obj0 = 0 ;
10191 char *kwnames[] = {
10192 (char *) "self", NULL
10193 };
10194
10195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
10196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10198 {
10199 PyThreadState* __tstate = wxPyBeginAllowThreads();
10200 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
10201
10202 wxPyEndAllowThreads(__tstate);
10203 if (PyErr_Occurred()) SWIG_fail;
10204 }
c32bde28 10205 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
10206 return resultobj;
10207 fail:
10208 return NULL;
10209}
10210
10211
c32bde28 10212static PyObject *_wrap_VListBox_IsCurrent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10213 PyObject *resultobj;
10214 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10215 size_t arg2 ;
10216 bool result;
10217 PyObject * obj0 = 0 ;
10218 PyObject * obj1 = 0 ;
10219 char *kwnames[] = {
10220 (char *) "self",(char *) "item", NULL
10221 };
10222
10223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10226 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 10227 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10228 {
10229 PyThreadState* __tstate = wxPyBeginAllowThreads();
10230 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
10231
10232 wxPyEndAllowThreads(__tstate);
10233 if (PyErr_Occurred()) SWIG_fail;
10234 }
4f89f6a3
RD
10235 {
10236 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10237 }
d14a1e28
RD
10238 return resultobj;
10239 fail:
10240 return NULL;
10241}
10242
10243
c32bde28 10244static PyObject *_wrap_VListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10245 PyObject *resultobj;
10246 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10247 size_t arg2 ;
10248 bool result;
10249 PyObject * obj0 = 0 ;
10250 PyObject * obj1 = 0 ;
10251 char *kwnames[] = {
10252 (char *) "self",(char *) "item", NULL
10253 };
10254
10255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10258 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 10259 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10260 {
10261 PyThreadState* __tstate = wxPyBeginAllowThreads();
10262 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
10263
10264 wxPyEndAllowThreads(__tstate);
10265 if (PyErr_Occurred()) SWIG_fail;
10266 }
4f89f6a3
RD
10267 {
10268 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10269 }
d14a1e28
RD
10270 return resultobj;
10271 fail:
10272 return NULL;
10273}
10274
10275
c32bde28 10276static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10277 PyObject *resultobj;
10278 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10279 size_t result;
10280 PyObject * obj0 = 0 ;
10281 char *kwnames[] = {
10282 (char *) "self", NULL
10283 };
10284
10285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
10286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10288 {
10289 PyThreadState* __tstate = wxPyBeginAllowThreads();
10290 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
10291
10292 wxPyEndAllowThreads(__tstate);
10293 if (PyErr_Occurred()) SWIG_fail;
10294 }
c32bde28 10295 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
d14a1e28
RD
10296 return resultobj;
10297 fail:
10298 return NULL;
10299}
10300
10301
c32bde28 10302static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10303 PyObject *resultobj;
10304 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
09c21d3b 10305 PyObject *result;
d14a1e28 10306 PyObject * obj0 = 0 ;
d14a1e28 10307 char *kwnames[] = {
09c21d3b 10308 (char *) "self", NULL
d14a1e28
RD
10309 };
10310
09c21d3b 10311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetFirstSelected",kwnames,&obj0)) goto fail;
15afbcd0
RD
10312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10314 {
10315 PyThreadState* __tstate = wxPyBeginAllowThreads();
09c21d3b 10316 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
d14a1e28
RD
10317
10318 wxPyEndAllowThreads(__tstate);
10319 if (PyErr_Occurred()) SWIG_fail;
10320 }
09c21d3b 10321 resultobj = result;
d14a1e28
RD
10322 return resultobj;
10323 fail:
10324 return NULL;
10325}
10326
10327
c32bde28 10328static PyObject *_wrap_VListBox_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10329 PyObject *resultobj;
10330 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
09c21d3b
RD
10331 unsigned long arg2 ;
10332 PyObject *result;
d14a1e28
RD
10333 PyObject * obj0 = 0 ;
10334 PyObject * obj1 = 0 ;
10335 char *kwnames[] = {
10336 (char *) "self",(char *) "cookie", NULL
10337 };
10338
10339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10342 arg2 = (unsigned long)SWIG_As_unsigned_SS_long(obj1);
09c21d3b 10343 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10344 {
10345 PyThreadState* __tstate = wxPyBeginAllowThreads();
09c21d3b 10346 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
d14a1e28
RD
10347
10348 wxPyEndAllowThreads(__tstate);
10349 if (PyErr_Occurred()) SWIG_fail;
10350 }
09c21d3b 10351 resultobj = result;
d14a1e28
RD
10352 return resultobj;
10353 fail:
10354 return NULL;
10355}
10356
10357
c32bde28 10358static PyObject *_wrap_VListBox_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10359 PyObject *resultobj;
10360 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10361 wxPoint result;
10362 PyObject * obj0 = 0 ;
10363 char *kwnames[] = {
10364 (char *) "self", NULL
10365 };
10366
10367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
15afbcd0
RD
10368 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10370 {
10371 PyThreadState* __tstate = wxPyBeginAllowThreads();
10372 result = ((wxPyVListBox const *)arg1)->GetMargins();
10373
10374 wxPyEndAllowThreads(__tstate);
10375 if (PyErr_Occurred()) SWIG_fail;
10376 }
10377 {
10378 wxPoint * resultptr;
10379 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 10380 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
10381 }
10382 return resultobj;
10383 fail:
10384 return NULL;
10385}
10386
10387
c32bde28 10388static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10389 PyObject *resultobj;
10390 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10391 wxColour *result;
10392 PyObject * obj0 = 0 ;
10393 char *kwnames[] = {
10394 (char *) "self", NULL
10395 };
10396
10397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
15afbcd0
RD
10398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10400 {
10401 PyThreadState* __tstate = wxPyBeginAllowThreads();
10402 {
10403 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
10404 result = (wxColour *) &_result_ref;
10405 }
10406
10407 wxPyEndAllowThreads(__tstate);
10408 if (PyErr_Occurred()) SWIG_fail;
10409 }
15afbcd0 10410 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
10411 return resultobj;
10412 fail:
10413 return NULL;
10414}
10415
10416
c32bde28 10417static PyObject *_wrap_VListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10418 PyObject *resultobj;
10419 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10420 size_t arg2 ;
10421 PyObject * obj0 = 0 ;
10422 PyObject * obj1 = 0 ;
10423 char *kwnames[] = {
10424 (char *) "self",(char *) "count", NULL
10425 };
10426
10427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10430 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 10431 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10432 {
10433 PyThreadState* __tstate = wxPyBeginAllowThreads();
10434 (arg1)->SetItemCount(arg2);
10435
10436 wxPyEndAllowThreads(__tstate);
10437 if (PyErr_Occurred()) SWIG_fail;
10438 }
10439 Py_INCREF(Py_None); resultobj = Py_None;
10440 return resultobj;
10441 fail:
10442 return NULL;
10443}
10444
10445
c32bde28 10446static PyObject *_wrap_VListBox_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10447 PyObject *resultobj;
10448 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10449 PyObject * obj0 = 0 ;
10450 char *kwnames[] = {
10451 (char *) "self", NULL
10452 };
10453
10454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
15afbcd0
RD
10455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10457 {
10458 PyThreadState* __tstate = wxPyBeginAllowThreads();
10459 (arg1)->Clear();
10460
10461 wxPyEndAllowThreads(__tstate);
10462 if (PyErr_Occurred()) SWIG_fail;
10463 }
10464 Py_INCREF(Py_None); resultobj = Py_None;
10465 return resultobj;
10466 fail:
10467 return NULL;
10468}
10469
10470
c32bde28 10471static PyObject *_wrap_VListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10472 PyObject *resultobj;
10473 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10474 int arg2 ;
10475 PyObject * obj0 = 0 ;
994141e6 10476 PyObject * obj1 = 0 ;
d14a1e28
RD
10477 char *kwnames[] = {
10478 (char *) "self",(char *) "selection", NULL
10479 };
10480
994141e6 10481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10484 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 10485 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10486 {
10487 PyThreadState* __tstate = wxPyBeginAllowThreads();
10488 (arg1)->SetSelection(arg2);
10489
10490 wxPyEndAllowThreads(__tstate);
10491 if (PyErr_Occurred()) SWIG_fail;
10492 }
10493 Py_INCREF(Py_None); resultobj = Py_None;
10494 return resultobj;
10495 fail:
10496 return NULL;
10497}
10498
10499
c32bde28 10500static PyObject *_wrap_VListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10501 PyObject *resultobj;
10502 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10503 size_t arg2 ;
e811c8ce 10504 bool arg3 = (bool) True ;
d14a1e28
RD
10505 bool result;
10506 PyObject * obj0 = 0 ;
10507 PyObject * obj1 = 0 ;
10508 PyObject * obj2 = 0 ;
10509 char *kwnames[] = {
10510 (char *) "self",(char *) "item",(char *) "select", NULL
10511 };
10512
10513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
10514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10516 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 10517 if (PyErr_Occurred()) SWIG_fail;
a41e16b6 10518 if (obj2) {
c32bde28 10519 arg3 = (bool)SWIG_As_bool(obj2);
15afbcd0 10520 if (PyErr_Occurred()) SWIG_fail;
a41e16b6 10521 }
d14a1e28
RD
10522 {
10523 PyThreadState* __tstate = wxPyBeginAllowThreads();
10524 result = (bool)(arg1)->Select(arg2,arg3);
10525
10526 wxPyEndAllowThreads(__tstate);
10527 if (PyErr_Occurred()) SWIG_fail;
10528 }
4f89f6a3
RD
10529 {
10530 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10531 }
d14a1e28
RD
10532 return resultobj;
10533 fail:
10534 return NULL;
10535}
10536
10537
c32bde28 10538static PyObject *_wrap_VListBox_SelectRange(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10539 PyObject *resultobj;
10540 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10541 size_t arg2 ;
10542 size_t arg3 ;
10543 bool result;
10544 PyObject * obj0 = 0 ;
10545 PyObject * obj1 = 0 ;
10546 PyObject * obj2 = 0 ;
15afbcd0
RD
10547 char *kwnames[] = {
10548 (char *) "self",(char *) "from",(char *) "to", NULL
10549 };
10550
10551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10554 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 10555 if (PyErr_Occurred()) SWIG_fail;
c32bde28 10556 arg3 = (size_t)SWIG_As_unsigned_SS_long(obj2);
15afbcd0 10557 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10558 {
10559 PyThreadState* __tstate = wxPyBeginAllowThreads();
10560 result = (bool)(arg1)->SelectRange(arg2,arg3);
10561
10562 wxPyEndAllowThreads(__tstate);
10563 if (PyErr_Occurred()) SWIG_fail;
10564 }
4f89f6a3
RD
10565 {
10566 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10567 }
d14a1e28
RD
10568 return resultobj;
10569 fail:
10570 return NULL;
10571}
10572
10573
c32bde28 10574static PyObject *_wrap_VListBox_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
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 *) "item", NULL
10582 };
10583
10584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10587 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 10588 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10589 {
10590 PyThreadState* __tstate = wxPyBeginAllowThreads();
10591 (arg1)->Toggle(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
c32bde28 10603static PyObject *_wrap_VListBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10604 PyObject *resultobj;
10605 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10606 bool result;
10607 PyObject * obj0 = 0 ;
10608 char *kwnames[] = {
10609 (char *) "self", NULL
10610 };
10611
10612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
15afbcd0
RD
10613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10615 {
10616 PyThreadState* __tstate = wxPyBeginAllowThreads();
10617 result = (bool)(arg1)->SelectAll();
10618
10619 wxPyEndAllowThreads(__tstate);
10620 if (PyErr_Occurred()) SWIG_fail;
10621 }
4f89f6a3
RD
10622 {
10623 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10624 }
d14a1e28
RD
10625 return resultobj;
10626 fail:
10627 return NULL;
10628}
10629
10630
c32bde28 10631static PyObject *_wrap_VListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10632 PyObject *resultobj;
10633 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10634 bool result;
10635 PyObject * obj0 = 0 ;
10636 char *kwnames[] = {
10637 (char *) "self", NULL
10638 };
10639
10640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
15afbcd0
RD
10641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10643 {
10644 PyThreadState* __tstate = wxPyBeginAllowThreads();
10645 result = (bool)(arg1)->DeselectAll();
10646
10647 wxPyEndAllowThreads(__tstate);
10648 if (PyErr_Occurred()) SWIG_fail;
10649 }
4f89f6a3
RD
10650 {
10651 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10652 }
d14a1e28
RD
10653 return resultobj;
10654 fail:
10655 return NULL;
10656}
10657
10658
c32bde28 10659static PyObject *_wrap_VListBox_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10660 PyObject *resultobj;
10661 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10662 wxPoint *arg2 = 0 ;
10663 wxPoint temp2 ;
10664 PyObject * obj0 = 0 ;
10665 PyObject * obj1 = 0 ;
10666 char *kwnames[] = {
10667 (char *) "self",(char *) "pt", NULL
10668 };
10669
10670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10673 {
10674 arg2 = &temp2;
10675 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10676 }
10677 {
10678 PyThreadState* __tstate = wxPyBeginAllowThreads();
10679 (arg1)->SetMargins((wxPoint const &)*arg2);
10680
10681 wxPyEndAllowThreads(__tstate);
10682 if (PyErr_Occurred()) SWIG_fail;
10683 }
10684 Py_INCREF(Py_None); resultobj = Py_None;
10685 return resultobj;
10686 fail:
10687 return NULL;
10688}
10689
10690
c32bde28 10691static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10692 PyObject *resultobj;
10693 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
e811c8ce
RD
10694 int arg2 ;
10695 int arg3 ;
d14a1e28 10696 PyObject * obj0 = 0 ;
994141e6
RD
10697 PyObject * obj1 = 0 ;
10698 PyObject * obj2 = 0 ;
d14a1e28
RD
10699 char *kwnames[] = {
10700 (char *) "self",(char *) "x",(char *) "y", NULL
10701 };
10702
994141e6 10703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
10704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10706 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 10707 if (PyErr_Occurred()) SWIG_fail;
c32bde28 10708 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 10709 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10710 {
10711 PyThreadState* __tstate = wxPyBeginAllowThreads();
10712 (arg1)->SetMargins(arg2,arg3);
10713
10714 wxPyEndAllowThreads(__tstate);
10715 if (PyErr_Occurred()) SWIG_fail;
10716 }
10717 Py_INCREF(Py_None); resultobj = Py_None;
10718 return resultobj;
10719 fail:
10720 return NULL;
10721}
10722
10723
c32bde28 10724static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10725 PyObject *resultobj;
10726 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10727 wxColour *arg2 = 0 ;
10728 wxColour temp2 ;
10729 PyObject * obj0 = 0 ;
10730 PyObject * obj1 = 0 ;
10731 char *kwnames[] = {
10732 (char *) "self",(char *) "col", NULL
10733 };
10734
10735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10738 {
10739 arg2 = &temp2;
10740 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10741 }
10742 {
10743 PyThreadState* __tstate = wxPyBeginAllowThreads();
10744 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
10745
10746 wxPyEndAllowThreads(__tstate);
10747 if (PyErr_Occurred()) SWIG_fail;
10748 }
10749 Py_INCREF(Py_None); resultobj = Py_None;
10750 return resultobj;
10751 fail:
10752 return NULL;
10753}
10754
10755
c32bde28 10756static PyObject * VListBox_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
10757 PyObject *obj;
10758 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10759 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
10760 Py_INCREF(obj);
10761 return Py_BuildValue((char *)"");
10762}
c32bde28 10763static PyObject *_wrap_new_HtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10764 PyObject *resultobj;
10765 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 10766 int arg2 = (int) wxID_ANY ;
d14a1e28
RD
10767 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10768 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10769 wxSize const &arg4_defvalue = wxDefaultSize ;
10770 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10771 long arg5 = (long) 0 ;
10772 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
10773 wxString *arg6 = (wxString *) &arg6_defvalue ;
10774 wxPyHtmlListBox *result;
10775 wxPoint temp3 ;
10776 wxSize temp4 ;
e811c8ce 10777 bool temp6 = False ;
d14a1e28 10778 PyObject * obj0 = 0 ;
994141e6 10779 PyObject * obj1 = 0 ;
d14a1e28
RD
10780 PyObject * obj2 = 0 ;
10781 PyObject * obj3 = 0 ;
994141e6 10782 PyObject * obj4 = 0 ;
d14a1e28
RD
10783 PyObject * obj5 = 0 ;
10784 char *kwnames[] = {
10785 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10786 };
10787
994141e6 10788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
10789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 10791 if (obj1) {
c32bde28 10792 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 10793 if (PyErr_Occurred()) SWIG_fail;
994141e6 10794 }
d14a1e28
RD
10795 if (obj2) {
10796 {
10797 arg3 = &temp3;
10798 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10799 }
10800 }
10801 if (obj3) {
10802 {
10803 arg4 = &temp4;
10804 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10805 }
10806 }
994141e6 10807 if (obj4) {
c32bde28 10808 arg5 = (long)SWIG_As_long(obj4);
15afbcd0 10809 if (PyErr_Occurred()) SWIG_fail;
994141e6 10810 }
d14a1e28
RD
10811 if (obj5) {
10812 {
10813 arg6 = wxString_in_helper(obj5);
10814 if (arg6 == NULL) SWIG_fail;
e811c8ce 10815 temp6 = True;
d14a1e28
RD
10816 }
10817 }
10818 {
e3b71cb8 10819 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
10820 PyThreadState* __tstate = wxPyBeginAllowThreads();
10821 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10822
10823 wxPyEndAllowThreads(__tstate);
110da5b0 10824 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 10825 }
15afbcd0 10826 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
d14a1e28
RD
10827 {
10828 if (temp6)
10829 delete arg6;
10830 }
10831 return resultobj;
10832 fail:
10833 {
10834 if (temp6)
10835 delete arg6;
10836 }
10837 return NULL;
10838}
10839
10840
c32bde28 10841static PyObject *_wrap_new_PreHtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10842 PyObject *resultobj;
10843 wxPyHtmlListBox *result;
10844 char *kwnames[] = {
10845 NULL
10846 };
10847
10848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
10849 {
e3b71cb8 10850 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
10851 PyThreadState* __tstate = wxPyBeginAllowThreads();
10852 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
10853
10854 wxPyEndAllowThreads(__tstate);
110da5b0 10855 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 10856 }
15afbcd0 10857 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
d14a1e28
RD
10858 return resultobj;
10859 fail:
10860 return NULL;
10861}
10862
10863
c32bde28 10864static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10865 PyObject *resultobj;
10866 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10867 PyObject *arg2 = (PyObject *) 0 ;
10868 PyObject *arg3 = (PyObject *) 0 ;
10869 PyObject * obj0 = 0 ;
10870 PyObject * obj1 = 0 ;
10871 PyObject * obj2 = 0 ;
10872 char *kwnames[] = {
10873 (char *) "self",(char *) "self",(char *) "_class", NULL
10874 };
10875
10876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
10877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10879 arg2 = obj1;
10880 arg3 = obj2;
10881 {
10882 PyThreadState* __tstate = wxPyBeginAllowThreads();
10883 (arg1)->_setCallbackInfo(arg2,arg3);
10884
10885 wxPyEndAllowThreads(__tstate);
10886 if (PyErr_Occurred()) SWIG_fail;
10887 }
10888 Py_INCREF(Py_None); resultobj = Py_None;
10889 return resultobj;
10890 fail:
10891 return NULL;
10892}
10893
10894
c32bde28 10895static PyObject *_wrap_HtmlListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10896 PyObject *resultobj;
10897 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10898 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 10899 int arg3 = (int) wxID_ANY ;
d14a1e28
RD
10900 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10901 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10902 wxSize const &arg5_defvalue = wxDefaultSize ;
10903 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10904 long arg6 = (long) 0 ;
10905 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
10906 wxString *arg7 = (wxString *) &arg7_defvalue ;
10907 bool result;
10908 wxPoint temp4 ;
10909 wxSize temp5 ;
e811c8ce 10910 bool temp7 = False ;
d14a1e28
RD
10911 PyObject * obj0 = 0 ;
10912 PyObject * obj1 = 0 ;
994141e6 10913 PyObject * obj2 = 0 ;
d14a1e28
RD
10914 PyObject * obj3 = 0 ;
10915 PyObject * obj4 = 0 ;
994141e6 10916 PyObject * obj5 = 0 ;
d14a1e28
RD
10917 PyObject * obj6 = 0 ;
10918 char *kwnames[] = {
10919 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10920 };
10921
994141e6 10922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
10923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10925 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 10927 if (obj2) {
c32bde28 10928 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 10929 if (PyErr_Occurred()) SWIG_fail;
994141e6 10930 }
d14a1e28
RD
10931 if (obj3) {
10932 {
10933 arg4 = &temp4;
10934 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10935 }
10936 }
10937 if (obj4) {
10938 {
10939 arg5 = &temp5;
10940 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10941 }
10942 }
994141e6 10943 if (obj5) {
c32bde28 10944 arg6 = (long)SWIG_As_long(obj5);
15afbcd0 10945 if (PyErr_Occurred()) SWIG_fail;
994141e6 10946 }
d14a1e28
RD
10947 if (obj6) {
10948 {
10949 arg7 = wxString_in_helper(obj6);
10950 if (arg7 == NULL) SWIG_fail;
e811c8ce 10951 temp7 = True;
d14a1e28
RD
10952 }
10953 }
10954 {
10955 PyThreadState* __tstate = wxPyBeginAllowThreads();
10956 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10957
10958 wxPyEndAllowThreads(__tstate);
10959 if (PyErr_Occurred()) SWIG_fail;
10960 }
4f89f6a3
RD
10961 {
10962 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10963 }
d14a1e28
RD
10964 {
10965 if (temp7)
10966 delete arg7;
10967 }
10968 return resultobj;
10969 fail:
10970 {
10971 if (temp7)
10972 delete arg7;
10973 }
10974 return NULL;
10975}
10976
10977
c32bde28 10978static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10979 PyObject *resultobj;
10980 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10981 PyObject * obj0 = 0 ;
10982 char *kwnames[] = {
10983 (char *) "self", NULL
10984 };
10985
10986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
15afbcd0
RD
10987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10989 {
10990 PyThreadState* __tstate = wxPyBeginAllowThreads();
10991 (arg1)->RefreshAll();
10992
10993 wxPyEndAllowThreads(__tstate);
10994 if (PyErr_Occurred()) SWIG_fail;
10995 }
10996 Py_INCREF(Py_None); resultobj = Py_None;
10997 return resultobj;
10998 fail:
10999 return NULL;
11000}
11001
11002
c32bde28 11003static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11004 PyObject *resultobj;
11005 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
11006 size_t arg2 ;
11007 PyObject * obj0 = 0 ;
11008 PyObject * obj1 = 0 ;
11009 char *kwnames[] = {
11010 (char *) "self",(char *) "count", NULL
11011 };
11012
11013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
11015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11016 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 11017 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11018 {
11019 PyThreadState* __tstate = wxPyBeginAllowThreads();
11020 (arg1)->SetItemCount(arg2);
11021
11022 wxPyEndAllowThreads(__tstate);
11023 if (PyErr_Occurred()) SWIG_fail;
11024 }
11025 Py_INCREF(Py_None); resultobj = Py_None;
11026 return resultobj;
11027 fail:
11028 return NULL;
11029}
11030
11031
c32bde28 11032static PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *, PyObject *args, PyObject *kwargs) {
7fdaaabe
RD
11033 PyObject *resultobj;
11034 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
11035 wxFileSystem *result;
11036 PyObject * obj0 = 0 ;
11037 char *kwnames[] = {
11038 (char *) "self", NULL
11039 };
11040
11041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_GetFileSystem",kwnames,&obj0)) goto fail;
11042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
11043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11044 {
11045 PyThreadState* __tstate = wxPyBeginAllowThreads();
11046 {
11047 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
11048 result = (wxFileSystem *) &_result_ref;
11049 }
11050
11051 wxPyEndAllowThreads(__tstate);
11052 if (PyErr_Occurred()) SWIG_fail;
11053 }
11054 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileSystem, 0);
11055 return resultobj;
11056 fail:
11057 return NULL;
11058}
11059
11060
c32bde28 11061static PyObject * HtmlListBox_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11062 PyObject *obj;
11063 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11064 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
11065 Py_INCREF(obj);
11066 return Py_BuildValue((char *)"");
11067}
c32bde28 11068static PyObject *_wrap_new_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11069 PyObject *resultobj;
11070 wxTaskBarIcon *result;
11071 char *kwnames[] = {
11072 NULL
11073 };
11074
11075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
11076 {
e3b71cb8 11077 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
11078 PyThreadState* __tstate = wxPyBeginAllowThreads();
11079 result = (wxTaskBarIcon *)new wxTaskBarIcon();
11080
11081 wxPyEndAllowThreads(__tstate);
110da5b0 11082 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11083 }
15afbcd0 11084 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIcon, 1);
d14a1e28
RD
11085 return resultobj;
11086 fail:
11087 return NULL;
11088}
11089
11090
c32bde28 11091static PyObject *_wrap_delete_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11092 PyObject *resultobj;
11093 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
11094 PyObject * obj0 = 0 ;
11095 char *kwnames[] = {
11096 (char *) "self", NULL
11097 };
11098
11099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
15afbcd0
RD
11100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
11101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11102 {
11103 PyThreadState* __tstate = wxPyBeginAllowThreads();
11104 delete arg1;
11105
11106 wxPyEndAllowThreads(__tstate);
11107 if (PyErr_Occurred()) SWIG_fail;
11108 }
11109 Py_INCREF(Py_None); resultobj = Py_None;
11110 return resultobj;
11111 fail:
11112 return NULL;
11113}
11114
11115
c32bde28 11116static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
74a57fcd
RD
11117 PyObject *resultobj;
11118 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
11119 PyObject * obj0 = 0 ;
11120 char *kwnames[] = {
11121 (char *) "self", NULL
11122 };
11123
11124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail;
11125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
11126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11127 {
11128 PyThreadState* __tstate = wxPyBeginAllowThreads();
11129 wxTaskBarIcon_Destroy(arg1);
11130
11131 wxPyEndAllowThreads(__tstate);
11132 if (PyErr_Occurred()) SWIG_fail;
11133 }
11134 Py_INCREF(Py_None); resultobj = Py_None;
11135 return resultobj;
11136 fail:
11137 return NULL;
11138}
11139
11140
c32bde28 11141static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11142 PyObject *resultobj;
11143 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
11144 bool result;
11145 PyObject * obj0 = 0 ;
11146 char *kwnames[] = {
11147 (char *) "self", NULL
11148 };
11149
11150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
15afbcd0
RD
11151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
11152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11153 {
11154 PyThreadState* __tstate = wxPyBeginAllowThreads();
11155 result = (bool)((wxTaskBarIcon const *)arg1)->IsOk();
11156
11157 wxPyEndAllowThreads(__tstate);
11158 if (PyErr_Occurred()) SWIG_fail;
11159 }
4f89f6a3
RD
11160 {
11161 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11162 }
d14a1e28
RD
11163 return resultobj;
11164 fail:
11165 return NULL;
11166}
11167
11168
c32bde28 11169static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11170 PyObject *resultobj;
11171 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
11172 bool result;
11173 PyObject * obj0 = 0 ;
11174 char *kwnames[] = {
11175 (char *) "self", NULL
11176 };
11177
11178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
15afbcd0
RD
11179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
11180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11181 {
11182 PyThreadState* __tstate = wxPyBeginAllowThreads();
11183 result = (bool)((wxTaskBarIcon const *)arg1)->IsIconInstalled();
11184
11185 wxPyEndAllowThreads(__tstate);
11186 if (PyErr_Occurred()) SWIG_fail;
11187 }
4f89f6a3
RD
11188 {
11189 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11190 }
d14a1e28
RD
11191 return resultobj;
11192 fail:
11193 return NULL;
11194}
11195
11196
c32bde28 11197static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11198 PyObject *resultobj;
11199 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
11200 wxIcon *arg2 = 0 ;
11201 wxString const &arg3_defvalue = wxPyEmptyString ;
11202 wxString *arg3 = (wxString *) &arg3_defvalue ;
11203 bool result;
e811c8ce 11204 bool temp3 = False ;
d14a1e28
RD
11205 PyObject * obj0 = 0 ;
11206 PyObject * obj1 = 0 ;
11207 PyObject * obj2 = 0 ;
11208 char *kwnames[] = {
11209 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
11210 };
11211
11212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
11214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11215 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
11216 SWIG_POINTER_EXCEPTION | 0)) == -1)
11217 SWIG_fail;
d14a1e28 11218 if (arg2 == NULL) {
15afbcd0
RD
11219 PyErr_SetString(PyExc_TypeError,"null reference");
11220 SWIG_fail;
d14a1e28
RD
11221 }
11222 if (obj2) {
11223 {
11224 arg3 = wxString_in_helper(obj2);
11225 if (arg3 == NULL) SWIG_fail;
e811c8ce 11226 temp3 = True;
d14a1e28
RD
11227 }
11228 }
11229 {
11230 PyThreadState* __tstate = wxPyBeginAllowThreads();
11231 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
11232
11233 wxPyEndAllowThreads(__tstate);
11234 if (PyErr_Occurred()) SWIG_fail;
11235 }
4f89f6a3
RD
11236 {
11237 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11238 }
d14a1e28
RD
11239 {
11240 if (temp3)
11241 delete arg3;
11242 }
11243 return resultobj;
11244 fail:
11245 {
11246 if (temp3)
11247 delete arg3;
11248 }
11249 return NULL;
11250}
11251
11252
c32bde28 11253static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11254 PyObject *resultobj;
11255 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
11256 bool result;
11257 PyObject * obj0 = 0 ;
11258 char *kwnames[] = {
11259 (char *) "self", NULL
11260 };
11261
11262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
15afbcd0
RD
11263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
11264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11265 {
11266 PyThreadState* __tstate = wxPyBeginAllowThreads();
11267 result = (bool)(arg1)->RemoveIcon();
11268
11269 wxPyEndAllowThreads(__tstate);
11270 if (PyErr_Occurred()) SWIG_fail;
11271 }
4f89f6a3
RD
11272 {
11273 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11274 }
d14a1e28
RD
11275 return resultobj;
11276 fail:
11277 return NULL;
11278}
11279
11280
c32bde28 11281static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11282 PyObject *resultobj;
11283 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
11284 wxMenu *arg2 = (wxMenu *) 0 ;
11285 bool result;
11286 PyObject * obj0 = 0 ;
11287 PyObject * obj1 = 0 ;
11288 char *kwnames[] = {
11289 (char *) "self",(char *) "menu", NULL
11290 };
11291
11292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
11294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11295 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
11296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11297 {
11298 PyThreadState* __tstate = wxPyBeginAllowThreads();
11299 result = (bool)(arg1)->PopupMenu(arg2);
11300
11301 wxPyEndAllowThreads(__tstate);
11302 if (PyErr_Occurred()) SWIG_fail;
11303 }
4f89f6a3
RD
11304 {
11305 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11306 }
d14a1e28
RD
11307 return resultobj;
11308 fail:
11309 return NULL;
11310}
11311
11312
c32bde28 11313static PyObject * TaskBarIcon_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11314 PyObject *obj;
11315 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11316 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj);
11317 Py_INCREF(obj);
11318 return Py_BuildValue((char *)"");
11319}
c32bde28 11320static PyObject *_wrap_new_TaskBarIconEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11321 PyObject *resultobj;
11322 wxEventType arg1 ;
11323 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
11324 wxTaskBarIconEvent *result;
994141e6 11325 PyObject * obj0 = 0 ;
d14a1e28
RD
11326 PyObject * obj1 = 0 ;
11327 char *kwnames[] = {
11328 (char *) "evtType",(char *) "tbIcon", NULL
11329 };
11330
994141e6 11331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
c32bde28 11332 arg1 = (wxEventType)SWIG_As_int(obj0);
15afbcd0
RD
11333 if (PyErr_Occurred()) SWIG_fail;
11334 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTaskBarIcon,
11335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11336 {
11337 PyThreadState* __tstate = wxPyBeginAllowThreads();
11338 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
11339
11340 wxPyEndAllowThreads(__tstate);
11341 if (PyErr_Occurred()) SWIG_fail;
11342 }
15afbcd0 11343 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
d14a1e28
RD
11344 return resultobj;
11345 fail:
11346 return NULL;
11347}
11348
11349
c32bde28 11350static PyObject * TaskBarIconEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11351 PyObject *obj;
11352 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11353 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
11354 Py_INCREF(obj);
11355 return Py_BuildValue((char *)"");
11356}
c32bde28 11357static int _wrap_FileSelectorPromptStr_set(PyObject *) {
b2dc1044
RD
11358 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
11359 return 1;
11360}
11361
11362
11363static PyObject *_wrap_FileSelectorPromptStr_get() {
11364 PyObject *pyobj;
11365
11366 {
11367#if wxUSE_UNICODE
11368 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
11369#else
11370 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
11371#endif
11372 }
11373 return pyobj;
11374}
11375
11376
c32bde28 11377static int _wrap_DirSelectorPromptStr_set(PyObject *) {
b2dc1044
RD
11378 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
11379 return 1;
11380}
11381
11382
11383static PyObject *_wrap_DirSelectorPromptStr_get() {
11384 PyObject *pyobj;
11385
11386 {
11387#if wxUSE_UNICODE
11388 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
11389#else
11390 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
11391#endif
11392 }
11393 return pyobj;
11394}
11395
11396
c32bde28 11397static int _wrap_DirDialogNameStr_set(PyObject *) {
b2dc1044
RD
11398 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
11399 return 1;
11400}
11401
11402
11403static PyObject *_wrap_DirDialogNameStr_get() {
11404 PyObject *pyobj;
11405
11406 {
11407#if wxUSE_UNICODE
11408 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
11409#else
11410 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
11411#endif
11412 }
11413 return pyobj;
11414}
11415
11416
c32bde28 11417static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) {
b2dc1044
RD
11418 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
11419 return 1;
11420}
11421
11422
11423static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
11424 PyObject *pyobj;
11425
11426 {
11427#if wxUSE_UNICODE
11428 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
11429#else
11430 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
11431#endif
11432 }
11433 return pyobj;
11434}
11435
11436
c32bde28 11437static int _wrap_GetTextFromUserPromptStr_set(PyObject *) {
b2dc1044
RD
11438 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
11439 return 1;
11440}
11441
11442
11443static PyObject *_wrap_GetTextFromUserPromptStr_get() {
11444 PyObject *pyobj;
11445
11446 {
11447#if wxUSE_UNICODE
11448 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
11449#else
11450 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
11451#endif
11452 }
11453 return pyobj;
11454}
11455
11456
c32bde28 11457static int _wrap_MessageBoxCaptionStr_set(PyObject *) {
b2dc1044
RD
11458 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
11459 return 1;
11460}
11461
11462
11463static PyObject *_wrap_MessageBoxCaptionStr_get() {
11464 PyObject *pyobj;
11465
11466 {
11467#if wxUSE_UNICODE
11468 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
11469#else
11470 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
11471#endif
11472 }
11473 return pyobj;
11474}
11475
11476
c32bde28 11477static PyObject *_wrap_new_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11478 PyObject *resultobj;
11479 wxColourData *result;
11480 char *kwnames[] = {
11481 NULL
11482 };
11483
11484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
11485 {
11486 PyThreadState* __tstate = wxPyBeginAllowThreads();
11487 result = (wxColourData *)new wxColourData();
11488
11489 wxPyEndAllowThreads(__tstate);
11490 if (PyErr_Occurred()) SWIG_fail;
11491 }
15afbcd0 11492 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
d14a1e28
RD
11493 return resultobj;
11494 fail:
11495 return NULL;
11496}
11497
11498
c32bde28 11499static PyObject *_wrap_delete_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11500 PyObject *resultobj;
11501 wxColourData *arg1 = (wxColourData *) 0 ;
11502 PyObject * obj0 = 0 ;
11503 char *kwnames[] = {
11504 (char *) "self", NULL
11505 };
11506
11507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
15afbcd0
RD
11508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11510 {
11511 PyThreadState* __tstate = wxPyBeginAllowThreads();
11512 delete arg1;
11513
11514 wxPyEndAllowThreads(__tstate);
11515 if (PyErr_Occurred()) SWIG_fail;
11516 }
11517 Py_INCREF(Py_None); resultobj = Py_None;
11518 return resultobj;
11519 fail:
11520 return NULL;
11521}
11522
11523
c32bde28 11524static PyObject *_wrap_ColourData_GetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11525 PyObject *resultobj;
11526 wxColourData *arg1 = (wxColourData *) 0 ;
11527 bool result;
11528 PyObject * obj0 = 0 ;
11529 char *kwnames[] = {
11530 (char *) "self", NULL
11531 };
11532
11533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
15afbcd0
RD
11534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11536 {
11537 PyThreadState* __tstate = wxPyBeginAllowThreads();
11538 result = (bool)(arg1)->GetChooseFull();
11539
11540 wxPyEndAllowThreads(__tstate);
11541 if (PyErr_Occurred()) SWIG_fail;
11542 }
4f89f6a3
RD
11543 {
11544 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11545 }
d14a1e28
RD
11546 return resultobj;
11547 fail:
11548 return NULL;
11549}
11550
11551
c32bde28 11552static PyObject *_wrap_ColourData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11553 PyObject *resultobj;
11554 wxColourData *arg1 = (wxColourData *) 0 ;
11555 wxColour result;
11556 PyObject * obj0 = 0 ;
11557 char *kwnames[] = {
11558 (char *) "self", NULL
11559 };
11560
11561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
11562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11564 {
11565 PyThreadState* __tstate = wxPyBeginAllowThreads();
11566 result = (arg1)->GetColour();
11567
11568 wxPyEndAllowThreads(__tstate);
11569 if (PyErr_Occurred()) SWIG_fail;
11570 }
11571 {
11572 wxColour * resultptr;
11573 resultptr = new wxColour((wxColour &) result);
15afbcd0 11574 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
11575 }
11576 return resultobj;
11577 fail:
11578 return NULL;
11579}
11580
11581
c32bde28 11582static PyObject *_wrap_ColourData_GetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11583 PyObject *resultobj;
11584 wxColourData *arg1 = (wxColourData *) 0 ;
11585 int arg2 ;
11586 wxColour result;
11587 PyObject * obj0 = 0 ;
994141e6 11588 PyObject * obj1 = 0 ;
d14a1e28
RD
11589 char *kwnames[] = {
11590 (char *) "self",(char *) "i", NULL
11591 };
11592
994141e6 11593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11596 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 11597 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11598 {
11599 PyThreadState* __tstate = wxPyBeginAllowThreads();
11600 result = (arg1)->GetCustomColour(arg2);
11601
11602 wxPyEndAllowThreads(__tstate);
11603 if (PyErr_Occurred()) SWIG_fail;
11604 }
11605 {
11606 wxColour * resultptr;
11607 resultptr = new wxColour((wxColour &) result);
15afbcd0 11608 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
11609 }
11610 return resultobj;
11611 fail:
11612 return NULL;
11613}
11614
11615
c32bde28 11616static PyObject *_wrap_ColourData_SetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11617 PyObject *resultobj;
11618 wxColourData *arg1 = (wxColourData *) 0 ;
11619 int arg2 ;
11620 PyObject * obj0 = 0 ;
994141e6 11621 PyObject * obj1 = 0 ;
d14a1e28
RD
11622 char *kwnames[] = {
11623 (char *) "self",(char *) "flag", NULL
11624 };
11625
994141e6 11626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11629 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 11630 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11631 {
11632 PyThreadState* __tstate = wxPyBeginAllowThreads();
11633 (arg1)->SetChooseFull(arg2);
11634
11635 wxPyEndAllowThreads(__tstate);
11636 if (PyErr_Occurred()) SWIG_fail;
11637 }
11638 Py_INCREF(Py_None); resultobj = Py_None;
11639 return resultobj;
11640 fail:
11641 return NULL;
11642}
11643
11644
c32bde28 11645static PyObject *_wrap_ColourData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11646 PyObject *resultobj;
11647 wxColourData *arg1 = (wxColourData *) 0 ;
11648 wxColour *arg2 = 0 ;
11649 wxColour temp2 ;
11650 PyObject * obj0 = 0 ;
11651 PyObject * obj1 = 0 ;
11652 char *kwnames[] = {
11653 (char *) "self",(char *) "colour", NULL
11654 };
11655
11656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11659 {
11660 arg2 = &temp2;
11661 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
11662 }
11663 {
11664 PyThreadState* __tstate = wxPyBeginAllowThreads();
11665 (arg1)->SetColour((wxColour const &)*arg2);
11666
11667 wxPyEndAllowThreads(__tstate);
11668 if (PyErr_Occurred()) SWIG_fail;
11669 }
11670 Py_INCREF(Py_None); resultobj = Py_None;
11671 return resultobj;
11672 fail:
11673 return NULL;
11674}
11675
11676
c32bde28 11677static PyObject *_wrap_ColourData_SetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11678 PyObject *resultobj;
11679 wxColourData *arg1 = (wxColourData *) 0 ;
11680 int arg2 ;
11681 wxColour *arg3 = 0 ;
11682 wxColour temp3 ;
11683 PyObject * obj0 = 0 ;
994141e6 11684 PyObject * obj1 = 0 ;
d14a1e28
RD
11685 PyObject * obj2 = 0 ;
11686 char *kwnames[] = {
11687 (char *) "self",(char *) "i",(char *) "colour", NULL
11688 };
11689
994141e6 11690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11693 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 11694 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11695 {
11696 arg3 = &temp3;
11697 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
11698 }
11699 {
11700 PyThreadState* __tstate = wxPyBeginAllowThreads();
11701 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
11702
11703 wxPyEndAllowThreads(__tstate);
11704 if (PyErr_Occurred()) SWIG_fail;
11705 }
11706 Py_INCREF(Py_None); resultobj = Py_None;
11707 return resultobj;
11708 fail:
11709 return NULL;
11710}
11711
11712
c32bde28 11713static PyObject * ColourData_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11714 PyObject *obj;
11715 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11716 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
11717 Py_INCREF(obj);
11718 return Py_BuildValue((char *)"");
11719}
c32bde28 11720static PyObject *_wrap_new_ColourDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11721 PyObject *resultobj;
11722 wxWindow *arg1 = (wxWindow *) 0 ;
11723 wxColourData *arg2 = (wxColourData *) NULL ;
11724 wxColourDialog *result;
11725 PyObject * obj0 = 0 ;
11726 PyObject * obj1 = 0 ;
11727 char *kwnames[] = {
11728 (char *) "parent",(char *) "data", NULL
11729 };
11730
11731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 11734 if (obj1) {
15afbcd0
RD
11735 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColourData,
11736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11737 }
11738 {
e3b71cb8 11739 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
11740 PyThreadState* __tstate = wxPyBeginAllowThreads();
11741 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
11742
11743 wxPyEndAllowThreads(__tstate);
110da5b0 11744 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11745 }
15afbcd0 11746 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
d14a1e28
RD
11747 return resultobj;
11748 fail:
11749 return NULL;
11750}
11751
11752
c32bde28 11753static PyObject *_wrap_ColourDialog_GetColourData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11754 PyObject *resultobj;
11755 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
11756 wxColourData *result;
11757 PyObject * obj0 = 0 ;
11758 char *kwnames[] = {
11759 (char *) "self", NULL
11760 };
11761
11762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
15afbcd0
RD
11763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDialog,
11764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11765 {
11766 PyThreadState* __tstate = wxPyBeginAllowThreads();
11767 {
11768 wxColourData &_result_ref = (arg1)->GetColourData();
11769 result = (wxColourData *) &_result_ref;
11770 }
11771
11772 wxPyEndAllowThreads(__tstate);
11773 if (PyErr_Occurred()) SWIG_fail;
11774 }
15afbcd0 11775 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
d14a1e28
RD
11776 return resultobj;
11777 fail:
11778 return NULL;
11779}
11780
11781
c32bde28 11782static PyObject * ColourDialog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11783 PyObject *obj;
11784 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11785 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
11786 Py_INCREF(obj);
11787 return Py_BuildValue((char *)"");
11788}
c32bde28 11789static PyObject *_wrap_new_DirDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11790 PyObject *resultobj;
11791 wxWindow *arg1 = (wxWindow *) 0 ;
11792 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
11793 wxString *arg2 = (wxString *) &arg2_defvalue ;
11794 wxString const &arg3_defvalue = wxPyEmptyString ;
11795 wxString *arg3 = (wxString *) &arg3_defvalue ;
11796 long arg4 = (long) 0 ;
11797 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11798 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11799 wxSize const &arg6_defvalue = wxDefaultSize ;
11800 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11801 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
11802 wxString *arg7 = (wxString *) &arg7_defvalue ;
11803 wxDirDialog *result;
e811c8ce
RD
11804 bool temp2 = False ;
11805 bool temp3 = False ;
d14a1e28
RD
11806 wxPoint temp5 ;
11807 wxSize temp6 ;
e811c8ce 11808 bool temp7 = False ;
d14a1e28
RD
11809 PyObject * obj0 = 0 ;
11810 PyObject * obj1 = 0 ;
11811 PyObject * obj2 = 0 ;
994141e6 11812 PyObject * obj3 = 0 ;
d14a1e28
RD
11813 PyObject * obj4 = 0 ;
11814 PyObject * obj5 = 0 ;
11815 PyObject * obj6 = 0 ;
11816 char *kwnames[] = {
11817 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11818 };
11819
994141e6 11820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
11821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11823 if (obj1) {
11824 {
11825 arg2 = wxString_in_helper(obj1);
11826 if (arg2 == NULL) SWIG_fail;
e811c8ce 11827 temp2 = True;
d14a1e28
RD
11828 }
11829 }
11830 if (obj2) {
11831 {
11832 arg3 = wxString_in_helper(obj2);
11833 if (arg3 == NULL) SWIG_fail;
e811c8ce 11834 temp3 = True;
d14a1e28
RD
11835 }
11836 }
994141e6 11837 if (obj3) {
c32bde28 11838 arg4 = (long)SWIG_As_long(obj3);
15afbcd0 11839 if (PyErr_Occurred()) SWIG_fail;
994141e6 11840 }
d14a1e28
RD
11841 if (obj4) {
11842 {
11843 arg5 = &temp5;
11844 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11845 }
11846 }
11847 if (obj5) {
11848 {
11849 arg6 = &temp6;
11850 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11851 }
11852 }
11853 if (obj6) {
11854 {
11855 arg7 = wxString_in_helper(obj6);
11856 if (arg7 == NULL) SWIG_fail;
e811c8ce 11857 temp7 = True;
d14a1e28
RD
11858 }
11859 }
11860 {
e3b71cb8 11861 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
11862 PyThreadState* __tstate = wxPyBeginAllowThreads();
11863 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
11864
11865 wxPyEndAllowThreads(__tstate);
110da5b0 11866 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11867 }
15afbcd0 11868 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
d14a1e28
RD
11869 {
11870 if (temp2)
11871 delete arg2;
11872 }
11873 {
11874 if (temp3)
11875 delete arg3;
11876 }
11877 {
11878 if (temp7)
11879 delete arg7;
11880 }
11881 return resultobj;
11882 fail:
11883 {
11884 if (temp2)
11885 delete arg2;
11886 }
11887 {
11888 if (temp3)
11889 delete arg3;
11890 }
11891 {
11892 if (temp7)
11893 delete arg7;
11894 }
11895 return NULL;
11896}
11897
11898
c32bde28 11899static PyObject *_wrap_DirDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11900 PyObject *resultobj;
11901 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11902 wxString result;
11903 PyObject * obj0 = 0 ;
11904 char *kwnames[] = {
11905 (char *) "self", NULL
11906 };
11907
11908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
15afbcd0
RD
11909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11911 {
11912 PyThreadState* __tstate = wxPyBeginAllowThreads();
11913 result = (arg1)->GetPath();
11914
11915 wxPyEndAllowThreads(__tstate);
11916 if (PyErr_Occurred()) SWIG_fail;
11917 }
11918 {
11919#if wxUSE_UNICODE
11920 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11921#else
11922 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11923#endif
11924 }
11925 return resultobj;
11926 fail:
11927 return NULL;
11928}
11929
11930
c32bde28 11931static PyObject *_wrap_DirDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11932 PyObject *resultobj;
11933 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11934 wxString result;
11935 PyObject * obj0 = 0 ;
11936 char *kwnames[] = {
11937 (char *) "self", NULL
11938 };
11939
11940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
15afbcd0
RD
11941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11943 {
11944 PyThreadState* __tstate = wxPyBeginAllowThreads();
11945 result = (arg1)->GetMessage();
11946
11947 wxPyEndAllowThreads(__tstate);
11948 if (PyErr_Occurred()) SWIG_fail;
11949 }
11950 {
11951#if wxUSE_UNICODE
11952 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11953#else
11954 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11955#endif
11956 }
11957 return resultobj;
11958 fail:
11959 return NULL;
11960}
11961
11962
c32bde28 11963static PyObject *_wrap_DirDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11964 PyObject *resultobj;
11965 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11966 long result;
11967 PyObject * obj0 = 0 ;
11968 char *kwnames[] = {
11969 (char *) "self", NULL
11970 };
11971
11972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
15afbcd0
RD
11973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11975 {
11976 PyThreadState* __tstate = wxPyBeginAllowThreads();
11977 result = (long)(arg1)->GetStyle();
11978
11979 wxPyEndAllowThreads(__tstate);
11980 if (PyErr_Occurred()) SWIG_fail;
11981 }
c32bde28 11982 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
11983 return resultobj;
11984 fail:
11985 return NULL;
11986}
11987
11988
c32bde28 11989static PyObject *_wrap_DirDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11990 PyObject *resultobj;
11991 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11992 wxString *arg2 = 0 ;
e811c8ce 11993 bool temp2 = False ;
d14a1e28
RD
11994 PyObject * obj0 = 0 ;
11995 PyObject * obj1 = 0 ;
11996 char *kwnames[] = {
11997 (char *) "self",(char *) "message", NULL
11998 };
11999
12000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
12002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12003 {
12004 arg2 = wxString_in_helper(obj1);
12005 if (arg2 == NULL) SWIG_fail;
e811c8ce 12006 temp2 = True;
d14a1e28
RD
12007 }
12008 {
12009 PyThreadState* __tstate = wxPyBeginAllowThreads();
12010 (arg1)->SetMessage((wxString const &)*arg2);
12011
12012 wxPyEndAllowThreads(__tstate);
12013 if (PyErr_Occurred()) SWIG_fail;
12014 }
12015 Py_INCREF(Py_None); resultobj = Py_None;
12016 {
12017 if (temp2)
12018 delete arg2;
12019 }
12020 return resultobj;
12021 fail:
12022 {
12023 if (temp2)
12024 delete arg2;
12025 }
12026 return NULL;
12027}
12028
12029
c32bde28 12030static PyObject *_wrap_DirDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12031 PyObject *resultobj;
12032 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
12033 wxString *arg2 = 0 ;
e811c8ce 12034 bool temp2 = False ;
d14a1e28
RD
12035 PyObject * obj0 = 0 ;
12036 PyObject * obj1 = 0 ;
12037 char *kwnames[] = {
12038 (char *) "self",(char *) "path", NULL
12039 };
12040
12041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
12043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12044 {
12045 arg2 = wxString_in_helper(obj1);
12046 if (arg2 == NULL) SWIG_fail;
e811c8ce 12047 temp2 = True;
d14a1e28
RD
12048 }
12049 {
12050 PyThreadState* __tstate = wxPyBeginAllowThreads();
12051 (arg1)->SetPath((wxString const &)*arg2);
12052
12053 wxPyEndAllowThreads(__tstate);
12054 if (PyErr_Occurred()) SWIG_fail;
12055 }
12056 Py_INCREF(Py_None); resultobj = Py_None;
12057 {
12058 if (temp2)
12059 delete arg2;
12060 }
12061 return resultobj;
12062 fail:
12063 {
12064 if (temp2)
12065 delete arg2;
12066 }
12067 return NULL;
12068}
12069
12070
c32bde28 12071static PyObject * DirDialog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
12072 PyObject *obj;
12073 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12074 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
12075 Py_INCREF(obj);
12076 return Py_BuildValue((char *)"");
12077}
c32bde28 12078static PyObject *_wrap_new_FileDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12079 PyObject *resultobj;
12080 wxWindow *arg1 = (wxWindow *) 0 ;
12081 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
12082 wxString *arg2 = (wxString *) &arg2_defvalue ;
12083 wxString const &arg3_defvalue = wxPyEmptyString ;
12084 wxString *arg3 = (wxString *) &arg3_defvalue ;
12085 wxString const &arg4_defvalue = wxPyEmptyString ;
12086 wxString *arg4 = (wxString *) &arg4_defvalue ;
12087 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
12088 wxString *arg5 = (wxString *) &arg5_defvalue ;
12089 long arg6 = (long) 0 ;
12090 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12091 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12092 wxFileDialog *result;
e811c8ce
RD
12093 bool temp2 = False ;
12094 bool temp3 = False ;
12095 bool temp4 = False ;
12096 bool temp5 = False ;
d14a1e28
RD
12097 wxPoint temp7 ;
12098 PyObject * obj0 = 0 ;
12099 PyObject * obj1 = 0 ;
12100 PyObject * obj2 = 0 ;
12101 PyObject * obj3 = 0 ;
12102 PyObject * obj4 = 0 ;
994141e6 12103 PyObject * obj5 = 0 ;
d14a1e28
RD
12104 PyObject * obj6 = 0 ;
12105 char *kwnames[] = {
12106 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
12107 };
12108
994141e6 12109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
12110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12112 if (obj1) {
12113 {
12114 arg2 = wxString_in_helper(obj1);
12115 if (arg2 == NULL) SWIG_fail;
e811c8ce 12116 temp2 = True;
d14a1e28
RD
12117 }
12118 }
12119 if (obj2) {
12120 {
12121 arg3 = wxString_in_helper(obj2);
12122 if (arg3 == NULL) SWIG_fail;
e811c8ce 12123 temp3 = True;
d14a1e28
RD
12124 }
12125 }
12126 if (obj3) {
12127 {
12128 arg4 = wxString_in_helper(obj3);
12129 if (arg4 == NULL) SWIG_fail;
e811c8ce 12130 temp4 = True;
d14a1e28
RD
12131 }
12132 }
12133 if (obj4) {
12134 {
12135 arg5 = wxString_in_helper(obj4);
12136 if (arg5 == NULL) SWIG_fail;
e811c8ce 12137 temp5 = True;
d14a1e28
RD
12138 }
12139 }
994141e6 12140 if (obj5) {
c32bde28 12141 arg6 = (long)SWIG_As_long(obj5);
15afbcd0 12142 if (PyErr_Occurred()) SWIG_fail;
994141e6 12143 }
d14a1e28
RD
12144 if (obj6) {
12145 {
12146 arg7 = &temp7;
12147 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
12148 }
12149 }
12150 {
e3b71cb8 12151 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
12152 PyThreadState* __tstate = wxPyBeginAllowThreads();
12153 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
12154
12155 wxPyEndAllowThreads(__tstate);
110da5b0 12156 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 12157 }
15afbcd0 12158 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
d14a1e28
RD
12159 {
12160 if (temp2)
12161 delete arg2;
12162 }
12163 {
12164 if (temp3)
12165 delete arg3;
12166 }
12167 {
12168 if (temp4)
12169 delete arg4;
12170 }
12171 {
12172 if (temp5)
12173 delete arg5;
12174 }
12175 return resultobj;
12176 fail:
12177 {
12178 if (temp2)
12179 delete arg2;
12180 }
12181 {
12182 if (temp3)
12183 delete arg3;
12184 }
12185 {
12186 if (temp4)
12187 delete arg4;
12188 }
12189 {
12190 if (temp5)
12191 delete arg5;
12192 }
12193 return NULL;
12194}
12195
12196
c32bde28 12197static PyObject *_wrap_FileDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12198 PyObject *resultobj;
12199 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12200 wxString *arg2 = 0 ;
e811c8ce 12201 bool temp2 = False ;
d14a1e28
RD
12202 PyObject * obj0 = 0 ;
12203 PyObject * obj1 = 0 ;
12204 char *kwnames[] = {
12205 (char *) "self",(char *) "message", NULL
12206 };
12207
12208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12211 {
12212 arg2 = wxString_in_helper(obj1);
12213 if (arg2 == NULL) SWIG_fail;
e811c8ce 12214 temp2 = True;
d14a1e28
RD
12215 }
12216 {
12217 PyThreadState* __tstate = wxPyBeginAllowThreads();
12218 (arg1)->SetMessage((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
c32bde28 12238static PyObject *_wrap_FileDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12239 PyObject *resultobj;
12240 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12241 wxString *arg2 = 0 ;
e811c8ce 12242 bool temp2 = False ;
d14a1e28
RD
12243 PyObject * obj0 = 0 ;
12244 PyObject * obj1 = 0 ;
12245 char *kwnames[] = {
12246 (char *) "self",(char *) "path", NULL
12247 };
12248
12249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12252 {
12253 arg2 = wxString_in_helper(obj1);
12254 if (arg2 == NULL) SWIG_fail;
e811c8ce 12255 temp2 = True;
d14a1e28
RD
12256 }
12257 {
12258 PyThreadState* __tstate = wxPyBeginAllowThreads();
12259 (arg1)->SetPath((wxString const &)*arg2);
12260
12261 wxPyEndAllowThreads(__tstate);
12262 if (PyErr_Occurred()) SWIG_fail;
12263 }
12264 Py_INCREF(Py_None); resultobj = Py_None;
12265 {
12266 if (temp2)
12267 delete arg2;
12268 }
12269 return resultobj;
12270 fail:
12271 {
12272 if (temp2)
12273 delete arg2;
12274 }
12275 return NULL;
12276}
12277
12278
c32bde28 12279static PyObject *_wrap_FileDialog_SetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12280 PyObject *resultobj;
12281 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12282 wxString *arg2 = 0 ;
e811c8ce 12283 bool temp2 = False ;
d14a1e28
RD
12284 PyObject * obj0 = 0 ;
12285 PyObject * obj1 = 0 ;
12286 char *kwnames[] = {
12287 (char *) "self",(char *) "dir", NULL
12288 };
12289
12290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12293 {
12294 arg2 = wxString_in_helper(obj1);
12295 if (arg2 == NULL) SWIG_fail;
e811c8ce 12296 temp2 = True;
d14a1e28
RD
12297 }
12298 {
12299 PyThreadState* __tstate = wxPyBeginAllowThreads();
12300 (arg1)->SetDirectory((wxString const &)*arg2);
12301
12302 wxPyEndAllowThreads(__tstate);
12303 if (PyErr_Occurred()) SWIG_fail;
12304 }
12305 Py_INCREF(Py_None); resultobj = Py_None;
12306 {
12307 if (temp2)
12308 delete arg2;
12309 }
12310 return resultobj;
12311 fail:
12312 {
12313 if (temp2)
12314 delete arg2;
12315 }
12316 return NULL;
12317}
12318
12319
c32bde28 12320static PyObject *_wrap_FileDialog_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12321 PyObject *resultobj;
12322 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12323 wxString *arg2 = 0 ;
e811c8ce 12324 bool temp2 = False ;
d14a1e28
RD
12325 PyObject * obj0 = 0 ;
12326 PyObject * obj1 = 0 ;
12327 char *kwnames[] = {
12328 (char *) "self",(char *) "name", NULL
12329 };
12330
12331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12334 {
12335 arg2 = wxString_in_helper(obj1);
12336 if (arg2 == NULL) SWIG_fail;
e811c8ce 12337 temp2 = True;
d14a1e28
RD
12338 }
12339 {
12340 PyThreadState* __tstate = wxPyBeginAllowThreads();
12341 (arg1)->SetFilename((wxString const &)*arg2);
12342
12343 wxPyEndAllowThreads(__tstate);
12344 if (PyErr_Occurred()) SWIG_fail;
12345 }
12346 Py_INCREF(Py_None); resultobj = Py_None;
12347 {
12348 if (temp2)
12349 delete arg2;
12350 }
12351 return resultobj;
12352 fail:
12353 {
12354 if (temp2)
12355 delete arg2;
12356 }
12357 return NULL;
12358}
12359
12360
c32bde28 12361static PyObject *_wrap_FileDialog_SetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12362 PyObject *resultobj;
12363 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12364 wxString *arg2 = 0 ;
e811c8ce 12365 bool temp2 = False ;
d14a1e28
RD
12366 PyObject * obj0 = 0 ;
12367 PyObject * obj1 = 0 ;
12368 char *kwnames[] = {
12369 (char *) "self",(char *) "wildCard", NULL
12370 };
12371
12372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12375 {
12376 arg2 = wxString_in_helper(obj1);
12377 if (arg2 == NULL) SWIG_fail;
e811c8ce 12378 temp2 = True;
d14a1e28
RD
12379 }
12380 {
12381 PyThreadState* __tstate = wxPyBeginAllowThreads();
12382 (arg1)->SetWildcard((wxString const &)*arg2);
12383
12384 wxPyEndAllowThreads(__tstate);
12385 if (PyErr_Occurred()) SWIG_fail;
12386 }
12387 Py_INCREF(Py_None); resultobj = Py_None;
12388 {
12389 if (temp2)
12390 delete arg2;
12391 }
12392 return resultobj;
12393 fail:
12394 {
12395 if (temp2)
12396 delete arg2;
12397 }
12398 return NULL;
12399}
12400
12401
c32bde28 12402static PyObject *_wrap_FileDialog_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12403 PyObject *resultobj;
12404 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12405 long arg2 ;
12406 PyObject * obj0 = 0 ;
994141e6 12407 PyObject * obj1 = 0 ;
d14a1e28
RD
12408 char *kwnames[] = {
12409 (char *) "self",(char *) "style", NULL
12410 };
12411
994141e6 12412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 12415 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 12416 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12417 {
12418 PyThreadState* __tstate = wxPyBeginAllowThreads();
12419 (arg1)->SetStyle(arg2);
12420
12421 wxPyEndAllowThreads(__tstate);
12422 if (PyErr_Occurred()) SWIG_fail;
12423 }
12424 Py_INCREF(Py_None); resultobj = Py_None;
12425 return resultobj;
12426 fail:
12427 return NULL;
12428}
12429
12430
c32bde28 12431static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12432 PyObject *resultobj;
12433 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12434 int arg2 ;
12435 PyObject * obj0 = 0 ;
994141e6 12436 PyObject * obj1 = 0 ;
d14a1e28
RD
12437 char *kwnames[] = {
12438 (char *) "self",(char *) "filterIndex", NULL
12439 };
12440
994141e6 12441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 12444 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 12445 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12446 {
12447 PyThreadState* __tstate = wxPyBeginAllowThreads();
12448 (arg1)->SetFilterIndex(arg2);
12449
12450 wxPyEndAllowThreads(__tstate);
12451 if (PyErr_Occurred()) SWIG_fail;
12452 }
12453 Py_INCREF(Py_None); resultobj = Py_None;
12454 return resultobj;
12455 fail:
12456 return NULL;
12457}
12458
12459
c32bde28 12460static PyObject *_wrap_FileDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12461 PyObject *resultobj;
12462 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12463 wxString result;
12464 PyObject * obj0 = 0 ;
12465 char *kwnames[] = {
12466 (char *) "self", NULL
12467 };
12468
12469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
15afbcd0
RD
12470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12472 {
12473 PyThreadState* __tstate = wxPyBeginAllowThreads();
12474 result = ((wxFileDialog const *)arg1)->GetMessage();
12475
12476 wxPyEndAllowThreads(__tstate);
12477 if (PyErr_Occurred()) SWIG_fail;
12478 }
12479 {
12480#if wxUSE_UNICODE
12481 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12482#else
12483 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12484#endif
12485 }
12486 return resultobj;
12487 fail:
12488 return NULL;
12489}
12490
12491
c32bde28 12492static PyObject *_wrap_FileDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12493 PyObject *resultobj;
12494 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12495 wxString result;
12496 PyObject * obj0 = 0 ;
12497 char *kwnames[] = {
12498 (char *) "self", NULL
12499 };
12500
12501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
15afbcd0
RD
12502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12504 {
12505 PyThreadState* __tstate = wxPyBeginAllowThreads();
12506 result = ((wxFileDialog const *)arg1)->GetPath();
12507
12508 wxPyEndAllowThreads(__tstate);
12509 if (PyErr_Occurred()) SWIG_fail;
12510 }
12511 {
12512#if wxUSE_UNICODE
12513 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12514#else
12515 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12516#endif
12517 }
12518 return resultobj;
12519 fail:
12520 return NULL;
12521}
12522
12523
c32bde28 12524static PyObject *_wrap_FileDialog_GetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12525 PyObject *resultobj;
12526 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12527 wxString result;
12528 PyObject * obj0 = 0 ;
12529 char *kwnames[] = {
12530 (char *) "self", NULL
12531 };
12532
12533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
15afbcd0
RD
12534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12536 {
12537 PyThreadState* __tstate = wxPyBeginAllowThreads();
12538 result = ((wxFileDialog const *)arg1)->GetDirectory();
12539
12540 wxPyEndAllowThreads(__tstate);
12541 if (PyErr_Occurred()) SWIG_fail;
12542 }
12543 {
12544#if wxUSE_UNICODE
12545 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12546#else
12547 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12548#endif
12549 }
12550 return resultobj;
12551 fail:
12552 return NULL;
12553}
12554
12555
c32bde28 12556static PyObject *_wrap_FileDialog_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12557 PyObject *resultobj;
12558 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12559 wxString result;
12560 PyObject * obj0 = 0 ;
12561 char *kwnames[] = {
12562 (char *) "self", NULL
12563 };
12564
12565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
15afbcd0
RD
12566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12568 {
12569 PyThreadState* __tstate = wxPyBeginAllowThreads();
12570 result = ((wxFileDialog const *)arg1)->GetFilename();
12571
12572 wxPyEndAllowThreads(__tstate);
12573 if (PyErr_Occurred()) SWIG_fail;
12574 }
12575 {
12576#if wxUSE_UNICODE
12577 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12578#else
12579 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12580#endif
12581 }
12582 return resultobj;
12583 fail:
12584 return NULL;
12585}
12586
12587
c32bde28 12588static PyObject *_wrap_FileDialog_GetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12589 PyObject *resultobj;
12590 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12591 wxString result;
12592 PyObject * obj0 = 0 ;
12593 char *kwnames[] = {
12594 (char *) "self", NULL
12595 };
12596
12597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
15afbcd0
RD
12598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12600 {
12601 PyThreadState* __tstate = wxPyBeginAllowThreads();
12602 result = ((wxFileDialog const *)arg1)->GetWildcard();
12603
12604 wxPyEndAllowThreads(__tstate);
12605 if (PyErr_Occurred()) SWIG_fail;
12606 }
12607 {
12608#if wxUSE_UNICODE
12609 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12610#else
12611 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12612#endif
12613 }
12614 return resultobj;
12615 fail:
12616 return NULL;
12617}
12618
12619
c32bde28 12620static PyObject *_wrap_FileDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12621 PyObject *resultobj;
12622 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12623 long result;
12624 PyObject * obj0 = 0 ;
12625 char *kwnames[] = {
12626 (char *) "self", NULL
12627 };
12628
12629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
15afbcd0
RD
12630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12632 {
12633 PyThreadState* __tstate = wxPyBeginAllowThreads();
12634 result = (long)((wxFileDialog const *)arg1)->GetStyle();
12635
12636 wxPyEndAllowThreads(__tstate);
12637 if (PyErr_Occurred()) SWIG_fail;
12638 }
c32bde28 12639 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
12640 return resultobj;
12641 fail:
12642 return NULL;
12643}
12644
12645
c32bde28 12646static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12647 PyObject *resultobj;
12648 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12649 int result;
12650 PyObject * obj0 = 0 ;
12651 char *kwnames[] = {
12652 (char *) "self", NULL
12653 };
12654
12655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
15afbcd0
RD
12656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12658 {
12659 PyThreadState* __tstate = wxPyBeginAllowThreads();
12660 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
12661
12662 wxPyEndAllowThreads(__tstate);
12663 if (PyErr_Occurred()) SWIG_fail;
12664 }
c32bde28 12665 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
12666 return resultobj;
12667 fail:
12668 return NULL;
12669}
12670
12671
c32bde28 12672static PyObject *_wrap_FileDialog_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12673 PyObject *resultobj;
12674 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12675 PyObject *result;
12676 PyObject * obj0 = 0 ;
12677 char *kwnames[] = {
12678 (char *) "self", NULL
12679 };
12680
12681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
15afbcd0
RD
12682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12684 {
12685 PyThreadState* __tstate = wxPyBeginAllowThreads();
12686 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
12687
12688 wxPyEndAllowThreads(__tstate);
12689 if (PyErr_Occurred()) SWIG_fail;
12690 }
12691 resultobj = result;
12692 return resultobj;
12693 fail:
12694 return NULL;
12695}
12696
12697
c32bde28 12698static PyObject *_wrap_FileDialog_GetPaths(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12699 PyObject *resultobj;
12700 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12701 PyObject *result;
12702 PyObject * obj0 = 0 ;
12703 char *kwnames[] = {
12704 (char *) "self", NULL
12705 };
12706
12707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
15afbcd0
RD
12708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12710 {
12711 PyThreadState* __tstate = wxPyBeginAllowThreads();
12712 result = (PyObject *)wxFileDialog_GetPaths(arg1);
12713
12714 wxPyEndAllowThreads(__tstate);
12715 if (PyErr_Occurred()) SWIG_fail;
12716 }
12717 resultobj = result;
12718 return resultobj;
12719 fail:
12720 return NULL;
12721}
12722
12723
c32bde28 12724static PyObject * FileDialog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
12725 PyObject *obj;
12726 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12727 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
12728 Py_INCREF(obj);
12729 return Py_BuildValue((char *)"");
12730}
c32bde28 12731static PyObject *_wrap_new_MultiChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12732 PyObject *resultobj;
12733 wxWindow *arg1 = (wxWindow *) 0 ;
12734 wxString *arg2 = 0 ;
12735 wxString *arg3 = 0 ;
4d5c3d91 12736 int arg4 = (int) 0 ;
248ed943 12737 wxString *arg5 = (wxString *) NULL ;
d14a1e28
RD
12738 long arg6 = (long) wxCHOICEDLG_STYLE ;
12739 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12740 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12741 wxMultiChoiceDialog *result;
e811c8ce
RD
12742 bool temp2 = False ;
12743 bool temp3 = False ;
4d5c3d91 12744 wxPoint temp6 ;
d14a1e28
RD
12745 PyObject * obj0 = 0 ;
12746 PyObject * obj1 = 0 ;
12747 PyObject * obj2 = 0 ;
994141e6 12748 PyObject * obj3 = 0 ;
d14a1e28 12749 PyObject * obj4 = 0 ;
994141e6 12750 PyObject * obj5 = 0 ;
d14a1e28 12751 char *kwnames[] = {
4d5c3d91 12752 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
d14a1e28
RD
12753 };
12754
4d5c3d91 12755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
12756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12758 {
12759 arg2 = wxString_in_helper(obj1);
12760 if (arg2 == NULL) SWIG_fail;
e811c8ce 12761 temp2 = True;
d14a1e28
RD
12762 }
12763 {
12764 arg3 = wxString_in_helper(obj2);
12765 if (arg3 == NULL) SWIG_fail;
e811c8ce 12766 temp3 = True;
d14a1e28 12767 }
4d5c3d91
RD
12768 if (obj3) {
12769 {
12770 arg4 = PyList_Size(obj3);
12771 arg5 = wxString_LIST_helper(obj3);
12772 if (arg5 == NULL) SWIG_fail;
12773 }
7eae615b 12774 }
4d5c3d91 12775 if (obj4) {
c32bde28 12776 arg6 = (long)SWIG_As_long(obj4);
15afbcd0 12777 if (PyErr_Occurred()) SWIG_fail;
994141e6 12778 }
4d5c3d91 12779 if (obj5) {
d14a1e28 12780 {
4d5c3d91
RD
12781 arg7 = &temp6;
12782 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
d14a1e28
RD
12783 }
12784 }
12785 {
e3b71cb8 12786 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
12787 PyThreadState* __tstate = wxPyBeginAllowThreads();
12788 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12789
12790 wxPyEndAllowThreads(__tstate);
110da5b0 12791 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 12792 }
15afbcd0 12793 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
d14a1e28
RD
12794 {
12795 if (temp2)
12796 delete arg2;
12797 }
12798 {
12799 if (temp3)
12800 delete arg3;
12801 }
7eae615b 12802 {
4d5c3d91 12803 if (arg5) delete [] arg5;
7eae615b 12804 }
d14a1e28
RD
12805 return resultobj;
12806 fail:
12807 {
12808 if (temp2)
12809 delete arg2;
12810 }
12811 {
12812 if (temp3)
12813 delete arg3;
12814 }
7eae615b 12815 {
4d5c3d91 12816 if (arg5) delete [] arg5;
7eae615b 12817 }
d14a1e28
RD
12818 return NULL;
12819}
12820
12821
c32bde28 12822static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12823 PyObject *resultobj;
12824 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12825 wxArrayInt *arg2 = 0 ;
3adfb63b 12826 bool temp2 = False ;
d14a1e28
RD
12827 PyObject * obj0 = 0 ;
12828 PyObject * obj1 = 0 ;
12829 char *kwnames[] = {
12830 (char *) "self",(char *) "selections", NULL
12831 };
12832
12833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12836 {
12837 if (! PySequence_Check(obj1)) {
12838 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
12839 SWIG_fail;
12840 }
12841 arg2 = new wxArrayInt;
3adfb63b 12842 temp2 = True;
d14a1e28
RD
12843 int i, len=PySequence_Length(obj1);
12844 for (i=0; i<len; i++) {
12845 PyObject* item = PySequence_GetItem(obj1, i);
12846 PyObject* number = PyNumber_Int(item);
12847 arg2->Add(PyInt_AS_LONG(number));
12848 Py_DECREF(item);
12849 Py_DECREF(number);
12850 }
12851 }
12852 {
12853 PyThreadState* __tstate = wxPyBeginAllowThreads();
12854 (arg1)->SetSelections((wxArrayInt const &)*arg2);
12855
12856 wxPyEndAllowThreads(__tstate);
12857 if (PyErr_Occurred()) SWIG_fail;
12858 }
12859 Py_INCREF(Py_None); resultobj = Py_None;
12860 {
3adfb63b 12861 if (temp2) delete arg2;
d14a1e28
RD
12862 }
12863 return resultobj;
12864 fail:
12865 {
3adfb63b 12866 if (temp2) delete arg2;
d14a1e28
RD
12867 }
12868 return NULL;
12869}
12870
12871
c32bde28 12872static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12873 PyObject *resultobj;
12874 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12875 PyObject *result;
12876 PyObject * obj0 = 0 ;
12877 char *kwnames[] = {
12878 (char *) "self", NULL
12879 };
12880
12881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
15afbcd0
RD
12882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12884 {
12885 PyThreadState* __tstate = wxPyBeginAllowThreads();
12886 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
12887
12888 wxPyEndAllowThreads(__tstate);
12889 if (PyErr_Occurred()) SWIG_fail;
12890 }
12891 resultobj = result;
12892 return resultobj;
12893 fail:
12894 return NULL;
12895}
12896
12897
c32bde28 12898static PyObject * MultiChoiceDialog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
12899 PyObject *obj;
12900 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12901 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
12902 Py_INCREF(obj);
12903 return Py_BuildValue((char *)"");
12904}
c32bde28 12905static PyObject *_wrap_new_SingleChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12906 PyObject *resultobj;
12907 wxWindow *arg1 = (wxWindow *) 0 ;
12908 wxString *arg2 = 0 ;
12909 wxString *arg3 = 0 ;
12910 int arg4 ;
12911 wxString *arg5 = (wxString *) 0 ;
12912 long arg6 = (long) wxCHOICEDLG_STYLE ;
12913 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12914 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12915 wxSingleChoiceDialog *result;
e811c8ce
RD
12916 bool temp2 = False ;
12917 bool temp3 = False ;
d14a1e28
RD
12918 wxPoint temp6 ;
12919 PyObject * obj0 = 0 ;
12920 PyObject * obj1 = 0 ;
12921 PyObject * obj2 = 0 ;
12922 PyObject * obj3 = 0 ;
994141e6 12923 PyObject * obj4 = 0 ;
d14a1e28
RD
12924 PyObject * obj5 = 0 ;
12925 char *kwnames[] = {
12926 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12927 };
12928
994141e6 12929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
12930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12932 {
12933 arg2 = wxString_in_helper(obj1);
12934 if (arg2 == NULL) SWIG_fail;
e811c8ce 12935 temp2 = True;
d14a1e28
RD
12936 }
12937 {
12938 arg3 = wxString_in_helper(obj2);
12939 if (arg3 == NULL) SWIG_fail;
e811c8ce 12940 temp3 = True;
d14a1e28
RD
12941 }
12942 {
12943 arg4 = PyList_Size(obj3);
12944 arg5 = wxString_LIST_helper(obj3);
12945 if (arg5 == NULL) SWIG_fail;
12946 }
994141e6 12947 if (obj4) {
c32bde28 12948 arg6 = (long)SWIG_As_long(obj4);
15afbcd0 12949 if (PyErr_Occurred()) SWIG_fail;
994141e6 12950 }
d14a1e28
RD
12951 if (obj5) {
12952 {
12953 arg7 = &temp6;
12954 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12955 }
12956 }
12957 {
e3b71cb8 12958 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
12959 PyThreadState* __tstate = wxPyBeginAllowThreads();
12960 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12961
12962 wxPyEndAllowThreads(__tstate);
110da5b0 12963 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 12964 }
15afbcd0 12965 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
d14a1e28
RD
12966 {
12967 if (temp2)
12968 delete arg2;
12969 }
12970 {
12971 if (temp3)
12972 delete arg3;
12973 }
12974 {
12975 if (arg5) delete [] arg5;
12976 }
12977 return resultobj;
12978 fail:
12979 {
12980 if (temp2)
12981 delete arg2;
12982 }
12983 {
12984 if (temp3)
12985 delete arg3;
12986 }
12987 {
12988 if (arg5) delete [] arg5;
12989 }
12990 return NULL;
12991}
12992
12993
c32bde28 12994static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12995 PyObject *resultobj;
12996 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12997 int result;
12998 PyObject * obj0 = 0 ;
12999 char *kwnames[] = {
13000 (char *) "self", NULL
13001 };
13002
13003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
13004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
13005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13006 {
13007 PyThreadState* __tstate = wxPyBeginAllowThreads();
13008 result = (int)(arg1)->GetSelection();
13009
13010 wxPyEndAllowThreads(__tstate);
13011 if (PyErr_Occurred()) SWIG_fail;
13012 }
c32bde28 13013 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
13014 return resultobj;
13015 fail:
13016 return NULL;
13017}
13018
13019
c32bde28 13020static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13021 PyObject *resultobj;
13022 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
13023 wxString result;
13024 PyObject * obj0 = 0 ;
13025 char *kwnames[] = {
13026 (char *) "self", NULL
13027 };
13028
13029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
13030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
13031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13032 {
13033 PyThreadState* __tstate = wxPyBeginAllowThreads();
13034 result = (arg1)->GetStringSelection();
13035
13036 wxPyEndAllowThreads(__tstate);
13037 if (PyErr_Occurred()) SWIG_fail;
13038 }
13039 {
13040#if wxUSE_UNICODE
13041 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13042#else
13043 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13044#endif
13045 }
13046 return resultobj;
13047 fail:
13048 return NULL;
13049}
13050
13051
c32bde28 13052static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13053 PyObject *resultobj;
13054 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
13055 int arg2 ;
13056 PyObject * obj0 = 0 ;
994141e6 13057 PyObject * obj1 = 0 ;
d14a1e28
RD
13058 char *kwnames[] = {
13059 (char *) "self",(char *) "sel", NULL
13060 };
13061
994141e6 13062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
13064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13065 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 13066 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13067 {
13068 PyThreadState* __tstate = wxPyBeginAllowThreads();
13069 (arg1)->SetSelection(arg2);
13070
13071 wxPyEndAllowThreads(__tstate);
13072 if (PyErr_Occurred()) SWIG_fail;
13073 }
13074 Py_INCREF(Py_None); resultobj = Py_None;
13075 return resultobj;
13076 fail:
13077 return NULL;
13078}
13079
13080
c32bde28 13081static PyObject * SingleChoiceDialog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
13082 PyObject *obj;
13083 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13084 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
13085 Py_INCREF(obj);
13086 return Py_BuildValue((char *)"");
13087}
c32bde28 13088static PyObject *_wrap_new_TextEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13089 PyObject *resultobj;
13090 wxWindow *arg1 = (wxWindow *) 0 ;
13091 wxString *arg2 = 0 ;
13092 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
13093 wxString *arg3 = (wxString *) &arg3_defvalue ;
13094 wxString const &arg4_defvalue = wxPyEmptyString ;
13095 wxString *arg4 = (wxString *) &arg4_defvalue ;
13096 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
13097 wxPoint const &arg6_defvalue = wxDefaultPosition ;
13098 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
13099 wxTextEntryDialog *result;
e811c8ce
RD
13100 bool temp2 = False ;
13101 bool temp3 = False ;
13102 bool temp4 = False ;
d14a1e28
RD
13103 wxPoint temp6 ;
13104 PyObject * obj0 = 0 ;
13105 PyObject * obj1 = 0 ;
13106 PyObject * obj2 = 0 ;
13107 PyObject * obj3 = 0 ;
994141e6 13108 PyObject * obj4 = 0 ;
d14a1e28
RD
13109 PyObject * obj5 = 0 ;
13110 char *kwnames[] = {
13111 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
13112 };
13113
994141e6 13114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
13115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13117 {
13118 arg2 = wxString_in_helper(obj1);
13119 if (arg2 == NULL) SWIG_fail;
e811c8ce 13120 temp2 = True;
d14a1e28
RD
13121 }
13122 if (obj2) {
13123 {
13124 arg3 = wxString_in_helper(obj2);
13125 if (arg3 == NULL) SWIG_fail;
e811c8ce 13126 temp3 = True;
d14a1e28
RD
13127 }
13128 }
13129 if (obj3) {
13130 {
13131 arg4 = wxString_in_helper(obj3);
13132 if (arg4 == NULL) SWIG_fail;
e811c8ce 13133 temp4 = True;
d14a1e28
RD
13134 }
13135 }
994141e6 13136 if (obj4) {
c32bde28 13137 arg5 = (long)SWIG_As_long(obj4);
15afbcd0 13138 if (PyErr_Occurred()) SWIG_fail;
994141e6 13139 }
d14a1e28
RD
13140 if (obj5) {
13141 {
13142 arg6 = &temp6;
13143 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
13144 }
13145 }
13146 {
e3b71cb8 13147 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
13148 PyThreadState* __tstate = wxPyBeginAllowThreads();
13149 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
13150
13151 wxPyEndAllowThreads(__tstate);
110da5b0 13152 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 13153 }
15afbcd0 13154 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
d14a1e28
RD
13155 {
13156 if (temp2)
13157 delete arg2;
13158 }
13159 {
13160 if (temp3)
13161 delete arg3;
13162 }
13163 {
13164 if (temp4)
13165 delete arg4;
13166 }
13167 return resultobj;
13168 fail:
13169 {
13170 if (temp2)
13171 delete arg2;
13172 }
13173 {
13174 if (temp3)
13175 delete arg3;
13176 }
13177 {
13178 if (temp4)
13179 delete arg4;
13180 }
13181 return NULL;
13182}
13183
13184
c32bde28 13185static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13186 PyObject *resultobj;
13187 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
13188 wxString result;
13189 PyObject * obj0 = 0 ;
13190 char *kwnames[] = {
13191 (char *) "self", NULL
13192 };
13193
13194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
13195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
13196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13197 {
13198 PyThreadState* __tstate = wxPyBeginAllowThreads();
13199 result = (arg1)->GetValue();
13200
13201 wxPyEndAllowThreads(__tstate);
13202 if (PyErr_Occurred()) SWIG_fail;
13203 }
13204 {
13205#if wxUSE_UNICODE
13206 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13207#else
13208 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13209#endif
13210 }
13211 return resultobj;
13212 fail:
13213 return NULL;
13214}
13215
13216
c32bde28 13217static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13218 PyObject *resultobj;
13219 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
13220 wxString *arg2 = 0 ;
e811c8ce 13221 bool temp2 = False ;
d14a1e28
RD
13222 PyObject * obj0 = 0 ;
13223 PyObject * obj1 = 0 ;
13224 char *kwnames[] = {
13225 (char *) "self",(char *) "value", NULL
13226 };
13227
13228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
13230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13231 {
13232 arg2 = wxString_in_helper(obj1);
13233 if (arg2 == NULL) SWIG_fail;
e811c8ce 13234 temp2 = True;
d14a1e28
RD
13235 }
13236 {
13237 PyThreadState* __tstate = wxPyBeginAllowThreads();
13238 (arg1)->SetValue((wxString const &)*arg2);
13239
13240 wxPyEndAllowThreads(__tstate);
13241 if (PyErr_Occurred()) SWIG_fail;
13242 }
13243 Py_INCREF(Py_None); resultobj = Py_None;
13244 {
13245 if (temp2)
13246 delete arg2;
13247 }
13248 return resultobj;
13249 fail:
13250 {
13251 if (temp2)
13252 delete arg2;
13253 }
13254 return NULL;
13255}
13256
13257
c32bde28 13258static PyObject * TextEntryDialog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
13259 PyObject *obj;
13260 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13261 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
13262 Py_INCREF(obj);
13263 return Py_BuildValue((char *)"");
13264}
c32bde28 13265static PyObject *_wrap_new_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13266 PyObject *resultobj;
13267 wxFontData *result;
13268 char *kwnames[] = {
13269 NULL
13270 };
13271
13272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
13273 {
13274 PyThreadState* __tstate = wxPyBeginAllowThreads();
13275 result = (wxFontData *)new wxFontData();
13276
13277 wxPyEndAllowThreads(__tstate);
13278 if (PyErr_Occurred()) SWIG_fail;
13279 }
15afbcd0 13280 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
d14a1e28
RD
13281 return resultobj;
13282 fail:
13283 return NULL;
13284}
13285
13286
c32bde28 13287static PyObject *_wrap_delete_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13288 PyObject *resultobj;
13289 wxFontData *arg1 = (wxFontData *) 0 ;
13290 PyObject * obj0 = 0 ;
13291 char *kwnames[] = {
13292 (char *) "self", NULL
13293 };
13294
13295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
15afbcd0
RD
13296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13298 {
13299 PyThreadState* __tstate = wxPyBeginAllowThreads();
13300 delete arg1;
13301
13302 wxPyEndAllowThreads(__tstate);
13303 if (PyErr_Occurred()) SWIG_fail;
13304 }
13305 Py_INCREF(Py_None); resultobj = Py_None;
13306 return resultobj;
13307 fail:
13308 return NULL;
13309}
13310
13311
c32bde28 13312static PyObject *_wrap_FontData_EnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13313 PyObject *resultobj;
13314 wxFontData *arg1 = (wxFontData *) 0 ;
13315 bool arg2 ;
13316 PyObject * obj0 = 0 ;
13317 PyObject * obj1 = 0 ;
13318 char *kwnames[] = {
13319 (char *) "self",(char *) "enable", NULL
13320 };
13321
13322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13325 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 13326 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13327 {
13328 PyThreadState* __tstate = wxPyBeginAllowThreads();
13329 (arg1)->EnableEffects(arg2);
13330
13331 wxPyEndAllowThreads(__tstate);
13332 if (PyErr_Occurred()) SWIG_fail;
13333 }
13334 Py_INCREF(Py_None); resultobj = Py_None;
13335 return resultobj;
13336 fail:
13337 return NULL;
13338}
13339
13340
c32bde28 13341static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13342 PyObject *resultobj;
13343 wxFontData *arg1 = (wxFontData *) 0 ;
13344 bool result;
13345 PyObject * obj0 = 0 ;
13346 char *kwnames[] = {
13347 (char *) "self", NULL
13348 };
13349
13350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
15afbcd0
RD
13351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13353 {
13354 PyThreadState* __tstate = wxPyBeginAllowThreads();
13355 result = (bool)(arg1)->GetAllowSymbols();
13356
13357 wxPyEndAllowThreads(__tstate);
13358 if (PyErr_Occurred()) SWIG_fail;
13359 }
4f89f6a3
RD
13360 {
13361 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13362 }
d14a1e28
RD
13363 return resultobj;
13364 fail:
13365 return NULL;
13366}
13367
13368
c32bde28 13369static PyObject *_wrap_FontData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13370 PyObject *resultobj;
13371 wxFontData *arg1 = (wxFontData *) 0 ;
13372 wxColour result;
13373 PyObject * obj0 = 0 ;
13374 char *kwnames[] = {
13375 (char *) "self", NULL
13376 };
13377
13378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
13379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13381 {
13382 PyThreadState* __tstate = wxPyBeginAllowThreads();
13383 result = (arg1)->GetColour();
13384
13385 wxPyEndAllowThreads(__tstate);
13386 if (PyErr_Occurred()) SWIG_fail;
13387 }
13388 {
13389 wxColour * resultptr;
13390 resultptr = new wxColour((wxColour &) result);
15afbcd0 13391 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
13392 }
13393 return resultobj;
13394 fail:
13395 return NULL;
13396}
13397
13398
c32bde28 13399static PyObject *_wrap_FontData_GetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13400 PyObject *resultobj;
13401 wxFontData *arg1 = (wxFontData *) 0 ;
13402 wxFont result;
13403 PyObject * obj0 = 0 ;
13404 char *kwnames[] = {
13405 (char *) "self", NULL
13406 };
13407
13408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
15afbcd0
RD
13409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13411 {
13412 PyThreadState* __tstate = wxPyBeginAllowThreads();
13413 result = (arg1)->GetChosenFont();
13414
13415 wxPyEndAllowThreads(__tstate);
13416 if (PyErr_Occurred()) SWIG_fail;
13417 }
13418 {
13419 wxFont * resultptr;
13420 resultptr = new wxFont((wxFont &) result);
15afbcd0 13421 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
13422 }
13423 return resultobj;
13424 fail:
13425 return NULL;
13426}
13427
13428
c32bde28 13429static PyObject *_wrap_FontData_GetEnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13430 PyObject *resultobj;
13431 wxFontData *arg1 = (wxFontData *) 0 ;
13432 bool result;
13433 PyObject * obj0 = 0 ;
13434 char *kwnames[] = {
13435 (char *) "self", NULL
13436 };
13437
13438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
15afbcd0
RD
13439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13441 {
13442 PyThreadState* __tstate = wxPyBeginAllowThreads();
13443 result = (bool)(arg1)->GetEnableEffects();
13444
13445 wxPyEndAllowThreads(__tstate);
13446 if (PyErr_Occurred()) SWIG_fail;
13447 }
4f89f6a3
RD
13448 {
13449 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13450 }
d14a1e28
RD
13451 return resultobj;
13452 fail:
13453 return NULL;
13454}
13455
13456
c32bde28 13457static PyObject *_wrap_FontData_GetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13458 PyObject *resultobj;
13459 wxFontData *arg1 = (wxFontData *) 0 ;
13460 wxFont result;
13461 PyObject * obj0 = 0 ;
13462 char *kwnames[] = {
13463 (char *) "self", NULL
13464 };
13465
13466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
15afbcd0
RD
13467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13469 {
13470 PyThreadState* __tstate = wxPyBeginAllowThreads();
13471 result = (arg1)->GetInitialFont();
13472
13473 wxPyEndAllowThreads(__tstate);
13474 if (PyErr_Occurred()) SWIG_fail;
13475 }
13476 {
13477 wxFont * resultptr;
13478 resultptr = new wxFont((wxFont &) result);
15afbcd0 13479 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
13480 }
13481 return resultobj;
13482 fail:
13483 return NULL;
13484}
13485
13486
c32bde28 13487static PyObject *_wrap_FontData_GetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13488 PyObject *resultobj;
13489 wxFontData *arg1 = (wxFontData *) 0 ;
13490 bool result;
13491 PyObject * obj0 = 0 ;
13492 char *kwnames[] = {
13493 (char *) "self", NULL
13494 };
13495
13496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
15afbcd0
RD
13497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13499 {
13500 PyThreadState* __tstate = wxPyBeginAllowThreads();
13501 result = (bool)(arg1)->GetShowHelp();
13502
13503 wxPyEndAllowThreads(__tstate);
13504 if (PyErr_Occurred()) SWIG_fail;
13505 }
4f89f6a3
RD
13506 {
13507 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13508 }
d14a1e28
RD
13509 return resultobj;
13510 fail:
13511 return NULL;
13512}
13513
13514
c32bde28 13515static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13516 PyObject *resultobj;
13517 wxFontData *arg1 = (wxFontData *) 0 ;
13518 bool arg2 ;
13519 PyObject * obj0 = 0 ;
13520 PyObject * obj1 = 0 ;
13521 char *kwnames[] = {
13522 (char *) "self",(char *) "allowSymbols", NULL
13523 };
13524
13525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13528 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 13529 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13530 {
13531 PyThreadState* __tstate = wxPyBeginAllowThreads();
13532 (arg1)->SetAllowSymbols(arg2);
13533
13534 wxPyEndAllowThreads(__tstate);
13535 if (PyErr_Occurred()) SWIG_fail;
13536 }
13537 Py_INCREF(Py_None); resultobj = Py_None;
13538 return resultobj;
13539 fail:
13540 return NULL;
13541}
13542
13543
c32bde28 13544static PyObject *_wrap_FontData_SetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13545 PyObject *resultobj;
13546 wxFontData *arg1 = (wxFontData *) 0 ;
13547 wxFont *arg2 = 0 ;
13548 PyObject * obj0 = 0 ;
13549 PyObject * obj1 = 0 ;
13550 char *kwnames[] = {
13551 (char *) "self",(char *) "font", NULL
13552 };
13553
13554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13557 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13558 SWIG_POINTER_EXCEPTION | 0)) == -1)
13559 SWIG_fail;
d14a1e28 13560 if (arg2 == NULL) {
15afbcd0
RD
13561 PyErr_SetString(PyExc_TypeError,"null reference");
13562 SWIG_fail;
d14a1e28
RD
13563 }
13564 {
13565 PyThreadState* __tstate = wxPyBeginAllowThreads();
13566 (arg1)->SetChosenFont((wxFont const &)*arg2);
13567
13568 wxPyEndAllowThreads(__tstate);
13569 if (PyErr_Occurred()) SWIG_fail;
13570 }
13571 Py_INCREF(Py_None); resultobj = Py_None;
13572 return resultobj;
13573 fail:
13574 return NULL;
13575}
13576
13577
c32bde28 13578static PyObject *_wrap_FontData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13579 PyObject *resultobj;
13580 wxFontData *arg1 = (wxFontData *) 0 ;
13581 wxColour *arg2 = 0 ;
13582 wxColour temp2 ;
13583 PyObject * obj0 = 0 ;
13584 PyObject * obj1 = 0 ;
13585 char *kwnames[] = {
13586 (char *) "self",(char *) "colour", NULL
13587 };
13588
13589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13592 {
13593 arg2 = &temp2;
13594 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13595 }
13596 {
13597 PyThreadState* __tstate = wxPyBeginAllowThreads();
13598 (arg1)->SetColour((wxColour const &)*arg2);
13599
13600 wxPyEndAllowThreads(__tstate);
13601 if (PyErr_Occurred()) SWIG_fail;
13602 }
13603 Py_INCREF(Py_None); resultobj = Py_None;
13604 return resultobj;
13605 fail:
13606 return NULL;
13607}
13608
13609
c32bde28 13610static PyObject *_wrap_FontData_SetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13611 PyObject *resultobj;
13612 wxFontData *arg1 = (wxFontData *) 0 ;
13613 wxFont *arg2 = 0 ;
13614 PyObject * obj0 = 0 ;
13615 PyObject * obj1 = 0 ;
13616 char *kwnames[] = {
13617 (char *) "self",(char *) "font", NULL
13618 };
13619
13620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13623 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13624 SWIG_POINTER_EXCEPTION | 0)) == -1)
13625 SWIG_fail;
d14a1e28 13626 if (arg2 == NULL) {
15afbcd0
RD
13627 PyErr_SetString(PyExc_TypeError,"null reference");
13628 SWIG_fail;
d14a1e28
RD
13629 }
13630 {
13631 PyThreadState* __tstate = wxPyBeginAllowThreads();
13632 (arg1)->SetInitialFont((wxFont const &)*arg2);
13633
13634 wxPyEndAllowThreads(__tstate);
13635 if (PyErr_Occurred()) SWIG_fail;
13636 }
13637 Py_INCREF(Py_None); resultobj = Py_None;
13638 return resultobj;
13639 fail:
13640 return NULL;
13641}
13642
13643
c32bde28 13644static PyObject *_wrap_FontData_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13645 PyObject *resultobj;
13646 wxFontData *arg1 = (wxFontData *) 0 ;
13647 int arg2 ;
13648 int arg3 ;
13649 PyObject * obj0 = 0 ;
994141e6
RD
13650 PyObject * obj1 = 0 ;
13651 PyObject * obj2 = 0 ;
d14a1e28
RD
13652 char *kwnames[] = {
13653 (char *) "self",(char *) "min",(char *) "max", NULL
13654 };
13655
994141e6 13656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
13657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13659 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 13660 if (PyErr_Occurred()) SWIG_fail;
c32bde28 13661 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 13662 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13663 {
13664 PyThreadState* __tstate = wxPyBeginAllowThreads();
13665 (arg1)->SetRange(arg2,arg3);
13666
13667 wxPyEndAllowThreads(__tstate);
13668 if (PyErr_Occurred()) SWIG_fail;
13669 }
13670 Py_INCREF(Py_None); resultobj = Py_None;
13671 return resultobj;
13672 fail:
13673 return NULL;
13674}
13675
13676
c32bde28 13677static PyObject *_wrap_FontData_SetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13678 PyObject *resultobj;
13679 wxFontData *arg1 = (wxFontData *) 0 ;
13680 bool arg2 ;
13681 PyObject * obj0 = 0 ;
13682 PyObject * obj1 = 0 ;
13683 char *kwnames[] = {
13684 (char *) "self",(char *) "showHelp", NULL
13685 };
13686
13687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13690 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 13691 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13692 {
13693 PyThreadState* __tstate = wxPyBeginAllowThreads();
13694 (arg1)->SetShowHelp(arg2);
13695
13696 wxPyEndAllowThreads(__tstate);
13697 if (PyErr_Occurred()) SWIG_fail;
13698 }
13699 Py_INCREF(Py_None); resultobj = Py_None;
13700 return resultobj;
13701 fail:
13702 return NULL;
13703}
13704
13705
c32bde28 13706static PyObject * FontData_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
13707 PyObject *obj;
13708 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13709 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
13710 Py_INCREF(obj);
13711 return Py_BuildValue((char *)"");
13712}
c32bde28 13713static PyObject *_wrap_new_FontDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 13714 PyObject *resultobj;
e498079e
RD
13715 wxWindow *arg1 = (wxWindow *) 0 ;
13716 wxFontData *arg2 = 0 ;
13717 wxFontDialog *result;
d14a1e28 13718 PyObject * obj0 = 0 ;
e498079e 13719 PyObject * obj1 = 0 ;
15afbcd0
RD
13720 char *kwnames[] = {
13721 (char *) "parent",(char *) "data", NULL
13722 };
d14a1e28 13723
15afbcd0
RD
13724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
13725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13727 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFontData,
13728 SWIG_POINTER_EXCEPTION | 0)) == -1)
13729 SWIG_fail;
e498079e 13730 if (arg2 == NULL) {
15afbcd0
RD
13731 PyErr_SetString(PyExc_TypeError,"null reference");
13732 SWIG_fail;
e498079e 13733 }
d14a1e28 13734 {
e3b71cb8 13735 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 13736 PyThreadState* __tstate = wxPyBeginAllowThreads();
e498079e 13737 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
d14a1e28
RD
13738
13739 wxPyEndAllowThreads(__tstate);
110da5b0 13740 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 13741 }
15afbcd0 13742 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
d14a1e28
RD
13743 return resultobj;
13744 fail:
13745 return NULL;
13746}
13747
13748
c32bde28 13749static PyObject *_wrap_FontDialog_GetFontData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13750 PyObject *resultobj;
13751 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
e498079e 13752 wxFontData *result;
d14a1e28
RD
13753 PyObject * obj0 = 0 ;
13754 char *kwnames[] = {
13755 (char *) "self", NULL
13756 };
13757
e498079e 13758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
15afbcd0
RD
13759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontDialog,
13760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13761 {
13762 PyThreadState* __tstate = wxPyBeginAllowThreads();
e498079e
RD
13763 {
13764 wxFontData &_result_ref = (arg1)->GetFontData();
13765 result = (wxFontData *) &_result_ref;
13766 }
d14a1e28
RD
13767
13768 wxPyEndAllowThreads(__tstate);
13769 if (PyErr_Occurred()) SWIG_fail;
13770 }
15afbcd0 13771 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
d14a1e28
RD
13772 return resultobj;
13773 fail:
13774 return NULL;
13775}
13776
13777
c32bde28 13778static PyObject * FontDialog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
13779 PyObject *obj;
13780 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13781 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
13782 Py_INCREF(obj);
13783 return Py_BuildValue((char *)"");
13784}
c32bde28 13785static PyObject *_wrap_new_MessageDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13786 PyObject *resultobj;
13787 wxWindow *arg1 = (wxWindow *) 0 ;
13788 wxString *arg2 = 0 ;
13789 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
13790 wxString *arg3 = (wxString *) &arg3_defvalue ;
13791 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
13792 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13793 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13794 wxMessageDialog *result;
e811c8ce
RD
13795 bool temp2 = False ;
13796 bool temp3 = False ;
d14a1e28
RD
13797 wxPoint temp5 ;
13798 PyObject * obj0 = 0 ;
13799 PyObject * obj1 = 0 ;
13800 PyObject * obj2 = 0 ;
994141e6 13801 PyObject * obj3 = 0 ;
d14a1e28
RD
13802 PyObject * obj4 = 0 ;
13803 char *kwnames[] = {
13804 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13805 };
13806
994141e6 13807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
13808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13810 {
13811 arg2 = wxString_in_helper(obj1);
13812 if (arg2 == NULL) SWIG_fail;
e811c8ce 13813 temp2 = True;
d14a1e28
RD
13814 }
13815 if (obj2) {
13816 {
13817 arg3 = wxString_in_helper(obj2);
13818 if (arg3 == NULL) SWIG_fail;
e811c8ce 13819 temp3 = True;
d14a1e28
RD
13820 }
13821 }
994141e6 13822 if (obj3) {
c32bde28 13823 arg4 = (long)SWIG_As_long(obj3);
15afbcd0 13824 if (PyErr_Occurred()) SWIG_fail;
994141e6 13825 }
d14a1e28
RD
13826 if (obj4) {
13827 {
13828 arg5 = &temp5;
13829 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13830 }
13831 }
13832 {
e3b71cb8 13833 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
13834 PyThreadState* __tstate = wxPyBeginAllowThreads();
13835 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
13836
13837 wxPyEndAllowThreads(__tstate);
110da5b0 13838 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 13839 }
15afbcd0 13840 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
d14a1e28
RD
13841 {
13842 if (temp2)
13843 delete arg2;
13844 }
13845 {
13846 if (temp3)
13847 delete arg3;
13848 }
13849 return resultobj;
13850 fail:
13851 {
13852 if (temp2)
13853 delete arg2;
13854 }
13855 {
13856 if (temp3)
13857 delete arg3;
13858 }
13859 return NULL;
13860}
13861
13862
c32bde28 13863static PyObject * MessageDialog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
13864 PyObject *obj;
13865 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13866 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
13867 Py_INCREF(obj);
13868 return Py_BuildValue((char *)"");
13869}
c32bde28 13870static PyObject *_wrap_new_ProgressDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13871 PyObject *resultobj;
13872 wxString *arg1 = 0 ;
13873 wxString *arg2 = 0 ;
13874 int arg3 = (int) 100 ;
13875 wxWindow *arg4 = (wxWindow *) NULL ;
13876 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
13877 wxProgressDialog *result;
e811c8ce
RD
13878 bool temp1 = False ;
13879 bool temp2 = False ;
d14a1e28
RD
13880 PyObject * obj0 = 0 ;
13881 PyObject * obj1 = 0 ;
994141e6 13882 PyObject * obj2 = 0 ;
d14a1e28 13883 PyObject * obj3 = 0 ;
994141e6 13884 PyObject * obj4 = 0 ;
d14a1e28
RD
13885 char *kwnames[] = {
13886 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13887 };
13888
994141e6 13889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
d14a1e28
RD
13890 {
13891 arg1 = wxString_in_helper(obj0);
13892 if (arg1 == NULL) SWIG_fail;
e811c8ce 13893 temp1 = True;
d14a1e28
RD
13894 }
13895 {
13896 arg2 = wxString_in_helper(obj1);
13897 if (arg2 == NULL) SWIG_fail;
e811c8ce 13898 temp2 = True;
d14a1e28 13899 }
994141e6 13900 if (obj2) {
c32bde28 13901 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 13902 if (PyErr_Occurred()) SWIG_fail;
994141e6 13903 }
d14a1e28 13904 if (obj3) {
15afbcd0
RD
13905 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
13906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 13907 }
994141e6 13908 if (obj4) {
c32bde28 13909 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 13910 if (PyErr_Occurred()) SWIG_fail;
994141e6 13911 }
d14a1e28 13912 {
e3b71cb8 13913 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
13914 PyThreadState* __tstate = wxPyBeginAllowThreads();
13915 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
13916
13917 wxPyEndAllowThreads(__tstate);
110da5b0 13918 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 13919 }
15afbcd0 13920 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
d14a1e28
RD
13921 {
13922 if (temp1)
13923 delete arg1;
13924 }
13925 {
13926 if (temp2)
13927 delete arg2;
13928 }
13929 return resultobj;
13930 fail:
13931 {
13932 if (temp1)
13933 delete arg1;
13934 }
13935 {
13936 if (temp2)
13937 delete arg2;
13938 }
13939 return NULL;
13940}
13941
13942
c32bde28 13943static PyObject *_wrap_ProgressDialog_Update(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13944 PyObject *resultobj;
13945 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13946 int arg2 ;
13947 wxString const &arg3_defvalue = wxPyEmptyString ;
13948 wxString *arg3 = (wxString *) &arg3_defvalue ;
13949 bool result;
e811c8ce 13950 bool temp3 = False ;
d14a1e28 13951 PyObject * obj0 = 0 ;
994141e6 13952 PyObject * obj1 = 0 ;
d14a1e28
RD
13953 PyObject * obj2 = 0 ;
13954 char *kwnames[] = {
13955 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13956 };
13957
994141e6 13958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
13959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13961 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 13962 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13963 if (obj2) {
13964 {
13965 arg3 = wxString_in_helper(obj2);
13966 if (arg3 == NULL) SWIG_fail;
e811c8ce 13967 temp3 = True;
d14a1e28
RD
13968 }
13969 }
13970 {
13971 PyThreadState* __tstate = wxPyBeginAllowThreads();
13972 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
13973
13974 wxPyEndAllowThreads(__tstate);
13975 if (PyErr_Occurred()) SWIG_fail;
13976 }
4f89f6a3
RD
13977 {
13978 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13979 }
d14a1e28
RD
13980 {
13981 if (temp3)
13982 delete arg3;
13983 }
13984 return resultobj;
13985 fail:
13986 {
13987 if (temp3)
13988 delete arg3;
13989 }
13990 return NULL;
13991}
13992
13993
c32bde28 13994static PyObject *_wrap_ProgressDialog_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13995 PyObject *resultobj;
13996 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13997 PyObject * obj0 = 0 ;
13998 char *kwnames[] = {
13999 (char *) "self", NULL
14000 };
14001
14002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
15afbcd0
RD
14003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
14004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14005 {
14006 PyThreadState* __tstate = wxPyBeginAllowThreads();
14007 (arg1)->Resume();
14008
14009 wxPyEndAllowThreads(__tstate);
14010 if (PyErr_Occurred()) SWIG_fail;
14011 }
14012 Py_INCREF(Py_None); resultobj = Py_None;
14013 return resultobj;
14014 fail:
14015 return NULL;
14016}
14017
14018
c32bde28 14019static PyObject * ProgressDialog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
14020 PyObject *obj;
14021 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14022 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
14023 Py_INCREF(obj);
14024 return Py_BuildValue((char *)"");
14025}
c32bde28 14026static PyObject *_wrap_new_FindDialogEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14027 PyObject *resultobj;
14028 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14029 int arg2 = (int) 0 ;
14030 wxFindDialogEvent *result;
994141e6
RD
14031 PyObject * obj0 = 0 ;
14032 PyObject * obj1 = 0 ;
d14a1e28
RD
14033 char *kwnames[] = {
14034 (char *) "commandType",(char *) "id", NULL
14035 };
14036
994141e6
RD
14037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
14038 if (obj0) {
c32bde28 14039 arg1 = (wxEventType)SWIG_As_int(obj0);
15afbcd0 14040 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
14041 }
14042 if (obj1) {
c32bde28 14043 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 14044 if (PyErr_Occurred()) SWIG_fail;
994141e6 14045 }
d14a1e28
RD
14046 {
14047 PyThreadState* __tstate = wxPyBeginAllowThreads();
14048 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
14049
14050 wxPyEndAllowThreads(__tstate);
14051 if (PyErr_Occurred()) SWIG_fail;
14052 }
15afbcd0 14053 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
d14a1e28
RD
14054 return resultobj;
14055 fail:
14056 return NULL;
14057}
14058
14059
c32bde28 14060static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14061 PyObject *resultobj;
14062 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14063 int result;
14064 PyObject * obj0 = 0 ;
14065 char *kwnames[] = {
14066 (char *) "self", NULL
14067 };
14068
14069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
15afbcd0
RD
14070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14072 {
14073 PyThreadState* __tstate = wxPyBeginAllowThreads();
14074 result = (int)(arg1)->GetFlags();
14075
14076 wxPyEndAllowThreads(__tstate);
14077 if (PyErr_Occurred()) SWIG_fail;
14078 }
c32bde28 14079 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
14080 return resultobj;
14081 fail:
14082 return NULL;
14083}
14084
14085
c32bde28 14086static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14087 PyObject *resultobj;
14088 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
cc6dd355 14089 wxString *result;
d14a1e28
RD
14090 PyObject * obj0 = 0 ;
14091 char *kwnames[] = {
14092 (char *) "self", NULL
14093 };
14094
14095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
15afbcd0
RD
14096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14098 {
14099 PyThreadState* __tstate = wxPyBeginAllowThreads();
cc6dd355
RD
14100 {
14101 wxString const &_result_ref = (arg1)->GetFindString();
14102 result = (wxString *) &_result_ref;
14103 }
d14a1e28
RD
14104
14105 wxPyEndAllowThreads(__tstate);
14106 if (PyErr_Occurred()) SWIG_fail;
14107 }
14108 {
14109#if wxUSE_UNICODE
cc6dd355 14110 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
d14a1e28 14111#else
cc6dd355 14112 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
d14a1e28
RD
14113#endif
14114 }
14115 return resultobj;
14116 fail:
14117 return NULL;
14118}
14119
14120
c32bde28 14121static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14122 PyObject *resultobj;
14123 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14124 wxString *result;
14125 PyObject * obj0 = 0 ;
14126 char *kwnames[] = {
14127 (char *) "self", NULL
14128 };
14129
14130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
15afbcd0
RD
14131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14133 {
14134 PyThreadState* __tstate = wxPyBeginAllowThreads();
14135 {
14136 wxString const &_result_ref = (arg1)->GetReplaceString();
14137 result = (wxString *) &_result_ref;
14138 }
14139
14140 wxPyEndAllowThreads(__tstate);
14141 if (PyErr_Occurred()) SWIG_fail;
14142 }
cc6dd355
RD
14143 {
14144#if wxUSE_UNICODE
14145 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14146#else
14147 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14148#endif
14149 }
d14a1e28
RD
14150 return resultobj;
14151 fail:
14152 return NULL;
14153}
14154
14155
c32bde28 14156static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14157 PyObject *resultobj;
14158 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14159 wxFindReplaceDialog *result;
14160 PyObject * obj0 = 0 ;
14161 char *kwnames[] = {
14162 (char *) "self", NULL
14163 };
14164
14165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
15afbcd0
RD
14166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14168 {
14169 PyThreadState* __tstate = wxPyBeginAllowThreads();
14170 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
14171
14172 wxPyEndAllowThreads(__tstate);
14173 if (PyErr_Occurred()) SWIG_fail;
14174 }
15afbcd0 14175 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
d14a1e28
RD
14176 return resultobj;
14177 fail:
14178 return NULL;
14179}
14180
14181
c32bde28 14182static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14183 PyObject *resultobj;
14184 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14185 int arg2 ;
14186 PyObject * obj0 = 0 ;
994141e6 14187 PyObject * obj1 = 0 ;
d14a1e28
RD
14188 char *kwnames[] = {
14189 (char *) "self",(char *) "flags", NULL
14190 };
14191
994141e6 14192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 14195 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 14196 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14197 {
14198 PyThreadState* __tstate = wxPyBeginAllowThreads();
14199 (arg1)->SetFlags(arg2);
14200
14201 wxPyEndAllowThreads(__tstate);
14202 if (PyErr_Occurred()) SWIG_fail;
14203 }
14204 Py_INCREF(Py_None); resultobj = Py_None;
14205 return resultobj;
14206 fail:
14207 return NULL;
14208}
14209
14210
c32bde28 14211static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14212 PyObject *resultobj;
14213 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14214 wxString *arg2 = 0 ;
e811c8ce 14215 bool temp2 = False ;
d14a1e28
RD
14216 PyObject * obj0 = 0 ;
14217 PyObject * obj1 = 0 ;
14218 char *kwnames[] = {
14219 (char *) "self",(char *) "str", NULL
14220 };
14221
14222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14225 {
14226 arg2 = wxString_in_helper(obj1);
14227 if (arg2 == NULL) SWIG_fail;
e811c8ce 14228 temp2 = True;
d14a1e28
RD
14229 }
14230 {
14231 PyThreadState* __tstate = wxPyBeginAllowThreads();
14232 (arg1)->SetFindString((wxString const &)*arg2);
14233
14234 wxPyEndAllowThreads(__tstate);
14235 if (PyErr_Occurred()) SWIG_fail;
14236 }
14237 Py_INCREF(Py_None); resultobj = Py_None;
14238 {
14239 if (temp2)
14240 delete arg2;
14241 }
14242 return resultobj;
14243 fail:
14244 {
14245 if (temp2)
14246 delete arg2;
14247 }
14248 return NULL;
14249}
14250
14251
c32bde28 14252static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14253 PyObject *resultobj;
14254 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14255 wxString *arg2 = 0 ;
e811c8ce 14256 bool temp2 = False ;
d14a1e28
RD
14257 PyObject * obj0 = 0 ;
14258 PyObject * obj1 = 0 ;
14259 char *kwnames[] = {
14260 (char *) "self",(char *) "str", NULL
14261 };
14262
14263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14266 {
14267 arg2 = wxString_in_helper(obj1);
14268 if (arg2 == NULL) SWIG_fail;
e811c8ce 14269 temp2 = True;
d14a1e28
RD
14270 }
14271 {
14272 PyThreadState* __tstate = wxPyBeginAllowThreads();
14273 (arg1)->SetReplaceString((wxString const &)*arg2);
14274
14275 wxPyEndAllowThreads(__tstate);
14276 if (PyErr_Occurred()) SWIG_fail;
14277 }
14278 Py_INCREF(Py_None); resultobj = Py_None;
14279 {
14280 if (temp2)
14281 delete arg2;
14282 }
14283 return resultobj;
14284 fail:
14285 {
14286 if (temp2)
14287 delete arg2;
14288 }
14289 return NULL;
14290}
14291
14292
c32bde28 14293static PyObject * FindDialogEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
14294 PyObject *obj;
14295 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14296 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
14297 Py_INCREF(obj);
14298 return Py_BuildValue((char *)"");
14299}
c32bde28 14300static PyObject *_wrap_new_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14301 PyObject *resultobj;
14302 int arg1 = (int) 0 ;
14303 wxFindReplaceData *result;
994141e6 14304 PyObject * obj0 = 0 ;
d14a1e28
RD
14305 char *kwnames[] = {
14306 (char *) "flags", NULL
14307 };
14308
994141e6
RD
14309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
14310 if (obj0) {
c32bde28 14311 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 14312 if (PyErr_Occurred()) SWIG_fail;
994141e6 14313 }
d14a1e28
RD
14314 {
14315 PyThreadState* __tstate = wxPyBeginAllowThreads();
14316 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
14317
14318 wxPyEndAllowThreads(__tstate);
14319 if (PyErr_Occurred()) SWIG_fail;
14320 }
15afbcd0 14321 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
d14a1e28
RD
14322 return resultobj;
14323 fail:
14324 return NULL;
14325}
14326
14327
c32bde28 14328static PyObject *_wrap_delete_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14329 PyObject *resultobj;
14330 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14331 PyObject * obj0 = 0 ;
14332 char *kwnames[] = {
14333 (char *) "self", NULL
14334 };
14335
14336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
15afbcd0
RD
14337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14339 {
14340 PyThreadState* __tstate = wxPyBeginAllowThreads();
14341 delete arg1;
14342
14343 wxPyEndAllowThreads(__tstate);
14344 if (PyErr_Occurred()) SWIG_fail;
14345 }
14346 Py_INCREF(Py_None); resultobj = Py_None;
14347 return resultobj;
14348 fail:
14349 return NULL;
14350}
14351
14352
c32bde28 14353static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14354 PyObject *resultobj;
14355 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14356 wxString *result;
14357 PyObject * obj0 = 0 ;
14358 char *kwnames[] = {
14359 (char *) "self", NULL
14360 };
14361
14362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
15afbcd0
RD
14363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14365 {
14366 PyThreadState* __tstate = wxPyBeginAllowThreads();
14367 {
14368 wxString const &_result_ref = (arg1)->GetFindString();
14369 result = (wxString *) &_result_ref;
14370 }
14371
14372 wxPyEndAllowThreads(__tstate);
14373 if (PyErr_Occurred()) SWIG_fail;
14374 }
cc6dd355
RD
14375 {
14376#if wxUSE_UNICODE
14377 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14378#else
14379 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14380#endif
14381 }
d14a1e28
RD
14382 return resultobj;
14383 fail:
14384 return NULL;
14385}
14386
14387
c32bde28 14388static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14389 PyObject *resultobj;
14390 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14391 wxString *result;
14392 PyObject * obj0 = 0 ;
14393 char *kwnames[] = {
14394 (char *) "self", NULL
14395 };
14396
14397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
15afbcd0
RD
14398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14400 {
14401 PyThreadState* __tstate = wxPyBeginAllowThreads();
14402 {
14403 wxString const &_result_ref = (arg1)->GetReplaceString();
14404 result = (wxString *) &_result_ref;
14405 }
14406
14407 wxPyEndAllowThreads(__tstate);
14408 if (PyErr_Occurred()) SWIG_fail;
14409 }
cc6dd355
RD
14410 {
14411#if wxUSE_UNICODE
14412 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14413#else
14414 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14415#endif
14416 }
d14a1e28
RD
14417 return resultobj;
14418 fail:
14419 return NULL;
14420}
14421
14422
c32bde28 14423static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14424 PyObject *resultobj;
14425 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14426 int result;
14427 PyObject * obj0 = 0 ;
14428 char *kwnames[] = {
14429 (char *) "self", NULL
14430 };
14431
14432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
15afbcd0
RD
14433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14435 {
14436 PyThreadState* __tstate = wxPyBeginAllowThreads();
14437 result = (int)(arg1)->GetFlags();
14438
14439 wxPyEndAllowThreads(__tstate);
14440 if (PyErr_Occurred()) SWIG_fail;
14441 }
c32bde28 14442 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
14443 return resultobj;
14444 fail:
14445 return NULL;
14446}
14447
14448
c32bde28 14449static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14450 PyObject *resultobj;
14451 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14452 int arg2 ;
14453 PyObject * obj0 = 0 ;
994141e6 14454 PyObject * obj1 = 0 ;
d14a1e28
RD
14455 char *kwnames[] = {
14456 (char *) "self",(char *) "flags", NULL
14457 };
14458
994141e6 14459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 14462 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 14463 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14464 {
14465 PyThreadState* __tstate = wxPyBeginAllowThreads();
14466 (arg1)->SetFlags(arg2);
14467
14468 wxPyEndAllowThreads(__tstate);
14469 if (PyErr_Occurred()) SWIG_fail;
14470 }
14471 Py_INCREF(Py_None); resultobj = Py_None;
14472 return resultobj;
14473 fail:
14474 return NULL;
14475}
14476
14477
c32bde28 14478static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14479 PyObject *resultobj;
14480 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14481 wxString *arg2 = 0 ;
e811c8ce 14482 bool temp2 = False ;
d14a1e28
RD
14483 PyObject * obj0 = 0 ;
14484 PyObject * obj1 = 0 ;
14485 char *kwnames[] = {
14486 (char *) "self",(char *) "str", NULL
14487 };
14488
14489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14490 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14492 {
14493 arg2 = wxString_in_helper(obj1);
14494 if (arg2 == NULL) SWIG_fail;
e811c8ce 14495 temp2 = True;
d14a1e28
RD
14496 }
14497 {
14498 PyThreadState* __tstate = wxPyBeginAllowThreads();
14499 (arg1)->SetFindString((wxString const &)*arg2);
14500
14501 wxPyEndAllowThreads(__tstate);
14502 if (PyErr_Occurred()) SWIG_fail;
14503 }
14504 Py_INCREF(Py_None); resultobj = Py_None;
14505 {
14506 if (temp2)
14507 delete arg2;
14508 }
14509 return resultobj;
14510 fail:
14511 {
14512 if (temp2)
14513 delete arg2;
14514 }
14515 return NULL;
14516}
14517
14518
c32bde28 14519static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14520 PyObject *resultobj;
14521 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14522 wxString *arg2 = 0 ;
e811c8ce 14523 bool temp2 = False ;
d14a1e28
RD
14524 PyObject * obj0 = 0 ;
14525 PyObject * obj1 = 0 ;
14526 char *kwnames[] = {
14527 (char *) "self",(char *) "str", NULL
14528 };
14529
14530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14533 {
14534 arg2 = wxString_in_helper(obj1);
14535 if (arg2 == NULL) SWIG_fail;
e811c8ce 14536 temp2 = True;
d14a1e28
RD
14537 }
14538 {
14539 PyThreadState* __tstate = wxPyBeginAllowThreads();
14540 (arg1)->SetReplaceString((wxString const &)*arg2);
14541
14542 wxPyEndAllowThreads(__tstate);
14543 if (PyErr_Occurred()) SWIG_fail;
14544 }
14545 Py_INCREF(Py_None); resultobj = Py_None;
14546 {
14547 if (temp2)
14548 delete arg2;
14549 }
14550 return resultobj;
14551 fail:
14552 {
14553 if (temp2)
14554 delete arg2;
14555 }
14556 return NULL;
14557}
14558
14559
c32bde28 14560static PyObject * FindReplaceData_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
14561 PyObject *obj;
14562 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14563 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
14564 Py_INCREF(obj);
14565 return Py_BuildValue((char *)"");
14566}
c32bde28 14567static PyObject *_wrap_new_FindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14568 PyObject *resultobj;
14569 wxWindow *arg1 = (wxWindow *) 0 ;
14570 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14571 wxString *arg3 = 0 ;
14572 int arg4 = (int) 0 ;
14573 wxFindReplaceDialog *result;
e811c8ce 14574 bool temp3 = False ;
d14a1e28
RD
14575 PyObject * obj0 = 0 ;
14576 PyObject * obj1 = 0 ;
14577 PyObject * obj2 = 0 ;
994141e6 14578 PyObject * obj3 = 0 ;
d14a1e28
RD
14579 char *kwnames[] = {
14580 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14581 };
14582
994141e6 14583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
14584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14586 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14588 {
14589 arg3 = wxString_in_helper(obj2);
14590 if (arg3 == NULL) SWIG_fail;
e811c8ce 14591 temp3 = True;
d14a1e28 14592 }
994141e6 14593 if (obj3) {
c32bde28 14594 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 14595 if (PyErr_Occurred()) SWIG_fail;
994141e6 14596 }
d14a1e28 14597 {
e3b71cb8 14598 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
14599 PyThreadState* __tstate = wxPyBeginAllowThreads();
14600 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
14601
14602 wxPyEndAllowThreads(__tstate);
110da5b0 14603 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 14604 }
15afbcd0 14605 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
d14a1e28
RD
14606 {
14607 if (temp3)
14608 delete arg3;
14609 }
14610 return resultobj;
14611 fail:
14612 {
14613 if (temp3)
14614 delete arg3;
14615 }
14616 return NULL;
14617}
14618
14619
c32bde28 14620static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14621 PyObject *resultobj;
14622 wxFindReplaceDialog *result;
14623 char *kwnames[] = {
14624 NULL
14625 };
14626
14627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
14628 {
e3b71cb8 14629 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
14630 PyThreadState* __tstate = wxPyBeginAllowThreads();
14631 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
14632
14633 wxPyEndAllowThreads(__tstate);
110da5b0 14634 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 14635 }
15afbcd0 14636 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
d14a1e28
RD
14637 return resultobj;
14638 fail:
14639 return NULL;
14640}
14641
14642
c32bde28 14643static PyObject *_wrap_FindReplaceDialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14644 PyObject *resultobj;
14645 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14646 wxWindow *arg2 = (wxWindow *) 0 ;
14647 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
14648 wxString *arg4 = 0 ;
14649 int arg5 = (int) 0 ;
14650 bool result;
e811c8ce 14651 bool temp4 = False ;
d14a1e28
RD
14652 PyObject * obj0 = 0 ;
14653 PyObject * obj1 = 0 ;
14654 PyObject * obj2 = 0 ;
14655 PyObject * obj3 = 0 ;
994141e6 14656 PyObject * obj4 = 0 ;
d14a1e28
RD
14657 char *kwnames[] = {
14658 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14659 };
14660
994141e6 14661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
14662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14664 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14666 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFindReplaceData,
14667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14668 {
14669 arg4 = wxString_in_helper(obj3);
14670 if (arg4 == NULL) SWIG_fail;
e811c8ce 14671 temp4 = True;
d14a1e28 14672 }
994141e6 14673 if (obj4) {
c32bde28 14674 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 14675 if (PyErr_Occurred()) SWIG_fail;
994141e6 14676 }
d14a1e28
RD
14677 {
14678 PyThreadState* __tstate = wxPyBeginAllowThreads();
14679 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
14680
14681 wxPyEndAllowThreads(__tstate);
14682 if (PyErr_Occurred()) SWIG_fail;
14683 }
4f89f6a3
RD
14684 {
14685 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14686 }
d14a1e28
RD
14687 {
14688 if (temp4)
14689 delete arg4;
14690 }
14691 return resultobj;
14692 fail:
14693 {
14694 if (temp4)
14695 delete arg4;
14696 }
14697 return NULL;
14698}
14699
14700
c32bde28 14701static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14702 PyObject *resultobj;
14703 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14704 wxFindReplaceData *result;
14705 PyObject * obj0 = 0 ;
14706 char *kwnames[] = {
14707 (char *) "self", NULL
14708 };
14709
14710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
15afbcd0
RD
14711 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14713 {
14714 PyThreadState* __tstate = wxPyBeginAllowThreads();
14715 result = (wxFindReplaceData *)(arg1)->GetData();
14716
14717 wxPyEndAllowThreads(__tstate);
14718 if (PyErr_Occurred()) SWIG_fail;
14719 }
15afbcd0 14720 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
d14a1e28
RD
14721 return resultobj;
14722 fail:
14723 return NULL;
14724}
14725
14726
c32bde28 14727static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14728 PyObject *resultobj;
14729 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14730 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14731 PyObject * obj0 = 0 ;
14732 PyObject * obj1 = 0 ;
14733 char *kwnames[] = {
14734 (char *) "self",(char *) "data", NULL
14735 };
14736
14737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14740 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14742 {
14743 PyThreadState* __tstate = wxPyBeginAllowThreads();
14744 (arg1)->SetData(arg2);
14745
14746 wxPyEndAllowThreads(__tstate);
14747 if (PyErr_Occurred()) SWIG_fail;
14748 }
14749 Py_INCREF(Py_None); resultobj = Py_None;
14750 return resultobj;
14751 fail:
14752 return NULL;
14753}
14754
14755
c32bde28 14756static PyObject * FindReplaceDialog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
14757 PyObject *obj;
14758 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14759 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
14760 Py_INCREF(obj);
14761 return Py_BuildValue((char *)"");
14762}
c32bde28 14763static PyObject *_wrap_new_MDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14764 PyObject *resultobj;
14765 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
14766 int arg2 = (int) (int)-1 ;
14767 wxString const &arg3_defvalue = wxPyEmptyString ;
14768 wxString *arg3 = (wxString *) &arg3_defvalue ;
d14a1e28
RD
14769 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14770 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14771 wxSize const &arg5_defvalue = wxDefaultSize ;
14772 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14773 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14774 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14775 wxString *arg7 = (wxString *) &arg7_defvalue ;
14776 wxMDIParentFrame *result;
e811c8ce 14777 bool temp3 = False ;
d14a1e28
RD
14778 wxPoint temp4 ;
14779 wxSize temp5 ;
e811c8ce 14780 bool temp7 = False ;
d14a1e28 14781 PyObject * obj0 = 0 ;
994141e6 14782 PyObject * obj1 = 0 ;
d14a1e28
RD
14783 PyObject * obj2 = 0 ;
14784 PyObject * obj3 = 0 ;
14785 PyObject * obj4 = 0 ;
994141e6 14786 PyObject * obj5 = 0 ;
d14a1e28
RD
14787 PyObject * obj6 = 0 ;
14788 char *kwnames[] = {
14789 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14790 };
14791
248ed943 14792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
14793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 14795 if (obj1) {
c32bde28 14796 arg2 = (int)SWIG_As_int(obj1);
248ed943
RD
14797 if (PyErr_Occurred()) SWIG_fail;
14798 }
14799 if (obj2) {
14800 {
14801 arg3 = wxString_in_helper(obj2);
14802 if (arg3 == NULL) SWIG_fail;
14803 temp3 = True;
14804 }
d14a1e28
RD
14805 }
14806 if (obj3) {
14807 {
14808 arg4 = &temp4;
14809 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14810 }
14811 }
14812 if (obj4) {
14813 {
14814 arg5 = &temp5;
14815 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14816 }
14817 }
994141e6 14818 if (obj5) {
c32bde28 14819 arg6 = (long)SWIG_As_long(obj5);
15afbcd0 14820 if (PyErr_Occurred()) SWIG_fail;
994141e6 14821 }
d14a1e28
RD
14822 if (obj6) {
14823 {
14824 arg7 = wxString_in_helper(obj6);
14825 if (arg7 == NULL) SWIG_fail;
e811c8ce 14826 temp7 = True;
d14a1e28
RD
14827 }
14828 }
14829 {
e3b71cb8 14830 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
14831 PyThreadState* __tstate = wxPyBeginAllowThreads();
14832 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14833
14834 wxPyEndAllowThreads(__tstate);
110da5b0 14835 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 14836 }
15afbcd0 14837 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
d14a1e28
RD
14838 {
14839 if (temp3)
14840 delete arg3;
14841 }
14842 {
14843 if (temp7)
14844 delete arg7;
14845 }
14846 return resultobj;
14847 fail:
14848 {
14849 if (temp3)
14850 delete arg3;
14851 }
14852 {
14853 if (temp7)
14854 delete arg7;
14855 }
14856 return NULL;
14857}
14858
14859
c32bde28 14860static PyObject *_wrap_new_PreMDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14861 PyObject *resultobj;
14862 wxMDIParentFrame *result;
14863 char *kwnames[] = {
14864 NULL
14865 };
14866
14867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
14868 {
e3b71cb8 14869 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
14870 PyThreadState* __tstate = wxPyBeginAllowThreads();
14871 result = (wxMDIParentFrame *)new wxMDIParentFrame();
14872
14873 wxPyEndAllowThreads(__tstate);
110da5b0 14874 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 14875 }
15afbcd0 14876 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
d14a1e28
RD
14877 return resultobj;
14878 fail:
14879 return NULL;
14880}
14881
14882
c32bde28 14883static PyObject *_wrap_MDIParentFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14884 PyObject *resultobj;
14885 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14886 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
14887 int arg3 = (int) (int)-1 ;
14888 wxString const &arg4_defvalue = wxPyEmptyString ;
14889 wxString *arg4 = (wxString *) &arg4_defvalue ;
d14a1e28
RD
14890 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14891 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14892 wxSize const &arg6_defvalue = wxDefaultSize ;
14893 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14894 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14895 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14896 wxString *arg8 = (wxString *) &arg8_defvalue ;
14897 bool result;
e811c8ce 14898 bool temp4 = False ;
d14a1e28
RD
14899 wxPoint temp5 ;
14900 wxSize temp6 ;
e811c8ce 14901 bool temp8 = False ;
d14a1e28
RD
14902 PyObject * obj0 = 0 ;
14903 PyObject * obj1 = 0 ;
994141e6 14904 PyObject * obj2 = 0 ;
d14a1e28
RD
14905 PyObject * obj3 = 0 ;
14906 PyObject * obj4 = 0 ;
14907 PyObject * obj5 = 0 ;
994141e6 14908 PyObject * obj6 = 0 ;
d14a1e28
RD
14909 PyObject * obj7 = 0 ;
14910 char *kwnames[] = {
14911 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14912 };
14913
248ed943 14914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
14915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14917 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 14919 if (obj2) {
c32bde28 14920 arg3 = (int)SWIG_As_int(obj2);
248ed943
RD
14921 if (PyErr_Occurred()) SWIG_fail;
14922 }
14923 if (obj3) {
14924 {
14925 arg4 = wxString_in_helper(obj3);
14926 if (arg4 == NULL) SWIG_fail;
14927 temp4 = True;
14928 }
d14a1e28
RD
14929 }
14930 if (obj4) {
14931 {
14932 arg5 = &temp5;
14933 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14934 }
14935 }
14936 if (obj5) {
14937 {
14938 arg6 = &temp6;
14939 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14940 }
14941 }
994141e6 14942 if (obj6) {
c32bde28 14943 arg7 = (long)SWIG_As_long(obj6);
15afbcd0 14944 if (PyErr_Occurred()) SWIG_fail;
994141e6 14945 }
d14a1e28
RD
14946 if (obj7) {
14947 {
14948 arg8 = wxString_in_helper(obj7);
14949 if (arg8 == NULL) SWIG_fail;
e811c8ce 14950 temp8 = True;
d14a1e28
RD
14951 }
14952 }
14953 {
14954 PyThreadState* __tstate = wxPyBeginAllowThreads();
14955 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
14956
14957 wxPyEndAllowThreads(__tstate);
14958 if (PyErr_Occurred()) SWIG_fail;
14959 }
4f89f6a3
RD
14960 {
14961 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14962 }
d14a1e28
RD
14963 {
14964 if (temp4)
14965 delete arg4;
14966 }
14967 {
14968 if (temp8)
14969 delete arg8;
14970 }
14971 return resultobj;
14972 fail:
14973 {
14974 if (temp4)
14975 delete arg4;
14976 }
14977 {
14978 if (temp8)
14979 delete arg8;
14980 }
14981 return NULL;
14982}
14983
14984
c32bde28 14985static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14986 PyObject *resultobj;
14987 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14988 PyObject * obj0 = 0 ;
14989 char *kwnames[] = {
14990 (char *) "self", NULL
14991 };
14992
14993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
15afbcd0
RD
14994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14996 {
14997 PyThreadState* __tstate = wxPyBeginAllowThreads();
14998 (arg1)->ActivateNext();
14999
15000 wxPyEndAllowThreads(__tstate);
15001 if (PyErr_Occurred()) SWIG_fail;
15002 }
15003 Py_INCREF(Py_None); resultobj = Py_None;
15004 return resultobj;
15005 fail:
15006 return NULL;
15007}
15008
15009
c32bde28 15010static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15011 PyObject *resultobj;
15012 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15013 PyObject * obj0 = 0 ;
15014 char *kwnames[] = {
15015 (char *) "self", NULL
15016 };
15017
15018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
15afbcd0
RD
15019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15021 {
15022 PyThreadState* __tstate = wxPyBeginAllowThreads();
15023 (arg1)->ActivatePrevious();
15024
15025 wxPyEndAllowThreads(__tstate);
15026 if (PyErr_Occurred()) SWIG_fail;
15027 }
15028 Py_INCREF(Py_None); resultobj = Py_None;
15029 return resultobj;
15030 fail:
15031 return NULL;
15032}
15033
15034
c32bde28 15035static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15036 PyObject *resultobj;
15037 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15038 PyObject * obj0 = 0 ;
15039 char *kwnames[] = {
15040 (char *) "self", NULL
15041 };
15042
15043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
15afbcd0
RD
15044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15046 {
15047 PyThreadState* __tstate = wxPyBeginAllowThreads();
15048 (arg1)->ArrangeIcons();
15049
15050 wxPyEndAllowThreads(__tstate);
15051 if (PyErr_Occurred()) SWIG_fail;
15052 }
15053 Py_INCREF(Py_None); resultobj = Py_None;
15054 return resultobj;
15055 fail:
15056 return NULL;
15057}
15058
15059
c32bde28 15060static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15061 PyObject *resultobj;
15062 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15063 PyObject * obj0 = 0 ;
15064 char *kwnames[] = {
15065 (char *) "self", NULL
15066 };
15067
15068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
15afbcd0
RD
15069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15071 {
15072 PyThreadState* __tstate = wxPyBeginAllowThreads();
15073 (arg1)->Cascade();
15074
15075 wxPyEndAllowThreads(__tstate);
15076 if (PyErr_Occurred()) SWIG_fail;
15077 }
15078 Py_INCREF(Py_None); resultobj = Py_None;
15079 return resultobj;
15080 fail:
15081 return NULL;
15082}
15083
15084
c32bde28 15085static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15086 PyObject *resultobj;
15087 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15088 wxMDIChildFrame *result;
15089 PyObject * obj0 = 0 ;
15090 char *kwnames[] = {
15091 (char *) "self", NULL
15092 };
15093
15094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
15afbcd0
RD
15095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15097 {
15098 PyThreadState* __tstate = wxPyBeginAllowThreads();
15099 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
15100
15101 wxPyEndAllowThreads(__tstate);
15102 if (PyErr_Occurred()) SWIG_fail;
15103 }
15104 {
412d302d 15105 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
15106 }
15107 return resultobj;
15108 fail:
15109 return NULL;
15110}
15111
15112
c32bde28 15113static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15114 PyObject *resultobj;
15115 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15116 wxMDIClientWindow *result;
15117 PyObject * obj0 = 0 ;
15118 char *kwnames[] = {
15119 (char *) "self", NULL
15120 };
15121
15122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
15123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15125 {
15126 PyThreadState* __tstate = wxPyBeginAllowThreads();
15127 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
15128
15129 wxPyEndAllowThreads(__tstate);
15130 if (PyErr_Occurred()) SWIG_fail;
15131 }
15132 {
412d302d 15133 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
15134 }
15135 return resultobj;
15136 fail:
15137 return NULL;
15138}
15139
15140
c32bde28 15141static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15142 PyObject *resultobj;
15143 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15144 wxWindow *result;
15145 PyObject * obj0 = 0 ;
15146 char *kwnames[] = {
15147 (char *) "self", NULL
15148 };
15149
15150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
15afbcd0
RD
15151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15153 {
15154 PyThreadState* __tstate = wxPyBeginAllowThreads();
15155 result = (wxWindow *)(arg1)->GetToolBar();
15156
15157 wxPyEndAllowThreads(__tstate);
15158 if (PyErr_Occurred()) SWIG_fail;
15159 }
15160 {
412d302d 15161 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
15162 }
15163 return resultobj;
15164 fail:
15165 return NULL;
15166}
15167
15168
c32bde28 15169static PyObject *_wrap_MDIParentFrame_Tile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15170 PyObject *resultobj;
15171 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15172 PyObject * obj0 = 0 ;
15173 char *kwnames[] = {
15174 (char *) "self", NULL
15175 };
15176
15177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
15afbcd0
RD
15178 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15180 {
15181 PyThreadState* __tstate = wxPyBeginAllowThreads();
15182 (arg1)->Tile();
15183
15184 wxPyEndAllowThreads(__tstate);
15185 if (PyErr_Occurred()) SWIG_fail;
15186 }
15187 Py_INCREF(Py_None); resultobj = Py_None;
15188 return resultobj;
15189 fail:
15190 return NULL;
15191}
15192
15193
c32bde28 15194static PyObject * MDIParentFrame_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15195 PyObject *obj;
15196 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15197 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
15198 Py_INCREF(obj);
15199 return Py_BuildValue((char *)"");
15200}
c32bde28 15201static PyObject *_wrap_new_MDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15202 PyObject *resultobj;
15203 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
248ed943
RD
15204 int arg2 = (int) (int)-1 ;
15205 wxString const &arg3_defvalue = wxPyEmptyString ;
15206 wxString *arg3 = (wxString *) &arg3_defvalue ;
d14a1e28
RD
15207 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15208 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15209 wxSize const &arg5_defvalue = wxDefaultSize ;
15210 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15211 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
15212 wxString const &arg7_defvalue = wxPyFrameNameStr ;
15213 wxString *arg7 = (wxString *) &arg7_defvalue ;
15214 wxMDIChildFrame *result;
e811c8ce 15215 bool temp3 = False ;
d14a1e28
RD
15216 wxPoint temp4 ;
15217 wxSize temp5 ;
e811c8ce 15218 bool temp7 = False ;
d14a1e28 15219 PyObject * obj0 = 0 ;
994141e6 15220 PyObject * obj1 = 0 ;
d14a1e28
RD
15221 PyObject * obj2 = 0 ;
15222 PyObject * obj3 = 0 ;
15223 PyObject * obj4 = 0 ;
994141e6 15224 PyObject * obj5 = 0 ;
d14a1e28
RD
15225 PyObject * obj6 = 0 ;
15226 char *kwnames[] = {
15227 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15228 };
15229
248ed943 15230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
15231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 15233 if (obj1) {
c32bde28 15234 arg2 = (int)SWIG_As_int(obj1);
248ed943
RD
15235 if (PyErr_Occurred()) SWIG_fail;
15236 }
15237 if (obj2) {
15238 {
15239 arg3 = wxString_in_helper(obj2);
15240 if (arg3 == NULL) SWIG_fail;
15241 temp3 = True;
15242 }
d14a1e28
RD
15243 }
15244 if (obj3) {
15245 {
15246 arg4 = &temp4;
15247 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15248 }
15249 }
15250 if (obj4) {
15251 {
15252 arg5 = &temp5;
15253 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15254 }
15255 }
994141e6 15256 if (obj5) {
c32bde28 15257 arg6 = (long)SWIG_As_long(obj5);
15afbcd0 15258 if (PyErr_Occurred()) SWIG_fail;
994141e6 15259 }
d14a1e28
RD
15260 if (obj6) {
15261 {
15262 arg7 = wxString_in_helper(obj6);
15263 if (arg7 == NULL) SWIG_fail;
e811c8ce 15264 temp7 = True;
d14a1e28
RD
15265 }
15266 }
15267 {
e3b71cb8 15268 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
15269 PyThreadState* __tstate = wxPyBeginAllowThreads();
15270 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15271
15272 wxPyEndAllowThreads(__tstate);
110da5b0 15273 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 15274 }
b0f7404b 15275 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
d14a1e28
RD
15276 {
15277 if (temp3)
15278 delete arg3;
15279 }
15280 {
15281 if (temp7)
15282 delete arg7;
15283 }
15284 return resultobj;
15285 fail:
15286 {
15287 if (temp3)
15288 delete arg3;
15289 }
15290 {
15291 if (temp7)
15292 delete arg7;
15293 }
15294 return NULL;
15295}
15296
15297
c32bde28 15298static PyObject *_wrap_new_PreMDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15299 PyObject *resultobj;
15300 wxMDIChildFrame *result;
15301 char *kwnames[] = {
15302 NULL
15303 };
15304
15305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
15306 {
e3b71cb8 15307 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
15308 PyThreadState* __tstate = wxPyBeginAllowThreads();
15309 result = (wxMDIChildFrame *)new wxMDIChildFrame();
15310
15311 wxPyEndAllowThreads(__tstate);
110da5b0 15312 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 15313 }
b0f7404b 15314 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
d14a1e28
RD
15315 return resultobj;
15316 fail:
15317 return NULL;
15318}
15319
15320
c32bde28 15321static PyObject *_wrap_MDIChildFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15322 PyObject *resultobj;
15323 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15324 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
248ed943
RD
15325 int arg3 = (int) (int)-1 ;
15326 wxString const &arg4_defvalue = wxPyEmptyString ;
15327 wxString *arg4 = (wxString *) &arg4_defvalue ;
d14a1e28
RD
15328 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15329 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15330 wxSize const &arg6_defvalue = wxDefaultSize ;
15331 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
15332 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
15333 wxString const &arg8_defvalue = wxPyFrameNameStr ;
15334 wxString *arg8 = (wxString *) &arg8_defvalue ;
15335 bool result;
e811c8ce 15336 bool temp4 = False ;
d14a1e28
RD
15337 wxPoint temp5 ;
15338 wxSize temp6 ;
e811c8ce 15339 bool temp8 = False ;
d14a1e28
RD
15340 PyObject * obj0 = 0 ;
15341 PyObject * obj1 = 0 ;
994141e6 15342 PyObject * obj2 = 0 ;
d14a1e28
RD
15343 PyObject * obj3 = 0 ;
15344 PyObject * obj4 = 0 ;
15345 PyObject * obj5 = 0 ;
994141e6 15346 PyObject * obj6 = 0 ;
d14a1e28
RD
15347 PyObject * obj7 = 0 ;
15348 char *kwnames[] = {
15349 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15350 };
15351
248ed943 15352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
15353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15355 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
15356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 15357 if (obj2) {
c32bde28 15358 arg3 = (int)SWIG_As_int(obj2);
248ed943
RD
15359 if (PyErr_Occurred()) SWIG_fail;
15360 }
15361 if (obj3) {
15362 {
15363 arg4 = wxString_in_helper(obj3);
15364 if (arg4 == NULL) SWIG_fail;
15365 temp4 = True;
15366 }
d14a1e28
RD
15367 }
15368 if (obj4) {
15369 {
15370 arg5 = &temp5;
15371 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15372 }
15373 }
15374 if (obj5) {
15375 {
15376 arg6 = &temp6;
15377 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
15378 }
15379 }
994141e6 15380 if (obj6) {
c32bde28 15381 arg7 = (long)SWIG_As_long(obj6);
15afbcd0 15382 if (PyErr_Occurred()) SWIG_fail;
994141e6 15383 }
d14a1e28
RD
15384 if (obj7) {
15385 {
15386 arg8 = wxString_in_helper(obj7);
15387 if (arg8 == NULL) SWIG_fail;
e811c8ce 15388 temp8 = True;
d14a1e28
RD
15389 }
15390 }
15391 {
15392 PyThreadState* __tstate = wxPyBeginAllowThreads();
15393 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
15394
15395 wxPyEndAllowThreads(__tstate);
15396 if (PyErr_Occurred()) SWIG_fail;
15397 }
4f89f6a3
RD
15398 {
15399 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15400 }
d14a1e28
RD
15401 {
15402 if (temp4)
15403 delete arg4;
15404 }
15405 {
15406 if (temp8)
15407 delete arg8;
15408 }
15409 return resultobj;
15410 fail:
15411 {
15412 if (temp4)
15413 delete arg4;
15414 }
15415 {
15416 if (temp8)
15417 delete arg8;
15418 }
15419 return NULL;
15420}
15421
15422
c32bde28 15423static PyObject *_wrap_MDIChildFrame_Activate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15424 PyObject *resultobj;
15425 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15426 PyObject * obj0 = 0 ;
15427 char *kwnames[] = {
15428 (char *) "self", NULL
15429 };
15430
15431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
15afbcd0
RD
15432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15434 {
15435 PyThreadState* __tstate = wxPyBeginAllowThreads();
15436 (arg1)->Activate();
15437
15438 wxPyEndAllowThreads(__tstate);
15439 if (PyErr_Occurred()) SWIG_fail;
15440 }
15441 Py_INCREF(Py_None); resultobj = Py_None;
15442 return resultobj;
15443 fail:
15444 return NULL;
15445}
15446
15447
c32bde28 15448static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15449 PyObject *resultobj;
15450 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15451 bool arg2 ;
15452 PyObject * obj0 = 0 ;
15453 PyObject * obj1 = 0 ;
15454 char *kwnames[] = {
15455 (char *) "self",(char *) "maximize", NULL
15456 };
15457
15458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 15461 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 15462 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15463 {
15464 PyThreadState* __tstate = wxPyBeginAllowThreads();
15465 (arg1)->Maximize(arg2);
15466
15467 wxPyEndAllowThreads(__tstate);
15468 if (PyErr_Occurred()) SWIG_fail;
15469 }
15470 Py_INCREF(Py_None); resultobj = Py_None;
15471 return resultobj;
15472 fail:
15473 return NULL;
15474}
15475
15476
c32bde28 15477static PyObject *_wrap_MDIChildFrame_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15478 PyObject *resultobj;
15479 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15480 PyObject * obj0 = 0 ;
15481 char *kwnames[] = {
15482 (char *) "self", NULL
15483 };
15484
15485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
15afbcd0
RD
15486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15488 {
15489 PyThreadState* __tstate = wxPyBeginAllowThreads();
15490 (arg1)->Restore();
15491
15492 wxPyEndAllowThreads(__tstate);
15493 if (PyErr_Occurred()) SWIG_fail;
15494 }
15495 Py_INCREF(Py_None); resultobj = Py_None;
15496 return resultobj;
15497 fail:
15498 return NULL;
15499}
15500
15501
c32bde28 15502static PyObject * MDIChildFrame_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15503 PyObject *obj;
15504 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15505 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
15506 Py_INCREF(obj);
15507 return Py_BuildValue((char *)"");
15508}
c32bde28 15509static PyObject *_wrap_new_MDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15510 PyObject *resultobj;
15511 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15512 long arg2 = (long) 0 ;
15513 wxMDIClientWindow *result;
15514 PyObject * obj0 = 0 ;
994141e6 15515 PyObject * obj1 = 0 ;
d14a1e28
RD
15516 char *kwnames[] = {
15517 (char *) "parent",(char *) "style", NULL
15518 };
15519
994141e6 15520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 15523 if (obj1) {
c32bde28 15524 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 15525 if (PyErr_Occurred()) SWIG_fail;
994141e6 15526 }
d14a1e28 15527 {
e3b71cb8 15528 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
15529 PyThreadState* __tstate = wxPyBeginAllowThreads();
15530 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
15531
15532 wxPyEndAllowThreads(__tstate);
110da5b0 15533 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 15534 }
b0f7404b 15535 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
d14a1e28
RD
15536 return resultobj;
15537 fail:
15538 return NULL;
15539}
15540
15541
c32bde28 15542static PyObject *_wrap_new_PreMDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15543 PyObject *resultobj;
15544 wxMDIClientWindow *result;
15545 char *kwnames[] = {
15546 NULL
15547 };
15548
15549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
15550 {
e3b71cb8 15551 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
15552 PyThreadState* __tstate = wxPyBeginAllowThreads();
15553 result = (wxMDIClientWindow *)new wxMDIClientWindow();
15554
15555 wxPyEndAllowThreads(__tstate);
110da5b0 15556 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 15557 }
b0f7404b 15558 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
d14a1e28
RD
15559 return resultobj;
15560 fail:
15561 return NULL;
15562}
15563
15564
c32bde28 15565static PyObject *_wrap_MDIClientWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15566 PyObject *resultobj;
15567 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
15568 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
15569 long arg3 = (long) 0 ;
15570 bool result;
15571 PyObject * obj0 = 0 ;
15572 PyObject * obj1 = 0 ;
994141e6 15573 PyObject * obj2 = 0 ;
d14a1e28
RD
15574 char *kwnames[] = {
15575 (char *) "self",(char *) "parent",(char *) "style", NULL
15576 };
15577
994141e6 15578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
15579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIClientWindow,
15580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15581 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
15582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 15583 if (obj2) {
c32bde28 15584 arg3 = (long)SWIG_As_long(obj2);
15afbcd0 15585 if (PyErr_Occurred()) SWIG_fail;
994141e6 15586 }
d14a1e28
RD
15587 {
15588 PyThreadState* __tstate = wxPyBeginAllowThreads();
15589 result = (bool)(arg1)->Create(arg2,arg3);
15590
15591 wxPyEndAllowThreads(__tstate);
15592 if (PyErr_Occurred()) SWIG_fail;
15593 }
4f89f6a3
RD
15594 {
15595 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15596 }
d14a1e28
RD
15597 return resultobj;
15598 fail:
15599 return NULL;
15600}
15601
15602
c32bde28 15603static PyObject * MDIClientWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15604 PyObject *obj;
15605 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15606 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
15607 Py_INCREF(obj);
15608 return Py_BuildValue((char *)"");
15609}
c32bde28 15610static PyObject *_wrap_new_PyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15611 PyObject *resultobj;
15612 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 15613 int arg2 = (int) (int)-1 ;
d14a1e28
RD
15614 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15615 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15616 wxSize const &arg4_defvalue = wxDefaultSize ;
15617 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15618 long arg5 = (long) 0 ;
15619 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15620 wxString *arg6 = (wxString *) &arg6_defvalue ;
15621 wxPyWindow *result;
15622 wxPoint temp3 ;
15623 wxSize temp4 ;
e811c8ce 15624 bool temp6 = False ;
d14a1e28 15625 PyObject * obj0 = 0 ;
994141e6 15626 PyObject * obj1 = 0 ;
d14a1e28
RD
15627 PyObject * obj2 = 0 ;
15628 PyObject * obj3 = 0 ;
994141e6 15629 PyObject * obj4 = 0 ;
d14a1e28
RD
15630 PyObject * obj5 = 0 ;
15631 char *kwnames[] = {
15632 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15633 };
15634
248ed943 15635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
15636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 15638 if (obj1) {
c32bde28 15639 arg2 = (int)SWIG_As_int(obj1);
248ed943
RD
15640 if (PyErr_Occurred()) SWIG_fail;
15641 }
d14a1e28
RD
15642 if (obj2) {
15643 {
15644 arg3 = &temp3;
15645 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15646 }
15647 }
15648 if (obj3) {
15649 {
15650 arg4 = &temp4;
15651 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15652 }
15653 }
994141e6 15654 if (obj4) {
c32bde28 15655 arg5 = (long)SWIG_As_long(obj4);
15afbcd0 15656 if (PyErr_Occurred()) SWIG_fail;
994141e6 15657 }
d14a1e28
RD
15658 if (obj5) {
15659 {
15660 arg6 = wxString_in_helper(obj5);
15661 if (arg6 == NULL) SWIG_fail;
e811c8ce 15662 temp6 = True;
d14a1e28
RD
15663 }
15664 }
15665 {
e3b71cb8 15666 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
15667 PyThreadState* __tstate = wxPyBeginAllowThreads();
15668 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15669
15670 wxPyEndAllowThreads(__tstate);
110da5b0 15671 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 15672 }
15afbcd0 15673 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
d14a1e28
RD
15674 {
15675 if (temp6)
15676 delete arg6;
15677 }
15678 return resultobj;
15679 fail:
15680 {
15681 if (temp6)
15682 delete arg6;
15683 }
15684 return NULL;
15685}
15686
15687
c32bde28 15688static PyObject *_wrap_new_PrePyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
15689 PyObject *resultobj;
15690 wxPyWindow *result;
15691 char *kwnames[] = {
15692 NULL
15693 };
15694
15695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail;
15696 {
e3b71cb8 15697 if (!wxPyCheckForApp()) SWIG_fail;
1cb4a8aa
RD
15698 PyThreadState* __tstate = wxPyBeginAllowThreads();
15699 result = (wxPyWindow *)new wxPyWindow();
15700
15701 wxPyEndAllowThreads(__tstate);
110da5b0 15702 if (PyErr_Occurred()) SWIG_fail;
1cb4a8aa
RD
15703 }
15704 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15705 return resultobj;
15706 fail:
15707 return NULL;
15708}
15709
15710
c32bde28 15711static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15712 PyObject *resultobj;
15713 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15714 PyObject *arg2 = (PyObject *) 0 ;
15715 PyObject *arg3 = (PyObject *) 0 ;
15716 PyObject * obj0 = 0 ;
15717 PyObject * obj1 = 0 ;
15718 PyObject * obj2 = 0 ;
15719 char *kwnames[] = {
15720 (char *) "self",(char *) "self",(char *) "_class", NULL
15721 };
15722
15723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
15724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15726 arg2 = obj1;
15727 arg3 = obj2;
15728 {
15729 PyThreadState* __tstate = wxPyBeginAllowThreads();
15730 (arg1)->_setCallbackInfo(arg2,arg3);
15731
15732 wxPyEndAllowThreads(__tstate);
15733 if (PyErr_Occurred()) SWIG_fail;
15734 }
15735 Py_INCREF(Py_None); resultobj = Py_None;
15736 return resultobj;
15737 fail:
15738 return NULL;
15739}
15740
15741
c32bde28 15742static PyObject *_wrap_PyWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
db3e571a
RD
15743 PyObject *resultobj;
15744 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15745 wxSize *arg2 = 0 ;
15746 wxSize temp2 ;
15747 PyObject * obj0 = 0 ;
15748 PyObject * obj1 = 0 ;
15749 char *kwnames[] = {
15750 (char *) "self",(char *) "size", NULL
15751 };
15752
15753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
15754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15756 {
15757 arg2 = &temp2;
15758 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15759 }
15760 {
15761 PyThreadState* __tstate = wxPyBeginAllowThreads();
15762 (arg1)->SetBestSize((wxSize const &)*arg2);
15763
15764 wxPyEndAllowThreads(__tstate);
15765 if (PyErr_Occurred()) SWIG_fail;
15766 }
15767 Py_INCREF(Py_None); resultobj = Py_None;
15768 return resultobj;
15769 fail:
15770 return NULL;
15771}
15772
15773
c32bde28 15774static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15775 PyObject *resultobj;
15776 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15777 int arg2 ;
15778 int arg3 ;
15779 int arg4 ;
15780 int arg5 ;
15781 PyObject * obj0 = 0 ;
994141e6
RD
15782 PyObject * obj1 = 0 ;
15783 PyObject * obj2 = 0 ;
15784 PyObject * obj3 = 0 ;
15785 PyObject * obj4 = 0 ;
d14a1e28
RD
15786 char *kwnames[] = {
15787 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15788 };
15789
994141e6 15790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
15791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 15793 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 15794 if (PyErr_Occurred()) SWIG_fail;
c32bde28 15795 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 15796 if (PyErr_Occurred()) SWIG_fail;
c32bde28 15797 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 15798 if (PyErr_Occurred()) SWIG_fail;
c32bde28 15799 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 15800 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15801 {
15802 PyThreadState* __tstate = wxPyBeginAllowThreads();
15803 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
15804
15805 wxPyEndAllowThreads(__tstate);
15806 if (PyErr_Occurred()) SWIG_fail;
15807 }
15808 Py_INCREF(Py_None); resultobj = Py_None;
15809 return resultobj;
15810 fail:
15811 return NULL;
15812}
15813
15814
c32bde28 15815static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15816 PyObject *resultobj;
15817 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15818 int arg2 ;
15819 int arg3 ;
15820 int arg4 ;
15821 int arg5 ;
15822 int arg6 = (int) wxSIZE_AUTO ;
15823 PyObject * obj0 = 0 ;
994141e6
RD
15824 PyObject * obj1 = 0 ;
15825 PyObject * obj2 = 0 ;
15826 PyObject * obj3 = 0 ;
15827 PyObject * obj4 = 0 ;
15828 PyObject * obj5 = 0 ;
d14a1e28
RD
15829 char *kwnames[] = {
15830 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15831 };
15832
994141e6 15833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
15834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 15836 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 15837 if (PyErr_Occurred()) SWIG_fail;
c32bde28 15838 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 15839 if (PyErr_Occurred()) SWIG_fail;
c32bde28 15840 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 15841 if (PyErr_Occurred()) SWIG_fail;
c32bde28 15842 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 15843 if (PyErr_Occurred()) SWIG_fail;
994141e6 15844 if (obj5) {
c32bde28 15845 arg6 = (int)SWIG_As_int(obj5);
15afbcd0 15846 if (PyErr_Occurred()) SWIG_fail;
994141e6 15847 }
d14a1e28
RD
15848 {
15849 PyThreadState* __tstate = wxPyBeginAllowThreads();
15850 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
15851
15852 wxPyEndAllowThreads(__tstate);
15853 if (PyErr_Occurred()) SWIG_fail;
15854 }
15855 Py_INCREF(Py_None); resultobj = Py_None;
15856 return resultobj;
15857 fail:
15858 return NULL;
15859}
15860
15861
c32bde28 15862static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15863 PyObject *resultobj;
15864 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15865 int arg2 ;
15866 int arg3 ;
15867 PyObject * obj0 = 0 ;
994141e6
RD
15868 PyObject * obj1 = 0 ;
15869 PyObject * obj2 = 0 ;
d14a1e28
RD
15870 char *kwnames[] = {
15871 (char *) "self",(char *) "width",(char *) "height", NULL
15872 };
15873
994141e6 15874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
15875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 15877 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 15878 if (PyErr_Occurred()) SWIG_fail;
c32bde28 15879 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 15880 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15881 {
15882 PyThreadState* __tstate = wxPyBeginAllowThreads();
15883 (arg1)->base_DoSetClientSize(arg2,arg3);
15884
15885 wxPyEndAllowThreads(__tstate);
15886 if (PyErr_Occurred()) SWIG_fail;
15887 }
15888 Py_INCREF(Py_None); resultobj = Py_None;
15889 return resultobj;
15890 fail:
15891 return NULL;
15892}
15893
15894
c32bde28 15895static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15896 PyObject *resultobj;
15897 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15898 int arg2 ;
15899 int arg3 ;
15900 PyObject * obj0 = 0 ;
994141e6
RD
15901 PyObject * obj1 = 0 ;
15902 PyObject * obj2 = 0 ;
d14a1e28 15903 char *kwnames[] = {
15afbcd0
RD
15904 (char *) "self",(char *) "x",(char *) "y", NULL
15905 };
15906
15907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 15910 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 15911 if (PyErr_Occurred()) SWIG_fail;
c32bde28 15912 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 15913 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15914 {
15915 PyThreadState* __tstate = wxPyBeginAllowThreads();
15916 (arg1)->base_DoSetVirtualSize(arg2,arg3);
15917
15918 wxPyEndAllowThreads(__tstate);
15919 if (PyErr_Occurred()) SWIG_fail;
15920 }
15921 Py_INCREF(Py_None); resultobj = Py_None;
15922 return resultobj;
15923 fail:
15924 return NULL;
15925}
15926
15927
c32bde28 15928static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15929 PyObject *resultobj;
15930 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15931 int *arg2 = (int *) 0 ;
15932 int *arg3 = (int *) 0 ;
15933 int temp2 ;
c32bde28 15934 int res2 = 0 ;
d14a1e28 15935 int temp3 ;
c32bde28 15936 int res3 = 0 ;
d14a1e28
RD
15937 PyObject * obj0 = 0 ;
15938 char *kwnames[] = {
15939 (char *) "self", NULL
15940 };
15941
c32bde28
RD
15942 arg2 = &temp2; res2 = SWIG_NEWOBJ;
15943 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 15944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
15945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15947 {
15948 PyThreadState* __tstate = wxPyBeginAllowThreads();
15949 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
15950
15951 wxPyEndAllowThreads(__tstate);
15952 if (PyErr_Occurred()) SWIG_fail;
15953 }
15954 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
15955 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
15956 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
15957 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
15958 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
15959 return resultobj;
15960 fail:
15961 return NULL;
15962}
15963
15964
c32bde28 15965static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15966 PyObject *resultobj;
15967 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15968 int *arg2 = (int *) 0 ;
15969 int *arg3 = (int *) 0 ;
15970 int temp2 ;
c32bde28 15971 int res2 = 0 ;
d14a1e28 15972 int temp3 ;
c32bde28 15973 int res3 = 0 ;
d14a1e28
RD
15974 PyObject * obj0 = 0 ;
15975 char *kwnames[] = {
15976 (char *) "self", NULL
15977 };
15978
c32bde28
RD
15979 arg2 = &temp2; res2 = SWIG_NEWOBJ;
15980 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 15981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
15982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15984 {
15985 PyThreadState* __tstate = wxPyBeginAllowThreads();
15986 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
15987
15988 wxPyEndAllowThreads(__tstate);
15989 if (PyErr_Occurred()) SWIG_fail;
15990 }
15991 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
15992 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
15993 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
15994 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
15995 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
15996 return resultobj;
15997 fail:
15998 return NULL;
15999}
16000
16001
c32bde28 16002static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16003 PyObject *resultobj;
16004 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16005 int *arg2 = (int *) 0 ;
16006 int *arg3 = (int *) 0 ;
16007 int temp2 ;
c32bde28 16008 int res2 = 0 ;
d14a1e28 16009 int temp3 ;
c32bde28 16010 int res3 = 0 ;
d14a1e28
RD
16011 PyObject * obj0 = 0 ;
16012 char *kwnames[] = {
16013 (char *) "self", NULL
16014 };
16015
c32bde28
RD
16016 arg2 = &temp2; res2 = SWIG_NEWOBJ;
16017 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 16018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
16019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16021 {
16022 PyThreadState* __tstate = wxPyBeginAllowThreads();
16023 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
16024
16025 wxPyEndAllowThreads(__tstate);
16026 if (PyErr_Occurred()) SWIG_fail;
16027 }
16028 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
16029 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
16030 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
16031 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16032 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
16033 return resultobj;
16034 fail:
16035 return NULL;
16036}
16037
16038
c32bde28 16039static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16040 PyObject *resultobj;
16041 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16042 wxSize result;
16043 PyObject * obj0 = 0 ;
16044 char *kwnames[] = {
16045 (char *) "self", NULL
16046 };
16047
16048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
16049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16051 {
16052 PyThreadState* __tstate = wxPyBeginAllowThreads();
16053 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
16054
16055 wxPyEndAllowThreads(__tstate);
16056 if (PyErr_Occurred()) SWIG_fail;
16057 }
16058 {
16059 wxSize * resultptr;
16060 resultptr = new wxSize((wxSize &) result);
15afbcd0 16061 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
16062 }
16063 return resultobj;
16064 fail:
16065 return NULL;
16066}
16067
16068
c32bde28 16069static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16070 PyObject *resultobj;
16071 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16072 wxSize result;
16073 PyObject * obj0 = 0 ;
16074 char *kwnames[] = {
16075 (char *) "self", NULL
16076 };
16077
16078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
16079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16081 {
16082 PyThreadState* __tstate = wxPyBeginAllowThreads();
16083 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
16084
16085 wxPyEndAllowThreads(__tstate);
16086 if (PyErr_Occurred()) SWIG_fail;
16087 }
16088 {
16089 wxSize * resultptr;
16090 resultptr = new wxSize((wxSize &) result);
15afbcd0 16091 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
16092 }
16093 return resultobj;
16094 fail:
16095 return NULL;
16096}
16097
16098
c32bde28 16099static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16100 PyObject *resultobj;
16101 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16102 PyObject * obj0 = 0 ;
16103 char *kwnames[] = {
16104 (char *) "self", NULL
16105 };
16106
16107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
15afbcd0
RD
16108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16110 {
16111 PyThreadState* __tstate = wxPyBeginAllowThreads();
16112 (arg1)->base_InitDialog();
16113
16114 wxPyEndAllowThreads(__tstate);
16115 if (PyErr_Occurred()) SWIG_fail;
16116 }
16117 Py_INCREF(Py_None); resultobj = Py_None;
16118 return resultobj;
16119 fail:
16120 return NULL;
16121}
16122
16123
c32bde28 16124static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16125 PyObject *resultobj;
16126 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16127 bool result;
16128 PyObject * obj0 = 0 ;
16129 char *kwnames[] = {
16130 (char *) "self", NULL
16131 };
16132
16133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
16134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16136 {
16137 PyThreadState* __tstate = wxPyBeginAllowThreads();
16138 result = (bool)(arg1)->base_TransferDataToWindow();
16139
16140 wxPyEndAllowThreads(__tstate);
16141 if (PyErr_Occurred()) SWIG_fail;
16142 }
4f89f6a3
RD
16143 {
16144 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16145 }
d14a1e28
RD
16146 return resultobj;
16147 fail:
16148 return NULL;
16149}
16150
16151
c32bde28 16152static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16153 PyObject *resultobj;
16154 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16155 bool result;
16156 PyObject * obj0 = 0 ;
16157 char *kwnames[] = {
16158 (char *) "self", NULL
16159 };
16160
16161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
16162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16164 {
16165 PyThreadState* __tstate = wxPyBeginAllowThreads();
16166 result = (bool)(arg1)->base_TransferDataFromWindow();
16167
16168 wxPyEndAllowThreads(__tstate);
16169 if (PyErr_Occurred()) SWIG_fail;
16170 }
4f89f6a3
RD
16171 {
16172 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16173 }
d14a1e28
RD
16174 return resultobj;
16175 fail:
16176 return NULL;
16177}
16178
16179
c32bde28 16180static PyObject *_wrap_PyWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16181 PyObject *resultobj;
16182 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16183 bool result;
16184 PyObject * obj0 = 0 ;
16185 char *kwnames[] = {
16186 (char *) "self", NULL
16187 };
16188
16189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
15afbcd0
RD
16190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16192 {
16193 PyThreadState* __tstate = wxPyBeginAllowThreads();
16194 result = (bool)(arg1)->base_Validate();
16195
16196 wxPyEndAllowThreads(__tstate);
16197 if (PyErr_Occurred()) SWIG_fail;
16198 }
4f89f6a3
RD
16199 {
16200 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16201 }
d14a1e28
RD
16202 return resultobj;
16203 fail:
16204 return NULL;
16205}
16206
16207
c32bde28 16208static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16209 PyObject *resultobj;
16210 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16211 bool result;
16212 PyObject * obj0 = 0 ;
16213 char *kwnames[] = {
16214 (char *) "self", NULL
16215 };
16216
16217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
15afbcd0
RD
16218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16220 {
16221 PyThreadState* __tstate = wxPyBeginAllowThreads();
16222 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
16223
16224 wxPyEndAllowThreads(__tstate);
16225 if (PyErr_Occurred()) SWIG_fail;
16226 }
4f89f6a3
RD
16227 {
16228 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16229 }
d14a1e28
RD
16230 return resultobj;
16231 fail:
16232 return NULL;
16233}
16234
16235
c32bde28 16236static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16237 PyObject *resultobj;
16238 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16239 bool result;
16240 PyObject * obj0 = 0 ;
16241 char *kwnames[] = {
16242 (char *) "self", NULL
16243 };
16244
16245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
15afbcd0
RD
16246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16248 {
16249 PyThreadState* __tstate = wxPyBeginAllowThreads();
16250 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
16251
16252 wxPyEndAllowThreads(__tstate);
16253 if (PyErr_Occurred()) SWIG_fail;
16254 }
4f89f6a3
RD
16255 {
16256 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16257 }
d14a1e28
RD
16258 return resultobj;
16259 fail:
16260 return NULL;
16261}
16262
16263
c32bde28 16264static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16265 PyObject *resultobj;
16266 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16267 wxSize result;
16268 PyObject * obj0 = 0 ;
16269 char *kwnames[] = {
16270 (char *) "self", NULL
16271 };
16272
16273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
16274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16276 {
16277 PyThreadState* __tstate = wxPyBeginAllowThreads();
16278 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
16279
16280 wxPyEndAllowThreads(__tstate);
16281 if (PyErr_Occurred()) SWIG_fail;
16282 }
16283 {
16284 wxSize * resultptr;
16285 resultptr = new wxSize((wxSize &) result);
15afbcd0 16286 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
16287 }
16288 return resultobj;
16289 fail:
16290 return NULL;
16291}
16292
16293
c32bde28 16294static PyObject *_wrap_PyWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16295 PyObject *resultobj;
16296 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16297 wxWindow *arg2 = (wxWindow *) 0 ;
16298 PyObject * obj0 = 0 ;
16299 PyObject * obj1 = 0 ;
16300 char *kwnames[] = {
16301 (char *) "self",(char *) "child", NULL
16302 };
16303
16304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16307 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16309 {
16310 PyThreadState* __tstate = wxPyBeginAllowThreads();
16311 (arg1)->base_AddChild(arg2);
16312
16313 wxPyEndAllowThreads(__tstate);
16314 if (PyErr_Occurred()) SWIG_fail;
16315 }
16316 Py_INCREF(Py_None); resultobj = Py_None;
16317 return resultobj;
16318 fail:
16319 return NULL;
16320}
16321
16322
c32bde28 16323static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16324 PyObject *resultobj;
16325 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16326 wxWindow *arg2 = (wxWindow *) 0 ;
16327 PyObject * obj0 = 0 ;
16328 PyObject * obj1 = 0 ;
16329 char *kwnames[] = {
16330 (char *) "self",(char *) "child", NULL
16331 };
16332
16333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16336 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16338 {
16339 PyThreadState* __tstate = wxPyBeginAllowThreads();
16340 (arg1)->base_RemoveChild(arg2);
16341
16342 wxPyEndAllowThreads(__tstate);
16343 if (PyErr_Occurred()) SWIG_fail;
16344 }
16345 Py_INCREF(Py_None); resultobj = Py_None;
16346 return resultobj;
16347 fail:
16348 return NULL;
16349}
16350
16351
c32bde28 16352static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
16353 PyObject *resultobj;
16354 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16355 bool result;
16356 PyObject * obj0 = 0 ;
16357 char *kwnames[] = {
16358 (char *) "self", NULL
16359 };
16360
16361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
16362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16364 {
16365 PyThreadState* __tstate = wxPyBeginAllowThreads();
db3e571a 16366 result = (bool)((wxPyWindow const *)arg1)->base_ShouldInheritColours();
1cb4a8aa
RD
16367
16368 wxPyEndAllowThreads(__tstate);
16369 if (PyErr_Occurred()) SWIG_fail;
16370 }
16371 {
16372 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16373 }
16374 return resultobj;
16375 fail:
16376 return NULL;
16377}
16378
16379
c32bde28 16380static PyObject *_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
16381 PyObject *resultobj;
16382 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16383 wxColour *arg2 = 0 ;
16384 wxColour temp2 ;
16385 PyObject * obj0 = 0 ;
16386 PyObject * obj1 = 0 ;
16387 char *kwnames[] = {
16388 (char *) "self",(char *) "c", NULL
16389 };
16390
16391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
16392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16394 {
16395 arg2 = &temp2;
16396 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16397 }
16398 {
16399 PyThreadState* __tstate = wxPyBeginAllowThreads();
16400 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
16401
16402 wxPyEndAllowThreads(__tstate);
16403 if (PyErr_Occurred()) SWIG_fail;
16404 }
16405 Py_INCREF(Py_None); resultobj = Py_None;
16406 return resultobj;
16407 fail:
16408 return NULL;
16409}
16410
16411
c32bde28 16412static PyObject *_wrap_PyWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
db3e571a
RD
16413 PyObject *resultobj;
16414 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16415 wxVisualAttributes result;
16416 PyObject * obj0 = 0 ;
16417 char *kwnames[] = {
16418 (char *) "self", NULL
16419 };
16420
16421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
16422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16424 {
16425 PyThreadState* __tstate = wxPyBeginAllowThreads();
16426 result = (arg1)->base_GetDefaultAttributes();
16427
16428 wxPyEndAllowThreads(__tstate);
16429 if (PyErr_Occurred()) SWIG_fail;
16430 }
16431 {
16432 wxVisualAttributes * resultptr;
16433 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
16434 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16435 }
16436 return resultobj;
16437 fail:
16438 return NULL;
16439}
16440
16441
c32bde28 16442static PyObject * PyWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
16443 PyObject *obj;
16444 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16445 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
16446 Py_INCREF(obj);
16447 return Py_BuildValue((char *)"");
16448}
c32bde28 16449static PyObject *_wrap_new_PyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16450 PyObject *resultobj;
16451 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 16452 int arg2 = (int) (int)-1 ;
d14a1e28
RD
16453 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16454 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16455 wxSize const &arg4_defvalue = wxDefaultSize ;
16456 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16457 long arg5 = (long) 0 ;
16458 wxString const &arg6_defvalue = wxPyPanelNameStr ;
16459 wxString *arg6 = (wxString *) &arg6_defvalue ;
16460 wxPyPanel *result;
16461 wxPoint temp3 ;
16462 wxSize temp4 ;
e811c8ce 16463 bool temp6 = False ;
d14a1e28 16464 PyObject * obj0 = 0 ;
994141e6 16465 PyObject * obj1 = 0 ;
d14a1e28
RD
16466 PyObject * obj2 = 0 ;
16467 PyObject * obj3 = 0 ;
994141e6 16468 PyObject * obj4 = 0 ;
d14a1e28
RD
16469 PyObject * obj5 = 0 ;
16470 char *kwnames[] = {
16471 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16472 };
16473
248ed943 16474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
16475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
16476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 16477 if (obj1) {
c32bde28 16478 arg2 = (int)SWIG_As_int(obj1);
248ed943
RD
16479 if (PyErr_Occurred()) SWIG_fail;
16480 }
d14a1e28
RD
16481 if (obj2) {
16482 {
16483 arg3 = &temp3;
16484 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16485 }
16486 }
16487 if (obj3) {
16488 {
16489 arg4 = &temp4;
16490 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16491 }
16492 }
994141e6 16493 if (obj4) {
c32bde28 16494 arg5 = (long)SWIG_As_long(obj4);
15afbcd0 16495 if (PyErr_Occurred()) SWIG_fail;
994141e6 16496 }
d14a1e28
RD
16497 if (obj5) {
16498 {
16499 arg6 = wxString_in_helper(obj5);
16500 if (arg6 == NULL) SWIG_fail;
e811c8ce 16501 temp6 = True;
d14a1e28
RD
16502 }
16503 }
16504 {
e3b71cb8 16505 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
16506 PyThreadState* __tstate = wxPyBeginAllowThreads();
16507 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
16508
16509 wxPyEndAllowThreads(__tstate);
110da5b0 16510 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 16511 }
15afbcd0 16512 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
d14a1e28
RD
16513 {
16514 if (temp6)
16515 delete arg6;
16516 }
16517 return resultobj;
16518 fail:
16519 {
16520 if (temp6)
16521 delete arg6;
16522 }
16523 return NULL;
16524}
16525
16526
c32bde28 16527static PyObject *_wrap_new_PrePyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
16528 PyObject *resultobj;
16529 wxPyPanel *result;
16530 char *kwnames[] = {
16531 NULL
16532 };
16533
16534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail;
16535 {
e3b71cb8 16536 if (!wxPyCheckForApp()) SWIG_fail;
1cb4a8aa
RD
16537 PyThreadState* __tstate = wxPyBeginAllowThreads();
16538 result = (wxPyPanel *)new wxPyPanel();
16539
16540 wxPyEndAllowThreads(__tstate);
110da5b0 16541 if (PyErr_Occurred()) SWIG_fail;
1cb4a8aa
RD
16542 }
16543 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
16544 return resultobj;
16545 fail:
16546 return NULL;
16547}
16548
16549
c32bde28 16550static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16551 PyObject *resultobj;
16552 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16553 PyObject *arg2 = (PyObject *) 0 ;
16554 PyObject *arg3 = (PyObject *) 0 ;
16555 PyObject * obj0 = 0 ;
16556 PyObject * obj1 = 0 ;
16557 PyObject * obj2 = 0 ;
16558 char *kwnames[] = {
16559 (char *) "self",(char *) "self",(char *) "_class", NULL
16560 };
16561
16562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
16563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16565 arg2 = obj1;
16566 arg3 = obj2;
16567 {
16568 PyThreadState* __tstate = wxPyBeginAllowThreads();
16569 (arg1)->_setCallbackInfo(arg2,arg3);
16570
16571 wxPyEndAllowThreads(__tstate);
16572 if (PyErr_Occurred()) SWIG_fail;
16573 }
16574 Py_INCREF(Py_None); resultobj = Py_None;
16575 return resultobj;
16576 fail:
16577 return NULL;
16578}
16579
16580
c32bde28 16581static PyObject *_wrap_PyPanel_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
db3e571a
RD
16582 PyObject *resultobj;
16583 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16584 wxSize *arg2 = 0 ;
16585 wxSize temp2 ;
16586 PyObject * obj0 = 0 ;
16587 PyObject * obj1 = 0 ;
16588 char *kwnames[] = {
16589 (char *) "self",(char *) "size", NULL
16590 };
16591
16592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
16593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16595 {
16596 arg2 = &temp2;
16597 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16598 }
16599 {
16600 PyThreadState* __tstate = wxPyBeginAllowThreads();
16601 (arg1)->SetBestSize((wxSize const &)*arg2);
16602
16603 wxPyEndAllowThreads(__tstate);
16604 if (PyErr_Occurred()) SWIG_fail;
16605 }
16606 Py_INCREF(Py_None); resultobj = Py_None;
16607 return resultobj;
16608 fail:
16609 return NULL;
16610}
16611
16612
c32bde28 16613static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16614 PyObject *resultobj;
16615 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16616 int arg2 ;
16617 int arg3 ;
16618 int arg4 ;
16619 int arg5 ;
16620 PyObject * obj0 = 0 ;
994141e6
RD
16621 PyObject * obj1 = 0 ;
16622 PyObject * obj2 = 0 ;
16623 PyObject * obj3 = 0 ;
16624 PyObject * obj4 = 0 ;
d14a1e28
RD
16625 char *kwnames[] = {
16626 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16627 };
16628
994141e6 16629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
16630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16632 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 16633 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16634 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 16635 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16636 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 16637 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16638 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 16639 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16640 {
16641 PyThreadState* __tstate = wxPyBeginAllowThreads();
16642 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
16643
16644 wxPyEndAllowThreads(__tstate);
16645 if (PyErr_Occurred()) SWIG_fail;
16646 }
16647 Py_INCREF(Py_None); resultobj = Py_None;
16648 return resultobj;
16649 fail:
16650 return NULL;
16651}
16652
16653
c32bde28 16654static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16655 PyObject *resultobj;
16656 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16657 int arg2 ;
16658 int arg3 ;
16659 int arg4 ;
16660 int arg5 ;
16661 int arg6 = (int) wxSIZE_AUTO ;
16662 PyObject * obj0 = 0 ;
994141e6
RD
16663 PyObject * obj1 = 0 ;
16664 PyObject * obj2 = 0 ;
16665 PyObject * obj3 = 0 ;
16666 PyObject * obj4 = 0 ;
16667 PyObject * obj5 = 0 ;
d14a1e28
RD
16668 char *kwnames[] = {
16669 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16670 };
16671
994141e6 16672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
16673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16675 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 16676 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16677 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 16678 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16679 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 16680 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16681 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 16682 if (PyErr_Occurred()) SWIG_fail;
994141e6 16683 if (obj5) {
c32bde28 16684 arg6 = (int)SWIG_As_int(obj5);
15afbcd0 16685 if (PyErr_Occurred()) SWIG_fail;
994141e6 16686 }
d14a1e28
RD
16687 {
16688 PyThreadState* __tstate = wxPyBeginAllowThreads();
16689 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
16690
16691 wxPyEndAllowThreads(__tstate);
16692 if (PyErr_Occurred()) SWIG_fail;
16693 }
16694 Py_INCREF(Py_None); resultobj = Py_None;
16695 return resultobj;
16696 fail:
16697 return NULL;
16698}
16699
16700
c32bde28 16701static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16702 PyObject *resultobj;
16703 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16704 int arg2 ;
16705 int arg3 ;
16706 PyObject * obj0 = 0 ;
994141e6
RD
16707 PyObject * obj1 = 0 ;
16708 PyObject * obj2 = 0 ;
d14a1e28
RD
16709 char *kwnames[] = {
16710 (char *) "self",(char *) "width",(char *) "height", NULL
16711 };
16712
994141e6 16713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
16714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16716 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 16717 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16718 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 16719 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16720 {
16721 PyThreadState* __tstate = wxPyBeginAllowThreads();
16722 (arg1)->base_DoSetClientSize(arg2,arg3);
16723
16724 wxPyEndAllowThreads(__tstate);
16725 if (PyErr_Occurred()) SWIG_fail;
16726 }
16727 Py_INCREF(Py_None); resultobj = Py_None;
16728 return resultobj;
16729 fail:
16730 return NULL;
16731}
16732
16733
c32bde28 16734static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16735 PyObject *resultobj;
16736 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16737 int arg2 ;
16738 int arg3 ;
16739 PyObject * obj0 = 0 ;
994141e6
RD
16740 PyObject * obj1 = 0 ;
16741 PyObject * obj2 = 0 ;
d14a1e28
RD
16742 char *kwnames[] = {
16743 (char *) "self",(char *) "x",(char *) "y", NULL
16744 };
16745
994141e6 16746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
16747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16749 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 16750 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16751 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 16752 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16753 {
16754 PyThreadState* __tstate = wxPyBeginAllowThreads();
16755 (arg1)->base_DoSetVirtualSize(arg2,arg3);
16756
16757 wxPyEndAllowThreads(__tstate);
16758 if (PyErr_Occurred()) SWIG_fail;
16759 }
16760 Py_INCREF(Py_None); resultobj = Py_None;
16761 return resultobj;
16762 fail:
16763 return NULL;
16764}
16765
16766
c32bde28 16767static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16768 PyObject *resultobj;
16769 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16770 int *arg2 = (int *) 0 ;
16771 int *arg3 = (int *) 0 ;
16772 int temp2 ;
c32bde28 16773 int res2 = 0 ;
d14a1e28 16774 int temp3 ;
c32bde28 16775 int res3 = 0 ;
d14a1e28
RD
16776 PyObject * obj0 = 0 ;
16777 char *kwnames[] = {
16778 (char *) "self", NULL
16779 };
16780
c32bde28
RD
16781 arg2 = &temp2; res2 = SWIG_NEWOBJ;
16782 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 16783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
16784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16786 {
16787 PyThreadState* __tstate = wxPyBeginAllowThreads();
16788 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
16789
16790 wxPyEndAllowThreads(__tstate);
16791 if (PyErr_Occurred()) SWIG_fail;
16792 }
16793 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
16794 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
16795 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
16796 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16797 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
16798 return resultobj;
16799 fail:
16800 return NULL;
16801}
16802
16803
c32bde28 16804static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16805 PyObject *resultobj;
16806 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16807 int *arg2 = (int *) 0 ;
16808 int *arg3 = (int *) 0 ;
16809 int temp2 ;
c32bde28 16810 int res2 = 0 ;
d14a1e28 16811 int temp3 ;
c32bde28 16812 int res3 = 0 ;
d14a1e28
RD
16813 PyObject * obj0 = 0 ;
16814 char *kwnames[] = {
16815 (char *) "self", NULL
16816 };
16817
c32bde28
RD
16818 arg2 = &temp2; res2 = SWIG_NEWOBJ;
16819 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 16820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
16821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16823 {
16824 PyThreadState* __tstate = wxPyBeginAllowThreads();
16825 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
16826
16827 wxPyEndAllowThreads(__tstate);
16828 if (PyErr_Occurred()) SWIG_fail;
16829 }
16830 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
16831 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
16832 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
16833 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16834 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
16835 return resultobj;
16836 fail:
16837 return NULL;
16838}
16839
16840
c32bde28 16841static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16842 PyObject *resultobj;
16843 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16844 int *arg2 = (int *) 0 ;
16845 int *arg3 = (int *) 0 ;
16846 int temp2 ;
c32bde28 16847 int res2 = 0 ;
d14a1e28 16848 int temp3 ;
c32bde28 16849 int res3 = 0 ;
d14a1e28
RD
16850 PyObject * obj0 = 0 ;
16851 char *kwnames[] = {
16852 (char *) "self", NULL
16853 };
16854
c32bde28
RD
16855 arg2 = &temp2; res2 = SWIG_NEWOBJ;
16856 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 16857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
16858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16860 {
16861 PyThreadState* __tstate = wxPyBeginAllowThreads();
16862 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
16863
16864 wxPyEndAllowThreads(__tstate);
16865 if (PyErr_Occurred()) SWIG_fail;
16866 }
16867 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
16868 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
16869 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
16870 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16871 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
16872 return resultobj;
16873 fail:
16874 return NULL;
16875}
16876
16877
c32bde28 16878static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16879 PyObject *resultobj;
16880 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16881 wxSize result;
16882 PyObject * obj0 = 0 ;
16883 char *kwnames[] = {
16884 (char *) "self", NULL
16885 };
16886
16887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
16888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16890 {
16891 PyThreadState* __tstate = wxPyBeginAllowThreads();
16892 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
16893
16894 wxPyEndAllowThreads(__tstate);
16895 if (PyErr_Occurred()) SWIG_fail;
16896 }
16897 {
16898 wxSize * resultptr;
16899 resultptr = new wxSize((wxSize &) result);
15afbcd0 16900 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
16901 }
16902 return resultobj;
16903 fail:
16904 return NULL;
16905}
16906
16907
c32bde28 16908static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16909 PyObject *resultobj;
16910 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16911 wxSize result;
16912 PyObject * obj0 = 0 ;
16913 char *kwnames[] = {
16914 (char *) "self", NULL
16915 };
16916
16917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
16918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16920 {
16921 PyThreadState* __tstate = wxPyBeginAllowThreads();
16922 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
16923
16924 wxPyEndAllowThreads(__tstate);
16925 if (PyErr_Occurred()) SWIG_fail;
16926 }
16927 {
16928 wxSize * resultptr;
16929 resultptr = new wxSize((wxSize &) result);
15afbcd0 16930 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
16931 }
16932 return resultobj;
16933 fail:
16934 return NULL;
16935}
16936
16937
c32bde28 16938static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16939 PyObject *resultobj;
16940 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16941 PyObject * obj0 = 0 ;
16942 char *kwnames[] = {
16943 (char *) "self", NULL
16944 };
16945
16946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
15afbcd0
RD
16947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16949 {
16950 PyThreadState* __tstate = wxPyBeginAllowThreads();
16951 (arg1)->base_InitDialog();
16952
16953 wxPyEndAllowThreads(__tstate);
16954 if (PyErr_Occurred()) SWIG_fail;
16955 }
16956 Py_INCREF(Py_None); resultobj = Py_None;
16957 return resultobj;
16958 fail:
16959 return NULL;
16960}
16961
16962
c32bde28 16963static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16964 PyObject *resultobj;
16965 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16966 bool result;
16967 PyObject * obj0 = 0 ;
16968 char *kwnames[] = {
16969 (char *) "self", NULL
16970 };
16971
16972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
16973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16975 {
16976 PyThreadState* __tstate = wxPyBeginAllowThreads();
16977 result = (bool)(arg1)->base_TransferDataToWindow();
16978
16979 wxPyEndAllowThreads(__tstate);
16980 if (PyErr_Occurred()) SWIG_fail;
16981 }
4f89f6a3
RD
16982 {
16983 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16984 }
d14a1e28
RD
16985 return resultobj;
16986 fail:
16987 return NULL;
16988}
16989
16990
c32bde28 16991static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16992 PyObject *resultobj;
16993 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16994 bool result;
16995 PyObject * obj0 = 0 ;
16996 char *kwnames[] = {
16997 (char *) "self", NULL
16998 };
16999
17000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
17001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17003 {
17004 PyThreadState* __tstate = wxPyBeginAllowThreads();
17005 result = (bool)(arg1)->base_TransferDataFromWindow();
17006
17007 wxPyEndAllowThreads(__tstate);
17008 if (PyErr_Occurred()) SWIG_fail;
17009 }
4f89f6a3
RD
17010 {
17011 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17012 }
d14a1e28
RD
17013 return resultobj;
17014 fail:
17015 return NULL;
17016}
17017
17018
c32bde28 17019static PyObject *_wrap_PyPanel_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17020 PyObject *resultobj;
17021 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17022 bool result;
17023 PyObject * obj0 = 0 ;
17024 char *kwnames[] = {
17025 (char *) "self", NULL
17026 };
17027
17028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
15afbcd0
RD
17029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17031 {
17032 PyThreadState* __tstate = wxPyBeginAllowThreads();
17033 result = (bool)(arg1)->base_Validate();
17034
17035 wxPyEndAllowThreads(__tstate);
17036 if (PyErr_Occurred()) SWIG_fail;
17037 }
4f89f6a3
RD
17038 {
17039 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17040 }
d14a1e28
RD
17041 return resultobj;
17042 fail:
17043 return NULL;
17044}
17045
17046
c32bde28 17047static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17048 PyObject *resultobj;
17049 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17050 bool result;
17051 PyObject * obj0 = 0 ;
17052 char *kwnames[] = {
17053 (char *) "self", NULL
17054 };
17055
17056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
15afbcd0
RD
17057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17059 {
17060 PyThreadState* __tstate = wxPyBeginAllowThreads();
17061 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
17062
17063 wxPyEndAllowThreads(__tstate);
17064 if (PyErr_Occurred()) SWIG_fail;
17065 }
4f89f6a3
RD
17066 {
17067 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17068 }
d14a1e28
RD
17069 return resultobj;
17070 fail:
17071 return NULL;
17072}
17073
17074
c32bde28 17075static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17076 PyObject *resultobj;
17077 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17078 bool result;
17079 PyObject * obj0 = 0 ;
17080 char *kwnames[] = {
17081 (char *) "self", NULL
17082 };
17083
17084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
15afbcd0
RD
17085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17087 {
17088 PyThreadState* __tstate = wxPyBeginAllowThreads();
17089 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
17090
17091 wxPyEndAllowThreads(__tstate);
17092 if (PyErr_Occurred()) SWIG_fail;
17093 }
4f89f6a3
RD
17094 {
17095 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17096 }
d14a1e28
RD
17097 return resultobj;
17098 fail:
17099 return NULL;
17100}
17101
17102
c32bde28 17103static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17104 PyObject *resultobj;
17105 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17106 wxSize result;
17107 PyObject * obj0 = 0 ;
17108 char *kwnames[] = {
17109 (char *) "self", NULL
17110 };
17111
17112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
17113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17115 {
17116 PyThreadState* __tstate = wxPyBeginAllowThreads();
17117 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
17118
17119 wxPyEndAllowThreads(__tstate);
17120 if (PyErr_Occurred()) SWIG_fail;
17121 }
17122 {
17123 wxSize * resultptr;
17124 resultptr = new wxSize((wxSize &) result);
15afbcd0 17125 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
17126 }
17127 return resultobj;
17128 fail:
17129 return NULL;
17130}
17131
17132
c32bde28 17133static PyObject *_wrap_PyPanel_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17134 PyObject *resultobj;
17135 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17136 wxWindow *arg2 = (wxWindow *) 0 ;
17137 PyObject * obj0 = 0 ;
17138 PyObject * obj1 = 0 ;
17139 char *kwnames[] = {
17140 (char *) "self",(char *) "child", NULL
17141 };
17142
17143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17146 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17148 {
17149 PyThreadState* __tstate = wxPyBeginAllowThreads();
17150 (arg1)->base_AddChild(arg2);
17151
17152 wxPyEndAllowThreads(__tstate);
17153 if (PyErr_Occurred()) SWIG_fail;
17154 }
17155 Py_INCREF(Py_None); resultobj = Py_None;
17156 return resultobj;
17157 fail:
17158 return NULL;
17159}
17160
17161
c32bde28 17162static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17163 PyObject *resultobj;
17164 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17165 wxWindow *arg2 = (wxWindow *) 0 ;
17166 PyObject * obj0 = 0 ;
17167 PyObject * obj1 = 0 ;
17168 char *kwnames[] = {
17169 (char *) "self",(char *) "child", NULL
17170 };
17171
17172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17175 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17177 {
17178 PyThreadState* __tstate = wxPyBeginAllowThreads();
17179 (arg1)->base_RemoveChild(arg2);
17180
17181 wxPyEndAllowThreads(__tstate);
17182 if (PyErr_Occurred()) SWIG_fail;
17183 }
17184 Py_INCREF(Py_None); resultobj = Py_None;
17185 return resultobj;
17186 fail:
17187 return NULL;
17188}
17189
17190
c32bde28 17191static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 17192 PyObject *resultobj;
1cb4a8aa
RD
17193 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17194 bool result;
17195 PyObject * obj0 = 0 ;
d14a1e28 17196 char *kwnames[] = {
1cb4a8aa 17197 (char *) "self", NULL
d14a1e28
RD
17198 };
17199
1cb4a8aa
RD
17200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
17201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17203 {
17204 PyThreadState* __tstate = wxPyBeginAllowThreads();
db3e571a 17205 result = (bool)((wxPyPanel const *)arg1)->base_ShouldInheritColours();
d14a1e28
RD
17206
17207 wxPyEndAllowThreads(__tstate);
17208 if (PyErr_Occurred()) SWIG_fail;
17209 }
1cb4a8aa
RD
17210 {
17211 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17212 }
d14a1e28
RD
17213 return resultobj;
17214 fail:
17215 return NULL;
17216}
17217
17218
c32bde28 17219static PyObject *_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 17220 PyObject *resultobj;
1cb4a8aa
RD
17221 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17222 wxColour *arg2 = 0 ;
17223 wxColour temp2 ;
d14a1e28 17224 PyObject * obj0 = 0 ;
1cb4a8aa 17225 PyObject * obj1 = 0 ;
d14a1e28 17226 char *kwnames[] = {
1cb4a8aa 17227 (char *) "self",(char *) "c", NULL
d14a1e28
RD
17228 };
17229
1cb4a8aa
RD
17230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
17231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15afbcd0 17232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1cb4a8aa
RD
17233 {
17234 arg2 = &temp2;
17235 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17236 }
d14a1e28
RD
17237 {
17238 PyThreadState* __tstate = wxPyBeginAllowThreads();
1cb4a8aa 17239 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
d14a1e28
RD
17240
17241 wxPyEndAllowThreads(__tstate);
17242 if (PyErr_Occurred()) SWIG_fail;
17243 }
17244 Py_INCREF(Py_None); resultobj = Py_None;
17245 return resultobj;
17246 fail:
17247 return NULL;
17248}
17249
17250
c32bde28 17251static PyObject *_wrap_PyPanel_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
db3e571a
RD
17252 PyObject *resultobj;
17253 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17254 wxVisualAttributes result;
17255 PyObject * obj0 = 0 ;
17256 char *kwnames[] = {
17257 (char *) "self", NULL
17258 };
17259
17260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
17261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17263 {
17264 PyThreadState* __tstate = wxPyBeginAllowThreads();
17265 result = (arg1)->base_GetDefaultAttributes();
17266
17267 wxPyEndAllowThreads(__tstate);
17268 if (PyErr_Occurred()) SWIG_fail;
17269 }
17270 {
17271 wxVisualAttributes * resultptr;
17272 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
17273 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
17274 }
17275 return resultobj;
17276 fail:
17277 return NULL;
17278}
17279
17280
c32bde28 17281static PyObject * PyPanel_swigregister(PyObject *, PyObject *args) {
1cb4a8aa
RD
17282 PyObject *obj;
17283 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17284 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
17285 Py_INCREF(obj);
17286 return Py_BuildValue((char *)"");
17287}
c32bde28 17288static PyObject *_wrap_new_PyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 17289 PyObject *resultobj;
1cb4a8aa 17290 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 17291 int arg2 = (int) (int)-1 ;
1cb4a8aa
RD
17292 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17293 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17294 wxSize const &arg4_defvalue = wxDefaultSize ;
17295 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17296 long arg5 = (long) 0 ;
17297 wxString const &arg6_defvalue = wxPyPanelNameStr ;
17298 wxString *arg6 = (wxString *) &arg6_defvalue ;
17299 wxPyScrolledWindow *result;
17300 wxPoint temp3 ;
17301 wxSize temp4 ;
17302 bool temp6 = False ;
d14a1e28 17303 PyObject * obj0 = 0 ;
1cb4a8aa
RD
17304 PyObject * obj1 = 0 ;
17305 PyObject * obj2 = 0 ;
17306 PyObject * obj3 = 0 ;
17307 PyObject * obj4 = 0 ;
17308 PyObject * obj5 = 0 ;
d14a1e28 17309 char *kwnames[] = {
1cb4a8aa 17310 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
d14a1e28
RD
17311 };
17312
248ed943 17313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1cb4a8aa 17314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15afbcd0 17315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 17316 if (obj1) {
c32bde28 17317 arg2 = (int)SWIG_As_int(obj1);
248ed943
RD
17318 if (PyErr_Occurred()) SWIG_fail;
17319 }
1cb4a8aa
RD
17320 if (obj2) {
17321 {
17322 arg3 = &temp3;
17323 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17324 }
17325 }
17326 if (obj3) {
17327 {
17328 arg4 = &temp4;
17329 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17330 }
17331 }
17332 if (obj4) {
c32bde28 17333 arg5 = (long)SWIG_As_long(obj4);
1cb4a8aa
RD
17334 if (PyErr_Occurred()) SWIG_fail;
17335 }
17336 if (obj5) {
17337 {
17338 arg6 = wxString_in_helper(obj5);
17339 if (arg6 == NULL) SWIG_fail;
17340 temp6 = True;
17341 }
17342 }
17343 {
e3b71cb8 17344 if (!wxPyCheckForApp()) SWIG_fail;
1cb4a8aa
RD
17345 PyThreadState* __tstate = wxPyBeginAllowThreads();
17346 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17347
17348 wxPyEndAllowThreads(__tstate);
110da5b0 17349 if (PyErr_Occurred()) SWIG_fail;
1cb4a8aa
RD
17350 }
17351 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
17352 {
17353 if (temp6)
17354 delete arg6;
17355 }
17356 return resultobj;
17357 fail:
17358 {
17359 if (temp6)
17360 delete arg6;
17361 }
17362 return NULL;
17363}
17364
17365
c32bde28 17366static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
17367 PyObject *resultobj;
17368 wxPyScrolledWindow *result;
17369 char *kwnames[] = {
17370 NULL
17371 };
17372
17373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail;
17374 {
e3b71cb8 17375 if (!wxPyCheckForApp()) SWIG_fail;
1cb4a8aa
RD
17376 PyThreadState* __tstate = wxPyBeginAllowThreads();
17377 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
17378
17379 wxPyEndAllowThreads(__tstate);
110da5b0 17380 if (PyErr_Occurred()) SWIG_fail;
1cb4a8aa
RD
17381 }
17382 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
17383 return resultobj;
17384 fail:
17385 return NULL;
17386}
17387
17388
c32bde28 17389static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
17390 PyObject *resultobj;
17391 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17392 PyObject *arg2 = (PyObject *) 0 ;
17393 PyObject *arg3 = (PyObject *) 0 ;
17394 PyObject * obj0 = 0 ;
17395 PyObject * obj1 = 0 ;
17396 PyObject * obj2 = 0 ;
17397 char *kwnames[] = {
17398 (char *) "self",(char *) "self",(char *) "_class", NULL
17399 };
17400
17401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17404 arg2 = obj1;
17405 arg3 = obj2;
17406 {
17407 PyThreadState* __tstate = wxPyBeginAllowThreads();
17408 (arg1)->_setCallbackInfo(arg2,arg3);
17409
17410 wxPyEndAllowThreads(__tstate);
17411 if (PyErr_Occurred()) SWIG_fail;
17412 }
17413 Py_INCREF(Py_None); resultobj = Py_None;
17414 return resultobj;
17415 fail:
17416 return NULL;
17417}
17418
17419
c32bde28 17420static PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
db3e571a
RD
17421 PyObject *resultobj;
17422 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17423 wxSize *arg2 = 0 ;
17424 wxSize temp2 ;
17425 PyObject * obj0 = 0 ;
17426 PyObject * obj1 = 0 ;
17427 char *kwnames[] = {
17428 (char *) "self",(char *) "size", NULL
17429 };
17430
17431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
17432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17434 {
17435 arg2 = &temp2;
17436 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17437 }
17438 {
17439 PyThreadState* __tstate = wxPyBeginAllowThreads();
17440 (arg1)->SetBestSize((wxSize const &)*arg2);
17441
17442 wxPyEndAllowThreads(__tstate);
17443 if (PyErr_Occurred()) SWIG_fail;
17444 }
17445 Py_INCREF(Py_None); resultobj = Py_None;
17446 return resultobj;
17447 fail:
17448 return NULL;
17449}
17450
17451
c32bde28 17452static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
17453 PyObject *resultobj;
17454 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17455 int arg2 ;
17456 int arg3 ;
17457 int arg4 ;
17458 int arg5 ;
17459 PyObject * obj0 = 0 ;
17460 PyObject * obj1 = 0 ;
17461 PyObject * obj2 = 0 ;
17462 PyObject * obj3 = 0 ;
17463 PyObject * obj4 = 0 ;
17464 char *kwnames[] = {
17465 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17466 };
17467
17468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
17469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 17471 arg2 = (int)SWIG_As_int(obj1);
1cb4a8aa 17472 if (PyErr_Occurred()) SWIG_fail;
c32bde28 17473 arg3 = (int)SWIG_As_int(obj2);
1cb4a8aa 17474 if (PyErr_Occurred()) SWIG_fail;
c32bde28 17475 arg4 = (int)SWIG_As_int(obj3);
1cb4a8aa 17476 if (PyErr_Occurred()) SWIG_fail;
c32bde28 17477 arg5 = (int)SWIG_As_int(obj4);
1cb4a8aa
RD
17478 if (PyErr_Occurred()) SWIG_fail;
17479 {
17480 PyThreadState* __tstate = wxPyBeginAllowThreads();
17481 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
17482
17483 wxPyEndAllowThreads(__tstate);
17484 if (PyErr_Occurred()) SWIG_fail;
17485 }
17486 Py_INCREF(Py_None); resultobj = Py_None;
17487 return resultobj;
17488 fail:
17489 return NULL;
17490}
17491
17492
c32bde28 17493static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
17494 PyObject *resultobj;
17495 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17496 int arg2 ;
17497 int arg3 ;
17498 int arg4 ;
17499 int arg5 ;
17500 int arg6 = (int) wxSIZE_AUTO ;
17501 PyObject * obj0 = 0 ;
17502 PyObject * obj1 = 0 ;
17503 PyObject * obj2 = 0 ;
17504 PyObject * obj3 = 0 ;
17505 PyObject * obj4 = 0 ;
17506 PyObject * obj5 = 0 ;
17507 char *kwnames[] = {
17508 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17509 };
17510
17511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 17514 arg2 = (int)SWIG_As_int(obj1);
1cb4a8aa 17515 if (PyErr_Occurred()) SWIG_fail;
c32bde28 17516 arg3 = (int)SWIG_As_int(obj2);
1cb4a8aa 17517 if (PyErr_Occurred()) SWIG_fail;
c32bde28 17518 arg4 = (int)SWIG_As_int(obj3);
1cb4a8aa 17519 if (PyErr_Occurred()) SWIG_fail;
c32bde28 17520 arg5 = (int)SWIG_As_int(obj4);
1cb4a8aa
RD
17521 if (PyErr_Occurred()) SWIG_fail;
17522 if (obj5) {
c32bde28 17523 arg6 = (int)SWIG_As_int(obj5);
1cb4a8aa
RD
17524 if (PyErr_Occurred()) SWIG_fail;
17525 }
17526 {
17527 PyThreadState* __tstate = wxPyBeginAllowThreads();
17528 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
17529
17530 wxPyEndAllowThreads(__tstate);
17531 if (PyErr_Occurred()) SWIG_fail;
17532 }
17533 Py_INCREF(Py_None); resultobj = Py_None;
17534 return resultobj;
17535 fail:
17536 return NULL;
17537}
17538
17539
c32bde28 17540static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
17541 PyObject *resultobj;
17542 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17543 int arg2 ;
17544 int arg3 ;
17545 PyObject * obj0 = 0 ;
17546 PyObject * obj1 = 0 ;
17547 PyObject * obj2 = 0 ;
17548 char *kwnames[] = {
17549 (char *) "self",(char *) "width",(char *) "height", NULL
17550 };
17551
17552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 17555 arg2 = (int)SWIG_As_int(obj1);
1cb4a8aa 17556 if (PyErr_Occurred()) SWIG_fail;
c32bde28 17557 arg3 = (int)SWIG_As_int(obj2);
1cb4a8aa
RD
17558 if (PyErr_Occurred()) SWIG_fail;
17559 {
17560 PyThreadState* __tstate = wxPyBeginAllowThreads();
17561 (arg1)->base_DoSetClientSize(arg2,arg3);
17562
17563 wxPyEndAllowThreads(__tstate);
17564 if (PyErr_Occurred()) SWIG_fail;
17565 }
17566 Py_INCREF(Py_None); resultobj = Py_None;
17567 return resultobj;
17568 fail:
17569 return NULL;
17570}
17571
17572
c32bde28 17573static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
17574 PyObject *resultobj;
17575 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17576 int arg2 ;
17577 int arg3 ;
17578 PyObject * obj0 = 0 ;
17579 PyObject * obj1 = 0 ;
17580 PyObject * obj2 = 0 ;
17581 char *kwnames[] = {
17582 (char *) "self",(char *) "x",(char *) "y", NULL
17583 };
17584
17585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 17588 arg2 = (int)SWIG_As_int(obj1);
1cb4a8aa 17589 if (PyErr_Occurred()) SWIG_fail;
c32bde28 17590 arg3 = (int)SWIG_As_int(obj2);
1cb4a8aa
RD
17591 if (PyErr_Occurred()) SWIG_fail;
17592 {
17593 PyThreadState* __tstate = wxPyBeginAllowThreads();
17594 (arg1)->base_DoSetVirtualSize(arg2,arg3);
17595
17596 wxPyEndAllowThreads(__tstate);
17597 if (PyErr_Occurred()) SWIG_fail;
17598 }
17599 Py_INCREF(Py_None); resultobj = Py_None;
17600 return resultobj;
17601 fail:
17602 return NULL;
17603}
17604
17605
c32bde28 17606static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
17607 PyObject *resultobj;
17608 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17609 int *arg2 = (int *) 0 ;
17610 int *arg3 = (int *) 0 ;
17611 int temp2 ;
c32bde28 17612 int res2 = 0 ;
1cb4a8aa 17613 int temp3 ;
c32bde28 17614 int res3 = 0 ;
1cb4a8aa
RD
17615 PyObject * obj0 = 0 ;
17616 char *kwnames[] = {
17617 (char *) "self", NULL
17618 };
17619
c32bde28
RD
17620 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17621 arg3 = &temp3; res3 = SWIG_NEWOBJ;
1cb4a8aa
RD
17622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
17623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17625 {
17626 PyThreadState* __tstate = wxPyBeginAllowThreads();
17627 ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3);
17628
17629 wxPyEndAllowThreads(__tstate);
17630 if (PyErr_Occurred()) SWIG_fail;
17631 }
17632 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
17633 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17634 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17635 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17636 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
1cb4a8aa
RD
17637 return resultobj;
17638 fail:
17639 return NULL;
17640}
17641
17642
c32bde28 17643static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
17644 PyObject *resultobj;
17645 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17646 int *arg2 = (int *) 0 ;
17647 int *arg3 = (int *) 0 ;
17648 int temp2 ;
c32bde28 17649 int res2 = 0 ;
1cb4a8aa 17650 int temp3 ;
c32bde28 17651 int res3 = 0 ;
1cb4a8aa
RD
17652 PyObject * obj0 = 0 ;
17653 char *kwnames[] = {
17654 (char *) "self", NULL
17655 };
17656
c32bde28
RD
17657 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17658 arg3 = &temp3; res3 = SWIG_NEWOBJ;
1cb4a8aa
RD
17659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
17660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17662 {
17663 PyThreadState* __tstate = wxPyBeginAllowThreads();
17664 ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
17665
17666 wxPyEndAllowThreads(__tstate);
17667 if (PyErr_Occurred()) SWIG_fail;
17668 }
17669 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
17670 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17671 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17672 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17673 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
1cb4a8aa
RD
17674 return resultobj;
17675 fail:
17676 return NULL;
17677}
17678
17679
c32bde28 17680static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
17681 PyObject *resultobj;
17682 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17683 int *arg2 = (int *) 0 ;
17684 int *arg3 = (int *) 0 ;
17685 int temp2 ;
c32bde28 17686 int res2 = 0 ;
1cb4a8aa 17687 int temp3 ;
c32bde28 17688 int res3 = 0 ;
1cb4a8aa
RD
17689 PyObject * obj0 = 0 ;
17690 char *kwnames[] = {
17691 (char *) "self", NULL
17692 };
17693
c32bde28
RD
17694 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17695 arg3 = &temp3; res3 = SWIG_NEWOBJ;
1cb4a8aa
RD
17696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
17697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17699 {
17700 PyThreadState* __tstate = wxPyBeginAllowThreads();
17701 ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
17702
17703 wxPyEndAllowThreads(__tstate);
17704 if (PyErr_Occurred()) SWIG_fail;
17705 }
17706 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
17707 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17708 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17709 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17710 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
1cb4a8aa
RD
17711 return resultobj;
17712 fail:
17713 return NULL;
17714}
17715
17716
c32bde28 17717static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
17718 PyObject *resultobj;
17719 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17720 wxSize result;
17721 PyObject * obj0 = 0 ;
17722 char *kwnames[] = {
17723 (char *) "self", NULL
17724 };
17725
17726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
17727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17729 {
17730 PyThreadState* __tstate = wxPyBeginAllowThreads();
17731 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize();
17732
17733 wxPyEndAllowThreads(__tstate);
17734 if (PyErr_Occurred()) SWIG_fail;
17735 }
17736 {
17737 wxSize * resultptr;
17738 resultptr = new wxSize((wxSize &) result);
17739 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17740 }
17741 return resultobj;
17742 fail:
17743 return NULL;
17744}
17745
17746
c32bde28 17747static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
17748 PyObject *resultobj;
17749 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17750 wxSize result;
17751 PyObject * obj0 = 0 ;
17752 char *kwnames[] = {
17753 (char *) "self", NULL
17754 };
17755
17756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
17757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17759 {
17760 PyThreadState* __tstate = wxPyBeginAllowThreads();
17761 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize();
17762
17763 wxPyEndAllowThreads(__tstate);
17764 if (PyErr_Occurred()) SWIG_fail;
17765 }
17766 {
17767 wxSize * resultptr;
17768 resultptr = new wxSize((wxSize &) result);
17769 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17770 }
17771 return resultobj;
17772 fail:
17773 return NULL;
17774}
17775
17776
c32bde28 17777static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
17778 PyObject *resultobj;
17779 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17780 PyObject * obj0 = 0 ;
17781 char *kwnames[] = {
17782 (char *) "self", NULL
17783 };
17784
17785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail;
17786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17788 {
17789 PyThreadState* __tstate = wxPyBeginAllowThreads();
17790 (arg1)->base_InitDialog();
17791
17792 wxPyEndAllowThreads(__tstate);
17793 if (PyErr_Occurred()) SWIG_fail;
17794 }
17795 Py_INCREF(Py_None); resultobj = Py_None;
17796 return resultobj;
17797 fail:
17798 return NULL;
17799}
17800
17801
c32bde28 17802static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
17803 PyObject *resultobj;
17804 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17805 bool result;
17806 PyObject * obj0 = 0 ;
17807 char *kwnames[] = {
17808 (char *) "self", NULL
17809 };
17810
17811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
17812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17814 {
17815 PyThreadState* __tstate = wxPyBeginAllowThreads();
17816 result = (bool)(arg1)->base_TransferDataToWindow();
17817
17818 wxPyEndAllowThreads(__tstate);
17819 if (PyErr_Occurred()) SWIG_fail;
17820 }
17821 {
17822 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17823 }
17824 return resultobj;
17825 fail:
17826 return NULL;
17827}
17828
17829
c32bde28 17830static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
17831 PyObject *resultobj;
17832 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17833 bool result;
17834 PyObject * obj0 = 0 ;
17835 char *kwnames[] = {
17836 (char *) "self", NULL
17837 };
17838
17839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
17840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17842 {
17843 PyThreadState* __tstate = wxPyBeginAllowThreads();
17844 result = (bool)(arg1)->base_TransferDataFromWindow();
17845
17846 wxPyEndAllowThreads(__tstate);
17847 if (PyErr_Occurred()) SWIG_fail;
17848 }
17849 {
17850 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17851 }
17852 return resultobj;
17853 fail:
17854 return NULL;
17855}
17856
17857
c32bde28 17858static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
17859 PyObject *resultobj;
17860 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17861 bool result;
17862 PyObject * obj0 = 0 ;
17863 char *kwnames[] = {
17864 (char *) "self", NULL
17865 };
17866
17867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail;
17868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17870 {
17871 PyThreadState* __tstate = wxPyBeginAllowThreads();
17872 result = (bool)(arg1)->base_Validate();
17873
17874 wxPyEndAllowThreads(__tstate);
17875 if (PyErr_Occurred()) SWIG_fail;
17876 }
17877 {
17878 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17879 }
17880 return resultobj;
17881 fail:
17882 return NULL;
17883}
17884
17885
c32bde28 17886static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
17887 PyObject *resultobj;
17888 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17889 bool result;
17890 PyObject * obj0 = 0 ;
17891 char *kwnames[] = {
17892 (char *) "self", NULL
17893 };
17894
17895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
17896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17898 {
17899 PyThreadState* __tstate = wxPyBeginAllowThreads();
17900 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus();
17901
17902 wxPyEndAllowThreads(__tstate);
17903 if (PyErr_Occurred()) SWIG_fail;
17904 }
17905 {
17906 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17907 }
17908 return resultobj;
17909 fail:
17910 return NULL;
17911}
17912
17913
c32bde28 17914static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
17915 PyObject *resultobj;
17916 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17917 bool result;
17918 PyObject * obj0 = 0 ;
17919 char *kwnames[] = {
17920 (char *) "self", NULL
17921 };
17922
17923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
17924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17926 {
17927 PyThreadState* __tstate = wxPyBeginAllowThreads();
17928 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
17929
17930 wxPyEndAllowThreads(__tstate);
17931 if (PyErr_Occurred()) SWIG_fail;
17932 }
17933 {
17934 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17935 }
17936 return resultobj;
17937 fail:
17938 return NULL;
17939}
17940
17941
c32bde28 17942static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
17943 PyObject *resultobj;
17944 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17945 wxSize result;
17946 PyObject * obj0 = 0 ;
17947 char *kwnames[] = {
17948 (char *) "self", NULL
17949 };
17950
17951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
17952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17954 {
17955 PyThreadState* __tstate = wxPyBeginAllowThreads();
17956 result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize();
17957
17958 wxPyEndAllowThreads(__tstate);
17959 if (PyErr_Occurred()) SWIG_fail;
17960 }
17961 {
17962 wxSize * resultptr;
17963 resultptr = new wxSize((wxSize &) result);
17964 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17965 }
17966 return resultobj;
17967 fail:
17968 return NULL;
17969}
17970
17971
c32bde28 17972static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
17973 PyObject *resultobj;
17974 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17975 wxWindow *arg2 = (wxWindow *) 0 ;
17976 PyObject * obj0 = 0 ;
17977 PyObject * obj1 = 0 ;
17978 char *kwnames[] = {
17979 (char *) "self",(char *) "child", NULL
17980 };
17981
17982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
17983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17985 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17987 {
17988 PyThreadState* __tstate = wxPyBeginAllowThreads();
17989 (arg1)->base_AddChild(arg2);
17990
17991 wxPyEndAllowThreads(__tstate);
17992 if (PyErr_Occurred()) SWIG_fail;
17993 }
17994 Py_INCREF(Py_None); resultobj = Py_None;
17995 return resultobj;
17996 fail:
17997 return NULL;
17998}
17999
18000
c32bde28 18001static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
18002 PyObject *resultobj;
18003 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18004 wxWindow *arg2 = (wxWindow *) 0 ;
18005 PyObject * obj0 = 0 ;
18006 PyObject * obj1 = 0 ;
18007 char *kwnames[] = {
18008 (char *) "self",(char *) "child", NULL
18009 };
18010
18011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
18012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18014 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18016 {
18017 PyThreadState* __tstate = wxPyBeginAllowThreads();
18018 (arg1)->base_RemoveChild(arg2);
18019
18020 wxPyEndAllowThreads(__tstate);
18021 if (PyErr_Occurred()) SWIG_fail;
18022 }
18023 Py_INCREF(Py_None); resultobj = Py_None;
18024 return resultobj;
18025 fail:
18026 return NULL;
18027}
18028
18029
c32bde28 18030static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
18031 PyObject *resultobj;
18032 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18033 bool result;
18034 PyObject * obj0 = 0 ;
18035 char *kwnames[] = {
18036 (char *) "self", NULL
18037 };
18038
18039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
18040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18042 {
18043 PyThreadState* __tstate = wxPyBeginAllowThreads();
db3e571a 18044 result = (bool)((wxPyScrolledWindow const *)arg1)->base_ShouldInheritColours();
1cb4a8aa
RD
18045
18046 wxPyEndAllowThreads(__tstate);
18047 if (PyErr_Occurred()) SWIG_fail;
18048 }
18049 {
18050 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18051 }
18052 return resultobj;
18053 fail:
18054 return NULL;
18055}
18056
18057
c32bde28 18058static PyObject *_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
18059 PyObject *resultobj;
18060 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18061 wxColour *arg2 = 0 ;
18062 wxColour temp2 ;
18063 PyObject * obj0 = 0 ;
18064 PyObject * obj1 = 0 ;
18065 char *kwnames[] = {
18066 (char *) "self",(char *) "c", NULL
18067 };
18068
18069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
18070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18072 {
18073 arg2 = &temp2;
18074 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18075 }
18076 {
18077 PyThreadState* __tstate = wxPyBeginAllowThreads();
18078 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
18079
18080 wxPyEndAllowThreads(__tstate);
18081 if (PyErr_Occurred()) SWIG_fail;
18082 }
18083 Py_INCREF(Py_None); resultobj = Py_None;
18084 return resultobj;
18085 fail:
18086 return NULL;
18087}
18088
18089
c32bde28 18090static PyObject *_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
db3e571a
RD
18091 PyObject *resultobj;
18092 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18093 wxVisualAttributes result;
18094 PyObject * obj0 = 0 ;
18095 char *kwnames[] = {
18096 (char *) "self", NULL
18097 };
18098
18099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
18100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18102 {
18103 PyThreadState* __tstate = wxPyBeginAllowThreads();
18104 result = (arg1)->base_GetDefaultAttributes();
18105
18106 wxPyEndAllowThreads(__tstate);
18107 if (PyErr_Occurred()) SWIG_fail;
18108 }
18109 {
18110 wxVisualAttributes * resultptr;
18111 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
18112 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
18113 }
18114 return resultobj;
18115 fail:
18116 return NULL;
18117}
18118
18119
c32bde28 18120static PyObject * PyScrolledWindow_swigregister(PyObject *, PyObject *args) {
1cb4a8aa
RD
18121 PyObject *obj;
18122 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18123 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj);
18124 Py_INCREF(obj);
18125 return Py_BuildValue((char *)"");
18126}
c32bde28 18127static int _wrap_PrintoutTitleStr_set(PyObject *) {
1cb4a8aa
RD
18128 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
18129 return 1;
18130}
18131
18132
18133static PyObject *_wrap_PrintoutTitleStr_get() {
18134 PyObject *pyobj;
18135
18136 {
18137#if wxUSE_UNICODE
18138 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
18139#else
18140 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
18141#endif
18142 }
18143 return pyobj;
18144}
18145
18146
c32bde28 18147static int _wrap_PreviewCanvasNameStr_set(PyObject *) {
1cb4a8aa
RD
18148 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
18149 return 1;
18150}
18151
18152
18153static PyObject *_wrap_PreviewCanvasNameStr_get() {
18154 PyObject *pyobj;
18155
18156 {
18157#if wxUSE_UNICODE
18158 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
18159#else
18160 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
18161#endif
18162 }
18163 return pyobj;
18164}
18165
18166
c32bde28 18167static PyObject *_wrap_new_PrintData__SWIG_0(PyObject *, PyObject *args) {
1cb4a8aa
RD
18168 PyObject *resultobj;
18169 wxPrintData *result;
1cb4a8aa 18170
11207aef 18171 if(!PyArg_ParseTuple(args,(char *)":new_PrintData")) goto fail;
1cb4a8aa
RD
18172 {
18173 PyThreadState* __tstate = wxPyBeginAllowThreads();
18174 result = (wxPrintData *)new wxPrintData();
18175
18176 wxPyEndAllowThreads(__tstate);
18177 if (PyErr_Occurred()) SWIG_fail;
18178 }
18179 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
18180 return resultobj;
18181 fail:
18182 return NULL;
18183}
18184
18185
c32bde28 18186static PyObject *_wrap_new_PrintData__SWIG_1(PyObject *, PyObject *args) {
11207aef
RD
18187 PyObject *resultobj;
18188 wxPrintData *arg1 = 0 ;
18189 wxPrintData *result;
18190 PyObject * obj0 = 0 ;
18191
18192 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintData",&obj0)) goto fail;
18193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18194 SWIG_POINTER_EXCEPTION | 0)) == -1)
18195 SWIG_fail;
18196 if (arg1 == NULL) {
18197 PyErr_SetString(PyExc_TypeError,"null reference");
18198 SWIG_fail;
18199 }
18200 {
18201 PyThreadState* __tstate = wxPyBeginAllowThreads();
18202 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
18203
18204 wxPyEndAllowThreads(__tstate);
18205 if (PyErr_Occurred()) SWIG_fail;
18206 }
18207 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
18208 return resultobj;
18209 fail:
18210 return NULL;
18211}
18212
18213
18214static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
18215 int argc;
18216 PyObject *argv[2];
18217 int ii;
18218
18219 argc = PyObject_Length(args);
18220 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
18221 argv[ii] = PyTuple_GetItem(args,ii);
18222 }
18223 if (argc == 0) {
18224 return _wrap_new_PrintData__SWIG_0(self,args);
18225 }
18226 if (argc == 1) {
18227 int _v;
18228 {
18229 void *ptr;
18230 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
18231 _v = 0;
18232 PyErr_Clear();
18233 } else {
18234 _v = 1;
18235 }
18236 }
18237 if (_v) {
18238 return _wrap_new_PrintData__SWIG_1(self,args);
18239 }
18240 }
18241
18242 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintData'");
18243 return NULL;
18244}
18245
18246
c32bde28 18247static PyObject *_wrap_delete_PrintData(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
18248 PyObject *resultobj;
18249 wxPrintData *arg1 = (wxPrintData *) 0 ;
18250 PyObject * obj0 = 0 ;
18251 char *kwnames[] = {
18252 (char *) "self", NULL
18253 };
18254
18255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
18256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18258 {
18259 PyThreadState* __tstate = wxPyBeginAllowThreads();
18260 delete arg1;
18261
18262 wxPyEndAllowThreads(__tstate);
18263 if (PyErr_Occurred()) SWIG_fail;
18264 }
18265 Py_INCREF(Py_None); resultobj = Py_None;
18266 return resultobj;
18267 fail:
18268 return NULL;
18269}
18270
18271
c32bde28 18272static PyObject *_wrap_PrintData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
18273 PyObject *resultobj;
18274 wxPrintData *arg1 = (wxPrintData *) 0 ;
18275 int result;
18276 PyObject * obj0 = 0 ;
18277 char *kwnames[] = {
18278 (char *) "self", NULL
18279 };
18280
18281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
18282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18284 {
18285 PyThreadState* __tstate = wxPyBeginAllowThreads();
18286 result = (int)(arg1)->GetNoCopies();
18287
18288 wxPyEndAllowThreads(__tstate);
18289 if (PyErr_Occurred()) SWIG_fail;
18290 }
c32bde28 18291 resultobj = SWIG_From_int((int)result);
1cb4a8aa
RD
18292 return resultobj;
18293 fail:
d14a1e28
RD
18294 return NULL;
18295}
18296
18297
c32bde28 18298static PyObject *_wrap_PrintData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18299 PyObject *resultobj;
18300 wxPrintData *arg1 = (wxPrintData *) 0 ;
18301 bool result;
18302 PyObject * obj0 = 0 ;
18303 char *kwnames[] = {
18304 (char *) "self", NULL
18305 };
18306
18307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
15afbcd0
RD
18308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18310 {
18311 PyThreadState* __tstate = wxPyBeginAllowThreads();
18312 result = (bool)(arg1)->GetCollate();
18313
18314 wxPyEndAllowThreads(__tstate);
18315 if (PyErr_Occurred()) SWIG_fail;
18316 }
4f89f6a3
RD
18317 {
18318 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18319 }
d14a1e28
RD
18320 return resultobj;
18321 fail:
18322 return NULL;
18323}
18324
18325
c32bde28 18326static PyObject *_wrap_PrintData_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18327 PyObject *resultobj;
18328 wxPrintData *arg1 = (wxPrintData *) 0 ;
18329 int result;
18330 PyObject * obj0 = 0 ;
18331 char *kwnames[] = {
18332 (char *) "self", NULL
18333 };
18334
18335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
15afbcd0
RD
18336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18338 {
18339 PyThreadState* __tstate = wxPyBeginAllowThreads();
18340 result = (int)(arg1)->GetOrientation();
18341
18342 wxPyEndAllowThreads(__tstate);
18343 if (PyErr_Occurred()) SWIG_fail;
18344 }
c32bde28 18345 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
18346 return resultobj;
18347 fail:
18348 return NULL;
18349}
18350
18351
c32bde28 18352static PyObject *_wrap_PrintData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18353 PyObject *resultobj;
18354 wxPrintData *arg1 = (wxPrintData *) 0 ;
18355 bool result;
18356 PyObject * obj0 = 0 ;
18357 char *kwnames[] = {
18358 (char *) "self", NULL
18359 };
18360
18361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
15afbcd0
RD
18362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18364 {
18365 PyThreadState* __tstate = wxPyBeginAllowThreads();
18366 result = (bool)(arg1)->Ok();
18367
18368 wxPyEndAllowThreads(__tstate);
18369 if (PyErr_Occurred()) SWIG_fail;
18370 }
4f89f6a3
RD
18371 {
18372 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18373 }
d14a1e28
RD
18374 return resultobj;
18375 fail:
18376 return NULL;
18377}
18378
18379
c32bde28 18380static PyObject *_wrap_PrintData_GetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18381 PyObject *resultobj;
18382 wxPrintData *arg1 = (wxPrintData *) 0 ;
18383 wxString *result;
18384 PyObject * obj0 = 0 ;
18385 char *kwnames[] = {
18386 (char *) "self", NULL
18387 };
18388
18389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
15afbcd0
RD
18390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18392 {
18393 PyThreadState* __tstate = wxPyBeginAllowThreads();
18394 {
18395 wxString const &_result_ref = (arg1)->GetPrinterName();
18396 result = (wxString *) &_result_ref;
18397 }
18398
18399 wxPyEndAllowThreads(__tstate);
18400 if (PyErr_Occurred()) SWIG_fail;
18401 }
cc6dd355
RD
18402 {
18403#if wxUSE_UNICODE
18404 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18405#else
18406 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18407#endif
18408 }
d14a1e28
RD
18409 return resultobj;
18410 fail:
18411 return NULL;
18412}
18413
18414
c32bde28 18415static PyObject *_wrap_PrintData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18416 PyObject *resultobj;
18417 wxPrintData *arg1 = (wxPrintData *) 0 ;
18418 bool result;
18419 PyObject * obj0 = 0 ;
18420 char *kwnames[] = {
18421 (char *) "self", NULL
18422 };
18423
18424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
18425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18427 {
18428 PyThreadState* __tstate = wxPyBeginAllowThreads();
18429 result = (bool)(arg1)->GetColour();
18430
18431 wxPyEndAllowThreads(__tstate);
18432 if (PyErr_Occurred()) SWIG_fail;
18433 }
4f89f6a3
RD
18434 {
18435 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18436 }
d14a1e28
RD
18437 return resultobj;
18438 fail:
18439 return NULL;
18440}
18441
18442
c32bde28 18443static PyObject *_wrap_PrintData_GetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18444 PyObject *resultobj;
18445 wxPrintData *arg1 = (wxPrintData *) 0 ;
18446 int result;
18447 PyObject * obj0 = 0 ;
18448 char *kwnames[] = {
18449 (char *) "self", NULL
18450 };
18451
18452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
15afbcd0
RD
18453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18455 {
18456 PyThreadState* __tstate = wxPyBeginAllowThreads();
18457 result = (int)(arg1)->GetDuplex();
18458
18459 wxPyEndAllowThreads(__tstate);
18460 if (PyErr_Occurred()) SWIG_fail;
18461 }
c32bde28 18462 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
18463 return resultobj;
18464 fail:
18465 return NULL;
18466}
18467
18468
c32bde28 18469static PyObject *_wrap_PrintData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18470 PyObject *resultobj;
18471 wxPrintData *arg1 = (wxPrintData *) 0 ;
18472 int result;
18473 PyObject * obj0 = 0 ;
18474 char *kwnames[] = {
18475 (char *) "self", NULL
18476 };
18477
18478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
15afbcd0
RD
18479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18481 {
18482 PyThreadState* __tstate = wxPyBeginAllowThreads();
18483 result = (int)(arg1)->GetPaperId();
18484
18485 wxPyEndAllowThreads(__tstate);
18486 if (PyErr_Occurred()) SWIG_fail;
18487 }
c32bde28 18488 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
18489 return resultobj;
18490 fail:
18491 return NULL;
18492}
18493
18494
c32bde28 18495static PyObject *_wrap_PrintData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18496 PyObject *resultobj;
18497 wxPrintData *arg1 = (wxPrintData *) 0 ;
18498 wxSize *result;
18499 PyObject * obj0 = 0 ;
18500 char *kwnames[] = {
18501 (char *) "self", NULL
18502 };
18503
18504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
18505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18507 {
18508 PyThreadState* __tstate = wxPyBeginAllowThreads();
18509 {
18510 wxSize const &_result_ref = (arg1)->GetPaperSize();
18511 result = (wxSize *) &_result_ref;
18512 }
18513
18514 wxPyEndAllowThreads(__tstate);
18515 if (PyErr_Occurred()) SWIG_fail;
18516 }
15afbcd0 18517 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
d14a1e28
RD
18518 return resultobj;
18519 fail:
18520 return NULL;
18521}
18522
18523
c32bde28 18524static PyObject *_wrap_PrintData_GetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18525 PyObject *resultobj;
18526 wxPrintData *arg1 = (wxPrintData *) 0 ;
b2dc1044 18527 int result;
d14a1e28
RD
18528 PyObject * obj0 = 0 ;
18529 char *kwnames[] = {
18530 (char *) "self", NULL
18531 };
18532
18533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
15afbcd0
RD
18534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18536 {
18537 PyThreadState* __tstate = wxPyBeginAllowThreads();
b2dc1044 18538 result = (int)(arg1)->GetQuality();
d14a1e28
RD
18539
18540 wxPyEndAllowThreads(__tstate);
18541 if (PyErr_Occurred()) SWIG_fail;
18542 }
c32bde28 18543 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
18544 return resultobj;
18545 fail:
18546 return NULL;
18547}
18548
18549
c32bde28 18550static PyObject *_wrap_PrintData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18551 PyObject *resultobj;
18552 wxPrintData *arg1 = (wxPrintData *) 0 ;
18553 int arg2 ;
18554 PyObject * obj0 = 0 ;
994141e6 18555 PyObject * obj1 = 0 ;
d14a1e28
RD
18556 char *kwnames[] = {
18557 (char *) "self",(char *) "v", NULL
18558 };
18559
994141e6 18560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18563 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 18564 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18565 {
18566 PyThreadState* __tstate = wxPyBeginAllowThreads();
18567 (arg1)->SetNoCopies(arg2);
18568
18569 wxPyEndAllowThreads(__tstate);
18570 if (PyErr_Occurred()) SWIG_fail;
18571 }
18572 Py_INCREF(Py_None); resultobj = Py_None;
18573 return resultobj;
18574 fail:
18575 return NULL;
18576}
18577
18578
c32bde28 18579static PyObject *_wrap_PrintData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18580 PyObject *resultobj;
18581 wxPrintData *arg1 = (wxPrintData *) 0 ;
18582 bool arg2 ;
18583 PyObject * obj0 = 0 ;
18584 PyObject * obj1 = 0 ;
18585 char *kwnames[] = {
18586 (char *) "self",(char *) "flag", NULL
18587 };
18588
18589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18592 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 18593 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18594 {
18595 PyThreadState* __tstate = wxPyBeginAllowThreads();
18596 (arg1)->SetCollate(arg2);
18597
18598 wxPyEndAllowThreads(__tstate);
18599 if (PyErr_Occurred()) SWIG_fail;
18600 }
18601 Py_INCREF(Py_None); resultobj = Py_None;
18602 return resultobj;
18603 fail:
18604 return NULL;
18605}
18606
18607
c32bde28 18608static PyObject *_wrap_PrintData_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18609 PyObject *resultobj;
18610 wxPrintData *arg1 = (wxPrintData *) 0 ;
18611 int arg2 ;
18612 PyObject * obj0 = 0 ;
994141e6 18613 PyObject * obj1 = 0 ;
d14a1e28
RD
18614 char *kwnames[] = {
18615 (char *) "self",(char *) "orient", NULL
18616 };
18617
994141e6 18618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18621 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 18622 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18623 {
18624 PyThreadState* __tstate = wxPyBeginAllowThreads();
18625 (arg1)->SetOrientation(arg2);
18626
18627 wxPyEndAllowThreads(__tstate);
18628 if (PyErr_Occurred()) SWIG_fail;
18629 }
18630 Py_INCREF(Py_None); resultobj = Py_None;
18631 return resultobj;
18632 fail:
18633 return NULL;
18634}
18635
18636
c32bde28 18637static PyObject *_wrap_PrintData_SetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18638 PyObject *resultobj;
18639 wxPrintData *arg1 = (wxPrintData *) 0 ;
18640 wxString *arg2 = 0 ;
e811c8ce 18641 bool temp2 = False ;
d14a1e28
RD
18642 PyObject * obj0 = 0 ;
18643 PyObject * obj1 = 0 ;
18644 char *kwnames[] = {
18645 (char *) "self",(char *) "name", NULL
18646 };
18647
18648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18651 {
18652 arg2 = wxString_in_helper(obj1);
18653 if (arg2 == NULL) SWIG_fail;
e811c8ce 18654 temp2 = True;
d14a1e28
RD
18655 }
18656 {
18657 PyThreadState* __tstate = wxPyBeginAllowThreads();
18658 (arg1)->SetPrinterName((wxString const &)*arg2);
18659
18660 wxPyEndAllowThreads(__tstate);
18661 if (PyErr_Occurred()) SWIG_fail;
18662 }
18663 Py_INCREF(Py_None); resultobj = Py_None;
18664 {
18665 if (temp2)
18666 delete arg2;
18667 }
18668 return resultobj;
18669 fail:
18670 {
18671 if (temp2)
18672 delete arg2;
18673 }
18674 return NULL;
18675}
18676
18677
c32bde28 18678static PyObject *_wrap_PrintData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18679 PyObject *resultobj;
18680 wxPrintData *arg1 = (wxPrintData *) 0 ;
18681 bool arg2 ;
18682 PyObject * obj0 = 0 ;
18683 PyObject * obj1 = 0 ;
18684 char *kwnames[] = {
18685 (char *) "self",(char *) "colour", NULL
18686 };
18687
18688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18691 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 18692 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18693 {
18694 PyThreadState* __tstate = wxPyBeginAllowThreads();
18695 (arg1)->SetColour(arg2);
18696
18697 wxPyEndAllowThreads(__tstate);
18698 if (PyErr_Occurred()) SWIG_fail;
18699 }
18700 Py_INCREF(Py_None); resultobj = Py_None;
18701 return resultobj;
18702 fail:
18703 return NULL;
18704}
18705
18706
c32bde28 18707static PyObject *_wrap_PrintData_SetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18708 PyObject *resultobj;
18709 wxPrintData *arg1 = (wxPrintData *) 0 ;
18710 int arg2 ;
18711 PyObject * obj0 = 0 ;
994141e6 18712 PyObject * obj1 = 0 ;
d14a1e28
RD
18713 char *kwnames[] = {
18714 (char *) "self",(char *) "duplex", NULL
18715 };
18716
994141e6 18717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18720 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 18721 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18722 {
18723 PyThreadState* __tstate = wxPyBeginAllowThreads();
18724 (arg1)->SetDuplex((wxDuplexMode )arg2);
18725
18726 wxPyEndAllowThreads(__tstate);
18727 if (PyErr_Occurred()) SWIG_fail;
18728 }
18729 Py_INCREF(Py_None); resultobj = Py_None;
18730 return resultobj;
18731 fail:
18732 return NULL;
18733}
18734
18735
c32bde28 18736static PyObject *_wrap_PrintData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18737 PyObject *resultobj;
18738 wxPrintData *arg1 = (wxPrintData *) 0 ;
18739 int arg2 ;
18740 PyObject * obj0 = 0 ;
994141e6 18741 PyObject * obj1 = 0 ;
d14a1e28
RD
18742 char *kwnames[] = {
18743 (char *) "self",(char *) "sizeId", NULL
18744 };
18745
994141e6 18746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18749 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 18750 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18751 {
18752 PyThreadState* __tstate = wxPyBeginAllowThreads();
18753 (arg1)->SetPaperId((wxPaperSize )arg2);
18754
18755 wxPyEndAllowThreads(__tstate);
18756 if (PyErr_Occurred()) SWIG_fail;
18757 }
18758 Py_INCREF(Py_None); resultobj = Py_None;
18759 return resultobj;
18760 fail:
18761 return NULL;
18762}
18763
18764
c32bde28 18765static PyObject *_wrap_PrintData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18766 PyObject *resultobj;
18767 wxPrintData *arg1 = (wxPrintData *) 0 ;
18768 wxSize *arg2 = 0 ;
18769 wxSize temp2 ;
18770 PyObject * obj0 = 0 ;
18771 PyObject * obj1 = 0 ;
18772 char *kwnames[] = {
18773 (char *) "self",(char *) "sz", NULL
18774 };
18775
18776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18779 {
18780 arg2 = &temp2;
18781 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18782 }
18783 {
18784 PyThreadState* __tstate = wxPyBeginAllowThreads();
18785 (arg1)->SetPaperSize((wxSize const &)*arg2);
18786
18787 wxPyEndAllowThreads(__tstate);
18788 if (PyErr_Occurred()) SWIG_fail;
18789 }
18790 Py_INCREF(Py_None); resultobj = Py_None;
18791 return resultobj;
18792 fail:
18793 return NULL;
18794}
18795
18796
c32bde28 18797static PyObject *_wrap_PrintData_SetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18798 PyObject *resultobj;
18799 wxPrintData *arg1 = (wxPrintData *) 0 ;
b2dc1044 18800 int arg2 ;
d14a1e28 18801 PyObject * obj0 = 0 ;
994141e6 18802 PyObject * obj1 = 0 ;
d14a1e28
RD
18803 char *kwnames[] = {
18804 (char *) "self",(char *) "quality", NULL
18805 };
18806
994141e6 18807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18810 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 18811 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18812 {
18813 PyThreadState* __tstate = wxPyBeginAllowThreads();
18814 (arg1)->SetQuality(arg2);
18815
18816 wxPyEndAllowThreads(__tstate);
18817 if (PyErr_Occurred()) SWIG_fail;
18818 }
18819 Py_INCREF(Py_None); resultobj = Py_None;
18820 return resultobj;
18821 fail:
18822 return NULL;
18823}
18824
18825
c32bde28 18826static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18827 PyObject *resultobj;
18828 wxPrintData *arg1 = (wxPrintData *) 0 ;
18829 wxString *result;
18830 PyObject * obj0 = 0 ;
18831 char *kwnames[] = {
18832 (char *) "self", NULL
18833 };
18834
18835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
15afbcd0
RD
18836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18838 {
18839 PyThreadState* __tstate = wxPyBeginAllowThreads();
18840 {
18841 wxString const &_result_ref = (arg1)->GetPrinterCommand();
18842 result = (wxString *) &_result_ref;
18843 }
18844
18845 wxPyEndAllowThreads(__tstate);
18846 if (PyErr_Occurred()) SWIG_fail;
18847 }
cc6dd355
RD
18848 {
18849#if wxUSE_UNICODE
18850 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18851#else
18852 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18853#endif
18854 }
d14a1e28
RD
18855 return resultobj;
18856 fail:
18857 return NULL;
18858}
18859
18860
c32bde28 18861static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18862 PyObject *resultobj;
18863 wxPrintData *arg1 = (wxPrintData *) 0 ;
18864 wxString *result;
18865 PyObject * obj0 = 0 ;
18866 char *kwnames[] = {
18867 (char *) "self", NULL
18868 };
18869
18870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
15afbcd0
RD
18871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18873 {
18874 PyThreadState* __tstate = wxPyBeginAllowThreads();
18875 {
18876 wxString const &_result_ref = (arg1)->GetPrinterOptions();
18877 result = (wxString *) &_result_ref;
18878 }
18879
18880 wxPyEndAllowThreads(__tstate);
18881 if (PyErr_Occurred()) SWIG_fail;
18882 }
cc6dd355
RD
18883 {
18884#if wxUSE_UNICODE
18885 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18886#else
18887 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18888#endif
18889 }
d14a1e28
RD
18890 return resultobj;
18891 fail:
18892 return NULL;
18893}
18894
18895
c32bde28 18896static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18897 PyObject *resultobj;
18898 wxPrintData *arg1 = (wxPrintData *) 0 ;
18899 wxString *result;
18900 PyObject * obj0 = 0 ;
18901 char *kwnames[] = {
18902 (char *) "self", NULL
18903 };
18904
18905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
15afbcd0
RD
18906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18908 {
18909 PyThreadState* __tstate = wxPyBeginAllowThreads();
18910 {
18911 wxString const &_result_ref = (arg1)->GetPreviewCommand();
18912 result = (wxString *) &_result_ref;
18913 }
18914
18915 wxPyEndAllowThreads(__tstate);
18916 if (PyErr_Occurred()) SWIG_fail;
18917 }
cc6dd355
RD
18918 {
18919#if wxUSE_UNICODE
18920 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18921#else
18922 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18923#endif
18924 }
d14a1e28
RD
18925 return resultobj;
18926 fail:
18927 return NULL;
18928}
18929
18930
c32bde28 18931static PyObject *_wrap_PrintData_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18932 PyObject *resultobj;
18933 wxPrintData *arg1 = (wxPrintData *) 0 ;
18934 wxString *result;
18935 PyObject * obj0 = 0 ;
18936 char *kwnames[] = {
18937 (char *) "self", NULL
18938 };
18939
18940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
15afbcd0
RD
18941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18943 {
18944 PyThreadState* __tstate = wxPyBeginAllowThreads();
18945 {
18946 wxString const &_result_ref = (arg1)->GetFilename();
18947 result = (wxString *) &_result_ref;
18948 }
18949
18950 wxPyEndAllowThreads(__tstate);
18951 if (PyErr_Occurred()) SWIG_fail;
18952 }
cc6dd355
RD
18953 {
18954#if wxUSE_UNICODE
18955 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18956#else
18957 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18958#endif
18959 }
d14a1e28
RD
18960 return resultobj;
18961 fail:
18962 return NULL;
18963}
18964
18965
c32bde28 18966static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18967 PyObject *resultobj;
18968 wxPrintData *arg1 = (wxPrintData *) 0 ;
18969 wxString *result;
18970 PyObject * obj0 = 0 ;
18971 char *kwnames[] = {
18972 (char *) "self", NULL
18973 };
18974
18975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
15afbcd0
RD
18976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18978 {
18979 PyThreadState* __tstate = wxPyBeginAllowThreads();
18980 {
18981 wxString const &_result_ref = (arg1)->GetFontMetricPath();
18982 result = (wxString *) &_result_ref;
18983 }
18984
18985 wxPyEndAllowThreads(__tstate);
18986 if (PyErr_Occurred()) SWIG_fail;
18987 }
cc6dd355
RD
18988 {
18989#if wxUSE_UNICODE
18990 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18991#else
18992 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18993#endif
18994 }
d14a1e28
RD
18995 return resultobj;
18996 fail:
18997 return NULL;
18998}
18999
19000
c32bde28 19001static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19002 PyObject *resultobj;
19003 wxPrintData *arg1 = (wxPrintData *) 0 ;
19004 double result;
19005 PyObject * obj0 = 0 ;
19006 char *kwnames[] = {
19007 (char *) "self", NULL
19008 };
19009
19010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
15afbcd0
RD
19011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19013 {
19014 PyThreadState* __tstate = wxPyBeginAllowThreads();
19015 result = (double)(arg1)->GetPrinterScaleX();
19016
19017 wxPyEndAllowThreads(__tstate);
19018 if (PyErr_Occurred()) SWIG_fail;
19019 }
c32bde28 19020 resultobj = SWIG_From_double((double)result);
d14a1e28
RD
19021 return resultobj;
19022 fail:
19023 return NULL;
19024}
19025
19026
c32bde28 19027static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19028 PyObject *resultobj;
19029 wxPrintData *arg1 = (wxPrintData *) 0 ;
19030 double result;
19031 PyObject * obj0 = 0 ;
19032 char *kwnames[] = {
19033 (char *) "self", NULL
19034 };
19035
19036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
15afbcd0
RD
19037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19039 {
19040 PyThreadState* __tstate = wxPyBeginAllowThreads();
19041 result = (double)(arg1)->GetPrinterScaleY();
19042
19043 wxPyEndAllowThreads(__tstate);
19044 if (PyErr_Occurred()) SWIG_fail;
19045 }
c32bde28 19046 resultobj = SWIG_From_double((double)result);
d14a1e28
RD
19047 return resultobj;
19048 fail:
19049 return NULL;
19050}
19051
19052
c32bde28 19053static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19054 PyObject *resultobj;
19055 wxPrintData *arg1 = (wxPrintData *) 0 ;
19056 long result;
19057 PyObject * obj0 = 0 ;
19058 char *kwnames[] = {
19059 (char *) "self", NULL
19060 };
19061
19062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
15afbcd0
RD
19063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19065 {
19066 PyThreadState* __tstate = wxPyBeginAllowThreads();
19067 result = (long)(arg1)->GetPrinterTranslateX();
19068
19069 wxPyEndAllowThreads(__tstate);
19070 if (PyErr_Occurred()) SWIG_fail;
19071 }
c32bde28 19072 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
19073 return resultobj;
19074 fail:
19075 return NULL;
19076}
19077
19078
c32bde28 19079static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19080 PyObject *resultobj;
19081 wxPrintData *arg1 = (wxPrintData *) 0 ;
19082 long result;
19083 PyObject * obj0 = 0 ;
19084 char *kwnames[] = {
19085 (char *) "self", NULL
19086 };
19087
19088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
15afbcd0
RD
19089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19091 {
19092 PyThreadState* __tstate = wxPyBeginAllowThreads();
19093 result = (long)(arg1)->GetPrinterTranslateY();
19094
19095 wxPyEndAllowThreads(__tstate);
19096 if (PyErr_Occurred()) SWIG_fail;
19097 }
c32bde28 19098 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
19099 return resultobj;
19100 fail:
19101 return NULL;
19102}
19103
19104
c32bde28 19105static PyObject *_wrap_PrintData_GetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19106 PyObject *resultobj;
19107 wxPrintData *arg1 = (wxPrintData *) 0 ;
19108 int result;
19109 PyObject * obj0 = 0 ;
19110 char *kwnames[] = {
19111 (char *) "self", NULL
19112 };
19113
19114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
15afbcd0
RD
19115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19117 {
19118 PyThreadState* __tstate = wxPyBeginAllowThreads();
19119 result = (int)(arg1)->GetPrintMode();
19120
19121 wxPyEndAllowThreads(__tstate);
19122 if (PyErr_Occurred()) SWIG_fail;
19123 }
c32bde28 19124 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
19125 return resultobj;
19126 fail:
19127 return NULL;
19128}
19129
19130
c32bde28 19131static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19132 PyObject *resultobj;
19133 wxPrintData *arg1 = (wxPrintData *) 0 ;
19134 wxString *arg2 = 0 ;
e811c8ce 19135 bool temp2 = False ;
d14a1e28
RD
19136 PyObject * obj0 = 0 ;
19137 PyObject * obj1 = 0 ;
19138 char *kwnames[] = {
19139 (char *) "self",(char *) "command", NULL
19140 };
19141
19142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19145 {
19146 arg2 = wxString_in_helper(obj1);
19147 if (arg2 == NULL) SWIG_fail;
e811c8ce 19148 temp2 = True;
d14a1e28
RD
19149 }
19150 {
19151 PyThreadState* __tstate = wxPyBeginAllowThreads();
19152 (arg1)->SetPrinterCommand((wxString const &)*arg2);
19153
19154 wxPyEndAllowThreads(__tstate);
19155 if (PyErr_Occurred()) SWIG_fail;
19156 }
19157 Py_INCREF(Py_None); resultobj = Py_None;
19158 {
19159 if (temp2)
19160 delete arg2;
19161 }
19162 return resultobj;
19163 fail:
19164 {
19165 if (temp2)
19166 delete arg2;
19167 }
19168 return NULL;
19169}
19170
19171
c32bde28 19172static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19173 PyObject *resultobj;
19174 wxPrintData *arg1 = (wxPrintData *) 0 ;
19175 wxString *arg2 = 0 ;
e811c8ce 19176 bool temp2 = False ;
d14a1e28
RD
19177 PyObject * obj0 = 0 ;
19178 PyObject * obj1 = 0 ;
19179 char *kwnames[] = {
19180 (char *) "self",(char *) "options", NULL
19181 };
19182
19183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19186 {
19187 arg2 = wxString_in_helper(obj1);
19188 if (arg2 == NULL) SWIG_fail;
e811c8ce 19189 temp2 = True;
d14a1e28
RD
19190 }
19191 {
19192 PyThreadState* __tstate = wxPyBeginAllowThreads();
19193 (arg1)->SetPrinterOptions((wxString const &)*arg2);
19194
19195 wxPyEndAllowThreads(__tstate);
19196 if (PyErr_Occurred()) SWIG_fail;
19197 }
19198 Py_INCREF(Py_None); resultobj = Py_None;
19199 {
19200 if (temp2)
19201 delete arg2;
19202 }
19203 return resultobj;
19204 fail:
19205 {
19206 if (temp2)
19207 delete arg2;
19208 }
19209 return NULL;
19210}
19211
19212
c32bde28 19213static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19214 PyObject *resultobj;
19215 wxPrintData *arg1 = (wxPrintData *) 0 ;
19216 wxString *arg2 = 0 ;
e811c8ce 19217 bool temp2 = False ;
d14a1e28
RD
19218 PyObject * obj0 = 0 ;
19219 PyObject * obj1 = 0 ;
19220 char *kwnames[] = {
19221 (char *) "self",(char *) "command", NULL
19222 };
19223
19224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19227 {
19228 arg2 = wxString_in_helper(obj1);
19229 if (arg2 == NULL) SWIG_fail;
e811c8ce 19230 temp2 = True;
d14a1e28
RD
19231 }
19232 {
19233 PyThreadState* __tstate = wxPyBeginAllowThreads();
19234 (arg1)->SetPreviewCommand((wxString const &)*arg2);
19235
19236 wxPyEndAllowThreads(__tstate);
19237 if (PyErr_Occurred()) SWIG_fail;
19238 }
19239 Py_INCREF(Py_None); resultobj = Py_None;
19240 {
19241 if (temp2)
19242 delete arg2;
19243 }
19244 return resultobj;
19245 fail:
19246 {
19247 if (temp2)
19248 delete arg2;
19249 }
19250 return NULL;
19251}
19252
19253
c32bde28 19254static PyObject *_wrap_PrintData_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19255 PyObject *resultobj;
19256 wxPrintData *arg1 = (wxPrintData *) 0 ;
19257 wxString *arg2 = 0 ;
e811c8ce 19258 bool temp2 = False ;
d14a1e28
RD
19259 PyObject * obj0 = 0 ;
19260 PyObject * obj1 = 0 ;
19261 char *kwnames[] = {
19262 (char *) "self",(char *) "filename", NULL
19263 };
19264
19265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19268 {
19269 arg2 = wxString_in_helper(obj1);
19270 if (arg2 == NULL) SWIG_fail;
e811c8ce 19271 temp2 = True;
d14a1e28
RD
19272 }
19273 {
19274 PyThreadState* __tstate = wxPyBeginAllowThreads();
19275 (arg1)->SetFilename((wxString const &)*arg2);
19276
19277 wxPyEndAllowThreads(__tstate);
19278 if (PyErr_Occurred()) SWIG_fail;
19279 }
19280 Py_INCREF(Py_None); resultobj = Py_None;
19281 {
19282 if (temp2)
19283 delete arg2;
19284 }
19285 return resultobj;
19286 fail:
19287 {
19288 if (temp2)
19289 delete arg2;
19290 }
19291 return NULL;
19292}
19293
19294
c32bde28 19295static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19296 PyObject *resultobj;
19297 wxPrintData *arg1 = (wxPrintData *) 0 ;
19298 wxString *arg2 = 0 ;
e811c8ce 19299 bool temp2 = False ;
d14a1e28
RD
19300 PyObject * obj0 = 0 ;
19301 PyObject * obj1 = 0 ;
19302 char *kwnames[] = {
19303 (char *) "self",(char *) "path", NULL
19304 };
19305
19306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19307 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19309 {
19310 arg2 = wxString_in_helper(obj1);
19311 if (arg2 == NULL) SWIG_fail;
e811c8ce 19312 temp2 = True;
d14a1e28
RD
19313 }
19314 {
19315 PyThreadState* __tstate = wxPyBeginAllowThreads();
19316 (arg1)->SetFontMetricPath((wxString const &)*arg2);
19317
19318 wxPyEndAllowThreads(__tstate);
19319 if (PyErr_Occurred()) SWIG_fail;
19320 }
19321 Py_INCREF(Py_None); resultobj = Py_None;
19322 {
19323 if (temp2)
19324 delete arg2;
19325 }
19326 return resultobj;
19327 fail:
19328 {
19329 if (temp2)
19330 delete arg2;
19331 }
19332 return NULL;
19333}
19334
19335
c32bde28 19336static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19337 PyObject *resultobj;
19338 wxPrintData *arg1 = (wxPrintData *) 0 ;
19339 double arg2 ;
19340 PyObject * obj0 = 0 ;
994141e6 19341 PyObject * obj1 = 0 ;
d14a1e28
RD
19342 char *kwnames[] = {
19343 (char *) "self",(char *) "x", NULL
19344 };
19345
994141e6 19346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19349 arg2 = (double)SWIG_As_double(obj1);
15afbcd0 19350 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19351 {
19352 PyThreadState* __tstate = wxPyBeginAllowThreads();
19353 (arg1)->SetPrinterScaleX(arg2);
19354
19355 wxPyEndAllowThreads(__tstate);
19356 if (PyErr_Occurred()) SWIG_fail;
19357 }
19358 Py_INCREF(Py_None); resultobj = Py_None;
19359 return resultobj;
19360 fail:
19361 return NULL;
19362}
19363
19364
c32bde28 19365static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19366 PyObject *resultobj;
19367 wxPrintData *arg1 = (wxPrintData *) 0 ;
19368 double arg2 ;
19369 PyObject * obj0 = 0 ;
994141e6 19370 PyObject * obj1 = 0 ;
d14a1e28
RD
19371 char *kwnames[] = {
19372 (char *) "self",(char *) "y", NULL
19373 };
19374
994141e6 19375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19378 arg2 = (double)SWIG_As_double(obj1);
15afbcd0 19379 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19380 {
19381 PyThreadState* __tstate = wxPyBeginAllowThreads();
19382 (arg1)->SetPrinterScaleY(arg2);
19383
19384 wxPyEndAllowThreads(__tstate);
19385 if (PyErr_Occurred()) SWIG_fail;
19386 }
19387 Py_INCREF(Py_None); resultobj = Py_None;
19388 return resultobj;
19389 fail:
19390 return NULL;
19391}
19392
19393
c32bde28 19394static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19395 PyObject *resultobj;
19396 wxPrintData *arg1 = (wxPrintData *) 0 ;
19397 double arg2 ;
19398 double arg3 ;
19399 PyObject * obj0 = 0 ;
994141e6
RD
19400 PyObject * obj1 = 0 ;
19401 PyObject * obj2 = 0 ;
d14a1e28
RD
19402 char *kwnames[] = {
19403 (char *) "self",(char *) "x",(char *) "y", NULL
19404 };
19405
994141e6 19406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
19407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19409 arg2 = (double)SWIG_As_double(obj1);
15afbcd0 19410 if (PyErr_Occurred()) SWIG_fail;
c32bde28 19411 arg3 = (double)SWIG_As_double(obj2);
15afbcd0 19412 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19413 {
19414 PyThreadState* __tstate = wxPyBeginAllowThreads();
19415 (arg1)->SetPrinterScaling(arg2,arg3);
19416
19417 wxPyEndAllowThreads(__tstate);
19418 if (PyErr_Occurred()) SWIG_fail;
19419 }
19420 Py_INCREF(Py_None); resultobj = Py_None;
19421 return resultobj;
19422 fail:
19423 return NULL;
19424}
19425
19426
c32bde28 19427static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19428 PyObject *resultobj;
19429 wxPrintData *arg1 = (wxPrintData *) 0 ;
19430 long arg2 ;
19431 PyObject * obj0 = 0 ;
994141e6 19432 PyObject * obj1 = 0 ;
d14a1e28
RD
19433 char *kwnames[] = {
19434 (char *) "self",(char *) "x", NULL
19435 };
19436
994141e6 19437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19440 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 19441 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19442 {
19443 PyThreadState* __tstate = wxPyBeginAllowThreads();
19444 (arg1)->SetPrinterTranslateX(arg2);
19445
19446 wxPyEndAllowThreads(__tstate);
19447 if (PyErr_Occurred()) SWIG_fail;
19448 }
19449 Py_INCREF(Py_None); resultobj = Py_None;
19450 return resultobj;
19451 fail:
19452 return NULL;
19453}
19454
19455
c32bde28 19456static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19457 PyObject *resultobj;
19458 wxPrintData *arg1 = (wxPrintData *) 0 ;
19459 long arg2 ;
19460 PyObject * obj0 = 0 ;
994141e6 19461 PyObject * obj1 = 0 ;
d14a1e28
RD
19462 char *kwnames[] = {
19463 (char *) "self",(char *) "y", NULL
19464 };
19465
994141e6 19466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19469 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 19470 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19471 {
19472 PyThreadState* __tstate = wxPyBeginAllowThreads();
19473 (arg1)->SetPrinterTranslateY(arg2);
19474
19475 wxPyEndAllowThreads(__tstate);
19476 if (PyErr_Occurred()) SWIG_fail;
19477 }
19478 Py_INCREF(Py_None); resultobj = Py_None;
19479 return resultobj;
19480 fail:
19481 return NULL;
19482}
19483
19484
c32bde28 19485static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19486 PyObject *resultobj;
19487 wxPrintData *arg1 = (wxPrintData *) 0 ;
19488 long arg2 ;
19489 long arg3 ;
19490 PyObject * obj0 = 0 ;
994141e6
RD
19491 PyObject * obj1 = 0 ;
19492 PyObject * obj2 = 0 ;
d14a1e28
RD
19493 char *kwnames[] = {
19494 (char *) "self",(char *) "x",(char *) "y", NULL
19495 };
19496
994141e6 19497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
19498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19500 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 19501 if (PyErr_Occurred()) SWIG_fail;
c32bde28 19502 arg3 = (long)SWIG_As_long(obj2);
15afbcd0 19503 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19504 {
19505 PyThreadState* __tstate = wxPyBeginAllowThreads();
19506 (arg1)->SetPrinterTranslation(arg2,arg3);
19507
19508 wxPyEndAllowThreads(__tstate);
19509 if (PyErr_Occurred()) SWIG_fail;
19510 }
19511 Py_INCREF(Py_None); resultobj = Py_None;
19512 return resultobj;
19513 fail:
19514 return NULL;
19515}
19516
19517
c32bde28 19518static PyObject *_wrap_PrintData_SetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19519 PyObject *resultobj;
19520 wxPrintData *arg1 = (wxPrintData *) 0 ;
19521 int arg2 ;
19522 PyObject * obj0 = 0 ;
994141e6 19523 PyObject * obj1 = 0 ;
d14a1e28
RD
19524 char *kwnames[] = {
19525 (char *) "self",(char *) "printMode", NULL
19526 };
19527
994141e6 19528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19531 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 19532 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19533 {
19534 PyThreadState* __tstate = wxPyBeginAllowThreads();
19535 (arg1)->SetPrintMode((wxPrintMode )arg2);
19536
19537 wxPyEndAllowThreads(__tstate);
19538 if (PyErr_Occurred()) SWIG_fail;
19539 }
19540 Py_INCREF(Py_None); resultobj = Py_None;
19541 return resultobj;
19542 fail:
19543 return NULL;
19544}
19545
19546
c32bde28 19547static PyObject *_wrap_PrintData_GetOutputStream(PyObject *, PyObject *args, PyObject *kwargs) {
db914595
RD
19548 PyObject *resultobj;
19549 wxPrintData *arg1 = (wxPrintData *) 0 ;
19550 wxOutputStream *result;
19551 PyObject * obj0 = 0 ;
19552 char *kwnames[] = {
19553 (char *) "self", NULL
19554 };
19555
19556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOutputStream",kwnames,&obj0)) goto fail;
15afbcd0
RD
19557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
db914595
RD
19559 {
19560 PyThreadState* __tstate = wxPyBeginAllowThreads();
19561 result = (wxOutputStream *)(arg1)->GetOutputStream();
19562
19563 wxPyEndAllowThreads(__tstate);
19564 if (PyErr_Occurred()) SWIG_fail;
19565 }
15afbcd0 19566 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0);
db914595
RD
19567 return resultobj;
19568 fail:
19569 return NULL;
19570}
19571
19572
c32bde28 19573static PyObject *_wrap_PrintData_SetOutputStream(PyObject *, PyObject *args, PyObject *kwargs) {
db914595
RD
19574 PyObject *resultobj;
19575 wxPrintData *arg1 = (wxPrintData *) 0 ;
19576 wxOutputStream *arg2 = (wxOutputStream *) 0 ;
19577 PyObject * obj0 = 0 ;
19578 PyObject * obj1 = 0 ;
19579 char *kwnames[] = {
19580 (char *) "self",(char *) "outputstream", NULL
19581 };
19582
19583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOutputStream",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19586 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxOutputStream,
19587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
db914595
RD
19588 {
19589 PyThreadState* __tstate = wxPyBeginAllowThreads();
19590 (arg1)->SetOutputStream(arg2);
19591
19592 wxPyEndAllowThreads(__tstate);
19593 if (PyErr_Occurred()) SWIG_fail;
19594 }
19595 Py_INCREF(Py_None); resultobj = Py_None;
19596 return resultobj;
19597 fail:
19598 return NULL;
19599}
19600
19601
c32bde28 19602static PyObject * PrintData_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
19603 PyObject *obj;
19604 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19605 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
19606 Py_INCREF(obj);
19607 return Py_BuildValue((char *)"");
19608}
c32bde28 19609static PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
19610 PyObject *resultobj;
19611 wxPageSetupDialogData *result;
d14a1e28 19612
11207aef 19613 if(!PyArg_ParseTuple(args,(char *)":new_PageSetupDialogData")) goto fail;
d14a1e28
RD
19614 {
19615 PyThreadState* __tstate = wxPyBeginAllowThreads();
19616 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
19617
19618 wxPyEndAllowThreads(__tstate);
19619 if (PyErr_Occurred()) SWIG_fail;
19620 }
15afbcd0 19621 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
d14a1e28
RD
19622 return resultobj;
19623 fail:
19624 return NULL;
19625}
19626
19627
c32bde28 19628static PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *, PyObject *args) {
11207aef
RD
19629 PyObject *resultobj;
19630 wxPageSetupDialogData *arg1 = 0 ;
19631 wxPageSetupDialogData *result;
19632 PyObject * obj0 = 0 ;
19633
19634 if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail;
19635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19636 SWIG_POINTER_EXCEPTION | 0)) == -1)
19637 SWIG_fail;
19638 if (arg1 == NULL) {
19639 PyErr_SetString(PyExc_TypeError,"null reference");
19640 SWIG_fail;
19641 }
19642 {
19643 PyThreadState* __tstate = wxPyBeginAllowThreads();
19644 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
19645
19646 wxPyEndAllowThreads(__tstate);
19647 if (PyErr_Occurred()) SWIG_fail;
19648 }
19649 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
19650 return resultobj;
19651 fail:
19652 return NULL;
19653}
19654
19655
19656static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
19657 int argc;
19658 PyObject *argv[2];
19659 int ii;
19660
19661 argc = PyObject_Length(args);
19662 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
19663 argv[ii] = PyTuple_GetItem(args,ii);
19664 }
19665 if (argc == 0) {
19666 return _wrap_new_PageSetupDialogData__SWIG_0(self,args);
19667 }
19668 if (argc == 1) {
19669 int _v;
19670 {
19671 void *ptr;
19672 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPageSetupDialogData, 0) == -1) {
19673 _v = 0;
19674 PyErr_Clear();
19675 } else {
19676 _v = 1;
19677 }
19678 }
19679 if (_v) {
19680 return _wrap_new_PageSetupDialogData__SWIG_1(self,args);
19681 }
19682 }
19683
19684 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PageSetupDialogData'");
19685 return NULL;
19686}
19687
19688
c32bde28 19689static PyObject *_wrap_delete_PageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19690 PyObject *resultobj;
19691 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19692 PyObject * obj0 = 0 ;
19693 char *kwnames[] = {
19694 (char *) "self", NULL
19695 };
19696
19697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
15afbcd0
RD
19698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19700 {
19701 PyThreadState* __tstate = wxPyBeginAllowThreads();
19702 delete arg1;
19703
19704 wxPyEndAllowThreads(__tstate);
19705 if (PyErr_Occurred()) SWIG_fail;
19706 }
19707 Py_INCREF(Py_None); resultobj = Py_None;
19708 return resultobj;
19709 fail:
19710 return NULL;
19711}
19712
19713
c32bde28 19714static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19715 PyObject *resultobj;
19716 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19717 bool arg2 ;
19718 PyObject * obj0 = 0 ;
19719 PyObject * obj1 = 0 ;
19720 char *kwnames[] = {
19721 (char *) "self",(char *) "flag", NULL
19722 };
19723
19724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19727 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 19728 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19729 {
19730 PyThreadState* __tstate = wxPyBeginAllowThreads();
19731 (arg1)->EnableHelp(arg2);
19732
19733 wxPyEndAllowThreads(__tstate);
19734 if (PyErr_Occurred()) SWIG_fail;
19735 }
19736 Py_INCREF(Py_None); resultobj = Py_None;
19737 return resultobj;
19738 fail:
19739 return NULL;
19740}
19741
19742
c32bde28 19743static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19744 PyObject *resultobj;
19745 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19746 bool arg2 ;
19747 PyObject * obj0 = 0 ;
19748 PyObject * obj1 = 0 ;
19749 char *kwnames[] = {
19750 (char *) "self",(char *) "flag", NULL
19751 };
19752
19753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19756 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 19757 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19758 {
19759 PyThreadState* __tstate = wxPyBeginAllowThreads();
19760 (arg1)->EnableMargins(arg2);
19761
19762 wxPyEndAllowThreads(__tstate);
19763 if (PyErr_Occurred()) SWIG_fail;
19764 }
19765 Py_INCREF(Py_None); resultobj = Py_None;
19766 return resultobj;
19767 fail:
19768 return NULL;
19769}
19770
19771
c32bde28 19772static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19773 PyObject *resultobj;
19774 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19775 bool arg2 ;
19776 PyObject * obj0 = 0 ;
19777 PyObject * obj1 = 0 ;
19778 char *kwnames[] = {
19779 (char *) "self",(char *) "flag", NULL
19780 };
19781
19782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19783 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19785 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 19786 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19787 {
19788 PyThreadState* __tstate = wxPyBeginAllowThreads();
19789 (arg1)->EnableOrientation(arg2);
19790
19791 wxPyEndAllowThreads(__tstate);
19792 if (PyErr_Occurred()) SWIG_fail;
19793 }
19794 Py_INCREF(Py_None); resultobj = Py_None;
19795 return resultobj;
19796 fail:
19797 return NULL;
19798}
19799
19800
c32bde28 19801static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19802 PyObject *resultobj;
19803 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19804 bool arg2 ;
19805 PyObject * obj0 = 0 ;
19806 PyObject * obj1 = 0 ;
19807 char *kwnames[] = {
19808 (char *) "self",(char *) "flag", NULL
19809 };
19810
19811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19814 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 19815 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19816 {
19817 PyThreadState* __tstate = wxPyBeginAllowThreads();
19818 (arg1)->EnablePaper(arg2);
19819
19820 wxPyEndAllowThreads(__tstate);
19821 if (PyErr_Occurred()) SWIG_fail;
19822 }
19823 Py_INCREF(Py_None); resultobj = Py_None;
19824 return resultobj;
19825 fail:
19826 return NULL;
19827}
19828
19829
c32bde28 19830static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19831 PyObject *resultobj;
19832 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19833 bool arg2 ;
19834 PyObject * obj0 = 0 ;
19835 PyObject * obj1 = 0 ;
19836 char *kwnames[] = {
19837 (char *) "self",(char *) "flag", NULL
19838 };
19839
19840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19843 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 19844 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19845 {
19846 PyThreadState* __tstate = wxPyBeginAllowThreads();
19847 (arg1)->EnablePrinter(arg2);
19848
19849 wxPyEndAllowThreads(__tstate);
19850 if (PyErr_Occurred()) SWIG_fail;
19851 }
19852 Py_INCREF(Py_None); resultobj = Py_None;
19853 return resultobj;
19854 fail:
19855 return NULL;
19856}
19857
19858
c32bde28 19859static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19860 PyObject *resultobj;
19861 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19862 bool result;
19863 PyObject * obj0 = 0 ;
19864 char *kwnames[] = {
19865 (char *) "self", NULL
19866 };
19867
19868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
15afbcd0
RD
19869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19871 {
19872 PyThreadState* __tstate = wxPyBeginAllowThreads();
19873 result = (bool)(arg1)->GetDefaultMinMargins();
19874
19875 wxPyEndAllowThreads(__tstate);
19876 if (PyErr_Occurred()) SWIG_fail;
19877 }
4f89f6a3
RD
19878 {
19879 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19880 }
d14a1e28
RD
19881 return resultobj;
19882 fail:
19883 return NULL;
19884}
19885
19886
c32bde28 19887static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19888 PyObject *resultobj;
19889 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19890 bool result;
19891 PyObject * obj0 = 0 ;
19892 char *kwnames[] = {
19893 (char *) "self", NULL
19894 };
19895
19896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
15afbcd0
RD
19897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19899 {
19900 PyThreadState* __tstate = wxPyBeginAllowThreads();
19901 result = (bool)(arg1)->GetEnableMargins();
19902
19903 wxPyEndAllowThreads(__tstate);
19904 if (PyErr_Occurred()) SWIG_fail;
19905 }
4f89f6a3
RD
19906 {
19907 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19908 }
d14a1e28
RD
19909 return resultobj;
19910 fail:
19911 return NULL;
19912}
19913
19914
c32bde28 19915static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19916 PyObject *resultobj;
19917 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19918 bool result;
19919 PyObject * obj0 = 0 ;
19920 char *kwnames[] = {
19921 (char *) "self", NULL
19922 };
19923
19924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
15afbcd0
RD
19925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19927 {
19928 PyThreadState* __tstate = wxPyBeginAllowThreads();
19929 result = (bool)(arg1)->GetEnableOrientation();
19930
19931 wxPyEndAllowThreads(__tstate);
19932 if (PyErr_Occurred()) SWIG_fail;
19933 }
4f89f6a3
RD
19934 {
19935 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19936 }
d14a1e28
RD
19937 return resultobj;
19938 fail:
19939 return NULL;
19940}
19941
19942
c32bde28 19943static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19944 PyObject *resultobj;
19945 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19946 bool result;
19947 PyObject * obj0 = 0 ;
19948 char *kwnames[] = {
19949 (char *) "self", NULL
19950 };
19951
19952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
15afbcd0
RD
19953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19955 {
19956 PyThreadState* __tstate = wxPyBeginAllowThreads();
19957 result = (bool)(arg1)->GetEnablePaper();
19958
19959 wxPyEndAllowThreads(__tstate);
19960 if (PyErr_Occurred()) SWIG_fail;
19961 }
4f89f6a3
RD
19962 {
19963 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19964 }
d14a1e28
RD
19965 return resultobj;
19966 fail:
19967 return NULL;
19968}
19969
19970
c32bde28 19971static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19972 PyObject *resultobj;
19973 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19974 bool result;
19975 PyObject * obj0 = 0 ;
19976 char *kwnames[] = {
19977 (char *) "self", NULL
19978 };
19979
19980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
15afbcd0
RD
19981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19983 {
19984 PyThreadState* __tstate = wxPyBeginAllowThreads();
19985 result = (bool)(arg1)->GetEnablePrinter();
19986
19987 wxPyEndAllowThreads(__tstate);
19988 if (PyErr_Occurred()) SWIG_fail;
19989 }
4f89f6a3
RD
19990 {
19991 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19992 }
d14a1e28
RD
19993 return resultobj;
19994 fail:
19995 return NULL;
19996}
19997
19998
c32bde28 19999static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20000 PyObject *resultobj;
20001 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20002 bool result;
20003 PyObject * obj0 = 0 ;
20004 char *kwnames[] = {
20005 (char *) "self", NULL
20006 };
20007
20008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
15afbcd0
RD
20009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20011 {
20012 PyThreadState* __tstate = wxPyBeginAllowThreads();
20013 result = (bool)(arg1)->GetEnableHelp();
20014
20015 wxPyEndAllowThreads(__tstate);
20016 if (PyErr_Occurred()) SWIG_fail;
20017 }
4f89f6a3
RD
20018 {
20019 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20020 }
d14a1e28
RD
20021 return resultobj;
20022 fail:
20023 return NULL;
20024}
20025
20026
c32bde28 20027static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20028 PyObject *resultobj;
20029 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20030 bool result;
20031 PyObject * obj0 = 0 ;
20032 char *kwnames[] = {
20033 (char *) "self", NULL
20034 };
20035
20036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
15afbcd0
RD
20037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20039 {
20040 PyThreadState* __tstate = wxPyBeginAllowThreads();
20041 result = (bool)(arg1)->GetDefaultInfo();
20042
20043 wxPyEndAllowThreads(__tstate);
20044 if (PyErr_Occurred()) SWIG_fail;
20045 }
4f89f6a3
RD
20046 {
20047 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20048 }
d14a1e28
RD
20049 return resultobj;
20050 fail:
20051 return NULL;
20052}
20053
20054
c32bde28 20055static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20056 PyObject *resultobj;
20057 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20058 wxPoint result;
20059 PyObject * obj0 = 0 ;
20060 char *kwnames[] = {
20061 (char *) "self", NULL
20062 };
20063
20064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
15afbcd0
RD
20065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20067 {
20068 PyThreadState* __tstate = wxPyBeginAllowThreads();
20069 result = (arg1)->GetMarginTopLeft();
20070
20071 wxPyEndAllowThreads(__tstate);
20072 if (PyErr_Occurred()) SWIG_fail;
20073 }
20074 {
20075 wxPoint * resultptr;
20076 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 20077 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
20078 }
20079 return resultobj;
20080 fail:
20081 return NULL;
20082}
20083
20084
c32bde28 20085static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20086 PyObject *resultobj;
20087 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20088 wxPoint result;
20089 PyObject * obj0 = 0 ;
20090 char *kwnames[] = {
20091 (char *) "self", NULL
20092 };
20093
20094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
15afbcd0
RD
20095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20097 {
20098 PyThreadState* __tstate = wxPyBeginAllowThreads();
20099 result = (arg1)->GetMarginBottomRight();
20100
20101 wxPyEndAllowThreads(__tstate);
20102 if (PyErr_Occurred()) SWIG_fail;
20103 }
20104 {
20105 wxPoint * resultptr;
20106 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 20107 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
20108 }
20109 return resultobj;
20110 fail:
20111 return NULL;
20112}
20113
20114
c32bde28 20115static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20116 PyObject *resultobj;
20117 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20118 wxPoint result;
20119 PyObject * obj0 = 0 ;
20120 char *kwnames[] = {
20121 (char *) "self", NULL
20122 };
20123
20124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
15afbcd0
RD
20125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20127 {
20128 PyThreadState* __tstate = wxPyBeginAllowThreads();
20129 result = (arg1)->GetMinMarginTopLeft();
20130
20131 wxPyEndAllowThreads(__tstate);
20132 if (PyErr_Occurred()) SWIG_fail;
20133 }
20134 {
20135 wxPoint * resultptr;
20136 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 20137 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
20138 }
20139 return resultobj;
20140 fail:
20141 return NULL;
20142}
20143
20144
c32bde28 20145static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20146 PyObject *resultobj;
20147 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20148 wxPoint result;
20149 PyObject * obj0 = 0 ;
20150 char *kwnames[] = {
20151 (char *) "self", NULL
20152 };
20153
20154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
15afbcd0
RD
20155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20157 {
20158 PyThreadState* __tstate = wxPyBeginAllowThreads();
20159 result = (arg1)->GetMinMarginBottomRight();
20160
20161 wxPyEndAllowThreads(__tstate);
20162 if (PyErr_Occurred()) SWIG_fail;
20163 }
20164 {
20165 wxPoint * resultptr;
20166 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 20167 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
20168 }
20169 return resultobj;
20170 fail:
20171 return NULL;
20172}
20173
20174
c32bde28 20175static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20176 PyObject *resultobj;
20177 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20178 int result;
20179 PyObject * obj0 = 0 ;
20180 char *kwnames[] = {
20181 (char *) "self", NULL
20182 };
20183
20184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
15afbcd0
RD
20185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20187 {
20188 PyThreadState* __tstate = wxPyBeginAllowThreads();
20189 result = (int)(arg1)->GetPaperId();
20190
20191 wxPyEndAllowThreads(__tstate);
20192 if (PyErr_Occurred()) SWIG_fail;
20193 }
c32bde28 20194 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
20195 return resultobj;
20196 fail:
20197 return NULL;
20198}
20199
20200
c32bde28 20201static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20202 PyObject *resultobj;
20203 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20204 wxSize result;
20205 PyObject * obj0 = 0 ;
20206 char *kwnames[] = {
20207 (char *) "self", NULL
20208 };
20209
20210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
20211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20213 {
20214 PyThreadState* __tstate = wxPyBeginAllowThreads();
20215 result = (arg1)->GetPaperSize();
20216
20217 wxPyEndAllowThreads(__tstate);
20218 if (PyErr_Occurred()) SWIG_fail;
20219 }
20220 {
20221 wxSize * resultptr;
20222 resultptr = new wxSize((wxSize &) result);
15afbcd0 20223 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
20224 }
20225 return resultobj;
20226 fail:
20227 return NULL;
20228}
20229
20230
c32bde28 20231static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20232 PyObject *resultobj;
20233 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20234 wxPrintData *result;
20235 PyObject * obj0 = 0 ;
20236 char *kwnames[] = {
20237 (char *) "self", NULL
20238 };
20239
20240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
15afbcd0
RD
20241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20243 {
20244 PyThreadState* __tstate = wxPyBeginAllowThreads();
20245 {
20246 wxPrintData &_result_ref = (arg1)->GetPrintData();
20247 result = (wxPrintData *) &_result_ref;
20248 }
20249
20250 wxPyEndAllowThreads(__tstate);
20251 if (PyErr_Occurred()) SWIG_fail;
20252 }
15afbcd0 20253 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
d14a1e28
RD
20254 return resultobj;
20255 fail:
20256 return NULL;
20257}
20258
20259
c32bde28 20260static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
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_Ok",kwnames,&obj0)) goto fail;
15afbcd0
RD
20270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20272 {
20273 PyThreadState* __tstate = wxPyBeginAllowThreads();
20274 result = (bool)(arg1)->Ok();
20275
20276 wxPyEndAllowThreads(__tstate);
20277 if (PyErr_Occurred()) SWIG_fail;
20278 }
4f89f6a3
RD
20279 {
20280 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20281 }
d14a1e28
RD
20282 return resultobj;
20283 fail:
20284 return NULL;
20285}
20286
20287
c32bde28 20288static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20289 PyObject *resultobj;
20290 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20291 bool arg2 ;
20292 PyObject * obj0 = 0 ;
20293 PyObject * obj1 = 0 ;
20294 char *kwnames[] = {
20295 (char *) "self",(char *) "flag", NULL
20296 };
20297
20298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 20301 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 20302 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20303 {
20304 PyThreadState* __tstate = wxPyBeginAllowThreads();
20305 (arg1)->SetDefaultInfo(arg2);
20306
20307 wxPyEndAllowThreads(__tstate);
20308 if (PyErr_Occurred()) SWIG_fail;
20309 }
20310 Py_INCREF(Py_None); resultobj = Py_None;
20311 return resultobj;
20312 fail:
20313 return NULL;
20314}
20315
20316
c32bde28 20317static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20318 PyObject *resultobj;
20319 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20320 bool arg2 ;
20321 PyObject * obj0 = 0 ;
20322 PyObject * obj1 = 0 ;
20323 char *kwnames[] = {
20324 (char *) "self",(char *) "flag", NULL
20325 };
20326
20327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 20330 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 20331 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20332 {
20333 PyThreadState* __tstate = wxPyBeginAllowThreads();
20334 (arg1)->SetDefaultMinMargins(arg2);
20335
20336 wxPyEndAllowThreads(__tstate);
20337 if (PyErr_Occurred()) SWIG_fail;
20338 }
20339 Py_INCREF(Py_None); resultobj = Py_None;
20340 return resultobj;
20341 fail:
20342 return NULL;
20343}
20344
20345
c32bde28 20346static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20347 PyObject *resultobj;
20348 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20349 wxPoint *arg2 = 0 ;
20350 wxPoint temp2 ;
20351 PyObject * obj0 = 0 ;
20352 PyObject * obj1 = 0 ;
20353 char *kwnames[] = {
20354 (char *) "self",(char *) "pt", NULL
20355 };
20356
20357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20360 {
20361 arg2 = &temp2;
20362 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20363 }
20364 {
20365 PyThreadState* __tstate = wxPyBeginAllowThreads();
20366 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
20367
20368 wxPyEndAllowThreads(__tstate);
20369 if (PyErr_Occurred()) SWIG_fail;
20370 }
20371 Py_INCREF(Py_None); resultobj = Py_None;
20372 return resultobj;
20373 fail:
20374 return NULL;
20375}
20376
20377
c32bde28 20378static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20379 PyObject *resultobj;
20380 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20381 wxPoint *arg2 = 0 ;
20382 wxPoint temp2 ;
20383 PyObject * obj0 = 0 ;
20384 PyObject * obj1 = 0 ;
20385 char *kwnames[] = {
20386 (char *) "self",(char *) "pt", NULL
20387 };
20388
20389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20392 {
20393 arg2 = &temp2;
20394 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20395 }
20396 {
20397 PyThreadState* __tstate = wxPyBeginAllowThreads();
20398 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
20399
20400 wxPyEndAllowThreads(__tstate);
20401 if (PyErr_Occurred()) SWIG_fail;
20402 }
20403 Py_INCREF(Py_None); resultobj = Py_None;
20404 return resultobj;
20405 fail:
20406 return NULL;
20407}
20408
20409
c32bde28 20410static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20411 PyObject *resultobj;
20412 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20413 wxPoint *arg2 = 0 ;
20414 wxPoint temp2 ;
20415 PyObject * obj0 = 0 ;
20416 PyObject * obj1 = 0 ;
20417 char *kwnames[] = {
20418 (char *) "self",(char *) "pt", NULL
20419 };
20420
20421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20424 {
20425 arg2 = &temp2;
20426 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20427 }
20428 {
20429 PyThreadState* __tstate = wxPyBeginAllowThreads();
20430 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
20431
20432 wxPyEndAllowThreads(__tstate);
20433 if (PyErr_Occurred()) SWIG_fail;
20434 }
20435 Py_INCREF(Py_None); resultobj = Py_None;
20436 return resultobj;
20437 fail:
20438 return NULL;
20439}
20440
20441
c32bde28 20442static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20443 PyObject *resultobj;
20444 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20445 wxPoint *arg2 = 0 ;
20446 wxPoint temp2 ;
20447 PyObject * obj0 = 0 ;
20448 PyObject * obj1 = 0 ;
20449 char *kwnames[] = {
20450 (char *) "self",(char *) "pt", NULL
20451 };
20452
20453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20456 {
20457 arg2 = &temp2;
20458 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20459 }
20460 {
20461 PyThreadState* __tstate = wxPyBeginAllowThreads();
20462 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
20463
20464 wxPyEndAllowThreads(__tstate);
20465 if (PyErr_Occurred()) SWIG_fail;
20466 }
20467 Py_INCREF(Py_None); resultobj = Py_None;
20468 return resultobj;
20469 fail:
20470 return NULL;
20471}
20472
20473
c32bde28 20474static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20475 PyObject *resultobj;
20476 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20477 int arg2 ;
20478 PyObject * obj0 = 0 ;
994141e6 20479 PyObject * obj1 = 0 ;
d14a1e28
RD
20480 char *kwnames[] = {
20481 (char *) "self",(char *) "id", NULL
20482 };
20483
994141e6 20484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 20487 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 20488 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20489 {
20490 PyThreadState* __tstate = wxPyBeginAllowThreads();
20491 (arg1)->SetPaperId((wxPaperSize )arg2);
20492
20493 wxPyEndAllowThreads(__tstate);
20494 if (PyErr_Occurred()) SWIG_fail;
20495 }
20496 Py_INCREF(Py_None); resultobj = Py_None;
20497 return resultobj;
20498 fail:
20499 return NULL;
20500}
20501
20502
c32bde28 20503static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20504 PyObject *resultobj;
20505 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20506 wxSize *arg2 = 0 ;
20507 wxSize temp2 ;
20508 PyObject * obj0 = 0 ;
20509 PyObject * obj1 = 0 ;
20510 char *kwnames[] = {
20511 (char *) "self",(char *) "size", NULL
20512 };
20513
20514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20517 {
20518 arg2 = &temp2;
20519 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20520 }
20521 {
20522 PyThreadState* __tstate = wxPyBeginAllowThreads();
20523 (arg1)->SetPaperSize((wxSize const &)*arg2);
20524
20525 wxPyEndAllowThreads(__tstate);
20526 if (PyErr_Occurred()) SWIG_fail;
20527 }
20528 Py_INCREF(Py_None); resultobj = Py_None;
20529 return resultobj;
20530 fail:
20531 return NULL;
20532}
20533
20534
c32bde28 20535static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20536 PyObject *resultobj;
20537 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20538 wxPrintData *arg2 = 0 ;
20539 PyObject * obj0 = 0 ;
20540 PyObject * obj1 = 0 ;
20541 char *kwnames[] = {
20542 (char *) "self",(char *) "printData", NULL
20543 };
20544
20545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20548 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
20549 SWIG_POINTER_EXCEPTION | 0)) == -1)
20550 SWIG_fail;
d14a1e28 20551 if (arg2 == NULL) {
15afbcd0
RD
20552 PyErr_SetString(PyExc_TypeError,"null reference");
20553 SWIG_fail;
d14a1e28
RD
20554 }
20555 {
20556 PyThreadState* __tstate = wxPyBeginAllowThreads();
20557 (arg1)->SetPrintData((wxPrintData const &)*arg2);
20558
20559 wxPyEndAllowThreads(__tstate);
20560 if (PyErr_Occurred()) SWIG_fail;
20561 }
20562 Py_INCREF(Py_None); resultobj = Py_None;
20563 return resultobj;
20564 fail:
20565 return NULL;
20566}
20567
20568
c32bde28 20569static PyObject * PageSetupDialogData_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
20570 PyObject *obj;
20571 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20572 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
20573 Py_INCREF(obj);
20574 return Py_BuildValue((char *)"");
20575}
c32bde28 20576static PyObject *_wrap_new_PageSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20577 PyObject *resultobj;
20578 wxWindow *arg1 = (wxWindow *) 0 ;
20579 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
20580 wxPageSetupDialog *result;
20581 PyObject * obj0 = 0 ;
20582 PyObject * obj1 = 0 ;
20583 char *kwnames[] = {
20584 (char *) "parent",(char *) "data", NULL
20585 };
20586
20587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
20589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 20590 if (obj1) {
15afbcd0
RD
20591 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPageSetupDialogData,
20592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20593 }
20594 {
e3b71cb8 20595 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
20596 PyThreadState* __tstate = wxPyBeginAllowThreads();
20597 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
20598
20599 wxPyEndAllowThreads(__tstate);
110da5b0 20600 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 20601 }
15afbcd0 20602 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
d14a1e28
RD
20603 return resultobj;
20604 fail:
20605 return NULL;
20606}
20607
20608
c32bde28 20609static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20610 PyObject *resultobj;
20611 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
20612 wxPageSetupDialogData *result;
20613 PyObject * obj0 = 0 ;
20614 char *kwnames[] = {
20615 (char *) "self", NULL
20616 };
20617
20618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
15afbcd0
RD
20619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
20620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20621 {
20622 PyThreadState* __tstate = wxPyBeginAllowThreads();
20623 {
20624 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
20625 result = (wxPageSetupDialogData *) &_result_ref;
20626 }
20627
20628 wxPyEndAllowThreads(__tstate);
20629 if (PyErr_Occurred()) SWIG_fail;
20630 }
15afbcd0 20631 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
d14a1e28
RD
20632 return resultobj;
20633 fail:
20634 return NULL;
20635}
20636
20637
c32bde28 20638static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20639 PyObject *resultobj;
20640 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
20641 int result;
20642 PyObject * obj0 = 0 ;
20643 char *kwnames[] = {
20644 (char *) "self", NULL
20645 };
20646
20647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
15afbcd0
RD
20648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
20649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20650 {
20651 PyThreadState* __tstate = wxPyBeginAllowThreads();
20652 result = (int)(arg1)->ShowModal();
20653
20654 wxPyEndAllowThreads(__tstate);
20655 if (PyErr_Occurred()) SWIG_fail;
20656 }
c32bde28 20657 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
20658 return resultobj;
20659 fail:
20660 return NULL;
20661}
20662
20663
c32bde28 20664static PyObject * PageSetupDialog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
20665 PyObject *obj;
20666 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20667 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
20668 Py_INCREF(obj);
20669 return Py_BuildValue((char *)"");
20670}
c32bde28 20671static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
20672 PyObject *resultobj;
20673 wxPrintDialogData *result;
d14a1e28 20674
4276dc52 20675 if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail;
d14a1e28
RD
20676 {
20677 PyThreadState* __tstate = wxPyBeginAllowThreads();
20678 result = (wxPrintDialogData *)new wxPrintDialogData();
20679
20680 wxPyEndAllowThreads(__tstate);
20681 if (PyErr_Occurred()) SWIG_fail;
20682 }
15afbcd0 20683 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
d14a1e28
RD
20684 return resultobj;
20685 fail:
20686 return NULL;
20687}
20688
20689
c32bde28 20690static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *, PyObject *args) {
4276dc52
RD
20691 PyObject *resultobj;
20692 wxPrintData *arg1 = 0 ;
20693 wxPrintDialogData *result;
20694 PyObject * obj0 = 0 ;
20695
20696 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
20697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
20698 SWIG_POINTER_EXCEPTION | 0)) == -1)
20699 SWIG_fail;
20700 if (arg1 == NULL) {
20701 PyErr_SetString(PyExc_TypeError,"null reference");
20702 SWIG_fail;
20703 }
20704 {
20705 PyThreadState* __tstate = wxPyBeginAllowThreads();
20706 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
20707
20708 wxPyEndAllowThreads(__tstate);
20709 if (PyErr_Occurred()) SWIG_fail;
20710 }
20711 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
20712 return resultobj;
20713 fail:
20714 return NULL;
20715}
20716
20717
20718static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
20719 int argc;
20720 PyObject *argv[2];
20721 int ii;
20722
20723 argc = PyObject_Length(args);
20724 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
20725 argv[ii] = PyTuple_GetItem(args,ii);
20726 }
20727 if (argc == 0) {
20728 return _wrap_new_PrintDialogData__SWIG_0(self,args);
20729 }
20730 if (argc == 1) {
20731 int _v;
20732 {
20733 void *ptr;
20734 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
20735 _v = 0;
20736 PyErr_Clear();
20737 } else {
20738 _v = 1;
20739 }
20740 }
20741 if (_v) {
20742 return _wrap_new_PrintDialogData__SWIG_1(self,args);
20743 }
20744 }
20745
20746 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintDialogData'");
20747 return NULL;
20748}
20749
20750
c32bde28 20751static PyObject *_wrap_delete_PrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20752 PyObject *resultobj;
20753 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20754 PyObject * obj0 = 0 ;
20755 char *kwnames[] = {
20756 (char *) "self", NULL
20757 };
20758
20759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
15afbcd0
RD
20760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20762 {
20763 PyThreadState* __tstate = wxPyBeginAllowThreads();
20764 delete arg1;
20765
20766 wxPyEndAllowThreads(__tstate);
20767 if (PyErr_Occurred()) SWIG_fail;
20768 }
20769 Py_INCREF(Py_None); resultobj = Py_None;
20770 return resultobj;
20771 fail:
20772 return NULL;
20773}
20774
20775
c32bde28 20776static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20777 PyObject *resultobj;
20778 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20779 int result;
20780 PyObject * obj0 = 0 ;
20781 char *kwnames[] = {
20782 (char *) "self", NULL
20783 };
20784
20785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
15afbcd0
RD
20786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20788 {
20789 PyThreadState* __tstate = wxPyBeginAllowThreads();
20790 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
20791
20792 wxPyEndAllowThreads(__tstate);
20793 if (PyErr_Occurred()) SWIG_fail;
20794 }
c32bde28 20795 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
20796 return resultobj;
20797 fail:
20798 return NULL;
20799}
20800
20801
c32bde28 20802static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20803 PyObject *resultobj;
20804 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20805 int result;
20806 PyObject * obj0 = 0 ;
20807 char *kwnames[] = {
20808 (char *) "self", NULL
20809 };
20810
20811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
15afbcd0
RD
20812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20814 {
20815 PyThreadState* __tstate = wxPyBeginAllowThreads();
20816 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
20817
20818 wxPyEndAllowThreads(__tstate);
20819 if (PyErr_Occurred()) SWIG_fail;
20820 }
c32bde28 20821 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
20822 return resultobj;
20823 fail:
20824 return NULL;
20825}
20826
20827
c32bde28 20828static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20829 PyObject *resultobj;
20830 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20831 int result;
20832 PyObject * obj0 = 0 ;
20833 char *kwnames[] = {
20834 (char *) "self", NULL
20835 };
20836
20837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
15afbcd0
RD
20838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20840 {
20841 PyThreadState* __tstate = wxPyBeginAllowThreads();
20842 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
20843
20844 wxPyEndAllowThreads(__tstate);
20845 if (PyErr_Occurred()) SWIG_fail;
20846 }
c32bde28 20847 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
20848 return resultobj;
20849 fail:
20850 return NULL;
20851}
20852
20853
c32bde28 20854static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20855 PyObject *resultobj;
20856 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20857 int result;
20858 PyObject * obj0 = 0 ;
20859 char *kwnames[] = {
20860 (char *) "self", NULL
20861 };
20862
20863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
15afbcd0
RD
20864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20866 {
20867 PyThreadState* __tstate = wxPyBeginAllowThreads();
20868 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
20869
20870 wxPyEndAllowThreads(__tstate);
20871 if (PyErr_Occurred()) SWIG_fail;
20872 }
c32bde28 20873 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
20874 return resultobj;
20875 fail:
20876 return NULL;
20877}
20878
20879
c32bde28 20880static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20881 PyObject *resultobj;
20882 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20883 int result;
20884 PyObject * obj0 = 0 ;
20885 char *kwnames[] = {
20886 (char *) "self", NULL
20887 };
20888
20889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
15afbcd0
RD
20890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20892 {
20893 PyThreadState* __tstate = wxPyBeginAllowThreads();
20894 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
20895
20896 wxPyEndAllowThreads(__tstate);
20897 if (PyErr_Occurred()) SWIG_fail;
20898 }
c32bde28 20899 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
20900 return resultobj;
20901 fail:
20902 return NULL;
20903}
20904
20905
c32bde28 20906static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20907 PyObject *resultobj;
20908 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20909 bool result;
20910 PyObject * obj0 = 0 ;
20911 char *kwnames[] = {
20912 (char *) "self", NULL
20913 };
20914
20915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
15afbcd0
RD
20916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20918 {
20919 PyThreadState* __tstate = wxPyBeginAllowThreads();
20920 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
20921
20922 wxPyEndAllowThreads(__tstate);
20923 if (PyErr_Occurred()) SWIG_fail;
20924 }
4f89f6a3
RD
20925 {
20926 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20927 }
d14a1e28
RD
20928 return resultobj;
20929 fail:
20930 return NULL;
20931}
20932
20933
c32bde28 20934static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20935 PyObject *resultobj;
20936 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20937 bool result;
20938 PyObject * obj0 = 0 ;
20939 char *kwnames[] = {
20940 (char *) "self", NULL
20941 };
20942
20943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
20944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20946 {
20947 PyThreadState* __tstate = wxPyBeginAllowThreads();
20948 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
20949
20950 wxPyEndAllowThreads(__tstate);
20951 if (PyErr_Occurred()) SWIG_fail;
20952 }
4f89f6a3
RD
20953 {
20954 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20955 }
d14a1e28
RD
20956 return resultobj;
20957 fail:
20958 return NULL;
20959}
20960
20961
c32bde28 20962static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20963 PyObject *resultobj;
20964 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20965 bool result;
20966 PyObject * obj0 = 0 ;
20967 char *kwnames[] = {
20968 (char *) "self", NULL
20969 };
20970
20971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
15afbcd0
RD
20972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20974 {
20975 PyThreadState* __tstate = wxPyBeginAllowThreads();
20976 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
20977
20978 wxPyEndAllowThreads(__tstate);
20979 if (PyErr_Occurred()) SWIG_fail;
20980 }
4f89f6a3
RD
20981 {
20982 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20983 }
d14a1e28
RD
20984 return resultobj;
20985 fail:
20986 return NULL;
20987}
20988
20989
c32bde28 20990static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20991 PyObject *resultobj;
20992 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20993 bool result;
20994 PyObject * obj0 = 0 ;
20995 char *kwnames[] = {
20996 (char *) "self", NULL
20997 };
20998
20999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
15afbcd0
RD
21000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21002 {
21003 PyThreadState* __tstate = wxPyBeginAllowThreads();
21004 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
21005
21006 wxPyEndAllowThreads(__tstate);
21007 if (PyErr_Occurred()) SWIG_fail;
21008 }
4f89f6a3
RD
21009 {
21010 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21011 }
d14a1e28
RD
21012 return resultobj;
21013 fail:
21014 return NULL;
21015}
21016
21017
c32bde28 21018static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21019 PyObject *resultobj;
21020 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21021 bool result;
21022 PyObject * obj0 = 0 ;
21023 char *kwnames[] = {
21024 (char *) "self", NULL
21025 };
21026
21027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
15afbcd0
RD
21028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21030 {
21031 PyThreadState* __tstate = wxPyBeginAllowThreads();
21032 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
21033
21034 wxPyEndAllowThreads(__tstate);
21035 if (PyErr_Occurred()) SWIG_fail;
21036 }
4f89f6a3
RD
21037 {
21038 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21039 }
d14a1e28
RD
21040 return resultobj;
21041 fail:
21042 return NULL;
21043}
21044
21045
c32bde28 21046static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21047 PyObject *resultobj;
21048 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21049 int arg2 ;
21050 PyObject * obj0 = 0 ;
994141e6 21051 PyObject * obj1 = 0 ;
d14a1e28
RD
21052 char *kwnames[] = {
21053 (char *) "self",(char *) "v", NULL
21054 };
21055
994141e6 21056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21059 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 21060 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21061 {
21062 PyThreadState* __tstate = wxPyBeginAllowThreads();
21063 (arg1)->SetFromPage(arg2);
21064
21065 wxPyEndAllowThreads(__tstate);
21066 if (PyErr_Occurred()) SWIG_fail;
21067 }
21068 Py_INCREF(Py_None); resultobj = Py_None;
21069 return resultobj;
21070 fail:
21071 return NULL;
21072}
21073
21074
c32bde28 21075static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21076 PyObject *resultobj;
21077 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21078 int arg2 ;
21079 PyObject * obj0 = 0 ;
994141e6 21080 PyObject * obj1 = 0 ;
d14a1e28
RD
21081 char *kwnames[] = {
21082 (char *) "self",(char *) "v", NULL
21083 };
21084
994141e6 21085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21088 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 21089 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21090 {
21091 PyThreadState* __tstate = wxPyBeginAllowThreads();
21092 (arg1)->SetToPage(arg2);
21093
21094 wxPyEndAllowThreads(__tstate);
21095 if (PyErr_Occurred()) SWIG_fail;
21096 }
21097 Py_INCREF(Py_None); resultobj = Py_None;
21098 return resultobj;
21099 fail:
21100 return NULL;
21101}
21102
21103
c32bde28 21104static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21105 PyObject *resultobj;
21106 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21107 int arg2 ;
21108 PyObject * obj0 = 0 ;
994141e6 21109 PyObject * obj1 = 0 ;
d14a1e28
RD
21110 char *kwnames[] = {
21111 (char *) "self",(char *) "v", NULL
21112 };
21113
994141e6 21114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21117 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 21118 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21119 {
21120 PyThreadState* __tstate = wxPyBeginAllowThreads();
21121 (arg1)->SetMinPage(arg2);
21122
21123 wxPyEndAllowThreads(__tstate);
21124 if (PyErr_Occurred()) SWIG_fail;
21125 }
21126 Py_INCREF(Py_None); resultobj = Py_None;
21127 return resultobj;
21128 fail:
21129 return NULL;
21130}
21131
21132
c32bde28 21133static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21134 PyObject *resultobj;
21135 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21136 int arg2 ;
21137 PyObject * obj0 = 0 ;
994141e6 21138 PyObject * obj1 = 0 ;
d14a1e28
RD
21139 char *kwnames[] = {
21140 (char *) "self",(char *) "v", NULL
21141 };
21142
994141e6 21143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21146 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 21147 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21148 {
21149 PyThreadState* __tstate = wxPyBeginAllowThreads();
21150 (arg1)->SetMaxPage(arg2);
21151
21152 wxPyEndAllowThreads(__tstate);
21153 if (PyErr_Occurred()) SWIG_fail;
21154 }
21155 Py_INCREF(Py_None); resultobj = Py_None;
21156 return resultobj;
21157 fail:
21158 return NULL;
21159}
21160
21161
c32bde28 21162static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21163 PyObject *resultobj;
21164 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21165 int arg2 ;
21166 PyObject * obj0 = 0 ;
994141e6 21167 PyObject * obj1 = 0 ;
d14a1e28
RD
21168 char *kwnames[] = {
21169 (char *) "self",(char *) "v", NULL
21170 };
21171
994141e6 21172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21175 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 21176 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21177 {
21178 PyThreadState* __tstate = wxPyBeginAllowThreads();
21179 (arg1)->SetNoCopies(arg2);
21180
21181 wxPyEndAllowThreads(__tstate);
21182 if (PyErr_Occurred()) SWIG_fail;
21183 }
21184 Py_INCREF(Py_None); resultobj = Py_None;
21185 return resultobj;
21186 fail:
21187 return NULL;
21188}
21189
21190
c32bde28 21191static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21192 PyObject *resultobj;
21193 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21194 bool arg2 ;
21195 PyObject * obj0 = 0 ;
21196 PyObject * obj1 = 0 ;
21197 char *kwnames[] = {
21198 (char *) "self",(char *) "flag", NULL
21199 };
21200
21201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21204 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 21205 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21206 {
21207 PyThreadState* __tstate = wxPyBeginAllowThreads();
21208 (arg1)->SetAllPages(arg2);
21209
21210 wxPyEndAllowThreads(__tstate);
21211 if (PyErr_Occurred()) SWIG_fail;
21212 }
21213 Py_INCREF(Py_None); resultobj = Py_None;
21214 return resultobj;
21215 fail:
21216 return NULL;
21217}
21218
21219
c32bde28 21220static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21221 PyObject *resultobj;
21222 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21223 bool arg2 ;
21224 PyObject * obj0 = 0 ;
21225 PyObject * obj1 = 0 ;
21226 char *kwnames[] = {
21227 (char *) "self",(char *) "flag", NULL
21228 };
21229
21230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21233 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 21234 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21235 {
21236 PyThreadState* __tstate = wxPyBeginAllowThreads();
21237 (arg1)->SetSelection(arg2);
21238
21239 wxPyEndAllowThreads(__tstate);
21240 if (PyErr_Occurred()) SWIG_fail;
21241 }
21242 Py_INCREF(Py_None); resultobj = Py_None;
21243 return resultobj;
21244 fail:
21245 return NULL;
21246}
21247
21248
c32bde28 21249static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21250 PyObject *resultobj;
21251 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21252 bool arg2 ;
21253 PyObject * obj0 = 0 ;
21254 PyObject * obj1 = 0 ;
21255 char *kwnames[] = {
21256 (char *) "self",(char *) "flag", NULL
21257 };
21258
21259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21262 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 21263 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21264 {
21265 PyThreadState* __tstate = wxPyBeginAllowThreads();
21266 (arg1)->SetCollate(arg2);
21267
21268 wxPyEndAllowThreads(__tstate);
21269 if (PyErr_Occurred()) SWIG_fail;
21270 }
21271 Py_INCREF(Py_None); resultobj = Py_None;
21272 return resultobj;
21273 fail:
21274 return NULL;
21275}
21276
21277
c32bde28 21278static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21279 PyObject *resultobj;
21280 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21281 bool arg2 ;
21282 PyObject * obj0 = 0 ;
21283 PyObject * obj1 = 0 ;
21284 char *kwnames[] = {
21285 (char *) "self",(char *) "flag", NULL
21286 };
21287
21288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21291 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 21292 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21293 {
21294 PyThreadState* __tstate = wxPyBeginAllowThreads();
21295 (arg1)->SetPrintToFile(arg2);
21296
21297 wxPyEndAllowThreads(__tstate);
21298 if (PyErr_Occurred()) SWIG_fail;
21299 }
21300 Py_INCREF(Py_None); resultobj = Py_None;
21301 return resultobj;
21302 fail:
21303 return NULL;
21304}
21305
21306
c32bde28 21307static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21308 PyObject *resultobj;
21309 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21310 bool arg2 ;
21311 PyObject * obj0 = 0 ;
21312 PyObject * obj1 = 0 ;
21313 char *kwnames[] = {
21314 (char *) "self",(char *) "flag", NULL
21315 };
21316
21317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21320 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 21321 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21322 {
21323 PyThreadState* __tstate = wxPyBeginAllowThreads();
21324 (arg1)->SetSetupDialog(arg2);
21325
21326 wxPyEndAllowThreads(__tstate);
21327 if (PyErr_Occurred()) SWIG_fail;
21328 }
21329 Py_INCREF(Py_None); resultobj = Py_None;
21330 return resultobj;
21331 fail:
21332 return NULL;
21333}
21334
21335
c32bde28 21336static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21337 PyObject *resultobj;
21338 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21339 bool arg2 ;
21340 PyObject * obj0 = 0 ;
21341 PyObject * obj1 = 0 ;
21342 char *kwnames[] = {
21343 (char *) "self",(char *) "flag", NULL
21344 };
21345
21346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21349 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 21350 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21351 {
21352 PyThreadState* __tstate = wxPyBeginAllowThreads();
21353 (arg1)->EnablePrintToFile(arg2);
21354
21355 wxPyEndAllowThreads(__tstate);
21356 if (PyErr_Occurred()) SWIG_fail;
21357 }
21358 Py_INCREF(Py_None); resultobj = Py_None;
21359 return resultobj;
21360 fail:
21361 return NULL;
21362}
21363
21364
c32bde28 21365static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21366 PyObject *resultobj;
21367 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21368 bool arg2 ;
21369 PyObject * obj0 = 0 ;
21370 PyObject * obj1 = 0 ;
21371 char *kwnames[] = {
21372 (char *) "self",(char *) "flag", NULL
21373 };
21374
21375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21378 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 21379 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21380 {
21381 PyThreadState* __tstate = wxPyBeginAllowThreads();
21382 (arg1)->EnableSelection(arg2);
21383
21384 wxPyEndAllowThreads(__tstate);
21385 if (PyErr_Occurred()) SWIG_fail;
21386 }
21387 Py_INCREF(Py_None); resultobj = Py_None;
21388 return resultobj;
21389 fail:
21390 return NULL;
21391}
21392
21393
c32bde28 21394static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21395 PyObject *resultobj;
21396 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21397 bool arg2 ;
21398 PyObject * obj0 = 0 ;
21399 PyObject * obj1 = 0 ;
21400 char *kwnames[] = {
21401 (char *) "self",(char *) "flag", NULL
21402 };
21403
21404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21407 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 21408 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21409 {
21410 PyThreadState* __tstate = wxPyBeginAllowThreads();
21411 (arg1)->EnablePageNumbers(arg2);
21412
21413 wxPyEndAllowThreads(__tstate);
21414 if (PyErr_Occurred()) SWIG_fail;
21415 }
21416 Py_INCREF(Py_None); resultobj = Py_None;
21417 return resultobj;
21418 fail:
21419 return NULL;
21420}
21421
21422
c32bde28 21423static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21424 PyObject *resultobj;
21425 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21426 bool arg2 ;
21427 PyObject * obj0 = 0 ;
21428 PyObject * obj1 = 0 ;
21429 char *kwnames[] = {
21430 (char *) "self",(char *) "flag", NULL
21431 };
21432
21433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21436 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 21437 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21438 {
21439 PyThreadState* __tstate = wxPyBeginAllowThreads();
21440 (arg1)->EnableHelp(arg2);
21441
21442 wxPyEndAllowThreads(__tstate);
21443 if (PyErr_Occurred()) SWIG_fail;
21444 }
21445 Py_INCREF(Py_None); resultobj = Py_None;
21446 return resultobj;
21447 fail:
21448 return NULL;
21449}
21450
21451
c32bde28 21452static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21453 PyObject *resultobj;
21454 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21455 bool result;
21456 PyObject * obj0 = 0 ;
21457 char *kwnames[] = {
21458 (char *) "self", NULL
21459 };
21460
21461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
15afbcd0
RD
21462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21464 {
21465 PyThreadState* __tstate = wxPyBeginAllowThreads();
21466 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
21467
21468 wxPyEndAllowThreads(__tstate);
21469 if (PyErr_Occurred()) SWIG_fail;
21470 }
4f89f6a3
RD
21471 {
21472 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21473 }
d14a1e28
RD
21474 return resultobj;
21475 fail:
21476 return NULL;
21477}
21478
21479
c32bde28 21480static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21481 PyObject *resultobj;
21482 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21483 bool result;
21484 PyObject * obj0 = 0 ;
21485 char *kwnames[] = {
21486 (char *) "self", NULL
21487 };
21488
21489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
21490 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21492 {
21493 PyThreadState* __tstate = wxPyBeginAllowThreads();
21494 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
21495
21496 wxPyEndAllowThreads(__tstate);
21497 if (PyErr_Occurred()) SWIG_fail;
21498 }
4f89f6a3
RD
21499 {
21500 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21501 }
d14a1e28
RD
21502 return resultobj;
21503 fail:
21504 return NULL;
21505}
21506
21507
c32bde28 21508static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21509 PyObject *resultobj;
21510 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21511 bool result;
21512 PyObject * obj0 = 0 ;
21513 char *kwnames[] = {
21514 (char *) "self", NULL
21515 };
21516
21517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
15afbcd0
RD
21518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21520 {
21521 PyThreadState* __tstate = wxPyBeginAllowThreads();
21522 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
21523
21524 wxPyEndAllowThreads(__tstate);
21525 if (PyErr_Occurred()) SWIG_fail;
21526 }
4f89f6a3
RD
21527 {
21528 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21529 }
d14a1e28
RD
21530 return resultobj;
21531 fail:
21532 return NULL;
21533}
21534
21535
c32bde28 21536static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21537 PyObject *resultobj;
21538 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21539 bool result;
21540 PyObject * obj0 = 0 ;
21541 char *kwnames[] = {
21542 (char *) "self", NULL
21543 };
21544
21545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
15afbcd0
RD
21546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21548 {
21549 PyThreadState* __tstate = wxPyBeginAllowThreads();
21550 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
21551
21552 wxPyEndAllowThreads(__tstate);
21553 if (PyErr_Occurred()) SWIG_fail;
21554 }
4f89f6a3
RD
21555 {
21556 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21557 }
d14a1e28
RD
21558 return resultobj;
21559 fail:
21560 return NULL;
21561}
21562
21563
c32bde28 21564static PyObject *_wrap_PrintDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21565 PyObject *resultobj;
21566 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21567 bool result;
21568 PyObject * obj0 = 0 ;
21569 char *kwnames[] = {
21570 (char *) "self", NULL
21571 };
21572
21573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
15afbcd0
RD
21574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21576 {
21577 PyThreadState* __tstate = wxPyBeginAllowThreads();
21578 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
21579
21580 wxPyEndAllowThreads(__tstate);
21581 if (PyErr_Occurred()) SWIG_fail;
21582 }
4f89f6a3
RD
21583 {
21584 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21585 }
d14a1e28
RD
21586 return resultobj;
21587 fail:
21588 return NULL;
21589}
21590
21591
c32bde28 21592static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21593 PyObject *resultobj;
21594 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21595 wxPrintData *result;
21596 PyObject * obj0 = 0 ;
21597 char *kwnames[] = {
21598 (char *) "self", NULL
21599 };
21600
21601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
15afbcd0
RD
21602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21604 {
21605 PyThreadState* __tstate = wxPyBeginAllowThreads();
21606 {
21607 wxPrintData &_result_ref = (arg1)->GetPrintData();
21608 result = (wxPrintData *) &_result_ref;
21609 }
21610
21611 wxPyEndAllowThreads(__tstate);
21612 if (PyErr_Occurred()) SWIG_fail;
21613 }
15afbcd0 21614 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
d14a1e28
RD
21615 return resultobj;
21616 fail:
21617 return NULL;
21618}
21619
21620
c32bde28 21621static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21622 PyObject *resultobj;
21623 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21624 wxPrintData *arg2 = 0 ;
21625 PyObject * obj0 = 0 ;
21626 PyObject * obj1 = 0 ;
21627 char *kwnames[] = {
21628 (char *) "self",(char *) "printData", NULL
21629 };
21630
21631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21634 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
21635 SWIG_POINTER_EXCEPTION | 0)) == -1)
21636 SWIG_fail;
d14a1e28 21637 if (arg2 == NULL) {
15afbcd0
RD
21638 PyErr_SetString(PyExc_TypeError,"null reference");
21639 SWIG_fail;
d14a1e28
RD
21640 }
21641 {
21642 PyThreadState* __tstate = wxPyBeginAllowThreads();
21643 (arg1)->SetPrintData((wxPrintData const &)*arg2);
21644
21645 wxPyEndAllowThreads(__tstate);
21646 if (PyErr_Occurred()) SWIG_fail;
21647 }
21648 Py_INCREF(Py_None); resultobj = Py_None;
21649 return resultobj;
21650 fail:
21651 return NULL;
21652}
21653
21654
c32bde28 21655static PyObject * PrintDialogData_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
21656 PyObject *obj;
21657 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21658 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
21659 Py_INCREF(obj);
21660 return Py_BuildValue((char *)"");
21661}
c32bde28 21662static PyObject *_wrap_new_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21663 PyObject *resultobj;
21664 wxWindow *arg1 = (wxWindow *) 0 ;
21665 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
21666 wxPrintDialog *result;
21667 PyObject * obj0 = 0 ;
21668 PyObject * obj1 = 0 ;
21669 char *kwnames[] = {
21670 (char *) "parent",(char *) "data", NULL
21671 };
21672
21673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 21676 if (obj1) {
15afbcd0
RD
21677 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintDialogData,
21678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21679 }
21680 {
e3b71cb8 21681 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
21682 PyThreadState* __tstate = wxPyBeginAllowThreads();
21683 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
21684
21685 wxPyEndAllowThreads(__tstate);
110da5b0 21686 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 21687 }
15afbcd0 21688 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
d14a1e28
RD
21689 return resultobj;
21690 fail:
21691 return NULL;
21692}
21693
21694
c32bde28 21695static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21696 PyObject *resultobj;
21697 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21698 wxPrintDialogData *result;
21699 PyObject * obj0 = 0 ;
21700 char *kwnames[] = {
21701 (char *) "self", NULL
21702 };
21703
21704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
15afbcd0
RD
21705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21707 {
21708 PyThreadState* __tstate = wxPyBeginAllowThreads();
21709 {
21710 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
21711 result = (wxPrintDialogData *) &_result_ref;
21712 }
21713
21714 wxPyEndAllowThreads(__tstate);
21715 if (PyErr_Occurred()) SWIG_fail;
21716 }
15afbcd0 21717 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
d14a1e28
RD
21718 return resultobj;
21719 fail:
21720 return NULL;
21721}
21722
21723
c32bde28 21724static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21725 PyObject *resultobj;
21726 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21727 wxDC *result;
21728 PyObject * obj0 = 0 ;
21729 char *kwnames[] = {
21730 (char *) "self", NULL
21731 };
21732
21733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
15afbcd0
RD
21734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21736 {
21737 PyThreadState* __tstate = wxPyBeginAllowThreads();
21738 result = (wxDC *)(arg1)->GetPrintDC();
21739
21740 wxPyEndAllowThreads(__tstate);
21741 if (PyErr_Occurred()) SWIG_fail;
21742 }
21743 {
412d302d 21744 resultobj = wxPyMake_wxObject(result, 1);
d14a1e28
RD
21745 }
21746 return resultobj;
21747 fail:
21748 return NULL;
21749}
21750
21751
c32bde28 21752static PyObject *_wrap_PrintDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21753 PyObject *resultobj;
21754 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21755 int result;
21756 PyObject * obj0 = 0 ;
21757 char *kwnames[] = {
21758 (char *) "self", NULL
21759 };
21760
21761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
15afbcd0
RD
21762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21764 {
21765 PyThreadState* __tstate = wxPyBeginAllowThreads();
21766 result = (int)(arg1)->ShowModal();
21767
21768 wxPyEndAllowThreads(__tstate);
21769 if (PyErr_Occurred()) SWIG_fail;
21770 }
c32bde28 21771 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
21772 return resultobj;
21773 fail:
21774 return NULL;
21775}
21776
21777
c32bde28 21778static PyObject * PrintDialog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
21779 PyObject *obj;
21780 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21781 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
21782 Py_INCREF(obj);
21783 return Py_BuildValue((char *)"");
21784}
c32bde28 21785static PyObject *_wrap_new_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21786 PyObject *resultobj;
21787 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
21788 wxPrinter *result;
21789 PyObject * obj0 = 0 ;
21790 char *kwnames[] = {
21791 (char *) "data", NULL
21792 };
21793
21794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
21795 if (obj0) {
15afbcd0
RD
21796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21798 }
21799 {
e3b71cb8 21800 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
21801 PyThreadState* __tstate = wxPyBeginAllowThreads();
21802 result = (wxPrinter *)new wxPrinter(arg1);
21803
21804 wxPyEndAllowThreads(__tstate);
110da5b0 21805 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 21806 }
15afbcd0 21807 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
d14a1e28
RD
21808 return resultobj;
21809 fail:
21810 return NULL;
21811}
21812
21813
c32bde28 21814static PyObject *_wrap_delete_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21815 PyObject *resultobj;
21816 wxPrinter *arg1 = (wxPrinter *) 0 ;
21817 PyObject * obj0 = 0 ;
21818 char *kwnames[] = {
21819 (char *) "self", NULL
21820 };
21821
21822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
15afbcd0
RD
21823 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21825 {
21826 PyThreadState* __tstate = wxPyBeginAllowThreads();
21827 delete arg1;
21828
21829 wxPyEndAllowThreads(__tstate);
21830 if (PyErr_Occurred()) SWIG_fail;
21831 }
21832 Py_INCREF(Py_None); resultobj = Py_None;
21833 return resultobj;
21834 fail:
21835 return NULL;
21836}
21837
21838
c32bde28 21839static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21840 PyObject *resultobj;
21841 wxPrinter *arg1 = (wxPrinter *) 0 ;
21842 wxWindow *arg2 = (wxWindow *) 0 ;
21843 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21844 PyObject * obj0 = 0 ;
21845 PyObject * obj1 = 0 ;
21846 PyObject * obj2 = 0 ;
21847 char *kwnames[] = {
21848 (char *) "self",(char *) "parent",(char *) "printout", NULL
21849 };
21850
21851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
21852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21854 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21856 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21858 {
21859 PyThreadState* __tstate = wxPyBeginAllowThreads();
21860 (arg1)->CreateAbortWindow(arg2,arg3);
21861
21862 wxPyEndAllowThreads(__tstate);
21863 if (PyErr_Occurred()) SWIG_fail;
21864 }
21865 Py_INCREF(Py_None); resultobj = Py_None;
21866 return resultobj;
21867 fail:
21868 return NULL;
21869}
21870
21871
c32bde28 21872static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21873 PyObject *resultobj;
21874 wxPrinter *arg1 = (wxPrinter *) 0 ;
21875 wxPrintDialogData *result;
21876 PyObject * obj0 = 0 ;
21877 char *kwnames[] = {
21878 (char *) "self", NULL
21879 };
21880
21881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
15afbcd0
RD
21882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21884 {
21885 PyThreadState* __tstate = wxPyBeginAllowThreads();
21886 {
21887 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
21888 result = (wxPrintDialogData *) &_result_ref;
21889 }
21890
21891 wxPyEndAllowThreads(__tstate);
21892 if (PyErr_Occurred()) SWIG_fail;
21893 }
15afbcd0 21894 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
d14a1e28
RD
21895 return resultobj;
21896 fail:
21897 return NULL;
21898}
21899
21900
c32bde28 21901static PyObject *_wrap_Printer_Print(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21902 PyObject *resultobj;
21903 wxPrinter *arg1 = (wxPrinter *) 0 ;
21904 wxWindow *arg2 = (wxWindow *) 0 ;
21905 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
e811c8ce 21906 int arg4 = (int) True ;
d14a1e28
RD
21907 bool result;
21908 PyObject * obj0 = 0 ;
21909 PyObject * obj1 = 0 ;
21910 PyObject * obj2 = 0 ;
994141e6 21911 PyObject * obj3 = 0 ;
d14a1e28
RD
21912 char *kwnames[] = {
21913 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
21914 };
21915
994141e6 21916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
21917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21919 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21921 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 21923 if (obj3) {
c32bde28 21924 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 21925 if (PyErr_Occurred()) SWIG_fail;
994141e6 21926 }
d14a1e28
RD
21927 {
21928 PyThreadState* __tstate = wxPyBeginAllowThreads();
21929 result = (bool)(arg1)->Print(arg2,arg3,arg4);
21930
21931 wxPyEndAllowThreads(__tstate);
21932 if (PyErr_Occurred()) SWIG_fail;
21933 }
4f89f6a3
RD
21934 {
21935 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21936 }
d14a1e28
RD
21937 return resultobj;
21938 fail:
21939 return NULL;
21940}
21941
21942
c32bde28 21943static PyObject *_wrap_Printer_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21944 PyObject *resultobj;
21945 wxPrinter *arg1 = (wxPrinter *) 0 ;
21946 wxWindow *arg2 = (wxWindow *) 0 ;
21947 wxDC *result;
21948 PyObject * obj0 = 0 ;
21949 PyObject * obj1 = 0 ;
21950 char *kwnames[] = {
21951 (char *) "self",(char *) "parent", NULL
21952 };
21953
21954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21957 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21959 {
21960 PyThreadState* __tstate = wxPyBeginAllowThreads();
21961 result = (wxDC *)(arg1)->PrintDialog(arg2);
21962
21963 wxPyEndAllowThreads(__tstate);
21964 if (PyErr_Occurred()) SWIG_fail;
21965 }
21966 {
412d302d 21967 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
21968 }
21969 return resultobj;
21970 fail:
21971 return NULL;
21972}
21973
21974
c32bde28 21975static PyObject *_wrap_Printer_ReportError(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21976 PyObject *resultobj;
21977 wxPrinter *arg1 = (wxPrinter *) 0 ;
21978 wxWindow *arg2 = (wxWindow *) 0 ;
21979 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21980 wxString *arg4 = 0 ;
e811c8ce 21981 bool temp4 = False ;
d14a1e28
RD
21982 PyObject * obj0 = 0 ;
21983 PyObject * obj1 = 0 ;
21984 PyObject * obj2 = 0 ;
21985 PyObject * obj3 = 0 ;
21986 char *kwnames[] = {
21987 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
21988 };
21989
21990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
21991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21993 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21995 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21997 {
21998 arg4 = wxString_in_helper(obj3);
21999 if (arg4 == NULL) SWIG_fail;
e811c8ce 22000 temp4 = True;
d14a1e28
RD
22001 }
22002 {
22003 PyThreadState* __tstate = wxPyBeginAllowThreads();
22004 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
22005
22006 wxPyEndAllowThreads(__tstate);
22007 if (PyErr_Occurred()) SWIG_fail;
22008 }
22009 Py_INCREF(Py_None); resultobj = Py_None;
22010 {
22011 if (temp4)
22012 delete arg4;
22013 }
22014 return resultobj;
22015 fail:
22016 {
22017 if (temp4)
22018 delete arg4;
22019 }
22020 return NULL;
22021}
22022
22023
c32bde28 22024static PyObject *_wrap_Printer_Setup(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22025 PyObject *resultobj;
22026 wxPrinter *arg1 = (wxPrinter *) 0 ;
22027 wxWindow *arg2 = (wxWindow *) 0 ;
22028 bool result;
22029 PyObject * obj0 = 0 ;
22030 PyObject * obj1 = 0 ;
22031 char *kwnames[] = {
22032 (char *) "self",(char *) "parent", NULL
22033 };
22034
22035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22038 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22040 {
22041 PyThreadState* __tstate = wxPyBeginAllowThreads();
22042 result = (bool)(arg1)->Setup(arg2);
22043
22044 wxPyEndAllowThreads(__tstate);
22045 if (PyErr_Occurred()) SWIG_fail;
22046 }
4f89f6a3
RD
22047 {
22048 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22049 }
d14a1e28
RD
22050 return resultobj;
22051 fail:
22052 return NULL;
22053}
22054
22055
c32bde28 22056static PyObject *_wrap_Printer_GetAbort(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22057 PyObject *resultobj;
22058 wxPrinter *arg1 = (wxPrinter *) 0 ;
22059 bool result;
22060 PyObject * obj0 = 0 ;
22061 char *kwnames[] = {
22062 (char *) "self", NULL
22063 };
22064
22065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
15afbcd0
RD
22066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22068 {
22069 PyThreadState* __tstate = wxPyBeginAllowThreads();
22070 result = (bool)(arg1)->GetAbort();
22071
22072 wxPyEndAllowThreads(__tstate);
22073 if (PyErr_Occurred()) SWIG_fail;
22074 }
4f89f6a3
RD
22075 {
22076 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22077 }
d14a1e28
RD
22078 return resultobj;
22079 fail:
22080 return NULL;
22081}
22082
22083
c32bde28 22084static PyObject *_wrap_Printer_GetLastError(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22085 PyObject *resultobj;
22086 int result;
22087 char *kwnames[] = {
22088 NULL
22089 };
22090
22091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
22092 {
22093 PyThreadState* __tstate = wxPyBeginAllowThreads();
22094 result = (int)wxPrinter::GetLastError();
22095
22096 wxPyEndAllowThreads(__tstate);
22097 if (PyErr_Occurred()) SWIG_fail;
22098 }
c32bde28 22099 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
22100 return resultobj;
22101 fail:
22102 return NULL;
22103}
22104
22105
c32bde28 22106static PyObject * Printer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
22107 PyObject *obj;
22108 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22109 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
22110 Py_INCREF(obj);
22111 return Py_BuildValue((char *)"");
22112}
c32bde28 22113static PyObject *_wrap_new_Printout(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22114 PyObject *resultobj;
22115 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
22116 wxString *arg1 = (wxString *) &arg1_defvalue ;
22117 wxPyPrintout *result;
e811c8ce 22118 bool temp1 = False ;
d14a1e28
RD
22119 PyObject * obj0 = 0 ;
22120 char *kwnames[] = {
22121 (char *) "title", NULL
22122 };
22123
22124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
22125 if (obj0) {
22126 {
22127 arg1 = wxString_in_helper(obj0);
22128 if (arg1 == NULL) SWIG_fail;
e811c8ce 22129 temp1 = True;
d14a1e28
RD
22130 }
22131 }
22132 {
e3b71cb8 22133 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
22134 PyThreadState* __tstate = wxPyBeginAllowThreads();
22135 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
22136
22137 wxPyEndAllowThreads(__tstate);
110da5b0 22138 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22139 }
22140 {
412d302d 22141 resultobj = wxPyMake_wxObject(result, 1);
d14a1e28
RD
22142 }
22143 {
22144 if (temp1)
22145 delete arg1;
22146 }
22147 return resultobj;
22148 fail:
22149 {
22150 if (temp1)
22151 delete arg1;
22152 }
22153 return NULL;
22154}
22155
22156
c32bde28 22157static PyObject *_wrap_Printout__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22158 PyObject *resultobj;
22159 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22160 PyObject *arg2 = (PyObject *) 0 ;
22161 PyObject *arg3 = (PyObject *) 0 ;
22162 PyObject * obj0 = 0 ;
22163 PyObject * obj1 = 0 ;
22164 PyObject * obj2 = 0 ;
22165 char *kwnames[] = {
22166 (char *) "self",(char *) "self",(char *) "_class", NULL
22167 };
22168
22169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22172 arg2 = obj1;
22173 arg3 = obj2;
22174 {
22175 PyThreadState* __tstate = wxPyBeginAllowThreads();
22176 (arg1)->_setCallbackInfo(arg2,arg3);
22177
22178 wxPyEndAllowThreads(__tstate);
22179 if (PyErr_Occurred()) SWIG_fail;
22180 }
22181 Py_INCREF(Py_None); resultobj = Py_None;
22182 return resultobj;
22183 fail:
22184 return NULL;
22185}
22186
22187
c32bde28 22188static PyObject *_wrap_Printout_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22189 PyObject *resultobj;
22190 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22191 wxString result;
22192 PyObject * obj0 = 0 ;
22193 char *kwnames[] = {
22194 (char *) "self", NULL
22195 };
22196
22197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
15afbcd0
RD
22198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22200 {
22201 PyThreadState* __tstate = wxPyBeginAllowThreads();
22202 result = ((wxPyPrintout const *)arg1)->GetTitle();
22203
22204 wxPyEndAllowThreads(__tstate);
22205 if (PyErr_Occurred()) SWIG_fail;
22206 }
22207 {
22208#if wxUSE_UNICODE
22209 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22210#else
22211 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22212#endif
22213 }
22214 return resultobj;
22215 fail:
22216 return NULL;
22217}
22218
22219
c32bde28 22220static PyObject *_wrap_Printout_GetDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22221 PyObject *resultobj;
22222 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22223 wxDC *result;
22224 PyObject * obj0 = 0 ;
22225 char *kwnames[] = {
22226 (char *) "self", NULL
22227 };
22228
22229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
15afbcd0
RD
22230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22232 {
22233 PyThreadState* __tstate = wxPyBeginAllowThreads();
22234 result = (wxDC *)(arg1)->GetDC();
22235
22236 wxPyEndAllowThreads(__tstate);
22237 if (PyErr_Occurred()) SWIG_fail;
22238 }
22239 {
412d302d 22240 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
22241 }
22242 return resultobj;
22243 fail:
22244 return NULL;
22245}
22246
22247
c32bde28 22248static PyObject *_wrap_Printout_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22249 PyObject *resultobj;
22250 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22251 wxDC *arg2 = (wxDC *) 0 ;
22252 PyObject * obj0 = 0 ;
22253 PyObject * obj1 = 0 ;
22254 char *kwnames[] = {
22255 (char *) "self",(char *) "dc", NULL
22256 };
22257
22258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22261 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22263 {
22264 PyThreadState* __tstate = wxPyBeginAllowThreads();
22265 (arg1)->SetDC(arg2);
22266
22267 wxPyEndAllowThreads(__tstate);
22268 if (PyErr_Occurred()) SWIG_fail;
22269 }
22270 Py_INCREF(Py_None); resultobj = Py_None;
22271 return resultobj;
22272 fail:
22273 return NULL;
22274}
22275
22276
c32bde28 22277static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22278 PyObject *resultobj;
22279 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
322913ce
RD
22280 int arg2 ;
22281 int arg3 ;
d14a1e28 22282 PyObject * obj0 = 0 ;
994141e6
RD
22283 PyObject * obj1 = 0 ;
22284 PyObject * obj2 = 0 ;
d14a1e28 22285 char *kwnames[] = {
322913ce 22286 (char *) "self",(char *) "w",(char *) "h", NULL
d14a1e28
RD
22287 };
22288
994141e6 22289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22292 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 22293 if (PyErr_Occurred()) SWIG_fail;
c32bde28 22294 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 22295 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22296 {
22297 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 22298 (arg1)->SetPageSizePixels(arg2,arg3);
d14a1e28
RD
22299
22300 wxPyEndAllowThreads(__tstate);
22301 if (PyErr_Occurred()) SWIG_fail;
22302 }
22303 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
22304 return resultobj;
22305 fail:
22306 return NULL;
22307}
22308
22309
c32bde28 22310static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22311 PyObject *resultobj;
22312 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
322913ce
RD
22313 int *arg2 = (int *) 0 ;
22314 int *arg3 = (int *) 0 ;
22315 int temp2 ;
c32bde28 22316 int res2 = 0 ;
322913ce 22317 int temp3 ;
c32bde28 22318 int res3 = 0 ;
d14a1e28
RD
22319 PyObject * obj0 = 0 ;
22320 char *kwnames[] = {
322913ce 22321 (char *) "self", NULL
d14a1e28
RD
22322 };
22323
c32bde28
RD
22324 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22325 arg3 = &temp3; res3 = SWIG_NEWOBJ;
322913ce 22326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
15afbcd0
RD
22327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22329 {
22330 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 22331 (arg1)->GetPageSizePixels(arg2,arg3);
d14a1e28
RD
22332
22333 wxPyEndAllowThreads(__tstate);
22334 if (PyErr_Occurred()) SWIG_fail;
22335 }
22336 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
22337 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22338 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22339 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22340 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
22341 return resultobj;
22342 fail:
22343 return NULL;
22344}
22345
22346
c32bde28 22347static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22348 PyObject *resultobj;
22349 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22350 int arg2 ;
22351 int arg3 ;
22352 PyObject * obj0 = 0 ;
994141e6
RD
22353 PyObject * obj1 = 0 ;
22354 PyObject * obj2 = 0 ;
d14a1e28
RD
22355 char *kwnames[] = {
22356 (char *) "self",(char *) "w",(char *) "h", NULL
22357 };
22358
994141e6 22359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22362 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 22363 if (PyErr_Occurred()) SWIG_fail;
c32bde28 22364 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 22365 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22366 {
22367 PyThreadState* __tstate = wxPyBeginAllowThreads();
22368 (arg1)->SetPageSizeMM(arg2,arg3);
22369
22370 wxPyEndAllowThreads(__tstate);
22371 if (PyErr_Occurred()) SWIG_fail;
22372 }
22373 Py_INCREF(Py_None); resultobj = Py_None;
22374 return resultobj;
22375 fail:
22376 return NULL;
22377}
22378
22379
c32bde28 22380static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22381 PyObject *resultobj;
22382 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22383 int *arg2 = (int *) 0 ;
22384 int *arg3 = (int *) 0 ;
22385 int temp2 ;
c32bde28 22386 int res2 = 0 ;
d14a1e28 22387 int temp3 ;
c32bde28 22388 int res3 = 0 ;
d14a1e28
RD
22389 PyObject * obj0 = 0 ;
22390 char *kwnames[] = {
22391 (char *) "self", NULL
22392 };
22393
c32bde28
RD
22394 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22395 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 22396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
15afbcd0
RD
22397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22399 {
22400 PyThreadState* __tstate = wxPyBeginAllowThreads();
22401 (arg1)->GetPageSizeMM(arg2,arg3);
22402
22403 wxPyEndAllowThreads(__tstate);
22404 if (PyErr_Occurred()) SWIG_fail;
22405 }
22406 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
22407 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22408 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22409 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22410 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
22411 return resultobj;
22412 fail:
22413 return NULL;
22414}
22415
22416
c32bde28 22417static PyObject *_wrap_Printout_SetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22418 PyObject *resultobj;
22419 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22420 int arg2 ;
22421 int arg3 ;
22422 PyObject * obj0 = 0 ;
994141e6
RD
22423 PyObject * obj1 = 0 ;
22424 PyObject * obj2 = 0 ;
d14a1e28
RD
22425 char *kwnames[] = {
22426 (char *) "self",(char *) "x",(char *) "y", NULL
22427 };
22428
994141e6 22429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22432 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 22433 if (PyErr_Occurred()) SWIG_fail;
c32bde28 22434 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 22435 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22436 {
22437 PyThreadState* __tstate = wxPyBeginAllowThreads();
22438 (arg1)->SetPPIScreen(arg2,arg3);
22439
22440 wxPyEndAllowThreads(__tstate);
22441 if (PyErr_Occurred()) SWIG_fail;
22442 }
22443 Py_INCREF(Py_None); resultobj = Py_None;
22444 return resultobj;
22445 fail:
22446 return NULL;
22447}
22448
22449
c32bde28 22450static PyObject *_wrap_Printout_GetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22451 PyObject *resultobj;
22452 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22453 int *arg2 = (int *) 0 ;
22454 int *arg3 = (int *) 0 ;
22455 int temp2 ;
c32bde28 22456 int res2 = 0 ;
d14a1e28 22457 int temp3 ;
c32bde28 22458 int res3 = 0 ;
d14a1e28
RD
22459 PyObject * obj0 = 0 ;
22460 char *kwnames[] = {
22461 (char *) "self", NULL
22462 };
22463
c32bde28
RD
22464 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22465 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 22466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
15afbcd0
RD
22467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22469 {
22470 PyThreadState* __tstate = wxPyBeginAllowThreads();
22471 (arg1)->GetPPIScreen(arg2,arg3);
22472
22473 wxPyEndAllowThreads(__tstate);
22474 if (PyErr_Occurred()) SWIG_fail;
22475 }
22476 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
22477 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22478 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22479 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22480 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
22481 return resultobj;
22482 fail:
22483 return NULL;
22484}
22485
22486
c32bde28 22487static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22488 PyObject *resultobj;
22489 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22490 int arg2 ;
22491 int arg3 ;
22492 PyObject * obj0 = 0 ;
994141e6
RD
22493 PyObject * obj1 = 0 ;
22494 PyObject * obj2 = 0 ;
d14a1e28
RD
22495 char *kwnames[] = {
22496 (char *) "self",(char *) "x",(char *) "y", NULL
22497 };
22498
994141e6 22499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22502 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 22503 if (PyErr_Occurred()) SWIG_fail;
c32bde28 22504 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 22505 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22506 {
22507 PyThreadState* __tstate = wxPyBeginAllowThreads();
22508 (arg1)->SetPPIPrinter(arg2,arg3);
22509
22510 wxPyEndAllowThreads(__tstate);
22511 if (PyErr_Occurred()) SWIG_fail;
22512 }
22513 Py_INCREF(Py_None); resultobj = Py_None;
22514 return resultobj;
22515 fail:
22516 return NULL;
22517}
22518
22519
c32bde28 22520static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22521 PyObject *resultobj;
22522 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22523 int *arg2 = (int *) 0 ;
22524 int *arg3 = (int *) 0 ;
22525 int temp2 ;
c32bde28 22526 int res2 = 0 ;
d14a1e28 22527 int temp3 ;
c32bde28 22528 int res3 = 0 ;
d14a1e28
RD
22529 PyObject * obj0 = 0 ;
22530 char *kwnames[] = {
22531 (char *) "self", NULL
22532 };
22533
c32bde28
RD
22534 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22535 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 22536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
15afbcd0
RD
22537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22539 {
22540 PyThreadState* __tstate = wxPyBeginAllowThreads();
22541 (arg1)->GetPPIPrinter(arg2,arg3);
22542
22543 wxPyEndAllowThreads(__tstate);
22544 if (PyErr_Occurred()) SWIG_fail;
22545 }
22546 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
22547 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22548 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22549 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22550 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
22551 return resultobj;
22552 fail:
22553 return NULL;
22554}
22555
22556
c32bde28 22557static PyObject *_wrap_Printout_IsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22558 PyObject *resultobj;
22559 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22560 bool result;
22561 PyObject * obj0 = 0 ;
22562 char *kwnames[] = {
22563 (char *) "self", NULL
22564 };
22565
22566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
15afbcd0
RD
22567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22569 {
22570 PyThreadState* __tstate = wxPyBeginAllowThreads();
22571 result = (bool)(arg1)->IsPreview();
22572
22573 wxPyEndAllowThreads(__tstate);
22574 if (PyErr_Occurred()) SWIG_fail;
22575 }
4f89f6a3
RD
22576 {
22577 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22578 }
d14a1e28
RD
22579 return resultobj;
22580 fail:
22581 return NULL;
22582}
22583
22584
c32bde28 22585static PyObject *_wrap_Printout_SetIsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22586 PyObject *resultobj;
22587 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22588 bool arg2 ;
22589 PyObject * obj0 = 0 ;
22590 PyObject * obj1 = 0 ;
22591 char *kwnames[] = {
22592 (char *) "self",(char *) "p", NULL
22593 };
22594
22595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22598 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 22599 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22600 {
22601 PyThreadState* __tstate = wxPyBeginAllowThreads();
22602 (arg1)->SetIsPreview(arg2);
22603
22604 wxPyEndAllowThreads(__tstate);
22605 if (PyErr_Occurred()) SWIG_fail;
22606 }
22607 Py_INCREF(Py_None); resultobj = Py_None;
22608 return resultobj;
22609 fail:
22610 return NULL;
22611}
22612
22613
c32bde28 22614static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22615 PyObject *resultobj;
22616 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22617 int arg2 ;
22618 int arg3 ;
22619 bool result;
22620 PyObject * obj0 = 0 ;
994141e6
RD
22621 PyObject * obj1 = 0 ;
22622 PyObject * obj2 = 0 ;
d14a1e28
RD
22623 char *kwnames[] = {
22624 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
22625 };
22626
994141e6 22627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22630 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 22631 if (PyErr_Occurred()) SWIG_fail;
c32bde28 22632 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 22633 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22634 {
22635 PyThreadState* __tstate = wxPyBeginAllowThreads();
22636 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
22637
22638 wxPyEndAllowThreads(__tstate);
22639 if (PyErr_Occurred()) SWIG_fail;
22640 }
4f89f6a3
RD
22641 {
22642 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22643 }
d14a1e28
RD
22644 return resultobj;
22645 fail:
22646 return NULL;
22647}
22648
22649
c32bde28 22650static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22651 PyObject *resultobj;
22652 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22653 PyObject * obj0 = 0 ;
22654 char *kwnames[] = {
22655 (char *) "self", NULL
22656 };
22657
22658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
15afbcd0
RD
22659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22661 {
22662 PyThreadState* __tstate = wxPyBeginAllowThreads();
22663 (arg1)->base_OnEndDocument();
22664
22665 wxPyEndAllowThreads(__tstate);
22666 if (PyErr_Occurred()) SWIG_fail;
22667 }
22668 Py_INCREF(Py_None); resultobj = Py_None;
22669 return resultobj;
22670 fail:
22671 return NULL;
22672}
22673
22674
c32bde28 22675static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22676 PyObject *resultobj;
22677 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22678 PyObject * obj0 = 0 ;
22679 char *kwnames[] = {
22680 (char *) "self", NULL
22681 };
22682
22683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
15afbcd0
RD
22684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22686 {
22687 PyThreadState* __tstate = wxPyBeginAllowThreads();
22688 (arg1)->base_OnBeginPrinting();
22689
22690 wxPyEndAllowThreads(__tstate);
22691 if (PyErr_Occurred()) SWIG_fail;
22692 }
22693 Py_INCREF(Py_None); resultobj = Py_None;
22694 return resultobj;
22695 fail:
22696 return NULL;
22697}
22698
22699
c32bde28 22700static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22701 PyObject *resultobj;
22702 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22703 PyObject * obj0 = 0 ;
22704 char *kwnames[] = {
22705 (char *) "self", NULL
22706 };
22707
22708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
15afbcd0
RD
22709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22711 {
22712 PyThreadState* __tstate = wxPyBeginAllowThreads();
22713 (arg1)->base_OnEndPrinting();
22714
22715 wxPyEndAllowThreads(__tstate);
22716 if (PyErr_Occurred()) SWIG_fail;
22717 }
22718 Py_INCREF(Py_None); resultobj = Py_None;
22719 return resultobj;
22720 fail:
22721 return NULL;
22722}
22723
22724
c32bde28 22725static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22726 PyObject *resultobj;
22727 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22728 PyObject * obj0 = 0 ;
22729 char *kwnames[] = {
22730 (char *) "self", NULL
22731 };
22732
22733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
15afbcd0
RD
22734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22736 {
22737 PyThreadState* __tstate = wxPyBeginAllowThreads();
22738 (arg1)->base_OnPreparePrinting();
22739
22740 wxPyEndAllowThreads(__tstate);
22741 if (PyErr_Occurred()) SWIG_fail;
22742 }
22743 Py_INCREF(Py_None); resultobj = Py_None;
22744 return resultobj;
22745 fail:
22746 return NULL;
22747}
22748
22749
c32bde28 22750static PyObject *_wrap_Printout_base_HasPage(PyObject *, PyObject *args, PyObject *kwargs) {
322913ce
RD
22751 PyObject *resultobj;
22752 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22753 int arg2 ;
22754 bool result;
22755 PyObject * obj0 = 0 ;
994141e6 22756 PyObject * obj1 = 0 ;
322913ce
RD
22757 char *kwnames[] = {
22758 (char *) "self",(char *) "page", NULL
22759 };
22760
994141e6 22761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22764 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 22765 if (PyErr_Occurred()) SWIG_fail;
322913ce
RD
22766 {
22767 PyThreadState* __tstate = wxPyBeginAllowThreads();
22768 result = (bool)(arg1)->base_HasPage(arg2);
22769
22770 wxPyEndAllowThreads(__tstate);
22771 if (PyErr_Occurred()) SWIG_fail;
22772 }
4f89f6a3
RD
22773 {
22774 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22775 }
322913ce
RD
22776 return resultobj;
22777 fail:
22778 return NULL;
22779}
22780
22781
c32bde28 22782static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22783 PyObject *resultobj;
22784 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22785 int *arg2 = (int *) 0 ;
22786 int *arg3 = (int *) 0 ;
22787 int *arg4 = (int *) 0 ;
22788 int *arg5 = (int *) 0 ;
22789 int temp2 ;
c32bde28 22790 int res2 = 0 ;
d14a1e28 22791 int temp3 ;
c32bde28 22792 int res3 = 0 ;
d14a1e28 22793 int temp4 ;
c32bde28 22794 int res4 = 0 ;
d14a1e28 22795 int temp5 ;
c32bde28 22796 int res5 = 0 ;
d14a1e28
RD
22797 PyObject * obj0 = 0 ;
22798 char *kwnames[] = {
22799 (char *) "self", NULL
22800 };
22801
c32bde28
RD
22802 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22803 arg3 = &temp3; res3 = SWIG_NEWOBJ;
22804 arg4 = &temp4; res4 = SWIG_NEWOBJ;
22805 arg5 = &temp5; res5 = SWIG_NEWOBJ;
d14a1e28 22806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
15afbcd0
RD
22807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22809 {
22810 PyThreadState* __tstate = wxPyBeginAllowThreads();
22811 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
22812
22813 wxPyEndAllowThreads(__tstate);
22814 if (PyErr_Occurred()) SWIG_fail;
22815 }
22816 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
22817 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22818 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22819 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22820 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
22821 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
22822 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
22823 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
22824 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
d14a1e28
RD
22825 return resultobj;
22826 fail:
22827 return NULL;
22828}
22829
22830
c32bde28 22831static PyObject * Printout_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
22832 PyObject *obj;
22833 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22834 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
22835 Py_INCREF(obj);
22836 return Py_BuildValue((char *)"");
22837}
c32bde28 22838static PyObject *_wrap_new_PreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22839 PyObject *resultobj;
22840 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22841 wxWindow *arg2 = (wxWindow *) 0 ;
22842 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22843 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22844 wxSize const &arg4_defvalue = wxDefaultSize ;
22845 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22846 long arg5 = (long) 0 ;
22847 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
22848 wxString *arg6 = (wxString *) &arg6_defvalue ;
22849 wxPreviewCanvas *result;
22850 wxPoint temp3 ;
22851 wxSize temp4 ;
e811c8ce 22852 bool temp6 = False ;
d14a1e28
RD
22853 PyObject * obj0 = 0 ;
22854 PyObject * obj1 = 0 ;
22855 PyObject * obj2 = 0 ;
22856 PyObject * obj3 = 0 ;
994141e6 22857 PyObject * obj4 = 0 ;
d14a1e28
RD
22858 PyObject * obj5 = 0 ;
22859 char *kwnames[] = {
22860 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22861 };
22862
994141e6 22863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
22864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22866 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22868 if (obj2) {
22869 {
22870 arg3 = &temp3;
22871 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22872 }
22873 }
22874 if (obj3) {
22875 {
22876 arg4 = &temp4;
22877 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22878 }
22879 }
994141e6 22880 if (obj4) {
c32bde28 22881 arg5 = (long)SWIG_As_long(obj4);
15afbcd0 22882 if (PyErr_Occurred()) SWIG_fail;
994141e6 22883 }
d14a1e28
RD
22884 if (obj5) {
22885 {
22886 arg6 = wxString_in_helper(obj5);
22887 if (arg6 == NULL) SWIG_fail;
e811c8ce 22888 temp6 = True;
d14a1e28
RD
22889 }
22890 }
22891 {
e3b71cb8 22892 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
22893 PyThreadState* __tstate = wxPyBeginAllowThreads();
22894 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22895
22896 wxPyEndAllowThreads(__tstate);
110da5b0 22897 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 22898 }
15afbcd0 22899 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
d14a1e28
RD
22900 {
22901 if (temp6)
22902 delete arg6;
22903 }
22904 return resultobj;
22905 fail:
22906 {
22907 if (temp6)
22908 delete arg6;
22909 }
22910 return NULL;
22911}
22912
22913
c32bde28 22914static PyObject * PreviewCanvas_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
22915 PyObject *obj;
22916 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22917 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
22918 Py_INCREF(obj);
22919 return Py_BuildValue((char *)"");
22920}
c32bde28 22921static PyObject *_wrap_new_PreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22922 PyObject *resultobj;
22923 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22924 wxFrame *arg2 = (wxFrame *) 0 ;
22925 wxString *arg3 = 0 ;
22926 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22927 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22928 wxSize const &arg5_defvalue = wxDefaultSize ;
22929 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22930 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
22931 wxString const &arg7_defvalue = wxPyFrameNameStr ;
22932 wxString *arg7 = (wxString *) &arg7_defvalue ;
22933 wxPreviewFrame *result;
e811c8ce 22934 bool temp3 = False ;
d14a1e28
RD
22935 wxPoint temp4 ;
22936 wxSize temp5 ;
e811c8ce 22937 bool temp7 = False ;
d14a1e28
RD
22938 PyObject * obj0 = 0 ;
22939 PyObject * obj1 = 0 ;
22940 PyObject * obj2 = 0 ;
22941 PyObject * obj3 = 0 ;
22942 PyObject * obj4 = 0 ;
994141e6 22943 PyObject * obj5 = 0 ;
d14a1e28
RD
22944 PyObject * obj6 = 0 ;
22945 char *kwnames[] = {
22946 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22947 };
22948
994141e6 22949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
22950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22952 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
22953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22954 {
22955 arg3 = wxString_in_helper(obj2);
22956 if (arg3 == NULL) SWIG_fail;
e811c8ce 22957 temp3 = True;
d14a1e28
RD
22958 }
22959 if (obj3) {
22960 {
22961 arg4 = &temp4;
22962 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22963 }
22964 }
22965 if (obj4) {
22966 {
22967 arg5 = &temp5;
22968 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22969 }
22970 }
994141e6 22971 if (obj5) {
c32bde28 22972 arg6 = (long)SWIG_As_long(obj5);
15afbcd0 22973 if (PyErr_Occurred()) SWIG_fail;
994141e6 22974 }
d14a1e28
RD
22975 if (obj6) {
22976 {
22977 arg7 = wxString_in_helper(obj6);
22978 if (arg7 == NULL) SWIG_fail;
e811c8ce 22979 temp7 = True;
d14a1e28
RD
22980 }
22981 }
22982 {
e3b71cb8 22983 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
22984 PyThreadState* __tstate = wxPyBeginAllowThreads();
22985 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22986
22987 wxPyEndAllowThreads(__tstate);
110da5b0 22988 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 22989 }
15afbcd0 22990 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
d14a1e28
RD
22991 {
22992 if (temp3)
22993 delete arg3;
22994 }
22995 {
22996 if (temp7)
22997 delete arg7;
22998 }
22999 return resultobj;
23000 fail:
23001 {
23002 if (temp3)
23003 delete arg3;
23004 }
23005 {
23006 if (temp7)
23007 delete arg7;
23008 }
23009 return NULL;
23010}
23011
23012
c32bde28 23013static PyObject *_wrap_PreviewFrame_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23014 PyObject *resultobj;
23015 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
23016 PyObject * obj0 = 0 ;
23017 char *kwnames[] = {
23018 (char *) "self", NULL
23019 };
23020
23021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
15afbcd0
RD
23022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
23023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23024 {
23025 PyThreadState* __tstate = wxPyBeginAllowThreads();
23026 (arg1)->Initialize();
23027
23028 wxPyEndAllowThreads(__tstate);
23029 if (PyErr_Occurred()) SWIG_fail;
23030 }
23031 Py_INCREF(Py_None); resultobj = Py_None;
23032 return resultobj;
23033 fail:
23034 return NULL;
23035}
23036
23037
c32bde28 23038static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23039 PyObject *resultobj;
23040 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
23041 PyObject * obj0 = 0 ;
23042 char *kwnames[] = {
23043 (char *) "self", NULL
23044 };
23045
23046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
15afbcd0
RD
23047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
23048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23049 {
23050 PyThreadState* __tstate = wxPyBeginAllowThreads();
23051 (arg1)->CreateControlBar();
23052
23053 wxPyEndAllowThreads(__tstate);
23054 if (PyErr_Occurred()) SWIG_fail;
23055 }
23056 Py_INCREF(Py_None); resultobj = Py_None;
23057 return resultobj;
23058 fail:
23059 return NULL;
23060}
23061
23062
c32bde28 23063static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23064 PyObject *resultobj;
23065 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
23066 PyObject * obj0 = 0 ;
23067 char *kwnames[] = {
23068 (char *) "self", NULL
23069 };
23070
23071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
15afbcd0
RD
23072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
23073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23074 {
23075 PyThreadState* __tstate = wxPyBeginAllowThreads();
23076 (arg1)->CreateCanvas();
23077
23078 wxPyEndAllowThreads(__tstate);
23079 if (PyErr_Occurred()) SWIG_fail;
23080 }
23081 Py_INCREF(Py_None); resultobj = Py_None;
23082 return resultobj;
23083 fail:
23084 return NULL;
23085}
23086
23087
c32bde28 23088static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23089 PyObject *resultobj;
23090 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
23091 wxPreviewControlBar *result;
23092 PyObject * obj0 = 0 ;
23093 char *kwnames[] = {
23094 (char *) "self", NULL
23095 };
23096
23097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
15afbcd0
RD
23098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
23099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23100 {
23101 PyThreadState* __tstate = wxPyBeginAllowThreads();
23102 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
23103
23104 wxPyEndAllowThreads(__tstate);
23105 if (PyErr_Occurred()) SWIG_fail;
23106 }
15afbcd0 23107 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
d14a1e28
RD
23108 return resultobj;
23109 fail:
23110 return NULL;
23111}
23112
23113
c32bde28 23114static PyObject * PreviewFrame_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
23115 PyObject *obj;
23116 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23117 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
23118 Py_INCREF(obj);
23119 return Py_BuildValue((char *)"");
23120}
c32bde28 23121static PyObject *_wrap_new_PreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23122 PyObject *resultobj;
23123 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23124 long arg2 ;
23125 wxWindow *arg3 = (wxWindow *) 0 ;
23126 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23127 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23128 wxSize const &arg5_defvalue = wxDefaultSize ;
23129 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23130 long arg6 = (long) wxTAB_TRAVERSAL ;
23131 wxString const &arg7_defvalue = wxPyPanelNameStr ;
23132 wxString *arg7 = (wxString *) &arg7_defvalue ;
23133 wxPreviewControlBar *result;
23134 wxPoint temp4 ;
23135 wxSize temp5 ;
e811c8ce 23136 bool temp7 = False ;
d14a1e28 23137 PyObject * obj0 = 0 ;
994141e6 23138 PyObject * obj1 = 0 ;
d14a1e28
RD
23139 PyObject * obj2 = 0 ;
23140 PyObject * obj3 = 0 ;
23141 PyObject * obj4 = 0 ;
994141e6 23142 PyObject * obj5 = 0 ;
d14a1e28
RD
23143 PyObject * obj6 = 0 ;
23144 char *kwnames[] = {
23145 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23146 };
23147
994141e6 23148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
23149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 23151 arg2 = (long)SWIG_As_long(obj1);
15afbcd0
RD
23152 if (PyErr_Occurred()) SWIG_fail;
23153 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
23154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23155 if (obj3) {
23156 {
23157 arg4 = &temp4;
23158 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23159 }
23160 }
23161 if (obj4) {
23162 {
23163 arg5 = &temp5;
23164 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23165 }
23166 }
994141e6 23167 if (obj5) {
c32bde28 23168 arg6 = (long)SWIG_As_long(obj5);
15afbcd0 23169 if (PyErr_Occurred()) SWIG_fail;
994141e6 23170 }
d14a1e28
RD
23171 if (obj6) {
23172 {
23173 arg7 = wxString_in_helper(obj6);
23174 if (arg7 == NULL) SWIG_fail;
e811c8ce 23175 temp7 = True;
d14a1e28
RD
23176 }
23177 }
23178 {
e3b71cb8 23179 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
23180 PyThreadState* __tstate = wxPyBeginAllowThreads();
23181 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
23182
23183 wxPyEndAllowThreads(__tstate);
110da5b0 23184 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 23185 }
15afbcd0 23186 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
d14a1e28
RD
23187 {
23188 if (temp7)
23189 delete arg7;
23190 }
23191 return resultobj;
23192 fail:
23193 {
23194 if (temp7)
23195 delete arg7;
23196 }
23197 return NULL;
23198}
23199
23200
c32bde28 23201static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23202 PyObject *resultobj;
23203 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23204 int result;
23205 PyObject * obj0 = 0 ;
23206 char *kwnames[] = {
23207 (char *) "self", NULL
23208 };
23209
23210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
15afbcd0
RD
23211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23213 {
23214 PyThreadState* __tstate = wxPyBeginAllowThreads();
23215 result = (int)(arg1)->GetZoomControl();
23216
23217 wxPyEndAllowThreads(__tstate);
23218 if (PyErr_Occurred()) SWIG_fail;
23219 }
c32bde28 23220 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
23221 return resultobj;
23222 fail:
23223 return NULL;
23224}
23225
23226
c32bde28 23227static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23228 PyObject *resultobj;
23229 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23230 int arg2 ;
23231 PyObject * obj0 = 0 ;
994141e6 23232 PyObject * obj1 = 0 ;
d14a1e28
RD
23233 char *kwnames[] = {
23234 (char *) "self",(char *) "zoom", NULL
23235 };
23236
994141e6 23237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 23240 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 23241 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23242 {
23243 PyThreadState* __tstate = wxPyBeginAllowThreads();
23244 (arg1)->SetZoomControl(arg2);
23245
23246 wxPyEndAllowThreads(__tstate);
23247 if (PyErr_Occurred()) SWIG_fail;
23248 }
23249 Py_INCREF(Py_None); resultobj = Py_None;
23250 return resultobj;
23251 fail:
23252 return NULL;
23253}
23254
23255
c32bde28 23256static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23257 PyObject *resultobj;
23258 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23259 wxPrintPreview *result;
23260 PyObject * obj0 = 0 ;
23261 char *kwnames[] = {
23262 (char *) "self", NULL
23263 };
23264
23265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
15afbcd0
RD
23266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23268 {
23269 PyThreadState* __tstate = wxPyBeginAllowThreads();
23270 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
23271
23272 wxPyEndAllowThreads(__tstate);
23273 if (PyErr_Occurred()) SWIG_fail;
23274 }
15afbcd0 23275 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
d14a1e28
RD
23276 return resultobj;
23277 fail:
23278 return NULL;
23279}
23280
23281
c32bde28 23282static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23283 PyObject *resultobj;
23284 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23285 PyObject * obj0 = 0 ;
23286 char *kwnames[] = {
23287 (char *) "self", NULL
23288 };
23289
23290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
15afbcd0
RD
23291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23293 {
23294 PyThreadState* __tstate = wxPyBeginAllowThreads();
23295 (arg1)->OnNext();
23296
23297 wxPyEndAllowThreads(__tstate);
23298 if (PyErr_Occurred()) SWIG_fail;
23299 }
23300 Py_INCREF(Py_None); resultobj = Py_None;
23301 return resultobj;
23302 fail:
23303 return NULL;
23304}
23305
23306
c32bde28 23307static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23308 PyObject *resultobj;
23309 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23310 PyObject * obj0 = 0 ;
23311 char *kwnames[] = {
23312 (char *) "self", NULL
23313 };
23314
23315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
15afbcd0
RD
23316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23318 {
23319 PyThreadState* __tstate = wxPyBeginAllowThreads();
23320 (arg1)->OnPrevious();
23321
23322 wxPyEndAllowThreads(__tstate);
23323 if (PyErr_Occurred()) SWIG_fail;
23324 }
23325 Py_INCREF(Py_None); resultobj = Py_None;
23326 return resultobj;
23327 fail:
23328 return NULL;
23329}
23330
23331
c32bde28 23332static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23333 PyObject *resultobj;
23334 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23335 PyObject * obj0 = 0 ;
23336 char *kwnames[] = {
23337 (char *) "self", NULL
23338 };
23339
23340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
15afbcd0
RD
23341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23343 {
23344 PyThreadState* __tstate = wxPyBeginAllowThreads();
23345 (arg1)->OnFirst();
23346
23347 wxPyEndAllowThreads(__tstate);
23348 if (PyErr_Occurred()) SWIG_fail;
23349 }
23350 Py_INCREF(Py_None); resultobj = Py_None;
23351 return resultobj;
23352 fail:
23353 return NULL;
23354}
23355
23356
c32bde28 23357static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23358 PyObject *resultobj;
23359 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23360 PyObject * obj0 = 0 ;
23361 char *kwnames[] = {
23362 (char *) "self", NULL
23363 };
23364
23365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
15afbcd0
RD
23366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23368 {
23369 PyThreadState* __tstate = wxPyBeginAllowThreads();
23370 (arg1)->OnLast();
23371
23372 wxPyEndAllowThreads(__tstate);
23373 if (PyErr_Occurred()) SWIG_fail;
23374 }
23375 Py_INCREF(Py_None); resultobj = Py_None;
23376 return resultobj;
23377 fail:
23378 return NULL;
23379}
23380
23381
c32bde28 23382static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23383 PyObject *resultobj;
23384 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23385 PyObject * obj0 = 0 ;
23386 char *kwnames[] = {
23387 (char *) "self", NULL
23388 };
23389
23390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
15afbcd0
RD
23391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23393 {
23394 PyThreadState* __tstate = wxPyBeginAllowThreads();
23395 (arg1)->OnGoto();
23396
23397 wxPyEndAllowThreads(__tstate);
23398 if (PyErr_Occurred()) SWIG_fail;
23399 }
23400 Py_INCREF(Py_None); resultobj = Py_None;
23401 return resultobj;
23402 fail:
23403 return NULL;
23404}
23405
23406
c32bde28 23407static PyObject * PreviewControlBar_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
23408 PyObject *obj;
23409 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23410 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
23411 Py_INCREF(obj);
23412 return Py_BuildValue((char *)"");
23413}
c32bde28 23414static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
23415 PyObject *resultobj;
23416 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23417 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
4276dc52 23418 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
d14a1e28
RD
23419 wxPrintPreview *result;
23420 PyObject * obj0 = 0 ;
23421 PyObject * obj1 = 0 ;
23422 PyObject * obj2 = 0 ;
d14a1e28 23423
4276dc52 23424 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
23425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23427 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 23429 if (obj2) {
4276dc52 23430 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
15afbcd0 23431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23432 }
23433 {
e3b71cb8 23434 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
23435 PyThreadState* __tstate = wxPyBeginAllowThreads();
23436 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
23437
23438 wxPyEndAllowThreads(__tstate);
110da5b0 23439 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 23440 }
15afbcd0 23441 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
d14a1e28
RD
23442 return resultobj;
23443 fail:
23444 return NULL;
23445}
23446
23447
c32bde28 23448static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *, PyObject *args) {
4276dc52
RD
23449 PyObject *resultobj;
23450 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23451 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23452 wxPrintData *arg3 = (wxPrintData *) 0 ;
23453 wxPrintPreview *result;
23454 PyObject * obj0 = 0 ;
23455 PyObject * obj1 = 0 ;
23456 PyObject * obj2 = 0 ;
23457
23458 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
23459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23461 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23463 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
23464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23465 {
e3b71cb8 23466 if (!wxPyCheckForApp()) SWIG_fail;
4276dc52
RD
23467 PyThreadState* __tstate = wxPyBeginAllowThreads();
23468 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
23469
23470 wxPyEndAllowThreads(__tstate);
110da5b0 23471 if (PyErr_Occurred()) SWIG_fail;
4276dc52
RD
23472 }
23473 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
23474 return resultobj;
23475 fail:
23476 return NULL;
23477}
23478
23479
23480static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
23481 int argc;
23482 PyObject *argv[4];
23483 int ii;
23484
23485 argc = PyObject_Length(args);
23486 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
23487 argv[ii] = PyTuple_GetItem(args,ii);
23488 }
23489 if ((argc >= 2) && (argc <= 3)) {
23490 int _v;
23491 {
23492 void *ptr;
23493 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23494 _v = 0;
23495 PyErr_Clear();
23496 } else {
23497 _v = 1;
23498 }
23499 }
23500 if (_v) {
23501 {
23502 void *ptr;
23503 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23504 _v = 0;
23505 PyErr_Clear();
23506 } else {
23507 _v = 1;
23508 }
23509 }
23510 if (_v) {
23511 if (argc <= 2) {
23512 return _wrap_new_PrintPreview__SWIG_0(self,args);
23513 }
23514 {
23515 void *ptr;
23516 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
23517 _v = 0;
23518 PyErr_Clear();
23519 } else {
23520 _v = 1;
23521 }
23522 }
23523 if (_v) {
23524 return _wrap_new_PrintPreview__SWIG_0(self,args);
23525 }
23526 }
23527 }
23528 }
23529 if (argc == 3) {
23530 int _v;
23531 {
23532 void *ptr;
23533 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23534 _v = 0;
23535 PyErr_Clear();
23536 } else {
23537 _v = 1;
23538 }
23539 }
23540 if (_v) {
23541 {
23542 void *ptr;
23543 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23544 _v = 0;
23545 PyErr_Clear();
23546 } else {
23547 _v = 1;
23548 }
23549 }
23550 if (_v) {
23551 {
23552 void *ptr;
23553 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
23554 _v = 0;
23555 PyErr_Clear();
23556 } else {
23557 _v = 1;
23558 }
23559 }
23560 if (_v) {
23561 return _wrap_new_PrintPreview__SWIG_1(self,args);
23562 }
23563 }
23564 }
23565 }
23566
23567 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintPreview'");
23568 return NULL;
23569}
23570
23571
c32bde28 23572static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23573 PyObject *resultobj;
23574 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23575 int arg2 ;
23576 bool result;
23577 PyObject * obj0 = 0 ;
994141e6 23578 PyObject * obj1 = 0 ;
d14a1e28
RD
23579 char *kwnames[] = {
23580 (char *) "self",(char *) "pageNum", NULL
23581 };
23582
994141e6 23583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 23586 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 23587 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23588 {
23589 PyThreadState* __tstate = wxPyBeginAllowThreads();
23590 result = (bool)(arg1)->SetCurrentPage(arg2);
23591
23592 wxPyEndAllowThreads(__tstate);
23593 if (PyErr_Occurred()) SWIG_fail;
23594 }
4f89f6a3
RD
23595 {
23596 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23597 }
d14a1e28
RD
23598 return resultobj;
23599 fail:
23600 return NULL;
23601}
23602
23603
c32bde28 23604static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23605 PyObject *resultobj;
23606 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23607 int result;
23608 PyObject * obj0 = 0 ;
23609 char *kwnames[] = {
23610 (char *) "self", NULL
23611 };
23612
23613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
15afbcd0
RD
23614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23616 {
23617 PyThreadState* __tstate = wxPyBeginAllowThreads();
23618 result = (int)(arg1)->GetCurrentPage();
23619
23620 wxPyEndAllowThreads(__tstate);
23621 if (PyErr_Occurred()) SWIG_fail;
23622 }
c32bde28 23623 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
23624 return resultobj;
23625 fail:
23626 return NULL;
23627}
23628
23629
c32bde28 23630static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23631 PyObject *resultobj;
23632 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23633 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23634 PyObject * obj0 = 0 ;
23635 PyObject * obj1 = 0 ;
23636 char *kwnames[] = {
23637 (char *) "self",(char *) "printout", NULL
23638 };
23639
23640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23643 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23645 {
23646 PyThreadState* __tstate = wxPyBeginAllowThreads();
23647 (arg1)->SetPrintout(arg2);
23648
23649 wxPyEndAllowThreads(__tstate);
23650 if (PyErr_Occurred()) SWIG_fail;
23651 }
23652 Py_INCREF(Py_None); resultobj = Py_None;
23653 return resultobj;
23654 fail:
23655 return NULL;
23656}
23657
23658
c32bde28 23659static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23660 PyObject *resultobj;
23661 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23662 wxPyPrintout *result;
23663 PyObject * obj0 = 0 ;
23664 char *kwnames[] = {
23665 (char *) "self", NULL
23666 };
23667
23668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
15afbcd0
RD
23669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23671 {
23672 PyThreadState* __tstate = wxPyBeginAllowThreads();
23673 result = (wxPyPrintout *)(arg1)->GetPrintout();
23674
23675 wxPyEndAllowThreads(__tstate);
23676 if (PyErr_Occurred()) SWIG_fail;
23677 }
23678 {
412d302d 23679 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
23680 }
23681 return resultobj;
23682 fail:
23683 return NULL;
23684}
23685
23686
c32bde28 23687static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23688 PyObject *resultobj;
23689 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23690 wxPyPrintout *result;
23691 PyObject * obj0 = 0 ;
23692 char *kwnames[] = {
23693 (char *) "self", NULL
23694 };
23695
23696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
15afbcd0
RD
23697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23699 {
23700 PyThreadState* __tstate = wxPyBeginAllowThreads();
23701 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
23702
23703 wxPyEndAllowThreads(__tstate);
23704 if (PyErr_Occurred()) SWIG_fail;
23705 }
23706 {
412d302d 23707 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
23708 }
23709 return resultobj;
23710 fail:
23711 return NULL;
23712}
23713
23714
c32bde28 23715static PyObject *_wrap_PrintPreview_SetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23716 PyObject *resultobj;
23717 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23718 wxFrame *arg2 = (wxFrame *) 0 ;
23719 PyObject * obj0 = 0 ;
23720 PyObject * obj1 = 0 ;
23721 char *kwnames[] = {
23722 (char *) "self",(char *) "frame", NULL
23723 };
23724
23725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23728 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
23729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23730 {
23731 PyThreadState* __tstate = wxPyBeginAllowThreads();
23732 (arg1)->SetFrame(arg2);
23733
23734 wxPyEndAllowThreads(__tstate);
23735 if (PyErr_Occurred()) SWIG_fail;
23736 }
23737 Py_INCREF(Py_None); resultobj = Py_None;
23738 return resultobj;
23739 fail:
23740 return NULL;
23741}
23742
23743
c32bde28 23744static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23745 PyObject *resultobj;
23746 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23747 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23748 PyObject * obj0 = 0 ;
23749 PyObject * obj1 = 0 ;
23750 char *kwnames[] = {
23751 (char *) "self",(char *) "canvas", NULL
23752 };
23753
23754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23757 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23759 {
23760 PyThreadState* __tstate = wxPyBeginAllowThreads();
23761 (arg1)->SetCanvas(arg2);
23762
23763 wxPyEndAllowThreads(__tstate);
23764 if (PyErr_Occurred()) SWIG_fail;
23765 }
23766 Py_INCREF(Py_None); resultobj = Py_None;
23767 return resultobj;
23768 fail:
23769 return NULL;
23770}
23771
23772
c32bde28 23773static PyObject *_wrap_PrintPreview_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23774 PyObject *resultobj;
23775 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23776 wxFrame *result;
23777 PyObject * obj0 = 0 ;
23778 char *kwnames[] = {
23779 (char *) "self", NULL
23780 };
23781
23782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
15afbcd0
RD
23783 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23785 {
23786 PyThreadState* __tstate = wxPyBeginAllowThreads();
23787 result = (wxFrame *)(arg1)->GetFrame();
23788
23789 wxPyEndAllowThreads(__tstate);
23790 if (PyErr_Occurred()) SWIG_fail;
23791 }
23792 {
412d302d 23793 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
23794 }
23795 return resultobj;
23796 fail:
23797 return NULL;
23798}
23799
23800
c32bde28 23801static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23802 PyObject *resultobj;
23803 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23804 wxPreviewCanvas *result;
23805 PyObject * obj0 = 0 ;
23806 char *kwnames[] = {
23807 (char *) "self", NULL
23808 };
23809
23810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
15afbcd0
RD
23811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23813 {
23814 PyThreadState* __tstate = wxPyBeginAllowThreads();
23815 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
23816
23817 wxPyEndAllowThreads(__tstate);
23818 if (PyErr_Occurred()) SWIG_fail;
23819 }
15afbcd0 23820 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
d14a1e28
RD
23821 return resultobj;
23822 fail:
23823 return NULL;
23824}
23825
23826
c32bde28 23827static PyObject *_wrap_PrintPreview_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23828 PyObject *resultobj;
23829 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23830 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23831 wxDC *arg3 = 0 ;
23832 bool result;
23833 PyObject * obj0 = 0 ;
23834 PyObject * obj1 = 0 ;
23835 PyObject * obj2 = 0 ;
23836 char *kwnames[] = {
23837 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23838 };
23839
23840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
23841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23843 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23845 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23846 SWIG_POINTER_EXCEPTION | 0)) == -1)
23847 SWIG_fail;
d14a1e28 23848 if (arg3 == NULL) {
15afbcd0
RD
23849 PyErr_SetString(PyExc_TypeError,"null reference");
23850 SWIG_fail;
d14a1e28
RD
23851 }
23852 {
23853 PyThreadState* __tstate = wxPyBeginAllowThreads();
23854 result = (bool)(arg1)->PaintPage(arg2,*arg3);
23855
23856 wxPyEndAllowThreads(__tstate);
23857 if (PyErr_Occurred()) SWIG_fail;
23858 }
4f89f6a3
RD
23859 {
23860 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23861 }
d14a1e28
RD
23862 return resultobj;
23863 fail:
23864 return NULL;
23865}
23866
23867
c32bde28 23868static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23869 PyObject *resultobj;
23870 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23871 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23872 wxDC *arg3 = 0 ;
23873 bool result;
23874 PyObject * obj0 = 0 ;
23875 PyObject * obj1 = 0 ;
23876 PyObject * obj2 = 0 ;
23877 char *kwnames[] = {
23878 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23879 };
23880
23881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
23882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23884 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23886 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23887 SWIG_POINTER_EXCEPTION | 0)) == -1)
23888 SWIG_fail;
d14a1e28 23889 if (arg3 == NULL) {
15afbcd0
RD
23890 PyErr_SetString(PyExc_TypeError,"null reference");
23891 SWIG_fail;
d14a1e28
RD
23892 }
23893 {
23894 PyThreadState* __tstate = wxPyBeginAllowThreads();
23895 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
23896
23897 wxPyEndAllowThreads(__tstate);
23898 if (PyErr_Occurred()) SWIG_fail;
23899 }
4f89f6a3
RD
23900 {
23901 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23902 }
d14a1e28
RD
23903 return resultobj;
23904 fail:
23905 return NULL;
23906}
23907
23908
c32bde28 23909static PyObject *_wrap_PrintPreview_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23910 PyObject *resultobj;
23911 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23912 int arg2 ;
23913 bool result;
23914 PyObject * obj0 = 0 ;
994141e6 23915 PyObject * obj1 = 0 ;
d14a1e28
RD
23916 char *kwnames[] = {
23917 (char *) "self",(char *) "pageNum", NULL
23918 };
23919
994141e6 23920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 23923 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 23924 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23925 {
23926 PyThreadState* __tstate = wxPyBeginAllowThreads();
23927 result = (bool)(arg1)->RenderPage(arg2);
23928
23929 wxPyEndAllowThreads(__tstate);
23930 if (PyErr_Occurred()) SWIG_fail;
23931 }
4f89f6a3
RD
23932 {
23933 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23934 }
d14a1e28
RD
23935 return resultobj;
23936 fail:
23937 return NULL;
23938}
23939
23940
c32bde28 23941static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23942 PyObject *resultobj;
23943 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23944 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23945 PyObject * obj0 = 0 ;
23946 PyObject * obj1 = 0 ;
23947 char *kwnames[] = {
23948 (char *) "self",(char *) "canvas", NULL
23949 };
23950
23951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23954 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23956 {
23957 PyThreadState* __tstate = wxPyBeginAllowThreads();
23958 (arg1)->AdjustScrollbars(arg2);
23959
23960 wxPyEndAllowThreads(__tstate);
23961 if (PyErr_Occurred()) SWIG_fail;
23962 }
23963 Py_INCREF(Py_None); resultobj = Py_None;
23964 return resultobj;
23965 fail:
23966 return NULL;
23967}
23968
23969
c32bde28 23970static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23971 PyObject *resultobj;
23972 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23973 wxPrintDialogData *result;
23974 PyObject * obj0 = 0 ;
23975 char *kwnames[] = {
23976 (char *) "self", NULL
23977 };
23978
23979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
15afbcd0
RD
23980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23982 {
23983 PyThreadState* __tstate = wxPyBeginAllowThreads();
23984 {
23985 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
23986 result = (wxPrintDialogData *) &_result_ref;
23987 }
23988
23989 wxPyEndAllowThreads(__tstate);
23990 if (PyErr_Occurred()) SWIG_fail;
23991 }
15afbcd0 23992 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
d14a1e28
RD
23993 return resultobj;
23994 fail:
23995 return NULL;
23996}
23997
23998
c32bde28 23999static PyObject *_wrap_PrintPreview_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24000 PyObject *resultobj;
24001 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24002 int arg2 ;
24003 PyObject * obj0 = 0 ;
994141e6 24004 PyObject * obj1 = 0 ;
d14a1e28
RD
24005 char *kwnames[] = {
24006 (char *) "self",(char *) "percent", NULL
24007 };
24008
994141e6 24009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24010 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24012 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 24013 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24014 {
24015 PyThreadState* __tstate = wxPyBeginAllowThreads();
24016 (arg1)->SetZoom(arg2);
24017
24018 wxPyEndAllowThreads(__tstate);
24019 if (PyErr_Occurred()) SWIG_fail;
24020 }
24021 Py_INCREF(Py_None); resultobj = Py_None;
24022 return resultobj;
24023 fail:
24024 return NULL;
24025}
24026
24027
c32bde28 24028static PyObject *_wrap_PrintPreview_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24029 PyObject *resultobj;
24030 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24031 int result;
24032 PyObject * obj0 = 0 ;
24033 char *kwnames[] = {
24034 (char *) "self", NULL
24035 };
24036
24037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
15afbcd0
RD
24038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24040 {
24041 PyThreadState* __tstate = wxPyBeginAllowThreads();
24042 result = (int)(arg1)->GetZoom();
24043
24044 wxPyEndAllowThreads(__tstate);
24045 if (PyErr_Occurred()) SWIG_fail;
24046 }
c32bde28 24047 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
24048 return resultobj;
24049 fail:
24050 return NULL;
24051}
24052
24053
c32bde28 24054static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24055 PyObject *resultobj;
24056 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24057 int result;
24058 PyObject * obj0 = 0 ;
24059 char *kwnames[] = {
24060 (char *) "self", NULL
24061 };
24062
24063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
15afbcd0
RD
24064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24066 {
24067 PyThreadState* __tstate = wxPyBeginAllowThreads();
24068 result = (int)(arg1)->GetMaxPage();
24069
24070 wxPyEndAllowThreads(__tstate);
24071 if (PyErr_Occurred()) SWIG_fail;
24072 }
c32bde28 24073 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
24074 return resultobj;
24075 fail:
24076 return NULL;
24077}
24078
24079
c32bde28 24080static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24081 PyObject *resultobj;
24082 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24083 int result;
24084 PyObject * obj0 = 0 ;
24085 char *kwnames[] = {
24086 (char *) "self", NULL
24087 };
24088
24089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
15afbcd0
RD
24090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24092 {
24093 PyThreadState* __tstate = wxPyBeginAllowThreads();
24094 result = (int)(arg1)->GetMinPage();
24095
24096 wxPyEndAllowThreads(__tstate);
24097 if (PyErr_Occurred()) SWIG_fail;
24098 }
c32bde28 24099 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
24100 return resultobj;
24101 fail:
24102 return NULL;
24103}
24104
24105
c32bde28 24106static PyObject *_wrap_PrintPreview_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24107 PyObject *resultobj;
24108 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24109 bool result;
24110 PyObject * obj0 = 0 ;
24111 char *kwnames[] = {
24112 (char *) "self", NULL
24113 };
24114
24115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
15afbcd0
RD
24116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24118 {
24119 PyThreadState* __tstate = wxPyBeginAllowThreads();
24120 result = (bool)(arg1)->Ok();
24121
24122 wxPyEndAllowThreads(__tstate);
24123 if (PyErr_Occurred()) SWIG_fail;
24124 }
4f89f6a3
RD
24125 {
24126 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24127 }
d14a1e28
RD
24128 return resultobj;
24129 fail:
24130 return NULL;
24131}
24132
24133
c32bde28 24134static PyObject *_wrap_PrintPreview_SetOk(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24135 PyObject *resultobj;
24136 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24137 bool arg2 ;
24138 PyObject * obj0 = 0 ;
24139 PyObject * obj1 = 0 ;
24140 char *kwnames[] = {
24141 (char *) "self",(char *) "ok", NULL
24142 };
24143
24144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24147 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 24148 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24149 {
24150 PyThreadState* __tstate = wxPyBeginAllowThreads();
24151 (arg1)->SetOk(arg2);
24152
24153 wxPyEndAllowThreads(__tstate);
24154 if (PyErr_Occurred()) SWIG_fail;
24155 }
24156 Py_INCREF(Py_None); resultobj = Py_None;
24157 return resultobj;
24158 fail:
24159 return NULL;
24160}
24161
24162
c32bde28 24163static PyObject *_wrap_PrintPreview_Print(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24164 PyObject *resultobj;
24165 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24166 bool arg2 ;
24167 bool result;
24168 PyObject * obj0 = 0 ;
24169 PyObject * obj1 = 0 ;
24170 char *kwnames[] = {
24171 (char *) "self",(char *) "interactive", NULL
24172 };
24173
24174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24177 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 24178 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24179 {
24180 PyThreadState* __tstate = wxPyBeginAllowThreads();
24181 result = (bool)(arg1)->Print(arg2);
24182
24183 wxPyEndAllowThreads(__tstate);
24184 if (PyErr_Occurred()) SWIG_fail;
24185 }
4f89f6a3
RD
24186 {
24187 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24188 }
d14a1e28
RD
24189 return resultobj;
24190 fail:
24191 return NULL;
24192}
24193
24194
c32bde28 24195static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24196 PyObject *resultobj;
24197 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24198 PyObject * obj0 = 0 ;
24199 char *kwnames[] = {
24200 (char *) "self", NULL
24201 };
24202
24203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
15afbcd0
RD
24204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24206 {
24207 PyThreadState* __tstate = wxPyBeginAllowThreads();
24208 (arg1)->DetermineScaling();
24209
24210 wxPyEndAllowThreads(__tstate);
24211 if (PyErr_Occurred()) SWIG_fail;
24212 }
24213 Py_INCREF(Py_None); resultobj = Py_None;
24214 return resultobj;
24215 fail:
24216 return NULL;
24217}
24218
24219
c32bde28 24220static PyObject * PrintPreview_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
24221 PyObject *obj;
24222 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24223 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
24224 Py_INCREF(obj);
24225 return Py_BuildValue((char *)"");
24226}
c32bde28 24227static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
24228 PyObject *resultobj;
24229 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24230 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
4276dc52 24231 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
d14a1e28
RD
24232 wxPyPrintPreview *result;
24233 PyObject * obj0 = 0 ;
24234 PyObject * obj1 = 0 ;
24235 PyObject * obj2 = 0 ;
d14a1e28 24236
4276dc52 24237 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
24238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
24239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24240 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
24241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 24242 if (obj2) {
4276dc52 24243 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
15afbcd0 24244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24245 }
24246 {
e3b71cb8 24247 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
24248 PyThreadState* __tstate = wxPyBeginAllowThreads();
24249 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
24250
24251 wxPyEndAllowThreads(__tstate);
110da5b0 24252 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 24253 }
15afbcd0 24254 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
d14a1e28
RD
24255 return resultobj;
24256 fail:
24257 return NULL;
24258}
24259
24260
c32bde28 24261static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *, PyObject *args) {
4276dc52
RD
24262 PyObject *resultobj;
24263 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24264 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
24265 wxPrintData *arg3 = (wxPrintData *) 0 ;
24266 wxPyPrintPreview *result;
24267 PyObject * obj0 = 0 ;
24268 PyObject * obj1 = 0 ;
24269 PyObject * obj2 = 0 ;
24270
24271 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
24272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
24273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24274 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
24275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24276 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
24277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24278 {
e3b71cb8 24279 if (!wxPyCheckForApp()) SWIG_fail;
4276dc52
RD
24280 PyThreadState* __tstate = wxPyBeginAllowThreads();
24281 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
24282
24283 wxPyEndAllowThreads(__tstate);
110da5b0 24284 if (PyErr_Occurred()) SWIG_fail;
4276dc52
RD
24285 }
24286 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
24287 return resultobj;
24288 fail:
24289 return NULL;
24290}
24291
24292
24293static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
24294 int argc;
24295 PyObject *argv[4];
24296 int ii;
24297
24298 argc = PyObject_Length(args);
24299 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
24300 argv[ii] = PyTuple_GetItem(args,ii);
24301 }
24302 if ((argc >= 2) && (argc <= 3)) {
24303 int _v;
24304 {
24305 void *ptr;
24306 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24307 _v = 0;
24308 PyErr_Clear();
24309 } else {
24310 _v = 1;
24311 }
24312 }
24313 if (_v) {
24314 {
24315 void *ptr;
24316 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24317 _v = 0;
24318 PyErr_Clear();
24319 } else {
24320 _v = 1;
24321 }
24322 }
24323 if (_v) {
24324 if (argc <= 2) {
24325 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
24326 }
24327 {
24328 void *ptr;
24329 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
24330 _v = 0;
24331 PyErr_Clear();
24332 } else {
24333 _v = 1;
24334 }
24335 }
24336 if (_v) {
24337 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
24338 }
24339 }
24340 }
24341 }
24342 if (argc == 3) {
24343 int _v;
24344 {
24345 void *ptr;
24346 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24347 _v = 0;
24348 PyErr_Clear();
24349 } else {
24350 _v = 1;
24351 }
24352 }
24353 if (_v) {
24354 {
24355 void *ptr;
24356 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24357 _v = 0;
24358 PyErr_Clear();
24359 } else {
24360 _v = 1;
24361 }
24362 }
24363 if (_v) {
24364 {
24365 void *ptr;
24366 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
24367 _v = 0;
24368 PyErr_Clear();
24369 } else {
24370 _v = 1;
24371 }
24372 }
24373 if (_v) {
24374 return _wrap_new_PyPrintPreview__SWIG_1(self,args);
24375 }
24376 }
24377 }
24378 }
24379
24380 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PyPrintPreview'");
24381 return NULL;
24382}
24383
24384
c32bde28 24385static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24386 PyObject *resultobj;
24387 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24388 PyObject *arg2 = (PyObject *) 0 ;
24389 PyObject *arg3 = (PyObject *) 0 ;
24390 PyObject * obj0 = 0 ;
24391 PyObject * obj1 = 0 ;
24392 PyObject * obj2 = 0 ;
24393 char *kwnames[] = {
24394 (char *) "self",(char *) "self",(char *) "_class", NULL
24395 };
24396
24397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
24398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24400 arg2 = obj1;
24401 arg3 = obj2;
24402 {
24403 PyThreadState* __tstate = wxPyBeginAllowThreads();
24404 (arg1)->_setCallbackInfo(arg2,arg3);
24405
24406 wxPyEndAllowThreads(__tstate);
24407 if (PyErr_Occurred()) SWIG_fail;
24408 }
24409 Py_INCREF(Py_None); resultobj = Py_None;
24410 return resultobj;
24411 fail:
24412 return NULL;
24413}
24414
24415
c32bde28 24416static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24417 PyObject *resultobj;
24418 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24419 int arg2 ;
24420 bool result;
24421 PyObject * obj0 = 0 ;
994141e6 24422 PyObject * obj1 = 0 ;
d14a1e28
RD
24423 char *kwnames[] = {
24424 (char *) "self",(char *) "pageNum", NULL
24425 };
24426
994141e6 24427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24430 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 24431 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24432 {
24433 PyThreadState* __tstate = wxPyBeginAllowThreads();
24434 result = (bool)(arg1)->base_SetCurrentPage(arg2);
24435
24436 wxPyEndAllowThreads(__tstate);
24437 if (PyErr_Occurred()) SWIG_fail;
24438 }
4f89f6a3
RD
24439 {
24440 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24441 }
d14a1e28
RD
24442 return resultobj;
24443 fail:
24444 return NULL;
24445}
24446
24447
c32bde28 24448static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24449 PyObject *resultobj;
24450 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24451 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24452 wxDC *arg3 = 0 ;
24453 bool result;
24454 PyObject * obj0 = 0 ;
24455 PyObject * obj1 = 0 ;
24456 PyObject * obj2 = 0 ;
24457 char *kwnames[] = {
24458 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24459 };
24460
24461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
24462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24464 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24466 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
24467 SWIG_POINTER_EXCEPTION | 0)) == -1)
24468 SWIG_fail;
d14a1e28 24469 if (arg3 == NULL) {
15afbcd0
RD
24470 PyErr_SetString(PyExc_TypeError,"null reference");
24471 SWIG_fail;
d14a1e28
RD
24472 }
24473 {
24474 PyThreadState* __tstate = wxPyBeginAllowThreads();
24475 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
24476
24477 wxPyEndAllowThreads(__tstate);
24478 if (PyErr_Occurred()) SWIG_fail;
24479 }
4f89f6a3
RD
24480 {
24481 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24482 }
d14a1e28
RD
24483 return resultobj;
24484 fail:
24485 return NULL;
24486}
24487
24488
c32bde28 24489static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24490 PyObject *resultobj;
24491 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24492 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24493 wxDC *arg3 = 0 ;
24494 bool result;
24495 PyObject * obj0 = 0 ;
24496 PyObject * obj1 = 0 ;
24497 PyObject * obj2 = 0 ;
24498 char *kwnames[] = {
24499 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24500 };
24501
24502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
24503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24505 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24507 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
24508 SWIG_POINTER_EXCEPTION | 0)) == -1)
24509 SWIG_fail;
d14a1e28 24510 if (arg3 == NULL) {
15afbcd0
RD
24511 PyErr_SetString(PyExc_TypeError,"null reference");
24512 SWIG_fail;
d14a1e28
RD
24513 }
24514 {
24515 PyThreadState* __tstate = wxPyBeginAllowThreads();
24516 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
24517
24518 wxPyEndAllowThreads(__tstate);
24519 if (PyErr_Occurred()) SWIG_fail;
24520 }
4f89f6a3
RD
24521 {
24522 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24523 }
d14a1e28
RD
24524 return resultobj;
24525 fail:
24526 return NULL;
24527}
24528
24529
c32bde28 24530static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24531 PyObject *resultobj;
24532 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24533 int arg2 ;
24534 bool result;
24535 PyObject * obj0 = 0 ;
994141e6 24536 PyObject * obj1 = 0 ;
d14a1e28
RD
24537 char *kwnames[] = {
24538 (char *) "self",(char *) "pageNum", NULL
24539 };
24540
994141e6 24541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24544 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 24545 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24546 {
24547 PyThreadState* __tstate = wxPyBeginAllowThreads();
24548 result = (bool)(arg1)->base_RenderPage(arg2);
24549
24550 wxPyEndAllowThreads(__tstate);
24551 if (PyErr_Occurred()) SWIG_fail;
24552 }
4f89f6a3
RD
24553 {
24554 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24555 }
d14a1e28
RD
24556 return resultobj;
24557 fail:
24558 return NULL;
24559}
24560
24561
c32bde28 24562static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24563 PyObject *resultobj;
24564 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24565 int arg2 ;
24566 PyObject * obj0 = 0 ;
994141e6 24567 PyObject * obj1 = 0 ;
d14a1e28
RD
24568 char *kwnames[] = {
24569 (char *) "self",(char *) "percent", NULL
24570 };
24571
994141e6 24572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24575 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 24576 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24577 {
24578 PyThreadState* __tstate = wxPyBeginAllowThreads();
24579 (arg1)->base_SetZoom(arg2);
24580
24581 wxPyEndAllowThreads(__tstate);
24582 if (PyErr_Occurred()) SWIG_fail;
24583 }
24584 Py_INCREF(Py_None); resultobj = Py_None;
24585 return resultobj;
24586 fail:
24587 return NULL;
24588}
24589
24590
c32bde28 24591static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24592 PyObject *resultobj;
24593 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24594 bool arg2 ;
24595 bool result;
24596 PyObject * obj0 = 0 ;
24597 PyObject * obj1 = 0 ;
24598 char *kwnames[] = {
24599 (char *) "self",(char *) "interactive", NULL
24600 };
24601
24602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24605 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 24606 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24607 {
24608 PyThreadState* __tstate = wxPyBeginAllowThreads();
24609 result = (bool)(arg1)->base_Print(arg2);
24610
24611 wxPyEndAllowThreads(__tstate);
24612 if (PyErr_Occurred()) SWIG_fail;
24613 }
4f89f6a3
RD
24614 {
24615 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24616 }
d14a1e28
RD
24617 return resultobj;
24618 fail:
24619 return NULL;
24620}
24621
24622
c32bde28 24623static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24624 PyObject *resultobj;
24625 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24626 PyObject * obj0 = 0 ;
24627 char *kwnames[] = {
24628 (char *) "self", NULL
24629 };
24630
24631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
15afbcd0
RD
24632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24634 {
24635 PyThreadState* __tstate = wxPyBeginAllowThreads();
24636 (arg1)->base_DetermineScaling();
24637
24638 wxPyEndAllowThreads(__tstate);
24639 if (PyErr_Occurred()) SWIG_fail;
24640 }
24641 Py_INCREF(Py_None); resultobj = Py_None;
24642 return resultobj;
24643 fail:
24644 return NULL;
24645}
24646
24647
c32bde28 24648static PyObject * PyPrintPreview_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
24649 PyObject *obj;
24650 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24651 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
24652 Py_INCREF(obj);
24653 return Py_BuildValue((char *)"");
24654}
c32bde28 24655static PyObject *_wrap_new_PyPreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24656 PyObject *resultobj;
24657 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24658 wxFrame *arg2 = (wxFrame *) 0 ;
24659 wxString *arg3 = 0 ;
24660 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24661 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24662 wxSize const &arg5_defvalue = wxDefaultSize ;
24663 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24664 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
24665 wxString const &arg7_defvalue = wxPyFrameNameStr ;
24666 wxString *arg7 = (wxString *) &arg7_defvalue ;
24667 wxPyPreviewFrame *result;
e811c8ce 24668 bool temp3 = False ;
d14a1e28
RD
24669 wxPoint temp4 ;
24670 wxSize temp5 ;
e811c8ce 24671 bool temp7 = False ;
d14a1e28
RD
24672 PyObject * obj0 = 0 ;
24673 PyObject * obj1 = 0 ;
24674 PyObject * obj2 = 0 ;
24675 PyObject * obj3 = 0 ;
24676 PyObject * obj4 = 0 ;
994141e6 24677 PyObject * obj5 = 0 ;
d14a1e28
RD
24678 PyObject * obj6 = 0 ;
24679 char *kwnames[] = {
24680 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24681 };
24682
994141e6 24683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
24684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24686 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
24687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24688 {
24689 arg3 = wxString_in_helper(obj2);
24690 if (arg3 == NULL) SWIG_fail;
e811c8ce 24691 temp3 = True;
d14a1e28
RD
24692 }
24693 if (obj3) {
24694 {
24695 arg4 = &temp4;
24696 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24697 }
24698 }
24699 if (obj4) {
24700 {
24701 arg5 = &temp5;
24702 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24703 }
24704 }
994141e6 24705 if (obj5) {
c32bde28 24706 arg6 = (long)SWIG_As_long(obj5);
15afbcd0 24707 if (PyErr_Occurred()) SWIG_fail;
994141e6 24708 }
d14a1e28
RD
24709 if (obj6) {
24710 {
24711 arg7 = wxString_in_helper(obj6);
24712 if (arg7 == NULL) SWIG_fail;
e811c8ce 24713 temp7 = True;
d14a1e28
RD
24714 }
24715 }
24716 {
e3b71cb8 24717 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
24718 PyThreadState* __tstate = wxPyBeginAllowThreads();
24719 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
24720
24721 wxPyEndAllowThreads(__tstate);
110da5b0 24722 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 24723 }
15afbcd0 24724 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
d14a1e28
RD
24725 {
24726 if (temp3)
24727 delete arg3;
24728 }
24729 {
24730 if (temp7)
24731 delete arg7;
24732 }
24733 return resultobj;
24734 fail:
24735 {
24736 if (temp3)
24737 delete arg3;
24738 }
24739 {
24740 if (temp7)
24741 delete arg7;
24742 }
24743 return NULL;
24744}
24745
24746
c32bde28 24747static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24748 PyObject *resultobj;
24749 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24750 PyObject *arg2 = (PyObject *) 0 ;
24751 PyObject *arg3 = (PyObject *) 0 ;
24752 PyObject * obj0 = 0 ;
24753 PyObject * obj1 = 0 ;
24754 PyObject * obj2 = 0 ;
24755 char *kwnames[] = {
24756 (char *) "self",(char *) "self",(char *) "_class", NULL
24757 };
24758
24759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
24760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24762 arg2 = obj1;
24763 arg3 = obj2;
24764 {
24765 PyThreadState* __tstate = wxPyBeginAllowThreads();
24766 (arg1)->_setCallbackInfo(arg2,arg3);
24767
24768 wxPyEndAllowThreads(__tstate);
24769 if (PyErr_Occurred()) SWIG_fail;
24770 }
24771 Py_INCREF(Py_None); resultobj = Py_None;
24772 return resultobj;
24773 fail:
24774 return NULL;
24775}
24776
24777
c32bde28 24778static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24779 PyObject *resultobj;
24780 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24781 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24782 PyObject * obj0 = 0 ;
24783 PyObject * obj1 = 0 ;
24784 char *kwnames[] = {
24785 (char *) "self",(char *) "canvas", NULL
24786 };
24787
24788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24791 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24793 {
24794 PyThreadState* __tstate = wxPyBeginAllowThreads();
24795 (arg1)->SetPreviewCanvas(arg2);
24796
24797 wxPyEndAllowThreads(__tstate);
24798 if (PyErr_Occurred()) SWIG_fail;
24799 }
24800 Py_INCREF(Py_None); resultobj = Py_None;
24801 return resultobj;
24802 fail:
24803 return NULL;
24804}
24805
24806
c32bde28 24807static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24808 PyObject *resultobj;
24809 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24810 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
24811 PyObject * obj0 = 0 ;
24812 PyObject * obj1 = 0 ;
24813 char *kwnames[] = {
24814 (char *) "self",(char *) "bar", NULL
24815 };
24816
24817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24820 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewControlBar,
24821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24822 {
24823 PyThreadState* __tstate = wxPyBeginAllowThreads();
24824 (arg1)->SetControlBar(arg2);
24825
24826 wxPyEndAllowThreads(__tstate);
24827 if (PyErr_Occurred()) SWIG_fail;
24828 }
24829 Py_INCREF(Py_None); resultobj = Py_None;
24830 return resultobj;
24831 fail:
24832 return NULL;
24833}
24834
24835
c32bde28 24836static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24837 PyObject *resultobj;
24838 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24839 PyObject * obj0 = 0 ;
24840 char *kwnames[] = {
24841 (char *) "self", NULL
24842 };
24843
24844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
15afbcd0
RD
24845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24847 {
24848 PyThreadState* __tstate = wxPyBeginAllowThreads();
24849 (arg1)->base_Initialize();
24850
24851 wxPyEndAllowThreads(__tstate);
24852 if (PyErr_Occurred()) SWIG_fail;
24853 }
24854 Py_INCREF(Py_None); resultobj = Py_None;
24855 return resultobj;
24856 fail:
24857 return NULL;
24858}
24859
24860
c32bde28 24861static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24862 PyObject *resultobj;
24863 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24864 PyObject * obj0 = 0 ;
24865 char *kwnames[] = {
24866 (char *) "self", NULL
24867 };
24868
24869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
15afbcd0
RD
24870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24872 {
24873 PyThreadState* __tstate = wxPyBeginAllowThreads();
24874 (arg1)->base_CreateCanvas();
24875
24876 wxPyEndAllowThreads(__tstate);
24877 if (PyErr_Occurred()) SWIG_fail;
24878 }
24879 Py_INCREF(Py_None); resultobj = Py_None;
24880 return resultobj;
24881 fail:
24882 return NULL;
24883}
24884
24885
c32bde28 24886static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24887 PyObject *resultobj;
24888 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24889 PyObject * obj0 = 0 ;
24890 char *kwnames[] = {
24891 (char *) "self", NULL
24892 };
24893
24894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
15afbcd0
RD
24895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24897 {
24898 PyThreadState* __tstate = wxPyBeginAllowThreads();
24899 (arg1)->base_CreateControlBar();
24900
24901 wxPyEndAllowThreads(__tstate);
24902 if (PyErr_Occurred()) SWIG_fail;
24903 }
24904 Py_INCREF(Py_None); resultobj = Py_None;
24905 return resultobj;
24906 fail:
24907 return NULL;
24908}
24909
24910
c32bde28 24911static PyObject * PyPreviewFrame_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
24912 PyObject *obj;
24913 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24914 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
24915 Py_INCREF(obj);
24916 return Py_BuildValue((char *)"");
24917}
c32bde28 24918static PyObject *_wrap_new_PyPreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24919 PyObject *resultobj;
24920 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24921 long arg2 ;
24922 wxWindow *arg3 = (wxWindow *) 0 ;
24923 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24924 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24925 wxSize const &arg5_defvalue = wxDefaultSize ;
24926 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24927 long arg6 = (long) 0 ;
24928 wxString const &arg7_defvalue = wxPyPanelNameStr ;
24929 wxString *arg7 = (wxString *) &arg7_defvalue ;
24930 wxPyPreviewControlBar *result;
24931 wxPoint temp4 ;
24932 wxSize temp5 ;
e811c8ce 24933 bool temp7 = False ;
d14a1e28 24934 PyObject * obj0 = 0 ;
994141e6 24935 PyObject * obj1 = 0 ;
d14a1e28
RD
24936 PyObject * obj2 = 0 ;
24937 PyObject * obj3 = 0 ;
24938 PyObject * obj4 = 0 ;
994141e6 24939 PyObject * obj5 = 0 ;
d14a1e28
RD
24940 PyObject * obj6 = 0 ;
24941 char *kwnames[] = {
24942 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24943 };
24944
994141e6 24945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
24946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24948 arg2 = (long)SWIG_As_long(obj1);
15afbcd0
RD
24949 if (PyErr_Occurred()) SWIG_fail;
24950 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
24951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24952 if (obj3) {
24953 {
24954 arg4 = &temp4;
24955 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24956 }
24957 }
24958 if (obj4) {
24959 {
24960 arg5 = &temp5;
24961 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24962 }
24963 }
994141e6 24964 if (obj5) {
c32bde28 24965 arg6 = (long)SWIG_As_long(obj5);
15afbcd0 24966 if (PyErr_Occurred()) SWIG_fail;
994141e6 24967 }
d14a1e28
RD
24968 if (obj6) {
24969 {
24970 arg7 = wxString_in_helper(obj6);
24971 if (arg7 == NULL) SWIG_fail;
e811c8ce 24972 temp7 = True;
d14a1e28
RD
24973 }
24974 }
24975 {
e3b71cb8 24976 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
24977 PyThreadState* __tstate = wxPyBeginAllowThreads();
24978 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
24979
24980 wxPyEndAllowThreads(__tstate);
110da5b0 24981 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 24982 }
15afbcd0 24983 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
d14a1e28
RD
24984 {
24985 if (temp7)
24986 delete arg7;
24987 }
24988 return resultobj;
24989 fail:
24990 {
24991 if (temp7)
24992 delete arg7;
24993 }
24994 return NULL;
24995}
24996
24997
c32bde28 24998static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24999 PyObject *resultobj;
25000 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
25001 PyObject *arg2 = (PyObject *) 0 ;
25002 PyObject *arg3 = (PyObject *) 0 ;
25003 PyObject * obj0 = 0 ;
25004 PyObject * obj1 = 0 ;
25005 PyObject * obj2 = 0 ;
25006 char *kwnames[] = {
25007 (char *) "self",(char *) "self",(char *) "_class", NULL
25008 };
25009
25010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
25011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
25012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25013 arg2 = obj1;
25014 arg3 = obj2;
25015 {
25016 PyThreadState* __tstate = wxPyBeginAllowThreads();
25017 (arg1)->_setCallbackInfo(arg2,arg3);
25018
25019 wxPyEndAllowThreads(__tstate);
25020 if (PyErr_Occurred()) SWIG_fail;
25021 }
25022 Py_INCREF(Py_None); resultobj = Py_None;
25023 return resultobj;
25024 fail:
25025 return NULL;
25026}
25027
25028
c32bde28 25029static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25030 PyObject *resultobj;
25031 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
25032 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
25033 PyObject * obj0 = 0 ;
25034 PyObject * obj1 = 0 ;
25035 char *kwnames[] = {
25036 (char *) "self",(char *) "preview", NULL
25037 };
25038
25039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
25041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25042 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintPreview,
25043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25044 {
25045 PyThreadState* __tstate = wxPyBeginAllowThreads();
25046 (arg1)->SetPrintPreview(arg2);
25047
25048 wxPyEndAllowThreads(__tstate);
25049 if (PyErr_Occurred()) SWIG_fail;
25050 }
25051 Py_INCREF(Py_None); resultobj = Py_None;
25052 return resultobj;
25053 fail:
25054 return NULL;
25055}
25056
25057
c32bde28 25058static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25059 PyObject *resultobj;
25060 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
25061 PyObject * obj0 = 0 ;
25062 char *kwnames[] = {
25063 (char *) "self", NULL
25064 };
25065
25066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
15afbcd0
RD
25067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
25068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25069 {
25070 PyThreadState* __tstate = wxPyBeginAllowThreads();
25071 (arg1)->base_CreateButtons();
25072
25073 wxPyEndAllowThreads(__tstate);
25074 if (PyErr_Occurred()) SWIG_fail;
25075 }
25076 Py_INCREF(Py_None); resultobj = Py_None;
25077 return resultobj;
25078 fail:
25079 return NULL;
25080}
25081
25082
c32bde28 25083static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25084 PyObject *resultobj;
25085 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
25086 int arg2 ;
25087 PyObject * obj0 = 0 ;
994141e6 25088 PyObject * obj1 = 0 ;
d14a1e28
RD
25089 char *kwnames[] = {
25090 (char *) "self",(char *) "zoom", NULL
25091 };
25092
994141e6 25093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
25095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 25096 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 25097 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25098 {
25099 PyThreadState* __tstate = wxPyBeginAllowThreads();
25100 (arg1)->base_SetZoomControl(arg2);
25101
25102 wxPyEndAllowThreads(__tstate);
25103 if (PyErr_Occurred()) SWIG_fail;
25104 }
25105 Py_INCREF(Py_None); resultobj = Py_None;
25106 return resultobj;
25107 fail:
25108 return NULL;
25109}
25110
25111
c32bde28 25112static PyObject * PyPreviewControlBar_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
25113 PyObject *obj;
25114 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25115 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
25116 Py_INCREF(obj);
25117 return Py_BuildValue((char *)"");
25118}
25119static PyMethodDef SwigMethods[] = {
c32bde28
RD
25120 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL },
25121 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS, NULL },
25122 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25123 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25124 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25125 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL },
25126 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25127 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25128 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25129 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL },
25130 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL },
25131 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
25132 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
25133 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL },
25134 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS, NULL },
25135 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL },
25136 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS, NULL },
25137 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL },
25138 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS, NULL },
25139 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS, NULL },
25140 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL },
25141 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL },
25142 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL },
25143 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL },
25144 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25145 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25146 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL },
25147 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25148 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL },
25149 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL },
25150 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS, NULL },
25151 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL },
25152 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS, NULL },
25153 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS, NULL },
25154 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25155 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25156 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL },
25157 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL },
25158 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS, NULL },
25159 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
25160 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
25161 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL },
25162 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL },
25163 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL },
25164 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL },
25165 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25166 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25167 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS, NULL },
25168 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25169 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL },
25170 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL },
25171 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL },
25172 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
25173 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
25174 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
25175 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25176 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL },
25177 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25178 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25179 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL },
25180 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL },
25181 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
25182 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
25183 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
25184 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25185 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL },
25186 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25187 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL },
25188 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL },
25189 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25190 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25191 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL },
25192 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL },
25193 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL },
25194 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL },
25195 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS, NULL },
25196 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL },
25197 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL },
25198 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25199 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL },
25200 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25201 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25202 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25203 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL },
25204 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25205 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
25206 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
25207 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL },
25208 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL },
25209 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS, NULL },
25210 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25211 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS, NULL },
25212 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL },
25213 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
25214 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
25215 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25216 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL },
25217 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL },
25218 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25219 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25220 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25221 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25222 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL },
25223 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL },
25224 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL },
25225 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL },
25226 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS, NULL },
25227 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS, NULL },
25228 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25229 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL },
25230 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25231 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25232 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25233 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS, NULL },
25234 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS, NULL },
25235 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL },
25236 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL },
25237 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL },
25238 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL },
25239 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL },
25240 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL },
25241 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25242 { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS, NULL },
25243 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS, NULL },
25244 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL },
25245 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25246 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS, NULL },
25247 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25248 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25249 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25250 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL },
25251 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL },
25252 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL },
25253 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL },
25254 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL },
25255 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL },
25256 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25257 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL },
25258 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25259 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25260 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25261 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS, NULL },
25262 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL },
25263 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL },
25264 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL },
25265 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25266 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25267 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25268 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL },
25269 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL },
25270 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL },
25271 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL },
25272 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL },
25273 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25274 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25275 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25276 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25277 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
25278 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
25279 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
25280 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
25281 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
25282 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
25283 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
25284 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
25285 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL },
25286 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL },
25287 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL },
25288 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25289 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL },
25290 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS, NULL },
25291 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL },
25292 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS, NULL },
25293 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL },
25294 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL },
25295 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL },
25296 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25297 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL },
25298 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL },
25299 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25300 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25301 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25302 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25303 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25304 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25305 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
25306 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
25307 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL },
25308 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25309 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25310 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25311 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL },
25312 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL },
25313 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL },
25314 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25315 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25316 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25317 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
25318 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25319 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
25320 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL },
25321 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25322 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL },
25323 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL },
25324 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL },
25325 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25326 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25327 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25328 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL },
25329 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25330 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25331 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25332 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS, NULL },
25333 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL },
25334 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25335 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25336 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25337 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS, NULL },
25338 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS, NULL },
25339 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL },
25340 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25341 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL },
25342 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS, NULL },
25343 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL },
25344 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25345 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25346 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25347 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25348 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL },
25349 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL },
25350 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS, NULL },
25351 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS, NULL },
25352 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL },
25353 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL },
25354 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL },
25355 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
25356 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL },
25357 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL },
25358 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL },
25359 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL },
25360 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL },
25361 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL },
25362 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL },
25363 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS, NULL },
25364 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25365 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25366 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
25367 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25368 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25369 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL },
25370 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL },
25371 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS, NULL },
25372 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL },
25373 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL },
25374 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25375 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25376 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
25377 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS, NULL },
25378 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25379 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL },
25380 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL },
25381 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL },
25382 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL },
25383 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL },
25384 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25385 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL },
25386 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25387 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL },
25388 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL },
25389 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL },
25390 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25391 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25392 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL },
25393 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
25394 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction) _wrap_HtmlListBox_GetFileSystem, METH_VARARGS | METH_KEYWORDS, NULL },
25395 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL },
25396 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25397 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25398 { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
25399 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS, NULL },
25400 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS, NULL },
25401 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25402 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25403 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL },
25404 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL },
25405 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25406 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL },
25407 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS, NULL },
25408 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS, NULL },
25409 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL },
25410 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25411 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL },
25412 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL },
25413 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25414 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL },
25415 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL },
25416 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25417 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS, NULL },
25418 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL },
25419 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25420 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL },
25421 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
25422 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
25423 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
25424 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL },
25425 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL },
25426 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25427 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
25428 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL },
25429 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL },
25430 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
25431 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL },
25432 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
25433 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL },
25434 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
25435 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL },
25436 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS, NULL },
25437 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
25438 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS, NULL },
25439 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
25440 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL },
25441 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS, NULL },
25442 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS, NULL },
25443 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL },
25444 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25445 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL },
25446 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL },
25447 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL },
25448 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25449 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25450 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25451 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25452 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL },
25453 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25454 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
25455 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
25456 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL },
25457 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS, NULL },
25458 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS, NULL },
25459 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL },
25460 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL },
25461 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25462 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL },
25463 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS, NULL },
25464 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL },
25465 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25466 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL },
25467 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL },
25468 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25469 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL },
25470 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL },
25471 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25472 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL },
25473 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25474 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS, NULL },
25475 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL },
25476 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25477 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL },
25478 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25479 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL },
25480 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS, NULL },
25481 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL },
25482 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25483 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25484 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
25485 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
25486 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25487 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25488 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
25489 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
25490 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL },
25491 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL },
25492 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL },
25493 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
25494 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
25495 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25496 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25497 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
25498 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
25499 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL },
25500 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25501 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25502 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25503 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
25504 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
25505 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL },
25506 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25507 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25508 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25509 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS, NULL },
25510 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS, NULL },
25511 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS, NULL },
25512 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS, NULL },
25513 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS, NULL },
25514 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25515 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
25516 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL },
25517 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL },
25518 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25519 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25520 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25521 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS, NULL },
25522 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS, NULL },
25523 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS, NULL },
25524 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL },
25525 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25526 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25527 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25528 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL },
25529 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25530 { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25531 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25532 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25533 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25534 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25535 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25536 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25537 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25538 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25539 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25540 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25541 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25542 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25543 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25544 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25545 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
25546 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
25547 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
25548 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
25549 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
25550 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
25551 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL },
25552 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25553 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25554 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL },
25555 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL },
25556 { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS, NULL },
25557 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25558 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25559 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25560 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25561 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25562 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25563 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25564 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25565 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25566 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25567 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25568 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25569 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25570 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25571 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
25572 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
25573 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
25574 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
25575 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
25576 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
25577 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL },
25578 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyPanel_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25579 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction) _wrap_PyPanel_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25580 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL },
25581 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25582 { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25583 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25584 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25585 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25586 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25587 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25588 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25589 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25590 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25591 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25592 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25593 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25594 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25595 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25596 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25597 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
25598 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
25599 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
25600 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
25601 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
25602 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
25603 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL },
25604 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25605 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyScrolledWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25606 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL },
25607 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL },
25608 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS, NULL },
25609 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
25610 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
25611 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25612 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
25613 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL },
25614 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25615 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS, NULL },
25616 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
25617 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
25618 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS, NULL },
25619 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
25620 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
25621 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25622 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL },
25623 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25624 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL },
25625 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
25626 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
25627 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL },
25628 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL },
25629 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL },
25630 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL },
25631 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
25632 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL },
25633 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL },
25634 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL },
25635 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL },
25636 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL },
25637 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL },
25638 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL },
25639 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL },
25640 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL },
25641 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
25642 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL },
25643 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL },
25644 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL },
25645 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS, NULL },
25646 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL },
25647 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL },
25648 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS, NULL },
25649 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL },
25650 { (char *)"PrintData_GetOutputStream", (PyCFunction) _wrap_PrintData_GetOutputStream, METH_VARARGS | METH_KEYWORDS, NULL },
25651 { (char *)"PrintData_SetOutputStream", (PyCFunction) _wrap_PrintData_SetOutputStream, METH_VARARGS | METH_KEYWORDS, NULL },
25652 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL },
25653 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL },
25654 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
25655 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25656 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25657 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25658 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL },
25659 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL },
25660 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25661 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25662 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25663 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS, NULL },
25664 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL },
25665 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25666 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25667 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
25668 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
25669 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
25670 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
25671 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
25672 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
25673 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
25674 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
25675 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25676 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25677 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
25678 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
25679 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
25680 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
25681 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
25682 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
25683 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
25684 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL },
25685 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25686 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL },
25687 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL },
25688 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL },
25689 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL },
25690 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
25691 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS, NULL },
25692 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS, NULL },
25693 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL },
25694 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL },
25695 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
25696 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS, NULL },
25697 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25698 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
25699 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
25700 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25701 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL },
25702 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL },
25703 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL },
25704 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL },
25705 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
25706 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL },
25707 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25708 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
25709 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
25710 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25711 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
25712 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25713 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL },
25714 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25715 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
25716 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25717 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL },
25718 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25719 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
25720 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
25721 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
25722 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL },
25723 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25724 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
25725 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS, NULL },
25726 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL },
25727 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL },
25728 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL },
25729 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS, NULL },
25730 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25731 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
25732 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL },
25733 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25734 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL },
25735 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL },
25736 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS, NULL },
25737 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS, NULL },
25738 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL },
25739 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL },
25740 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25741 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
25742 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS, NULL },
25743 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL },
25744 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL },
25745 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL },
25746 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL },
25747 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL },
25748 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL },
25749 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL },
25750 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL },
25751 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL },
25752 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS, NULL },
25753 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL },
25754 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL },
25755 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS, NULL },
25756 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS, NULL },
25757 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS, NULL },
25758 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS, NULL },
25759 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS, NULL },
25760 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25761 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL },
25762 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
25763 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL },
25764 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25765 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS, NULL },
25766 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
25767 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
25768 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
25769 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL },
25770 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
25771 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL },
25772 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL },
25773 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL },
25774 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS, NULL },
25775 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS, NULL },
25776 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS, NULL },
25777 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS, NULL },
25778 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS, NULL },
25779 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL },
25780 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL },
25781 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL },
25782 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL },
25783 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL },
25784 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS, NULL },
25785 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS, NULL },
25786 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25787 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
25788 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25789 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
25790 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL },
25791 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL },
25792 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL },
25793 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL },
25794 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
25795 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL },
25796 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS, NULL },
25797 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL },
25798 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL },
25799 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
25800 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL },
25801 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL },
25802 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL },
25803 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL },
25804 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL },
25805 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25806 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL },
25807 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL },
25808 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL },
25809 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL },
25810 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL },
25811 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS, NULL },
25812 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL },
25813 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL },
25814 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25815 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25816 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
25817 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
25818 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS, NULL },
25819 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
25820 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
25821 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL },
25822 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
25823 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25824 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL },
25825 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS, NULL },
25826 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL },
25827 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL },
25828 { NULL, NULL, 0, NULL }
d14a1e28
RD
25829};
25830
25831
25832/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25833
25834static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
25835 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25836}
25837static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
25838 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
25839}
25840static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
25841 return (void *)((wxEvent *) ((wxMenuEvent *) x));
25842}
25843static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
25844 return (void *)((wxEvent *) ((wxCloseEvent *) x));
25845}
25846static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
25847 return (void *)((wxEvent *) ((wxMouseEvent *) x));
25848}
25849static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
25850 return (void *)((wxEvent *) ((wxEraseEvent *) x));
25851}
25852static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
25853 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
25854}
25855static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
25856 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
25857}
25858static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
25859 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
25860}
25861static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
25862 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
25863}
25864static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
25865 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
25866}
25867static void *_p_wxPyEventTo_p_wxEvent(void *x) {
25868 return (void *)((wxEvent *) ((wxPyEvent *) x));
25869}
25870static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
25871 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
25872}
25873static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
25874 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
25875}
25876static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
25877 return (void *)((wxEvent *) ((wxIdleEvent *) x));
25878}
25879static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
25880 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
25881}
25882static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
25883 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
25884}
25885static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
25886 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
25887}
25888static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
25889 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
25890}
25891static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
25892 return (void *)((wxEvent *) ((wxActivateEvent *) x));
25893}
25894static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
25895 return (void *)((wxEvent *) ((wxSizeEvent *) x));
25896}
25897static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
25898 return (void *)((wxEvent *) ((wxMoveEvent *) x));
25899}
25900static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
25901 return (void *)((wxEvent *) ((wxPaintEvent *) x));
25902}
25903static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
25904 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
25905}
25906static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
25907 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
25908}
25909static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
25910 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
25911}
25912static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
25913 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
25914}
25915static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
25916 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25917}
25918static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
25919 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
25920}
25921static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
25922 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
25923}
25924static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
25925 return (void *)((wxEvent *) ((wxFocusEvent *) x));
25926}
25927static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
25928 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
25929}
25930static void *_p_wxSashEventTo_p_wxEvent(void *x) {
25931 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
25932}
25933static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
25934 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
25935}
25936static void *_p_wxShowEventTo_p_wxEvent(void *x) {
25937 return (void *)((wxEvent *) ((wxShowEvent *) x));
25938}
25939static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
25940 return (void *)((wxEvent *) ((wxCommandEvent *) x));
25941}
25942static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
25943 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
25944}
25945static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
25946 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25947}
25948static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
25949 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
25950}
25951static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
25952 return (void *)((wxEvent *) ((wxKeyEvent *) x));
25953}
25954static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
25955 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
25956}
25957static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
25958 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
25959}
25960static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
25961 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
25962}
25963static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
25964 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
25965}
25966static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
25967 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
25968}
25969static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
25970 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
25971}
25972static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
25973 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
25974}
25975static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
25976 return (void *)((wxEvtHandler *) ((wxValidator *) x));
25977}
25978static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
25979 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
25980}
25981static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
25982 return (void *)((wxEvtHandler *) ((wxMenu *) x));
25983}
25984static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
25985 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
25986}
25987static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
25988 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
25989}
25990static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
25991 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
25992}
25993static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
25994 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
25995}
25996static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
25997 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
25998}
25999static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
26000 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
26001}
26002static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
26003 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
26004}
26005static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
26006 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
26007}
26008static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
26009 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
26010}
26011static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
26012 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
26013}
26014static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
26015 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26016}
26017static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
26018 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26019}
26020static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
26021 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
26022}
26023static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
26024 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
26025}
26026static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
26027 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
26028}
26029static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
26030 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
26031}
26032static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
26033 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
26034}
26035static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
26036 return (void *)((wxEvtHandler *) ((wxWindow *) x));
26037}
26038static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
26039 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
26040}
26041static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
26042 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
26043}
26044static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
26045 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
26046}
1cb4a8aa
RD
26047static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
26048 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26049}
d14a1e28
RD
26050static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
26051 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
26052}
26053static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
26054 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
26055}
26056static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
26057 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26058}
26059static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
26060 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
26061}
26062static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
26063 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
26064}
26065static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
26066 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
26067}
26068static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
26069 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
26070}
26071static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
26072 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
26073}
26074static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
26075 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26076}
26077static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
26078 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26079}
26080static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
26081 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
26082}
26083static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
26084 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26085}
26086static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
26087 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
26088}
26089static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
26090 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
26091}
26092static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
26093 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
26094}
26095static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
26096 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
26097}
26098static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
26099 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
26100}
26101static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
26102 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
26103}
26104static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
26105 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
26106}
26107static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
26108 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
26109}
26110static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
26111 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
26112}
26113static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
26114 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
26115}
26116static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
26117 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
26118}
26119static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
26120 return (void *)((wxFrame *) ((wxProgressDialog *) x));
26121}
26122static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
26123 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
26124}
26125static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
26126 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26127}
26128static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
26129 return (void *)((wxFrame *) ((wxMiniFrame *) x));
26130}
26131static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
26132 return (void *)((wxFrame *) ((wxSplashScreen *) x));
26133}
26134static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
26135 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
26136}
26137static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
26138 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
26139}
26140static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
26141 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
26142}
26143static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
26144 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
26145}
26146static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
26147 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26148}
26149static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
26150 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
26151}
26152static void *_p_wxSizerItemTo_p_wxObject(void *x) {
26153 return (void *)((wxObject *) ((wxSizerItem *) x));
26154}
26155static void *_p_wxScrollEventTo_p_wxObject(void *x) {
26156 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
26157}
26158static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
26159 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
26160}
26161static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
26162 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
26163}
26164static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
26165 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
26166}
26167static void *_p_wxSizerTo_p_wxObject(void *x) {
26168 return (void *)((wxObject *) ((wxSizer *) x));
26169}
26170static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
26171 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
26172}
26173static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
26174 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
26175}
26176static void *_p_wxPyPanelTo_p_wxObject(void *x) {
26177 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
26178}
26179static void *_p_wxEventTo_p_wxObject(void *x) {
26180 return (void *)((wxObject *) ((wxEvent *) x));
26181}
26182static void *_p_wxFontDataTo_p_wxObject(void *x) {
26183 return (void *)((wxObject *) ((wxFontData *) x));
26184}
26185static void *_p_wxPrintDataTo_p_wxObject(void *x) {
26186 return (void *)((wxObject *) ((wxPrintData *) x));
26187}
26188static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
26189 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
26190}
26191static void *_p_wxGridSizerTo_p_wxObject(void *x) {
26192 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
26193}
26194static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
26195 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
26196}
26197static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
26198 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
26199}
26200static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
26201 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
26202}
26203static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
26204 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
26205}
26206static void *_p_wxPaintEventTo_p_wxObject(void *x) {
26207 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
26208}
26209static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
26210 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
26211}
26212static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
26213 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
26214}
26215static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
26216 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
26217}
26218static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
26219 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
26220}
26221static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
26222 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
26223}
26224static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
26225 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
26226}
26227static void *_p_wxControlTo_p_wxObject(void *x) {
26228 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
26229}
26230static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
26231 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
26232}
26233static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
26234 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
26235}
26236static void *_p_wxFSFileTo_p_wxObject(void *x) {
26237 return (void *)((wxObject *) ((wxFSFile *) x));
26238}
26239static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
26240 return (void *)((wxObject *) ((wxFindReplaceData *) x));
26241}
26242static void *_p_wxPySizerTo_p_wxObject(void *x) {
26243 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
26244}
26245static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
26246 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
26247}
26248static void *_p_wxColourDataTo_p_wxObject(void *x) {
26249 return (void *)((wxObject *) ((wxColourData *) x));
26250}
26251static void *_p_wxPyEventTo_p_wxObject(void *x) {
26252 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
26253}
26254static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
26255 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
26256}
26257static void *_p_wxPyWindowTo_p_wxObject(void *x) {
26258 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
26259}
26260static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
26261 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
26262}
26263static void *_p_wxFileDialogTo_p_wxObject(void *x) {
26264 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
26265}
26266static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
26267 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
26268}
26269static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
26270 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
26271}
26272static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
26273 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
26274}
26275static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
26276 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
26277}
26278static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
26279 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
26280}
26281static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
26282 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
26283}
26284static void *_p_wxShowEventTo_p_wxObject(void *x) {
26285 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
26286}
26287static void *_p_wxPrinterTo_p_wxObject(void *x) {
26288 return (void *)((wxObject *) ((wxPrinter *) x));
26289}
26290static void *_p_wxMenuItemTo_p_wxObject(void *x) {
26291 return (void *)((wxObject *) ((wxMenuItem *) x));
26292}
26293static void *_p_wxIdleEventTo_p_wxObject(void *x) {
26294 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
26295}
26296static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
26297 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
26298}
26299static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
26300 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
26301}
26302static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
26303 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
26304}
26305static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
26306 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
26307}
26308static void *_p_wxSizeEventTo_p_wxObject(void *x) {
26309 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
26310}
26311static void *_p_wxMoveEventTo_p_wxObject(void *x) {
26312 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
26313}
26314static void *_p_wxActivateEventTo_p_wxObject(void *x) {
26315 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
26316}
26317static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
26318 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
26319}
26320static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
26321 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
26322}
26323static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
26324 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
26325}
26326static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
26327 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
26328}
26329static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
26330 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
26331}
26332static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
26333 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
26334}
26335static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
26336 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
26337}
26338static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
26339 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
26340}
26341static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
26342 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
26343}
26344static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
26345 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
26346}
26347static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
26348 return (void *)((wxObject *) ((wxImageHandler *) x));
26349}
26350static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
26351 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
26352}
26353static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
26354 return (void *)((wxObject *) ((wxEvtHandler *) x));
26355}
26356static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
26357 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
26358}
26359static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
26360 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26361}
26362static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
26363 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26364}
26365static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
26366 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
26367}
26368static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
26369 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
26370}
26371static void *_p_wxImageTo_p_wxObject(void *x) {
26372 return (void *)((wxObject *) ((wxImage *) x));
26373}
26374static void *_p_wxFrameTo_p_wxObject(void *x) {
26375 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
26376}
26377static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
26378 return (void *)((wxObject *) ((wxPyPrintout *) x));
26379}
26380static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
26381 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
26382}
26383static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
26384 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
26385}
26386static void *_p_wxStatusBarTo_p_wxObject(void *x) {
26387 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
26388}
26389static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
26390 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
26391}
26392static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
26393 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26394}
26395static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
26396 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
26397}
26398static void *_p_wxKeyEventTo_p_wxObject(void *x) {
26399 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
26400}
d14a1e28
RD
26401static void *_p_wxWindowTo_p_wxObject(void *x) {
26402 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
26403}
26404static void *_p_wxMenuTo_p_wxObject(void *x) {
26405 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
26406}
26407static void *_p_wxMenuBarTo_p_wxObject(void *x) {
26408 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
26409}
1e0c8722
RD
26410static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
26411 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
26412}
d14a1e28
RD
26413static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
26414 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
26415}
26416static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
26417 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
26418}
26419static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
26420 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
26421}
26422static void *_p_wxSashWindowTo_p_wxObject(void *x) {
26423 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
26424}
26425static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
26426 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
26427}
26428static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
26429 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
26430}
26431static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
26432 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26433}
26434static void *_p_wxTipWindowTo_p_wxObject(void *x) {
26435 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26436}
26437static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
26438 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
26439}
26440static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
26441 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
26442}
1cb4a8aa
RD
26443static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
26444 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26445}
d14a1e28
RD
26446static void *_p_wxSashEventTo_p_wxObject(void *x) {
26447 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
26448}
26449static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
26450 return (void *)((wxObject *) ((wxPrintPreview *) x));
26451}
26452static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
26453 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
26454}
26455static void *_p_wxPanelTo_p_wxObject(void *x) {
26456 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
26457}
26458static void *_p_wxDialogTo_p_wxObject(void *x) {
26459 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
26460}
26461static void *_p_wxColourDialogTo_p_wxObject(void *x) {
26462 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
26463}
26464static void *_p_wxDirDialogTo_p_wxObject(void *x) {
26465 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
26466}
26467static void *_p_wxFontDialogTo_p_wxObject(void *x) {
26468 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
26469}
26470static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
26471 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
26472}
26473static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
26474 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
26475}
26476static void *_p_wxFileSystemTo_p_wxObject(void *x) {
26477 return (void *)((wxObject *) ((wxFileSystem *) x));
26478}
26479static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
26480 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
26481}
26482static void *_p_wxMenuEventTo_p_wxObject(void *x) {
26483 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
26484}
26485static void *_p_wxPyAppTo_p_wxObject(void *x) {
26486 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
26487}
26488static void *_p_wxCloseEventTo_p_wxObject(void *x) {
26489 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
26490}
26491static void *_p_wxMouseEventTo_p_wxObject(void *x) {
26492 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
26493}
26494static void *_p_wxEraseEventTo_p_wxObject(void *x) {
26495 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
26496}
26497static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
26498 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
26499}
26500static void *_p_wxCommandEventTo_p_wxObject(void *x) {
26501 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
26502}
26503static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
26504 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
26505}
26506static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
26507 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26508}
26509static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
26510 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
26511}
26512static void *_p_wxFocusEventTo_p_wxObject(void *x) {
26513 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
26514}
26515static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
26516 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
26517}
26518static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
26519 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
26520}
26521static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
26522 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
26523}
26524static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
26525 return (void *)((wxObject *) ((wxPrintDialogData *) x));
26526}
26527static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
26528 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
26529}
26530static void *_p_wxValidatorTo_p_wxObject(void *x) {
26531 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
26532}
26533static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
26534 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26535}
26536static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
26537 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
26538}
26539static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
26540 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26541}
26542static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
26543 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26544}
26545static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
26546 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26547}
26548static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
26549 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
26550}
26551static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
26552 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
26553}
26554static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
26555 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
26556}
26557static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
26558 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
26559}
26560static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
26561 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
26562}
26563static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
26564 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
26565}
26566static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
26567 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
26568}
26569static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
26570 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
26571}
26572static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
26573 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
26574}
26575static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
26576 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
26577}
26578static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
26579 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
26580}
26581static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
26582 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
26583}
26584static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
26585 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
26586}
26587static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
26588 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
26589}
26590static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
26591 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
26592}
26593static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
26594 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
26595}
26596static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
26597 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
26598}
26599static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
26600 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
26601}
26602static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
26603 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
26604}
26605static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
26606 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
26607}
26608static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
26609 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26610}
26611static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
26612 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
26613}
26614static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
26615 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
26616}
26617static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
26618 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
26619}
26620static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
26621 return (void *)((wxWindow *) ((wxMenuBar *) x));
26622}
26623static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
26624 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
26625}
26626static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
26627 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
26628}
26629static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
26630 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
26631}
26632static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
26633 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
26634}
26635static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
26636 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
26637}
26638static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
26639 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
26640}
26641static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
26642 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
26643}
26644static void *_p_wxPanelTo_p_wxWindow(void *x) {
26645 return (void *)((wxWindow *) ((wxPanel *) x));
26646}
26647static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
26648 return (void *)((wxWindow *) ((wxStatusBar *) x));
26649}
26650static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
26651 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
26652}
26653static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
26654 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
26655}
26656static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
26657 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26658}
26659static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
26660 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26661}
26662static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
26663 return (void *)((wxWindow *) ((wxPopupWindow *) x));
26664}
26665static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
26666 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
26667}
26668static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
26669 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
26670}
26671static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
26672 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
26673}
26674static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
26675 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
26676}
26677static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
26678 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
26679}
26680static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
26681 return (void *)((wxWindow *) ((wxSashWindow *) x));
26682}
1cb4a8aa
RD
26683static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
26684 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26685}
d14a1e28
RD
26686static void *_p_wxControlTo_p_wxWindow(void *x) {
26687 return (void *)((wxWindow *) ((wxControl *) x));
26688}
26689static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
26690 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
26691}
26692static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
26693 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26694}
26695static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
26696 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
26697}
26698static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
26699 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
26700}
26701static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
26702 return (void *)((wxWindow *) ((wxPyWindow *) x));
26703}
26704static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
26705 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
26706}
26707static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
26708 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26709}
26710static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
26711 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26712}
26713static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
26714 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
26715}
26716static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
26717 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26718}
26719static void *_p_wxFrameTo_p_wxWindow(void *x) {
26720 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
26721}
26722static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
26723 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
26724}
26725static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
26726 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
26727}
26728static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
26729 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
26730}
26731static void *_p_wxDialogTo_p_wxWindow(void *x) {
26732 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
26733}
26734static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
26735 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
26736}
26737static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
26738 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
26739}
26740static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
26741 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
26742}
1cb4a8aa
RD
26743static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
26744 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26745}
d14a1e28
RD
26746static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
26747 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
26748}
26749static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
26750 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
26751}
26752static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
26753 return (void *)((wxDialog *) ((wxColourDialog *) x));
26754}
26755static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
26756 return (void *)((wxDialog *) ((wxDirDialog *) x));
26757}
26758static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
26759 return (void *)((wxDialog *) ((wxFontDialog *) x));
26760}
26761static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
26762 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
26763}
26764static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
26765 return (void *)((wxDialog *) ((wxPrintDialog *) x));
26766}
26767static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
26768 return (void *)((wxDialog *) ((wxFileDialog *) x));
26769}
26770static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
26771 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
26772}
26773static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
26774 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
26775}
26776static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
26777 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
26778}
26779static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
26780 return (void *)((wxDialog *) ((wxMessageDialog *) x));
26781}
26782static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
26783 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
26784}
26785static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
26786 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
26787}
26788static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
26789 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
26790}
1cb4a8aa
RD
26791static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
26792 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26793}
d14a1e28
RD
26794static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
26795 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26796}
26797static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
26798 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26799}
26800static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
26801 return (void *)((wxPanel *) ((wxPyPanel *) x));
26802}
26803static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
26804 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
26805}
26806static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
26807 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
26808}
26809static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
26810 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26811}
26812static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
26813 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
26814}
26815static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
26816 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
26817}
26818static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
26819 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
26820}
26821static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
26822 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
26823}
26824static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
26825 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
26826}
26827static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
26828 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26829}
26830static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
26831 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
26832}
26833static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
26834 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
26835}
26836static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
26837 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
26838}
26839static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
26840 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
26841}
26842static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
26843 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
26844}
26845static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
26846 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26847}
15afbcd0
RD
26848static 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}};
26849static 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}};
26850static 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}};
26851static 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}};
26852static 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}};
15afbcd0
RD
26853static 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}};
26854static 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}};
f5b96ee1 26855static 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}};
15afbcd0
RD
26856static 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}};
26857static 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}};
26858static 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}};
26859static 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}};
26860static 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}};
26861static 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}};
26862static 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}};
26863static 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}};
26864static 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}};
26865static 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}};
26866static 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}};
26867static 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}};
26868static 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}};
22bfe96c 26869static 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}};
15afbcd0
RD
26870static 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}};
26871static 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}};
26872static 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}};
26873static 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}};
26874static 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}};
26875static 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}};
26876static 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}};
26877static 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}};
26878static swig_type_info _swigt__p_wxTextEntryDialog[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0, 0, 0, 0},{"_p_wxTextEntryDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26879static 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}};
26880static 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}};
26881static 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}};
26882static 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}};
26883static 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}};
1cb4a8aa 26884static 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_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_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_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_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_wxTaskBarIcon", _p_wxTaskBarIconTo_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_wxPrintDialog", _p_wxPrintDialogTo_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}};
15afbcd0
RD
26885static 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}};
26886static 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}};
26887static 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}};
26888static 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}};
26889static 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}};
26890static 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}};
26891static 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}};
26892static 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}};
26893static 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}};
26894static 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}};
26895static 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}};
26896static 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}};
26897static 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}};
1cb4a8aa 26898static 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_wxTaskBarIcon", _p_wxTaskBarIconTo_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_wxTextEntryDialog", _p_wxTextEntryDialogTo_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_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_wxEvtHandler", _p_wxEvtHandlerTo_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_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_wxPrintDialog", _p_wxPrintDialogTo_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_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}};
15afbcd0 26899static swig_type_info _swigt__p_wxOutputStream[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0, 0, 0, 0},{"_p_wxOutputStream", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
1cb4a8aa 26900static 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}};
15afbcd0
RD
26901static 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}};
26902static 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}};
26903static 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}};
26904static 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}};
f5b96ee1 26905static 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}};
15afbcd0
RD
26906static 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}};
26907static 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}};
26908static 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}};
26909static 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}};
26910static 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_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_wxPrintDialog", _p_wxPrintDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_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_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}};
1cb4a8aa
RD
26911static 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_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_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow, 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_wxMDIClientWindow", _p_wxMDIClientWindowTo_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_wxPrintDialog", _p_wxPrintDialogTo_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}};
26912static 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}};
15afbcd0
RD
26913static 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}};
26914static 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}};
26915static 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}};
26916static 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}};
26917static 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}};
26918static 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}};
26919static 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}};
26920static 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}};
26921static 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_wxPrintDialog", _p_wxPrintDialogTo_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_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}};
1cb4a8aa 26922static 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}};
15afbcd0
RD
26923static 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}};
26924static 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}};
7fdaaabe 26925static 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}};
15afbcd0
RD
26926static 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}};
26927static 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}};
26928static 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}};
26929static 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}};
26930static 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}};
26931static 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}};
26932static 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}};
26933static 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}};
d14a1e28
RD
26934
26935static swig_type_info *swig_types_initial[] = {
26936_swigt__p_wxQueryLayoutInfoEvent,
26937_swigt__p_wxPreviewFrame,
26938_swigt__p_wxPyPreviewFrame,
d14a1e28
RD
26939_swigt__p_wxPyPanel,
26940_swigt__p_wxMenu,
d14a1e28
RD
26941_swigt__p_wxFontData,
26942_swigt__p_wxEvent,
f5b96ee1 26943_swigt__p_wxPrintData,
d14a1e28
RD
26944_swigt__p_wxTaskBarIcon,
26945_swigt__p_wxIconBundle,
26946_swigt__p_wxLayoutAlgorithm,
26947_swigt__p_wxFindDialogEvent,
26948_swigt__p_wxPreviewCanvas,
26949_swigt__p_wxFont,
26950_swigt__p_wxSplitterEvent,
26951_swigt__p_wxRegion,
26952_swigt__p_wxFindReplaceData,
26953_swigt__p_int,
26954_swigt__p_wxSize,
26955_swigt__p_wxDC,
26956_swigt__p_wxIcon,
22bfe96c 26957_swigt__p_wxVisualAttributes,
d14a1e28
RD
26958_swigt__p_wxMDIChildFrame,
26959_swigt__p_wxColourData,
26960_swigt__p_wxNotifyEvent,
26961_swigt__p_wxPyWindow,
26962_swigt__p_wxSplashScreen,
26963_swigt__p_wxFindReplaceDialog,
26964_swigt__p_wxProgressDialog,
26965_swigt__p_wxMessageDialog,
26966_swigt__p_wxTextEntryDialog,
26967_swigt__p_wxSingleChoiceDialog,
26968_swigt__p_wxMultiChoiceDialog,
26969_swigt__p_wxFileDialog,
26970_swigt__p_wxPrinter,
d14a1e28
RD
26971_swigt__p_wxArrayInt,
26972_swigt__p_wxEvtHandler,
26973_swigt__p_wxCalculateLayoutEvent,
26974_swigt__p_wxPyHtmlListBox,
26975_swigt__p_wxPyVListBox,
26976_swigt__p_wxRect,
994141e6 26977_swigt__p_char,
d14a1e28
RD
26978_swigt__p_wxMiniFrame,
26979_swigt__p_wxFrame,
26980_swigt__p_wxPyPrintout,
26981_swigt__p_wxTaskBarIconEvent,
26982_swigt__p_wxScrollWinEvent,
26983_swigt__p_wxStatusBar,
26984_swigt__p_wxMDIParentFrame,
26985_swigt__p_wxPoint,
26986_swigt__p_wxObject,
db914595 26987_swigt__p_wxOutputStream,
1cb4a8aa 26988_swigt__p_wxPyScrolledWindow,
d14a1e28
RD
26989_swigt__p_wxMDIClientWindow,
26990_swigt__p_wxTipWindow,
26991_swigt__p_wxSashLayoutWindow,
26992_swigt__p_wxSplitterWindow,
f5b96ee1 26993_swigt__p_wxSplashScreenWindow,
d14a1e28
RD
26994_swigt__p_wxPyVScrolledWindow,
26995_swigt__p_wxPyPopupTransientWindow,
26996_swigt__p_wxPopupWindow,
26997_swigt__p_wxSashWindow,
26998_swigt__p_wxTopLevelWindow,
26999_swigt__p_wxWindow,
27000_swigt__p_wxScrolledWindow,
27001_swigt__p_wxMenuBar,
27002_swigt__p_wxPrintPreview,
27003_swigt__p_wxSashEvent,
27004_swigt__p_wxString,
27005_swigt__p_wxPyPrintPreview,
27006_swigt__p_wxFontDialog,
27007_swigt__p_wxDirDialog,
27008_swigt__p_wxColourDialog,
27009_swigt__p_wxDialog,
27010_swigt__p_wxPanel,
db914595 27011_swigt__p_wxPageSetupDialog,
d14a1e28 27012_swigt__p_wxPrintDialog,
7fdaaabe 27013_swigt__p_wxFileSystem,
d14a1e28
RD
27014_swigt__p_wxBitmap,
27015_swigt__p_wxCommandEvent,
d14a1e28
RD
27016_swigt__p_wxPreviewControlBar,
27017_swigt__p_wxPyPreviewControlBar,
27018_swigt__p_wxColour,
27019_swigt__p_wxToolBar,
b2dc1044 27020_swigt__p_wxPageSetupDialogData,
994141e6 27021_swigt__p_wxPrintDialogData,
d14a1e28
RD
270220
27023};
27024
27025
27026/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
27027
27028static swig_const_info swig_const_table[] = {
c32bde28 27029{0, 0, 0, 0.0, 0, 0}};
d14a1e28
RD
27030
27031#ifdef __cplusplus
27032}
27033#endif
27034
27035#ifdef __cplusplus
27036extern "C"
27037#endif
27038SWIGEXPORT(void) SWIG_init(void) {
27039 static PyObject *SWIG_globals = 0;
27040 static int typeinit = 0;
27041 PyObject *m, *d;
27042 int i;
27043 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
27044 m = Py_InitModule((char *) SWIG_name, SwigMethods);
27045 d = PyModule_GetDict(m);
27046
27047 if (!typeinit) {
27048 for (i = 0; swig_types_initial[i]; i++) {
27049 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
27050 }
27051 typeinit = 1;
27052 }
27053 SWIG_InstallConstants(d,swig_const_table);
27054
b2dc1044
RD
27055 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
27056 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
27057 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
27058 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
27059 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
c32bde28
RD
27060 PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_From_int((int)wxSTAY_ON_TOP));
27061 PyDict_SetItemString(d,"ICONIZE", SWIG_From_int((int)wxICONIZE));
27062 PyDict_SetItemString(d,"MINIMIZE", SWIG_From_int((int)wxMINIMIZE));
27063 PyDict_SetItemString(d,"MAXIMIZE", SWIG_From_int((int)wxMAXIMIZE));
27064 PyDict_SetItemString(d,"CLOSE_BOX", SWIG_From_int((int)wxCLOSE_BOX));
27065 PyDict_SetItemString(d,"THICK_FRAME", SWIG_From_int((int)wxTHICK_FRAME));
27066 PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_From_int((int)wxSYSTEM_MENU));
27067 PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_From_int((int)wxMINIMIZE_BOX));
27068 PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_From_int((int)wxMAXIMIZE_BOX));
27069 PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_From_int((int)wxTINY_CAPTION_HORIZ));
27070 PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_From_int((int)wxTINY_CAPTION_VERT));
27071 PyDict_SetItemString(d,"RESIZE_BOX", SWIG_From_int((int)wxRESIZE_BOX));
27072 PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_From_int((int)wxRESIZE_BORDER));
27073 PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_From_int((int)wxDIALOG_NO_PARENT));
27074 PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)wxDEFAULT_FRAME_STYLE));
27075 PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)wxDEFAULT_DIALOG_STYLE));
27076 PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_From_int((int)wxFRAME_TOOL_WINDOW));
27077 PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)wxFRAME_FLOAT_ON_PARENT));
27078 PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)wxFRAME_NO_WINDOW_MENU));
27079 PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_From_int((int)wxFRAME_NO_TASKBAR));
27080 PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_From_int((int)wxFRAME_SHAPED));
27081 PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_From_int((int)wxDIALOG_MODAL));
27082 PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_From_int((int)wxDIALOG_MODELESS));
27083 PyDict_SetItemString(d,"USER_COLOURS", SWIG_From_int((int)wxUSER_COLOURS));
27084 PyDict_SetItemString(d,"NO_3D", SWIG_From_int((int)wxNO_3D));
27085 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)wxFULLSCREEN_NOMENUBAR));
27086 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)wxFULLSCREEN_NOTOOLBAR));
27087 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)wxFULLSCREEN_NOSTATUSBAR));
27088 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_From_int((int)wxFULLSCREEN_NOBORDER));
27089 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)wxFULLSCREEN_NOCAPTION));
27090 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_From_int((int)wxFULLSCREEN_ALL));
27091 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)wxTOPLEVEL_EX_DIALOG));
27092 PyDict_SetItemString(d,"USER_ATTENTION_INFO", SWIG_From_int((int)wxUSER_ATTENTION_INFO));
27093 PyDict_SetItemString(d,"USER_ATTENTION_ERROR", SWIG_From_int((int)wxUSER_ATTENTION_ERROR));
27094 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)wxSPLASH_CENTRE_ON_PARENT));
27095 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)wxSPLASH_CENTRE_ON_SCREEN));
27096 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_From_int((int)wxSPLASH_NO_CENTRE));
27097 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_From_int((int)wxSPLASH_TIMEOUT));
27098 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)wxSPLASH_NO_TIMEOUT));
27099 PyDict_SetItemString(d,"SB_NORMAL", SWIG_From_int((int)wxSB_NORMAL));
27100 PyDict_SetItemString(d,"SB_FLAT", SWIG_From_int((int)wxSB_FLAT));
27101 PyDict_SetItemString(d,"SB_RAISED", SWIG_From_int((int)wxSB_RAISED));
b2dc1044 27102 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
c32bde28
RD
27103 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_From_int((int)wxSP_NOBORDER));
27104 PyDict_SetItemString(d,"SP_NOSASH", SWIG_From_int((int)wxSP_NOSASH));
27105 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)wxSP_PERMIT_UNSPLIT));
27106 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_From_int((int)wxSP_LIVE_UPDATE));
27107 PyDict_SetItemString(d,"SP_3DSASH", SWIG_From_int((int)wxSP_3DSASH));
27108 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_From_int((int)wxSP_3DBORDER));
27109 PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_From_int((int)wxSP_NO_XP_THEME));
27110 PyDict_SetItemString(d,"SP_BORDER", SWIG_From_int((int)wxSP_BORDER));
27111 PyDict_SetItemString(d,"SP_3D", SWIG_From_int((int)wxSP_3D));
27112 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_From_int((int)wxSPLIT_HORIZONTAL));
27113 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_From_int((int)wxSPLIT_VERTICAL));
27114 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_From_int((int)wxSPLIT_DRAG_NONE));
27115 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)wxSPLIT_DRAG_DRAGGING));
27116 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSPLIT_DRAG_LEFT_DOWN));
d14a1e28
RD
27117 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
27118 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
27119 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
27120 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
b2dc1044
RD
27121 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
27122 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
c32bde28
RD
27123 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_From_int((int)wxSASH_DRAG_NONE));
27124 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_From_int((int)wxSASH_DRAG_DRAGGING));
27125 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSASH_DRAG_LEFT_DOWN));
27126 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_From_int((int)wxSW_NOBORDER));
27127 PyDict_SetItemString(d,"SW_BORDER", SWIG_From_int((int)wxSW_BORDER));
27128 PyDict_SetItemString(d,"SW_3DSASH", SWIG_From_int((int)wxSW_3DSASH));
27129 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_From_int((int)wxSW_3DBORDER));
27130 PyDict_SetItemString(d,"SW_3D", SWIG_From_int((int)wxSW_3D));
27131 PyDict_SetItemString(d,"SASH_TOP", SWIG_From_int((int)wxSASH_TOP));
27132 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_From_int((int)wxSASH_RIGHT));
27133 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_From_int((int)wxSASH_BOTTOM));
27134 PyDict_SetItemString(d,"SASH_LEFT", SWIG_From_int((int)wxSASH_LEFT));
27135 PyDict_SetItemString(d,"SASH_NONE", SWIG_From_int((int)wxSASH_NONE));
27136 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_From_int((int)wxSASH_STATUS_OK));
27137 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)wxSASH_STATUS_OUT_OF_RANGE));
d14a1e28 27138 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
c32bde28
RD
27139 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_From_int((int)wxLAYOUT_HORIZONTAL));
27140 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_From_int((int)wxLAYOUT_VERTICAL));
27141 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_From_int((int)wxLAYOUT_NONE));
27142 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_From_int((int)wxLAYOUT_TOP));
27143 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_From_int((int)wxLAYOUT_LEFT));
27144 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_From_int((int)wxLAYOUT_RIGHT));
27145 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_From_int((int)wxLAYOUT_BOTTOM));
27146 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_From_int((int)wxLAYOUT_LENGTH_Y));
27147 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_From_int((int)wxLAYOUT_LENGTH_X));
27148 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)wxLAYOUT_MRU_LENGTH));
27149 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_From_int((int)wxLAYOUT_QUERY));
d14a1e28
RD
27150 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
27151 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
b2dc1044 27152 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
d14a1e28
RD
27153
27154 // Map renamed classes back to their common name for OOR
27155 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
27156 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
27157 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
27158
27159 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
27160 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
27161 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
27162 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
27163 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
27164 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
27165 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
b2dc1044
RD
27166 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
27167 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
27168 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
27169 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
27170 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
27171 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
c32bde28
RD
27172 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_From_int((int)wxCHOICEDLG_STYLE));
27173 PyDict_SetItemString(d,"FR_DOWN", SWIG_From_int((int)wxFR_DOWN));
27174 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_From_int((int)wxFR_WHOLEWORD));
27175 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_From_int((int)wxFR_MATCHCASE));
27176 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_From_int((int)wxFR_REPLACEDIALOG));
27177 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_From_int((int)wxFR_NOUPDOWN));
27178 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_From_int((int)wxFR_NOMATCHCASE));
27179 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_From_int((int)wxFR_NOWHOLEWORD));
d14a1e28
RD
27180 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
27181 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
27182 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
27183 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
27184 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
c32bde28
RD
27185 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_From_int((int)4001));
27186 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_From_int((int)4001));
27187 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_From_int((int)4002));
27188 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_From_int((int)4003));
27189 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_From_int((int)4004));
27190 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_From_int((int)4005));
27191 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_From_int((int)4100));
27192 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_From_int((int)4600));
b2dc1044
RD
27193 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
27194 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
c32bde28
RD
27195 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_From_int((int)wxPRINT_MODE_NONE));
27196 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_From_int((int)wxPRINT_MODE_PREVIEW));
27197 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_From_int((int)wxPRINT_MODE_FILE));
27198 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_From_int((int)wxPRINT_MODE_PRINTER));
27199 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_From_int((int)wxPRINT_MODE_STREAM));
27200 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_From_int((int)wxPRINTER_NO_ERROR));
27201 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_From_int((int)wxPRINTER_CANCELLED));
27202 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_From_int((int)wxPRINTER_ERROR));
27203 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_From_int((int)wxPREVIEW_PRINT));
27204 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_From_int((int)wxPREVIEW_PREVIOUS));
27205 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_From_int((int)wxPREVIEW_NEXT));
27206 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_From_int((int)wxPREVIEW_ZOOM));
27207 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_From_int((int)wxPREVIEW_FIRST));
27208 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_From_int((int)wxPREVIEW_LAST));
27209 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_From_int((int)wxPREVIEW_GOTO));
27210 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_From_int((int)wxPREVIEW_DEFAULT));
27211 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_From_int((int)wxID_PREVIEW_CLOSE));
27212 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_From_int((int)wxID_PREVIEW_NEXT));
27213 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)wxID_PREVIEW_PREVIOUS));
27214 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_From_int((int)wxID_PREVIEW_PRINT));
27215 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_From_int((int)wxID_PREVIEW_ZOOM));
27216 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_From_int((int)wxID_PREVIEW_FIRST));
27217 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_From_int((int)wxID_PREVIEW_LAST));
27218 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_From_int((int)wxID_PREVIEW_GOTO));
d14a1e28
RD
27219
27220 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
27221
27222}
27223