]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/_windows_wrap.cpp
Unicode support added
[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 219#define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
5e483524
RD
220#define SWIGTYPE_p_wxPyTaskBarIcon swig_types[9]
221#define SWIGTYPE_p_wxIconBundle swig_types[10]
222#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[11]
223#define SWIGTYPE_p_wxFindDialogEvent swig_types[12]
224#define SWIGTYPE_p_wxPreviewCanvas swig_types[13]
225#define SWIGTYPE_p_wxFont swig_types[14]
226#define SWIGTYPE_p_wxSplitterEvent swig_types[15]
227#define SWIGTYPE_p_wxRegion swig_types[16]
228#define SWIGTYPE_p_wxFindReplaceData swig_types[17]
229#define SWIGTYPE_p_int swig_types[18]
230#define SWIGTYPE_p_wxSize swig_types[19]
231#define SWIGTYPE_p_wxDC swig_types[20]
232#define SWIGTYPE_p_wxIcon swig_types[21]
233#define SWIGTYPE_p_wxVisualAttributes swig_types[22]
234#define SWIGTYPE_p_wxMDIChildFrame swig_types[23]
235#define SWIGTYPE_p_wxColourData swig_types[24]
236#define SWIGTYPE_p_wxNotifyEvent swig_types[25]
237#define SWIGTYPE_p_wxPyWindow swig_types[26]
238#define SWIGTYPE_p_wxSplashScreen swig_types[27]
239#define SWIGTYPE_p_wxFindReplaceDialog swig_types[28]
240#define SWIGTYPE_p_wxProgressDialog swig_types[29]
241#define SWIGTYPE_p_wxMessageDialog swig_types[30]
242#define SWIGTYPE_p_wxTextEntryDialog swig_types[31]
243#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[32]
244#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[33]
245#define SWIGTYPE_p_wxFileDialog swig_types[34]
246#define SWIGTYPE_p_wxPrinter swig_types[35]
247#define SWIGTYPE_p_wxArrayInt swig_types[36]
248#define SWIGTYPE_p_wxEvtHandler swig_types[37]
249#define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[38]
250#define SWIGTYPE_p_wxPyHtmlListBox swig_types[39]
251#define SWIGTYPE_p_wxPyVListBox swig_types[40]
252#define SWIGTYPE_p_wxRect swig_types[41]
253#define SWIGTYPE_p_char swig_types[42]
254#define SWIGTYPE_p_wxMiniFrame swig_types[43]
255#define SWIGTYPE_p_wxFrame swig_types[44]
256#define SWIGTYPE_p_wxPyPrintout swig_types[45]
257#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[46]
258#define SWIGTYPE_p_wxScrollWinEvent swig_types[47]
259#define SWIGTYPE_p_wxStatusBar swig_types[48]
260#define SWIGTYPE_p_wxMDIParentFrame swig_types[49]
261#define SWIGTYPE_p_wxPoint swig_types[50]
262#define SWIGTYPE_p_wxObject swig_types[51]
263#define SWIGTYPE_p_wxOutputStream swig_types[52]
09c21d3b
RD
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 276#define SWIGTYPE_p_wxMenuBar swig_types[65]
5e483524
RD
277#define SWIGTYPE_p_wxPyScrolledWindow swig_types[66]
278#define SWIGTYPE_p_wxPrintPreview swig_types[67]
279#define SWIGTYPE_p_wxSashEvent swig_types[68]
280#define SWIGTYPE_p_wxString swig_types[69]
281#define SWIGTYPE_p_wxPyPrintPreview swig_types[70]
282#define SWIGTYPE_p_wxFontDialog swig_types[71]
283#define SWIGTYPE_p_wxDirDialog swig_types[72]
284#define SWIGTYPE_p_wxColourDialog swig_types[73]
285#define SWIGTYPE_p_wxDialog swig_types[74]
286#define SWIGTYPE_p_wxPanel swig_types[75]
287#define SWIGTYPE_p_wxPageSetupDialog swig_types[76]
288#define SWIGTYPE_p_wxPrintDialog swig_types[77]
289#define SWIGTYPE_p_wxFileSystem swig_types[78]
290#define SWIGTYPE_p_wxBitmap swig_types[79]
291#define SWIGTYPE_p_wxCommandEvent swig_types[80]
292#define SWIGTYPE_p_wxPreviewControlBar swig_types[81]
293#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[82]
294#define SWIGTYPE_p_wxColour swig_types[83]
295#define SWIGTYPE_p_wxToolBar swig_types[84]
296#define SWIGTYPE_p_wxPageSetupDialogData swig_types[85]
297#define SWIGTYPE_p_wxPrintDialogData swig_types[86]
298static swig_type_info *swig_types[88];
d14a1e28
RD
299
300/* -------- TYPES TABLE (END) -------- */
301
302
303/*-----------------------------------------------
54f9ee45 304 @(target):= _windows_.so
d14a1e28 305 ------------------------------------------------*/
54f9ee45 306#define SWIG_init init_windows_
d14a1e28 307
54f9ee45 308#define SWIG_name "_windows_"
d14a1e28 309
c32bde28
RD
310/* Auxiliar swig macros that appear in the header */
311
312#define SWIG_OLDOBJ 1
313#define SWIG_NEWOBJ SWIG_OLDOBJ + 1
314#define SWIG_PYSTR SWIG_NEWOBJ + 1
994141e6 315
994141e6 316#ifdef __cplusplus
15afbcd0 317#define SWIGSTATICINLINE(a) static inline a
994141e6 318#define SWIGSTATIC(a) static a
c32bde28
RD
319#define swig_new_array(size,Type) (new Type[(size)])
320#define swig_delete(cptr) delete cptr
15afbcd0 321#define swig_delete_array(cptr) delete[] cptr
c32bde28
RD
322#define swig_const_cast(a,Type) const_cast<Type >(a)
323#define swig_static_cast(a,Type) static_cast<Type >(a)
324#define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a)
325#define swig_new_copy(ptr,Type) (new Type(*ptr))
326#define swig_numeric_cast(a,Type) static_cast<Type >(a)
994141e6 327
15afbcd0
RD
328#else /* C case */
329
330#define SWIGSTATICINLINE(a) static a
331#define SWIGSTATIC(a) static a
c32bde28
RD
332#define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type)))
333#define swig_delete(cptr) free((char*)cptr)
15afbcd0 334#define swig_delete_array(cptr) free((char*)cptr)
c32bde28
RD
335#define swig_const_cast(a,Type) (Type)(a)
336#define swig_static_cast(a,Type) (Type)(a)
337#define swig_reinterpret_cast(a,Type) (Type)(a)
338#define swig_numeric_cast(a,Type) (Type)(a)
339#define swig_new_copy(ptr,Type) ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type)))
15afbcd0
RD
340
341#endif /* __cplusplus */
994141e6
RD
342
343
c32bde28
RD
344/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
345#define SWIG_From_signed_SS_char PyInt_FromLong
346/*@@*/
347/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
348#define SWIG_From_unsigned_SS_char PyInt_FromLong
349/*@@*/
350/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
351#define SWIG_From_short PyInt_FromLong
352/*@@*/
353/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
354#define SWIG_From_unsigned_SS_short PyInt_FromLong
355/*@@*/
356/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
357#define SWIG_From_int PyInt_FromLong
358/*@@*/
359/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
360#define SWIG_From_long PyInt_FromLong
361/*@@*/
362/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
363#define SWIG_From_float PyFloat_FromDouble
364/*@@*/
365/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
366#define SWIG_From_double PyFloat_FromDouble
367/*@@*/
994141e6
RD
368
369
d14a1e28
RD
370#include "wx/wxPython/wxPython.h"
371#include "wx/wxPython/pyclasses.h"
372
d14a1e28 373
b2dc1044
RD
374 static const wxString wxPyEmptyString(wxEmptyString);
375 static const wxString wxPyPanelNameStr(wxPanelNameStr);
d14a1e28
RD
376
377
378
15afbcd0
RD
379#include <limits.h>
380
381
c32bde28
RD
382SWIGSTATICINLINE(int)
383 SWIG_CheckLongInRange(long value, long min_value, long max_value,
384 const char *errmsg)
15afbcd0 385{
c32bde28
RD
386 if (value < min_value) {
387 if (errmsg) {
388 PyErr_Format(PyExc_OverflowError,
389 "value %ld is less than '%s' minimum %ld",
390 value, errmsg, min_value);
391 }
392 return 0;
393 } else if (value > max_value) {
394 if (errmsg) {
395 PyErr_Format(PyExc_OverflowError,
396 "value %ld is greater than '%s' maximum %ld",
397 value, errmsg, max_value);
15afbcd0 398 }
c32bde28 399 return 0;
15afbcd0 400 }
c32bde28 401 return 1;
994141e6
RD
402}
403
404
c32bde28
RD
405// See my_fragments.i
406SWIGSTATICINLINE(int)
407SWIG_AsVal_long(PyObject* obj, long* val)
994141e6 408{
c32bde28
RD
409 if (PyNumber_Check(obj)) {
410 if (val) *val = PyInt_AsLong(obj);
411 return 1;
412 }
69223c70
RD
413 else {
414 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
415 obj->ob_type->tp_name);
416 PyErr_SetObject(PyExc_TypeError, errmsg);
417 Py_DECREF(errmsg);
69223c70 418 }
c32bde28 419 return 0;
994141e6
RD
420}
421
422
15afbcd0
RD
423#if INT_MAX != LONG_MAX
424SWIGSTATICINLINE(int)
c32bde28 425 SWIG_AsVal_int(PyObject *obj, int *val)
15afbcd0 426{
c32bde28
RD
427 const char* errmsg = val ? "int" : 0;
428 long v;
429 if (SWIG_AsVal_long(obj, &v)) {
430 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
431 if (val) *val = swig_numeric_cast(v, int);
432 return 1;
433 } else {
434 return 0;
435 }
436 } else {
437 PyErr_Clear();
438 }
439 if (val) {
440 PyErr_SetString(PyExc_TypeError, "an int is expected");
441 }
442 return 0;
15afbcd0
RD
443}
444#else
c32bde28
RD
445SWIGSTATICINLINE(int)
446 SWIG_AsVal_int(PyObject *obj, int *val)
447{
448 return SWIG_AsVal_long(obj,(long*)val);
449}
15afbcd0
RD
450#endif
451
452
453SWIGSTATICINLINE(int)
c32bde28 454SWIG_As_int(PyObject* obj)
15afbcd0 455{
c32bde28
RD
456 int v;
457 if (!SWIG_AsVal_int(obj, &v)) {
458 /*
459 this is needed to make valgrind/purify happier. the other
460 solution is throw an exception, but since this code should work
461 with plain C ....
462 */
463 memset((void*)&v, 0, sizeof(int));
15afbcd0 464 }
c32bde28 465 return v;
15afbcd0
RD
466}
467
468
c32bde28
RD
469SWIGSTATICINLINE(long)
470SWIG_As_long(PyObject* obj)
15afbcd0 471{
c32bde28
RD
472 long v;
473 if (!SWIG_AsVal_long(obj, &v)) {
474 /*
475 this is needed to make valgrind/purify happier. the other
476 solution is throw an exception, but since this code should work
477 with plain C ....
478 */
479 memset((void*)&v, 0, sizeof(long));
15afbcd0 480 }
c32bde28 481 return v;
15afbcd0
RD
482}
483
c32bde28
RD
484
485SWIGSTATICINLINE(int)
486SWIG_Check_int(PyObject* obj)
487{
488 return SWIG_AsVal_int(obj, (int*)0);
489}
15afbcd0 490
c32bde28
RD
491
492SWIGSTATICINLINE(int)
493SWIG_Check_long(PyObject* obj)
994141e6 494{
c32bde28 495 return SWIG_AsVal_long(obj, (long*)0);
994141e6
RD
496}
497
498
15afbcd0 499SWIGSTATICINLINE(int)
c32bde28 500 SWIG_AsVal_bool(PyObject *obj, bool *val)
15afbcd0 501{
c32bde28
RD
502 /* if (val) *val = PyObject_IsTrue(obj); return 1; */
503 if (obj == Py_True) {
504 if (val) *val = true;
505 return 1;
506 }
507 if (obj == Py_False) {
508 if (val) *val = false;
509 return 1;
510 }
511 int res = 0;
512 if (SWIG_AsVal_int(obj, &res)) {
513 if (val) *val = (bool)res;
15afbcd0
RD
514 return 1;
515 }
c32bde28
RD
516 if (val) {
517 PyErr_SetString(PyExc_TypeError, "a bool is expected");
518 }
519 return 0;
520}
521
522
523SWIGSTATICINLINE(bool)
524SWIG_As_bool(PyObject* obj)
525{
526 bool v;
527 if (!SWIG_AsVal_bool(obj, &v)) {
528 /*
529 this is needed to make valgrind/purify happier. the other
530 solution is throw an exception, but since this code should work
531 with plain C ....
532 */
533 memset((void*)&v, 0, sizeof(bool));
534 }
535 return v;
15afbcd0
RD
536}
537
c32bde28
RD
538
539SWIGSTATICINLINE(int)
540SWIG_Check_bool(PyObject* obj)
541{
542 return SWIG_AsVal_bool(obj, (bool*)0);
543}
15afbcd0 544
c32bde28
RD
545
546 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
d14a1e28
RD
547 PyObject* o2;
548 PyObject* o3;
c32bde28 549
d14a1e28
RD
550 if (!target) {
551 target = o;
552 } else if (target == Py_None) {
553 Py_DECREF(Py_None);
554 target = o;
7e63a440
RD
555 } else {
556 if (!PyTuple_Check(target)) {
557 o2 = target;
558 target = PyTuple_New(1);
559 PyTuple_SetItem(target, 0, o2);
560 }
d14a1e28
RD
561 o3 = PyTuple_New(1);
562 PyTuple_SetItem(o3, 0, o);
563
564 o2 = target;
565 target = PySequence_Concat(o2, o3);
566 Py_DECREF(o2);
567 Py_DECREF(o3);
568 }
569 return target;
7e63a440 570 }
d14a1e28 571
994141e6 572
c32bde28
RD
573
574// See my_fragments.i
575SWIGSTATICINLINE(int)
576SWIG_AsVal_double(PyObject *obj, double* val)
994141e6 577{
c32bde28
RD
578 if (PyNumber_Check(obj)) {
579 if (val) *val = PyFloat_AsDouble(obj);
580 return 1;
581 }
69223c70
RD
582 else {
583 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
584 obj->ob_type->tp_name);
585 PyErr_SetObject(PyExc_TypeError, errmsg);
586 Py_DECREF(errmsg);
69223c70 587 }
c32bde28 588 return 0;
15afbcd0
RD
589}
590
591
c32bde28
RD
592SWIGSTATICINLINE(double)
593SWIG_As_double(PyObject* obj)
15afbcd0 594{
c32bde28
RD
595 double v;
596 if (!SWIG_AsVal_double(obj, &v)) {
597 /*
598 this is needed to make valgrind/purify happier. the other
599 solution is throw an exception, but since this code should work
600 with plain C ....
601 */
602 memset((void*)&v, 0, sizeof(double));
15afbcd0 603 }
c32bde28
RD
604 return v;
605}
606
607
608SWIGSTATICINLINE(int)
609SWIG_Check_double(PyObject* obj)
610{
611 return SWIG_AsVal_double(obj, (double*)0);
994141e6
RD
612}
613
b2dc1044
RD
614 static const wxString wxPyFrameNameStr(wxFrameNameStr);
615 static const wxString wxPyDialogNameStr(wxDialogNameStr);
616 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
617 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
84f85550
RD
618void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){ /*wxPyRaiseNotImplemented();*/ }
619bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow const *self){ /*wxPyRaiseNotImplemented();*/ return false; }
d14a1e28
RD
620
621
7722248d
RD
622wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
623 wxRect r;
624 self->GetFieldRect(i, r);
625 return r;
626 }
33b885b9
RD
627 static const wxString wxPySplitterNameStr(wxT("splitter"));
628 static const wxString wxPySashNameStr(wxT("sashWindow"));
629 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
d14a1e28
RD
630
631#include <wx/popupwin.h>
632
633
634class wxPyPopupTransientWindow : public wxPopupTransientWindow
635{
636public:
637 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
638 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
639 : wxPopupTransientWindow(parent, style) {}
640
641 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
642 DEC_PYCALLBACK__(OnDismiss);
643 DEC_PYCALLBACK_BOOL_(CanDismiss);
644 PYPRIVATE;
645};
646
647
648IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
649IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
650IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
651
652
653#include <wx/tipwin.h>
654
fd3f2efe
RD
655wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength,wxRect *rectBound){
656 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
d14a1e28
RD
657 }
658
659#include <wx/tipwin.h>
660
661
662#include <wx/vscroll.h>
663
664
665class wxPyVScrolledWindow : public wxVScrolledWindow
666{
667 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
668public:
669 wxPyVScrolledWindow() : wxVScrolledWindow() {}
670
671 wxPyVScrolledWindow(wxWindow *parent,
672 wxWindowID id = wxID_ANY,
673 const wxPoint& pos = wxDefaultPosition,
674 const wxSize& size = wxDefaultSize,
675 long style = 0,
676 const wxString& name = wxPyPanelNameStr)
677 : wxVScrolledWindow(parent, id, pos, size, style, name)
678 {}
679
680 // Overridable virtuals
681
682 // this function must be overridden in the derived class and it should
683 // return the height of the given line in pixels
684 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
685
686
687 // this function doesn't have to be overridden but it may be useful to do
688 // it if calculating the lines heights is a relatively expensive operation
689 // as it gives the user code a possibility to calculate several of them at
690 // once
691 //
692 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
693 // shouldn't rely on the latter being called for all lines in the interval
694 // specified here. It is also possible that OnGetLineHeight() will be
695 // called for the lines outside of this interval, so this is really just a
696 // hint, not a promise.
697 //
698 // finally note that lineMin is inclusive, while lineMax is exclusive, as
699 // usual
700 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
701
702
703 // when the number of lines changes, we try to estimate the total height
704 // of all lines which is a rather expensive operation in terms of lines
705 // access, so if the user code may estimate the average height
706 // better/faster than we do, it should override this function to implement
707 // its own logic
708 //
709 // this function should return the best guess for the total height it may
710 // make
711 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
712
713
714 // Also expose some other interesting protected methods
715
716
717 // find the index of the line we need to show at the top of the window such
718 // that the last (fully or partially) visible line is the given one
ae8162c8 719 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
d14a1e28
RD
720 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
721
722 // get the total height of the lines between lineMin (inclusive) and
723 // lineMax (exclusive)
724 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
725 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
726
727
728 PYPRIVATE;
729};
730
731IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
732
733IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
734IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
735IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
736
737
c32bde28
RD
738// See my_fragments.i
739SWIGSTATICINLINE(int)
740SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
15afbcd0 741{
c32bde28
RD
742 long v = 0;
743 if (SWIG_AsVal_long(obj, &v) && v < 0) {
744 PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type");
745 return 0;
15afbcd0 746 }
c32bde28
RD
747 else if (val)
748 *val = (unsigned long)v;
749 return 1;
15afbcd0
RD
750}
751
752
c32bde28
RD
753SWIGSTATICINLINE(unsigned long)
754SWIG_As_unsigned_SS_long(PyObject* obj)
15afbcd0 755{
c32bde28
RD
756 unsigned long v;
757 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
758 /*
759 this is needed to make valgrind/purify happier. the other
760 solution is throw an exception, but since this code should work
761 with plain C ....
762 */
763 memset((void*)&v, 0, sizeof(unsigned long));
15afbcd0 764 }
c32bde28
RD
765 return v;
766}
767
768
769SWIGSTATICINLINE(int)
770SWIG_Check_unsigned_SS_long(PyObject* obj)
771{
772 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
15afbcd0
RD
773}
774
775
776SWIGSTATICINLINE(PyObject* )
c32bde28 777 SWIG_From_unsigned_SS_long(unsigned long value)
994141e6 778{
15afbcd0
RD
779 return (value > LONG_MAX) ?
780 PyLong_FromUnsignedLong(value)
c32bde28 781 : PyInt_FromLong(swig_numeric_cast(value,long));
994141e6
RD
782}
783
784
d14a1e28 785#include <wx/vlbox.h>
d14a1e28 786
b2dc1044 787 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
d14a1e28
RD
788
789class wxPyVListBox : public wxVListBox
790{
791 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
792public:
793 wxPyVListBox() : wxVListBox() {}
794
795 wxPyVListBox(wxWindow *parent,
796 wxWindowID id = wxID_ANY,
797 const wxPoint& pos = wxDefaultPosition,
798 const wxSize& size = wxDefaultSize,
799 long style = 0,
800 const wxString& name = wxPyVListBoxNameStr)
801 : wxVListBox(parent, id, pos, size, style, name)
802 {}
803
804 // Overridable virtuals
805
806 // the derived class must implement this function to actually draw the item
807 // with the given index on the provided DC
808 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
809 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
810
811
812 // the derived class must implement this method to return the height of the
813 // specified item
814 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
815 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
816
817
818 // this method may be used to draw separators between the lines; note that
819 // the rectangle may be modified, typically to deflate it a bit before
820 // passing to OnDrawItem()
821 //
822 // the base class version doesn't do anything
823 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
824 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
825
826
827 // this method is used to draw the items background and, maybe, a border
828 // around it
829 //
830 // the base class version implements a reasonable default behaviour which
831 // consists in drawing the selected item with the standard background
832 // colour and drawing a border around the item if it is either selected or
833 // current
834 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
835 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
836
837
838 PYPRIVATE;
839};
840
841IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
842
843IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
844IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
845IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
846IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
847
848
09c21d3b
RD
849PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
850 unsigned long cookie = 0;
851 int selected = self->GetFirstSelected(cookie);
852 bool blocked = wxPyBeginBlockThreads();
853 PyObject* tup = PyTuple_New(2);
854 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
855 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
856 wxPyEndBlockThreads(blocked);
857 return tup;
858 }
859PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
860 int selected = self->GetNextSelected(cookie);
861 bool blocked = wxPyBeginBlockThreads();
862 PyObject* tup = PyTuple_New(2);
863 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
864 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
865 wxPyEndBlockThreads(blocked);
866 return tup;
867 }
d14a1e28
RD
868
869#include <wx/htmllbox.h>
870
871
872class wxPyHtmlListBox : public wxHtmlListBox
873{
874 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
875public:
876 wxPyHtmlListBox() : wxHtmlListBox() {}
877
878 wxPyHtmlListBox(wxWindow *parent,
879 wxWindowID id = wxID_ANY,
880 const wxPoint& pos = wxDefaultPosition,
881 const wxSize& size = wxDefaultSize,
882 long style = 0,
883 const wxString& name = wxPyVListBoxNameStr)
884 : wxHtmlListBox(parent, id, pos, size, style, name)
885 {}
886
887 // Overridable virtuals
888
889 // this method must be implemented in the derived class and should return
890 // the body (i.e. without <html>) of the HTML for the given item
891 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
892
893 // this function may be overridden to decorate HTML returned by OnGetItem()
894 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
895
896// TODO:
897// // this method allows to customize the selection appearance: it may be used
898// // to specify the colour of the text which normally has the given colour
899// // colFg when it is inside the selection
900// //
901// // by default, the original colour is not used at all and all text has the
902// // same (default for this system) colour inside selection
903// virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
904
905// // this is the same as GetSelectedTextColour() but allows to customize the
906// // background colour -- this is even more rarely used as you can change it
907// // globally using SetSelectionBackground()
908// virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
909
910
911 PYPRIVATE;
912};
913
914
915IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
916
917IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
918IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
919
920
921
922
923
ae8162c8
RD
924#ifndef wxHAS_TASK_BAR_ICON
925// implement dummy classes for platforms that don't have it
d14a1e28
RD
926
927class wxTaskBarIcon : public wxEvtHandler
928{
929public:
39f61e25 930 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
d14a1e28 931};
09c21d3b 932
d14a1e28
RD
933
934class wxTaskBarIconEvent : public wxEvent
935{
936public:
937 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
39f61e25 938 { wxPyRaiseNotImplemented(); }
d14a1e28 939 virtual wxEvent* Clone() const { return NULL; }
ae8162c8
RD
940 bool IsOk() const { return false; }
941 bool IsIconInstalled() const { return false; }
942 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
943 bool RemoveIcon() { return false; }
944 bool PopupMenu(wxMenu *menu) { return false; }
d14a1e28
RD
945};
946
947enum {
948 wxEVT_TASKBAR_MOVE = 0,
949 wxEVT_TASKBAR_LEFT_DOWN = 0,
950 wxEVT_TASKBAR_LEFT_UP = 0,
951 wxEVT_TASKBAR_RIGHT_DOWN = 0,
952 wxEVT_TASKBAR_RIGHT_UP = 0,
953 wxEVT_TASKBAR_LEFT_DCLICK = 0,
954 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
955};
09c21d3b
RD
956
957
958#else
5e483524
RD
959// Otherwise make a class that can virtualize CreatePopupMenu
960class wxPyTaskBarIcon : public wxTaskBarIcon
961{
962 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon);
963public:
964 wxPyTaskBarIcon() : wxTaskBarIcon()
965 {}
966
967 wxMenu* CreatePopupMenu() {
968 wxMenu *rval = NULL;
969 bool found;
970 bool blocked = wxPyBeginBlockThreads();
971 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
972 PyObject* ro;
973 wxMenu* ptr;
974 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
975 if (ro) {
976 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
977 rval = ptr;
978 Py_DECREF(ro);
979 }
980 }
981 wxPyEndBlockThreads(blocked);
982 if (! found)
983 rval = wxTaskBarIcon::CreatePopupMenu();
984 return rval;
985 }
986
987 PYPRIVATE;
988};
989
990IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
09c21d3b 991
d14a1e28
RD
992#endif
993
5e483524 994void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
74a57fcd 995 self->RemoveIcon();
5e483524 996 delete self;
74a57fcd 997 }
b2dc1044
RD
998 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
999 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
1000 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
1001 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
1002 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
1003 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
d14a1e28
RD
1004PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
1005 wxArrayString arr;
1006 self->GetFilenames(arr);
1007 return wxArrayString2PyList_helper(arr);
1008 }
1009PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
1010 wxArrayString arr;
1011 self->GetPaths(arr);
1012 return wxArrayString2PyList_helper(arr);
1013 }
1014PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
1015 return wxArrayInt2PyList_helper(self->GetSelections());
1016 }
1017wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){
1018 return new wxSingleChoiceDialog(parent, message, caption,
1019 choices, choices_array, NULL, style, pos);
1020 }
1021
1022#include <wx/mdi.h>
1023
1024 // C++ version of Python aware wxWindow
1025class wxPyWindow : public wxWindow
1026{
1027 DECLARE_DYNAMIC_CLASS(wxPyWindow)
1028public:
1029 wxPyWindow() : wxWindow() {}
1030 wxPyWindow(wxWindow* parent, const wxWindowID id,
1031 const wxPoint& pos = wxDefaultPosition,
1032 const wxSize& size = wxDefaultSize,
1033 long style = 0,
1034 const wxString& name = wxPyPanelNameStr)
1035 : wxWindow(parent, id, pos, size, style, name) {}
1036
db3e571a 1037 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
d14a1e28
RD
1038
1039 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1040 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1041 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1042 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1043
1044 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1045 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1046 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1047
1048 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1049 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1050
1051 DEC_PYCALLBACK__(InitDialog);
1052 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1053 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1054 DEC_PYCALLBACK_BOOL_(Validate);
1055
1056 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1057 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1058 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1059
1060 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1061 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1062
db3e571a 1063 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
1cb4a8aa 1064 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
db3e571a 1065 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
4276dc52 1066
d14a1e28
RD
1067 PYPRIVATE;
1068};
1069
1070IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
1071
1072IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
1073IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
1074IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
1075IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
1076
1077IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
1078IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
1079IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
1080
1081IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
1082IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
1083
1084IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
1085IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
1086IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
1087IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
1088
1089IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
1090IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
1091IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
1092
1093IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
1094IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
1095
db3e571a 1096IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
1cb4a8aa 1097IMP_PYCALLBACK__COLOUR(wxPyWindow, wxWindow, ApplyParentThemeBackground);
db3e571a 1098IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
1cb4a8aa 1099
d14a1e28
RD
1100
1101 // C++ version of Python aware wxPanel
1102class wxPyPanel : public wxPanel
1103{
1104 DECLARE_DYNAMIC_CLASS(wxPyPanel)
1105public:
1106 wxPyPanel() : wxPanel() {}
1107 wxPyPanel(wxWindow* parent, const wxWindowID id,
1108 const wxPoint& pos = wxDefaultPosition,
1109 const wxSize& size = wxDefaultSize,
1110 long style = 0,
1111 const wxString& name = wxPyPanelNameStr)
1112 : wxPanel(parent, id, pos, size, style, name) {}
1113
db3e571a
RD
1114 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
1115
d14a1e28
RD
1116
1117 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1118 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1119 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1120 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1121
1122 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1123 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1124 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1125
1126 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1127 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1128
1129 DEC_PYCALLBACK__(InitDialog);
1130 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1131 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1132 DEC_PYCALLBACK_BOOL_(Validate);
1133
1134 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1135 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1136 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1137
1138 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1139 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1140
db3e571a 1141 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
1cb4a8aa 1142 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
db3e571a 1143 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
4276dc52 1144
d14a1e28
RD
1145 PYPRIVATE;
1146};
1147
1148IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
1149
1150IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
1151IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
1152IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
1153IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
1154
1155IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
1156IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
1157IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
1158
1159IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
1160IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
1161
1162IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
1163IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
1164IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
1165IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
1166
1167IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
1168IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
1169IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
1170
1171IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
1172IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
1173
db3e571a 1174IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
1cb4a8aa 1175IMP_PYCALLBACK__COLOUR(wxPyPanel, wxPanel, ApplyParentThemeBackground);
db3e571a 1176IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
1cb4a8aa 1177
db3e571a 1178
1cb4a8aa
RD
1179 // C++ version of Python aware wxScrolledWindow
1180class wxPyScrolledWindow : public wxScrolledWindow
1181{
1182 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
1183public:
1184 wxPyScrolledWindow() : wxScrolledWindow() {}
1185 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
1186 const wxPoint& pos = wxDefaultPosition,
1187 const wxSize& size = wxDefaultSize,
1188 long style = 0,
1189 const wxString& name = wxPyPanelNameStr)
1190 : wxScrolledWindow(parent, id, pos, size, style, name) {}
1191
db3e571a 1192 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
1cb4a8aa
RD
1193
1194 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1195 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1196 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1197 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1198
1199 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1200 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1201 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1202
1203 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1204 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1205
1206 DEC_PYCALLBACK__(InitDialog);
1207 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1208 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1209 DEC_PYCALLBACK_BOOL_(Validate);
1210
1211 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1212 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1213 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1214
1215 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1216 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1217
db3e571a 1218 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
1cb4a8aa 1219 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
db3e571a 1220 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
1cb4a8aa
RD
1221
1222 PYPRIVATE;
1223};
1224
1225IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
1226
1227IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
1228IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
1229IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
1230IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
1231
1232IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
1233IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
1234IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
1235
1236IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
1237IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
1238
1239IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
1240IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
1241IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
1242IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
1243
1244IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
1245IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
1246IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
1247
1248IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
1249IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
1250
db3e571a 1251IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
1cb4a8aa 1252IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow, wxScrolledWindow, ApplyParentThemeBackground);
db3e571a
RD
1253IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
1254
d14a1e28
RD
1255
1256
1257#include "wx/wxPython/printfw.h"
1258
d14a1e28 1259
33b885b9
RD
1260 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
1261 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
d14a1e28
RD
1262
1263
1264
1265// Since this one would be tough and ugly to do with the Macros...
1266void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
ae8162c8 1267 bool hadErr = false;
d14a1e28
RD
1268 bool found;
1269
4f89f6a3 1270 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1271 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
1272 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1273 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
1274 PyObject* val;
1275
1276 val = PyTuple_GetItem(result, 0);
1277 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
ae8162c8 1278 else hadErr = true;
d14a1e28
RD
1279
1280 val = PyTuple_GetItem(result, 1);
1281 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
ae8162c8 1282 else hadErr = true;
d14a1e28
RD
1283
1284 val = PyTuple_GetItem(result, 2);
1285 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
ae8162c8 1286 else hadErr = true;
d14a1e28
RD
1287
1288 val = PyTuple_GetItem(result, 3);
1289 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
ae8162c8 1290 else hadErr = true;
d14a1e28
RD
1291 }
1292 else
ae8162c8 1293 hadErr = true;
d14a1e28
RD
1294
1295 if (hadErr) {
1296 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
1297 PyErr_Print();
1298 }
1299 Py_DECREF(result);
1300 }
4f89f6a3 1301 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1302 if (! found)
1303 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1304}
1305
1306void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1307 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1308}
1309
1310
1311IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
1312IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
1313IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
1314IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
1315IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
1316IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
1317IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
1318
1319
1320
1321
1322
ae8162c8
RD
1323#define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1324 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
d14a1e28
RD
1325 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1326
1327
ae8162c8
RD
1328#define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1329 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1330 bool rval=false; \
1331 bool found; \
1332 bool blocked = wxPyBeginBlockThreads(); \
1333 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1334 PyObject* win = wxPyMake_wxObject(a,false); \
1335 PyObject* dc = wxPyMake_wxObject(&b,false); \
1336 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
1337 Py_DECREF(win); \
1338 Py_DECREF(dc); \
1339 } \
1340 wxPyEndBlockThreads(blocked); \
1341 if (! found) \
1342 rval = PCLASS::CBNAME(a, b); \
1343 return rval; \
1344 } \
1345 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1346 return PCLASS::CBNAME(a, b); \
d14a1e28
RD
1347 }
1348
1349
1350
1351
1352class wxPyPrintPreview : public wxPrintPreview
1353{
1354 DECLARE_CLASS(wxPyPrintPreview)
1355public:
4276dc52
RD
1356 wxPyPrintPreview(wxPyPrintout* printout,
1357 wxPyPrintout* printoutForPrinting,
1358 wxPrintDialogData* data=NULL)
1359 : wxPrintPreview(printout, printoutForPrinting, data)
1360 {}
d14a1e28
RD
1361 wxPyPrintPreview(wxPyPrintout* printout,
1362 wxPyPrintout* printoutForPrinting,
1363 wxPrintData* data=NULL)
1364 : wxPrintPreview(printout, printoutForPrinting, data)
1365 {}
1366
1367 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
1368 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
1369 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
1370 DEC_PYCALLBACK_BOOL_INT(RenderPage);
1371 DEC_PYCALLBACK_VOID_INT(SetZoom);
1372 DEC_PYCALLBACK_BOOL_BOOL(Print);
1373 DEC_PYCALLBACK_VOID_(DetermineScaling);
1374
1375 PYPRIVATE;
1376};
1377
1378// Stupid renamed classes... Fix this in 2.5...
1379#if defined(__WXMSW__)
1380IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
1381#elif defined(__WXMAC__)
1382IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
1383#else
1384IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
1385#endif
1386
1387IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
1388IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
1389IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
1390IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
1391IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
1392IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
1393IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
1394
1395
1396class wxPyPreviewFrame : public wxPreviewFrame
1397{
1398 DECLARE_CLASS(wxPyPreviewFrame);
1399public:
1400 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
1401 const wxString& title,
1402 const wxPoint& pos = wxDefaultPosition,
1403 const wxSize& size = wxDefaultSize,
1404 long style = wxDEFAULT_FRAME_STYLE,
1405 const wxString& name = wxPyFrameNameStr)
1406 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
1407 {}
1408
1409 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
1410 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
1411
1412 DEC_PYCALLBACK_VOID_(Initialize);
1413 DEC_PYCALLBACK_VOID_(CreateCanvas);
1414 DEC_PYCALLBACK_VOID_(CreateControlBar);
1415
1416 PYPRIVATE;
1417};
1418
1419IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
1420
1421IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
1422IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
1423IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
1424
1425
1426class wxPyPreviewControlBar : public wxPreviewControlBar
1427{
1428 DECLARE_CLASS(wxPyPreviewControlBar);
1429public:
1430 wxPyPreviewControlBar(wxPrintPreview *preview,
1431 long buttons,
1432 wxWindow *parent,
1433 const wxPoint& pos = wxDefaultPosition,
1434 const wxSize& size = wxDefaultSize,
1435 long style = 0,
1436 const wxString& name = wxPyPanelNameStr)
1437 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
1438 {}
1439
1440 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
1441
1442 DEC_PYCALLBACK_VOID_(CreateButtons);
1443 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
1444
1445 PYPRIVATE;
1446};
1447
1448IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
1449IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
1450IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
1451
1452#ifdef __cplusplus
1453extern "C" {
1454#endif
c32bde28 1455static PyObject *_wrap_new_Panel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1456 PyObject *resultobj;
1457 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 1458 int arg2 = (int) (int)-1 ;
d14a1e28
RD
1459 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1460 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1461 wxSize const &arg4_defvalue = wxDefaultSize ;
1462 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1463 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1464 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1465 wxString *arg6 = (wxString *) &arg6_defvalue ;
1466 wxPanel *result;
1467 wxPoint temp3 ;
1468 wxSize temp4 ;
ae8162c8 1469 bool temp6 = false ;
d14a1e28 1470 PyObject * obj0 = 0 ;
994141e6 1471 PyObject * obj1 = 0 ;
d14a1e28
RD
1472 PyObject * obj2 = 0 ;
1473 PyObject * obj3 = 0 ;
994141e6 1474 PyObject * obj4 = 0 ;
d14a1e28
RD
1475 PyObject * obj5 = 0 ;
1476 char *kwnames[] = {
1477 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1478 };
1479
994141e6 1480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
1481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 1483 if (obj1) {
c32bde28 1484 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 1485 if (PyErr_Occurred()) SWIG_fail;
994141e6 1486 }
d14a1e28
RD
1487 if (obj2) {
1488 {
1489 arg3 = &temp3;
1490 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1491 }
1492 }
1493 if (obj3) {
1494 {
1495 arg4 = &temp4;
1496 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1497 }
1498 }
994141e6 1499 if (obj4) {
c32bde28 1500 arg5 = (long)SWIG_As_long(obj4);
15afbcd0 1501 if (PyErr_Occurred()) SWIG_fail;
994141e6 1502 }
d14a1e28
RD
1503 if (obj5) {
1504 {
1505 arg6 = wxString_in_helper(obj5);
1506 if (arg6 == NULL) SWIG_fail;
ae8162c8 1507 temp6 = true;
d14a1e28
RD
1508 }
1509 }
1510 {
e3b71cb8 1511 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
1512 PyThreadState* __tstate = wxPyBeginAllowThreads();
1513 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1514
1515 wxPyEndAllowThreads(__tstate);
110da5b0 1516 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 1517 }
b0f7404b 1518 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
d14a1e28
RD
1519 {
1520 if (temp6)
1521 delete arg6;
1522 }
1523 return resultobj;
1524 fail:
1525 {
1526 if (temp6)
1527 delete arg6;
1528 }
1529 return NULL;
1530}
1531
1532
c32bde28 1533static PyObject *_wrap_new_PrePanel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1534 PyObject *resultobj;
1535 wxPanel *result;
1536 char *kwnames[] = {
1537 NULL
1538 };
1539
1540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
1541 {
e3b71cb8 1542 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
1543 PyThreadState* __tstate = wxPyBeginAllowThreads();
1544 result = (wxPanel *)new wxPanel();
1545
1546 wxPyEndAllowThreads(__tstate);
110da5b0 1547 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 1548 }
b0f7404b 1549 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
d14a1e28
RD
1550 return resultobj;
1551 fail:
1552 return NULL;
1553}
1554
1555
c32bde28 1556static PyObject *_wrap_Panel_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1557 PyObject *resultobj;
1558 wxPanel *arg1 = (wxPanel *) 0 ;
1559 wxWindow *arg2 = (wxWindow *) 0 ;
cfe5e918 1560 int arg3 = (int) (int)-1 ;
d14a1e28
RD
1561 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1562 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1563 wxSize const &arg5_defvalue = wxDefaultSize ;
1564 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1565 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1566 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1567 wxString *arg7 = (wxString *) &arg7_defvalue ;
1568 bool result;
1569 wxPoint temp4 ;
1570 wxSize temp5 ;
ae8162c8 1571 bool temp7 = false ;
d14a1e28
RD
1572 PyObject * obj0 = 0 ;
1573 PyObject * obj1 = 0 ;
994141e6 1574 PyObject * obj2 = 0 ;
d14a1e28
RD
1575 PyObject * obj3 = 0 ;
1576 PyObject * obj4 = 0 ;
994141e6 1577 PyObject * obj5 = 0 ;
d14a1e28
RD
1578 PyObject * obj6 = 0 ;
1579 char *kwnames[] = {
1580 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1581 };
1582
cfe5e918 1583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
1584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1586 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
cfe5e918 1588 if (obj2) {
c32bde28 1589 arg3 = (int)SWIG_As_int(obj2);
cfe5e918
RD
1590 if (PyErr_Occurred()) SWIG_fail;
1591 }
d14a1e28
RD
1592 if (obj3) {
1593 {
1594 arg4 = &temp4;
1595 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1596 }
1597 }
1598 if (obj4) {
1599 {
1600 arg5 = &temp5;
1601 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1602 }
1603 }
994141e6 1604 if (obj5) {
c32bde28 1605 arg6 = (long)SWIG_As_long(obj5);
15afbcd0 1606 if (PyErr_Occurred()) SWIG_fail;
994141e6 1607 }
d14a1e28
RD
1608 if (obj6) {
1609 {
1610 arg7 = wxString_in_helper(obj6);
1611 if (arg7 == NULL) SWIG_fail;
ae8162c8 1612 temp7 = true;
d14a1e28
RD
1613 }
1614 }
1615 {
1616 PyThreadState* __tstate = wxPyBeginAllowThreads();
1617 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1618
1619 wxPyEndAllowThreads(__tstate);
1620 if (PyErr_Occurred()) SWIG_fail;
1621 }
4f89f6a3
RD
1622 {
1623 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1624 }
d14a1e28
RD
1625 {
1626 if (temp7)
1627 delete arg7;
1628 }
1629 return resultobj;
1630 fail:
1631 {
1632 if (temp7)
1633 delete arg7;
1634 }
1635 return NULL;
1636}
1637
1638
c32bde28 1639static PyObject *_wrap_Panel_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1640 PyObject *resultobj;
1641 wxPanel *arg1 = (wxPanel *) 0 ;
1642 PyObject * obj0 = 0 ;
1643 char *kwnames[] = {
1644 (char *) "self", NULL
1645 };
1646
1647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
15afbcd0
RD
1648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1650 {
1651 PyThreadState* __tstate = wxPyBeginAllowThreads();
1652 (arg1)->InitDialog();
1653
1654 wxPyEndAllowThreads(__tstate);
1655 if (PyErr_Occurred()) SWIG_fail;
1656 }
1657 Py_INCREF(Py_None); resultobj = Py_None;
1658 return resultobj;
1659 fail:
1660 return NULL;
1661}
1662
1663
c32bde28 1664static PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c
RD
1665 PyObject *resultobj;
1666 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
1667 wxVisualAttributes result;
1668 PyObject * obj0 = 0 ;
1669 char *kwnames[] = {
1670 (char *) "variant", NULL
1671 };
1672
1673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
1674 if (obj0) {
c32bde28 1675 arg1 = (int)SWIG_As_int(obj0);
22bfe96c
RD
1676 if (PyErr_Occurred()) SWIG_fail;
1677 }
1678 {
e3b71cb8 1679 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
1680 PyThreadState* __tstate = wxPyBeginAllowThreads();
1681 result = wxPanel::GetClassDefaultAttributes((wxWindowVariant )arg1);
1682
1683 wxPyEndAllowThreads(__tstate);
110da5b0 1684 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
1685 }
1686 {
1687 wxVisualAttributes * resultptr;
1688 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
1689 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
1690 }
1691 return resultobj;
1692 fail:
1693 return NULL;
1694}
1695
1696
c32bde28 1697static PyObject * Panel_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
1698 PyObject *obj;
1699 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1700 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
1701 Py_INCREF(obj);
1702 return Py_BuildValue((char *)"");
1703}
c32bde28 1704static PyObject *_wrap_new_ScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1705 PyObject *resultobj;
1706 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 1707 int arg2 = (int) (int)-1 ;
d14a1e28
RD
1708 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1709 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1710 wxSize const &arg4_defvalue = wxDefaultSize ;
1711 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1712 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
1713 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1714 wxString *arg6 = (wxString *) &arg6_defvalue ;
1715 wxScrolledWindow *result;
1716 wxPoint temp3 ;
1717 wxSize temp4 ;
ae8162c8 1718 bool temp6 = false ;
d14a1e28 1719 PyObject * obj0 = 0 ;
994141e6 1720 PyObject * obj1 = 0 ;
d14a1e28
RD
1721 PyObject * obj2 = 0 ;
1722 PyObject * obj3 = 0 ;
994141e6 1723 PyObject * obj4 = 0 ;
d14a1e28
RD
1724 PyObject * obj5 = 0 ;
1725 char *kwnames[] = {
1726 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1727 };
1728
994141e6 1729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
1730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 1732 if (obj1) {
c32bde28 1733 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 1734 if (PyErr_Occurred()) SWIG_fail;
994141e6 1735 }
d14a1e28
RD
1736 if (obj2) {
1737 {
1738 arg3 = &temp3;
1739 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1740 }
1741 }
1742 if (obj3) {
1743 {
1744 arg4 = &temp4;
1745 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1746 }
1747 }
994141e6 1748 if (obj4) {
c32bde28 1749 arg5 = (long)SWIG_As_long(obj4);
15afbcd0 1750 if (PyErr_Occurred()) SWIG_fail;
994141e6 1751 }
d14a1e28
RD
1752 if (obj5) {
1753 {
1754 arg6 = wxString_in_helper(obj5);
1755 if (arg6 == NULL) SWIG_fail;
ae8162c8 1756 temp6 = true;
d14a1e28
RD
1757 }
1758 }
1759 {
e3b71cb8 1760 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
1761 PyThreadState* __tstate = wxPyBeginAllowThreads();
1762 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1763
1764 wxPyEndAllowThreads(__tstate);
110da5b0 1765 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 1766 }
b0f7404b 1767 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
d14a1e28
RD
1768 {
1769 if (temp6)
1770 delete arg6;
1771 }
1772 return resultobj;
1773 fail:
1774 {
1775 if (temp6)
1776 delete arg6;
1777 }
1778 return NULL;
1779}
1780
1781
c32bde28 1782static PyObject *_wrap_new_PreScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1783 PyObject *resultobj;
1784 wxScrolledWindow *result;
1785 char *kwnames[] = {
1786 NULL
1787 };
1788
1789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
1790 {
e3b71cb8 1791 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
1792 PyThreadState* __tstate = wxPyBeginAllowThreads();
1793 result = (wxScrolledWindow *)new wxScrolledWindow();
1794
1795 wxPyEndAllowThreads(__tstate);
110da5b0 1796 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 1797 }
b0f7404b 1798 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
d14a1e28
RD
1799 return resultobj;
1800 fail:
1801 return NULL;
1802}
1803
1804
c32bde28 1805static PyObject *_wrap_ScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1806 PyObject *resultobj;
1807 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1808 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 1809 int arg3 = (int) (int)-1 ;
d14a1e28
RD
1810 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1811 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1812 wxSize const &arg5_defvalue = wxDefaultSize ;
1813 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1814 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
1815 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1816 wxString *arg7 = (wxString *) &arg7_defvalue ;
1817 bool result;
1818 wxPoint temp4 ;
1819 wxSize temp5 ;
ae8162c8 1820 bool temp7 = false ;
d14a1e28
RD
1821 PyObject * obj0 = 0 ;
1822 PyObject * obj1 = 0 ;
994141e6 1823 PyObject * obj2 = 0 ;
d14a1e28
RD
1824 PyObject * obj3 = 0 ;
1825 PyObject * obj4 = 0 ;
994141e6 1826 PyObject * obj5 = 0 ;
d14a1e28
RD
1827 PyObject * obj6 = 0 ;
1828 char *kwnames[] = {
1829 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1830 };
1831
994141e6 1832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
1833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1835 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 1837 if (obj2) {
c32bde28 1838 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 1839 if (PyErr_Occurred()) SWIG_fail;
994141e6 1840 }
d14a1e28
RD
1841 if (obj3) {
1842 {
1843 arg4 = &temp4;
1844 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1845 }
1846 }
1847 if (obj4) {
1848 {
1849 arg5 = &temp5;
1850 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1851 }
1852 }
994141e6 1853 if (obj5) {
c32bde28 1854 arg6 = (long)SWIG_As_long(obj5);
15afbcd0 1855 if (PyErr_Occurred()) SWIG_fail;
994141e6 1856 }
d14a1e28
RD
1857 if (obj6) {
1858 {
1859 arg7 = wxString_in_helper(obj6);
1860 if (arg7 == NULL) SWIG_fail;
ae8162c8 1861 temp7 = true;
d14a1e28
RD
1862 }
1863 }
1864 {
1865 PyThreadState* __tstate = wxPyBeginAllowThreads();
1866 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1867
1868 wxPyEndAllowThreads(__tstate);
1869 if (PyErr_Occurred()) SWIG_fail;
1870 }
4f89f6a3
RD
1871 {
1872 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1873 }
d14a1e28
RD
1874 {
1875 if (temp7)
1876 delete arg7;
1877 }
1878 return resultobj;
1879 fail:
1880 {
1881 if (temp7)
1882 delete arg7;
1883 }
1884 return NULL;
1885}
1886
1887
c32bde28 1888static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1889 PyObject *resultobj;
1890 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1891 int arg2 ;
1892 int arg3 ;
1893 int arg4 ;
1894 int arg5 ;
1895 int arg6 = (int) 0 ;
1896 int arg7 = (int) 0 ;
ae8162c8 1897 bool arg8 = (bool) false ;
d14a1e28 1898 PyObject * obj0 = 0 ;
994141e6
RD
1899 PyObject * obj1 = 0 ;
1900 PyObject * obj2 = 0 ;
1901 PyObject * obj3 = 0 ;
1902 PyObject * obj4 = 0 ;
1903 PyObject * obj5 = 0 ;
1904 PyObject * obj6 = 0 ;
d14a1e28
RD
1905 PyObject * obj7 = 0 ;
1906 char *kwnames[] = {
1907 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1908 };
1909
994141e6 1910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
1911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 1913 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 1914 if (PyErr_Occurred()) SWIG_fail;
c32bde28 1915 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 1916 if (PyErr_Occurred()) SWIG_fail;
c32bde28 1917 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 1918 if (PyErr_Occurred()) SWIG_fail;
c32bde28 1919 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 1920 if (PyErr_Occurred()) SWIG_fail;
994141e6 1921 if (obj5) {
c32bde28 1922 arg6 = (int)SWIG_As_int(obj5);
15afbcd0 1923 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
1924 }
1925 if (obj6) {
c32bde28 1926 arg7 = (int)SWIG_As_int(obj6);
15afbcd0 1927 if (PyErr_Occurred()) SWIG_fail;
994141e6 1928 }
d14a1e28 1929 if (obj7) {
c32bde28 1930 arg8 = (bool)SWIG_As_bool(obj7);
15afbcd0 1931 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1932 }
1933 {
1934 PyThreadState* __tstate = wxPyBeginAllowThreads();
1935 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1936
1937 wxPyEndAllowThreads(__tstate);
1938 if (PyErr_Occurred()) SWIG_fail;
1939 }
1940 Py_INCREF(Py_None); resultobj = Py_None;
1941 return resultobj;
1942 fail:
1943 return NULL;
1944}
1945
1946
c32bde28 1947static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1948 PyObject *resultobj;
1949 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1950 int arg2 ;
1951 int arg3 ;
1952 PyObject * obj0 = 0 ;
994141e6
RD
1953 PyObject * obj1 = 0 ;
1954 PyObject * obj2 = 0 ;
d14a1e28
RD
1955 char *kwnames[] = {
1956 (char *) "self",(char *) "x",(char *) "y", NULL
1957 };
1958
994141e6 1959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
1960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 1962 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 1963 if (PyErr_Occurred()) SWIG_fail;
c32bde28 1964 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 1965 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1966 {
1967 PyThreadState* __tstate = wxPyBeginAllowThreads();
1968 (arg1)->Scroll(arg2,arg3);
1969
1970 wxPyEndAllowThreads(__tstate);
1971 if (PyErr_Occurred()) SWIG_fail;
1972 }
1973 Py_INCREF(Py_None); resultobj = Py_None;
1974 return resultobj;
1975 fail:
1976 return NULL;
1977}
1978
1979
c32bde28 1980static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1981 PyObject *resultobj;
1982 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1983 int arg2 ;
1984 int result;
1985 PyObject * obj0 = 0 ;
994141e6 1986 PyObject * obj1 = 0 ;
d14a1e28
RD
1987 char *kwnames[] = {
1988 (char *) "self",(char *) "orient", NULL
1989 };
1990
994141e6 1991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 1994 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 1995 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1996 {
1997 PyThreadState* __tstate = wxPyBeginAllowThreads();
1998 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
1999
2000 wxPyEndAllowThreads(__tstate);
2001 if (PyErr_Occurred()) SWIG_fail;
2002 }
c32bde28 2003 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
2004 return resultobj;
2005 fail:
2006 return NULL;
2007}
2008
2009
c32bde28 2010static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2011 PyObject *resultobj;
2012 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2013 int arg2 ;
2014 int arg3 ;
2015 PyObject * obj0 = 0 ;
994141e6
RD
2016 PyObject * obj1 = 0 ;
2017 PyObject * obj2 = 0 ;
d14a1e28
RD
2018 char *kwnames[] = {
2019 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
2020 };
2021
994141e6 2022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 2025 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 2026 if (PyErr_Occurred()) SWIG_fail;
c32bde28 2027 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 2028 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2029 {
2030 PyThreadState* __tstate = wxPyBeginAllowThreads();
2031 (arg1)->SetScrollPageSize(arg2,arg3);
2032
2033 wxPyEndAllowThreads(__tstate);
2034 if (PyErr_Occurred()) SWIG_fail;
2035 }
2036 Py_INCREF(Py_None); resultobj = Py_None;
2037 return resultobj;
2038 fail:
2039 return NULL;
2040}
2041
2042
c32bde28 2043static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2044 PyObject *resultobj;
2045 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2046 int arg2 ;
2047 int arg3 ;
2048 PyObject * obj0 = 0 ;
994141e6
RD
2049 PyObject * obj1 = 0 ;
2050 PyObject * obj2 = 0 ;
d14a1e28
RD
2051 char *kwnames[] = {
2052 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
2053 };
2054
994141e6 2055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 2058 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 2059 if (PyErr_Occurred()) SWIG_fail;
c32bde28 2060 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 2061 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2062 {
2063 PyThreadState* __tstate = wxPyBeginAllowThreads();
2064 (arg1)->SetScrollRate(arg2,arg3);
2065
2066 wxPyEndAllowThreads(__tstate);
2067 if (PyErr_Occurred()) SWIG_fail;
2068 }
2069 Py_INCREF(Py_None); resultobj = Py_None;
2070 return resultobj;
2071 fail:
2072 return NULL;
2073}
2074
2075
c32bde28 2076static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2077 PyObject *resultobj;
2078 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2079 int *arg2 = (int *) 0 ;
2080 int *arg3 = (int *) 0 ;
2081 int temp2 ;
c32bde28 2082 int res2 = 0 ;
d14a1e28 2083 int temp3 ;
c32bde28 2084 int res3 = 0 ;
d14a1e28
RD
2085 PyObject * obj0 = 0 ;
2086 char *kwnames[] = {
2087 (char *) "self", NULL
2088 };
2089
c32bde28
RD
2090 arg2 = &temp2; res2 = SWIG_NEWOBJ;
2091 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 2092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
15afbcd0
RD
2093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2095 {
2096 PyThreadState* __tstate = wxPyBeginAllowThreads();
2097 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
2098
2099 wxPyEndAllowThreads(__tstate);
2100 if (PyErr_Occurred()) SWIG_fail;
2101 }
2102 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
2103 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
2104 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
2105 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
2106 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
2107 return resultobj;
2108 fail:
2109 return NULL;
2110}
2111
2112
c32bde28 2113static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2114 PyObject *resultobj;
2115 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2116 bool arg2 ;
2117 bool arg3 ;
2118 PyObject * obj0 = 0 ;
2119 PyObject * obj1 = 0 ;
2120 PyObject * obj2 = 0 ;
2121 char *kwnames[] = {
2122 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
2123 };
2124
2125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 2128 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 2129 if (PyErr_Occurred()) SWIG_fail;
c32bde28 2130 arg3 = (bool)SWIG_As_bool(obj2);
15afbcd0 2131 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2132 {
2133 PyThreadState* __tstate = wxPyBeginAllowThreads();
2134 (arg1)->EnableScrolling(arg2,arg3);
2135
2136 wxPyEndAllowThreads(__tstate);
2137 if (PyErr_Occurred()) SWIG_fail;
2138 }
2139 Py_INCREF(Py_None); resultobj = Py_None;
2140 return resultobj;
2141 fail:
2142 return NULL;
2143}
2144
2145
c32bde28 2146static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2147 PyObject *resultobj;
2148 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2149 int *arg2 = (int *) 0 ;
2150 int *arg3 = (int *) 0 ;
2151 int temp2 ;
c32bde28 2152 int res2 = 0 ;
d14a1e28 2153 int temp3 ;
c32bde28 2154 int res3 = 0 ;
d14a1e28
RD
2155 PyObject * obj0 = 0 ;
2156 char *kwnames[] = {
2157 (char *) "self", NULL
2158 };
2159
c32bde28
RD
2160 arg2 = &temp2; res2 = SWIG_NEWOBJ;
2161 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 2162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
15afbcd0
RD
2163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2165 {
2166 PyThreadState* __tstate = wxPyBeginAllowThreads();
2167 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
2168
2169 wxPyEndAllowThreads(__tstate);
2170 if (PyErr_Occurred()) SWIG_fail;
2171 }
2172 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
2173 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
2174 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
2175 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
2176 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
2177 return resultobj;
2178 fail:
2179 return NULL;
2180}
2181
2182
c32bde28 2183static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2184 PyObject *resultobj;
2185 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2186 double arg2 ;
2187 double arg3 ;
2188 PyObject * obj0 = 0 ;
994141e6
RD
2189 PyObject * obj1 = 0 ;
2190 PyObject * obj2 = 0 ;
d14a1e28
RD
2191 char *kwnames[] = {
2192 (char *) "self",(char *) "xs",(char *) "ys", NULL
2193 };
2194
994141e6 2195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 2198 arg2 = (double)SWIG_As_double(obj1);
15afbcd0 2199 if (PyErr_Occurred()) SWIG_fail;
c32bde28 2200 arg3 = (double)SWIG_As_double(obj2);
15afbcd0 2201 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2202 {
2203 PyThreadState* __tstate = wxPyBeginAllowThreads();
2204 (arg1)->SetScale(arg2,arg3);
2205
2206 wxPyEndAllowThreads(__tstate);
2207 if (PyErr_Occurred()) SWIG_fail;
2208 }
2209 Py_INCREF(Py_None); resultobj = Py_None;
2210 return resultobj;
2211 fail:
2212 return NULL;
2213}
2214
2215
c32bde28 2216static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2217 PyObject *resultobj;
2218 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2219 double result;
2220 PyObject * obj0 = 0 ;
2221 char *kwnames[] = {
2222 (char *) "self", NULL
2223 };
2224
2225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
15afbcd0
RD
2226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2228 {
2229 PyThreadState* __tstate = wxPyBeginAllowThreads();
2230 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
2231
2232 wxPyEndAllowThreads(__tstate);
2233 if (PyErr_Occurred()) SWIG_fail;
2234 }
c32bde28 2235 resultobj = SWIG_From_double((double)result);
d14a1e28
RD
2236 return resultobj;
2237 fail:
2238 return NULL;
2239}
2240
2241
c32bde28 2242static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2243 PyObject *resultobj;
2244 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2245 double result;
2246 PyObject * obj0 = 0 ;
2247 char *kwnames[] = {
2248 (char *) "self", NULL
2249 };
2250
2251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
15afbcd0
RD
2252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2254 {
2255 PyThreadState* __tstate = wxPyBeginAllowThreads();
2256 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
2257
2258 wxPyEndAllowThreads(__tstate);
2259 if (PyErr_Occurred()) SWIG_fail;
2260 }
c32bde28 2261 resultobj = SWIG_From_double((double)result);
d14a1e28
RD
2262 return resultobj;
2263 fail:
2264 return NULL;
2265}
2266
2267
c32bde28 2268static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
2269 PyObject *resultobj;
2270 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
322913ce
RD
2271 wxPoint *arg2 = 0 ;
2272 wxPoint result;
2273 wxPoint temp2 ;
d14a1e28 2274 PyObject * obj0 = 0 ;
322913ce 2275 PyObject * obj1 = 0 ;
d14a1e28 2276
322913ce 2277 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
15afbcd0
RD
2278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
322913ce
RD
2280 {
2281 arg2 = &temp2;
2282 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2283 }
d14a1e28
RD
2284 {
2285 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 2286 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
d14a1e28
RD
2287
2288 wxPyEndAllowThreads(__tstate);
2289 if (PyErr_Occurred()) SWIG_fail;
2290 }
d14a1e28 2291 {
322913ce
RD
2292 wxPoint * resultptr;
2293 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 2294 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
2295 }
2296 return resultobj;
2297 fail:
2298 return NULL;
2299}
2300
2301
c32bde28 2302static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *, PyObject *args) {
d14a1e28
RD
2303 PyObject *resultobj;
2304 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
322913ce
RD
2305 int arg2 ;
2306 int arg3 ;
2307 int *arg4 = (int *) 0 ;
2308 int *arg5 = (int *) 0 ;
2309 int temp4 ;
c32bde28 2310 int res4 = 0 ;
322913ce 2311 int temp5 ;
c32bde28 2312 int res5 = 0 ;
d14a1e28 2313 PyObject * obj0 = 0 ;
994141e6
RD
2314 PyObject * obj1 = 0 ;
2315 PyObject * obj2 = 0 ;
d14a1e28 2316
c32bde28
RD
2317 arg4 = &temp4; res4 = SWIG_NEWOBJ;
2318 arg5 = &temp5; res5 = SWIG_NEWOBJ;
994141e6 2319 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 2322 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 2323 if (PyErr_Occurred()) SWIG_fail;
c32bde28 2324 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 2325 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2326 {
2327 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 2328 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
d14a1e28
RD
2329
2330 wxPyEndAllowThreads(__tstate);
2331 if (PyErr_Occurred()) SWIG_fail;
2332 }
322913ce 2333 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
2334 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
2335 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
2336 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
2337 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
d14a1e28
RD
2338 return resultobj;
2339 fail:
2340 return NULL;
2341}
2342
2343
2344static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
2345 int argc;
2346 PyObject *argv[4];
2347 int ii;
2348
2349 argc = PyObject_Length(args);
2350 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2351 argv[ii] = PyTuple_GetItem(args,ii);
2352 }
2353 if (argc == 2) {
2354 int _v;
2355 {
2356 void *ptr;
15afbcd0 2357 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
d14a1e28
RD
2358 _v = 0;
2359 PyErr_Clear();
2360 } else {
2361 _v = 1;
2362 }
2363 }
2364 if (_v) {
2365 {
2366 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2367 }
2368 if (_v) {
322913ce 2369 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
d14a1e28
RD
2370 }
2371 }
2372 }
2373 if (argc == 3) {
2374 int _v;
2375 {
2376 void *ptr;
15afbcd0 2377 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
d14a1e28
RD
2378 _v = 0;
2379 PyErr_Clear();
2380 } else {
2381 _v = 1;
2382 }
2383 }
2384 if (_v) {
c32bde28 2385 _v = SWIG_Check_int(argv[1]);
d14a1e28 2386 if (_v) {
c32bde28 2387 _v = SWIG_Check_int(argv[2]);
d14a1e28 2388 if (_v) {
322913ce 2389 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
d14a1e28
RD
2390 }
2391 }
2392 }
2393 }
2394
2395 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2396 return NULL;
2397}
2398
2399
c32bde28 2400static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
2401 PyObject *resultobj;
2402 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
322913ce
RD
2403 wxPoint *arg2 = 0 ;
2404 wxPoint result;
2405 wxPoint temp2 ;
d14a1e28 2406 PyObject * obj0 = 0 ;
322913ce 2407 PyObject * obj1 = 0 ;
d14a1e28 2408
322913ce 2409 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
15afbcd0
RD
2410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
322913ce
RD
2412 {
2413 arg2 = &temp2;
2414 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2415 }
d14a1e28
RD
2416 {
2417 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 2418 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
d14a1e28
RD
2419
2420 wxPyEndAllowThreads(__tstate);
2421 if (PyErr_Occurred()) SWIG_fail;
2422 }
d14a1e28 2423 {
322913ce
RD
2424 wxPoint * resultptr;
2425 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 2426 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
2427 }
2428 return resultobj;
2429 fail:
2430 return NULL;
2431}
2432
2433
c32bde28 2434static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *, PyObject *args) {
d14a1e28
RD
2435 PyObject *resultobj;
2436 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
322913ce
RD
2437 int arg2 ;
2438 int arg3 ;
2439 int *arg4 = (int *) 0 ;
2440 int *arg5 = (int *) 0 ;
2441 int temp4 ;
c32bde28 2442 int res4 = 0 ;
322913ce 2443 int temp5 ;
c32bde28 2444 int res5 = 0 ;
d14a1e28 2445 PyObject * obj0 = 0 ;
994141e6
RD
2446 PyObject * obj1 = 0 ;
2447 PyObject * obj2 = 0 ;
d14a1e28 2448
c32bde28
RD
2449 arg4 = &temp4; res4 = SWIG_NEWOBJ;
2450 arg5 = &temp5; res5 = SWIG_NEWOBJ;
994141e6 2451 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 2454 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 2455 if (PyErr_Occurred()) SWIG_fail;
c32bde28 2456 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 2457 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2458 {
2459 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 2460 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
d14a1e28
RD
2461
2462 wxPyEndAllowThreads(__tstate);
2463 if (PyErr_Occurred()) SWIG_fail;
2464 }
322913ce 2465 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
2466 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
2467 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
2468 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
2469 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
d14a1e28
RD
2470 return resultobj;
2471 fail:
2472 return NULL;
2473}
2474
2475
2476static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
2477 int argc;
2478 PyObject *argv[4];
2479 int ii;
2480
2481 argc = PyObject_Length(args);
2482 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2483 argv[ii] = PyTuple_GetItem(args,ii);
2484 }
2485 if (argc == 2) {
2486 int _v;
2487 {
2488 void *ptr;
15afbcd0 2489 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
d14a1e28
RD
2490 _v = 0;
2491 PyErr_Clear();
2492 } else {
2493 _v = 1;
2494 }
2495 }
2496 if (_v) {
2497 {
2498 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2499 }
2500 if (_v) {
322913ce 2501 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
d14a1e28
RD
2502 }
2503 }
2504 }
2505 if (argc == 3) {
2506 int _v;
2507 {
2508 void *ptr;
15afbcd0 2509 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
d14a1e28
RD
2510 _v = 0;
2511 PyErr_Clear();
2512 } else {
2513 _v = 1;
2514 }
2515 }
2516 if (_v) {
c32bde28 2517 _v = SWIG_Check_int(argv[1]);
d14a1e28 2518 if (_v) {
c32bde28 2519 _v = SWIG_Check_int(argv[2]);
d14a1e28 2520 if (_v) {
322913ce 2521 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
d14a1e28
RD
2522 }
2523 }
2524 }
2525 }
2526
2527 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2528 return NULL;
2529}
2530
2531
c32bde28 2532static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2533 PyObject *resultobj;
2534 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2535 PyObject * obj0 = 0 ;
2536 char *kwnames[] = {
2537 (char *) "self", NULL
2538 };
2539
2540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
15afbcd0
RD
2541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2543 {
2544 PyThreadState* __tstate = wxPyBeginAllowThreads();
2545 (arg1)->AdjustScrollbars();
2546
2547 wxPyEndAllowThreads(__tstate);
2548 if (PyErr_Occurred()) SWIG_fail;
2549 }
2550 Py_INCREF(Py_None); resultobj = Py_None;
2551 return resultobj;
2552 fail:
2553 return NULL;
2554}
2555
2556
c32bde28 2557static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2558 PyObject *resultobj;
2559 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2560 wxScrollWinEvent *arg2 = 0 ;
2561 int result;
2562 PyObject * obj0 = 0 ;
2563 PyObject * obj1 = 0 ;
2564 char *kwnames[] = {
2565 (char *) "self",(char *) "event", NULL
2566 };
2567
2568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2571 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollWinEvent,
2572 SWIG_POINTER_EXCEPTION | 0)) == -1)
2573 SWIG_fail;
d14a1e28 2574 if (arg2 == NULL) {
15afbcd0
RD
2575 PyErr_SetString(PyExc_TypeError,"null reference");
2576 SWIG_fail;
d14a1e28
RD
2577 }
2578 {
2579 PyThreadState* __tstate = wxPyBeginAllowThreads();
2580 result = (int)(arg1)->CalcScrollInc(*arg2);
2581
2582 wxPyEndAllowThreads(__tstate);
2583 if (PyErr_Occurred()) SWIG_fail;
2584 }
c32bde28 2585 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
2586 return resultobj;
2587 fail:
2588 return NULL;
2589}
2590
2591
c32bde28 2592static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2593 PyObject *resultobj;
2594 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2595 wxWindow *arg2 = (wxWindow *) 0 ;
2596 PyObject * obj0 = 0 ;
2597 PyObject * obj1 = 0 ;
2598 char *kwnames[] = {
2599 (char *) "self",(char *) "target", NULL
2600 };
2601
2602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2605 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2607 {
2608 PyThreadState* __tstate = wxPyBeginAllowThreads();
2609 (arg1)->SetTargetWindow(arg2);
2610
2611 wxPyEndAllowThreads(__tstate);
2612 if (PyErr_Occurred()) SWIG_fail;
2613 }
2614 Py_INCREF(Py_None); resultobj = Py_None;
2615 return resultobj;
2616 fail:
2617 return NULL;
2618}
2619
2620
c32bde28 2621static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2622 PyObject *resultobj;
2623 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2624 wxWindow *result;
2625 PyObject * obj0 = 0 ;
2626 char *kwnames[] = {
2627 (char *) "self", NULL
2628 };
2629
2630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
2631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2633 {
2634 PyThreadState* __tstate = wxPyBeginAllowThreads();
2635 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
2636
2637 wxPyEndAllowThreads(__tstate);
2638 if (PyErr_Occurred()) SWIG_fail;
2639 }
2640 {
412d302d 2641 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
2642 }
2643 return resultobj;
2644 fail:
2645 return NULL;
2646}
2647
2648
c32bde28 2649static PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *, PyObject *args, PyObject *kwargs) {
f5b96ee1
RD
2650 PyObject *resultobj;
2651 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2652 wxDC *arg2 = 0 ;
2653 PyObject * obj0 = 0 ;
2654 PyObject * obj1 = 0 ;
2655 char *kwnames[] = {
2656 (char *) "self",(char *) "dc", NULL
2657 };
2658
2659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) goto fail;
2660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2662 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
2663 SWIG_POINTER_EXCEPTION | 0)) == -1)
2664 SWIG_fail;
2665 if (arg2 == NULL) {
2666 PyErr_SetString(PyExc_TypeError,"null reference");
2667 SWIG_fail;
2668 }
2669 {
2670 PyThreadState* __tstate = wxPyBeginAllowThreads();
2671 (arg1)->DoPrepareDC(*arg2);
2672
2673 wxPyEndAllowThreads(__tstate);
2674 if (PyErr_Occurred()) SWIG_fail;
2675 }
2676 Py_INCREF(Py_None); resultobj = Py_None;
2677 return resultobj;
2678 fail:
2679 return NULL;
2680}
2681
2682
c32bde28 2683static PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c
RD
2684 PyObject *resultobj;
2685 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
2686 wxVisualAttributes result;
2687 PyObject * obj0 = 0 ;
2688 char *kwnames[] = {
2689 (char *) "variant", NULL
2690 };
2691
2692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2693 if (obj0) {
c32bde28 2694 arg1 = (int)SWIG_As_int(obj0);
22bfe96c
RD
2695 if (PyErr_Occurred()) SWIG_fail;
2696 }
2697 {
e3b71cb8 2698 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
2699 PyThreadState* __tstate = wxPyBeginAllowThreads();
2700 result = wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
2701
2702 wxPyEndAllowThreads(__tstate);
110da5b0 2703 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
2704 }
2705 {
2706 wxVisualAttributes * resultptr;
2707 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
2708 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2709 }
2710 return resultobj;
2711 fail:
2712 return NULL;
2713}
2714
2715
c32bde28 2716static PyObject * ScrolledWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
2717 PyObject *obj;
2718 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2719 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2720 Py_INCREF(obj);
2721 return Py_BuildValue((char *)"");
2722}
c32bde28 2723static int _wrap_FrameNameStr_set(PyObject *) {
b2dc1044
RD
2724 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
2725 return 1;
2726}
2727
2728
2729static PyObject *_wrap_FrameNameStr_get() {
2730 PyObject *pyobj;
2731
2732 {
2733#if wxUSE_UNICODE
2734 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2735#else
2736 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2737#endif
2738 }
2739 return pyobj;
2740}
2741
2742
c32bde28 2743static int _wrap_DialogNameStr_set(PyObject *) {
b2dc1044
RD
2744 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
2745 return 1;
2746}
2747
2748
2749static PyObject *_wrap_DialogNameStr_get() {
2750 PyObject *pyobj;
2751
2752 {
2753#if wxUSE_UNICODE
2754 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2755#else
2756 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2757#endif
2758 }
2759 return pyobj;
2760}
2761
2762
c32bde28 2763static int _wrap_StatusLineNameStr_set(PyObject *) {
b2dc1044
RD
2764 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
2765 return 1;
2766}
2767
2768
2769static PyObject *_wrap_StatusLineNameStr_get() {
2770 PyObject *pyobj;
2771
2772 {
2773#if wxUSE_UNICODE
2774 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2775#else
2776 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2777#endif
2778 }
2779 return pyobj;
2780}
2781
2782
c32bde28 2783static int _wrap_ToolBarNameStr_set(PyObject *) {
b2dc1044
RD
2784 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
2785 return 1;
2786}
2787
2788
2789static PyObject *_wrap_ToolBarNameStr_get() {
2790 PyObject *pyobj;
2791
2792 {
2793#if wxUSE_UNICODE
2794 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2795#else
2796 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2797#endif
2798 }
2799 return pyobj;
2800}
2801
2802
c32bde28 2803static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2804 PyObject *resultobj;
2805 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
ae8162c8 2806 bool arg2 = (bool) true ;
d14a1e28
RD
2807 PyObject * obj0 = 0 ;
2808 PyObject * obj1 = 0 ;
2809 char *kwnames[] = {
2810 (char *) "self",(char *) "maximize", NULL
2811 };
2812
2813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 2816 if (obj1) {
c32bde28 2817 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 2818 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2819 }
2820 {
2821 PyThreadState* __tstate = wxPyBeginAllowThreads();
2822 (arg1)->Maximize(arg2);
2823
2824 wxPyEndAllowThreads(__tstate);
2825 if (PyErr_Occurred()) SWIG_fail;
2826 }
2827 Py_INCREF(Py_None); resultobj = Py_None;
2828 return resultobj;
2829 fail:
2830 return NULL;
2831}
2832
2833
c32bde28 2834static PyObject *_wrap_TopLevelWindow_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2835 PyObject *resultobj;
2836 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2837 PyObject * obj0 = 0 ;
2838 char *kwnames[] = {
2839 (char *) "self", NULL
2840 };
2841
2842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
15afbcd0
RD
2843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2845 {
2846 PyThreadState* __tstate = wxPyBeginAllowThreads();
2847 (arg1)->Restore();
2848
2849 wxPyEndAllowThreads(__tstate);
2850 if (PyErr_Occurred()) SWIG_fail;
2851 }
2852 Py_INCREF(Py_None); resultobj = Py_None;
2853 return resultobj;
2854 fail:
2855 return NULL;
2856}
2857
2858
c32bde28 2859static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2860 PyObject *resultobj;
2861 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
ae8162c8 2862 bool arg2 = (bool) true ;
d14a1e28
RD
2863 PyObject * obj0 = 0 ;
2864 PyObject * obj1 = 0 ;
2865 char *kwnames[] = {
2866 (char *) "self",(char *) "iconize", NULL
2867 };
2868
2869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 2872 if (obj1) {
c32bde28 2873 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 2874 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2875 }
2876 {
2877 PyThreadState* __tstate = wxPyBeginAllowThreads();
2878 (arg1)->Iconize(arg2);
2879
2880 wxPyEndAllowThreads(__tstate);
2881 if (PyErr_Occurred()) SWIG_fail;
2882 }
2883 Py_INCREF(Py_None); resultobj = Py_None;
2884 return resultobj;
2885 fail:
2886 return NULL;
2887}
2888
2889
c32bde28 2890static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2891 PyObject *resultobj;
2892 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2893 bool result;
2894 PyObject * obj0 = 0 ;
2895 char *kwnames[] = {
2896 (char *) "self", NULL
2897 };
2898
2899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
15afbcd0
RD
2900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2902 {
2903 PyThreadState* __tstate = wxPyBeginAllowThreads();
2904 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2905
2906 wxPyEndAllowThreads(__tstate);
2907 if (PyErr_Occurred()) SWIG_fail;
2908 }
4f89f6a3
RD
2909 {
2910 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2911 }
d14a1e28
RD
2912 return resultobj;
2913 fail:
2914 return NULL;
2915}
2916
2917
c32bde28 2918static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2919 PyObject *resultobj;
2920 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2921 bool result;
2922 PyObject * obj0 = 0 ;
2923 char *kwnames[] = {
2924 (char *) "self", NULL
2925 };
2926
2927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
15afbcd0
RD
2928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2930 {
2931 PyThreadState* __tstate = wxPyBeginAllowThreads();
2932 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2933
2934 wxPyEndAllowThreads(__tstate);
2935 if (PyErr_Occurred()) SWIG_fail;
2936 }
4f89f6a3
RD
2937 {
2938 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2939 }
d14a1e28
RD
2940 return resultobj;
2941 fail:
2942 return NULL;
2943}
2944
2945
c32bde28 2946static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2947 PyObject *resultobj;
2948 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2949 wxIcon result;
2950 PyObject * obj0 = 0 ;
2951 char *kwnames[] = {
2952 (char *) "self", NULL
2953 };
2954
2955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
15afbcd0
RD
2956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2958 {
2959 PyThreadState* __tstate = wxPyBeginAllowThreads();
2960 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
2961
2962 wxPyEndAllowThreads(__tstate);
2963 if (PyErr_Occurred()) SWIG_fail;
2964 }
2965 {
2966 wxIcon * resultptr;
2967 resultptr = new wxIcon((wxIcon &) result);
15afbcd0 2968 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
d14a1e28
RD
2969 }
2970 return resultobj;
2971 fail:
2972 return NULL;
2973}
2974
2975
c32bde28 2976static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2977 PyObject *resultobj;
2978 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2979 wxIcon *arg2 = 0 ;
2980 PyObject * obj0 = 0 ;
2981 PyObject * obj1 = 0 ;
2982 char *kwnames[] = {
2983 (char *) "self",(char *) "icon", NULL
2984 };
2985
2986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2989 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
2990 SWIG_POINTER_EXCEPTION | 0)) == -1)
2991 SWIG_fail;
d14a1e28 2992 if (arg2 == NULL) {
15afbcd0
RD
2993 PyErr_SetString(PyExc_TypeError,"null reference");
2994 SWIG_fail;
d14a1e28
RD
2995 }
2996 {
2997 PyThreadState* __tstate = wxPyBeginAllowThreads();
2998 (arg1)->SetIcon((wxIcon const &)*arg2);
2999
3000 wxPyEndAllowThreads(__tstate);
3001 if (PyErr_Occurred()) SWIG_fail;
3002 }
3003 Py_INCREF(Py_None); resultobj = Py_None;
3004 return resultobj;
3005 fail:
3006 return NULL;
3007}
3008
3009
c32bde28 3010static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3011 PyObject *resultobj;
3012 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3013 wxIconBundle *arg2 = 0 ;
3014 PyObject * obj0 = 0 ;
3015 PyObject * obj1 = 0 ;
3016 char *kwnames[] = {
3017 (char *) "self",(char *) "icons", NULL
3018 };
3019
3020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3023 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIconBundle,
3024 SWIG_POINTER_EXCEPTION | 0)) == -1)
3025 SWIG_fail;
d14a1e28 3026 if (arg2 == NULL) {
15afbcd0
RD
3027 PyErr_SetString(PyExc_TypeError,"null reference");
3028 SWIG_fail;
d14a1e28
RD
3029 }
3030 {
3031 PyThreadState* __tstate = wxPyBeginAllowThreads();
3032 (arg1)->SetIcons((wxIconBundle const &)*arg2);
3033
3034 wxPyEndAllowThreads(__tstate);
3035 if (PyErr_Occurred()) SWIG_fail;
3036 }
3037 Py_INCREF(Py_None); resultobj = Py_None;
3038 return resultobj;
3039 fail:
3040 return NULL;
3041}
3042
3043
c32bde28 3044static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3045 PyObject *resultobj;
3046 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3047 bool arg2 ;
3048 long arg3 = (long) wxFULLSCREEN_ALL ;
3049 bool result;
3050 PyObject * obj0 = 0 ;
3051 PyObject * obj1 = 0 ;
994141e6 3052 PyObject * obj2 = 0 ;
d14a1e28
RD
3053 char *kwnames[] = {
3054 (char *) "self",(char *) "show",(char *) "style", NULL
3055 };
3056
994141e6 3057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
3058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 3060 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 3061 if (PyErr_Occurred()) SWIG_fail;
994141e6 3062 if (obj2) {
c32bde28 3063 arg3 = (long)SWIG_As_long(obj2);
15afbcd0 3064 if (PyErr_Occurred()) SWIG_fail;
994141e6 3065 }
d14a1e28
RD
3066 {
3067 PyThreadState* __tstate = wxPyBeginAllowThreads();
3068 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
3069
3070 wxPyEndAllowThreads(__tstate);
3071 if (PyErr_Occurred()) SWIG_fail;
3072 }
4f89f6a3
RD
3073 {
3074 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3075 }
d14a1e28
RD
3076 return resultobj;
3077 fail:
3078 return NULL;
3079}
3080
3081
c32bde28 3082static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3083 PyObject *resultobj;
3084 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3085 bool result;
3086 PyObject * obj0 = 0 ;
3087 char *kwnames[] = {
3088 (char *) "self", NULL
3089 };
3090
3091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
15afbcd0
RD
3092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3094 {
3095 PyThreadState* __tstate = wxPyBeginAllowThreads();
3096 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
3097
3098 wxPyEndAllowThreads(__tstate);
3099 if (PyErr_Occurred()) SWIG_fail;
3100 }
4f89f6a3
RD
3101 {
3102 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3103 }
d14a1e28
RD
3104 return resultobj;
3105 fail:
3106 return NULL;
3107}
3108
3109
c32bde28 3110static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3111 PyObject *resultobj;
3112 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3113 wxString *arg2 = 0 ;
ae8162c8 3114 bool temp2 = false ;
d14a1e28
RD
3115 PyObject * obj0 = 0 ;
3116 PyObject * obj1 = 0 ;
3117 char *kwnames[] = {
3118 (char *) "self",(char *) "title", NULL
3119 };
3120
3121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3124 {
3125 arg2 = wxString_in_helper(obj1);
3126 if (arg2 == NULL) SWIG_fail;
ae8162c8 3127 temp2 = true;
d14a1e28
RD
3128 }
3129 {
3130 PyThreadState* __tstate = wxPyBeginAllowThreads();
3131 (arg1)->SetTitle((wxString const &)*arg2);
3132
3133 wxPyEndAllowThreads(__tstate);
3134 if (PyErr_Occurred()) SWIG_fail;
3135 }
3136 Py_INCREF(Py_None); resultobj = Py_None;
3137 {
3138 if (temp2)
3139 delete arg2;
3140 }
3141 return resultobj;
3142 fail:
3143 {
3144 if (temp2)
3145 delete arg2;
3146 }
3147 return NULL;
3148}
3149
3150
c32bde28 3151static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3152 PyObject *resultobj;
3153 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3154 wxString result;
3155 PyObject * obj0 = 0 ;
3156 char *kwnames[] = {
3157 (char *) "self", NULL
3158 };
3159
3160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
15afbcd0
RD
3161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3163 {
3164 PyThreadState* __tstate = wxPyBeginAllowThreads();
3165 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
3166
3167 wxPyEndAllowThreads(__tstate);
3168 if (PyErr_Occurred()) SWIG_fail;
3169 }
3170 {
3171#if wxUSE_UNICODE
3172 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3173#else
3174 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3175#endif
3176 }
3177 return resultobj;
3178 fail:
3179 return NULL;
3180}
3181
3182
c32bde28 3183static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3184 PyObject *resultobj;
3185 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3186 wxRegion *arg2 = 0 ;
3187 bool result;
3188 PyObject * obj0 = 0 ;
3189 PyObject * obj1 = 0 ;
3190 char *kwnames[] = {
3191 (char *) "self",(char *) "region", NULL
3192 };
3193
3194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3197 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion,
3198 SWIG_POINTER_EXCEPTION | 0)) == -1)
3199 SWIG_fail;
d14a1e28 3200 if (arg2 == NULL) {
15afbcd0
RD
3201 PyErr_SetString(PyExc_TypeError,"null reference");
3202 SWIG_fail;
d14a1e28
RD
3203 }
3204 {
3205 PyThreadState* __tstate = wxPyBeginAllowThreads();
3206 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
3207
3208 wxPyEndAllowThreads(__tstate);
3209 if (PyErr_Occurred()) SWIG_fail;
3210 }
4f89f6a3
RD
3211 {
3212 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3213 }
d14a1e28
RD
3214 return resultobj;
3215 fail:
3216 return NULL;
3217}
3218
3219
c32bde28
RD
3220static PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *, PyObject *args, PyObject *kwargs) {
3221 PyObject *resultobj;
3222 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3223 int arg2 = (int) wxUSER_ATTENTION_INFO ;
3224 PyObject * obj0 = 0 ;
3225 PyObject * obj1 = 0 ;
3226 char *kwnames[] = {
3227 (char *) "self",(char *) "flags", NULL
3228 };
3229
3230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) goto fail;
3231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3233 if (obj1) {
3234 arg2 = (int)SWIG_As_int(obj1);
3235 if (PyErr_Occurred()) SWIG_fail;
3236 }
3237 {
3238 PyThreadState* __tstate = wxPyBeginAllowThreads();
3239 (arg1)->RequestUserAttention(arg2);
3240
3241 wxPyEndAllowThreads(__tstate);
3242 if (PyErr_Occurred()) SWIG_fail;
3243 }
3244 Py_INCREF(Py_None); resultobj = Py_None;
3245 return resultobj;
3246 fail:
3247 return NULL;
3248}
3249
3250
b6294124
RD
3251static PyObject *_wrap_TopLevelWindow_IsActive(PyObject *, PyObject *args, PyObject *kwargs) {
3252 PyObject *resultobj;
3253 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3254 bool result;
3255 PyObject * obj0 = 0 ;
3256 char *kwnames[] = {
3257 (char *) "self", NULL
3258 };
3259
3260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsActive",kwnames,&obj0)) goto fail;
3261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3263 {
3264 PyThreadState* __tstate = wxPyBeginAllowThreads();
3265 result = (bool)(arg1)->IsActive();
3266
3267 wxPyEndAllowThreads(__tstate);
3268 if (PyErr_Occurred()) SWIG_fail;
3269 }
3270 {
3271 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3272 }
3273 return resultobj;
3274 fail:
3275 return NULL;
3276}
3277
3278
84f85550
RD
3279static PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) {
3280 PyObject *resultobj;
3281 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3282 bool arg2 ;
3283 PyObject * obj0 = 0 ;
3284 PyObject * obj1 = 0 ;
3285 char *kwnames[] = {
3286 (char *) "self",(char *) "on", NULL
3287 };
3288
3289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) goto fail;
3290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3292 arg2 = (bool)SWIG_As_bool(obj1);
3293 if (PyErr_Occurred()) SWIG_fail;
3294 {
3295 PyThreadState* __tstate = wxPyBeginAllowThreads();
3296 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
3297
3298 wxPyEndAllowThreads(__tstate);
3299 if (PyErr_Occurred()) SWIG_fail;
3300 }
3301 Py_INCREF(Py_None); resultobj = Py_None;
3302 return resultobj;
3303 fail:
3304 return NULL;
3305}
3306
3307
3308static PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) {
3309 PyObject *resultobj;
3310 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3311 bool result;
3312 PyObject * obj0 = 0 ;
3313 char *kwnames[] = {
3314 (char *) "self", NULL
3315 };
3316
3317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames,&obj0)) goto fail;
3318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3320 {
3321 PyThreadState* __tstate = wxPyBeginAllowThreads();
3322 result = (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow const *)arg1);
3323
3324 wxPyEndAllowThreads(__tstate);
3325 if (PyErr_Occurred()) SWIG_fail;
3326 }
3327 {
3328 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3329 }
3330 return resultobj;
3331 fail:
3332 return NULL;
3333}
3334
3335
c32bde28 3336static PyObject * TopLevelWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
3337 PyObject *obj;
3338 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3339 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
3340 Py_INCREF(obj);
3341 return Py_BuildValue((char *)"");
3342}
c32bde28 3343static PyObject *_wrap_new_Frame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3344 PyObject *resultobj;
3345 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
3346 int arg2 = (int) (int)-1 ;
3347 wxString const &arg3_defvalue = wxPyEmptyString ;
3348 wxString *arg3 = (wxString *) &arg3_defvalue ;
d14a1e28
RD
3349 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3350 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3351 wxSize const &arg5_defvalue = wxDefaultSize ;
3352 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3353 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
3354 wxString const &arg7_defvalue = wxPyFrameNameStr ;
3355 wxString *arg7 = (wxString *) &arg7_defvalue ;
3356 wxFrame *result;
ae8162c8 3357 bool temp3 = false ;
d14a1e28
RD
3358 wxPoint temp4 ;
3359 wxSize temp5 ;
ae8162c8 3360 bool temp7 = false ;
d14a1e28 3361 PyObject * obj0 = 0 ;
994141e6 3362 PyObject * obj1 = 0 ;
d14a1e28
RD
3363 PyObject * obj2 = 0 ;
3364 PyObject * obj3 = 0 ;
3365 PyObject * obj4 = 0 ;
994141e6 3366 PyObject * obj5 = 0 ;
d14a1e28
RD
3367 PyObject * obj6 = 0 ;
3368 char *kwnames[] = {
3369 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3370 };
3371
248ed943 3372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
3373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 3375 if (obj1) {
c32bde28 3376 arg2 = (int)SWIG_As_int(obj1);
248ed943
RD
3377 if (PyErr_Occurred()) SWIG_fail;
3378 }
3379 if (obj2) {
3380 {
3381 arg3 = wxString_in_helper(obj2);
3382 if (arg3 == NULL) SWIG_fail;
ae8162c8 3383 temp3 = true;
248ed943 3384 }
d14a1e28
RD
3385 }
3386 if (obj3) {
3387 {
3388 arg4 = &temp4;
3389 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3390 }
3391 }
3392 if (obj4) {
3393 {
3394 arg5 = &temp5;
3395 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3396 }
3397 }
994141e6 3398 if (obj5) {
c32bde28 3399 arg6 = (long)SWIG_As_long(obj5);
15afbcd0 3400 if (PyErr_Occurred()) SWIG_fail;
994141e6 3401 }
d14a1e28
RD
3402 if (obj6) {
3403 {
3404 arg7 = wxString_in_helper(obj6);
3405 if (arg7 == NULL) SWIG_fail;
ae8162c8 3406 temp7 = true;
d14a1e28
RD
3407 }
3408 }
3409 {
e3b71cb8 3410 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
3411 PyThreadState* __tstate = wxPyBeginAllowThreads();
3412 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3413
3414 wxPyEndAllowThreads(__tstate);
110da5b0 3415 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 3416 }
b0f7404b 3417 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
d14a1e28
RD
3418 {
3419 if (temp3)
3420 delete arg3;
3421 }
3422 {
3423 if (temp7)
3424 delete arg7;
3425 }
3426 return resultobj;
3427 fail:
3428 {
3429 if (temp3)
3430 delete arg3;
3431 }
3432 {
3433 if (temp7)
3434 delete arg7;
3435 }
3436 return NULL;
3437}
3438
3439
c32bde28 3440static PyObject *_wrap_new_PreFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3441 PyObject *resultobj;
3442 wxFrame *result;
3443 char *kwnames[] = {
3444 NULL
3445 };
3446
3447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
3448 {
e3b71cb8 3449 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
3450 PyThreadState* __tstate = wxPyBeginAllowThreads();
3451 result = (wxFrame *)new wxFrame();
3452
3453 wxPyEndAllowThreads(__tstate);
110da5b0 3454 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 3455 }
b0f7404b 3456 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
d14a1e28
RD
3457 return resultobj;
3458 fail:
3459 return NULL;
3460}
3461
3462
c32bde28 3463static PyObject *_wrap_Frame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3464 PyObject *resultobj;
3465 wxFrame *arg1 = (wxFrame *) 0 ;
3466 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
3467 int arg3 = (int) (int)-1 ;
3468 wxString const &arg4_defvalue = wxPyEmptyString ;
3469 wxString *arg4 = (wxString *) &arg4_defvalue ;
d14a1e28
RD
3470 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3471 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3472 wxSize const &arg6_defvalue = wxDefaultSize ;
3473 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3474 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
3475 wxString const &arg8_defvalue = wxPyFrameNameStr ;
3476 wxString *arg8 = (wxString *) &arg8_defvalue ;
3477 bool result;
ae8162c8 3478 bool temp4 = false ;
d14a1e28
RD
3479 wxPoint temp5 ;
3480 wxSize temp6 ;
ae8162c8 3481 bool temp8 = false ;
d14a1e28
RD
3482 PyObject * obj0 = 0 ;
3483 PyObject * obj1 = 0 ;
994141e6 3484 PyObject * obj2 = 0 ;
d14a1e28
RD
3485 PyObject * obj3 = 0 ;
3486 PyObject * obj4 = 0 ;
3487 PyObject * obj5 = 0 ;
994141e6 3488 PyObject * obj6 = 0 ;
d14a1e28
RD
3489 PyObject * obj7 = 0 ;
3490 char *kwnames[] = {
3491 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3492 };
3493
248ed943 3494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
3495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3497 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 3499 if (obj2) {
c32bde28 3500 arg3 = (int)SWIG_As_int(obj2);
248ed943
RD
3501 if (PyErr_Occurred()) SWIG_fail;
3502 }
3503 if (obj3) {
3504 {
3505 arg4 = wxString_in_helper(obj3);
3506 if (arg4 == NULL) SWIG_fail;
ae8162c8 3507 temp4 = true;
248ed943 3508 }
d14a1e28
RD
3509 }
3510 if (obj4) {
3511 {
3512 arg5 = &temp5;
3513 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3514 }
3515 }
3516 if (obj5) {
3517 {
3518 arg6 = &temp6;
3519 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3520 }
3521 }
994141e6 3522 if (obj6) {
c32bde28 3523 arg7 = (long)SWIG_As_long(obj6);
15afbcd0 3524 if (PyErr_Occurred()) SWIG_fail;
994141e6 3525 }
d14a1e28
RD
3526 if (obj7) {
3527 {
3528 arg8 = wxString_in_helper(obj7);
3529 if (arg8 == NULL) SWIG_fail;
ae8162c8 3530 temp8 = true;
d14a1e28
RD
3531 }
3532 }
3533 {
3534 PyThreadState* __tstate = wxPyBeginAllowThreads();
3535 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3536
3537 wxPyEndAllowThreads(__tstate);
3538 if (PyErr_Occurred()) SWIG_fail;
3539 }
4f89f6a3
RD
3540 {
3541 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3542 }
d14a1e28
RD
3543 {
3544 if (temp4)
3545 delete arg4;
3546 }
3547 {
3548 if (temp8)
3549 delete arg8;
3550 }
3551 return resultobj;
3552 fail:
3553 {
3554 if (temp4)
3555 delete arg4;
3556 }
3557 {
3558 if (temp8)
3559 delete arg8;
3560 }
3561 return NULL;
3562}
3563
3564
c32bde28 3565static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3566 PyObject *resultobj;
3567 wxFrame *arg1 = (wxFrame *) 0 ;
3568 wxPoint result;
3569 PyObject * obj0 = 0 ;
3570 char *kwnames[] = {
3571 (char *) "self", NULL
3572 };
3573
3574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
15afbcd0
RD
3575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3577 {
3578 PyThreadState* __tstate = wxPyBeginAllowThreads();
3579 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
3580
3581 wxPyEndAllowThreads(__tstate);
3582 if (PyErr_Occurred()) SWIG_fail;
3583 }
3584 {
3585 wxPoint * resultptr;
3586 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 3587 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
3588 }
3589 return resultobj;
3590 fail:
3591 return NULL;
3592}
3593
3594
c32bde28 3595static PyObject *_wrap_Frame_SendSizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3596 PyObject *resultobj;
3597 wxFrame *arg1 = (wxFrame *) 0 ;
3598 PyObject * obj0 = 0 ;
3599 char *kwnames[] = {
3600 (char *) "self", NULL
3601 };
3602
3603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
15afbcd0
RD
3604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3606 {
3607 PyThreadState* __tstate = wxPyBeginAllowThreads();
3608 (arg1)->SendSizeEvent();
3609
3610 wxPyEndAllowThreads(__tstate);
3611 if (PyErr_Occurred()) SWIG_fail;
3612 }
3613 Py_INCREF(Py_None); resultobj = Py_None;
3614 return resultobj;
3615 fail:
3616 return NULL;
3617}
3618
3619
c32bde28 3620static PyObject *_wrap_Frame_SetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3621 PyObject *resultobj;
3622 wxFrame *arg1 = (wxFrame *) 0 ;
3623 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
3624 PyObject * obj0 = 0 ;
3625 PyObject * obj1 = 0 ;
3626 char *kwnames[] = {
3627 (char *) "self",(char *) "menubar", NULL
3628 };
3629
3630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3633 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBar,
3634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3635 {
3636 PyThreadState* __tstate = wxPyBeginAllowThreads();
3637 (arg1)->SetMenuBar(arg2);
3638
3639 wxPyEndAllowThreads(__tstate);
3640 if (PyErr_Occurred()) SWIG_fail;
3641 }
3642 Py_INCREF(Py_None); resultobj = Py_None;
3643 return resultobj;
3644 fail:
3645 return NULL;
3646}
3647
3648
c32bde28 3649static PyObject *_wrap_Frame_GetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3650 PyObject *resultobj;
3651 wxFrame *arg1 = (wxFrame *) 0 ;
3652 wxMenuBar *result;
3653 PyObject * obj0 = 0 ;
3654 char *kwnames[] = {
3655 (char *) "self", NULL
3656 };
3657
3658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
15afbcd0
RD
3659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3661 {
3662 PyThreadState* __tstate = wxPyBeginAllowThreads();
3663 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
3664
3665 wxPyEndAllowThreads(__tstate);
3666 if (PyErr_Occurred()) SWIG_fail;
3667 }
3668 {
412d302d 3669 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
3670 }
3671 return resultobj;
3672 fail:
3673 return NULL;
3674}
3675
3676
c32bde28 3677static PyObject *_wrap_Frame_ProcessCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3678 PyObject *resultobj;
3679 wxFrame *arg1 = (wxFrame *) 0 ;
3680 int arg2 ;
3681 bool result;
3682 PyObject * obj0 = 0 ;
994141e6 3683 PyObject * obj1 = 0 ;
d14a1e28
RD
3684 char *kwnames[] = {
3685 (char *) "self",(char *) "winid", NULL
3686 };
3687
994141e6 3688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 3691 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 3692 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3693 {
3694 PyThreadState* __tstate = wxPyBeginAllowThreads();
3695 result = (bool)(arg1)->ProcessCommand(arg2);
3696
3697 wxPyEndAllowThreads(__tstate);
3698 if (PyErr_Occurred()) SWIG_fail;
3699 }
4f89f6a3
RD
3700 {
3701 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3702 }
d14a1e28
RD
3703 return resultobj;
3704 fail:
3705 return NULL;
3706}
3707
3708
c32bde28 3709static PyObject *_wrap_Frame_CreateStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3710 PyObject *resultobj;
3711 wxFrame *arg1 = (wxFrame *) 0 ;
3712 int arg2 = (int) 1 ;
4276dc52 3713 long arg3 = (long) wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE ;
e811c8ce 3714 int arg4 = (int) 0 ;
d14a1e28
RD
3715 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
3716 wxString *arg5 = (wxString *) &arg5_defvalue ;
3717 wxStatusBar *result;
ae8162c8 3718 bool temp5 = false ;
d14a1e28 3719 PyObject * obj0 = 0 ;
994141e6
RD
3720 PyObject * obj1 = 0 ;
3721 PyObject * obj2 = 0 ;
3722 PyObject * obj3 = 0 ;
d14a1e28
RD
3723 PyObject * obj4 = 0 ;
3724 char *kwnames[] = {
3725 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3726 };
3727
994141e6 3728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
3729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 3731 if (obj1) {
c32bde28 3732 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 3733 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
3734 }
3735 if (obj2) {
c32bde28 3736 arg3 = (long)SWIG_As_long(obj2);
15afbcd0 3737 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
3738 }
3739 if (obj3) {
c32bde28 3740 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 3741 if (PyErr_Occurred()) SWIG_fail;
994141e6 3742 }
d14a1e28
RD
3743 if (obj4) {
3744 {
3745 arg5 = wxString_in_helper(obj4);
3746 if (arg5 == NULL) SWIG_fail;
ae8162c8 3747 temp5 = true;
d14a1e28
RD
3748 }
3749 }
3750 {
3751 PyThreadState* __tstate = wxPyBeginAllowThreads();
3752 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
3753
3754 wxPyEndAllowThreads(__tstate);
3755 if (PyErr_Occurred()) SWIG_fail;
3756 }
3757 {
412d302d 3758 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
3759 }
3760 {
3761 if (temp5)
3762 delete arg5;
3763 }
3764 return resultobj;
3765 fail:
3766 {
3767 if (temp5)
3768 delete arg5;
3769 }
3770 return NULL;
3771}
3772
3773
c32bde28 3774static PyObject *_wrap_Frame_GetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3775 PyObject *resultobj;
3776 wxFrame *arg1 = (wxFrame *) 0 ;
3777 wxStatusBar *result;
3778 PyObject * obj0 = 0 ;
3779 char *kwnames[] = {
3780 (char *) "self", NULL
3781 };
3782
3783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
15afbcd0
RD
3784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3786 {
3787 PyThreadState* __tstate = wxPyBeginAllowThreads();
3788 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
3789
3790 wxPyEndAllowThreads(__tstate);
3791 if (PyErr_Occurred()) SWIG_fail;
3792 }
3793 {
412d302d 3794 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
3795 }
3796 return resultobj;
3797 fail:
3798 return NULL;
3799}
3800
3801
c32bde28 3802static PyObject *_wrap_Frame_SetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3803 PyObject *resultobj;
3804 wxFrame *arg1 = (wxFrame *) 0 ;
3805 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
3806 PyObject * obj0 = 0 ;
3807 PyObject * obj1 = 0 ;
3808 char *kwnames[] = {
3809 (char *) "self",(char *) "statBar", NULL
3810 };
3811
3812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3813 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3815 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxStatusBar,
3816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3817 {
3818 PyThreadState* __tstate = wxPyBeginAllowThreads();
3819 (arg1)->SetStatusBar(arg2);
3820
3821 wxPyEndAllowThreads(__tstate);
3822 if (PyErr_Occurred()) SWIG_fail;
3823 }
3824 Py_INCREF(Py_None); resultobj = Py_None;
3825 return resultobj;
3826 fail:
3827 return NULL;
3828}
3829
3830
c32bde28 3831static PyObject *_wrap_Frame_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3832 PyObject *resultobj;
3833 wxFrame *arg1 = (wxFrame *) 0 ;
3834 wxString *arg2 = 0 ;
3835 int arg3 = (int) 0 ;
ae8162c8 3836 bool temp2 = false ;
d14a1e28
RD
3837 PyObject * obj0 = 0 ;
3838 PyObject * obj1 = 0 ;
994141e6 3839 PyObject * obj2 = 0 ;
d14a1e28
RD
3840 char *kwnames[] = {
3841 (char *) "self",(char *) "text",(char *) "number", NULL
3842 };
3843
994141e6 3844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
3845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3847 {
3848 arg2 = wxString_in_helper(obj1);
3849 if (arg2 == NULL) SWIG_fail;
ae8162c8 3850 temp2 = true;
d14a1e28 3851 }
994141e6 3852 if (obj2) {
c32bde28 3853 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 3854 if (PyErr_Occurred()) SWIG_fail;
994141e6 3855 }
d14a1e28
RD
3856 {
3857 PyThreadState* __tstate = wxPyBeginAllowThreads();
3858 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
3859
3860 wxPyEndAllowThreads(__tstate);
3861 if (PyErr_Occurred()) SWIG_fail;
3862 }
3863 Py_INCREF(Py_None); resultobj = Py_None;
3864 {
3865 if (temp2)
3866 delete arg2;
3867 }
3868 return resultobj;
3869 fail:
3870 {
3871 if (temp2)
3872 delete arg2;
3873 }
3874 return NULL;
3875}
3876
3877
c32bde28 3878static PyObject *_wrap_Frame_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3879 PyObject *resultobj;
3880 wxFrame *arg1 = (wxFrame *) 0 ;
3881 int arg2 ;
3882 int *arg3 = (int *) 0 ;
3883 PyObject * obj0 = 0 ;
3884 PyObject * obj1 = 0 ;
3885 char *kwnames[] = {
3886 (char *) "self",(char *) "widths", NULL
3887 };
3888
3889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3892 {
3893 arg2 = PyList_Size(obj1);
3894 arg3 = int_LIST_helper(obj1);
3895 if (arg3 == NULL) SWIG_fail;
3896 }
3897 {
3898 PyThreadState* __tstate = wxPyBeginAllowThreads();
3899 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
3900
3901 wxPyEndAllowThreads(__tstate);
3902 if (PyErr_Occurred()) SWIG_fail;
3903 }
3904 Py_INCREF(Py_None); resultobj = Py_None;
3905 {
3906 if (arg3) delete [] arg3;
3907 }
3908 return resultobj;
3909 fail:
3910 {
3911 if (arg3) delete [] arg3;
3912 }
3913 return NULL;
3914}
3915
3916
c32bde28 3917static PyObject *_wrap_Frame_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3918 PyObject *resultobj;
3919 wxFrame *arg1 = (wxFrame *) 0 ;
3920 wxString *arg2 = 0 ;
3921 int arg3 = (int) 0 ;
ae8162c8 3922 bool temp2 = false ;
d14a1e28
RD
3923 PyObject * obj0 = 0 ;
3924 PyObject * obj1 = 0 ;
994141e6 3925 PyObject * obj2 = 0 ;
d14a1e28
RD
3926 char *kwnames[] = {
3927 (char *) "self",(char *) "text",(char *) "number", NULL
3928 };
3929
994141e6 3930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
3931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3933 {
3934 arg2 = wxString_in_helper(obj1);
3935 if (arg2 == NULL) SWIG_fail;
ae8162c8 3936 temp2 = true;
d14a1e28 3937 }
994141e6 3938 if (obj2) {
c32bde28 3939 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 3940 if (PyErr_Occurred()) SWIG_fail;
994141e6 3941 }
d14a1e28
RD
3942 {
3943 PyThreadState* __tstate = wxPyBeginAllowThreads();
3944 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
3945
3946 wxPyEndAllowThreads(__tstate);
3947 if (PyErr_Occurred()) SWIG_fail;
3948 }
3949 Py_INCREF(Py_None); resultobj = Py_None;
3950 {
3951 if (temp2)
3952 delete arg2;
3953 }
3954 return resultobj;
3955 fail:
3956 {
3957 if (temp2)
3958 delete arg2;
3959 }
3960 return NULL;
3961}
3962
3963
c32bde28 3964static PyObject *_wrap_Frame_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3965 PyObject *resultobj;
3966 wxFrame *arg1 = (wxFrame *) 0 ;
3967 int arg2 = (int) 0 ;
3968 PyObject * obj0 = 0 ;
994141e6 3969 PyObject * obj1 = 0 ;
d14a1e28
RD
3970 char *kwnames[] = {
3971 (char *) "self",(char *) "number", NULL
3972 };
3973
994141e6 3974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) 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 = (int)SWIG_As_int(obj1);
15afbcd0 3979 if (PyErr_Occurred()) SWIG_fail;
994141e6 3980 }
d14a1e28
RD
3981 {
3982 PyThreadState* __tstate = wxPyBeginAllowThreads();
3983 (arg1)->PopStatusText(arg2);
3984
3985 wxPyEndAllowThreads(__tstate);
3986 if (PyErr_Occurred()) SWIG_fail;
3987 }
3988 Py_INCREF(Py_None); resultobj = Py_None;
3989 return resultobj;
3990 fail:
3991 return NULL;
3992}
3993
3994
c32bde28 3995static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3996 PyObject *resultobj;
3997 wxFrame *arg1 = (wxFrame *) 0 ;
3998 int arg2 ;
3999 PyObject * obj0 = 0 ;
994141e6 4000 PyObject * obj1 = 0 ;
d14a1e28
RD
4001 char *kwnames[] = {
4002 (char *) "self",(char *) "n", NULL
4003 };
4004
994141e6 4005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 4008 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 4009 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4010 {
4011 PyThreadState* __tstate = wxPyBeginAllowThreads();
4012 (arg1)->SetStatusBarPane(arg2);
4013
4014 wxPyEndAllowThreads(__tstate);
4015 if (PyErr_Occurred()) SWIG_fail;
4016 }
4017 Py_INCREF(Py_None); resultobj = Py_None;
4018 return resultobj;
4019 fail:
4020 return NULL;
4021}
4022
4023
c32bde28 4024static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4025 PyObject *resultobj;
4026 wxFrame *arg1 = (wxFrame *) 0 ;
4027 int result;
4028 PyObject * obj0 = 0 ;
4029 char *kwnames[] = {
4030 (char *) "self", NULL
4031 };
4032
4033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
15afbcd0
RD
4034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4036 {
4037 PyThreadState* __tstate = wxPyBeginAllowThreads();
4038 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
4039
4040 wxPyEndAllowThreads(__tstate);
4041 if (PyErr_Occurred()) SWIG_fail;
4042 }
c32bde28 4043 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
4044 return resultobj;
4045 fail:
4046 return NULL;
4047}
4048
4049
c32bde28 4050static PyObject *_wrap_Frame_CreateToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4051 PyObject *resultobj;
4052 wxFrame *arg1 = (wxFrame *) 0 ;
4053 long arg2 = (long) -1 ;
e811c8ce 4054 int arg3 = (int) -1 ;
d14a1e28
RD
4055 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
4056 wxString *arg4 = (wxString *) &arg4_defvalue ;
4057 wxToolBar *result;
ae8162c8 4058 bool temp4 = false ;
d14a1e28 4059 PyObject * obj0 = 0 ;
994141e6
RD
4060 PyObject * obj1 = 0 ;
4061 PyObject * obj2 = 0 ;
d14a1e28
RD
4062 PyObject * obj3 = 0 ;
4063 char *kwnames[] = {
4064 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
4065 };
4066
994141e6 4067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
4068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 4070 if (obj1) {
c32bde28 4071 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 4072 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
4073 }
4074 if (obj2) {
c32bde28 4075 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 4076 if (PyErr_Occurred()) SWIG_fail;
994141e6 4077 }
d14a1e28
RD
4078 if (obj3) {
4079 {
4080 arg4 = wxString_in_helper(obj3);
4081 if (arg4 == NULL) SWIG_fail;
ae8162c8 4082 temp4 = true;
d14a1e28
RD
4083 }
4084 }
4085 {
4086 PyThreadState* __tstate = wxPyBeginAllowThreads();
4087 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
4088
4089 wxPyEndAllowThreads(__tstate);
4090 if (PyErr_Occurred()) SWIG_fail;
4091 }
4092 {
412d302d 4093 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
4094 }
4095 {
4096 if (temp4)
4097 delete arg4;
4098 }
4099 return resultobj;
4100 fail:
4101 {
4102 if (temp4)
4103 delete arg4;
4104 }
4105 return NULL;
4106}
4107
4108
c32bde28 4109static PyObject *_wrap_Frame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4110 PyObject *resultobj;
4111 wxFrame *arg1 = (wxFrame *) 0 ;
4112 wxToolBar *result;
4113 PyObject * obj0 = 0 ;
4114 char *kwnames[] = {
4115 (char *) "self", NULL
4116 };
4117
4118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
15afbcd0
RD
4119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4121 {
4122 PyThreadState* __tstate = wxPyBeginAllowThreads();
4123 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
4124
4125 wxPyEndAllowThreads(__tstate);
4126 if (PyErr_Occurred()) SWIG_fail;
4127 }
4128 {
412d302d 4129 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
4130 }
4131 return resultobj;
4132 fail:
4133 return NULL;
4134}
4135
4136
c32bde28 4137static PyObject *_wrap_Frame_SetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4138 PyObject *resultobj;
4139 wxFrame *arg1 = (wxFrame *) 0 ;
4140 wxToolBar *arg2 = (wxToolBar *) 0 ;
4141 PyObject * obj0 = 0 ;
4142 PyObject * obj1 = 0 ;
4143 char *kwnames[] = {
4144 (char *) "self",(char *) "toolbar", NULL
4145 };
4146
4147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4150 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar,
4151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4152 {
4153 PyThreadState* __tstate = wxPyBeginAllowThreads();
4154 (arg1)->SetToolBar(arg2);
4155
4156 wxPyEndAllowThreads(__tstate);
4157 if (PyErr_Occurred()) SWIG_fail;
4158 }
4159 Py_INCREF(Py_None); resultobj = Py_None;
4160 return resultobj;
4161 fail:
4162 return NULL;
4163}
4164
4165
c32bde28 4166static PyObject *_wrap_Frame_DoGiveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4167 PyObject *resultobj;
4168 wxFrame *arg1 = (wxFrame *) 0 ;
4169 wxString *arg2 = 0 ;
4170 bool arg3 ;
ae8162c8 4171 bool temp2 = false ;
d14a1e28
RD
4172 PyObject * obj0 = 0 ;
4173 PyObject * obj1 = 0 ;
4174 PyObject * obj2 = 0 ;
4175 char *kwnames[] = {
4176 (char *) "self",(char *) "text",(char *) "show", NULL
4177 };
4178
4179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
4180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4182 {
4183 arg2 = wxString_in_helper(obj1);
4184 if (arg2 == NULL) SWIG_fail;
ae8162c8 4185 temp2 = true;
d14a1e28 4186 }
c32bde28 4187 arg3 = (bool)SWIG_As_bool(obj2);
15afbcd0 4188 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4189 {
4190 PyThreadState* __tstate = wxPyBeginAllowThreads();
4191 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
4192
4193 wxPyEndAllowThreads(__tstate);
4194 if (PyErr_Occurred()) SWIG_fail;
4195 }
4196 Py_INCREF(Py_None); resultobj = Py_None;
4197 {
4198 if (temp2)
4199 delete arg2;
4200 }
4201 return resultobj;
4202 fail:
4203 {
4204 if (temp2)
4205 delete arg2;
4206 }
4207 return NULL;
4208}
4209
4210
c32bde28 4211static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4212 PyObject *resultobj;
4213 wxFrame *arg1 = (wxFrame *) 0 ;
4214 wxMenu *arg2 = (wxMenu *) NULL ;
4215 PyObject * obj0 = 0 ;
4216 PyObject * obj1 = 0 ;
4217 char *kwnames[] = {
4218 (char *) "self",(char *) "menu", NULL
4219 };
4220
4221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 4224 if (obj1) {
15afbcd0
RD
4225 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
4226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4227 }
4228 {
4229 PyThreadState* __tstate = wxPyBeginAllowThreads();
4230 (arg1)->DoMenuUpdates(arg2);
4231
4232 wxPyEndAllowThreads(__tstate);
4233 if (PyErr_Occurred()) SWIG_fail;
4234 }
4235 Py_INCREF(Py_None); resultobj = Py_None;
4236 return resultobj;
4237 fail:
4238 return NULL;
4239}
4240
4241
c32bde28 4242static PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c
RD
4243 PyObject *resultobj;
4244 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4245 wxVisualAttributes result;
4246 PyObject * obj0 = 0 ;
4247 char *kwnames[] = {
4248 (char *) "variant", NULL
4249 };
4250
4251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4252 if (obj0) {
c32bde28 4253 arg1 = (int)SWIG_As_int(obj0);
22bfe96c
RD
4254 if (PyErr_Occurred()) SWIG_fail;
4255 }
4256 {
e3b71cb8 4257 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
4258 PyThreadState* __tstate = wxPyBeginAllowThreads();
4259 result = wxFrame::GetClassDefaultAttributes((wxWindowVariant )arg1);
4260
4261 wxPyEndAllowThreads(__tstate);
110da5b0 4262 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
4263 }
4264 {
4265 wxVisualAttributes * resultptr;
4266 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4267 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4268 }
4269 return resultobj;
4270 fail:
4271 return NULL;
4272}
4273
4274
c32bde28 4275static PyObject * Frame_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
4276 PyObject *obj;
4277 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4278 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
4279 Py_INCREF(obj);
4280 return Py_BuildValue((char *)"");
4281}
c32bde28 4282static PyObject *_wrap_new_Dialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4283 PyObject *resultobj;
4284 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
4285 int arg2 = (int) (int)-1 ;
4286 wxString const &arg3_defvalue = wxPyEmptyString ;
4287 wxString *arg3 = (wxString *) &arg3_defvalue ;
d14a1e28
RD
4288 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4289 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4290 wxSize const &arg5_defvalue = wxDefaultSize ;
4291 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4292 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
4293 wxString const &arg7_defvalue = wxPyDialogNameStr ;
4294 wxString *arg7 = (wxString *) &arg7_defvalue ;
4295 wxDialog *result;
ae8162c8 4296 bool temp3 = false ;
d14a1e28
RD
4297 wxPoint temp4 ;
4298 wxSize temp5 ;
ae8162c8 4299 bool temp7 = false ;
d14a1e28 4300 PyObject * obj0 = 0 ;
994141e6 4301 PyObject * obj1 = 0 ;
d14a1e28
RD
4302 PyObject * obj2 = 0 ;
4303 PyObject * obj3 = 0 ;
4304 PyObject * obj4 = 0 ;
994141e6 4305 PyObject * obj5 = 0 ;
d14a1e28
RD
4306 PyObject * obj6 = 0 ;
4307 char *kwnames[] = {
4308 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4309 };
4310
248ed943 4311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
4312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 4314 if (obj1) {
c32bde28 4315 arg2 = (int)SWIG_As_int(obj1);
248ed943
RD
4316 if (PyErr_Occurred()) SWIG_fail;
4317 }
4318 if (obj2) {
4319 {
4320 arg3 = wxString_in_helper(obj2);
4321 if (arg3 == NULL) SWIG_fail;
ae8162c8 4322 temp3 = true;
248ed943 4323 }
d14a1e28
RD
4324 }
4325 if (obj3) {
4326 {
4327 arg4 = &temp4;
4328 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4329 }
4330 }
4331 if (obj4) {
4332 {
4333 arg5 = &temp5;
4334 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4335 }
4336 }
994141e6 4337 if (obj5) {
c32bde28 4338 arg6 = (long)SWIG_As_long(obj5);
15afbcd0 4339 if (PyErr_Occurred()) SWIG_fail;
994141e6 4340 }
d14a1e28
RD
4341 if (obj6) {
4342 {
4343 arg7 = wxString_in_helper(obj6);
4344 if (arg7 == NULL) SWIG_fail;
ae8162c8 4345 temp7 = true;
d14a1e28
RD
4346 }
4347 }
4348 {
e3b71cb8 4349 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
4350 PyThreadState* __tstate = wxPyBeginAllowThreads();
4351 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4352
4353 wxPyEndAllowThreads(__tstate);
110da5b0 4354 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 4355 }
b0f7404b 4356 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
d14a1e28
RD
4357 {
4358 if (temp3)
4359 delete arg3;
4360 }
4361 {
4362 if (temp7)
4363 delete arg7;
4364 }
4365 return resultobj;
4366 fail:
4367 {
4368 if (temp3)
4369 delete arg3;
4370 }
4371 {
4372 if (temp7)
4373 delete arg7;
4374 }
4375 return NULL;
4376}
4377
4378
c32bde28 4379static PyObject *_wrap_new_PreDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4380 PyObject *resultobj;
4381 wxDialog *result;
4382 char *kwnames[] = {
4383 NULL
4384 };
4385
4386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
4387 {
e3b71cb8 4388 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
4389 PyThreadState* __tstate = wxPyBeginAllowThreads();
4390 result = (wxDialog *)new wxDialog();
4391
4392 wxPyEndAllowThreads(__tstate);
110da5b0 4393 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 4394 }
b0f7404b 4395 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
d14a1e28
RD
4396 return resultobj;
4397 fail:
4398 return NULL;
4399}
4400
4401
c32bde28 4402static PyObject *_wrap_Dialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4403 PyObject *resultobj;
4404 wxDialog *arg1 = (wxDialog *) 0 ;
4405 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
4406 int arg3 = (int) (int)-1 ;
4407 wxString const &arg4_defvalue = wxPyEmptyString ;
4408 wxString *arg4 = (wxString *) &arg4_defvalue ;
d14a1e28
RD
4409 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4410 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4411 wxSize const &arg6_defvalue = wxDefaultSize ;
4412 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4413 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
4414 wxString const &arg8_defvalue = wxPyDialogNameStr ;
4415 wxString *arg8 = (wxString *) &arg8_defvalue ;
4416 bool result;
ae8162c8 4417 bool temp4 = false ;
d14a1e28
RD
4418 wxPoint temp5 ;
4419 wxSize temp6 ;
ae8162c8 4420 bool temp8 = false ;
d14a1e28
RD
4421 PyObject * obj0 = 0 ;
4422 PyObject * obj1 = 0 ;
994141e6 4423 PyObject * obj2 = 0 ;
d14a1e28
RD
4424 PyObject * obj3 = 0 ;
4425 PyObject * obj4 = 0 ;
4426 PyObject * obj5 = 0 ;
994141e6 4427 PyObject * obj6 = 0 ;
d14a1e28
RD
4428 PyObject * obj7 = 0 ;
4429 char *kwnames[] = {
4430 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4431 };
4432
248ed943 4433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
4434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4436 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 4438 if (obj2) {
c32bde28 4439 arg3 = (int)SWIG_As_int(obj2);
248ed943
RD
4440 if (PyErr_Occurred()) SWIG_fail;
4441 }
4442 if (obj3) {
4443 {
4444 arg4 = wxString_in_helper(obj3);
4445 if (arg4 == NULL) SWIG_fail;
ae8162c8 4446 temp4 = true;
248ed943 4447 }
d14a1e28
RD
4448 }
4449 if (obj4) {
4450 {
4451 arg5 = &temp5;
4452 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4453 }
4454 }
4455 if (obj5) {
4456 {
4457 arg6 = &temp6;
4458 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4459 }
4460 }
994141e6 4461 if (obj6) {
c32bde28 4462 arg7 = (long)SWIG_As_long(obj6);
15afbcd0 4463 if (PyErr_Occurred()) SWIG_fail;
994141e6 4464 }
d14a1e28
RD
4465 if (obj7) {
4466 {
4467 arg8 = wxString_in_helper(obj7);
4468 if (arg8 == NULL) SWIG_fail;
ae8162c8 4469 temp8 = true;
d14a1e28
RD
4470 }
4471 }
4472 {
4473 PyThreadState* __tstate = wxPyBeginAllowThreads();
4474 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4475
4476 wxPyEndAllowThreads(__tstate);
4477 if (PyErr_Occurred()) SWIG_fail;
4478 }
4f89f6a3
RD
4479 {
4480 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4481 }
d14a1e28
RD
4482 {
4483 if (temp4)
4484 delete arg4;
4485 }
4486 {
4487 if (temp8)
4488 delete arg8;
4489 }
4490 return resultobj;
4491 fail:
4492 {
4493 if (temp4)
4494 delete arg4;
4495 }
4496 {
4497 if (temp8)
4498 delete arg8;
4499 }
4500 return NULL;
4501}
4502
4503
c32bde28 4504static PyObject *_wrap_Dialog_SetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4505 PyObject *resultobj;
4506 wxDialog *arg1 = (wxDialog *) 0 ;
4507 int arg2 ;
4508 PyObject * obj0 = 0 ;
994141e6 4509 PyObject * obj1 = 0 ;
d14a1e28
RD
4510 char *kwnames[] = {
4511 (char *) "self",(char *) "returnCode", NULL
4512 };
4513
994141e6 4514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 4517 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 4518 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4519 {
4520 PyThreadState* __tstate = wxPyBeginAllowThreads();
4521 (arg1)->SetReturnCode(arg2);
4522
4523 wxPyEndAllowThreads(__tstate);
4524 if (PyErr_Occurred()) SWIG_fail;
4525 }
4526 Py_INCREF(Py_None); resultobj = Py_None;
4527 return resultobj;
4528 fail:
4529 return NULL;
4530}
4531
4532
c32bde28 4533static PyObject *_wrap_Dialog_GetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4534 PyObject *resultobj;
4535 wxDialog *arg1 = (wxDialog *) 0 ;
4536 int result;
4537 PyObject * obj0 = 0 ;
4538 char *kwnames[] = {
4539 (char *) "self", NULL
4540 };
4541
4542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
15afbcd0
RD
4543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4545 {
4546 PyThreadState* __tstate = wxPyBeginAllowThreads();
4547 result = (int)((wxDialog const *)arg1)->GetReturnCode();
4548
4549 wxPyEndAllowThreads(__tstate);
4550 if (PyErr_Occurred()) SWIG_fail;
4551 }
c32bde28 4552 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
4553 return resultobj;
4554 fail:
4555 return NULL;
4556}
4557
4558
c32bde28 4559static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4560 PyObject *resultobj;
4561 wxDialog *arg1 = (wxDialog *) 0 ;
4562 wxString *arg2 = 0 ;
4563 wxSizer *result;
ae8162c8 4564 bool temp2 = false ;
d14a1e28
RD
4565 PyObject * obj0 = 0 ;
4566 PyObject * obj1 = 0 ;
4567 char *kwnames[] = {
4568 (char *) "self",(char *) "message", NULL
4569 };
4570
4571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4574 {
4575 arg2 = wxString_in_helper(obj1);
4576 if (arg2 == NULL) SWIG_fail;
ae8162c8 4577 temp2 = true;
d14a1e28
RD
4578 }
4579 {
4580 PyThreadState* __tstate = wxPyBeginAllowThreads();
4581 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
4582
4583 wxPyEndAllowThreads(__tstate);
4584 if (PyErr_Occurred()) SWIG_fail;
4585 }
4586 {
412d302d 4587 resultobj = wxPyMake_wxSizer(result, 0);
d14a1e28
RD
4588 }
4589 {
4590 if (temp2)
4591 delete arg2;
4592 }
4593 return resultobj;
4594 fail:
4595 {
4596 if (temp2)
4597 delete arg2;
4598 }
4599 return NULL;
4600}
4601
4602
c32bde28 4603static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4604 PyObject *resultobj;
4605 wxDialog *arg1 = (wxDialog *) 0 ;
4606 long arg2 ;
4607 wxSizer *result;
4608 PyObject * obj0 = 0 ;
994141e6 4609 PyObject * obj1 = 0 ;
d14a1e28
RD
4610 char *kwnames[] = {
4611 (char *) "self",(char *) "flags", NULL
4612 };
4613
994141e6 4614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 4617 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 4618 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4619 {
4620 PyThreadState* __tstate = wxPyBeginAllowThreads();
4621 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
4622
4623 wxPyEndAllowThreads(__tstate);
4624 if (PyErr_Occurred()) SWIG_fail;
4625 }
4626 {
412d302d 4627 resultobj = wxPyMake_wxSizer(result, 0);
d14a1e28
RD
4628 }
4629 return resultobj;
4630 fail:
4631 return NULL;
4632}
4633
4634
c32bde28 4635static PyObject *_wrap_Dialog_IsModal(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4636 PyObject *resultobj;
4637 wxDialog *arg1 = (wxDialog *) 0 ;
4638 bool result;
4639 PyObject * obj0 = 0 ;
4640 char *kwnames[] = {
4641 (char *) "self", NULL
4642 };
4643
4644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
15afbcd0
RD
4645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4647 {
4648 PyThreadState* __tstate = wxPyBeginAllowThreads();
4649 result = (bool)((wxDialog const *)arg1)->IsModal();
4650
4651 wxPyEndAllowThreads(__tstate);
4652 if (PyErr_Occurred()) SWIG_fail;
4653 }
4f89f6a3
RD
4654 {
4655 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4656 }
d14a1e28
RD
4657 return resultobj;
4658 fail:
4659 return NULL;
4660}
4661
4662
c32bde28 4663static PyObject *_wrap_Dialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4664 PyObject *resultobj;
4665 wxDialog *arg1 = (wxDialog *) 0 ;
4666 int result;
4667 PyObject * obj0 = 0 ;
4668 char *kwnames[] = {
4669 (char *) "self", NULL
4670 };
4671
4672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
15afbcd0
RD
4673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4675 {
4676 PyThreadState* __tstate = wxPyBeginAllowThreads();
4677 result = (int)(arg1)->ShowModal();
4678
4679 wxPyEndAllowThreads(__tstate);
4680 if (PyErr_Occurred()) SWIG_fail;
4681 }
c32bde28 4682 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
4683 return resultobj;
4684 fail:
4685 return NULL;
4686}
4687
4688
c32bde28 4689static PyObject *_wrap_Dialog_EndModal(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4690 PyObject *resultobj;
4691 wxDialog *arg1 = (wxDialog *) 0 ;
4692 int arg2 ;
4693 PyObject * obj0 = 0 ;
994141e6 4694 PyObject * obj1 = 0 ;
d14a1e28
RD
4695 char *kwnames[] = {
4696 (char *) "self",(char *) "retCode", NULL
4697 };
4698
994141e6 4699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 4702 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 4703 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4704 {
4705 PyThreadState* __tstate = wxPyBeginAllowThreads();
4706 (arg1)->EndModal(arg2);
4707
4708 wxPyEndAllowThreads(__tstate);
4709 if (PyErr_Occurred()) SWIG_fail;
4710 }
4711 Py_INCREF(Py_None); resultobj = Py_None;
4712 return resultobj;
4713 fail:
4714 return NULL;
4715}
4716
4717
c32bde28 4718static PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c
RD
4719 PyObject *resultobj;
4720 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4721 wxVisualAttributes result;
4722 PyObject * obj0 = 0 ;
4723 char *kwnames[] = {
4724 (char *) "variant", NULL
4725 };
4726
4727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4728 if (obj0) {
c32bde28 4729 arg1 = (int)SWIG_As_int(obj0);
22bfe96c
RD
4730 if (PyErr_Occurred()) SWIG_fail;
4731 }
4732 {
e3b71cb8 4733 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
4734 PyThreadState* __tstate = wxPyBeginAllowThreads();
4735 result = wxDialog::GetClassDefaultAttributes((wxWindowVariant )arg1);
4736
4737 wxPyEndAllowThreads(__tstate);
110da5b0 4738 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
4739 }
4740 {
4741 wxVisualAttributes * resultptr;
4742 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4743 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4744 }
4745 return resultobj;
4746 fail:
4747 return NULL;
4748}
4749
4750
c32bde28 4751static PyObject * Dialog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
4752 PyObject *obj;
4753 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4754 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
4755 Py_INCREF(obj);
4756 return Py_BuildValue((char *)"");
4757}
c32bde28 4758static PyObject *_wrap_new_MiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4759 PyObject *resultobj;
4760 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
4761 int arg2 = (int) (int)-1 ;
4762 wxString const &arg3_defvalue = wxPyEmptyString ;
4763 wxString *arg3 = (wxString *) &arg3_defvalue ;
d14a1e28
RD
4764 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4765 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4766 wxSize const &arg5_defvalue = wxDefaultSize ;
4767 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4768 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4769 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4770 wxString *arg7 = (wxString *) &arg7_defvalue ;
4771 wxMiniFrame *result;
ae8162c8 4772 bool temp3 = false ;
d14a1e28
RD
4773 wxPoint temp4 ;
4774 wxSize temp5 ;
ae8162c8 4775 bool temp7 = false ;
d14a1e28 4776 PyObject * obj0 = 0 ;
994141e6 4777 PyObject * obj1 = 0 ;
d14a1e28
RD
4778 PyObject * obj2 = 0 ;
4779 PyObject * obj3 = 0 ;
4780 PyObject * obj4 = 0 ;
994141e6 4781 PyObject * obj5 = 0 ;
d14a1e28
RD
4782 PyObject * obj6 = 0 ;
4783 char *kwnames[] = {
4784 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4785 };
4786
248ed943 4787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
4788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 4790 if (obj1) {
c32bde28 4791 arg2 = (int)SWIG_As_int(obj1);
248ed943
RD
4792 if (PyErr_Occurred()) SWIG_fail;
4793 }
4794 if (obj2) {
4795 {
4796 arg3 = wxString_in_helper(obj2);
4797 if (arg3 == NULL) SWIG_fail;
ae8162c8 4798 temp3 = true;
248ed943 4799 }
d14a1e28
RD
4800 }
4801 if (obj3) {
4802 {
4803 arg4 = &temp4;
4804 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4805 }
4806 }
4807 if (obj4) {
4808 {
4809 arg5 = &temp5;
4810 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4811 }
4812 }
994141e6 4813 if (obj5) {
c32bde28 4814 arg6 = (long)SWIG_As_long(obj5);
15afbcd0 4815 if (PyErr_Occurred()) SWIG_fail;
994141e6 4816 }
d14a1e28
RD
4817 if (obj6) {
4818 {
4819 arg7 = wxString_in_helper(obj6);
4820 if (arg7 == NULL) SWIG_fail;
ae8162c8 4821 temp7 = true;
d14a1e28
RD
4822 }
4823 }
4824 {
e3b71cb8 4825 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
4826 PyThreadState* __tstate = wxPyBeginAllowThreads();
4827 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4828
4829 wxPyEndAllowThreads(__tstate);
110da5b0 4830 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 4831 }
15afbcd0 4832 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
d14a1e28
RD
4833 {
4834 if (temp3)
4835 delete arg3;
4836 }
4837 {
4838 if (temp7)
4839 delete arg7;
4840 }
4841 return resultobj;
4842 fail:
4843 {
4844 if (temp3)
4845 delete arg3;
4846 }
4847 {
4848 if (temp7)
4849 delete arg7;
4850 }
4851 return NULL;
4852}
4853
4854
c32bde28 4855static PyObject *_wrap_new_PreMiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4856 PyObject *resultobj;
4857 wxMiniFrame *result;
4858 char *kwnames[] = {
4859 NULL
4860 };
4861
4862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
4863 {
e3b71cb8 4864 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
4865 PyThreadState* __tstate = wxPyBeginAllowThreads();
4866 result = (wxMiniFrame *)new wxMiniFrame();
4867
4868 wxPyEndAllowThreads(__tstate);
110da5b0 4869 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 4870 }
15afbcd0 4871 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
d14a1e28
RD
4872 return resultobj;
4873 fail:
4874 return NULL;
4875}
4876
4877
c32bde28 4878static PyObject *_wrap_MiniFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4879 PyObject *resultobj;
4880 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
4881 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
4882 int arg3 = (int) (int)-1 ;
4883 wxString const &arg4_defvalue = wxPyEmptyString ;
4884 wxString *arg4 = (wxString *) &arg4_defvalue ;
d14a1e28
RD
4885 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4886 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4887 wxSize const &arg6_defvalue = wxDefaultSize ;
4888 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4889 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4890 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4891 wxString *arg8 = (wxString *) &arg8_defvalue ;
4892 bool result;
ae8162c8 4893 bool temp4 = false ;
d14a1e28
RD
4894 wxPoint temp5 ;
4895 wxSize temp6 ;
ae8162c8 4896 bool temp8 = false ;
d14a1e28
RD
4897 PyObject * obj0 = 0 ;
4898 PyObject * obj1 = 0 ;
994141e6 4899 PyObject * obj2 = 0 ;
d14a1e28
RD
4900 PyObject * obj3 = 0 ;
4901 PyObject * obj4 = 0 ;
4902 PyObject * obj5 = 0 ;
994141e6 4903 PyObject * obj6 = 0 ;
d14a1e28
RD
4904 PyObject * obj7 = 0 ;
4905 char *kwnames[] = {
4906 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4907 };
4908
248ed943 4909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
4910 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMiniFrame,
4911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4912 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 4914 if (obj2) {
c32bde28 4915 arg3 = (int)SWIG_As_int(obj2);
248ed943
RD
4916 if (PyErr_Occurred()) SWIG_fail;
4917 }
4918 if (obj3) {
4919 {
4920 arg4 = wxString_in_helper(obj3);
4921 if (arg4 == NULL) SWIG_fail;
ae8162c8 4922 temp4 = true;
248ed943 4923 }
d14a1e28
RD
4924 }
4925 if (obj4) {
4926 {
4927 arg5 = &temp5;
4928 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4929 }
4930 }
4931 if (obj5) {
4932 {
4933 arg6 = &temp6;
4934 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4935 }
4936 }
994141e6 4937 if (obj6) {
c32bde28 4938 arg7 = (long)SWIG_As_long(obj6);
15afbcd0 4939 if (PyErr_Occurred()) SWIG_fail;
994141e6 4940 }
d14a1e28
RD
4941 if (obj7) {
4942 {
4943 arg8 = wxString_in_helper(obj7);
4944 if (arg8 == NULL) SWIG_fail;
ae8162c8 4945 temp8 = true;
d14a1e28
RD
4946 }
4947 }
4948 {
4949 PyThreadState* __tstate = wxPyBeginAllowThreads();
4950 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4951
4952 wxPyEndAllowThreads(__tstate);
4953 if (PyErr_Occurred()) SWIG_fail;
4954 }
4f89f6a3
RD
4955 {
4956 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4957 }
d14a1e28
RD
4958 {
4959 if (temp4)
4960 delete arg4;
4961 }
4962 {
4963 if (temp8)
4964 delete arg8;
4965 }
4966 return resultobj;
4967 fail:
4968 {
4969 if (temp4)
4970 delete arg4;
4971 }
4972 {
4973 if (temp8)
4974 delete arg8;
4975 }
4976 return NULL;
4977}
4978
4979
c32bde28 4980static PyObject * MiniFrame_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
4981 PyObject *obj;
4982 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4983 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
4984 Py_INCREF(obj);
4985 return Py_BuildValue((char *)"");
4986}
c32bde28 4987static PyObject *_wrap_new_SplashScreenWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4988 PyObject *resultobj;
4989 wxBitmap *arg1 = 0 ;
4990 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 4991 int arg3 ;
d14a1e28
RD
4992 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4993 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4994 wxSize const &arg5_defvalue = wxDefaultSize ;
4995 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4996 long arg6 = (long) wxNO_BORDER ;
4997 wxSplashScreenWindow *result;
4998 wxPoint temp4 ;
4999 wxSize temp5 ;
5000 PyObject * obj0 = 0 ;
5001 PyObject * obj1 = 0 ;
994141e6 5002 PyObject * obj2 = 0 ;
d14a1e28
RD
5003 PyObject * obj3 = 0 ;
5004 PyObject * obj4 = 0 ;
994141e6 5005 PyObject * obj5 = 0 ;
d14a1e28
RD
5006 char *kwnames[] = {
5007 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
5008 };
5009
994141e6 5010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
5011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
5012 SWIG_POINTER_EXCEPTION | 0)) == -1)
5013 SWIG_fail;
d14a1e28 5014 if (arg1 == NULL) {
15afbcd0
RD
5015 PyErr_SetString(PyExc_TypeError,"null reference");
5016 SWIG_fail;
994141e6 5017 }
15afbcd0
RD
5018 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 5020 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 5021 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5022 if (obj3) {
5023 {
5024 arg4 = &temp4;
5025 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5026 }
5027 }
5028 if (obj4) {
5029 {
5030 arg5 = &temp5;
5031 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5032 }
5033 }
994141e6 5034 if (obj5) {
c32bde28 5035 arg6 = (long)SWIG_As_long(obj5);
15afbcd0 5036 if (PyErr_Occurred()) SWIG_fail;
994141e6 5037 }
d14a1e28 5038 {
e3b71cb8 5039 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
5040 PyThreadState* __tstate = wxPyBeginAllowThreads();
5041 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
5042
5043 wxPyEndAllowThreads(__tstate);
110da5b0 5044 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 5045 }
15afbcd0 5046 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
d14a1e28
RD
5047 return resultobj;
5048 fail:
5049 return NULL;
5050}
5051
5052
c32bde28 5053static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5054 PyObject *resultobj;
5055 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
5056 wxBitmap *arg2 = 0 ;
5057 PyObject * obj0 = 0 ;
5058 PyObject * obj1 = 0 ;
5059 char *kwnames[] = {
5060 (char *) "self",(char *) "bitmap", NULL
5061 };
5062
5063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
5065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5066 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
5067 SWIG_POINTER_EXCEPTION | 0)) == -1)
5068 SWIG_fail;
d14a1e28 5069 if (arg2 == NULL) {
15afbcd0
RD
5070 PyErr_SetString(PyExc_TypeError,"null reference");
5071 SWIG_fail;
d14a1e28
RD
5072 }
5073 {
5074 PyThreadState* __tstate = wxPyBeginAllowThreads();
5075 (arg1)->SetBitmap((wxBitmap const &)*arg2);
5076
5077 wxPyEndAllowThreads(__tstate);
5078 if (PyErr_Occurred()) SWIG_fail;
5079 }
5080 Py_INCREF(Py_None); resultobj = Py_None;
5081 return resultobj;
5082 fail:
5083 return NULL;
5084}
5085
5086
c32bde28 5087static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5088 PyObject *resultobj;
5089 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
5090 wxBitmap *result;
5091 PyObject * obj0 = 0 ;
5092 char *kwnames[] = {
5093 (char *) "self", NULL
5094 };
5095
5096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
15afbcd0
RD
5097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
5098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5099 {
5100 PyThreadState* __tstate = wxPyBeginAllowThreads();
5101 {
5102 wxBitmap &_result_ref = (arg1)->GetBitmap();
5103 result = (wxBitmap *) &_result_ref;
5104 }
5105
5106 wxPyEndAllowThreads(__tstate);
5107 if (PyErr_Occurred()) SWIG_fail;
5108 }
4276dc52
RD
5109 {
5110 wxBitmap* resultptr = new wxBitmap(*result);
5111 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
5112 }
d14a1e28
RD
5113 return resultobj;
5114 fail:
5115 return NULL;
5116}
5117
5118
c32bde28 5119static PyObject * SplashScreenWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5120 PyObject *obj;
5121 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5122 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
5123 Py_INCREF(obj);
5124 return Py_BuildValue((char *)"");
5125}
c32bde28 5126static PyObject *_wrap_new_SplashScreen(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5127 PyObject *resultobj;
5128 wxBitmap *arg1 = 0 ;
5129 long arg2 ;
5130 int arg3 ;
5131 wxWindow *arg4 = (wxWindow *) 0 ;
248ed943 5132 int arg5 = (int) -1 ;
d14a1e28
RD
5133 wxPoint const &arg6_defvalue = wxDefaultPosition ;
5134 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
5135 wxSize const &arg7_defvalue = wxDefaultSize ;
5136 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
5137 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
5138 wxSplashScreen *result;
5139 wxPoint temp6 ;
5140 wxSize temp7 ;
5141 PyObject * obj0 = 0 ;
994141e6
RD
5142 PyObject * obj1 = 0 ;
5143 PyObject * obj2 = 0 ;
d14a1e28 5144 PyObject * obj3 = 0 ;
994141e6 5145 PyObject * obj4 = 0 ;
d14a1e28
RD
5146 PyObject * obj5 = 0 ;
5147 PyObject * obj6 = 0 ;
994141e6 5148 PyObject * obj7 = 0 ;
d14a1e28
RD
5149 char *kwnames[] = {
5150 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
5151 };
5152
248ed943 5153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
5154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
5155 SWIG_POINTER_EXCEPTION | 0)) == -1)
5156 SWIG_fail;
d14a1e28 5157 if (arg1 == NULL) {
15afbcd0
RD
5158 PyErr_SetString(PyExc_TypeError,"null reference");
5159 SWIG_fail;
5160 }
c32bde28 5161 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 5162 if (PyErr_Occurred()) SWIG_fail;
c32bde28 5163 arg3 = (int)SWIG_As_int(obj2);
15afbcd0
RD
5164 if (PyErr_Occurred()) SWIG_fail;
5165 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
5166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 5167 if (obj4) {
c32bde28 5168 arg5 = (int)SWIG_As_int(obj4);
248ed943
RD
5169 if (PyErr_Occurred()) SWIG_fail;
5170 }
d14a1e28
RD
5171 if (obj5) {
5172 {
5173 arg6 = &temp6;
5174 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
5175 }
5176 }
5177 if (obj6) {
5178 {
5179 arg7 = &temp7;
5180 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
5181 }
5182 }
994141e6 5183 if (obj7) {
c32bde28 5184 arg8 = (long)SWIG_As_long(obj7);
15afbcd0 5185 if (PyErr_Occurred()) SWIG_fail;
994141e6 5186 }
d14a1e28 5187 {
e3b71cb8 5188 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
5189 PyThreadState* __tstate = wxPyBeginAllowThreads();
5190 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
5191
5192 wxPyEndAllowThreads(__tstate);
110da5b0 5193 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 5194 }
15afbcd0 5195 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
d14a1e28
RD
5196 return resultobj;
5197 fail:
5198 return NULL;
5199}
5200
5201
c32bde28 5202static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5203 PyObject *resultobj;
5204 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
5205 long result;
5206 PyObject * obj0 = 0 ;
5207 char *kwnames[] = {
5208 (char *) "self", NULL
5209 };
5210
5211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
15afbcd0
RD
5212 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
5213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5214 {
5215 PyThreadState* __tstate = wxPyBeginAllowThreads();
5216 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
5217
5218 wxPyEndAllowThreads(__tstate);
5219 if (PyErr_Occurred()) SWIG_fail;
5220 }
c32bde28 5221 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
5222 return resultobj;
5223 fail:
5224 return NULL;
5225}
5226
5227
c32bde28 5228static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5229 PyObject *resultobj;
5230 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
5231 wxSplashScreenWindow *result;
5232 PyObject * obj0 = 0 ;
5233 char *kwnames[] = {
5234 (char *) "self", NULL
5235 };
5236
5237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
5238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
5239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5240 {
5241 PyThreadState* __tstate = wxPyBeginAllowThreads();
5242 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
5243
5244 wxPyEndAllowThreads(__tstate);
5245 if (PyErr_Occurred()) SWIG_fail;
5246 }
15afbcd0 5247 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
d14a1e28
RD
5248 return resultobj;
5249 fail:
5250 return NULL;
5251}
5252
5253
c32bde28 5254static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5255 PyObject *resultobj;
5256 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
5257 int result;
5258 PyObject * obj0 = 0 ;
5259 char *kwnames[] = {
5260 (char *) "self", NULL
5261 };
5262
5263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
15afbcd0
RD
5264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
5265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5266 {
5267 PyThreadState* __tstate = wxPyBeginAllowThreads();
5268 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
5269
5270 wxPyEndAllowThreads(__tstate);
5271 if (PyErr_Occurred()) SWIG_fail;
5272 }
c32bde28 5273 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
5274 return resultobj;
5275 fail:
5276 return NULL;
5277}
5278
5279
c32bde28 5280static PyObject * SplashScreen_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5281 PyObject *obj;
5282 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5283 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
5284 Py_INCREF(obj);
5285 return Py_BuildValue((char *)"");
5286}
c32bde28 5287static PyObject *_wrap_new_StatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5288 PyObject *resultobj;
5289 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 5290 int arg2 = (int) -1 ;
4276dc52 5291 long arg3 = (long) wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE ;
d14a1e28
RD
5292 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
5293 wxString *arg4 = (wxString *) &arg4_defvalue ;
5294 wxStatusBar *result;
ae8162c8 5295 bool temp4 = false ;
d14a1e28 5296 PyObject * obj0 = 0 ;
994141e6
RD
5297 PyObject * obj1 = 0 ;
5298 PyObject * obj2 = 0 ;
d14a1e28
RD
5299 PyObject * obj3 = 0 ;
5300 char *kwnames[] = {
5301 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5302 };
5303
994141e6 5304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
5305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 5307 if (obj1) {
c32bde28 5308 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 5309 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
5310 }
5311 if (obj2) {
c32bde28 5312 arg3 = (long)SWIG_As_long(obj2);
15afbcd0 5313 if (PyErr_Occurred()) SWIG_fail;
994141e6 5314 }
d14a1e28
RD
5315 if (obj3) {
5316 {
5317 arg4 = wxString_in_helper(obj3);
5318 if (arg4 == NULL) SWIG_fail;
ae8162c8 5319 temp4 = true;
d14a1e28
RD
5320 }
5321 }
5322 {
e3b71cb8 5323 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
5324 PyThreadState* __tstate = wxPyBeginAllowThreads();
5325 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
5326
5327 wxPyEndAllowThreads(__tstate);
110da5b0 5328 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 5329 }
b0f7404b 5330 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
d14a1e28
RD
5331 {
5332 if (temp4)
5333 delete arg4;
5334 }
5335 return resultobj;
5336 fail:
5337 {
5338 if (temp4)
5339 delete arg4;
5340 }
5341 return NULL;
5342}
5343
5344
c32bde28 5345static PyObject *_wrap_new_PreStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5346 PyObject *resultobj;
5347 wxStatusBar *result;
5348 char *kwnames[] = {
5349 NULL
5350 };
5351
5352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
5353 {
e3b71cb8 5354 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
5355 PyThreadState* __tstate = wxPyBeginAllowThreads();
5356 result = (wxStatusBar *)new wxStatusBar();
5357
5358 wxPyEndAllowThreads(__tstate);
110da5b0 5359 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 5360 }
b0f7404b 5361 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
d14a1e28
RD
5362 return resultobj;
5363 fail:
5364 return NULL;
5365}
5366
5367
c32bde28 5368static PyObject *_wrap_StatusBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5369 PyObject *resultobj;
5370 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5371 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 5372 int arg3 = (int) -1 ;
d14a1e28
RD
5373 long arg4 = (long) wxST_SIZEGRIP ;
5374 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
5375 wxString *arg5 = (wxString *) &arg5_defvalue ;
5376 bool result;
ae8162c8 5377 bool temp5 = false ;
d14a1e28
RD
5378 PyObject * obj0 = 0 ;
5379 PyObject * obj1 = 0 ;
994141e6
RD
5380 PyObject * obj2 = 0 ;
5381 PyObject * obj3 = 0 ;
d14a1e28
RD
5382 PyObject * obj4 = 0 ;
5383 char *kwnames[] = {
5384 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5385 };
5386
248ed943 5387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
5388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5390 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 5392 if (obj2) {
c32bde28 5393 arg3 = (int)SWIG_As_int(obj2);
248ed943
RD
5394 if (PyErr_Occurred()) SWIG_fail;
5395 }
994141e6 5396 if (obj3) {
c32bde28 5397 arg4 = (long)SWIG_As_long(obj3);
15afbcd0 5398 if (PyErr_Occurred()) SWIG_fail;
994141e6 5399 }
d14a1e28
RD
5400 if (obj4) {
5401 {
5402 arg5 = wxString_in_helper(obj4);
5403 if (arg5 == NULL) SWIG_fail;
ae8162c8 5404 temp5 = true;
d14a1e28
RD
5405 }
5406 }
5407 {
5408 PyThreadState* __tstate = wxPyBeginAllowThreads();
5409 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
5410
5411 wxPyEndAllowThreads(__tstate);
5412 if (PyErr_Occurred()) SWIG_fail;
5413 }
4f89f6a3
RD
5414 {
5415 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5416 }
d14a1e28
RD
5417 {
5418 if (temp5)
5419 delete arg5;
5420 }
5421 return resultobj;
5422 fail:
5423 {
5424 if (temp5)
5425 delete arg5;
5426 }
5427 return NULL;
5428}
5429
5430
c32bde28 5431static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5432 PyObject *resultobj;
5433 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5434 int arg2 = (int) 1 ;
5435 PyObject * obj0 = 0 ;
994141e6 5436 PyObject * obj1 = 0 ;
d14a1e28
RD
5437 char *kwnames[] = {
5438 (char *) "self",(char *) "number", NULL
5439 };
5440
994141e6 5441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 5444 if (obj1) {
c32bde28 5445 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 5446 if (PyErr_Occurred()) SWIG_fail;
994141e6 5447 }
d14a1e28
RD
5448 {
5449 PyThreadState* __tstate = wxPyBeginAllowThreads();
5450 (arg1)->SetFieldsCount(arg2);
5451
5452 wxPyEndAllowThreads(__tstate);
5453 if (PyErr_Occurred()) SWIG_fail;
5454 }
5455 Py_INCREF(Py_None); resultobj = Py_None;
5456 return resultobj;
5457 fail:
5458 return NULL;
5459}
5460
5461
c32bde28 5462static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5463 PyObject *resultobj;
5464 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5465 int result;
5466 PyObject * obj0 = 0 ;
5467 char *kwnames[] = {
5468 (char *) "self", NULL
5469 };
5470
5471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
5472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5474 {
5475 PyThreadState* __tstate = wxPyBeginAllowThreads();
5476 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
5477
5478 wxPyEndAllowThreads(__tstate);
5479 if (PyErr_Occurred()) SWIG_fail;
5480 }
c32bde28 5481 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
5482 return resultobj;
5483 fail:
5484 return NULL;
5485}
5486
5487
c32bde28 5488static PyObject *_wrap_StatusBar_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5489 PyObject *resultobj;
5490 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5491 wxString *arg2 = 0 ;
5492 int arg3 = (int) 0 ;
ae8162c8 5493 bool temp2 = false ;
d14a1e28
RD
5494 PyObject * obj0 = 0 ;
5495 PyObject * obj1 = 0 ;
994141e6 5496 PyObject * obj2 = 0 ;
d14a1e28
RD
5497 char *kwnames[] = {
5498 (char *) "self",(char *) "text",(char *) "number", NULL
5499 };
5500
994141e6 5501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5504 {
5505 arg2 = wxString_in_helper(obj1);
5506 if (arg2 == NULL) SWIG_fail;
ae8162c8 5507 temp2 = true;
d14a1e28 5508 }
994141e6 5509 if (obj2) {
c32bde28 5510 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 5511 if (PyErr_Occurred()) SWIG_fail;
994141e6 5512 }
d14a1e28
RD
5513 {
5514 PyThreadState* __tstate = wxPyBeginAllowThreads();
5515 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
5516
5517 wxPyEndAllowThreads(__tstate);
5518 if (PyErr_Occurred()) SWIG_fail;
5519 }
5520 Py_INCREF(Py_None); resultobj = Py_None;
5521 {
5522 if (temp2)
5523 delete arg2;
5524 }
5525 return resultobj;
5526 fail:
5527 {
5528 if (temp2)
5529 delete arg2;
5530 }
5531 return NULL;
5532}
5533
5534
c32bde28 5535static PyObject *_wrap_StatusBar_GetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5536 PyObject *resultobj;
5537 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5538 int arg2 = (int) 0 ;
5539 wxString result;
5540 PyObject * obj0 = 0 ;
994141e6 5541 PyObject * obj1 = 0 ;
d14a1e28
RD
5542 char *kwnames[] = {
5543 (char *) "self",(char *) "number", NULL
5544 };
5545
994141e6 5546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 5549 if (obj1) {
c32bde28 5550 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 5551 if (PyErr_Occurred()) SWIG_fail;
994141e6 5552 }
d14a1e28
RD
5553 {
5554 PyThreadState* __tstate = wxPyBeginAllowThreads();
5555 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
5556
5557 wxPyEndAllowThreads(__tstate);
5558 if (PyErr_Occurred()) SWIG_fail;
5559 }
5560 {
5561#if wxUSE_UNICODE
5562 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5563#else
5564 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5565#endif
5566 }
5567 return resultobj;
5568 fail:
5569 return NULL;
5570}
5571
5572
c32bde28 5573static PyObject *_wrap_StatusBar_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5574 PyObject *resultobj;
5575 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5576 wxString *arg2 = 0 ;
5577 int arg3 = (int) 0 ;
ae8162c8 5578 bool temp2 = false ;
d14a1e28
RD
5579 PyObject * obj0 = 0 ;
5580 PyObject * obj1 = 0 ;
994141e6 5581 PyObject * obj2 = 0 ;
d14a1e28
RD
5582 char *kwnames[] = {
5583 (char *) "self",(char *) "text",(char *) "number", NULL
5584 };
5585
994141e6 5586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5589 {
5590 arg2 = wxString_in_helper(obj1);
5591 if (arg2 == NULL) SWIG_fail;
ae8162c8 5592 temp2 = true;
d14a1e28 5593 }
994141e6 5594 if (obj2) {
c32bde28 5595 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 5596 if (PyErr_Occurred()) SWIG_fail;
994141e6 5597 }
d14a1e28
RD
5598 {
5599 PyThreadState* __tstate = wxPyBeginAllowThreads();
5600 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5601
5602 wxPyEndAllowThreads(__tstate);
5603 if (PyErr_Occurred()) SWIG_fail;
5604 }
5605 Py_INCREF(Py_None); resultobj = Py_None;
5606 {
5607 if (temp2)
5608 delete arg2;
5609 }
5610 return resultobj;
5611 fail:
5612 {
5613 if (temp2)
5614 delete arg2;
5615 }
5616 return NULL;
5617}
5618
5619
c32bde28 5620static PyObject *_wrap_StatusBar_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5621 PyObject *resultobj;
5622 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5623 int arg2 = (int) 0 ;
5624 PyObject * obj0 = 0 ;
994141e6 5625 PyObject * obj1 = 0 ;
d14a1e28
RD
5626 char *kwnames[] = {
5627 (char *) "self",(char *) "number", NULL
5628 };
5629
994141e6 5630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 5633 if (obj1) {
c32bde28 5634 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 5635 if (PyErr_Occurred()) SWIG_fail;
994141e6 5636 }
d14a1e28
RD
5637 {
5638 PyThreadState* __tstate = wxPyBeginAllowThreads();
5639 (arg1)->PopStatusText(arg2);
5640
5641 wxPyEndAllowThreads(__tstate);
5642 if (PyErr_Occurred()) SWIG_fail;
5643 }
5644 Py_INCREF(Py_None); resultobj = Py_None;
5645 return resultobj;
5646 fail:
5647 return NULL;
5648}
5649
5650
c32bde28 5651static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5652 PyObject *resultobj;
5653 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5654 int arg2 ;
5655 int *arg3 = (int *) 0 ;
5656 PyObject * obj0 = 0 ;
5657 PyObject * obj1 = 0 ;
5658 char *kwnames[] = {
5659 (char *) "self",(char *) "widths", NULL
5660 };
5661
5662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5665 {
5666 arg2 = PyList_Size(obj1);
5667 arg3 = int_LIST_helper(obj1);
5668 if (arg3 == NULL) SWIG_fail;
5669 }
5670 {
5671 PyThreadState* __tstate = wxPyBeginAllowThreads();
5672 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5673
5674 wxPyEndAllowThreads(__tstate);
5675 if (PyErr_Occurred()) SWIG_fail;
5676 }
5677 Py_INCREF(Py_None); resultobj = Py_None;
5678 {
5679 if (arg3) delete [] arg3;
5680 }
5681 return resultobj;
5682 fail:
5683 {
5684 if (arg3) delete [] arg3;
5685 }
5686 return NULL;
5687}
5688
5689
c32bde28 5690static PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *, PyObject *args, PyObject *kwargs) {
f16ab95d
RD
5691 PyObject *resultobj;
5692 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5693 int arg2 ;
5694 int *arg3 = (int *) 0 ;
5695 PyObject * obj0 = 0 ;
5696 PyObject * obj1 = 0 ;
5697 char *kwnames[] = {
5698 (char *) "self",(char *) "styles", NULL
5699 };
5700
5701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) goto fail;
5702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5704 {
5705 arg2 = PyList_Size(obj1);
5706 arg3 = int_LIST_helper(obj1);
5707 if (arg3 == NULL) SWIG_fail;
5708 }
5709 {
5710 PyThreadState* __tstate = wxPyBeginAllowThreads();
5711 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
5712
5713 wxPyEndAllowThreads(__tstate);
5714 if (PyErr_Occurred()) SWIG_fail;
5715 }
5716 Py_INCREF(Py_None); resultobj = Py_None;
5717 {
5718 if (arg3) delete [] arg3;
5719 }
5720 return resultobj;
5721 fail:
5722 {
5723 if (arg3) delete [] arg3;
5724 }
5725 return NULL;
5726}
5727
5728
c32bde28 5729static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5730 PyObject *resultobj;
5731 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5732 int arg2 ;
7722248d 5733 wxRect result;
d14a1e28 5734 PyObject * obj0 = 0 ;
994141e6 5735 PyObject * obj1 = 0 ;
d14a1e28 5736 char *kwnames[] = {
7722248d 5737 (char *) "self",(char *) "i", NULL
d14a1e28
RD
5738 };
5739
994141e6 5740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 5743 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 5744 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5745 {
5746 PyThreadState* __tstate = wxPyBeginAllowThreads();
7722248d 5747 result = wxStatusBar_GetFieldRect(arg1,arg2);
d14a1e28
RD
5748
5749 wxPyEndAllowThreads(__tstate);
5750 if (PyErr_Occurred()) SWIG_fail;
5751 }
7722248d
RD
5752 {
5753 wxRect * resultptr;
5754 resultptr = new wxRect((wxRect &) result);
15afbcd0 5755 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7722248d 5756 }
d14a1e28
RD
5757 return resultobj;
5758 fail:
5759 return NULL;
5760}
5761
5762
c32bde28 5763static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5764 PyObject *resultobj;
5765 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5766 int arg2 ;
5767 PyObject * obj0 = 0 ;
994141e6 5768 PyObject * obj1 = 0 ;
d14a1e28
RD
5769 char *kwnames[] = {
5770 (char *) "self",(char *) "height", NULL
5771 };
5772
994141e6 5773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 5776 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 5777 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5778 {
5779 PyThreadState* __tstate = wxPyBeginAllowThreads();
5780 (arg1)->SetMinHeight(arg2);
5781
5782 wxPyEndAllowThreads(__tstate);
5783 if (PyErr_Occurred()) SWIG_fail;
5784 }
5785 Py_INCREF(Py_None); resultobj = Py_None;
5786 return resultobj;
5787 fail:
5788 return NULL;
5789}
5790
5791
c32bde28 5792static PyObject *_wrap_StatusBar_GetBorderX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5793 PyObject *resultobj;
5794 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5795 int result;
5796 PyObject * obj0 = 0 ;
5797 char *kwnames[] = {
5798 (char *) "self", NULL
5799 };
5800
5801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
15afbcd0
RD
5802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5804 {
5805 PyThreadState* __tstate = wxPyBeginAllowThreads();
5806 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
5807
5808 wxPyEndAllowThreads(__tstate);
5809 if (PyErr_Occurred()) SWIG_fail;
5810 }
c32bde28 5811 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
5812 return resultobj;
5813 fail:
5814 return NULL;
5815}
5816
5817
c32bde28 5818static PyObject *_wrap_StatusBar_GetBorderY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5819 PyObject *resultobj;
5820 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5821 int result;
5822 PyObject * obj0 = 0 ;
5823 char *kwnames[] = {
5824 (char *) "self", NULL
5825 };
5826
5827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
15afbcd0
RD
5828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5830 {
5831 PyThreadState* __tstate = wxPyBeginAllowThreads();
5832 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
5833
5834 wxPyEndAllowThreads(__tstate);
5835 if (PyErr_Occurred()) SWIG_fail;
5836 }
c32bde28 5837 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
5838 return resultobj;
5839 fail:
5840 return NULL;
5841}
5842
5843
c32bde28 5844static PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c
RD
5845 PyObject *resultobj;
5846 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
5847 wxVisualAttributes result;
5848 PyObject * obj0 = 0 ;
5849 char *kwnames[] = {
5850 (char *) "variant", NULL
5851 };
5852
5853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5854 if (obj0) {
c32bde28 5855 arg1 = (int)SWIG_As_int(obj0);
22bfe96c
RD
5856 if (PyErr_Occurred()) SWIG_fail;
5857 }
5858 {
e3b71cb8 5859 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
5860 PyThreadState* __tstate = wxPyBeginAllowThreads();
5861 result = wxStatusBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
5862
5863 wxPyEndAllowThreads(__tstate);
110da5b0 5864 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
5865 }
5866 {
5867 wxVisualAttributes * resultptr;
5868 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
5869 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5870 }
5871 return resultobj;
5872 fail:
5873 return NULL;
5874}
5875
5876
c32bde28 5877static PyObject * StatusBar_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5878 PyObject *obj;
5879 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5880 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
5881 Py_INCREF(obj);
5882 return Py_BuildValue((char *)"");
5883}
c32bde28 5884static int _wrap_SplitterNameStr_set(PyObject *) {
b2dc1044
RD
5885 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
5886 return 1;
5887}
5888
5889
5890static PyObject *_wrap_SplitterNameStr_get() {
5891 PyObject *pyobj;
5892
5893 {
5894#if wxUSE_UNICODE
5895 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5896#else
5897 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5898#endif
5899 }
5900 return pyobj;
5901}
5902
5903
c32bde28 5904static PyObject *_wrap_new_SplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5905 PyObject *resultobj;
5906 wxWindow *arg1 = (wxWindow *) 0 ;
74a57fcd 5907 int arg2 = (int) -1 ;
d14a1e28
RD
5908 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5909 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5910 wxSize const &arg4_defvalue = wxDefaultSize ;
5911 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5912 long arg5 = (long) wxSP_3D ;
5913 wxString const &arg6_defvalue = wxPySplitterNameStr ;
5914 wxString *arg6 = (wxString *) &arg6_defvalue ;
5915 wxSplitterWindow *result;
5916 wxPoint temp3 ;
5917 wxSize temp4 ;
ae8162c8 5918 bool temp6 = false ;
d14a1e28 5919 PyObject * obj0 = 0 ;
994141e6 5920 PyObject * obj1 = 0 ;
d14a1e28
RD
5921 PyObject * obj2 = 0 ;
5922 PyObject * obj3 = 0 ;
994141e6 5923 PyObject * obj4 = 0 ;
d14a1e28
RD
5924 PyObject * obj5 = 0 ;
5925 char *kwnames[] = {
994141e6 5926 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
d14a1e28
RD
5927 };
5928
74a57fcd 5929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
5930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
74a57fcd 5932 if (obj1) {
c32bde28 5933 arg2 = (int)SWIG_As_int(obj1);
74a57fcd
RD
5934 if (PyErr_Occurred()) SWIG_fail;
5935 }
d14a1e28
RD
5936 if (obj2) {
5937 {
5938 arg3 = &temp3;
5939 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5940 }
5941 }
5942 if (obj3) {
5943 {
5944 arg4 = &temp4;
5945 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5946 }
5947 }
15afbcd0 5948 if (obj4) {
c32bde28 5949 arg5 = (long)SWIG_As_long(obj4);
15afbcd0 5950 if (PyErr_Occurred()) SWIG_fail;
994141e6 5951 }
d14a1e28
RD
5952 if (obj5) {
5953 {
5954 arg6 = wxString_in_helper(obj5);
5955 if (arg6 == NULL) SWIG_fail;
ae8162c8 5956 temp6 = true;
d14a1e28
RD
5957 }
5958 }
5959 {
e3b71cb8 5960 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
5961 PyThreadState* __tstate = wxPyBeginAllowThreads();
5962 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5963
5964 wxPyEndAllowThreads(__tstate);
110da5b0 5965 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 5966 }
15afbcd0 5967 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
d14a1e28
RD
5968 {
5969 if (temp6)
5970 delete arg6;
5971 }
5972 return resultobj;
5973 fail:
5974 {
5975 if (temp6)
5976 delete arg6;
5977 }
5978 return NULL;
5979}
5980
5981
c32bde28 5982static PyObject *_wrap_new_PreSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5983 PyObject *resultobj;
5984 wxSplitterWindow *result;
5985 char *kwnames[] = {
5986 NULL
5987 };
5988
5989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
5990 {
e3b71cb8 5991 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
5992 PyThreadState* __tstate = wxPyBeginAllowThreads();
5993 result = (wxSplitterWindow *)new wxSplitterWindow();
5994
5995 wxPyEndAllowThreads(__tstate);
110da5b0 5996 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 5997 }
15afbcd0 5998 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
d14a1e28
RD
5999 return resultobj;
6000 fail:
6001 return NULL;
6002}
6003
6004
c32bde28 6005static PyObject *_wrap_SplitterWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6006 PyObject *resultobj;
6007 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6008 wxWindow *arg2 = (wxWindow *) 0 ;
74a57fcd 6009 int arg3 = (int) -1 ;
d14a1e28
RD
6010 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6011 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6012 wxSize const &arg5_defvalue = wxDefaultSize ;
6013 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6014 long arg6 = (long) wxSP_3D ;
6015 wxString const &arg7_defvalue = wxPySplitterNameStr ;
6016 wxString *arg7 = (wxString *) &arg7_defvalue ;
6017 bool result;
6018 wxPoint temp4 ;
6019 wxSize temp5 ;
ae8162c8 6020 bool temp7 = false ;
d14a1e28
RD
6021 PyObject * obj0 = 0 ;
6022 PyObject * obj1 = 0 ;
994141e6 6023 PyObject * obj2 = 0 ;
d14a1e28
RD
6024 PyObject * obj3 = 0 ;
6025 PyObject * obj4 = 0 ;
994141e6 6026 PyObject * obj5 = 0 ;
d14a1e28
RD
6027 PyObject * obj6 = 0 ;
6028 char *kwnames[] = {
994141e6 6029 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
d14a1e28
RD
6030 };
6031
74a57fcd 6032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
6033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6035 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
74a57fcd 6037 if (obj2) {
c32bde28 6038 arg3 = (int)SWIG_As_int(obj2);
74a57fcd
RD
6039 if (PyErr_Occurred()) SWIG_fail;
6040 }
d14a1e28
RD
6041 if (obj3) {
6042 {
6043 arg4 = &temp4;
6044 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6045 }
6046 }
6047 if (obj4) {
6048 {
6049 arg5 = &temp5;
6050 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6051 }
6052 }
994141e6 6053 if (obj5) {
c32bde28 6054 arg6 = (long)SWIG_As_long(obj5);
15afbcd0 6055 if (PyErr_Occurred()) SWIG_fail;
994141e6 6056 }
d14a1e28
RD
6057 if (obj6) {
6058 {
6059 arg7 = wxString_in_helper(obj6);
6060 if (arg7 == NULL) SWIG_fail;
ae8162c8 6061 temp7 = true;
d14a1e28
RD
6062 }
6063 }
6064 {
6065 PyThreadState* __tstate = wxPyBeginAllowThreads();
6066 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6067
6068 wxPyEndAllowThreads(__tstate);
6069 if (PyErr_Occurred()) SWIG_fail;
6070 }
4f89f6a3
RD
6071 {
6072 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6073 }
d14a1e28
RD
6074 {
6075 if (temp7)
6076 delete arg7;
6077 }
6078 return resultobj;
6079 fail:
6080 {
6081 if (temp7)
6082 delete arg7;
6083 }
6084 return NULL;
6085}
6086
6087
c32bde28 6088static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6089 PyObject *resultobj;
6090 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6091 wxWindow *result;
6092 PyObject * obj0 = 0 ;
6093 char *kwnames[] = {
6094 (char *) "self", NULL
6095 };
6096
6097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
15afbcd0
RD
6098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6100 {
6101 PyThreadState* __tstate = wxPyBeginAllowThreads();
6102 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
6103
6104 wxPyEndAllowThreads(__tstate);
6105 if (PyErr_Occurred()) SWIG_fail;
6106 }
6107 {
412d302d 6108 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
6109 }
6110 return resultobj;
6111 fail:
6112 return NULL;
6113}
6114
6115
c32bde28 6116static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6117 PyObject *resultobj;
6118 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6119 wxWindow *result;
6120 PyObject * obj0 = 0 ;
6121 char *kwnames[] = {
6122 (char *) "self", NULL
6123 };
6124
6125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
15afbcd0
RD
6126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6128 {
6129 PyThreadState* __tstate = wxPyBeginAllowThreads();
6130 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
6131
6132 wxPyEndAllowThreads(__tstate);
6133 if (PyErr_Occurred()) SWIG_fail;
6134 }
6135 {
412d302d 6136 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
6137 }
6138 return resultobj;
6139 fail:
6140 return NULL;
6141}
6142
6143
c32bde28 6144static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6145 PyObject *resultobj;
6146 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6147 int arg2 ;
6148 PyObject * obj0 = 0 ;
994141e6 6149 PyObject * obj1 = 0 ;
d14a1e28
RD
6150 char *kwnames[] = {
6151 (char *) "self",(char *) "mode", NULL
6152 };
6153
994141e6 6154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6157 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 6158 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6159 {
6160 PyThreadState* __tstate = wxPyBeginAllowThreads();
6161 (arg1)->SetSplitMode(arg2);
6162
6163 wxPyEndAllowThreads(__tstate);
6164 if (PyErr_Occurred()) SWIG_fail;
6165 }
6166 Py_INCREF(Py_None); resultobj = Py_None;
6167 return resultobj;
6168 fail:
6169 return NULL;
6170}
6171
6172
c32bde28 6173static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6174 PyObject *resultobj;
6175 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6176 int result;
6177 PyObject * obj0 = 0 ;
6178 char *kwnames[] = {
6179 (char *) "self", NULL
6180 };
6181
6182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
15afbcd0
RD
6183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6185 {
6186 PyThreadState* __tstate = wxPyBeginAllowThreads();
6187 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
6188
6189 wxPyEndAllowThreads(__tstate);
6190 if (PyErr_Occurred()) SWIG_fail;
6191 }
c32bde28 6192 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
6193 return resultobj;
6194 fail:
6195 return NULL;
6196}
6197
6198
c32bde28 6199static PyObject *_wrap_SplitterWindow_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6200 PyObject *resultobj;
6201 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6202 wxWindow *arg2 = (wxWindow *) 0 ;
6203 PyObject * obj0 = 0 ;
6204 PyObject * obj1 = 0 ;
6205 char *kwnames[] = {
6206 (char *) "self",(char *) "window", NULL
6207 };
6208
6209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6212 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6214 {
6215 PyThreadState* __tstate = wxPyBeginAllowThreads();
6216 (arg1)->Initialize(arg2);
6217
6218 wxPyEndAllowThreads(__tstate);
6219 if (PyErr_Occurred()) SWIG_fail;
6220 }
6221 Py_INCREF(Py_None); resultobj = Py_None;
6222 return resultobj;
6223 fail:
6224 return NULL;
6225}
6226
6227
c32bde28 6228static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6229 PyObject *resultobj;
6230 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6231 wxWindow *arg2 = (wxWindow *) 0 ;
6232 wxWindow *arg3 = (wxWindow *) 0 ;
6233 int arg4 = (int) 0 ;
6234 bool result;
6235 PyObject * obj0 = 0 ;
6236 PyObject * obj1 = 0 ;
6237 PyObject * obj2 = 0 ;
994141e6 6238 PyObject * obj3 = 0 ;
d14a1e28
RD
6239 char *kwnames[] = {
6240 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6241 };
6242
994141e6 6243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
6244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6246 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6248 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 6250 if (obj3) {
c32bde28 6251 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 6252 if (PyErr_Occurred()) SWIG_fail;
994141e6 6253 }
d14a1e28
RD
6254 {
6255 PyThreadState* __tstate = wxPyBeginAllowThreads();
6256 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
6257
6258 wxPyEndAllowThreads(__tstate);
6259 if (PyErr_Occurred()) SWIG_fail;
6260 }
4f89f6a3
RD
6261 {
6262 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6263 }
d14a1e28
RD
6264 return resultobj;
6265 fail:
6266 return NULL;
6267}
6268
6269
c32bde28 6270static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6271 PyObject *resultobj;
6272 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6273 wxWindow *arg2 = (wxWindow *) 0 ;
6274 wxWindow *arg3 = (wxWindow *) 0 ;
6275 int arg4 = (int) 0 ;
6276 bool result;
6277 PyObject * obj0 = 0 ;
6278 PyObject * obj1 = 0 ;
6279 PyObject * obj2 = 0 ;
994141e6 6280 PyObject * obj3 = 0 ;
d14a1e28
RD
6281 char *kwnames[] = {
6282 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6283 };
6284
994141e6 6285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
6286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6288 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6290 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 6292 if (obj3) {
c32bde28 6293 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 6294 if (PyErr_Occurred()) SWIG_fail;
994141e6 6295 }
d14a1e28
RD
6296 {
6297 PyThreadState* __tstate = wxPyBeginAllowThreads();
6298 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
6299
6300 wxPyEndAllowThreads(__tstate);
6301 if (PyErr_Occurred()) SWIG_fail;
6302 }
4f89f6a3
RD
6303 {
6304 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6305 }
d14a1e28
RD
6306 return resultobj;
6307 fail:
6308 return NULL;
6309}
6310
6311
c32bde28 6312static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6313 PyObject *resultobj;
6314 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6315 wxWindow *arg2 = (wxWindow *) NULL ;
6316 bool result;
6317 PyObject * obj0 = 0 ;
6318 PyObject * obj1 = 0 ;
6319 char *kwnames[] = {
6320 (char *) "self",(char *) "toRemove", NULL
6321 };
6322
6323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 6326 if (obj1) {
15afbcd0
RD
6327 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6329 }
6330 {
6331 PyThreadState* __tstate = wxPyBeginAllowThreads();
6332 result = (bool)(arg1)->Unsplit(arg2);
6333
6334 wxPyEndAllowThreads(__tstate);
6335 if (PyErr_Occurred()) SWIG_fail;
6336 }
4f89f6a3
RD
6337 {
6338 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6339 }
d14a1e28
RD
6340 return resultobj;
6341 fail:
6342 return NULL;
6343}
6344
6345
c32bde28 6346static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6347 PyObject *resultobj;
6348 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6349 wxWindow *arg2 = (wxWindow *) 0 ;
6350 wxWindow *arg3 = (wxWindow *) 0 ;
6351 bool result;
6352 PyObject * obj0 = 0 ;
6353 PyObject * obj1 = 0 ;
6354 PyObject * obj2 = 0 ;
6355 char *kwnames[] = {
6356 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
6357 };
6358
6359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6362 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6364 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6366 {
6367 PyThreadState* __tstate = wxPyBeginAllowThreads();
6368 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
6369
6370 wxPyEndAllowThreads(__tstate);
6371 if (PyErr_Occurred()) SWIG_fail;
6372 }
4f89f6a3
RD
6373 {
6374 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6375 }
d14a1e28
RD
6376 return resultobj;
6377 fail:
6378 return NULL;
6379}
6380
6381
c32bde28 6382static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *, PyObject *args, PyObject *kwargs) {
d00d1b88
RD
6383 PyObject *resultobj;
6384 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6385 PyObject * obj0 = 0 ;
6386 char *kwnames[] = {
6387 (char *) "self", NULL
6388 };
6389
6390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail;
6391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6393 {
6394 PyThreadState* __tstate = wxPyBeginAllowThreads();
6395 (arg1)->UpdateSize();
6396
6397 wxPyEndAllowThreads(__tstate);
6398 if (PyErr_Occurred()) SWIG_fail;
6399 }
6400 Py_INCREF(Py_None); resultobj = Py_None;
6401 return resultobj;
6402 fail:
6403 return NULL;
6404}
6405
6406
c32bde28 6407static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6408 PyObject *resultobj;
6409 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6410 bool result;
6411 PyObject * obj0 = 0 ;
6412 char *kwnames[] = {
6413 (char *) "self", NULL
6414 };
6415
6416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
15afbcd0
RD
6417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6419 {
6420 PyThreadState* __tstate = wxPyBeginAllowThreads();
6421 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
6422
6423 wxPyEndAllowThreads(__tstate);
6424 if (PyErr_Occurred()) SWIG_fail;
6425 }
4f89f6a3
RD
6426 {
6427 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6428 }
d14a1e28
RD
6429 return resultobj;
6430 fail:
6431 return NULL;
6432}
6433
6434
c32bde28 6435static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6436 PyObject *resultobj;
6437 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6438 int arg2 ;
6439 PyObject * obj0 = 0 ;
994141e6 6440 PyObject * obj1 = 0 ;
d14a1e28
RD
6441 char *kwnames[] = {
6442 (char *) "self",(char *) "width", NULL
6443 };
6444
994141e6 6445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6448 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 6449 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6450 {
6451 PyThreadState* __tstate = wxPyBeginAllowThreads();
6452 (arg1)->SetSashSize(arg2);
6453
6454 wxPyEndAllowThreads(__tstate);
6455 if (PyErr_Occurred()) SWIG_fail;
6456 }
6457 Py_INCREF(Py_None); resultobj = Py_None;
6458 return resultobj;
6459 fail:
6460 return NULL;
6461}
6462
6463
c32bde28 6464static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6465 PyObject *resultobj;
6466 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6467 int arg2 ;
6468 PyObject * obj0 = 0 ;
994141e6 6469 PyObject * obj1 = 0 ;
d14a1e28
RD
6470 char *kwnames[] = {
6471 (char *) "self",(char *) "width", NULL
6472 };
6473
994141e6 6474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6477 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 6478 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6479 {
6480 PyThreadState* __tstate = wxPyBeginAllowThreads();
6481 (arg1)->SetBorderSize(arg2);
6482
6483 wxPyEndAllowThreads(__tstate);
6484 if (PyErr_Occurred()) SWIG_fail;
6485 }
6486 Py_INCREF(Py_None); resultobj = Py_None;
6487 return resultobj;
6488 fail:
6489 return NULL;
6490}
6491
6492
c32bde28 6493static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6494 PyObject *resultobj;
6495 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6496 int result;
6497 PyObject * obj0 = 0 ;
6498 char *kwnames[] = {
6499 (char *) "self", NULL
6500 };
6501
6502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
6503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6505 {
6506 PyThreadState* __tstate = wxPyBeginAllowThreads();
6507 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
6508
6509 wxPyEndAllowThreads(__tstate);
6510 if (PyErr_Occurred()) SWIG_fail;
6511 }
c32bde28 6512 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
6513 return resultobj;
6514 fail:
6515 return NULL;
6516}
6517
6518
c32bde28 6519static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6520 PyObject *resultobj;
6521 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6522 int result;
6523 PyObject * obj0 = 0 ;
6524 char *kwnames[] = {
6525 (char *) "self", NULL
6526 };
6527
6528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
6529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6531 {
6532 PyThreadState* __tstate = wxPyBeginAllowThreads();
6533 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
6534
6535 wxPyEndAllowThreads(__tstate);
6536 if (PyErr_Occurred()) SWIG_fail;
6537 }
c32bde28 6538 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
6539 return resultobj;
6540 fail:
6541 return NULL;
6542}
6543
6544
c32bde28 6545static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6546 PyObject *resultobj;
6547 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6548 int arg2 ;
ae8162c8 6549 bool arg3 = (bool) true ;
d14a1e28 6550 PyObject * obj0 = 0 ;
994141e6 6551 PyObject * obj1 = 0 ;
d14a1e28
RD
6552 PyObject * obj2 = 0 ;
6553 char *kwnames[] = {
6554 (char *) "self",(char *) "position",(char *) "redraw", NULL
6555 };
6556
994141e6 6557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6560 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 6561 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6562 if (obj2) {
c32bde28 6563 arg3 = (bool)SWIG_As_bool(obj2);
15afbcd0 6564 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6565 }
6566 {
6567 PyThreadState* __tstate = wxPyBeginAllowThreads();
6568 (arg1)->SetSashPosition(arg2,arg3);
6569
6570 wxPyEndAllowThreads(__tstate);
6571 if (PyErr_Occurred()) SWIG_fail;
6572 }
6573 Py_INCREF(Py_None); resultobj = Py_None;
6574 return resultobj;
6575 fail:
6576 return NULL;
6577}
6578
6579
c32bde28 6580static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6581 PyObject *resultobj;
6582 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6583 int result;
6584 PyObject * obj0 = 0 ;
6585 char *kwnames[] = {
6586 (char *) "self", NULL
6587 };
6588
6589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
6590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6592 {
6593 PyThreadState* __tstate = wxPyBeginAllowThreads();
6594 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
6595
6596 wxPyEndAllowThreads(__tstate);
6597 if (PyErr_Occurred()) SWIG_fail;
6598 }
c32bde28 6599 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
6600 return resultobj;
6601 fail:
6602 return NULL;
6603}
6604
6605
c32bde28 6606static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6607 PyObject *resultobj;
6608 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6609 int arg2 ;
6610 PyObject * obj0 = 0 ;
994141e6 6611 PyObject * obj1 = 0 ;
d14a1e28
RD
6612 char *kwnames[] = {
6613 (char *) "self",(char *) "min", NULL
6614 };
6615
994141e6 6616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6619 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 6620 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6621 {
6622 PyThreadState* __tstate = wxPyBeginAllowThreads();
6623 (arg1)->SetMinimumPaneSize(arg2);
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_GetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6636 PyObject *resultobj;
6637 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6638 int result;
6639 PyObject * obj0 = 0 ;
6640 char *kwnames[] = {
6641 (char *) "self", NULL
6642 };
6643
6644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
6645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6647 {
6648 PyThreadState* __tstate = wxPyBeginAllowThreads();
6649 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
6650
6651 wxPyEndAllowThreads(__tstate);
6652 if (PyErr_Occurred()) SWIG_fail;
6653 }
c32bde28 6654 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
6655 return resultobj;
6656 fail:
6657 return NULL;
6658}
6659
6660
c32bde28 6661static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6662 PyObject *resultobj;
6663 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6664 int arg2 ;
6665 int arg3 ;
6666 int arg4 = (int) 5 ;
6667 bool result;
6668 PyObject * obj0 = 0 ;
994141e6
RD
6669 PyObject * obj1 = 0 ;
6670 PyObject * obj2 = 0 ;
6671 PyObject * obj3 = 0 ;
d14a1e28
RD
6672 char *kwnames[] = {
6673 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6674 };
6675
994141e6 6676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
6677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6679 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 6680 if (PyErr_Occurred()) SWIG_fail;
c32bde28 6681 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 6682 if (PyErr_Occurred()) SWIG_fail;
994141e6 6683 if (obj3) {
c32bde28 6684 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 6685 if (PyErr_Occurred()) SWIG_fail;
994141e6 6686 }
d14a1e28
RD
6687 {
6688 PyThreadState* __tstate = wxPyBeginAllowThreads();
6689 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
6690
6691 wxPyEndAllowThreads(__tstate);
6692 if (PyErr_Occurred()) SWIG_fail;
6693 }
4f89f6a3
RD
6694 {
6695 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6696 }
d14a1e28
RD
6697 return resultobj;
6698 fail:
6699 return NULL;
6700}
6701
6702
c32bde28 6703static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6704 PyObject *resultobj;
6705 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6706 PyObject * obj0 = 0 ;
6707 char *kwnames[] = {
6708 (char *) "self", NULL
6709 };
6710
6711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
15afbcd0
RD
6712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6714 {
6715 PyThreadState* __tstate = wxPyBeginAllowThreads();
6716 (arg1)->SizeWindows();
6717
6718 wxPyEndAllowThreads(__tstate);
6719 if (PyErr_Occurred()) SWIG_fail;
6720 }
6721 Py_INCREF(Py_None); resultobj = Py_None;
6722 return resultobj;
6723 fail:
6724 return NULL;
6725}
6726
6727
c32bde28 6728static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6729 PyObject *resultobj;
6730 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6731 bool arg2 ;
6732 PyObject * obj0 = 0 ;
6733 PyObject * obj1 = 0 ;
6734 char *kwnames[] = {
6735 (char *) "self",(char *) "needUpdating", NULL
6736 };
6737
6738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6741 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 6742 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6743 {
6744 PyThreadState* __tstate = wxPyBeginAllowThreads();
6745 (arg1)->SetNeedUpdating(arg2);
6746
6747 wxPyEndAllowThreads(__tstate);
6748 if (PyErr_Occurred()) SWIG_fail;
6749 }
6750 Py_INCREF(Py_None); resultobj = Py_None;
6751 return resultobj;
6752 fail:
6753 return NULL;
6754}
6755
6756
c32bde28 6757static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6758 PyObject *resultobj;
6759 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6760 bool result;
6761 PyObject * obj0 = 0 ;
6762 char *kwnames[] = {
6763 (char *) "self", NULL
6764 };
6765
6766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
15afbcd0
RD
6767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6769 {
6770 PyThreadState* __tstate = wxPyBeginAllowThreads();
6771 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
6772
6773 wxPyEndAllowThreads(__tstate);
6774 if (PyErr_Occurred()) SWIG_fail;
6775 }
4f89f6a3
RD
6776 {
6777 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6778 }
d14a1e28
RD
6779 return resultobj;
6780 fail:
6781 return NULL;
6782}
6783
6784
c32bde28 6785static PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c
RD
6786 PyObject *resultobj;
6787 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
6788 wxVisualAttributes result;
6789 PyObject * obj0 = 0 ;
6790 char *kwnames[] = {
6791 (char *) "variant", NULL
6792 };
6793
6794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6795 if (obj0) {
c32bde28 6796 arg1 = (int)SWIG_As_int(obj0);
22bfe96c
RD
6797 if (PyErr_Occurred()) SWIG_fail;
6798 }
6799 {
e3b71cb8 6800 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
6801 PyThreadState* __tstate = wxPyBeginAllowThreads();
6802 result = wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
6803
6804 wxPyEndAllowThreads(__tstate);
110da5b0 6805 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
6806 }
6807 {
6808 wxVisualAttributes * resultptr;
6809 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
6810 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6811 }
6812 return resultobj;
6813 fail:
6814 return NULL;
6815}
6816
6817
c32bde28 6818static PyObject * SplitterWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6819 PyObject *obj;
6820 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6821 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
6822 Py_INCREF(obj);
6823 return Py_BuildValue((char *)"");
6824}
c32bde28 6825static PyObject *_wrap_new_SplitterEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6826 PyObject *resultobj;
6827 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
6828 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
6829 wxSplitterEvent *result;
994141e6 6830 PyObject * obj0 = 0 ;
d14a1e28
RD
6831 PyObject * obj1 = 0 ;
6832 char *kwnames[] = {
6833 (char *) "type",(char *) "splitter", NULL
6834 };
6835
994141e6
RD
6836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
6837 if (obj0) {
c32bde28 6838 arg1 = (wxEventType)SWIG_As_int(obj0);
15afbcd0 6839 if (PyErr_Occurred()) SWIG_fail;
994141e6 6840 }
d14a1e28 6841 if (obj1) {
15afbcd0
RD
6842 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSplitterWindow,
6843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6844 }
6845 {
6846 PyThreadState* __tstate = wxPyBeginAllowThreads();
6847 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
6848
6849 wxPyEndAllowThreads(__tstate);
6850 if (PyErr_Occurred()) SWIG_fail;
6851 }
15afbcd0 6852 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
d14a1e28
RD
6853 return resultobj;
6854 fail:
6855 return NULL;
6856}
6857
6858
c32bde28 6859static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6860 PyObject *resultobj;
6861 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6862 int arg2 ;
6863 PyObject * obj0 = 0 ;
994141e6 6864 PyObject * obj1 = 0 ;
d14a1e28
RD
6865 char *kwnames[] = {
6866 (char *) "self",(char *) "pos", NULL
6867 };
6868
994141e6 6869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6872 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 6873 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6874 {
6875 PyThreadState* __tstate = wxPyBeginAllowThreads();
6876 (arg1)->SetSashPosition(arg2);
6877
6878 wxPyEndAllowThreads(__tstate);
6879 if (PyErr_Occurred()) SWIG_fail;
6880 }
6881 Py_INCREF(Py_None); resultobj = Py_None;
6882 return resultobj;
6883 fail:
6884 return NULL;
6885}
6886
6887
c32bde28 6888static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6889 PyObject *resultobj;
6890 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6891 int result;
6892 PyObject * obj0 = 0 ;
6893 char *kwnames[] = {
6894 (char *) "self", NULL
6895 };
6896
6897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
6898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6900 {
6901 PyThreadState* __tstate = wxPyBeginAllowThreads();
6902 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
6903
6904 wxPyEndAllowThreads(__tstate);
6905 if (PyErr_Occurred()) SWIG_fail;
6906 }
c32bde28 6907 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
6908 return resultobj;
6909 fail:
6910 return NULL;
6911}
6912
6913
c32bde28 6914static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6915 PyObject *resultobj;
6916 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6917 wxWindow *result;
6918 PyObject * obj0 = 0 ;
6919 char *kwnames[] = {
6920 (char *) "self", NULL
6921 };
6922
6923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
15afbcd0
RD
6924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6926 {
6927 PyThreadState* __tstate = wxPyBeginAllowThreads();
6928 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
6929
6930 wxPyEndAllowThreads(__tstate);
6931 if (PyErr_Occurred()) SWIG_fail;
6932 }
6933 {
412d302d 6934 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
6935 }
6936 return resultobj;
6937 fail:
6938 return NULL;
6939}
6940
6941
c32bde28 6942static PyObject *_wrap_SplitterEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6943 PyObject *resultobj;
6944 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6945 int result;
6946 PyObject * obj0 = 0 ;
6947 char *kwnames[] = {
6948 (char *) "self", NULL
6949 };
6950
6951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
15afbcd0
RD
6952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6954 {
6955 PyThreadState* __tstate = wxPyBeginAllowThreads();
6956 result = (int)((wxSplitterEvent const *)arg1)->GetX();
6957
6958 wxPyEndAllowThreads(__tstate);
6959 if (PyErr_Occurred()) SWIG_fail;
6960 }
c32bde28 6961 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
6962 return resultobj;
6963 fail:
6964 return NULL;
6965}
6966
6967
c32bde28 6968static PyObject *_wrap_SplitterEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6969 PyObject *resultobj;
6970 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6971 int result;
6972 PyObject * obj0 = 0 ;
6973 char *kwnames[] = {
6974 (char *) "self", NULL
6975 };
6976
6977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
15afbcd0
RD
6978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6980 {
6981 PyThreadState* __tstate = wxPyBeginAllowThreads();
6982 result = (int)((wxSplitterEvent const *)arg1)->GetY();
6983
6984 wxPyEndAllowThreads(__tstate);
6985 if (PyErr_Occurred()) SWIG_fail;
6986 }
c32bde28 6987 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
6988 return resultobj;
6989 fail:
6990 return NULL;
6991}
6992
6993
c32bde28 6994static PyObject * SplitterEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6995 PyObject *obj;
6996 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6997 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
6998 Py_INCREF(obj);
6999 return Py_BuildValue((char *)"");
7000}
c32bde28 7001static int _wrap_SashNameStr_set(PyObject *) {
b2dc1044
RD
7002 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
7003 return 1;
7004}
7005
7006
7007static PyObject *_wrap_SashNameStr_get() {
7008 PyObject *pyobj;
7009
7010 {
7011#if wxUSE_UNICODE
7012 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
7013#else
7014 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
7015#endif
7016 }
7017 return pyobj;
7018}
7019
7020
c32bde28 7021static int _wrap_SashLayoutNameStr_set(PyObject *) {
b2dc1044
RD
7022 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
7023 return 1;
7024}
7025
7026
7027static PyObject *_wrap_SashLayoutNameStr_get() {
7028 PyObject *pyobj;
7029
7030 {
7031#if wxUSE_UNICODE
7032 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
7033#else
7034 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
7035#endif
7036 }
7037 return pyobj;
7038}
7039
7040
c32bde28 7041static PyObject *_wrap_new_SashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7042 PyObject *resultobj;
7043 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 7044 int arg2 = (int) -1 ;
d14a1e28
RD
7045 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7046 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7047 wxSize const &arg4_defvalue = wxDefaultSize ;
7048 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7049 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7050 wxString const &arg6_defvalue = wxPySashNameStr ;
7051 wxString *arg6 = (wxString *) &arg6_defvalue ;
7052 wxSashWindow *result;
7053 wxPoint temp3 ;
7054 wxSize temp4 ;
ae8162c8 7055 bool temp6 = false ;
d14a1e28 7056 PyObject * obj0 = 0 ;
994141e6 7057 PyObject * obj1 = 0 ;
d14a1e28
RD
7058 PyObject * obj2 = 0 ;
7059 PyObject * obj3 = 0 ;
994141e6 7060 PyObject * obj4 = 0 ;
d14a1e28
RD
7061 PyObject * obj5 = 0 ;
7062 char *kwnames[] = {
7063 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7064 };
7065
248ed943 7066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
7067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
7068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 7069 if (obj1) {
c32bde28 7070 arg2 = (int)SWIG_As_int(obj1);
248ed943
RD
7071 if (PyErr_Occurred()) SWIG_fail;
7072 }
d14a1e28
RD
7073 if (obj2) {
7074 {
7075 arg3 = &temp3;
7076 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7077 }
7078 }
7079 if (obj3) {
7080 {
7081 arg4 = &temp4;
7082 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7083 }
7084 }
994141e6 7085 if (obj4) {
c32bde28 7086 arg5 = (long)SWIG_As_long(obj4);
15afbcd0 7087 if (PyErr_Occurred()) SWIG_fail;
994141e6 7088 }
d14a1e28
RD
7089 if (obj5) {
7090 {
7091 arg6 = wxString_in_helper(obj5);
7092 if (arg6 == NULL) SWIG_fail;
ae8162c8 7093 temp6 = true;
d14a1e28
RD
7094 }
7095 }
7096 {
e3b71cb8 7097 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
7098 PyThreadState* __tstate = wxPyBeginAllowThreads();
7099 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7100
7101 wxPyEndAllowThreads(__tstate);
110da5b0 7102 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 7103 }
15afbcd0 7104 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
d14a1e28
RD
7105 {
7106 if (temp6)
7107 delete arg6;
7108 }
7109 return resultobj;
7110 fail:
7111 {
7112 if (temp6)
7113 delete arg6;
7114 }
7115 return NULL;
7116}
7117
7118
c32bde28 7119static PyObject *_wrap_new_PreSashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7120 PyObject *resultobj;
7121 wxSashWindow *result;
7122 char *kwnames[] = {
7123 NULL
7124 };
7125
7126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
7127 {
e3b71cb8 7128 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
7129 PyThreadState* __tstate = wxPyBeginAllowThreads();
7130 result = (wxSashWindow *)new wxSashWindow();
7131
7132 wxPyEndAllowThreads(__tstate);
110da5b0 7133 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 7134 }
15afbcd0 7135 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
d14a1e28
RD
7136 return resultobj;
7137 fail:
7138 return NULL;
7139}
7140
7141
c32bde28 7142static PyObject *_wrap_SashWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7143 PyObject *resultobj;
7144 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7145 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 7146 int arg3 = (int) -1 ;
d14a1e28
RD
7147 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7148 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7149 wxSize const &arg5_defvalue = wxDefaultSize ;
7150 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7151 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7152 wxString const &arg7_defvalue = wxPySashNameStr ;
7153 wxString *arg7 = (wxString *) &arg7_defvalue ;
7154 bool result;
7155 wxPoint temp4 ;
7156 wxSize temp5 ;
ae8162c8 7157 bool temp7 = false ;
d14a1e28
RD
7158 PyObject * obj0 = 0 ;
7159 PyObject * obj1 = 0 ;
994141e6 7160 PyObject * obj2 = 0 ;
d14a1e28
RD
7161 PyObject * obj3 = 0 ;
7162 PyObject * obj4 = 0 ;
994141e6 7163 PyObject * obj5 = 0 ;
d14a1e28
RD
7164 PyObject * obj6 = 0 ;
7165 char *kwnames[] = {
7166 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7167 };
7168
248ed943 7169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
7170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7172 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
7173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 7174 if (obj2) {
c32bde28 7175 arg3 = (int)SWIG_As_int(obj2);
248ed943
RD
7176 if (PyErr_Occurred()) SWIG_fail;
7177 }
d14a1e28
RD
7178 if (obj3) {
7179 {
7180 arg4 = &temp4;
7181 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7182 }
7183 }
7184 if (obj4) {
7185 {
7186 arg5 = &temp5;
7187 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7188 }
7189 }
994141e6 7190 if (obj5) {
c32bde28 7191 arg6 = (long)SWIG_As_long(obj5);
15afbcd0 7192 if (PyErr_Occurred()) SWIG_fail;
994141e6 7193 }
d14a1e28
RD
7194 if (obj6) {
7195 {
7196 arg7 = wxString_in_helper(obj6);
7197 if (arg7 == NULL) SWIG_fail;
ae8162c8 7198 temp7 = true;
d14a1e28
RD
7199 }
7200 }
7201 {
7202 PyThreadState* __tstate = wxPyBeginAllowThreads();
7203 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7204
7205 wxPyEndAllowThreads(__tstate);
7206 if (PyErr_Occurred()) SWIG_fail;
7207 }
4f89f6a3
RD
7208 {
7209 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7210 }
d14a1e28
RD
7211 {
7212 if (temp7)
7213 delete arg7;
7214 }
7215 return resultobj;
7216 fail:
7217 {
7218 if (temp7)
7219 delete arg7;
7220 }
7221 return NULL;
7222}
7223
7224
c32bde28 7225static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7226 PyObject *resultobj;
7227 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7228 int arg2 ;
7229 bool arg3 ;
7230 PyObject * obj0 = 0 ;
994141e6 7231 PyObject * obj1 = 0 ;
d14a1e28
RD
7232 PyObject * obj2 = 0 ;
7233 char *kwnames[] = {
7234 (char *) "self",(char *) "edge",(char *) "sash", NULL
7235 };
7236
994141e6 7237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7240 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 7241 if (PyErr_Occurred()) SWIG_fail;
c32bde28 7242 arg3 = (bool)SWIG_As_bool(obj2);
15afbcd0 7243 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7244 {
7245 PyThreadState* __tstate = wxPyBeginAllowThreads();
7246 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
7247
7248 wxPyEndAllowThreads(__tstate);
7249 if (PyErr_Occurred()) SWIG_fail;
7250 }
7251 Py_INCREF(Py_None); resultobj = Py_None;
7252 return resultobj;
7253 fail:
7254 return NULL;
7255}
7256
7257
c32bde28 7258static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7259 PyObject *resultobj;
7260 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7261 int arg2 ;
7262 bool result;
7263 PyObject * obj0 = 0 ;
994141e6 7264 PyObject * obj1 = 0 ;
d14a1e28
RD
7265 char *kwnames[] = {
7266 (char *) "self",(char *) "edge", NULL
7267 };
7268
994141e6 7269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7272 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 7273 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7274 {
7275 PyThreadState* __tstate = wxPyBeginAllowThreads();
7276 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
7277
7278 wxPyEndAllowThreads(__tstate);
7279 if (PyErr_Occurred()) SWIG_fail;
7280 }
4f89f6a3
RD
7281 {
7282 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7283 }
d14a1e28
RD
7284 return resultobj;
7285 fail:
7286 return NULL;
7287}
7288
7289
c32bde28 7290static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7291 PyObject *resultobj;
7292 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7293 int arg2 ;
7294 bool arg3 ;
7295 PyObject * obj0 = 0 ;
994141e6 7296 PyObject * obj1 = 0 ;
d14a1e28
RD
7297 PyObject * obj2 = 0 ;
7298 char *kwnames[] = {
7299 (char *) "self",(char *) "edge",(char *) "border", NULL
7300 };
7301
994141e6 7302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) 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;
c32bde28 7307 arg3 = (bool)SWIG_As_bool(obj2);
15afbcd0 7308 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7309 {
7310 PyThreadState* __tstate = wxPyBeginAllowThreads();
7311 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
7312
7313 wxPyEndAllowThreads(__tstate);
7314 if (PyErr_Occurred()) SWIG_fail;
7315 }
7316 Py_INCREF(Py_None); resultobj = Py_None;
7317 return resultobj;
7318 fail:
7319 return NULL;
7320}
7321
7322
c32bde28 7323static PyObject *_wrap_SashWindow_HasBorder(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7324 PyObject *resultobj;
7325 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7326 int arg2 ;
7327 bool result;
7328 PyObject * obj0 = 0 ;
994141e6 7329 PyObject * obj1 = 0 ;
d14a1e28
RD
7330 char *kwnames[] = {
7331 (char *) "self",(char *) "edge", NULL
7332 };
7333
994141e6 7334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7337 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 7338 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7339 {
7340 PyThreadState* __tstate = wxPyBeginAllowThreads();
7341 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
7342
7343 wxPyEndAllowThreads(__tstate);
7344 if (PyErr_Occurred()) SWIG_fail;
7345 }
4f89f6a3
RD
7346 {
7347 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7348 }
d14a1e28
RD
7349 return resultobj;
7350 fail:
7351 return NULL;
7352}
7353
7354
c32bde28 7355static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7356 PyObject *resultobj;
7357 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7358 int arg2 ;
7359 int result;
7360 PyObject * obj0 = 0 ;
994141e6 7361 PyObject * obj1 = 0 ;
d14a1e28
RD
7362 char *kwnames[] = {
7363 (char *) "self",(char *) "edge", NULL
7364 };
7365
994141e6 7366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7369 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 7370 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7371 {
7372 PyThreadState* __tstate = wxPyBeginAllowThreads();
7373 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
7374
7375 wxPyEndAllowThreads(__tstate);
7376 if (PyErr_Occurred()) SWIG_fail;
7377 }
c32bde28 7378 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
7379 return resultobj;
7380 fail:
7381 return NULL;
7382}
7383
7384
c32bde28 7385static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7386 PyObject *resultobj;
7387 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7388 int arg2 ;
7389 PyObject * obj0 = 0 ;
994141e6 7390 PyObject * obj1 = 0 ;
d14a1e28
RD
7391 char *kwnames[] = {
7392 (char *) "self",(char *) "width", NULL
7393 };
7394
994141e6 7395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7398 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 7399 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7400 {
7401 PyThreadState* __tstate = wxPyBeginAllowThreads();
7402 (arg1)->SetDefaultBorderSize(arg2);
7403
7404 wxPyEndAllowThreads(__tstate);
7405 if (PyErr_Occurred()) SWIG_fail;
7406 }
7407 Py_INCREF(Py_None); resultobj = Py_None;
7408 return resultobj;
7409 fail:
7410 return NULL;
7411}
7412
7413
c32bde28 7414static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7415 PyObject *resultobj;
7416 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7417 int result;
7418 PyObject * obj0 = 0 ;
7419 char *kwnames[] = {
7420 (char *) "self", NULL
7421 };
7422
7423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
7424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7426 {
7427 PyThreadState* __tstate = wxPyBeginAllowThreads();
7428 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
7429
7430 wxPyEndAllowThreads(__tstate);
7431 if (PyErr_Occurred()) SWIG_fail;
7432 }
c32bde28 7433 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
7434 return resultobj;
7435 fail:
7436 return NULL;
7437}
7438
7439
c32bde28 7440static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7441 PyObject *resultobj;
7442 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7443 int arg2 ;
7444 PyObject * obj0 = 0 ;
994141e6 7445 PyObject * obj1 = 0 ;
d14a1e28
RD
7446 char *kwnames[] = {
7447 (char *) "self",(char *) "width", NULL
7448 };
7449
994141e6 7450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7453 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 7454 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7455 {
7456 PyThreadState* __tstate = wxPyBeginAllowThreads();
7457 (arg1)->SetExtraBorderSize(arg2);
7458
7459 wxPyEndAllowThreads(__tstate);
7460 if (PyErr_Occurred()) SWIG_fail;
7461 }
7462 Py_INCREF(Py_None); resultobj = Py_None;
7463 return resultobj;
7464 fail:
7465 return NULL;
7466}
7467
7468
c32bde28 7469static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7470 PyObject *resultobj;
7471 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7472 int result;
7473 PyObject * obj0 = 0 ;
7474 char *kwnames[] = {
7475 (char *) "self", NULL
7476 };
7477
7478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
7479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7481 {
7482 PyThreadState* __tstate = wxPyBeginAllowThreads();
7483 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
7484
7485 wxPyEndAllowThreads(__tstate);
7486 if (PyErr_Occurred()) SWIG_fail;
7487 }
c32bde28 7488 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
7489 return resultobj;
7490 fail:
7491 return NULL;
7492}
7493
7494
c32bde28 7495static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7496 PyObject *resultobj;
7497 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7498 int arg2 ;
7499 PyObject * obj0 = 0 ;
994141e6 7500 PyObject * obj1 = 0 ;
d14a1e28
RD
7501 char *kwnames[] = {
7502 (char *) "self",(char *) "min", NULL
7503 };
7504
994141e6 7505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7508 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 7509 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7510 {
7511 PyThreadState* __tstate = wxPyBeginAllowThreads();
7512 (arg1)->SetMinimumSizeX(arg2);
7513
7514 wxPyEndAllowThreads(__tstate);
7515 if (PyErr_Occurred()) SWIG_fail;
7516 }
7517 Py_INCREF(Py_None); resultobj = Py_None;
7518 return resultobj;
7519 fail:
7520 return NULL;
7521}
7522
7523
c32bde28 7524static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7525 PyObject *resultobj;
7526 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7527 int arg2 ;
7528 PyObject * obj0 = 0 ;
994141e6 7529 PyObject * obj1 = 0 ;
d14a1e28
RD
7530 char *kwnames[] = {
7531 (char *) "self",(char *) "min", NULL
7532 };
7533
994141e6 7534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7537 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 7538 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7539 {
7540 PyThreadState* __tstate = wxPyBeginAllowThreads();
7541 (arg1)->SetMinimumSizeY(arg2);
7542
7543 wxPyEndAllowThreads(__tstate);
7544 if (PyErr_Occurred()) SWIG_fail;
7545 }
7546 Py_INCREF(Py_None); resultobj = Py_None;
7547 return resultobj;
7548 fail:
7549 return NULL;
7550}
7551
7552
c32bde28 7553static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7554 PyObject *resultobj;
7555 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7556 int result;
7557 PyObject * obj0 = 0 ;
7558 char *kwnames[] = {
7559 (char *) "self", NULL
7560 };
7561
7562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
15afbcd0
RD
7563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7565 {
7566 PyThreadState* __tstate = wxPyBeginAllowThreads();
7567 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
7568
7569 wxPyEndAllowThreads(__tstate);
7570 if (PyErr_Occurred()) SWIG_fail;
7571 }
c32bde28 7572 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
7573 return resultobj;
7574 fail:
7575 return NULL;
7576}
7577
7578
c32bde28 7579static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7580 PyObject *resultobj;
7581 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7582 int result;
7583 PyObject * obj0 = 0 ;
7584 char *kwnames[] = {
7585 (char *) "self", NULL
7586 };
7587
7588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
15afbcd0
RD
7589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7591 {
7592 PyThreadState* __tstate = wxPyBeginAllowThreads();
7593 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
7594
7595 wxPyEndAllowThreads(__tstate);
7596 if (PyErr_Occurred()) SWIG_fail;
7597 }
c32bde28 7598 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
7599 return resultobj;
7600 fail:
7601 return NULL;
7602}
7603
7604
c32bde28 7605static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7606 PyObject *resultobj;
7607 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7608 int arg2 ;
7609 PyObject * obj0 = 0 ;
994141e6 7610 PyObject * obj1 = 0 ;
d14a1e28
RD
7611 char *kwnames[] = {
7612 (char *) "self",(char *) "max", NULL
7613 };
7614
994141e6 7615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7618 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 7619 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7620 {
7621 PyThreadState* __tstate = wxPyBeginAllowThreads();
7622 (arg1)->SetMaximumSizeX(arg2);
7623
7624 wxPyEndAllowThreads(__tstate);
7625 if (PyErr_Occurred()) SWIG_fail;
7626 }
7627 Py_INCREF(Py_None); resultobj = Py_None;
7628 return resultobj;
7629 fail:
7630 return NULL;
7631}
7632
7633
c32bde28 7634static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7635 PyObject *resultobj;
7636 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7637 int arg2 ;
7638 PyObject * obj0 = 0 ;
994141e6 7639 PyObject * obj1 = 0 ;
d14a1e28
RD
7640 char *kwnames[] = {
7641 (char *) "self",(char *) "max", NULL
7642 };
7643
994141e6 7644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7647 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 7648 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7649 {
7650 PyThreadState* __tstate = wxPyBeginAllowThreads();
7651 (arg1)->SetMaximumSizeY(arg2);
7652
7653 wxPyEndAllowThreads(__tstate);
7654 if (PyErr_Occurred()) SWIG_fail;
7655 }
7656 Py_INCREF(Py_None); resultobj = Py_None;
7657 return resultobj;
7658 fail:
7659 return NULL;
7660}
7661
7662
c32bde28 7663static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7664 PyObject *resultobj;
7665 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7666 int result;
7667 PyObject * obj0 = 0 ;
7668 char *kwnames[] = {
7669 (char *) "self", NULL
7670 };
7671
7672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
15afbcd0
RD
7673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7675 {
7676 PyThreadState* __tstate = wxPyBeginAllowThreads();
7677 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
7678
7679 wxPyEndAllowThreads(__tstate);
7680 if (PyErr_Occurred()) SWIG_fail;
7681 }
c32bde28 7682 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
7683 return resultobj;
7684 fail:
7685 return NULL;
7686}
7687
7688
c32bde28 7689static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7690 PyObject *resultobj;
7691 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7692 int result;
7693 PyObject * obj0 = 0 ;
7694 char *kwnames[] = {
7695 (char *) "self", NULL
7696 };
7697
7698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
15afbcd0
RD
7699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7701 {
7702 PyThreadState* __tstate = wxPyBeginAllowThreads();
7703 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
7704
7705 wxPyEndAllowThreads(__tstate);
7706 if (PyErr_Occurred()) SWIG_fail;
7707 }
c32bde28 7708 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
7709 return resultobj;
7710 fail:
7711 return NULL;
7712}
7713
7714
c32bde28 7715static PyObject *_wrap_SashWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7716 PyObject *resultobj;
7717 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7718 int arg2 ;
7719 int arg3 ;
7720 int arg4 = (int) 2 ;
7721 int result;
7722 PyObject * obj0 = 0 ;
994141e6
RD
7723 PyObject * obj1 = 0 ;
7724 PyObject * obj2 = 0 ;
7725 PyObject * obj3 = 0 ;
d14a1e28
RD
7726 char *kwnames[] = {
7727 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7728 };
7729
994141e6 7730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
7731 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7733 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 7734 if (PyErr_Occurred()) SWIG_fail;
c32bde28 7735 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 7736 if (PyErr_Occurred()) SWIG_fail;
994141e6 7737 if (obj3) {
c32bde28 7738 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 7739 if (PyErr_Occurred()) SWIG_fail;
994141e6 7740 }
d14a1e28
RD
7741 {
7742 PyThreadState* __tstate = wxPyBeginAllowThreads();
7743 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
7744
7745 wxPyEndAllowThreads(__tstate);
7746 if (PyErr_Occurred()) SWIG_fail;
7747 }
c32bde28 7748 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
7749 return resultobj;
7750 fail:
7751 return NULL;
7752}
7753
7754
c32bde28 7755static PyObject *_wrap_SashWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7756 PyObject *resultobj;
7757 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7758 PyObject * obj0 = 0 ;
7759 char *kwnames[] = {
7760 (char *) "self", NULL
7761 };
7762
7763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
15afbcd0
RD
7764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7766 {
7767 PyThreadState* __tstate = wxPyBeginAllowThreads();
7768 (arg1)->SizeWindows();
7769
7770 wxPyEndAllowThreads(__tstate);
7771 if (PyErr_Occurred()) SWIG_fail;
7772 }
7773 Py_INCREF(Py_None); resultobj = Py_None;
7774 return resultobj;
7775 fail:
7776 return NULL;
7777}
7778
7779
c32bde28 7780static PyObject * SashWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7781 PyObject *obj;
7782 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7783 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
7784 Py_INCREF(obj);
7785 return Py_BuildValue((char *)"");
7786}
c32bde28 7787static PyObject *_wrap_new_SashEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7788 PyObject *resultobj;
7789 int arg1 = (int) 0 ;
7790 int arg2 = (int) wxSASH_NONE ;
7791 wxSashEvent *result;
994141e6
RD
7792 PyObject * obj0 = 0 ;
7793 PyObject * obj1 = 0 ;
d14a1e28
RD
7794 char *kwnames[] = {
7795 (char *) "id",(char *) "edge", NULL
7796 };
7797
994141e6
RD
7798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
7799 if (obj0) {
c32bde28 7800 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 7801 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
7802 }
7803 if (obj1) {
c32bde28 7804 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 7805 if (PyErr_Occurred()) SWIG_fail;
994141e6 7806 }
d14a1e28
RD
7807 {
7808 PyThreadState* __tstate = wxPyBeginAllowThreads();
7809 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
7810
7811 wxPyEndAllowThreads(__tstate);
7812 if (PyErr_Occurred()) SWIG_fail;
7813 }
15afbcd0 7814 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
d14a1e28
RD
7815 return resultobj;
7816 fail:
7817 return NULL;
7818}
7819
7820
c32bde28 7821static PyObject *_wrap_SashEvent_SetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7822 PyObject *resultobj;
7823 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7824 int arg2 ;
7825 PyObject * obj0 = 0 ;
994141e6 7826 PyObject * obj1 = 0 ;
d14a1e28
RD
7827 char *kwnames[] = {
7828 (char *) "self",(char *) "edge", NULL
7829 };
7830
994141e6 7831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7834 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 7835 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7836 {
7837 PyThreadState* __tstate = wxPyBeginAllowThreads();
7838 (arg1)->SetEdge((wxSashEdgePosition )arg2);
7839
7840 wxPyEndAllowThreads(__tstate);
7841 if (PyErr_Occurred()) SWIG_fail;
7842 }
7843 Py_INCREF(Py_None); resultobj = Py_None;
7844 return resultobj;
7845 fail:
7846 return NULL;
7847}
7848
7849
c32bde28 7850static PyObject *_wrap_SashEvent_GetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7851 PyObject *resultobj;
7852 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7853 int result;
7854 PyObject * obj0 = 0 ;
7855 char *kwnames[] = {
7856 (char *) "self", NULL
7857 };
7858
7859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
15afbcd0
RD
7860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7862 {
7863 PyThreadState* __tstate = wxPyBeginAllowThreads();
7864 result = (int)((wxSashEvent const *)arg1)->GetEdge();
7865
7866 wxPyEndAllowThreads(__tstate);
7867 if (PyErr_Occurred()) SWIG_fail;
7868 }
c32bde28 7869 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
7870 return resultobj;
7871 fail:
7872 return NULL;
7873}
7874
7875
c32bde28 7876static PyObject *_wrap_SashEvent_SetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7877 PyObject *resultobj;
7878 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7879 wxRect *arg2 = 0 ;
7880 wxRect temp2 ;
7881 PyObject * obj0 = 0 ;
7882 PyObject * obj1 = 0 ;
7883 char *kwnames[] = {
7884 (char *) "self",(char *) "rect", NULL
7885 };
7886
7887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7890 {
7891 arg2 = &temp2;
7892 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7893 }
7894 {
7895 PyThreadState* __tstate = wxPyBeginAllowThreads();
7896 (arg1)->SetDragRect((wxRect const &)*arg2);
7897
7898 wxPyEndAllowThreads(__tstate);
7899 if (PyErr_Occurred()) SWIG_fail;
7900 }
7901 Py_INCREF(Py_None); resultobj = Py_None;
7902 return resultobj;
7903 fail:
7904 return NULL;
7905}
7906
7907
c32bde28 7908static PyObject *_wrap_SashEvent_GetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7909 PyObject *resultobj;
7910 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7911 wxRect result;
7912 PyObject * obj0 = 0 ;
7913 char *kwnames[] = {
7914 (char *) "self", NULL
7915 };
7916
7917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
15afbcd0
RD
7918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7920 {
7921 PyThreadState* __tstate = wxPyBeginAllowThreads();
7922 result = ((wxSashEvent const *)arg1)->GetDragRect();
7923
7924 wxPyEndAllowThreads(__tstate);
7925 if (PyErr_Occurred()) SWIG_fail;
7926 }
7927 {
7928 wxRect * resultptr;
7929 resultptr = new wxRect((wxRect &) result);
15afbcd0 7930 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
7931 }
7932 return resultobj;
7933 fail:
7934 return NULL;
7935}
7936
7937
c32bde28 7938static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7939 PyObject *resultobj;
7940 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7941 int arg2 ;
7942 PyObject * obj0 = 0 ;
994141e6 7943 PyObject * obj1 = 0 ;
d14a1e28
RD
7944 char *kwnames[] = {
7945 (char *) "self",(char *) "status", NULL
7946 };
7947
994141e6 7948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7951 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 7952 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7953 {
7954 PyThreadState* __tstate = wxPyBeginAllowThreads();
7955 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
7956
7957 wxPyEndAllowThreads(__tstate);
7958 if (PyErr_Occurred()) SWIG_fail;
7959 }
7960 Py_INCREF(Py_None); resultobj = Py_None;
7961 return resultobj;
7962 fail:
7963 return NULL;
7964}
7965
7966
c32bde28 7967static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7968 PyObject *resultobj;
7969 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7970 int result;
7971 PyObject * obj0 = 0 ;
7972 char *kwnames[] = {
7973 (char *) "self", NULL
7974 };
7975
7976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
15afbcd0
RD
7977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7979 {
7980 PyThreadState* __tstate = wxPyBeginAllowThreads();
7981 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
7982
7983 wxPyEndAllowThreads(__tstate);
7984 if (PyErr_Occurred()) SWIG_fail;
7985 }
c32bde28 7986 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
7987 return resultobj;
7988 fail:
7989 return NULL;
7990}
7991
7992
c32bde28 7993static PyObject * SashEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7994 PyObject *obj;
7995 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7996 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
7997 Py_INCREF(obj);
7998 return Py_BuildValue((char *)"");
7999}
c32bde28 8000static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 8001 PyObject *resultobj;
e811c8ce 8002 int arg1 = (int) 0 ;
d14a1e28 8003 wxQueryLayoutInfoEvent *result;
994141e6 8004 PyObject * obj0 = 0 ;
d14a1e28
RD
8005 char *kwnames[] = {
8006 (char *) "id", NULL
8007 };
8008
994141e6
RD
8009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
8010 if (obj0) {
c32bde28 8011 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 8012 if (PyErr_Occurred()) SWIG_fail;
994141e6 8013 }
d14a1e28
RD
8014 {
8015 PyThreadState* __tstate = wxPyBeginAllowThreads();
8016 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
8017
8018 wxPyEndAllowThreads(__tstate);
8019 if (PyErr_Occurred()) SWIG_fail;
8020 }
15afbcd0 8021 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
d14a1e28
RD
8022 return resultobj;
8023 fail:
8024 return NULL;
8025}
8026
8027
c32bde28 8028static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8029 PyObject *resultobj;
8030 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8031 int arg2 ;
8032 PyObject * obj0 = 0 ;
994141e6 8033 PyObject * obj1 = 0 ;
d14a1e28
RD
8034 char *kwnames[] = {
8035 (char *) "self",(char *) "length", NULL
8036 };
8037
994141e6 8038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8039 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 8041 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 8042 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8043 {
8044 PyThreadState* __tstate = wxPyBeginAllowThreads();
8045 (arg1)->SetRequestedLength(arg2);
8046
8047 wxPyEndAllowThreads(__tstate);
8048 if (PyErr_Occurred()) SWIG_fail;
8049 }
8050 Py_INCREF(Py_None); resultobj = Py_None;
8051 return resultobj;
8052 fail:
8053 return NULL;
8054}
8055
8056
c32bde28 8057static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8058 PyObject *resultobj;
8059 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8060 int result;
8061 PyObject * obj0 = 0 ;
8062 char *kwnames[] = {
8063 (char *) "self", NULL
8064 };
8065
8066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
15afbcd0
RD
8067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8069 {
8070 PyThreadState* __tstate = wxPyBeginAllowThreads();
8071 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
8072
8073 wxPyEndAllowThreads(__tstate);
8074 if (PyErr_Occurred()) SWIG_fail;
8075 }
c32bde28 8076 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
8077 return resultobj;
8078 fail:
8079 return NULL;
8080}
8081
8082
c32bde28 8083static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8084 PyObject *resultobj;
8085 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8086 int arg2 ;
8087 PyObject * obj0 = 0 ;
994141e6 8088 PyObject * obj1 = 0 ;
d14a1e28
RD
8089 char *kwnames[] = {
8090 (char *) "self",(char *) "flags", NULL
8091 };
8092
994141e6 8093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 8096 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 8097 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8098 {
8099 PyThreadState* __tstate = wxPyBeginAllowThreads();
8100 (arg1)->SetFlags(arg2);
8101
8102 wxPyEndAllowThreads(__tstate);
8103 if (PyErr_Occurred()) SWIG_fail;
8104 }
8105 Py_INCREF(Py_None); resultobj = Py_None;
8106 return resultobj;
8107 fail:
8108 return NULL;
8109}
8110
8111
c32bde28 8112static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8113 PyObject *resultobj;
8114 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8115 int result;
8116 PyObject * obj0 = 0 ;
8117 char *kwnames[] = {
8118 (char *) "self", NULL
8119 };
8120
8121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
15afbcd0
RD
8122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8124 {
8125 PyThreadState* __tstate = wxPyBeginAllowThreads();
8126 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
8127
8128 wxPyEndAllowThreads(__tstate);
8129 if (PyErr_Occurred()) SWIG_fail;
8130 }
c32bde28 8131 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
8132 return resultobj;
8133 fail:
8134 return NULL;
8135}
8136
8137
c32bde28 8138static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8139 PyObject *resultobj;
8140 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8141 wxSize *arg2 = 0 ;
8142 wxSize temp2 ;
8143 PyObject * obj0 = 0 ;
8144 PyObject * obj1 = 0 ;
8145 char *kwnames[] = {
8146 (char *) "self",(char *) "size", NULL
8147 };
8148
8149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8152 {
8153 arg2 = &temp2;
8154 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
8155 }
8156 {
8157 PyThreadState* __tstate = wxPyBeginAllowThreads();
8158 (arg1)->SetSize((wxSize const &)*arg2);
8159
8160 wxPyEndAllowThreads(__tstate);
8161 if (PyErr_Occurred()) SWIG_fail;
8162 }
8163 Py_INCREF(Py_None); resultobj = Py_None;
8164 return resultobj;
8165 fail:
8166 return NULL;
8167}
8168
8169
c32bde28 8170static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8171 PyObject *resultobj;
8172 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8173 wxSize result;
8174 PyObject * obj0 = 0 ;
8175 char *kwnames[] = {
8176 (char *) "self", NULL
8177 };
8178
8179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
8180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8182 {
8183 PyThreadState* __tstate = wxPyBeginAllowThreads();
8184 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
8185
8186 wxPyEndAllowThreads(__tstate);
8187 if (PyErr_Occurred()) SWIG_fail;
8188 }
8189 {
8190 wxSize * resultptr;
8191 resultptr = new wxSize((wxSize &) result);
15afbcd0 8192 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
8193 }
8194 return resultobj;
8195 fail:
8196 return NULL;
8197}
8198
8199
c32bde28 8200static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8201 PyObject *resultobj;
8202 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8203 int arg2 ;
8204 PyObject * obj0 = 0 ;
994141e6 8205 PyObject * obj1 = 0 ;
d14a1e28
RD
8206 char *kwnames[] = {
8207 (char *) "self",(char *) "orient", NULL
8208 };
8209
994141e6 8210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 8213 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 8214 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8215 {
8216 PyThreadState* __tstate = wxPyBeginAllowThreads();
8217 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8218
8219 wxPyEndAllowThreads(__tstate);
8220 if (PyErr_Occurred()) SWIG_fail;
8221 }
8222 Py_INCREF(Py_None); resultobj = Py_None;
8223 return resultobj;
8224 fail:
8225 return NULL;
8226}
8227
8228
c32bde28 8229static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8230 PyObject *resultobj;
8231 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8232 int result;
8233 PyObject * obj0 = 0 ;
8234 char *kwnames[] = {
8235 (char *) "self", NULL
8236 };
8237
8238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
15afbcd0
RD
8239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8241 {
8242 PyThreadState* __tstate = wxPyBeginAllowThreads();
8243 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
8244
8245 wxPyEndAllowThreads(__tstate);
8246 if (PyErr_Occurred()) SWIG_fail;
8247 }
c32bde28 8248 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
8249 return resultobj;
8250 fail:
8251 return NULL;
8252}
8253
8254
c32bde28 8255static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8256 PyObject *resultobj;
8257 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8258 int arg2 ;
8259 PyObject * obj0 = 0 ;
994141e6 8260 PyObject * obj1 = 0 ;
d14a1e28
RD
8261 char *kwnames[] = {
8262 (char *) "self",(char *) "align", NULL
8263 };
8264
994141e6 8265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 8268 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 8269 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8270 {
8271 PyThreadState* __tstate = wxPyBeginAllowThreads();
8272 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
8273
8274 wxPyEndAllowThreads(__tstate);
8275 if (PyErr_Occurred()) SWIG_fail;
8276 }
8277 Py_INCREF(Py_None); resultobj = Py_None;
8278 return resultobj;
8279 fail:
8280 return NULL;
8281}
8282
8283
c32bde28 8284static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8285 PyObject *resultobj;
8286 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8287 int result;
8288 PyObject * obj0 = 0 ;
8289 char *kwnames[] = {
8290 (char *) "self", NULL
8291 };
8292
8293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
15afbcd0
RD
8294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8296 {
8297 PyThreadState* __tstate = wxPyBeginAllowThreads();
8298 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
8299
8300 wxPyEndAllowThreads(__tstate);
8301 if (PyErr_Occurred()) SWIG_fail;
8302 }
c32bde28 8303 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
8304 return resultobj;
8305 fail:
8306 return NULL;
8307}
8308
8309
c32bde28 8310static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
8311 PyObject *obj;
8312 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8313 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
8314 Py_INCREF(obj);
8315 return Py_BuildValue((char *)"");
8316}
c32bde28 8317static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 8318 PyObject *resultobj;
e811c8ce 8319 int arg1 = (int) 0 ;
d14a1e28 8320 wxCalculateLayoutEvent *result;
994141e6 8321 PyObject * obj0 = 0 ;
d14a1e28
RD
8322 char *kwnames[] = {
8323 (char *) "id", NULL
8324 };
8325
994141e6
RD
8326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
8327 if (obj0) {
c32bde28 8328 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 8329 if (PyErr_Occurred()) SWIG_fail;
994141e6 8330 }
d14a1e28
RD
8331 {
8332 PyThreadState* __tstate = wxPyBeginAllowThreads();
8333 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
8334
8335 wxPyEndAllowThreads(__tstate);
8336 if (PyErr_Occurred()) SWIG_fail;
8337 }
15afbcd0 8338 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
d14a1e28
RD
8339 return resultobj;
8340 fail:
8341 return NULL;
8342}
8343
8344
c32bde28 8345static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8346 PyObject *resultobj;
8347 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8348 int arg2 ;
8349 PyObject * obj0 = 0 ;
994141e6 8350 PyObject * obj1 = 0 ;
d14a1e28
RD
8351 char *kwnames[] = {
8352 (char *) "self",(char *) "flags", NULL
8353 };
8354
994141e6 8355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 8358 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 8359 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8360 {
8361 PyThreadState* __tstate = wxPyBeginAllowThreads();
8362 (arg1)->SetFlags(arg2);
8363
8364 wxPyEndAllowThreads(__tstate);
8365 if (PyErr_Occurred()) SWIG_fail;
8366 }
8367 Py_INCREF(Py_None); resultobj = Py_None;
8368 return resultobj;
8369 fail:
8370 return NULL;
8371}
8372
8373
c32bde28 8374static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8375 PyObject *resultobj;
8376 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8377 int result;
8378 PyObject * obj0 = 0 ;
8379 char *kwnames[] = {
8380 (char *) "self", NULL
8381 };
8382
8383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
15afbcd0
RD
8384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8386 {
8387 PyThreadState* __tstate = wxPyBeginAllowThreads();
8388 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
8389
8390 wxPyEndAllowThreads(__tstate);
8391 if (PyErr_Occurred()) SWIG_fail;
8392 }
c32bde28 8393 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
8394 return resultobj;
8395 fail:
8396 return NULL;
8397}
8398
8399
c32bde28 8400static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8401 PyObject *resultobj;
8402 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8403 wxRect *arg2 = 0 ;
8404 wxRect temp2 ;
8405 PyObject * obj0 = 0 ;
8406 PyObject * obj1 = 0 ;
8407 char *kwnames[] = {
8408 (char *) "self",(char *) "rect", NULL
8409 };
8410
8411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8414 {
8415 arg2 = &temp2;
8416 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8417 }
8418 {
8419 PyThreadState* __tstate = wxPyBeginAllowThreads();
8420 (arg1)->SetRect((wxRect const &)*arg2);
8421
8422 wxPyEndAllowThreads(__tstate);
8423 if (PyErr_Occurred()) SWIG_fail;
8424 }
8425 Py_INCREF(Py_None); resultobj = Py_None;
8426 return resultobj;
8427 fail:
8428 return NULL;
8429}
8430
8431
c32bde28 8432static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8433 PyObject *resultobj;
8434 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8435 wxRect result;
8436 PyObject * obj0 = 0 ;
8437 char *kwnames[] = {
8438 (char *) "self", NULL
8439 };
8440
8441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
15afbcd0
RD
8442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8444 {
8445 PyThreadState* __tstate = wxPyBeginAllowThreads();
8446 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
8447
8448 wxPyEndAllowThreads(__tstate);
8449 if (PyErr_Occurred()) SWIG_fail;
8450 }
8451 {
8452 wxRect * resultptr;
8453 resultptr = new wxRect((wxRect &) result);
15afbcd0 8454 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
8455 }
8456 return resultobj;
8457 fail:
8458 return NULL;
8459}
8460
8461
c32bde28 8462static PyObject * CalculateLayoutEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
8463 PyObject *obj;
8464 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8465 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
8466 Py_INCREF(obj);
8467 return Py_BuildValue((char *)"");
8468}
c32bde28 8469static PyObject *_wrap_new_SashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8470 PyObject *resultobj;
8471 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 8472 int arg2 = (int) -1 ;
d14a1e28
RD
8473 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8474 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8475 wxSize const &arg4_defvalue = wxDefaultSize ;
8476 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8477 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8478 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
8479 wxString *arg6 = (wxString *) &arg6_defvalue ;
8480 wxSashLayoutWindow *result;
8481 wxPoint temp3 ;
8482 wxSize temp4 ;
ae8162c8 8483 bool temp6 = false ;
d14a1e28 8484 PyObject * obj0 = 0 ;
994141e6 8485 PyObject * obj1 = 0 ;
d14a1e28
RD
8486 PyObject * obj2 = 0 ;
8487 PyObject * obj3 = 0 ;
994141e6 8488 PyObject * obj4 = 0 ;
d14a1e28
RD
8489 PyObject * obj5 = 0 ;
8490 char *kwnames[] = {
8491 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8492 };
8493
248ed943 8494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
8495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 8497 if (obj1) {
c32bde28 8498 arg2 = (int)SWIG_As_int(obj1);
248ed943
RD
8499 if (PyErr_Occurred()) SWIG_fail;
8500 }
d14a1e28
RD
8501 if (obj2) {
8502 {
8503 arg3 = &temp3;
8504 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8505 }
8506 }
8507 if (obj3) {
8508 {
8509 arg4 = &temp4;
8510 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8511 }
8512 }
994141e6 8513 if (obj4) {
c32bde28 8514 arg5 = (long)SWIG_As_long(obj4);
15afbcd0 8515 if (PyErr_Occurred()) SWIG_fail;
994141e6 8516 }
d14a1e28
RD
8517 if (obj5) {
8518 {
8519 arg6 = wxString_in_helper(obj5);
8520 if (arg6 == NULL) SWIG_fail;
ae8162c8 8521 temp6 = true;
d14a1e28
RD
8522 }
8523 }
8524 {
e3b71cb8 8525 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
8526 PyThreadState* __tstate = wxPyBeginAllowThreads();
8527 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8528
8529 wxPyEndAllowThreads(__tstate);
110da5b0 8530 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 8531 }
15afbcd0 8532 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
d14a1e28
RD
8533 {
8534 if (temp6)
8535 delete arg6;
8536 }
8537 return resultobj;
8538 fail:
8539 {
8540 if (temp6)
8541 delete arg6;
8542 }
8543 return NULL;
8544}
8545
8546
c32bde28 8547static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8548 PyObject *resultobj;
8549 wxSashLayoutWindow *result;
8550 char *kwnames[] = {
8551 NULL
8552 };
8553
8554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
8555 {
e3b71cb8 8556 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
8557 PyThreadState* __tstate = wxPyBeginAllowThreads();
8558 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
8559
8560 wxPyEndAllowThreads(__tstate);
110da5b0 8561 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 8562 }
15afbcd0 8563 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
d14a1e28
RD
8564 return resultobj;
8565 fail:
8566 return NULL;
8567}
8568
8569
c32bde28 8570static PyObject *_wrap_SashLayoutWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8571 PyObject *resultobj;
8572 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8573 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 8574 int arg3 = (int) -1 ;
d14a1e28
RD
8575 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8576 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8577 wxSize const &arg5_defvalue = wxDefaultSize ;
8578 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8579 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8580 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
8581 wxString *arg7 = (wxString *) &arg7_defvalue ;
8582 bool result;
8583 wxPoint temp4 ;
8584 wxSize temp5 ;
ae8162c8 8585 bool temp7 = false ;
d14a1e28
RD
8586 PyObject * obj0 = 0 ;
8587 PyObject * obj1 = 0 ;
994141e6 8588 PyObject * obj2 = 0 ;
d14a1e28
RD
8589 PyObject * obj3 = 0 ;
8590 PyObject * obj4 = 0 ;
994141e6 8591 PyObject * obj5 = 0 ;
d14a1e28
RD
8592 PyObject * obj6 = 0 ;
8593 char *kwnames[] = {
8594 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8595 };
8596
248ed943 8597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
8598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8600 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 8602 if (obj2) {
c32bde28 8603 arg3 = (int)SWIG_As_int(obj2);
248ed943
RD
8604 if (PyErr_Occurred()) SWIG_fail;
8605 }
d14a1e28
RD
8606 if (obj3) {
8607 {
8608 arg4 = &temp4;
8609 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8610 }
8611 }
8612 if (obj4) {
8613 {
8614 arg5 = &temp5;
8615 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8616 }
8617 }
994141e6 8618 if (obj5) {
c32bde28 8619 arg6 = (long)SWIG_As_long(obj5);
15afbcd0 8620 if (PyErr_Occurred()) SWIG_fail;
994141e6 8621 }
d14a1e28
RD
8622 if (obj6) {
8623 {
8624 arg7 = wxString_in_helper(obj6);
8625 if (arg7 == NULL) SWIG_fail;
ae8162c8 8626 temp7 = true;
d14a1e28
RD
8627 }
8628 }
8629 {
8630 PyThreadState* __tstate = wxPyBeginAllowThreads();
8631 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8632
8633 wxPyEndAllowThreads(__tstate);
8634 if (PyErr_Occurred()) SWIG_fail;
8635 }
4f89f6a3
RD
8636 {
8637 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8638 }
d14a1e28
RD
8639 {
8640 if (temp7)
8641 delete arg7;
8642 }
8643 return resultobj;
8644 fail:
8645 {
8646 if (temp7)
8647 delete arg7;
8648 }
8649 return NULL;
8650}
8651
8652
c32bde28 8653static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8654 PyObject *resultobj;
8655 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8656 int result;
8657 PyObject * obj0 = 0 ;
8658 char *kwnames[] = {
8659 (char *) "self", NULL
8660 };
8661
8662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
15afbcd0
RD
8663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8665 {
8666 PyThreadState* __tstate = wxPyBeginAllowThreads();
8667 result = (int)(arg1)->GetAlignment();
8668
8669 wxPyEndAllowThreads(__tstate);
8670 if (PyErr_Occurred()) SWIG_fail;
8671 }
c32bde28 8672 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
8673 return resultobj;
8674 fail:
8675 return NULL;
8676}
8677
8678
c32bde28 8679static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8680 PyObject *resultobj;
8681 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8682 int result;
8683 PyObject * obj0 = 0 ;
8684 char *kwnames[] = {
8685 (char *) "self", NULL
8686 };
8687
8688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
15afbcd0
RD
8689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8691 {
8692 PyThreadState* __tstate = wxPyBeginAllowThreads();
8693 result = (int)(arg1)->GetOrientation();
8694
8695 wxPyEndAllowThreads(__tstate);
8696 if (PyErr_Occurred()) SWIG_fail;
8697 }
c32bde28 8698 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
8699 return resultobj;
8700 fail:
8701 return NULL;
8702}
8703
8704
c32bde28 8705static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8706 PyObject *resultobj;
8707 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8708 int arg2 ;
8709 PyObject * obj0 = 0 ;
994141e6 8710 PyObject * obj1 = 0 ;
d14a1e28
RD
8711 char *kwnames[] = {
8712 (char *) "self",(char *) "alignment", NULL
8713 };
8714
994141e6 8715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 8718 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 8719 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8720 {
8721 PyThreadState* __tstate = wxPyBeginAllowThreads();
8722 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
8723
8724 wxPyEndAllowThreads(__tstate);
8725 if (PyErr_Occurred()) SWIG_fail;
8726 }
8727 Py_INCREF(Py_None); resultobj = Py_None;
8728 return resultobj;
8729 fail:
8730 return NULL;
8731}
8732
8733
c32bde28 8734static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8735 PyObject *resultobj;
8736 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8737 wxSize *arg2 = 0 ;
8738 wxSize temp2 ;
8739 PyObject * obj0 = 0 ;
8740 PyObject * obj1 = 0 ;
8741 char *kwnames[] = {
8742 (char *) "self",(char *) "size", NULL
8743 };
8744
8745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8748 {
8749 arg2 = &temp2;
8750 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
8751 }
8752 {
8753 PyThreadState* __tstate = wxPyBeginAllowThreads();
8754 (arg1)->SetDefaultSize((wxSize const &)*arg2);
8755
8756 wxPyEndAllowThreads(__tstate);
8757 if (PyErr_Occurred()) SWIG_fail;
8758 }
8759 Py_INCREF(Py_None); resultobj = Py_None;
8760 return resultobj;
8761 fail:
8762 return NULL;
8763}
8764
8765
c32bde28 8766static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8767 PyObject *resultobj;
8768 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8769 int arg2 ;
8770 PyObject * obj0 = 0 ;
994141e6 8771 PyObject * obj1 = 0 ;
d14a1e28
RD
8772 char *kwnames[] = {
8773 (char *) "self",(char *) "orientation", NULL
8774 };
8775
994141e6 8776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 8779 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 8780 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8781 {
8782 PyThreadState* __tstate = wxPyBeginAllowThreads();
8783 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8784
8785 wxPyEndAllowThreads(__tstate);
8786 if (PyErr_Occurred()) SWIG_fail;
8787 }
8788 Py_INCREF(Py_None); resultobj = Py_None;
8789 return resultobj;
8790 fail:
8791 return NULL;
8792}
8793
8794
c32bde28 8795static PyObject * SashLayoutWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
8796 PyObject *obj;
8797 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8798 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
8799 Py_INCREF(obj);
8800 return Py_BuildValue((char *)"");
8801}
c32bde28 8802static PyObject *_wrap_new_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8803 PyObject *resultobj;
8804 wxLayoutAlgorithm *result;
8805 char *kwnames[] = {
8806 NULL
8807 };
8808
8809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
8810 {
8811 PyThreadState* __tstate = wxPyBeginAllowThreads();
8812 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
8813
8814 wxPyEndAllowThreads(__tstate);
8815 if (PyErr_Occurred()) SWIG_fail;
8816 }
15afbcd0 8817 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
d14a1e28
RD
8818 return resultobj;
8819 fail:
8820 return NULL;
8821}
8822
8823
c32bde28 8824static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8825 PyObject *resultobj;
8826 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8827 PyObject * obj0 = 0 ;
8828 char *kwnames[] = {
8829 (char *) "self", NULL
8830 };
8831
8832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
15afbcd0
RD
8833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8835 {
8836 PyThreadState* __tstate = wxPyBeginAllowThreads();
8837 delete arg1;
8838
8839 wxPyEndAllowThreads(__tstate);
8840 if (PyErr_Occurred()) SWIG_fail;
8841 }
8842 Py_INCREF(Py_None); resultobj = Py_None;
8843 return resultobj;
8844 fail:
8845 return NULL;
8846}
8847
8848
c32bde28 8849static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8850 PyObject *resultobj;
8851 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8852 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
8853 wxRect *arg3 = (wxRect *) NULL ;
8854 bool result;
8855 PyObject * obj0 = 0 ;
8856 PyObject * obj1 = 0 ;
8857 PyObject * obj2 = 0 ;
8858 char *kwnames[] = {
8859 (char *) "self",(char *) "frame",(char *) "rect", NULL
8860 };
8861
8862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8865 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
8866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 8867 if (obj2) {
15afbcd0
RD
8868 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect,
8869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8870 }
8871 {
8872 PyThreadState* __tstate = wxPyBeginAllowThreads();
8873 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
8874
8875 wxPyEndAllowThreads(__tstate);
8876 if (PyErr_Occurred()) SWIG_fail;
8877 }
4f89f6a3
RD
8878 {
8879 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8880 }
d14a1e28
RD
8881 return resultobj;
8882 fail:
8883 return NULL;
8884}
8885
8886
c32bde28 8887static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8888 PyObject *resultobj;
8889 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8890 wxFrame *arg2 = (wxFrame *) 0 ;
8891 wxWindow *arg3 = (wxWindow *) NULL ;
8892 bool result;
8893 PyObject * obj0 = 0 ;
8894 PyObject * obj1 = 0 ;
8895 PyObject * obj2 = 0 ;
8896 char *kwnames[] = {
8897 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8898 };
8899
8900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8903 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
8904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 8905 if (obj2) {
15afbcd0
RD
8906 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8908 }
8909 {
8910 PyThreadState* __tstate = wxPyBeginAllowThreads();
8911 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
8912
8913 wxPyEndAllowThreads(__tstate);
8914 if (PyErr_Occurred()) SWIG_fail;
8915 }
4f89f6a3
RD
8916 {
8917 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8918 }
d14a1e28
RD
8919 return resultobj;
8920 fail:
8921 return NULL;
8922}
8923
8924
c32bde28 8925static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8926 PyObject *resultobj;
8927 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8928 wxWindow *arg2 = (wxWindow *) 0 ;
8929 wxWindow *arg3 = (wxWindow *) NULL ;
8930 bool result;
8931 PyObject * obj0 = 0 ;
8932 PyObject * obj1 = 0 ;
8933 PyObject * obj2 = 0 ;
8934 char *kwnames[] = {
8935 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8936 };
8937
8938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8941 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 8943 if (obj2) {
15afbcd0
RD
8944 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8946 }
8947 {
8948 PyThreadState* __tstate = wxPyBeginAllowThreads();
8949 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
8950
8951 wxPyEndAllowThreads(__tstate);
8952 if (PyErr_Occurred()) SWIG_fail;
8953 }
4f89f6a3
RD
8954 {
8955 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8956 }
d14a1e28
RD
8957 return resultobj;
8958 fail:
8959 return NULL;
8960}
8961
8962
c32bde28 8963static PyObject * LayoutAlgorithm_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
8964 PyObject *obj;
8965 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8966 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
8967 Py_INCREF(obj);
8968 return Py_BuildValue((char *)"");
8969}
c32bde28 8970static PyObject *_wrap_new_PopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8971 PyObject *resultobj;
8972 wxWindow *arg1 = (wxWindow *) 0 ;
8973 int arg2 = (int) wxBORDER_NONE ;
8974 wxPopupWindow *result;
8975 PyObject * obj0 = 0 ;
994141e6 8976 PyObject * obj1 = 0 ;
d14a1e28
RD
8977 char *kwnames[] = {
8978 (char *) "parent",(char *) "flags", NULL
8979 };
8980
994141e6 8981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 8984 if (obj1) {
c32bde28 8985 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 8986 if (PyErr_Occurred()) SWIG_fail;
994141e6 8987 }
d14a1e28 8988 {
e3b71cb8 8989 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
8990 PyThreadState* __tstate = wxPyBeginAllowThreads();
8991 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
8992
8993 wxPyEndAllowThreads(__tstate);
110da5b0 8994 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 8995 }
15afbcd0 8996 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
d14a1e28
RD
8997 return resultobj;
8998 fail:
8999 return NULL;
9000}
9001
9002
c32bde28 9003static PyObject *_wrap_new_PrePopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9004 PyObject *resultobj;
9005 wxPopupWindow *result;
9006 char *kwnames[] = {
9007 NULL
9008 };
9009
9010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
9011 {
e3b71cb8 9012 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
9013 PyThreadState* __tstate = wxPyBeginAllowThreads();
9014 result = (wxPopupWindow *)new wxPopupWindow();
9015
9016 wxPyEndAllowThreads(__tstate);
110da5b0 9017 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 9018 }
15afbcd0 9019 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
d14a1e28
RD
9020 return resultobj;
9021 fail:
9022 return NULL;
9023}
9024
9025
c32bde28 9026static PyObject *_wrap_PopupWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9027 PyObject *resultobj;
9028 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
9029 wxWindow *arg2 = (wxWindow *) 0 ;
9030 int arg3 = (int) wxBORDER_NONE ;
9031 bool result;
9032 PyObject * obj0 = 0 ;
9033 PyObject * obj1 = 0 ;
994141e6 9034 PyObject * obj2 = 0 ;
d14a1e28
RD
9035 char *kwnames[] = {
9036 (char *) "self",(char *) "parent",(char *) "flags", NULL
9037 };
9038
994141e6 9039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow,
9041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9042 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 9044 if (obj2) {
c32bde28 9045 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 9046 if (PyErr_Occurred()) SWIG_fail;
994141e6 9047 }
d14a1e28
RD
9048 {
9049 PyThreadState* __tstate = wxPyBeginAllowThreads();
9050 result = (bool)(arg1)->Create(arg2,arg3);
9051
9052 wxPyEndAllowThreads(__tstate);
9053 if (PyErr_Occurred()) SWIG_fail;
9054 }
4f89f6a3
RD
9055 {
9056 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9057 }
d14a1e28
RD
9058 return resultobj;
9059 fail:
9060 return NULL;
9061}
9062
9063
c32bde28 9064static PyObject *_wrap_PopupWindow_Position(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9065 PyObject *resultobj;
9066 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
9067 wxPoint *arg2 = 0 ;
9068 wxSize *arg3 = 0 ;
9069 wxPoint temp2 ;
9070 wxSize temp3 ;
9071 PyObject * obj0 = 0 ;
9072 PyObject * obj1 = 0 ;
9073 PyObject * obj2 = 0 ;
9074 char *kwnames[] = {
9075 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
9076 };
9077
9078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow,
9080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9081 {
9082 arg2 = &temp2;
9083 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9084 }
9085 {
9086 arg3 = &temp3;
9087 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
9088 }
9089 {
9090 PyThreadState* __tstate = wxPyBeginAllowThreads();
9091 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
9092
9093 wxPyEndAllowThreads(__tstate);
9094 if (PyErr_Occurred()) SWIG_fail;
9095 }
9096 Py_INCREF(Py_None); resultobj = Py_None;
9097 return resultobj;
9098 fail:
9099 return NULL;
9100}
9101
9102
c32bde28 9103static PyObject * PopupWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
9104 PyObject *obj;
9105 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9106 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
9107 Py_INCREF(obj);
9108 return Py_BuildValue((char *)"");
9109}
c32bde28 9110static PyObject *_wrap_new_PopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9111 PyObject *resultobj;
9112 wxWindow *arg1 = (wxWindow *) 0 ;
9113 int arg2 = (int) wxBORDER_NONE ;
9114 wxPyPopupTransientWindow *result;
9115 PyObject * obj0 = 0 ;
994141e6 9116 PyObject * obj1 = 0 ;
d14a1e28
RD
9117 char *kwnames[] = {
9118 (char *) "parent",(char *) "style", NULL
9119 };
9120
994141e6 9121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 9124 if (obj1) {
c32bde28 9125 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 9126 if (PyErr_Occurred()) SWIG_fail;
994141e6 9127 }
d14a1e28 9128 {
e3b71cb8 9129 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
9130 PyThreadState* __tstate = wxPyBeginAllowThreads();
9131 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
9132
9133 wxPyEndAllowThreads(__tstate);
110da5b0 9134 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 9135 }
15afbcd0 9136 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
d14a1e28
RD
9137 return resultobj;
9138 fail:
9139 return NULL;
9140}
9141
9142
c32bde28 9143static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9144 PyObject *resultobj;
9145 wxPyPopupTransientWindow *result;
9146 char *kwnames[] = {
9147 NULL
9148 };
9149
9150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
9151 {
e3b71cb8 9152 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
9153 PyThreadState* __tstate = wxPyBeginAllowThreads();
9154 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
9155
9156 wxPyEndAllowThreads(__tstate);
110da5b0 9157 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 9158 }
15afbcd0 9159 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
d14a1e28
RD
9160 return resultobj;
9161 fail:
9162 return NULL;
9163}
9164
9165
c32bde28 9166static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9167 PyObject *resultobj;
9168 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
9169 PyObject *arg2 = (PyObject *) 0 ;
9170 PyObject *arg3 = (PyObject *) 0 ;
9171 PyObject * obj0 = 0 ;
9172 PyObject * obj1 = 0 ;
9173 PyObject * obj2 = 0 ;
9174 char *kwnames[] = {
9175 (char *) "self",(char *) "self",(char *) "_class", NULL
9176 };
9177
9178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
9180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9181 arg2 = obj1;
9182 arg3 = obj2;
9183 {
9184 PyThreadState* __tstate = wxPyBeginAllowThreads();
9185 (arg1)->_setCallbackInfo(arg2,arg3);
9186
9187 wxPyEndAllowThreads(__tstate);
9188 if (PyErr_Occurred()) SWIG_fail;
9189 }
9190 Py_INCREF(Py_None); resultobj = Py_None;
9191 return resultobj;
9192 fail:
9193 return NULL;
9194}
9195
9196
c32bde28 9197static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9198 PyObject *resultobj;
9199 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
9200 wxWindow *arg2 = (wxWindow *) NULL ;
9201 PyObject * obj0 = 0 ;
9202 PyObject * obj1 = 0 ;
9203 char *kwnames[] = {
9204 (char *) "self",(char *) "focus", NULL
9205 };
9206
9207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
9209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 9210 if (obj1) {
15afbcd0
RD
9211 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9213 }
9214 {
9215 PyThreadState* __tstate = wxPyBeginAllowThreads();
9216 (arg1)->Popup(arg2);
9217
9218 wxPyEndAllowThreads(__tstate);
9219 if (PyErr_Occurred()) SWIG_fail;
9220 }
9221 Py_INCREF(Py_None); resultobj = Py_None;
9222 return resultobj;
9223 fail:
9224 return NULL;
9225}
9226
9227
c32bde28 9228static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9229 PyObject *resultobj;
9230 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
9231 PyObject * obj0 = 0 ;
9232 char *kwnames[] = {
9233 (char *) "self", NULL
9234 };
9235
9236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail;
15afbcd0
RD
9237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
9238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9239 {
9240 PyThreadState* __tstate = wxPyBeginAllowThreads();
9241 (arg1)->Dismiss();
9242
9243 wxPyEndAllowThreads(__tstate);
9244 if (PyErr_Occurred()) SWIG_fail;
9245 }
9246 Py_INCREF(Py_None); resultobj = Py_None;
9247 return resultobj;
9248 fail:
9249 return NULL;
9250}
9251
9252
c32bde28 9253static PyObject * PopupTransientWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
9254 PyObject *obj;
9255 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9256 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
9257 Py_INCREF(obj);
9258 return Py_BuildValue((char *)"");
9259}
c32bde28 9260static PyObject *_wrap_new_TipWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9261 PyObject *resultobj;
9262 wxWindow *arg1 = (wxWindow *) 0 ;
fd3f2efe 9263 wxString *arg2 = 0 ;
e811c8ce 9264 int arg3 = (int) 100 ;
d14a1e28
RD
9265 wxRect *arg4 = (wxRect *) NULL ;
9266 wxTipWindow *result;
ae8162c8 9267 bool temp2 = false ;
d14a1e28
RD
9268 PyObject * obj0 = 0 ;
9269 PyObject * obj1 = 0 ;
994141e6 9270 PyObject * obj2 = 0 ;
d14a1e28
RD
9271 PyObject * obj3 = 0 ;
9272 char *kwnames[] = {
9273 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
9274 };
9275
994141e6 9276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
9277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
fd3f2efe
RD
9279 {
9280 arg2 = wxString_in_helper(obj1);
9281 if (arg2 == NULL) SWIG_fail;
ae8162c8 9282 temp2 = true;
fd3f2efe 9283 }
994141e6 9284 if (obj2) {
c32bde28 9285 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 9286 if (PyErr_Occurred()) SWIG_fail;
994141e6 9287 }
d14a1e28 9288 if (obj3) {
15afbcd0
RD
9289 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect,
9290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9291 }
9292 {
e3b71cb8 9293 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 9294 PyThreadState* __tstate = wxPyBeginAllowThreads();
fd3f2efe 9295 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
d14a1e28
RD
9296
9297 wxPyEndAllowThreads(__tstate);
110da5b0 9298 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 9299 }
15afbcd0 9300 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
fd3f2efe
RD
9301 {
9302 if (temp2)
9303 delete arg2;
9304 }
d14a1e28
RD
9305 return resultobj;
9306 fail:
fd3f2efe
RD
9307 {
9308 if (temp2)
9309 delete arg2;
9310 }
d14a1e28
RD
9311 return NULL;
9312}
9313
9314
c32bde28 9315static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9316 PyObject *resultobj;
9317 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
9318 wxRect *arg2 = 0 ;
9319 wxRect temp2 ;
9320 PyObject * obj0 = 0 ;
9321 PyObject * obj1 = 0 ;
9322 char *kwnames[] = {
9323 (char *) "self",(char *) "rectBound", NULL
9324 };
9325
9326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
9328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9329 {
9330 arg2 = &temp2;
9331 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
9332 }
9333 {
9334 PyThreadState* __tstate = wxPyBeginAllowThreads();
9335 (arg1)->SetBoundingRect((wxRect const &)*arg2);
9336
9337 wxPyEndAllowThreads(__tstate);
9338 if (PyErr_Occurred()) SWIG_fail;
9339 }
9340 Py_INCREF(Py_None); resultobj = Py_None;
9341 return resultobj;
9342 fail:
9343 return NULL;
9344}
9345
9346
c32bde28 9347static PyObject *_wrap_TipWindow_Close(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9348 PyObject *resultobj;
9349 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
9350 PyObject * obj0 = 0 ;
9351 char *kwnames[] = {
9352 (char *) "self", NULL
9353 };
9354
9355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
15afbcd0
RD
9356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
9357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9358 {
9359 PyThreadState* __tstate = wxPyBeginAllowThreads();
9360 (arg1)->Close();
9361
9362 wxPyEndAllowThreads(__tstate);
9363 if (PyErr_Occurred()) SWIG_fail;
9364 }
9365 Py_INCREF(Py_None); resultobj = Py_None;
9366 return resultobj;
9367 fail:
9368 return NULL;
9369}
9370
9371
c32bde28 9372static PyObject * TipWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
9373 PyObject *obj;
9374 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9375 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
9376 Py_INCREF(obj);
9377 return Py_BuildValue((char *)"");
9378}
c32bde28 9379static PyObject *_wrap_new_VScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9380 PyObject *resultobj;
9381 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 9382 int arg2 = (int) wxID_ANY ;
d14a1e28
RD
9383 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9384 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9385 wxSize const &arg4_defvalue = wxDefaultSize ;
9386 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9387 long arg5 = (long) 0 ;
9388 wxString const &arg6_defvalue = wxPyPanelNameStr ;
9389 wxString *arg6 = (wxString *) &arg6_defvalue ;
9390 wxPyVScrolledWindow *result;
9391 wxPoint temp3 ;
9392 wxSize temp4 ;
ae8162c8 9393 bool temp6 = false ;
d14a1e28 9394 PyObject * obj0 = 0 ;
994141e6 9395 PyObject * obj1 = 0 ;
d14a1e28
RD
9396 PyObject * obj2 = 0 ;
9397 PyObject * obj3 = 0 ;
994141e6 9398 PyObject * obj4 = 0 ;
d14a1e28
RD
9399 PyObject * obj5 = 0 ;
9400 char *kwnames[] = {
9401 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9402 };
9403
994141e6 9404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
9405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 9407 if (obj1) {
c32bde28 9408 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 9409 if (PyErr_Occurred()) SWIG_fail;
994141e6 9410 }
d14a1e28
RD
9411 if (obj2) {
9412 {
9413 arg3 = &temp3;
9414 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9415 }
9416 }
9417 if (obj3) {
9418 {
9419 arg4 = &temp4;
9420 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9421 }
9422 }
994141e6 9423 if (obj4) {
c32bde28 9424 arg5 = (long)SWIG_As_long(obj4);
15afbcd0 9425 if (PyErr_Occurred()) SWIG_fail;
994141e6 9426 }
d14a1e28
RD
9427 if (obj5) {
9428 {
9429 arg6 = wxString_in_helper(obj5);
9430 if (arg6 == NULL) SWIG_fail;
ae8162c8 9431 temp6 = true;
d14a1e28
RD
9432 }
9433 }
9434 {
e3b71cb8 9435 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
9436 PyThreadState* __tstate = wxPyBeginAllowThreads();
9437 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9438
9439 wxPyEndAllowThreads(__tstate);
110da5b0 9440 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 9441 }
15afbcd0 9442 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
d14a1e28
RD
9443 {
9444 if (temp6)
9445 delete arg6;
9446 }
9447 return resultobj;
9448 fail:
9449 {
9450 if (temp6)
9451 delete arg6;
9452 }
9453 return NULL;
9454}
9455
9456
c32bde28 9457static PyObject *_wrap_new_PreVScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9458 PyObject *resultobj;
9459 wxPyVScrolledWindow *result;
9460 char *kwnames[] = {
9461 NULL
9462 };
9463
9464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
9465 {
e3b71cb8 9466 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
9467 PyThreadState* __tstate = wxPyBeginAllowThreads();
9468 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
9469
9470 wxPyEndAllowThreads(__tstate);
110da5b0 9471 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 9472 }
15afbcd0 9473 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
d14a1e28
RD
9474 return resultobj;
9475 fail:
9476 return NULL;
9477}
9478
9479
c32bde28 9480static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9481 PyObject *resultobj;
9482 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9483 PyObject *arg2 = (PyObject *) 0 ;
9484 PyObject *arg3 = (PyObject *) 0 ;
9485 PyObject * obj0 = 0 ;
9486 PyObject * obj1 = 0 ;
9487 PyObject * obj2 = 0 ;
9488 char *kwnames[] = {
9489 (char *) "self",(char *) "self",(char *) "_class", NULL
9490 };
9491
9492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9495 arg2 = obj1;
9496 arg3 = obj2;
9497 {
9498 PyThreadState* __tstate = wxPyBeginAllowThreads();
9499 (arg1)->_setCallbackInfo(arg2,arg3);
9500
9501 wxPyEndAllowThreads(__tstate);
9502 if (PyErr_Occurred()) SWIG_fail;
9503 }
9504 Py_INCREF(Py_None); resultobj = Py_None;
9505 return resultobj;
9506 fail:
9507 return NULL;
9508}
9509
9510
c32bde28 9511static PyObject *_wrap_VScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9512 PyObject *resultobj;
9513 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9514 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 9515 int arg3 = (int) wxID_ANY ;
d14a1e28
RD
9516 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9517 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9518 wxSize const &arg5_defvalue = wxDefaultSize ;
9519 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9520 long arg6 = (long) 0 ;
9521 wxString const &arg7_defvalue = wxPyPanelNameStr ;
9522 wxString *arg7 = (wxString *) &arg7_defvalue ;
9523 bool result;
9524 wxPoint temp4 ;
9525 wxSize temp5 ;
ae8162c8 9526 bool temp7 = false ;
d14a1e28
RD
9527 PyObject * obj0 = 0 ;
9528 PyObject * obj1 = 0 ;
994141e6 9529 PyObject * obj2 = 0 ;
d14a1e28
RD
9530 PyObject * obj3 = 0 ;
9531 PyObject * obj4 = 0 ;
994141e6 9532 PyObject * obj5 = 0 ;
d14a1e28
RD
9533 PyObject * obj6 = 0 ;
9534 char *kwnames[] = {
9535 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9536 };
9537
994141e6 9538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
9539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9541 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 9543 if (obj2) {
c32bde28 9544 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 9545 if (PyErr_Occurred()) SWIG_fail;
994141e6 9546 }
d14a1e28
RD
9547 if (obj3) {
9548 {
9549 arg4 = &temp4;
9550 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9551 }
9552 }
9553 if (obj4) {
9554 {
9555 arg5 = &temp5;
9556 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9557 }
9558 }
994141e6 9559 if (obj5) {
c32bde28 9560 arg6 = (long)SWIG_As_long(obj5);
15afbcd0 9561 if (PyErr_Occurred()) SWIG_fail;
994141e6 9562 }
d14a1e28
RD
9563 if (obj6) {
9564 {
9565 arg7 = wxString_in_helper(obj6);
9566 if (arg7 == NULL) SWIG_fail;
ae8162c8 9567 temp7 = true;
d14a1e28
RD
9568 }
9569 }
9570 {
9571 PyThreadState* __tstate = wxPyBeginAllowThreads();
9572 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9573
9574 wxPyEndAllowThreads(__tstate);
9575 if (PyErr_Occurred()) SWIG_fail;
9576 }
4f89f6a3
RD
9577 {
9578 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9579 }
d14a1e28
RD
9580 {
9581 if (temp7)
9582 delete arg7;
9583 }
9584 return resultobj;
9585 fail:
9586 {
9587 if (temp7)
9588 delete arg7;
9589 }
9590 return NULL;
9591}
9592
9593
c32bde28 9594static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9595 PyObject *resultobj;
9596 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9597 size_t arg2 ;
9598 PyObject * obj0 = 0 ;
9599 PyObject * obj1 = 0 ;
9600 char *kwnames[] = {
9601 (char *) "self",(char *) "count", NULL
9602 };
9603
9604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9607 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 9608 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9609 {
9610 PyThreadState* __tstate = wxPyBeginAllowThreads();
9611 (arg1)->SetLineCount(arg2);
9612
9613 wxPyEndAllowThreads(__tstate);
9614 if (PyErr_Occurred()) SWIG_fail;
9615 }
9616 Py_INCREF(Py_None); resultobj = Py_None;
9617 return resultobj;
9618 fail:
9619 return NULL;
9620}
9621
9622
c32bde28 9623static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9624 PyObject *resultobj;
9625 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9626 size_t arg2 ;
9627 bool result;
9628 PyObject * obj0 = 0 ;
9629 PyObject * obj1 = 0 ;
9630 char *kwnames[] = {
9631 (char *) "self",(char *) "line", NULL
9632 };
9633
9634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9637 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 9638 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9639 {
9640 PyThreadState* __tstate = wxPyBeginAllowThreads();
9641 result = (bool)(arg1)->ScrollToLine(arg2);
9642
9643 wxPyEndAllowThreads(__tstate);
9644 if (PyErr_Occurred()) SWIG_fail;
9645 }
4f89f6a3
RD
9646 {
9647 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9648 }
d14a1e28
RD
9649 return resultobj;
9650 fail:
9651 return NULL;
9652}
9653
9654
c32bde28 9655static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9656 PyObject *resultobj;
9657 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9658 int arg2 ;
9659 bool result;
9660 PyObject * obj0 = 0 ;
994141e6 9661 PyObject * obj1 = 0 ;
d14a1e28
RD
9662 char *kwnames[] = {
9663 (char *) "self",(char *) "lines", NULL
9664 };
9665
994141e6 9666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9669 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 9670 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9671 {
9672 PyThreadState* __tstate = wxPyBeginAllowThreads();
9673 result = (bool)(arg1)->ScrollLines(arg2);
9674
9675 wxPyEndAllowThreads(__tstate);
9676 if (PyErr_Occurred()) SWIG_fail;
9677 }
4f89f6a3
RD
9678 {
9679 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9680 }
d14a1e28
RD
9681 return resultobj;
9682 fail:
9683 return NULL;
9684}
9685
9686
c32bde28 9687static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9688 PyObject *resultobj;
9689 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9690 int arg2 ;
9691 bool result;
9692 PyObject * obj0 = 0 ;
994141e6 9693 PyObject * obj1 = 0 ;
d14a1e28
RD
9694 char *kwnames[] = {
9695 (char *) "self",(char *) "pages", NULL
9696 };
9697
994141e6 9698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9701 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 9702 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9703 {
9704 PyThreadState* __tstate = wxPyBeginAllowThreads();
9705 result = (bool)(arg1)->ScrollPages(arg2);
9706
9707 wxPyEndAllowThreads(__tstate);
9708 if (PyErr_Occurred()) SWIG_fail;
9709 }
4f89f6a3
RD
9710 {
9711 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9712 }
d14a1e28
RD
9713 return resultobj;
9714 fail:
9715 return NULL;
9716}
9717
9718
c32bde28 9719static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9720 PyObject *resultobj;
9721 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9722 size_t arg2 ;
9723 PyObject * obj0 = 0 ;
9724 PyObject * obj1 = 0 ;
9725 char *kwnames[] = {
9726 (char *) "self",(char *) "line", NULL
9727 };
9728
9729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9732 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 9733 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9734 {
9735 PyThreadState* __tstate = wxPyBeginAllowThreads();
9736 (arg1)->RefreshLine(arg2);
9737
9738 wxPyEndAllowThreads(__tstate);
9739 if (PyErr_Occurred()) SWIG_fail;
9740 }
9741 Py_INCREF(Py_None); resultobj = Py_None;
9742 return resultobj;
9743 fail:
9744 return NULL;
9745}
9746
9747
c32bde28 9748static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9749 PyObject *resultobj;
9750 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9751 size_t arg2 ;
9752 size_t arg3 ;
9753 PyObject * obj0 = 0 ;
9754 PyObject * obj1 = 0 ;
9755 PyObject * obj2 = 0 ;
9756 char *kwnames[] = {
9757 (char *) "self",(char *) "from",(char *) "to", NULL
9758 };
9759
9760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9763 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 9764 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9765 arg3 = (size_t)SWIG_As_unsigned_SS_long(obj2);
15afbcd0 9766 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9767 {
9768 PyThreadState* __tstate = wxPyBeginAllowThreads();
9769 (arg1)->RefreshLines(arg2,arg3);
9770
9771 wxPyEndAllowThreads(__tstate);
9772 if (PyErr_Occurred()) SWIG_fail;
9773 }
9774 Py_INCREF(Py_None); resultobj = Py_None;
9775 return resultobj;
9776 fail:
9777 return NULL;
9778}
9779
9780
c32bde28 9781static PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9782 PyObject *resultobj;
9783 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
e811c8ce
RD
9784 int arg2 ;
9785 int arg3 ;
d14a1e28
RD
9786 int result;
9787 PyObject * obj0 = 0 ;
994141e6
RD
9788 PyObject * obj1 = 0 ;
9789 PyObject * obj2 = 0 ;
d14a1e28
RD
9790 char *kwnames[] = {
9791 (char *) "self",(char *) "x",(char *) "y", NULL
9792 };
9793
354693ff 9794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9797 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 9798 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9799 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 9800 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9801 {
9802 PyThreadState* __tstate = wxPyBeginAllowThreads();
9803 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
9804
9805 wxPyEndAllowThreads(__tstate);
9806 if (PyErr_Occurred()) SWIG_fail;
9807 }
c32bde28 9808 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
9809 return resultobj;
9810 fail:
9811 return NULL;
9812}
9813
9814
c32bde28 9815static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9816 PyObject *resultobj;
9817 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9818 wxPoint *arg2 = 0 ;
9819 int result;
9820 wxPoint temp2 ;
9821 PyObject * obj0 = 0 ;
9822 PyObject * obj1 = 0 ;
9823 char *kwnames[] = {
9824 (char *) "self",(char *) "pt", NULL
9825 };
9826
9827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9830 {
9831 arg2 = &temp2;
9832 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9833 }
9834 {
9835 PyThreadState* __tstate = wxPyBeginAllowThreads();
9836 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
9837
9838 wxPyEndAllowThreads(__tstate);
9839 if (PyErr_Occurred()) SWIG_fail;
9840 }
c32bde28 9841 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
9842 return resultobj;
9843 fail:
9844 return NULL;
9845}
9846
9847
c32bde28 9848static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9849 PyObject *resultobj;
9850 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9851 PyObject * obj0 = 0 ;
9852 char *kwnames[] = {
9853 (char *) "self", NULL
9854 };
9855
9856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
15afbcd0
RD
9857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9859 {
9860 PyThreadState* __tstate = wxPyBeginAllowThreads();
9861 (arg1)->RefreshAll();
9862
9863 wxPyEndAllowThreads(__tstate);
9864 if (PyErr_Occurred()) SWIG_fail;
9865 }
9866 Py_INCREF(Py_None); resultobj = Py_None;
9867 return resultobj;
9868 fail:
9869 return NULL;
9870}
9871
9872
c32bde28 9873static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9874 PyObject *resultobj;
9875 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9876 size_t result;
9877 PyObject * obj0 = 0 ;
9878 char *kwnames[] = {
9879 (char *) "self", NULL
9880 };
9881
9882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
9883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9885 {
9886 PyThreadState* __tstate = wxPyBeginAllowThreads();
9887 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
9888
9889 wxPyEndAllowThreads(__tstate);
9890 if (PyErr_Occurred()) SWIG_fail;
9891 }
c32bde28 9892 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
d14a1e28
RD
9893 return resultobj;
9894 fail:
9895 return NULL;
9896}
9897
9898
c32bde28 9899static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9900 PyObject *resultobj;
9901 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9902 size_t result;
9903 PyObject * obj0 = 0 ;
9904 char *kwnames[] = {
9905 (char *) "self", NULL
9906 };
9907
9908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
15afbcd0
RD
9909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9911 {
9912 PyThreadState* __tstate = wxPyBeginAllowThreads();
9913 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
9914
9915 wxPyEndAllowThreads(__tstate);
9916 if (PyErr_Occurred()) SWIG_fail;
9917 }
c32bde28 9918 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
d14a1e28
RD
9919 return resultobj;
9920 fail:
9921 return NULL;
9922}
9923
9924
c32bde28 9925static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9926 PyObject *resultobj;
9927 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9928 size_t result;
9929 PyObject * obj0 = 0 ;
9930 char *kwnames[] = {
9931 (char *) "self", NULL
9932 };
9933
9934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
15afbcd0
RD
9935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9937 {
9938 PyThreadState* __tstate = wxPyBeginAllowThreads();
9939 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
9940
9941 wxPyEndAllowThreads(__tstate);
9942 if (PyErr_Occurred()) SWIG_fail;
9943 }
c32bde28 9944 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
d14a1e28
RD
9945 return resultobj;
9946 fail:
9947 return NULL;
9948}
9949
9950
c32bde28 9951static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9952 PyObject *resultobj;
9953 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9954 size_t arg2 ;
9955 bool result;
9956 PyObject * obj0 = 0 ;
9957 PyObject * obj1 = 0 ;
9958 char *kwnames[] = {
9959 (char *) "self",(char *) "line", NULL
9960 };
9961
9962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9965 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 9966 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9967 {
9968 PyThreadState* __tstate = wxPyBeginAllowThreads();
9969 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
9970
9971 wxPyEndAllowThreads(__tstate);
9972 if (PyErr_Occurred()) SWIG_fail;
9973 }
4f89f6a3
RD
9974 {
9975 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9976 }
d14a1e28
RD
9977 return resultobj;
9978 fail:
9979 return NULL;
9980}
9981
9982
c32bde28 9983static PyObject * VScrolledWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
9984 PyObject *obj;
9985 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9986 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
9987 Py_INCREF(obj);
9988 return Py_BuildValue((char *)"");
9989}
c32bde28 9990static int _wrap_VListBoxNameStr_set(PyObject *) {
b2dc1044
RD
9991 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
9992 return 1;
9993}
9994
9995
9996static PyObject *_wrap_VListBoxNameStr_get() {
9997 PyObject *pyobj;
9998
9999 {
10000#if wxUSE_UNICODE
10001 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
10002#else
10003 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
10004#endif
10005 }
10006 return pyobj;
10007}
10008
10009
c32bde28 10010static PyObject *_wrap_new_VListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10011 PyObject *resultobj;
10012 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 10013 int arg2 = (int) wxID_ANY ;
d14a1e28
RD
10014 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10015 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10016 wxSize const &arg4_defvalue = wxDefaultSize ;
10017 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10018 long arg5 = (long) 0 ;
10019 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
10020 wxString *arg6 = (wxString *) &arg6_defvalue ;
10021 wxPyVListBox *result;
10022 wxPoint temp3 ;
10023 wxSize temp4 ;
ae8162c8 10024 bool temp6 = false ;
d14a1e28 10025 PyObject * obj0 = 0 ;
994141e6 10026 PyObject * obj1 = 0 ;
d14a1e28
RD
10027 PyObject * obj2 = 0 ;
10028 PyObject * obj3 = 0 ;
994141e6 10029 PyObject * obj4 = 0 ;
d14a1e28
RD
10030 PyObject * obj5 = 0 ;
10031 char *kwnames[] = {
10032 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10033 };
10034
994141e6 10035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
10036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 10038 if (obj1) {
c32bde28 10039 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 10040 if (PyErr_Occurred()) SWIG_fail;
994141e6 10041 }
d14a1e28
RD
10042 if (obj2) {
10043 {
10044 arg3 = &temp3;
10045 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10046 }
10047 }
10048 if (obj3) {
10049 {
10050 arg4 = &temp4;
10051 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10052 }
10053 }
994141e6 10054 if (obj4) {
c32bde28 10055 arg5 = (long)SWIG_As_long(obj4);
15afbcd0 10056 if (PyErr_Occurred()) SWIG_fail;
994141e6 10057 }
d14a1e28
RD
10058 if (obj5) {
10059 {
10060 arg6 = wxString_in_helper(obj5);
10061 if (arg6 == NULL) SWIG_fail;
ae8162c8 10062 temp6 = true;
d14a1e28
RD
10063 }
10064 }
10065 {
e3b71cb8 10066 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
10067 PyThreadState* __tstate = wxPyBeginAllowThreads();
10068 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10069
10070 wxPyEndAllowThreads(__tstate);
110da5b0 10071 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 10072 }
15afbcd0 10073 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
d14a1e28
RD
10074 {
10075 if (temp6)
10076 delete arg6;
10077 }
10078 return resultobj;
10079 fail:
10080 {
10081 if (temp6)
10082 delete arg6;
10083 }
10084 return NULL;
10085}
10086
10087
c32bde28 10088static PyObject *_wrap_new_PreVListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10089 PyObject *resultobj;
10090 wxPyVListBox *result;
10091 char *kwnames[] = {
10092 NULL
10093 };
10094
10095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
10096 {
e3b71cb8 10097 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
10098 PyThreadState* __tstate = wxPyBeginAllowThreads();
10099 result = (wxPyVListBox *)new wxPyVListBox();
10100
10101 wxPyEndAllowThreads(__tstate);
110da5b0 10102 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 10103 }
15afbcd0 10104 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
d14a1e28
RD
10105 return resultobj;
10106 fail:
10107 return NULL;
10108}
10109
10110
c32bde28 10111static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10112 PyObject *resultobj;
10113 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10114 PyObject *arg2 = (PyObject *) 0 ;
10115 PyObject *arg3 = (PyObject *) 0 ;
10116 PyObject * obj0 = 0 ;
10117 PyObject * obj1 = 0 ;
10118 PyObject * obj2 = 0 ;
10119 char *kwnames[] = {
10120 (char *) "self",(char *) "self",(char *) "_class", NULL
10121 };
10122
10123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
10124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10126 arg2 = obj1;
10127 arg3 = obj2;
10128 {
10129 PyThreadState* __tstate = wxPyBeginAllowThreads();
10130 (arg1)->_setCallbackInfo(arg2,arg3);
10131
10132 wxPyEndAllowThreads(__tstate);
10133 if (PyErr_Occurred()) SWIG_fail;
10134 }
10135 Py_INCREF(Py_None); resultobj = Py_None;
10136 return resultobj;
10137 fail:
10138 return NULL;
10139}
10140
10141
c32bde28 10142static PyObject *_wrap_VListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10143 PyObject *resultobj;
10144 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10145 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 10146 int arg3 = (int) wxID_ANY ;
d14a1e28
RD
10147 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10148 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10149 wxSize const &arg5_defvalue = wxDefaultSize ;
10150 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10151 long arg6 = (long) 0 ;
10152 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
10153 wxString *arg7 = (wxString *) &arg7_defvalue ;
10154 bool result;
10155 wxPoint temp4 ;
10156 wxSize temp5 ;
ae8162c8 10157 bool temp7 = false ;
d14a1e28
RD
10158 PyObject * obj0 = 0 ;
10159 PyObject * obj1 = 0 ;
994141e6 10160 PyObject * obj2 = 0 ;
d14a1e28
RD
10161 PyObject * obj3 = 0 ;
10162 PyObject * obj4 = 0 ;
994141e6 10163 PyObject * obj5 = 0 ;
d14a1e28
RD
10164 PyObject * obj6 = 0 ;
10165 char *kwnames[] = {
10166 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10167 };
10168
994141e6 10169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
10170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10172 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 10174 if (obj2) {
c32bde28 10175 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 10176 if (PyErr_Occurred()) SWIG_fail;
994141e6 10177 }
d14a1e28
RD
10178 if (obj3) {
10179 {
10180 arg4 = &temp4;
10181 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10182 }
10183 }
10184 if (obj4) {
10185 {
10186 arg5 = &temp5;
10187 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10188 }
10189 }
994141e6 10190 if (obj5) {
c32bde28 10191 arg6 = (long)SWIG_As_long(obj5);
15afbcd0 10192 if (PyErr_Occurred()) SWIG_fail;
994141e6 10193 }
d14a1e28
RD
10194 if (obj6) {
10195 {
10196 arg7 = wxString_in_helper(obj6);
10197 if (arg7 == NULL) SWIG_fail;
ae8162c8 10198 temp7 = true;
d14a1e28
RD
10199 }
10200 }
10201 {
10202 PyThreadState* __tstate = wxPyBeginAllowThreads();
10203 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10204
10205 wxPyEndAllowThreads(__tstate);
10206 if (PyErr_Occurred()) SWIG_fail;
10207 }
4f89f6a3
RD
10208 {
10209 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10210 }
d14a1e28
RD
10211 {
10212 if (temp7)
10213 delete arg7;
10214 }
10215 return resultobj;
10216 fail:
10217 {
10218 if (temp7)
10219 delete arg7;
10220 }
10221 return NULL;
10222}
10223
10224
c32bde28 10225static PyObject *_wrap_VListBox_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10226 PyObject *resultobj;
10227 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10228 size_t result;
10229 PyObject * obj0 = 0 ;
10230 char *kwnames[] = {
10231 (char *) "self", NULL
10232 };
10233
10234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
10235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10237 {
10238 PyThreadState* __tstate = wxPyBeginAllowThreads();
10239 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
10240
10241 wxPyEndAllowThreads(__tstate);
10242 if (PyErr_Occurred()) SWIG_fail;
10243 }
c32bde28 10244 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
d14a1e28
RD
10245 return resultobj;
10246 fail:
10247 return NULL;
10248}
10249
10250
c32bde28 10251static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10252 PyObject *resultobj;
10253 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10254 bool result;
10255 PyObject * obj0 = 0 ;
10256 char *kwnames[] = {
10257 (char *) "self", NULL
10258 };
10259
10260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
10261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10263 {
10264 PyThreadState* __tstate = wxPyBeginAllowThreads();
10265 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
10266
10267 wxPyEndAllowThreads(__tstate);
10268 if (PyErr_Occurred()) SWIG_fail;
10269 }
4f89f6a3
RD
10270 {
10271 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10272 }
d14a1e28
RD
10273 return resultobj;
10274 fail:
10275 return NULL;
10276}
10277
10278
c32bde28 10279static PyObject *_wrap_VListBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10280 PyObject *resultobj;
10281 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10282 int result;
10283 PyObject * obj0 = 0 ;
10284 char *kwnames[] = {
10285 (char *) "self", NULL
10286 };
10287
10288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
10289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10291 {
10292 PyThreadState* __tstate = wxPyBeginAllowThreads();
10293 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
10294
10295 wxPyEndAllowThreads(__tstate);
10296 if (PyErr_Occurred()) SWIG_fail;
10297 }
c32bde28 10298 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
10299 return resultobj;
10300 fail:
10301 return NULL;
10302}
10303
10304
c32bde28 10305static PyObject *_wrap_VListBox_IsCurrent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10306 PyObject *resultobj;
10307 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10308 size_t arg2 ;
10309 bool result;
10310 PyObject * obj0 = 0 ;
10311 PyObject * obj1 = 0 ;
10312 char *kwnames[] = {
10313 (char *) "self",(char *) "item", NULL
10314 };
10315
10316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10319 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 10320 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10321 {
10322 PyThreadState* __tstate = wxPyBeginAllowThreads();
10323 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
10324
10325 wxPyEndAllowThreads(__tstate);
10326 if (PyErr_Occurred()) SWIG_fail;
10327 }
4f89f6a3
RD
10328 {
10329 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10330 }
d14a1e28
RD
10331 return resultobj;
10332 fail:
10333 return NULL;
10334}
10335
10336
c32bde28 10337static PyObject *_wrap_VListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10338 PyObject *resultobj;
10339 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10340 size_t arg2 ;
10341 bool result;
10342 PyObject * obj0 = 0 ;
10343 PyObject * obj1 = 0 ;
10344 char *kwnames[] = {
10345 (char *) "self",(char *) "item", NULL
10346 };
10347
10348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10351 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 10352 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10353 {
10354 PyThreadState* __tstate = wxPyBeginAllowThreads();
10355 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
10356
10357 wxPyEndAllowThreads(__tstate);
10358 if (PyErr_Occurred()) SWIG_fail;
10359 }
4f89f6a3
RD
10360 {
10361 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10362 }
d14a1e28
RD
10363 return resultobj;
10364 fail:
10365 return NULL;
10366}
10367
10368
c32bde28 10369static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10370 PyObject *resultobj;
10371 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10372 size_t result;
10373 PyObject * obj0 = 0 ;
10374 char *kwnames[] = {
10375 (char *) "self", NULL
10376 };
10377
10378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
10379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10381 {
10382 PyThreadState* __tstate = wxPyBeginAllowThreads();
10383 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
10384
10385 wxPyEndAllowThreads(__tstate);
10386 if (PyErr_Occurred()) SWIG_fail;
10387 }
c32bde28 10388 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
d14a1e28
RD
10389 return resultobj;
10390 fail:
10391 return NULL;
10392}
10393
10394
c32bde28 10395static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10396 PyObject *resultobj;
10397 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
09c21d3b 10398 PyObject *result;
d14a1e28 10399 PyObject * obj0 = 0 ;
d14a1e28 10400 char *kwnames[] = {
09c21d3b 10401 (char *) "self", NULL
d14a1e28
RD
10402 };
10403
09c21d3b 10404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetFirstSelected",kwnames,&obj0)) goto fail;
15afbcd0
RD
10405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10407 {
10408 PyThreadState* __tstate = wxPyBeginAllowThreads();
09c21d3b 10409 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
d14a1e28
RD
10410
10411 wxPyEndAllowThreads(__tstate);
10412 if (PyErr_Occurred()) SWIG_fail;
10413 }
09c21d3b 10414 resultobj = result;
d14a1e28
RD
10415 return resultobj;
10416 fail:
10417 return NULL;
10418}
10419
10420
c32bde28 10421static PyObject *_wrap_VListBox_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10422 PyObject *resultobj;
10423 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
09c21d3b
RD
10424 unsigned long arg2 ;
10425 PyObject *result;
d14a1e28
RD
10426 PyObject * obj0 = 0 ;
10427 PyObject * obj1 = 0 ;
10428 char *kwnames[] = {
10429 (char *) "self",(char *) "cookie", NULL
10430 };
10431
10432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10435 arg2 = (unsigned long)SWIG_As_unsigned_SS_long(obj1);
09c21d3b 10436 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10437 {
10438 PyThreadState* __tstate = wxPyBeginAllowThreads();
09c21d3b 10439 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
d14a1e28
RD
10440
10441 wxPyEndAllowThreads(__tstate);
10442 if (PyErr_Occurred()) SWIG_fail;
10443 }
09c21d3b 10444 resultobj = result;
d14a1e28
RD
10445 return resultobj;
10446 fail:
10447 return NULL;
10448}
10449
10450
c32bde28 10451static PyObject *_wrap_VListBox_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10452 PyObject *resultobj;
10453 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10454 wxPoint result;
10455 PyObject * obj0 = 0 ;
10456 char *kwnames[] = {
10457 (char *) "self", NULL
10458 };
10459
10460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
15afbcd0
RD
10461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10463 {
10464 PyThreadState* __tstate = wxPyBeginAllowThreads();
10465 result = ((wxPyVListBox const *)arg1)->GetMargins();
10466
10467 wxPyEndAllowThreads(__tstate);
10468 if (PyErr_Occurred()) SWIG_fail;
10469 }
10470 {
10471 wxPoint * resultptr;
10472 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 10473 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
10474 }
10475 return resultobj;
10476 fail:
10477 return NULL;
10478}
10479
10480
c32bde28 10481static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10482 PyObject *resultobj;
10483 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10484 wxColour *result;
10485 PyObject * obj0 = 0 ;
10486 char *kwnames[] = {
10487 (char *) "self", NULL
10488 };
10489
10490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
15afbcd0
RD
10491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10493 {
10494 PyThreadState* __tstate = wxPyBeginAllowThreads();
10495 {
10496 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
10497 result = (wxColour *) &_result_ref;
10498 }
10499
10500 wxPyEndAllowThreads(__tstate);
10501 if (PyErr_Occurred()) SWIG_fail;
10502 }
15afbcd0 10503 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
10504 return resultobj;
10505 fail:
10506 return NULL;
10507}
10508
10509
c32bde28 10510static PyObject *_wrap_VListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10511 PyObject *resultobj;
10512 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10513 size_t arg2 ;
10514 PyObject * obj0 = 0 ;
10515 PyObject * obj1 = 0 ;
10516 char *kwnames[] = {
10517 (char *) "self",(char *) "count", NULL
10518 };
10519
10520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10523 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 10524 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10525 {
10526 PyThreadState* __tstate = wxPyBeginAllowThreads();
10527 (arg1)->SetItemCount(arg2);
10528
10529 wxPyEndAllowThreads(__tstate);
10530 if (PyErr_Occurred()) SWIG_fail;
10531 }
10532 Py_INCREF(Py_None); resultobj = Py_None;
10533 return resultobj;
10534 fail:
10535 return NULL;
10536}
10537
10538
c32bde28 10539static PyObject *_wrap_VListBox_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10540 PyObject *resultobj;
10541 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10542 PyObject * obj0 = 0 ;
10543 char *kwnames[] = {
10544 (char *) "self", NULL
10545 };
10546
10547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
15afbcd0
RD
10548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10550 {
10551 PyThreadState* __tstate = wxPyBeginAllowThreads();
10552 (arg1)->Clear();
10553
10554 wxPyEndAllowThreads(__tstate);
10555 if (PyErr_Occurred()) SWIG_fail;
10556 }
10557 Py_INCREF(Py_None); resultobj = Py_None;
10558 return resultobj;
10559 fail:
10560 return NULL;
10561}
10562
10563
c32bde28 10564static PyObject *_wrap_VListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10565 PyObject *resultobj;
10566 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10567 int arg2 ;
10568 PyObject * obj0 = 0 ;
994141e6 10569 PyObject * obj1 = 0 ;
d14a1e28
RD
10570 char *kwnames[] = {
10571 (char *) "self",(char *) "selection", NULL
10572 };
10573
994141e6 10574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10577 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 10578 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10579 {
10580 PyThreadState* __tstate = wxPyBeginAllowThreads();
10581 (arg1)->SetSelection(arg2);
10582
10583 wxPyEndAllowThreads(__tstate);
10584 if (PyErr_Occurred()) SWIG_fail;
10585 }
10586 Py_INCREF(Py_None); resultobj = Py_None;
10587 return resultobj;
10588 fail:
10589 return NULL;
10590}
10591
10592
c32bde28 10593static PyObject *_wrap_VListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10594 PyObject *resultobj;
10595 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10596 size_t arg2 ;
ae8162c8 10597 bool arg3 = (bool) true ;
d14a1e28
RD
10598 bool result;
10599 PyObject * obj0 = 0 ;
10600 PyObject * obj1 = 0 ;
10601 PyObject * obj2 = 0 ;
10602 char *kwnames[] = {
10603 (char *) "self",(char *) "item",(char *) "select", NULL
10604 };
10605
10606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
10607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10609 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 10610 if (PyErr_Occurred()) SWIG_fail;
a41e16b6 10611 if (obj2) {
c32bde28 10612 arg3 = (bool)SWIG_As_bool(obj2);
15afbcd0 10613 if (PyErr_Occurred()) SWIG_fail;
a41e16b6 10614 }
d14a1e28
RD
10615 {
10616 PyThreadState* __tstate = wxPyBeginAllowThreads();
10617 result = (bool)(arg1)->Select(arg2,arg3);
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_SelectRange(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10632 PyObject *resultobj;
10633 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10634 size_t arg2 ;
10635 size_t arg3 ;
10636 bool result;
10637 PyObject * obj0 = 0 ;
10638 PyObject * obj1 = 0 ;
10639 PyObject * obj2 = 0 ;
15afbcd0
RD
10640 char *kwnames[] = {
10641 (char *) "self",(char *) "from",(char *) "to", NULL
10642 };
10643
10644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10647 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 10648 if (PyErr_Occurred()) SWIG_fail;
c32bde28 10649 arg3 = (size_t)SWIG_As_unsigned_SS_long(obj2);
15afbcd0 10650 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10651 {
10652 PyThreadState* __tstate = wxPyBeginAllowThreads();
10653 result = (bool)(arg1)->SelectRange(arg2,arg3);
10654
10655 wxPyEndAllowThreads(__tstate);
10656 if (PyErr_Occurred()) SWIG_fail;
10657 }
4f89f6a3
RD
10658 {
10659 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10660 }
d14a1e28
RD
10661 return resultobj;
10662 fail:
10663 return NULL;
10664}
10665
10666
c32bde28 10667static PyObject *_wrap_VListBox_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10668 PyObject *resultobj;
10669 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10670 size_t arg2 ;
10671 PyObject * obj0 = 0 ;
10672 PyObject * obj1 = 0 ;
10673 char *kwnames[] = {
10674 (char *) "self",(char *) "item", NULL
10675 };
10676
10677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10680 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 10681 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10682 {
10683 PyThreadState* __tstate = wxPyBeginAllowThreads();
10684 (arg1)->Toggle(arg2);
10685
10686 wxPyEndAllowThreads(__tstate);
10687 if (PyErr_Occurred()) SWIG_fail;
10688 }
10689 Py_INCREF(Py_None); resultobj = Py_None;
10690 return resultobj;
10691 fail:
10692 return NULL;
10693}
10694
10695
c32bde28 10696static PyObject *_wrap_VListBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10697 PyObject *resultobj;
10698 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10699 bool result;
10700 PyObject * obj0 = 0 ;
10701 char *kwnames[] = {
10702 (char *) "self", NULL
10703 };
10704
10705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
15afbcd0
RD
10706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10708 {
10709 PyThreadState* __tstate = wxPyBeginAllowThreads();
10710 result = (bool)(arg1)->SelectAll();
10711
10712 wxPyEndAllowThreads(__tstate);
10713 if (PyErr_Occurred()) SWIG_fail;
10714 }
4f89f6a3
RD
10715 {
10716 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10717 }
d14a1e28
RD
10718 return resultobj;
10719 fail:
10720 return NULL;
10721}
10722
10723
c32bde28 10724static PyObject *_wrap_VListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10725 PyObject *resultobj;
10726 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10727 bool result;
10728 PyObject * obj0 = 0 ;
10729 char *kwnames[] = {
10730 (char *) "self", NULL
10731 };
10732
10733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
15afbcd0
RD
10734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10736 {
10737 PyThreadState* __tstate = wxPyBeginAllowThreads();
10738 result = (bool)(arg1)->DeselectAll();
10739
10740 wxPyEndAllowThreads(__tstate);
10741 if (PyErr_Occurred()) SWIG_fail;
10742 }
4f89f6a3
RD
10743 {
10744 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10745 }
d14a1e28
RD
10746 return resultobj;
10747 fail:
10748 return NULL;
10749}
10750
10751
c32bde28 10752static PyObject *_wrap_VListBox_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10753 PyObject *resultobj;
10754 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10755 wxPoint *arg2 = 0 ;
10756 wxPoint temp2 ;
10757 PyObject * obj0 = 0 ;
10758 PyObject * obj1 = 0 ;
10759 char *kwnames[] = {
10760 (char *) "self",(char *) "pt", NULL
10761 };
10762
10763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10766 {
10767 arg2 = &temp2;
10768 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10769 }
10770 {
10771 PyThreadState* __tstate = wxPyBeginAllowThreads();
10772 (arg1)->SetMargins((wxPoint const &)*arg2);
10773
10774 wxPyEndAllowThreads(__tstate);
10775 if (PyErr_Occurred()) SWIG_fail;
10776 }
10777 Py_INCREF(Py_None); resultobj = Py_None;
10778 return resultobj;
10779 fail:
10780 return NULL;
10781}
10782
10783
c32bde28 10784static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10785 PyObject *resultobj;
10786 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
e811c8ce
RD
10787 int arg2 ;
10788 int arg3 ;
d14a1e28 10789 PyObject * obj0 = 0 ;
994141e6
RD
10790 PyObject * obj1 = 0 ;
10791 PyObject * obj2 = 0 ;
d14a1e28
RD
10792 char *kwnames[] = {
10793 (char *) "self",(char *) "x",(char *) "y", NULL
10794 };
10795
994141e6 10796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
10797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10799 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 10800 if (PyErr_Occurred()) SWIG_fail;
c32bde28 10801 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 10802 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10803 {
10804 PyThreadState* __tstate = wxPyBeginAllowThreads();
10805 (arg1)->SetMargins(arg2,arg3);
10806
10807 wxPyEndAllowThreads(__tstate);
10808 if (PyErr_Occurred()) SWIG_fail;
10809 }
10810 Py_INCREF(Py_None); resultobj = Py_None;
10811 return resultobj;
10812 fail:
10813 return NULL;
10814}
10815
10816
c32bde28 10817static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10818 PyObject *resultobj;
10819 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10820 wxColour *arg2 = 0 ;
10821 wxColour temp2 ;
10822 PyObject * obj0 = 0 ;
10823 PyObject * obj1 = 0 ;
10824 char *kwnames[] = {
10825 (char *) "self",(char *) "col", NULL
10826 };
10827
10828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10831 {
10832 arg2 = &temp2;
10833 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10834 }
10835 {
10836 PyThreadState* __tstate = wxPyBeginAllowThreads();
10837 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
10838
10839 wxPyEndAllowThreads(__tstate);
10840 if (PyErr_Occurred()) SWIG_fail;
10841 }
10842 Py_INCREF(Py_None); resultobj = Py_None;
10843 return resultobj;
10844 fail:
10845 return NULL;
10846}
10847
10848
c32bde28 10849static PyObject * VListBox_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
10850 PyObject *obj;
10851 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10852 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
10853 Py_INCREF(obj);
10854 return Py_BuildValue((char *)"");
10855}
c32bde28 10856static PyObject *_wrap_new_HtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10857 PyObject *resultobj;
10858 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 10859 int arg2 = (int) wxID_ANY ;
d14a1e28
RD
10860 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10861 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10862 wxSize const &arg4_defvalue = wxDefaultSize ;
10863 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10864 long arg5 = (long) 0 ;
10865 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
10866 wxString *arg6 = (wxString *) &arg6_defvalue ;
10867 wxPyHtmlListBox *result;
10868 wxPoint temp3 ;
10869 wxSize temp4 ;
ae8162c8 10870 bool temp6 = false ;
d14a1e28 10871 PyObject * obj0 = 0 ;
994141e6 10872 PyObject * obj1 = 0 ;
d14a1e28
RD
10873 PyObject * obj2 = 0 ;
10874 PyObject * obj3 = 0 ;
994141e6 10875 PyObject * obj4 = 0 ;
d14a1e28
RD
10876 PyObject * obj5 = 0 ;
10877 char *kwnames[] = {
10878 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10879 };
10880
994141e6 10881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
10882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 10884 if (obj1) {
c32bde28 10885 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 10886 if (PyErr_Occurred()) SWIG_fail;
994141e6 10887 }
d14a1e28
RD
10888 if (obj2) {
10889 {
10890 arg3 = &temp3;
10891 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10892 }
10893 }
10894 if (obj3) {
10895 {
10896 arg4 = &temp4;
10897 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10898 }
10899 }
994141e6 10900 if (obj4) {
c32bde28 10901 arg5 = (long)SWIG_As_long(obj4);
15afbcd0 10902 if (PyErr_Occurred()) SWIG_fail;
994141e6 10903 }
d14a1e28
RD
10904 if (obj5) {
10905 {
10906 arg6 = wxString_in_helper(obj5);
10907 if (arg6 == NULL) SWIG_fail;
ae8162c8 10908 temp6 = true;
d14a1e28
RD
10909 }
10910 }
10911 {
e3b71cb8 10912 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
10913 PyThreadState* __tstate = wxPyBeginAllowThreads();
10914 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10915
10916 wxPyEndAllowThreads(__tstate);
110da5b0 10917 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 10918 }
15afbcd0 10919 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
d14a1e28
RD
10920 {
10921 if (temp6)
10922 delete arg6;
10923 }
10924 return resultobj;
10925 fail:
10926 {
10927 if (temp6)
10928 delete arg6;
10929 }
10930 return NULL;
10931}
10932
10933
c32bde28 10934static PyObject *_wrap_new_PreHtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10935 PyObject *resultobj;
10936 wxPyHtmlListBox *result;
10937 char *kwnames[] = {
10938 NULL
10939 };
10940
10941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
10942 {
e3b71cb8 10943 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
10944 PyThreadState* __tstate = wxPyBeginAllowThreads();
10945 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
10946
10947 wxPyEndAllowThreads(__tstate);
110da5b0 10948 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 10949 }
15afbcd0 10950 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
d14a1e28
RD
10951 return resultobj;
10952 fail:
10953 return NULL;
10954}
10955
10956
c32bde28 10957static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10958 PyObject *resultobj;
10959 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10960 PyObject *arg2 = (PyObject *) 0 ;
10961 PyObject *arg3 = (PyObject *) 0 ;
10962 PyObject * obj0 = 0 ;
10963 PyObject * obj1 = 0 ;
10964 PyObject * obj2 = 0 ;
10965 char *kwnames[] = {
10966 (char *) "self",(char *) "self",(char *) "_class", NULL
10967 };
10968
10969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
10970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10972 arg2 = obj1;
10973 arg3 = obj2;
10974 {
10975 PyThreadState* __tstate = wxPyBeginAllowThreads();
10976 (arg1)->_setCallbackInfo(arg2,arg3);
10977
10978 wxPyEndAllowThreads(__tstate);
10979 if (PyErr_Occurred()) SWIG_fail;
10980 }
10981 Py_INCREF(Py_None); resultobj = Py_None;
10982 return resultobj;
10983 fail:
10984 return NULL;
10985}
10986
10987
c32bde28 10988static PyObject *_wrap_HtmlListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10989 PyObject *resultobj;
10990 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10991 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 10992 int arg3 = (int) wxID_ANY ;
d14a1e28
RD
10993 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10994 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10995 wxSize const &arg5_defvalue = wxDefaultSize ;
10996 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10997 long arg6 = (long) 0 ;
10998 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
10999 wxString *arg7 = (wxString *) &arg7_defvalue ;
11000 bool result;
11001 wxPoint temp4 ;
11002 wxSize temp5 ;
ae8162c8 11003 bool temp7 = false ;
d14a1e28
RD
11004 PyObject * obj0 = 0 ;
11005 PyObject * obj1 = 0 ;
994141e6 11006 PyObject * obj2 = 0 ;
d14a1e28
RD
11007 PyObject * obj3 = 0 ;
11008 PyObject * obj4 = 0 ;
994141e6 11009 PyObject * obj5 = 0 ;
d14a1e28
RD
11010 PyObject * obj6 = 0 ;
11011 char *kwnames[] = {
11012 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11013 };
11014
994141e6 11015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
11016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
11017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11018 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
11019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 11020 if (obj2) {
c32bde28 11021 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 11022 if (PyErr_Occurred()) SWIG_fail;
994141e6 11023 }
d14a1e28
RD
11024 if (obj3) {
11025 {
11026 arg4 = &temp4;
11027 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11028 }
11029 }
11030 if (obj4) {
11031 {
11032 arg5 = &temp5;
11033 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11034 }
11035 }
994141e6 11036 if (obj5) {
c32bde28 11037 arg6 = (long)SWIG_As_long(obj5);
15afbcd0 11038 if (PyErr_Occurred()) SWIG_fail;
994141e6 11039 }
d14a1e28
RD
11040 if (obj6) {
11041 {
11042 arg7 = wxString_in_helper(obj6);
11043 if (arg7 == NULL) SWIG_fail;
ae8162c8 11044 temp7 = true;
d14a1e28
RD
11045 }
11046 }
11047 {
11048 PyThreadState* __tstate = wxPyBeginAllowThreads();
11049 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11050
11051 wxPyEndAllowThreads(__tstate);
11052 if (PyErr_Occurred()) SWIG_fail;
11053 }
4f89f6a3
RD
11054 {
11055 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11056 }
d14a1e28
RD
11057 {
11058 if (temp7)
11059 delete arg7;
11060 }
11061 return resultobj;
11062 fail:
11063 {
11064 if (temp7)
11065 delete arg7;
11066 }
11067 return NULL;
11068}
11069
11070
c32bde28 11071static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11072 PyObject *resultobj;
11073 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
11074 PyObject * obj0 = 0 ;
11075 char *kwnames[] = {
11076 (char *) "self", NULL
11077 };
11078
11079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
15afbcd0
RD
11080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
11081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11082 {
11083 PyThreadState* __tstate = wxPyBeginAllowThreads();
11084 (arg1)->RefreshAll();
11085
11086 wxPyEndAllowThreads(__tstate);
11087 if (PyErr_Occurred()) SWIG_fail;
11088 }
11089 Py_INCREF(Py_None); resultobj = Py_None;
11090 return resultobj;
11091 fail:
11092 return NULL;
11093}
11094
11095
c32bde28 11096static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11097 PyObject *resultobj;
11098 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
11099 size_t arg2 ;
11100 PyObject * obj0 = 0 ;
11101 PyObject * obj1 = 0 ;
11102 char *kwnames[] = {
11103 (char *) "self",(char *) "count", NULL
11104 };
11105
11106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
11108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11109 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 11110 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11111 {
11112 PyThreadState* __tstate = wxPyBeginAllowThreads();
11113 (arg1)->SetItemCount(arg2);
11114
11115 wxPyEndAllowThreads(__tstate);
11116 if (PyErr_Occurred()) SWIG_fail;
11117 }
11118 Py_INCREF(Py_None); resultobj = Py_None;
11119 return resultobj;
11120 fail:
11121 return NULL;
11122}
11123
11124
c32bde28 11125static PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *, PyObject *args, PyObject *kwargs) {
7fdaaabe
RD
11126 PyObject *resultobj;
11127 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
11128 wxFileSystem *result;
11129 PyObject * obj0 = 0 ;
11130 char *kwnames[] = {
11131 (char *) "self", NULL
11132 };
11133
11134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_GetFileSystem",kwnames,&obj0)) goto fail;
11135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
11136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11137 {
11138 PyThreadState* __tstate = wxPyBeginAllowThreads();
11139 {
11140 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
11141 result = (wxFileSystem *) &_result_ref;
11142 }
11143
11144 wxPyEndAllowThreads(__tstate);
11145 if (PyErr_Occurred()) SWIG_fail;
11146 }
11147 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileSystem, 0);
11148 return resultobj;
11149 fail:
11150 return NULL;
11151}
11152
11153
c32bde28 11154static PyObject * HtmlListBox_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11155 PyObject *obj;
11156 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11157 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
11158 Py_INCREF(obj);
11159 return Py_BuildValue((char *)"");
11160}
c32bde28 11161static PyObject *_wrap_new_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 11162 PyObject *resultobj;
5e483524 11163 wxPyTaskBarIcon *result;
d14a1e28
RD
11164 char *kwnames[] = {
11165 NULL
11166 };
11167
11168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
11169 {
e3b71cb8 11170 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 11171 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e483524 11172 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
d14a1e28
RD
11173
11174 wxPyEndAllowThreads(__tstate);
110da5b0 11175 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11176 }
5e483524 11177 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTaskBarIcon, 1);
d14a1e28
RD
11178 return resultobj;
11179 fail:
11180 return NULL;
11181}
11182
11183
5e483524 11184static PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 11185 PyObject *resultobj;
5e483524
RD
11186 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
11187 PyObject *arg2 = (PyObject *) 0 ;
11188 PyObject *arg3 = (PyObject *) 0 ;
11189 int arg4 ;
d14a1e28 11190 PyObject * obj0 = 0 ;
5e483524
RD
11191 PyObject * obj1 = 0 ;
11192 PyObject * obj2 = 0 ;
11193 PyObject * obj3 = 0 ;
d14a1e28 11194 char *kwnames[] = {
5e483524 11195 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
d14a1e28
RD
11196 };
11197
5e483524
RD
11198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon,
15afbcd0 11200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5e483524
RD
11201 arg2 = obj1;
11202 arg3 = obj2;
11203 arg4 = (int)SWIG_As_int(obj3);
11204 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11205 {
11206 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e483524 11207 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
d14a1e28
RD
11208
11209 wxPyEndAllowThreads(__tstate);
11210 if (PyErr_Occurred()) SWIG_fail;
11211 }
11212 Py_INCREF(Py_None); resultobj = Py_None;
11213 return resultobj;
11214 fail:
11215 return NULL;
11216}
11217
11218
c32bde28 11219static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
74a57fcd 11220 PyObject *resultobj;
5e483524 11221 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
74a57fcd
RD
11222 PyObject * obj0 = 0 ;
11223 char *kwnames[] = {
11224 (char *) "self", NULL
11225 };
11226
11227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail;
5e483524 11228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon,
74a57fcd
RD
11229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11230 {
11231 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e483524 11232 wxPyTaskBarIcon_Destroy(arg1);
74a57fcd
RD
11233
11234 wxPyEndAllowThreads(__tstate);
11235 if (PyErr_Occurred()) SWIG_fail;
11236 }
11237 Py_INCREF(Py_None); resultobj = Py_None;
11238 return resultobj;
11239 fail:
11240 return NULL;
11241}
11242
11243
c32bde28 11244static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 11245 PyObject *resultobj;
5e483524 11246 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
d14a1e28
RD
11247 bool result;
11248 PyObject * obj0 = 0 ;
11249 char *kwnames[] = {
11250 (char *) "self", NULL
11251 };
11252
11253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
5e483524 11254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon,
15afbcd0 11255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11256 {
11257 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e483524 11258 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
d14a1e28
RD
11259
11260 wxPyEndAllowThreads(__tstate);
11261 if (PyErr_Occurred()) SWIG_fail;
11262 }
4f89f6a3
RD
11263 {
11264 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11265 }
d14a1e28
RD
11266 return resultobj;
11267 fail:
11268 return NULL;
11269}
11270
11271
c32bde28 11272static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 11273 PyObject *resultobj;
5e483524 11274 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
d14a1e28
RD
11275 bool result;
11276 PyObject * obj0 = 0 ;
11277 char *kwnames[] = {
11278 (char *) "self", NULL
11279 };
11280
11281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
5e483524 11282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon,
15afbcd0 11283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11284 {
11285 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e483524 11286 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
d14a1e28
RD
11287
11288 wxPyEndAllowThreads(__tstate);
11289 if (PyErr_Occurred()) SWIG_fail;
11290 }
4f89f6a3
RD
11291 {
11292 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11293 }
d14a1e28
RD
11294 return resultobj;
11295 fail:
11296 return NULL;
11297}
11298
11299
c32bde28 11300static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 11301 PyObject *resultobj;
5e483524 11302 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
d14a1e28
RD
11303 wxIcon *arg2 = 0 ;
11304 wxString const &arg3_defvalue = wxPyEmptyString ;
11305 wxString *arg3 = (wxString *) &arg3_defvalue ;
11306 bool result;
ae8162c8 11307 bool temp3 = false ;
d14a1e28
RD
11308 PyObject * obj0 = 0 ;
11309 PyObject * obj1 = 0 ;
11310 PyObject * obj2 = 0 ;
11311 char *kwnames[] = {
11312 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
11313 };
11314
11315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
5e483524 11316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon,
15afbcd0
RD
11317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11318 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
11319 SWIG_POINTER_EXCEPTION | 0)) == -1)
11320 SWIG_fail;
d14a1e28 11321 if (arg2 == NULL) {
15afbcd0
RD
11322 PyErr_SetString(PyExc_TypeError,"null reference");
11323 SWIG_fail;
d14a1e28
RD
11324 }
11325 if (obj2) {
11326 {
11327 arg3 = wxString_in_helper(obj2);
11328 if (arg3 == NULL) SWIG_fail;
ae8162c8 11329 temp3 = true;
d14a1e28
RD
11330 }
11331 }
11332 {
11333 PyThreadState* __tstate = wxPyBeginAllowThreads();
11334 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
11335
11336 wxPyEndAllowThreads(__tstate);
11337 if (PyErr_Occurred()) SWIG_fail;
11338 }
4f89f6a3
RD
11339 {
11340 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11341 }
d14a1e28
RD
11342 {
11343 if (temp3)
11344 delete arg3;
11345 }
11346 return resultobj;
11347 fail:
11348 {
11349 if (temp3)
11350 delete arg3;
11351 }
11352 return NULL;
11353}
11354
11355
c32bde28 11356static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 11357 PyObject *resultobj;
5e483524 11358 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
d14a1e28
RD
11359 bool result;
11360 PyObject * obj0 = 0 ;
11361 char *kwnames[] = {
11362 (char *) "self", NULL
11363 };
11364
11365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
5e483524 11366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon,
15afbcd0 11367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11368 {
11369 PyThreadState* __tstate = wxPyBeginAllowThreads();
11370 result = (bool)(arg1)->RemoveIcon();
11371
11372 wxPyEndAllowThreads(__tstate);
11373 if (PyErr_Occurred()) SWIG_fail;
11374 }
4f89f6a3
RD
11375 {
11376 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11377 }
d14a1e28
RD
11378 return resultobj;
11379 fail:
11380 return NULL;
11381}
11382
11383
c32bde28 11384static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 11385 PyObject *resultobj;
5e483524 11386 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
d14a1e28
RD
11387 wxMenu *arg2 = (wxMenu *) 0 ;
11388 bool result;
11389 PyObject * obj0 = 0 ;
11390 PyObject * obj1 = 0 ;
11391 char *kwnames[] = {
11392 (char *) "self",(char *) "menu", NULL
11393 };
11394
11395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
5e483524 11396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon,
15afbcd0
RD
11397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11398 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
11399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11400 {
11401 PyThreadState* __tstate = wxPyBeginAllowThreads();
11402 result = (bool)(arg1)->PopupMenu(arg2);
11403
11404 wxPyEndAllowThreads(__tstate);
11405 if (PyErr_Occurred()) SWIG_fail;
11406 }
4f89f6a3
RD
11407 {
11408 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11409 }
d14a1e28
RD
11410 return resultobj;
11411 fail:
11412 return NULL;
11413}
11414
11415
c32bde28 11416static PyObject * TaskBarIcon_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11417 PyObject *obj;
11418 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5e483524 11419 SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon, obj);
d14a1e28
RD
11420 Py_INCREF(obj);
11421 return Py_BuildValue((char *)"");
11422}
c32bde28 11423static PyObject *_wrap_new_TaskBarIconEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11424 PyObject *resultobj;
11425 wxEventType arg1 ;
11426 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
11427 wxTaskBarIconEvent *result;
994141e6 11428 PyObject * obj0 = 0 ;
d14a1e28
RD
11429 PyObject * obj1 = 0 ;
11430 char *kwnames[] = {
11431 (char *) "evtType",(char *) "tbIcon", NULL
11432 };
11433
994141e6 11434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
c32bde28 11435 arg1 = (wxEventType)SWIG_As_int(obj0);
15afbcd0
RD
11436 if (PyErr_Occurred()) SWIG_fail;
11437 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTaskBarIcon,
11438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11439 {
11440 PyThreadState* __tstate = wxPyBeginAllowThreads();
11441 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
11442
11443 wxPyEndAllowThreads(__tstate);
11444 if (PyErr_Occurred()) SWIG_fail;
11445 }
15afbcd0 11446 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
d14a1e28
RD
11447 return resultobj;
11448 fail:
11449 return NULL;
11450}
11451
11452
c32bde28 11453static PyObject * TaskBarIconEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11454 PyObject *obj;
11455 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11456 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
11457 Py_INCREF(obj);
11458 return Py_BuildValue((char *)"");
11459}
c32bde28 11460static int _wrap_FileSelectorPromptStr_set(PyObject *) {
b2dc1044
RD
11461 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
11462 return 1;
11463}
11464
11465
11466static PyObject *_wrap_FileSelectorPromptStr_get() {
11467 PyObject *pyobj;
11468
11469 {
11470#if wxUSE_UNICODE
11471 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
11472#else
11473 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
11474#endif
11475 }
11476 return pyobj;
11477}
11478
11479
c32bde28 11480static int _wrap_DirSelectorPromptStr_set(PyObject *) {
b2dc1044
RD
11481 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
11482 return 1;
11483}
11484
11485
11486static PyObject *_wrap_DirSelectorPromptStr_get() {
11487 PyObject *pyobj;
11488
11489 {
11490#if wxUSE_UNICODE
11491 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
11492#else
11493 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
11494#endif
11495 }
11496 return pyobj;
11497}
11498
11499
c32bde28 11500static int _wrap_DirDialogNameStr_set(PyObject *) {
b2dc1044
RD
11501 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
11502 return 1;
11503}
11504
11505
11506static PyObject *_wrap_DirDialogNameStr_get() {
11507 PyObject *pyobj;
11508
11509 {
11510#if wxUSE_UNICODE
11511 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
11512#else
11513 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
11514#endif
11515 }
11516 return pyobj;
11517}
11518
11519
c32bde28 11520static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) {
b2dc1044
RD
11521 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
11522 return 1;
11523}
11524
11525
11526static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
11527 PyObject *pyobj;
11528
11529 {
11530#if wxUSE_UNICODE
11531 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
11532#else
11533 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
11534#endif
11535 }
11536 return pyobj;
11537}
11538
11539
c32bde28 11540static int _wrap_GetTextFromUserPromptStr_set(PyObject *) {
b2dc1044
RD
11541 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
11542 return 1;
11543}
11544
11545
11546static PyObject *_wrap_GetTextFromUserPromptStr_get() {
11547 PyObject *pyobj;
11548
11549 {
11550#if wxUSE_UNICODE
11551 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
11552#else
11553 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
11554#endif
11555 }
11556 return pyobj;
11557}
11558
11559
c32bde28 11560static int _wrap_MessageBoxCaptionStr_set(PyObject *) {
b2dc1044
RD
11561 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
11562 return 1;
11563}
11564
11565
11566static PyObject *_wrap_MessageBoxCaptionStr_get() {
11567 PyObject *pyobj;
11568
11569 {
11570#if wxUSE_UNICODE
11571 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
11572#else
11573 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
11574#endif
11575 }
11576 return pyobj;
11577}
11578
11579
c32bde28 11580static PyObject *_wrap_new_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11581 PyObject *resultobj;
11582 wxColourData *result;
11583 char *kwnames[] = {
11584 NULL
11585 };
11586
11587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
11588 {
11589 PyThreadState* __tstate = wxPyBeginAllowThreads();
11590 result = (wxColourData *)new wxColourData();
11591
11592 wxPyEndAllowThreads(__tstate);
11593 if (PyErr_Occurred()) SWIG_fail;
11594 }
15afbcd0 11595 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
d14a1e28
RD
11596 return resultobj;
11597 fail:
11598 return NULL;
11599}
11600
11601
c32bde28 11602static PyObject *_wrap_delete_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11603 PyObject *resultobj;
11604 wxColourData *arg1 = (wxColourData *) 0 ;
11605 PyObject * obj0 = 0 ;
11606 char *kwnames[] = {
11607 (char *) "self", NULL
11608 };
11609
11610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
15afbcd0
RD
11611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11613 {
11614 PyThreadState* __tstate = wxPyBeginAllowThreads();
11615 delete arg1;
11616
11617 wxPyEndAllowThreads(__tstate);
11618 if (PyErr_Occurred()) SWIG_fail;
11619 }
11620 Py_INCREF(Py_None); resultobj = Py_None;
11621 return resultobj;
11622 fail:
11623 return NULL;
11624}
11625
11626
c32bde28 11627static PyObject *_wrap_ColourData_GetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11628 PyObject *resultobj;
11629 wxColourData *arg1 = (wxColourData *) 0 ;
11630 bool result;
11631 PyObject * obj0 = 0 ;
11632 char *kwnames[] = {
11633 (char *) "self", NULL
11634 };
11635
11636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
15afbcd0
RD
11637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11639 {
11640 PyThreadState* __tstate = wxPyBeginAllowThreads();
11641 result = (bool)(arg1)->GetChooseFull();
11642
11643 wxPyEndAllowThreads(__tstate);
11644 if (PyErr_Occurred()) SWIG_fail;
11645 }
4f89f6a3
RD
11646 {
11647 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11648 }
d14a1e28
RD
11649 return resultobj;
11650 fail:
11651 return NULL;
11652}
11653
11654
c32bde28 11655static PyObject *_wrap_ColourData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11656 PyObject *resultobj;
11657 wxColourData *arg1 = (wxColourData *) 0 ;
11658 wxColour result;
11659 PyObject * obj0 = 0 ;
11660 char *kwnames[] = {
11661 (char *) "self", NULL
11662 };
11663
11664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
11665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11667 {
11668 PyThreadState* __tstate = wxPyBeginAllowThreads();
11669 result = (arg1)->GetColour();
11670
11671 wxPyEndAllowThreads(__tstate);
11672 if (PyErr_Occurred()) SWIG_fail;
11673 }
11674 {
11675 wxColour * resultptr;
11676 resultptr = new wxColour((wxColour &) result);
15afbcd0 11677 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
11678 }
11679 return resultobj;
11680 fail:
11681 return NULL;
11682}
11683
11684
c32bde28 11685static PyObject *_wrap_ColourData_GetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11686 PyObject *resultobj;
11687 wxColourData *arg1 = (wxColourData *) 0 ;
11688 int arg2 ;
11689 wxColour result;
11690 PyObject * obj0 = 0 ;
994141e6 11691 PyObject * obj1 = 0 ;
d14a1e28
RD
11692 char *kwnames[] = {
11693 (char *) "self",(char *) "i", NULL
11694 };
11695
994141e6 11696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11699 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 11700 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11701 {
11702 PyThreadState* __tstate = wxPyBeginAllowThreads();
11703 result = (arg1)->GetCustomColour(arg2);
11704
11705 wxPyEndAllowThreads(__tstate);
11706 if (PyErr_Occurred()) SWIG_fail;
11707 }
11708 {
11709 wxColour * resultptr;
11710 resultptr = new wxColour((wxColour &) result);
15afbcd0 11711 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
11712 }
11713 return resultobj;
11714 fail:
11715 return NULL;
11716}
11717
11718
c32bde28 11719static PyObject *_wrap_ColourData_SetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11720 PyObject *resultobj;
11721 wxColourData *arg1 = (wxColourData *) 0 ;
11722 int arg2 ;
11723 PyObject * obj0 = 0 ;
994141e6 11724 PyObject * obj1 = 0 ;
d14a1e28
RD
11725 char *kwnames[] = {
11726 (char *) "self",(char *) "flag", NULL
11727 };
11728
994141e6 11729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11732 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 11733 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11734 {
11735 PyThreadState* __tstate = wxPyBeginAllowThreads();
11736 (arg1)->SetChooseFull(arg2);
11737
11738 wxPyEndAllowThreads(__tstate);
11739 if (PyErr_Occurred()) SWIG_fail;
11740 }
11741 Py_INCREF(Py_None); resultobj = Py_None;
11742 return resultobj;
11743 fail:
11744 return NULL;
11745}
11746
11747
c32bde28 11748static PyObject *_wrap_ColourData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11749 PyObject *resultobj;
11750 wxColourData *arg1 = (wxColourData *) 0 ;
11751 wxColour *arg2 = 0 ;
11752 wxColour temp2 ;
11753 PyObject * obj0 = 0 ;
11754 PyObject * obj1 = 0 ;
11755 char *kwnames[] = {
11756 (char *) "self",(char *) "colour", NULL
11757 };
11758
11759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11762 {
11763 arg2 = &temp2;
11764 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
11765 }
11766 {
11767 PyThreadState* __tstate = wxPyBeginAllowThreads();
11768 (arg1)->SetColour((wxColour const &)*arg2);
11769
11770 wxPyEndAllowThreads(__tstate);
11771 if (PyErr_Occurred()) SWIG_fail;
11772 }
11773 Py_INCREF(Py_None); resultobj = Py_None;
11774 return resultobj;
11775 fail:
11776 return NULL;
11777}
11778
11779
c32bde28 11780static PyObject *_wrap_ColourData_SetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11781 PyObject *resultobj;
11782 wxColourData *arg1 = (wxColourData *) 0 ;
11783 int arg2 ;
11784 wxColour *arg3 = 0 ;
11785 wxColour temp3 ;
11786 PyObject * obj0 = 0 ;
994141e6 11787 PyObject * obj1 = 0 ;
d14a1e28
RD
11788 PyObject * obj2 = 0 ;
11789 char *kwnames[] = {
11790 (char *) "self",(char *) "i",(char *) "colour", NULL
11791 };
11792
994141e6 11793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11796 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 11797 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11798 {
11799 arg3 = &temp3;
11800 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
11801 }
11802 {
11803 PyThreadState* __tstate = wxPyBeginAllowThreads();
11804 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
11805
11806 wxPyEndAllowThreads(__tstate);
11807 if (PyErr_Occurred()) SWIG_fail;
11808 }
11809 Py_INCREF(Py_None); resultobj = Py_None;
11810 return resultobj;
11811 fail:
11812 return NULL;
11813}
11814
11815
c32bde28 11816static PyObject * ColourData_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11817 PyObject *obj;
11818 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11819 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
11820 Py_INCREF(obj);
11821 return Py_BuildValue((char *)"");
11822}
c32bde28 11823static PyObject *_wrap_new_ColourDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11824 PyObject *resultobj;
11825 wxWindow *arg1 = (wxWindow *) 0 ;
11826 wxColourData *arg2 = (wxColourData *) NULL ;
11827 wxColourDialog *result;
11828 PyObject * obj0 = 0 ;
11829 PyObject * obj1 = 0 ;
11830 char *kwnames[] = {
11831 (char *) "parent",(char *) "data", NULL
11832 };
11833
11834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 11837 if (obj1) {
15afbcd0
RD
11838 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColourData,
11839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11840 }
11841 {
e3b71cb8 11842 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
11843 PyThreadState* __tstate = wxPyBeginAllowThreads();
11844 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
11845
11846 wxPyEndAllowThreads(__tstate);
110da5b0 11847 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11848 }
15afbcd0 11849 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
d14a1e28
RD
11850 return resultobj;
11851 fail:
11852 return NULL;
11853}
11854
11855
c32bde28 11856static PyObject *_wrap_ColourDialog_GetColourData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11857 PyObject *resultobj;
11858 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
11859 wxColourData *result;
11860 PyObject * obj0 = 0 ;
11861 char *kwnames[] = {
11862 (char *) "self", NULL
11863 };
11864
11865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
15afbcd0
RD
11866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDialog,
11867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11868 {
11869 PyThreadState* __tstate = wxPyBeginAllowThreads();
11870 {
11871 wxColourData &_result_ref = (arg1)->GetColourData();
11872 result = (wxColourData *) &_result_ref;
11873 }
11874
11875 wxPyEndAllowThreads(__tstate);
11876 if (PyErr_Occurred()) SWIG_fail;
11877 }
15afbcd0 11878 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
d14a1e28
RD
11879 return resultobj;
11880 fail:
11881 return NULL;
11882}
11883
11884
c32bde28 11885static PyObject * ColourDialog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11886 PyObject *obj;
11887 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11888 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
11889 Py_INCREF(obj);
11890 return Py_BuildValue((char *)"");
11891}
c32bde28 11892static PyObject *_wrap_new_DirDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11893 PyObject *resultobj;
11894 wxWindow *arg1 = (wxWindow *) 0 ;
11895 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
11896 wxString *arg2 = (wxString *) &arg2_defvalue ;
11897 wxString const &arg3_defvalue = wxPyEmptyString ;
11898 wxString *arg3 = (wxString *) &arg3_defvalue ;
11899 long arg4 = (long) 0 ;
11900 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11901 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11902 wxSize const &arg6_defvalue = wxDefaultSize ;
11903 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11904 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
11905 wxString *arg7 = (wxString *) &arg7_defvalue ;
11906 wxDirDialog *result;
ae8162c8
RD
11907 bool temp2 = false ;
11908 bool temp3 = false ;
d14a1e28
RD
11909 wxPoint temp5 ;
11910 wxSize temp6 ;
ae8162c8 11911 bool temp7 = false ;
d14a1e28
RD
11912 PyObject * obj0 = 0 ;
11913 PyObject * obj1 = 0 ;
11914 PyObject * obj2 = 0 ;
994141e6 11915 PyObject * obj3 = 0 ;
d14a1e28
RD
11916 PyObject * obj4 = 0 ;
11917 PyObject * obj5 = 0 ;
11918 PyObject * obj6 = 0 ;
11919 char *kwnames[] = {
11920 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11921 };
11922
994141e6 11923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
11924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11926 if (obj1) {
11927 {
11928 arg2 = wxString_in_helper(obj1);
11929 if (arg2 == NULL) SWIG_fail;
ae8162c8 11930 temp2 = true;
d14a1e28
RD
11931 }
11932 }
11933 if (obj2) {
11934 {
11935 arg3 = wxString_in_helper(obj2);
11936 if (arg3 == NULL) SWIG_fail;
ae8162c8 11937 temp3 = true;
d14a1e28
RD
11938 }
11939 }
994141e6 11940 if (obj3) {
c32bde28 11941 arg4 = (long)SWIG_As_long(obj3);
15afbcd0 11942 if (PyErr_Occurred()) SWIG_fail;
994141e6 11943 }
d14a1e28
RD
11944 if (obj4) {
11945 {
11946 arg5 = &temp5;
11947 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11948 }
11949 }
11950 if (obj5) {
11951 {
11952 arg6 = &temp6;
11953 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11954 }
11955 }
11956 if (obj6) {
11957 {
11958 arg7 = wxString_in_helper(obj6);
11959 if (arg7 == NULL) SWIG_fail;
ae8162c8 11960 temp7 = true;
d14a1e28
RD
11961 }
11962 }
11963 {
e3b71cb8 11964 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
11965 PyThreadState* __tstate = wxPyBeginAllowThreads();
11966 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
11967
11968 wxPyEndAllowThreads(__tstate);
110da5b0 11969 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11970 }
15afbcd0 11971 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
d14a1e28
RD
11972 {
11973 if (temp2)
11974 delete arg2;
11975 }
11976 {
11977 if (temp3)
11978 delete arg3;
11979 }
11980 {
11981 if (temp7)
11982 delete arg7;
11983 }
11984 return resultobj;
11985 fail:
11986 {
11987 if (temp2)
11988 delete arg2;
11989 }
11990 {
11991 if (temp3)
11992 delete arg3;
11993 }
11994 {
11995 if (temp7)
11996 delete arg7;
11997 }
11998 return NULL;
11999}
12000
12001
c32bde28 12002static PyObject *_wrap_DirDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12003 PyObject *resultobj;
12004 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
12005 wxString result;
12006 PyObject * obj0 = 0 ;
12007 char *kwnames[] = {
12008 (char *) "self", NULL
12009 };
12010
12011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
15afbcd0
RD
12012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
12013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12014 {
12015 PyThreadState* __tstate = wxPyBeginAllowThreads();
12016 result = (arg1)->GetPath();
12017
12018 wxPyEndAllowThreads(__tstate);
12019 if (PyErr_Occurred()) SWIG_fail;
12020 }
12021 {
12022#if wxUSE_UNICODE
12023 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12024#else
12025 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12026#endif
12027 }
12028 return resultobj;
12029 fail:
12030 return NULL;
12031}
12032
12033
c32bde28 12034static PyObject *_wrap_DirDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12035 PyObject *resultobj;
12036 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
12037 wxString result;
12038 PyObject * obj0 = 0 ;
12039 char *kwnames[] = {
12040 (char *) "self", NULL
12041 };
12042
12043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
15afbcd0
RD
12044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
12045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12046 {
12047 PyThreadState* __tstate = wxPyBeginAllowThreads();
12048 result = (arg1)->GetMessage();
12049
12050 wxPyEndAllowThreads(__tstate);
12051 if (PyErr_Occurred()) SWIG_fail;
12052 }
12053 {
12054#if wxUSE_UNICODE
12055 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12056#else
12057 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12058#endif
12059 }
12060 return resultobj;
12061 fail:
12062 return NULL;
12063}
12064
12065
c32bde28 12066static PyObject *_wrap_DirDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12067 PyObject *resultobj;
12068 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
12069 long result;
12070 PyObject * obj0 = 0 ;
12071 char *kwnames[] = {
12072 (char *) "self", NULL
12073 };
12074
12075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
15afbcd0
RD
12076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
12077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12078 {
12079 PyThreadState* __tstate = wxPyBeginAllowThreads();
12080 result = (long)(arg1)->GetStyle();
12081
12082 wxPyEndAllowThreads(__tstate);
12083 if (PyErr_Occurred()) SWIG_fail;
12084 }
c32bde28 12085 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
12086 return resultobj;
12087 fail:
12088 return NULL;
12089}
12090
12091
c32bde28 12092static PyObject *_wrap_DirDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12093 PyObject *resultobj;
12094 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
12095 wxString *arg2 = 0 ;
ae8162c8 12096 bool temp2 = false ;
d14a1e28
RD
12097 PyObject * obj0 = 0 ;
12098 PyObject * obj1 = 0 ;
12099 char *kwnames[] = {
12100 (char *) "self",(char *) "message", NULL
12101 };
12102
12103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
12105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12106 {
12107 arg2 = wxString_in_helper(obj1);
12108 if (arg2 == NULL) SWIG_fail;
ae8162c8 12109 temp2 = true;
d14a1e28
RD
12110 }
12111 {
12112 PyThreadState* __tstate = wxPyBeginAllowThreads();
12113 (arg1)->SetMessage((wxString const &)*arg2);
12114
12115 wxPyEndAllowThreads(__tstate);
12116 if (PyErr_Occurred()) SWIG_fail;
12117 }
12118 Py_INCREF(Py_None); resultobj = Py_None;
12119 {
12120 if (temp2)
12121 delete arg2;
12122 }
12123 return resultobj;
12124 fail:
12125 {
12126 if (temp2)
12127 delete arg2;
12128 }
12129 return NULL;
12130}
12131
12132
c32bde28 12133static PyObject *_wrap_DirDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12134 PyObject *resultobj;
12135 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
12136 wxString *arg2 = 0 ;
ae8162c8 12137 bool temp2 = false ;
d14a1e28
RD
12138 PyObject * obj0 = 0 ;
12139 PyObject * obj1 = 0 ;
12140 char *kwnames[] = {
12141 (char *) "self",(char *) "path", NULL
12142 };
12143
12144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
12146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12147 {
12148 arg2 = wxString_in_helper(obj1);
12149 if (arg2 == NULL) SWIG_fail;
ae8162c8 12150 temp2 = true;
d14a1e28
RD
12151 }
12152 {
12153 PyThreadState* __tstate = wxPyBeginAllowThreads();
12154 (arg1)->SetPath((wxString const &)*arg2);
12155
12156 wxPyEndAllowThreads(__tstate);
12157 if (PyErr_Occurred()) SWIG_fail;
12158 }
12159 Py_INCREF(Py_None); resultobj = Py_None;
12160 {
12161 if (temp2)
12162 delete arg2;
12163 }
12164 return resultobj;
12165 fail:
12166 {
12167 if (temp2)
12168 delete arg2;
12169 }
12170 return NULL;
12171}
12172
12173
c32bde28 12174static PyObject * DirDialog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
12175 PyObject *obj;
12176 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12177 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
12178 Py_INCREF(obj);
12179 return Py_BuildValue((char *)"");
12180}
c32bde28 12181static PyObject *_wrap_new_FileDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12182 PyObject *resultobj;
12183 wxWindow *arg1 = (wxWindow *) 0 ;
12184 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
12185 wxString *arg2 = (wxString *) &arg2_defvalue ;
12186 wxString const &arg3_defvalue = wxPyEmptyString ;
12187 wxString *arg3 = (wxString *) &arg3_defvalue ;
12188 wxString const &arg4_defvalue = wxPyEmptyString ;
12189 wxString *arg4 = (wxString *) &arg4_defvalue ;
12190 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
12191 wxString *arg5 = (wxString *) &arg5_defvalue ;
12192 long arg6 = (long) 0 ;
12193 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12194 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12195 wxFileDialog *result;
ae8162c8
RD
12196 bool temp2 = false ;
12197 bool temp3 = false ;
12198 bool temp4 = false ;
12199 bool temp5 = false ;
d14a1e28
RD
12200 wxPoint temp7 ;
12201 PyObject * obj0 = 0 ;
12202 PyObject * obj1 = 0 ;
12203 PyObject * obj2 = 0 ;
12204 PyObject * obj3 = 0 ;
12205 PyObject * obj4 = 0 ;
994141e6 12206 PyObject * obj5 = 0 ;
d14a1e28
RD
12207 PyObject * obj6 = 0 ;
12208 char *kwnames[] = {
12209 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
12210 };
12211
994141e6 12212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
12213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12215 if (obj1) {
12216 {
12217 arg2 = wxString_in_helper(obj1);
12218 if (arg2 == NULL) SWIG_fail;
ae8162c8 12219 temp2 = true;
d14a1e28
RD
12220 }
12221 }
12222 if (obj2) {
12223 {
12224 arg3 = wxString_in_helper(obj2);
12225 if (arg3 == NULL) SWIG_fail;
ae8162c8 12226 temp3 = true;
d14a1e28
RD
12227 }
12228 }
12229 if (obj3) {
12230 {
12231 arg4 = wxString_in_helper(obj3);
12232 if (arg4 == NULL) SWIG_fail;
ae8162c8 12233 temp4 = true;
d14a1e28
RD
12234 }
12235 }
12236 if (obj4) {
12237 {
12238 arg5 = wxString_in_helper(obj4);
12239 if (arg5 == NULL) SWIG_fail;
ae8162c8 12240 temp5 = true;
d14a1e28
RD
12241 }
12242 }
994141e6 12243 if (obj5) {
c32bde28 12244 arg6 = (long)SWIG_As_long(obj5);
15afbcd0 12245 if (PyErr_Occurred()) SWIG_fail;
994141e6 12246 }
d14a1e28
RD
12247 if (obj6) {
12248 {
12249 arg7 = &temp7;
12250 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
12251 }
12252 }
12253 {
e3b71cb8 12254 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
12255 PyThreadState* __tstate = wxPyBeginAllowThreads();
12256 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
12257
12258 wxPyEndAllowThreads(__tstate);
110da5b0 12259 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 12260 }
15afbcd0 12261 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
d14a1e28
RD
12262 {
12263 if (temp2)
12264 delete arg2;
12265 }
12266 {
12267 if (temp3)
12268 delete arg3;
12269 }
12270 {
12271 if (temp4)
12272 delete arg4;
12273 }
12274 {
12275 if (temp5)
12276 delete arg5;
12277 }
12278 return resultobj;
12279 fail:
12280 {
12281 if (temp2)
12282 delete arg2;
12283 }
12284 {
12285 if (temp3)
12286 delete arg3;
12287 }
12288 {
12289 if (temp4)
12290 delete arg4;
12291 }
12292 {
12293 if (temp5)
12294 delete arg5;
12295 }
12296 return NULL;
12297}
12298
12299
c32bde28 12300static PyObject *_wrap_FileDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12301 PyObject *resultobj;
12302 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12303 wxString *arg2 = 0 ;
ae8162c8 12304 bool temp2 = false ;
d14a1e28
RD
12305 PyObject * obj0 = 0 ;
12306 PyObject * obj1 = 0 ;
12307 char *kwnames[] = {
12308 (char *) "self",(char *) "message", NULL
12309 };
12310
12311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12314 {
12315 arg2 = wxString_in_helper(obj1);
12316 if (arg2 == NULL) SWIG_fail;
ae8162c8 12317 temp2 = true;
d14a1e28
RD
12318 }
12319 {
12320 PyThreadState* __tstate = wxPyBeginAllowThreads();
12321 (arg1)->SetMessage((wxString const &)*arg2);
12322
12323 wxPyEndAllowThreads(__tstate);
12324 if (PyErr_Occurred()) SWIG_fail;
12325 }
12326 Py_INCREF(Py_None); resultobj = Py_None;
12327 {
12328 if (temp2)
12329 delete arg2;
12330 }
12331 return resultobj;
12332 fail:
12333 {
12334 if (temp2)
12335 delete arg2;
12336 }
12337 return NULL;
12338}
12339
12340
c32bde28 12341static PyObject *_wrap_FileDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12342 PyObject *resultobj;
12343 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12344 wxString *arg2 = 0 ;
ae8162c8 12345 bool temp2 = false ;
d14a1e28
RD
12346 PyObject * obj0 = 0 ;
12347 PyObject * obj1 = 0 ;
12348 char *kwnames[] = {
12349 (char *) "self",(char *) "path", NULL
12350 };
12351
12352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12355 {
12356 arg2 = wxString_in_helper(obj1);
12357 if (arg2 == NULL) SWIG_fail;
ae8162c8 12358 temp2 = true;
d14a1e28
RD
12359 }
12360 {
12361 PyThreadState* __tstate = wxPyBeginAllowThreads();
12362 (arg1)->SetPath((wxString const &)*arg2);
12363
12364 wxPyEndAllowThreads(__tstate);
12365 if (PyErr_Occurred()) SWIG_fail;
12366 }
12367 Py_INCREF(Py_None); resultobj = Py_None;
12368 {
12369 if (temp2)
12370 delete arg2;
12371 }
12372 return resultobj;
12373 fail:
12374 {
12375 if (temp2)
12376 delete arg2;
12377 }
12378 return NULL;
12379}
12380
12381
c32bde28 12382static PyObject *_wrap_FileDialog_SetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12383 PyObject *resultobj;
12384 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12385 wxString *arg2 = 0 ;
ae8162c8 12386 bool temp2 = false ;
d14a1e28
RD
12387 PyObject * obj0 = 0 ;
12388 PyObject * obj1 = 0 ;
12389 char *kwnames[] = {
12390 (char *) "self",(char *) "dir", NULL
12391 };
12392
12393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12396 {
12397 arg2 = wxString_in_helper(obj1);
12398 if (arg2 == NULL) SWIG_fail;
ae8162c8 12399 temp2 = true;
d14a1e28
RD
12400 }
12401 {
12402 PyThreadState* __tstate = wxPyBeginAllowThreads();
12403 (arg1)->SetDirectory((wxString const &)*arg2);
12404
12405 wxPyEndAllowThreads(__tstate);
12406 if (PyErr_Occurred()) SWIG_fail;
12407 }
12408 Py_INCREF(Py_None); resultobj = Py_None;
12409 {
12410 if (temp2)
12411 delete arg2;
12412 }
12413 return resultobj;
12414 fail:
12415 {
12416 if (temp2)
12417 delete arg2;
12418 }
12419 return NULL;
12420}
12421
12422
c32bde28 12423static PyObject *_wrap_FileDialog_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12424 PyObject *resultobj;
12425 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12426 wxString *arg2 = 0 ;
ae8162c8 12427 bool temp2 = false ;
d14a1e28
RD
12428 PyObject * obj0 = 0 ;
12429 PyObject * obj1 = 0 ;
12430 char *kwnames[] = {
12431 (char *) "self",(char *) "name", NULL
12432 };
12433
12434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12437 {
12438 arg2 = wxString_in_helper(obj1);
12439 if (arg2 == NULL) SWIG_fail;
ae8162c8 12440 temp2 = true;
d14a1e28
RD
12441 }
12442 {
12443 PyThreadState* __tstate = wxPyBeginAllowThreads();
12444 (arg1)->SetFilename((wxString const &)*arg2);
12445
12446 wxPyEndAllowThreads(__tstate);
12447 if (PyErr_Occurred()) SWIG_fail;
12448 }
12449 Py_INCREF(Py_None); resultobj = Py_None;
12450 {
12451 if (temp2)
12452 delete arg2;
12453 }
12454 return resultobj;
12455 fail:
12456 {
12457 if (temp2)
12458 delete arg2;
12459 }
12460 return NULL;
12461}
12462
12463
c32bde28 12464static PyObject *_wrap_FileDialog_SetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12465 PyObject *resultobj;
12466 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12467 wxString *arg2 = 0 ;
ae8162c8 12468 bool temp2 = false ;
d14a1e28
RD
12469 PyObject * obj0 = 0 ;
12470 PyObject * obj1 = 0 ;
12471 char *kwnames[] = {
12472 (char *) "self",(char *) "wildCard", NULL
12473 };
12474
12475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12478 {
12479 arg2 = wxString_in_helper(obj1);
12480 if (arg2 == NULL) SWIG_fail;
ae8162c8 12481 temp2 = true;
d14a1e28
RD
12482 }
12483 {
12484 PyThreadState* __tstate = wxPyBeginAllowThreads();
12485 (arg1)->SetWildcard((wxString const &)*arg2);
12486
12487 wxPyEndAllowThreads(__tstate);
12488 if (PyErr_Occurred()) SWIG_fail;
12489 }
12490 Py_INCREF(Py_None); resultobj = Py_None;
12491 {
12492 if (temp2)
12493 delete arg2;
12494 }
12495 return resultobj;
12496 fail:
12497 {
12498 if (temp2)
12499 delete arg2;
12500 }
12501 return NULL;
12502}
12503
12504
c32bde28 12505static PyObject *_wrap_FileDialog_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12506 PyObject *resultobj;
12507 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12508 long arg2 ;
12509 PyObject * obj0 = 0 ;
994141e6 12510 PyObject * obj1 = 0 ;
d14a1e28
RD
12511 char *kwnames[] = {
12512 (char *) "self",(char *) "style", NULL
12513 };
12514
994141e6 12515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 12518 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 12519 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12520 {
12521 PyThreadState* __tstate = wxPyBeginAllowThreads();
12522 (arg1)->SetStyle(arg2);
12523
12524 wxPyEndAllowThreads(__tstate);
12525 if (PyErr_Occurred()) SWIG_fail;
12526 }
12527 Py_INCREF(Py_None); resultobj = Py_None;
12528 return resultobj;
12529 fail:
12530 return NULL;
12531}
12532
12533
c32bde28 12534static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12535 PyObject *resultobj;
12536 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12537 int arg2 ;
12538 PyObject * obj0 = 0 ;
994141e6 12539 PyObject * obj1 = 0 ;
d14a1e28
RD
12540 char *kwnames[] = {
12541 (char *) "self",(char *) "filterIndex", NULL
12542 };
12543
994141e6 12544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 12547 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 12548 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12549 {
12550 PyThreadState* __tstate = wxPyBeginAllowThreads();
12551 (arg1)->SetFilterIndex(arg2);
12552
12553 wxPyEndAllowThreads(__tstate);
12554 if (PyErr_Occurred()) SWIG_fail;
12555 }
12556 Py_INCREF(Py_None); resultobj = Py_None;
12557 return resultobj;
12558 fail:
12559 return NULL;
12560}
12561
12562
c32bde28 12563static PyObject *_wrap_FileDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12564 PyObject *resultobj;
12565 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12566 wxString result;
12567 PyObject * obj0 = 0 ;
12568 char *kwnames[] = {
12569 (char *) "self", NULL
12570 };
12571
12572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
15afbcd0
RD
12573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12575 {
12576 PyThreadState* __tstate = wxPyBeginAllowThreads();
12577 result = ((wxFileDialog const *)arg1)->GetMessage();
12578
12579 wxPyEndAllowThreads(__tstate);
12580 if (PyErr_Occurred()) SWIG_fail;
12581 }
12582 {
12583#if wxUSE_UNICODE
12584 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12585#else
12586 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12587#endif
12588 }
12589 return resultobj;
12590 fail:
12591 return NULL;
12592}
12593
12594
c32bde28 12595static PyObject *_wrap_FileDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12596 PyObject *resultobj;
12597 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12598 wxString result;
12599 PyObject * obj0 = 0 ;
12600 char *kwnames[] = {
12601 (char *) "self", NULL
12602 };
12603
12604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
15afbcd0
RD
12605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12607 {
12608 PyThreadState* __tstate = wxPyBeginAllowThreads();
12609 result = ((wxFileDialog const *)arg1)->GetPath();
12610
12611 wxPyEndAllowThreads(__tstate);
12612 if (PyErr_Occurred()) SWIG_fail;
12613 }
12614 {
12615#if wxUSE_UNICODE
12616 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12617#else
12618 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12619#endif
12620 }
12621 return resultobj;
12622 fail:
12623 return NULL;
12624}
12625
12626
c32bde28 12627static PyObject *_wrap_FileDialog_GetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12628 PyObject *resultobj;
12629 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12630 wxString result;
12631 PyObject * obj0 = 0 ;
12632 char *kwnames[] = {
12633 (char *) "self", NULL
12634 };
12635
12636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
15afbcd0
RD
12637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12639 {
12640 PyThreadState* __tstate = wxPyBeginAllowThreads();
12641 result = ((wxFileDialog const *)arg1)->GetDirectory();
12642
12643 wxPyEndAllowThreads(__tstate);
12644 if (PyErr_Occurred()) SWIG_fail;
12645 }
12646 {
12647#if wxUSE_UNICODE
12648 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12649#else
12650 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12651#endif
12652 }
12653 return resultobj;
12654 fail:
12655 return NULL;
12656}
12657
12658
c32bde28 12659static PyObject *_wrap_FileDialog_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12660 PyObject *resultobj;
12661 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12662 wxString result;
12663 PyObject * obj0 = 0 ;
12664 char *kwnames[] = {
12665 (char *) "self", NULL
12666 };
12667
12668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
15afbcd0
RD
12669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12671 {
12672 PyThreadState* __tstate = wxPyBeginAllowThreads();
12673 result = ((wxFileDialog const *)arg1)->GetFilename();
12674
12675 wxPyEndAllowThreads(__tstate);
12676 if (PyErr_Occurred()) SWIG_fail;
12677 }
12678 {
12679#if wxUSE_UNICODE
12680 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12681#else
12682 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12683#endif
12684 }
12685 return resultobj;
12686 fail:
12687 return NULL;
12688}
12689
12690
c32bde28 12691static PyObject *_wrap_FileDialog_GetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12692 PyObject *resultobj;
12693 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12694 wxString result;
12695 PyObject * obj0 = 0 ;
12696 char *kwnames[] = {
12697 (char *) "self", NULL
12698 };
12699
12700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
15afbcd0
RD
12701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12703 {
12704 PyThreadState* __tstate = wxPyBeginAllowThreads();
12705 result = ((wxFileDialog const *)arg1)->GetWildcard();
12706
12707 wxPyEndAllowThreads(__tstate);
12708 if (PyErr_Occurred()) SWIG_fail;
12709 }
12710 {
12711#if wxUSE_UNICODE
12712 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12713#else
12714 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12715#endif
12716 }
12717 return resultobj;
12718 fail:
12719 return NULL;
12720}
12721
12722
c32bde28 12723static PyObject *_wrap_FileDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12724 PyObject *resultobj;
12725 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12726 long result;
12727 PyObject * obj0 = 0 ;
12728 char *kwnames[] = {
12729 (char *) "self", NULL
12730 };
12731
12732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
15afbcd0
RD
12733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12735 {
12736 PyThreadState* __tstate = wxPyBeginAllowThreads();
12737 result = (long)((wxFileDialog const *)arg1)->GetStyle();
12738
12739 wxPyEndAllowThreads(__tstate);
12740 if (PyErr_Occurred()) SWIG_fail;
12741 }
c32bde28 12742 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
12743 return resultobj;
12744 fail:
12745 return NULL;
12746}
12747
12748
c32bde28 12749static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12750 PyObject *resultobj;
12751 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12752 int result;
12753 PyObject * obj0 = 0 ;
12754 char *kwnames[] = {
12755 (char *) "self", NULL
12756 };
12757
12758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
15afbcd0
RD
12759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12761 {
12762 PyThreadState* __tstate = wxPyBeginAllowThreads();
12763 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
12764
12765 wxPyEndAllowThreads(__tstate);
12766 if (PyErr_Occurred()) SWIG_fail;
12767 }
c32bde28 12768 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
12769 return resultobj;
12770 fail:
12771 return NULL;
12772}
12773
12774
c32bde28 12775static PyObject *_wrap_FileDialog_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12776 PyObject *resultobj;
12777 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12778 PyObject *result;
12779 PyObject * obj0 = 0 ;
12780 char *kwnames[] = {
12781 (char *) "self", NULL
12782 };
12783
12784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
15afbcd0
RD
12785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12787 {
12788 PyThreadState* __tstate = wxPyBeginAllowThreads();
12789 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
12790
12791 wxPyEndAllowThreads(__tstate);
12792 if (PyErr_Occurred()) SWIG_fail;
12793 }
12794 resultobj = result;
12795 return resultobj;
12796 fail:
12797 return NULL;
12798}
12799
12800
c32bde28 12801static PyObject *_wrap_FileDialog_GetPaths(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12802 PyObject *resultobj;
12803 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12804 PyObject *result;
12805 PyObject * obj0 = 0 ;
12806 char *kwnames[] = {
12807 (char *) "self", NULL
12808 };
12809
12810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
15afbcd0
RD
12811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12813 {
12814 PyThreadState* __tstate = wxPyBeginAllowThreads();
12815 result = (PyObject *)wxFileDialog_GetPaths(arg1);
12816
12817 wxPyEndAllowThreads(__tstate);
12818 if (PyErr_Occurred()) SWIG_fail;
12819 }
12820 resultobj = result;
12821 return resultobj;
12822 fail:
12823 return NULL;
12824}
12825
12826
c32bde28 12827static PyObject * FileDialog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
12828 PyObject *obj;
12829 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12830 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
12831 Py_INCREF(obj);
12832 return Py_BuildValue((char *)"");
12833}
c32bde28 12834static PyObject *_wrap_new_MultiChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12835 PyObject *resultobj;
12836 wxWindow *arg1 = (wxWindow *) 0 ;
12837 wxString *arg2 = 0 ;
12838 wxString *arg3 = 0 ;
4d5c3d91 12839 int arg4 = (int) 0 ;
248ed943 12840 wxString *arg5 = (wxString *) NULL ;
d14a1e28
RD
12841 long arg6 = (long) wxCHOICEDLG_STYLE ;
12842 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12843 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12844 wxMultiChoiceDialog *result;
ae8162c8
RD
12845 bool temp2 = false ;
12846 bool temp3 = false ;
4d5c3d91 12847 wxPoint temp6 ;
d14a1e28
RD
12848 PyObject * obj0 = 0 ;
12849 PyObject * obj1 = 0 ;
12850 PyObject * obj2 = 0 ;
994141e6 12851 PyObject * obj3 = 0 ;
d14a1e28 12852 PyObject * obj4 = 0 ;
994141e6 12853 PyObject * obj5 = 0 ;
d14a1e28 12854 char *kwnames[] = {
4d5c3d91 12855 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
d14a1e28
RD
12856 };
12857
4d5c3d91 12858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
12859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12861 {
12862 arg2 = wxString_in_helper(obj1);
12863 if (arg2 == NULL) SWIG_fail;
ae8162c8 12864 temp2 = true;
d14a1e28
RD
12865 }
12866 {
12867 arg3 = wxString_in_helper(obj2);
12868 if (arg3 == NULL) SWIG_fail;
ae8162c8 12869 temp3 = true;
d14a1e28 12870 }
4d5c3d91
RD
12871 if (obj3) {
12872 {
12873 arg4 = PyList_Size(obj3);
12874 arg5 = wxString_LIST_helper(obj3);
12875 if (arg5 == NULL) SWIG_fail;
12876 }
7eae615b 12877 }
4d5c3d91 12878 if (obj4) {
c32bde28 12879 arg6 = (long)SWIG_As_long(obj4);
15afbcd0 12880 if (PyErr_Occurred()) SWIG_fail;
994141e6 12881 }
4d5c3d91 12882 if (obj5) {
d14a1e28 12883 {
4d5c3d91
RD
12884 arg7 = &temp6;
12885 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
d14a1e28
RD
12886 }
12887 }
12888 {
e3b71cb8 12889 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
12890 PyThreadState* __tstate = wxPyBeginAllowThreads();
12891 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12892
12893 wxPyEndAllowThreads(__tstate);
110da5b0 12894 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 12895 }
15afbcd0 12896 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
d14a1e28
RD
12897 {
12898 if (temp2)
12899 delete arg2;
12900 }
12901 {
12902 if (temp3)
12903 delete arg3;
12904 }
7eae615b 12905 {
4d5c3d91 12906 if (arg5) delete [] arg5;
7eae615b 12907 }
d14a1e28
RD
12908 return resultobj;
12909 fail:
12910 {
12911 if (temp2)
12912 delete arg2;
12913 }
12914 {
12915 if (temp3)
12916 delete arg3;
12917 }
7eae615b 12918 {
4d5c3d91 12919 if (arg5) delete [] arg5;
7eae615b 12920 }
d14a1e28
RD
12921 return NULL;
12922}
12923
12924
c32bde28 12925static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12926 PyObject *resultobj;
12927 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12928 wxArrayInt *arg2 = 0 ;
ae8162c8 12929 bool temp2 = false ;
d14a1e28
RD
12930 PyObject * obj0 = 0 ;
12931 PyObject * obj1 = 0 ;
12932 char *kwnames[] = {
12933 (char *) "self",(char *) "selections", NULL
12934 };
12935
12936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12939 {
12940 if (! PySequence_Check(obj1)) {
12941 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
12942 SWIG_fail;
12943 }
12944 arg2 = new wxArrayInt;
ae8162c8 12945 temp2 = true;
d14a1e28
RD
12946 int i, len=PySequence_Length(obj1);
12947 for (i=0; i<len; i++) {
12948 PyObject* item = PySequence_GetItem(obj1, i);
12949 PyObject* number = PyNumber_Int(item);
12950 arg2->Add(PyInt_AS_LONG(number));
12951 Py_DECREF(item);
12952 Py_DECREF(number);
12953 }
12954 }
12955 {
12956 PyThreadState* __tstate = wxPyBeginAllowThreads();
12957 (arg1)->SetSelections((wxArrayInt const &)*arg2);
12958
12959 wxPyEndAllowThreads(__tstate);
12960 if (PyErr_Occurred()) SWIG_fail;
12961 }
12962 Py_INCREF(Py_None); resultobj = Py_None;
12963 {
3adfb63b 12964 if (temp2) delete arg2;
d14a1e28
RD
12965 }
12966 return resultobj;
12967 fail:
12968 {
3adfb63b 12969 if (temp2) delete arg2;
d14a1e28
RD
12970 }
12971 return NULL;
12972}
12973
12974
c32bde28 12975static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12976 PyObject *resultobj;
12977 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12978 PyObject *result;
12979 PyObject * obj0 = 0 ;
12980 char *kwnames[] = {
12981 (char *) "self", NULL
12982 };
12983
12984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
15afbcd0
RD
12985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12987 {
12988 PyThreadState* __tstate = wxPyBeginAllowThreads();
12989 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
12990
12991 wxPyEndAllowThreads(__tstate);
12992 if (PyErr_Occurred()) SWIG_fail;
12993 }
12994 resultobj = result;
12995 return resultobj;
12996 fail:
12997 return NULL;
12998}
12999
13000
c32bde28 13001static PyObject * MultiChoiceDialog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
13002 PyObject *obj;
13003 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13004 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
13005 Py_INCREF(obj);
13006 return Py_BuildValue((char *)"");
13007}
c32bde28 13008static PyObject *_wrap_new_SingleChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13009 PyObject *resultobj;
13010 wxWindow *arg1 = (wxWindow *) 0 ;
13011 wxString *arg2 = 0 ;
13012 wxString *arg3 = 0 ;
13013 int arg4 ;
13014 wxString *arg5 = (wxString *) 0 ;
13015 long arg6 = (long) wxCHOICEDLG_STYLE ;
13016 wxPoint const &arg7_defvalue = wxDefaultPosition ;
13017 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
13018 wxSingleChoiceDialog *result;
ae8162c8
RD
13019 bool temp2 = false ;
13020 bool temp3 = false ;
d14a1e28
RD
13021 wxPoint temp6 ;
13022 PyObject * obj0 = 0 ;
13023 PyObject * obj1 = 0 ;
13024 PyObject * obj2 = 0 ;
13025 PyObject * obj3 = 0 ;
994141e6 13026 PyObject * obj4 = 0 ;
d14a1e28
RD
13027 PyObject * obj5 = 0 ;
13028 char *kwnames[] = {
13029 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
13030 };
13031
994141e6 13032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
13033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13035 {
13036 arg2 = wxString_in_helper(obj1);
13037 if (arg2 == NULL) SWIG_fail;
ae8162c8 13038 temp2 = true;
d14a1e28
RD
13039 }
13040 {
13041 arg3 = wxString_in_helper(obj2);
13042 if (arg3 == NULL) SWIG_fail;
ae8162c8 13043 temp3 = true;
d14a1e28
RD
13044 }
13045 {
13046 arg4 = PyList_Size(obj3);
13047 arg5 = wxString_LIST_helper(obj3);
13048 if (arg5 == NULL) SWIG_fail;
13049 }
994141e6 13050 if (obj4) {
c32bde28 13051 arg6 = (long)SWIG_As_long(obj4);
15afbcd0 13052 if (PyErr_Occurred()) SWIG_fail;
994141e6 13053 }
d14a1e28
RD
13054 if (obj5) {
13055 {
13056 arg7 = &temp6;
13057 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
13058 }
13059 }
13060 {
e3b71cb8 13061 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
13062 PyThreadState* __tstate = wxPyBeginAllowThreads();
13063 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
13064
13065 wxPyEndAllowThreads(__tstate);
110da5b0 13066 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 13067 }
15afbcd0 13068 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
d14a1e28
RD
13069 {
13070 if (temp2)
13071 delete arg2;
13072 }
13073 {
13074 if (temp3)
13075 delete arg3;
13076 }
13077 {
13078 if (arg5) delete [] arg5;
13079 }
13080 return resultobj;
13081 fail:
13082 {
13083 if (temp2)
13084 delete arg2;
13085 }
13086 {
13087 if (temp3)
13088 delete arg3;
13089 }
13090 {
13091 if (arg5) delete [] arg5;
13092 }
13093 return NULL;
13094}
13095
13096
c32bde28 13097static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13098 PyObject *resultobj;
13099 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
13100 int result;
13101 PyObject * obj0 = 0 ;
13102 char *kwnames[] = {
13103 (char *) "self", NULL
13104 };
13105
13106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
13107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
13108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13109 {
13110 PyThreadState* __tstate = wxPyBeginAllowThreads();
13111 result = (int)(arg1)->GetSelection();
13112
13113 wxPyEndAllowThreads(__tstate);
13114 if (PyErr_Occurred()) SWIG_fail;
13115 }
c32bde28 13116 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
13117 return resultobj;
13118 fail:
13119 return NULL;
13120}
13121
13122
c32bde28 13123static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13124 PyObject *resultobj;
13125 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
13126 wxString result;
13127 PyObject * obj0 = 0 ;
13128 char *kwnames[] = {
13129 (char *) "self", NULL
13130 };
13131
13132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
13133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
13134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13135 {
13136 PyThreadState* __tstate = wxPyBeginAllowThreads();
13137 result = (arg1)->GetStringSelection();
13138
13139 wxPyEndAllowThreads(__tstate);
13140 if (PyErr_Occurred()) SWIG_fail;
13141 }
13142 {
13143#if wxUSE_UNICODE
13144 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13145#else
13146 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13147#endif
13148 }
13149 return resultobj;
13150 fail:
13151 return NULL;
13152}
13153
13154
c32bde28 13155static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13156 PyObject *resultobj;
13157 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
13158 int arg2 ;
13159 PyObject * obj0 = 0 ;
994141e6 13160 PyObject * obj1 = 0 ;
d14a1e28
RD
13161 char *kwnames[] = {
13162 (char *) "self",(char *) "sel", NULL
13163 };
13164
994141e6 13165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
13167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13168 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 13169 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13170 {
13171 PyThreadState* __tstate = wxPyBeginAllowThreads();
13172 (arg1)->SetSelection(arg2);
13173
13174 wxPyEndAllowThreads(__tstate);
13175 if (PyErr_Occurred()) SWIG_fail;
13176 }
13177 Py_INCREF(Py_None); resultobj = Py_None;
13178 return resultobj;
13179 fail:
13180 return NULL;
13181}
13182
13183
c32bde28 13184static PyObject * SingleChoiceDialog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
13185 PyObject *obj;
13186 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13187 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
13188 Py_INCREF(obj);
13189 return Py_BuildValue((char *)"");
13190}
c32bde28 13191static PyObject *_wrap_new_TextEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13192 PyObject *resultobj;
13193 wxWindow *arg1 = (wxWindow *) 0 ;
13194 wxString *arg2 = 0 ;
13195 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
13196 wxString *arg3 = (wxString *) &arg3_defvalue ;
13197 wxString const &arg4_defvalue = wxPyEmptyString ;
13198 wxString *arg4 = (wxString *) &arg4_defvalue ;
13199 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
13200 wxPoint const &arg6_defvalue = wxDefaultPosition ;
13201 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
13202 wxTextEntryDialog *result;
ae8162c8
RD
13203 bool temp2 = false ;
13204 bool temp3 = false ;
13205 bool temp4 = false ;
d14a1e28
RD
13206 wxPoint temp6 ;
13207 PyObject * obj0 = 0 ;
13208 PyObject * obj1 = 0 ;
13209 PyObject * obj2 = 0 ;
13210 PyObject * obj3 = 0 ;
994141e6 13211 PyObject * obj4 = 0 ;
d14a1e28
RD
13212 PyObject * obj5 = 0 ;
13213 char *kwnames[] = {
13214 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
13215 };
13216
994141e6 13217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
13218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13220 {
13221 arg2 = wxString_in_helper(obj1);
13222 if (arg2 == NULL) SWIG_fail;
ae8162c8 13223 temp2 = true;
d14a1e28
RD
13224 }
13225 if (obj2) {
13226 {
13227 arg3 = wxString_in_helper(obj2);
13228 if (arg3 == NULL) SWIG_fail;
ae8162c8 13229 temp3 = true;
d14a1e28
RD
13230 }
13231 }
13232 if (obj3) {
13233 {
13234 arg4 = wxString_in_helper(obj3);
13235 if (arg4 == NULL) SWIG_fail;
ae8162c8 13236 temp4 = true;
d14a1e28
RD
13237 }
13238 }
994141e6 13239 if (obj4) {
c32bde28 13240 arg5 = (long)SWIG_As_long(obj4);
15afbcd0 13241 if (PyErr_Occurred()) SWIG_fail;
994141e6 13242 }
d14a1e28
RD
13243 if (obj5) {
13244 {
13245 arg6 = &temp6;
13246 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
13247 }
13248 }
13249 {
e3b71cb8 13250 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
13251 PyThreadState* __tstate = wxPyBeginAllowThreads();
13252 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
13253
13254 wxPyEndAllowThreads(__tstate);
110da5b0 13255 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 13256 }
15afbcd0 13257 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
d14a1e28
RD
13258 {
13259 if (temp2)
13260 delete arg2;
13261 }
13262 {
13263 if (temp3)
13264 delete arg3;
13265 }
13266 {
13267 if (temp4)
13268 delete arg4;
13269 }
13270 return resultobj;
13271 fail:
13272 {
13273 if (temp2)
13274 delete arg2;
13275 }
13276 {
13277 if (temp3)
13278 delete arg3;
13279 }
13280 {
13281 if (temp4)
13282 delete arg4;
13283 }
13284 return NULL;
13285}
13286
13287
c32bde28 13288static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13289 PyObject *resultobj;
13290 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
13291 wxString result;
13292 PyObject * obj0 = 0 ;
13293 char *kwnames[] = {
13294 (char *) "self", NULL
13295 };
13296
13297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
13298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
13299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13300 {
13301 PyThreadState* __tstate = wxPyBeginAllowThreads();
13302 result = (arg1)->GetValue();
13303
13304 wxPyEndAllowThreads(__tstate);
13305 if (PyErr_Occurred()) SWIG_fail;
13306 }
13307 {
13308#if wxUSE_UNICODE
13309 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13310#else
13311 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13312#endif
13313 }
13314 return resultobj;
13315 fail:
13316 return NULL;
13317}
13318
13319
c32bde28 13320static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13321 PyObject *resultobj;
13322 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
13323 wxString *arg2 = 0 ;
ae8162c8 13324 bool temp2 = false ;
d14a1e28
RD
13325 PyObject * obj0 = 0 ;
13326 PyObject * obj1 = 0 ;
13327 char *kwnames[] = {
13328 (char *) "self",(char *) "value", NULL
13329 };
13330
13331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
13333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13334 {
13335 arg2 = wxString_in_helper(obj1);
13336 if (arg2 == NULL) SWIG_fail;
ae8162c8 13337 temp2 = true;
d14a1e28
RD
13338 }
13339 {
13340 PyThreadState* __tstate = wxPyBeginAllowThreads();
13341 (arg1)->SetValue((wxString const &)*arg2);
13342
13343 wxPyEndAllowThreads(__tstate);
13344 if (PyErr_Occurred()) SWIG_fail;
13345 }
13346 Py_INCREF(Py_None); resultobj = Py_None;
13347 {
13348 if (temp2)
13349 delete arg2;
13350 }
13351 return resultobj;
13352 fail:
13353 {
13354 if (temp2)
13355 delete arg2;
13356 }
13357 return NULL;
13358}
13359
13360
c32bde28 13361static PyObject * TextEntryDialog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
13362 PyObject *obj;
13363 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13364 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
13365 Py_INCREF(obj);
13366 return Py_BuildValue((char *)"");
13367}
c32bde28 13368static PyObject *_wrap_new_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13369 PyObject *resultobj;
13370 wxFontData *result;
13371 char *kwnames[] = {
13372 NULL
13373 };
13374
13375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
13376 {
13377 PyThreadState* __tstate = wxPyBeginAllowThreads();
13378 result = (wxFontData *)new wxFontData();
13379
13380 wxPyEndAllowThreads(__tstate);
13381 if (PyErr_Occurred()) SWIG_fail;
13382 }
15afbcd0 13383 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
d14a1e28
RD
13384 return resultobj;
13385 fail:
13386 return NULL;
13387}
13388
13389
c32bde28 13390static PyObject *_wrap_delete_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13391 PyObject *resultobj;
13392 wxFontData *arg1 = (wxFontData *) 0 ;
13393 PyObject * obj0 = 0 ;
13394 char *kwnames[] = {
13395 (char *) "self", NULL
13396 };
13397
13398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
15afbcd0
RD
13399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13401 {
13402 PyThreadState* __tstate = wxPyBeginAllowThreads();
13403 delete arg1;
13404
13405 wxPyEndAllowThreads(__tstate);
13406 if (PyErr_Occurred()) SWIG_fail;
13407 }
13408 Py_INCREF(Py_None); resultobj = Py_None;
13409 return resultobj;
13410 fail:
13411 return NULL;
13412}
13413
13414
c32bde28 13415static PyObject *_wrap_FontData_EnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13416 PyObject *resultobj;
13417 wxFontData *arg1 = (wxFontData *) 0 ;
13418 bool arg2 ;
13419 PyObject * obj0 = 0 ;
13420 PyObject * obj1 = 0 ;
13421 char *kwnames[] = {
13422 (char *) "self",(char *) "enable", NULL
13423 };
13424
13425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13428 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 13429 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13430 {
13431 PyThreadState* __tstate = wxPyBeginAllowThreads();
13432 (arg1)->EnableEffects(arg2);
13433
13434 wxPyEndAllowThreads(__tstate);
13435 if (PyErr_Occurred()) SWIG_fail;
13436 }
13437 Py_INCREF(Py_None); resultobj = Py_None;
13438 return resultobj;
13439 fail:
13440 return NULL;
13441}
13442
13443
c32bde28 13444static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13445 PyObject *resultobj;
13446 wxFontData *arg1 = (wxFontData *) 0 ;
13447 bool result;
13448 PyObject * obj0 = 0 ;
13449 char *kwnames[] = {
13450 (char *) "self", NULL
13451 };
13452
13453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
15afbcd0
RD
13454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13456 {
13457 PyThreadState* __tstate = wxPyBeginAllowThreads();
13458 result = (bool)(arg1)->GetAllowSymbols();
13459
13460 wxPyEndAllowThreads(__tstate);
13461 if (PyErr_Occurred()) SWIG_fail;
13462 }
4f89f6a3
RD
13463 {
13464 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13465 }
d14a1e28
RD
13466 return resultobj;
13467 fail:
13468 return NULL;
13469}
13470
13471
c32bde28 13472static PyObject *_wrap_FontData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13473 PyObject *resultobj;
13474 wxFontData *arg1 = (wxFontData *) 0 ;
13475 wxColour result;
13476 PyObject * obj0 = 0 ;
13477 char *kwnames[] = {
13478 (char *) "self", NULL
13479 };
13480
13481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
13482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13484 {
13485 PyThreadState* __tstate = wxPyBeginAllowThreads();
13486 result = (arg1)->GetColour();
13487
13488 wxPyEndAllowThreads(__tstate);
13489 if (PyErr_Occurred()) SWIG_fail;
13490 }
13491 {
13492 wxColour * resultptr;
13493 resultptr = new wxColour((wxColour &) result);
15afbcd0 13494 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
13495 }
13496 return resultobj;
13497 fail:
13498 return NULL;
13499}
13500
13501
c32bde28 13502static PyObject *_wrap_FontData_GetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13503 PyObject *resultobj;
13504 wxFontData *arg1 = (wxFontData *) 0 ;
13505 wxFont result;
13506 PyObject * obj0 = 0 ;
13507 char *kwnames[] = {
13508 (char *) "self", NULL
13509 };
13510
13511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
15afbcd0
RD
13512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13514 {
13515 PyThreadState* __tstate = wxPyBeginAllowThreads();
13516 result = (arg1)->GetChosenFont();
13517
13518 wxPyEndAllowThreads(__tstate);
13519 if (PyErr_Occurred()) SWIG_fail;
13520 }
13521 {
13522 wxFont * resultptr;
13523 resultptr = new wxFont((wxFont &) result);
15afbcd0 13524 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
13525 }
13526 return resultobj;
13527 fail:
13528 return NULL;
13529}
13530
13531
c32bde28 13532static PyObject *_wrap_FontData_GetEnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13533 PyObject *resultobj;
13534 wxFontData *arg1 = (wxFontData *) 0 ;
13535 bool result;
13536 PyObject * obj0 = 0 ;
13537 char *kwnames[] = {
13538 (char *) "self", NULL
13539 };
13540
13541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
15afbcd0
RD
13542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13544 {
13545 PyThreadState* __tstate = wxPyBeginAllowThreads();
13546 result = (bool)(arg1)->GetEnableEffects();
13547
13548 wxPyEndAllowThreads(__tstate);
13549 if (PyErr_Occurred()) SWIG_fail;
13550 }
4f89f6a3
RD
13551 {
13552 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13553 }
d14a1e28
RD
13554 return resultobj;
13555 fail:
13556 return NULL;
13557}
13558
13559
c32bde28 13560static PyObject *_wrap_FontData_GetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13561 PyObject *resultobj;
13562 wxFontData *arg1 = (wxFontData *) 0 ;
13563 wxFont result;
13564 PyObject * obj0 = 0 ;
13565 char *kwnames[] = {
13566 (char *) "self", NULL
13567 };
13568
13569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
15afbcd0
RD
13570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13572 {
13573 PyThreadState* __tstate = wxPyBeginAllowThreads();
13574 result = (arg1)->GetInitialFont();
13575
13576 wxPyEndAllowThreads(__tstate);
13577 if (PyErr_Occurred()) SWIG_fail;
13578 }
13579 {
13580 wxFont * resultptr;
13581 resultptr = new wxFont((wxFont &) result);
15afbcd0 13582 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
13583 }
13584 return resultobj;
13585 fail:
13586 return NULL;
13587}
13588
13589
c32bde28 13590static PyObject *_wrap_FontData_GetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13591 PyObject *resultobj;
13592 wxFontData *arg1 = (wxFontData *) 0 ;
13593 bool result;
13594 PyObject * obj0 = 0 ;
13595 char *kwnames[] = {
13596 (char *) "self", NULL
13597 };
13598
13599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
15afbcd0
RD
13600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13602 {
13603 PyThreadState* __tstate = wxPyBeginAllowThreads();
13604 result = (bool)(arg1)->GetShowHelp();
13605
13606 wxPyEndAllowThreads(__tstate);
13607 if (PyErr_Occurred()) SWIG_fail;
13608 }
4f89f6a3
RD
13609 {
13610 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13611 }
d14a1e28
RD
13612 return resultobj;
13613 fail:
13614 return NULL;
13615}
13616
13617
c32bde28 13618static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13619 PyObject *resultobj;
13620 wxFontData *arg1 = (wxFontData *) 0 ;
13621 bool arg2 ;
13622 PyObject * obj0 = 0 ;
13623 PyObject * obj1 = 0 ;
13624 char *kwnames[] = {
13625 (char *) "self",(char *) "allowSymbols", NULL
13626 };
13627
13628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13631 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 13632 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13633 {
13634 PyThreadState* __tstate = wxPyBeginAllowThreads();
13635 (arg1)->SetAllowSymbols(arg2);
13636
13637 wxPyEndAllowThreads(__tstate);
13638 if (PyErr_Occurred()) SWIG_fail;
13639 }
13640 Py_INCREF(Py_None); resultobj = Py_None;
13641 return resultobj;
13642 fail:
13643 return NULL;
13644}
13645
13646
c32bde28 13647static PyObject *_wrap_FontData_SetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13648 PyObject *resultobj;
13649 wxFontData *arg1 = (wxFontData *) 0 ;
13650 wxFont *arg2 = 0 ;
13651 PyObject * obj0 = 0 ;
13652 PyObject * obj1 = 0 ;
13653 char *kwnames[] = {
13654 (char *) "self",(char *) "font", NULL
13655 };
13656
13657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13660 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13661 SWIG_POINTER_EXCEPTION | 0)) == -1)
13662 SWIG_fail;
d14a1e28 13663 if (arg2 == NULL) {
15afbcd0
RD
13664 PyErr_SetString(PyExc_TypeError,"null reference");
13665 SWIG_fail;
d14a1e28
RD
13666 }
13667 {
13668 PyThreadState* __tstate = wxPyBeginAllowThreads();
13669 (arg1)->SetChosenFont((wxFont const &)*arg2);
13670
13671 wxPyEndAllowThreads(__tstate);
13672 if (PyErr_Occurred()) SWIG_fail;
13673 }
13674 Py_INCREF(Py_None); resultobj = Py_None;
13675 return resultobj;
13676 fail:
13677 return NULL;
13678}
13679
13680
c32bde28 13681static PyObject *_wrap_FontData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13682 PyObject *resultobj;
13683 wxFontData *arg1 = (wxFontData *) 0 ;
13684 wxColour *arg2 = 0 ;
13685 wxColour temp2 ;
13686 PyObject * obj0 = 0 ;
13687 PyObject * obj1 = 0 ;
13688 char *kwnames[] = {
13689 (char *) "self",(char *) "colour", NULL
13690 };
13691
13692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13695 {
13696 arg2 = &temp2;
13697 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13698 }
13699 {
13700 PyThreadState* __tstate = wxPyBeginAllowThreads();
13701 (arg1)->SetColour((wxColour const &)*arg2);
13702
13703 wxPyEndAllowThreads(__tstate);
13704 if (PyErr_Occurred()) SWIG_fail;
13705 }
13706 Py_INCREF(Py_None); resultobj = Py_None;
13707 return resultobj;
13708 fail:
13709 return NULL;
13710}
13711
13712
c32bde28 13713static PyObject *_wrap_FontData_SetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13714 PyObject *resultobj;
13715 wxFontData *arg1 = (wxFontData *) 0 ;
13716 wxFont *arg2 = 0 ;
13717 PyObject * obj0 = 0 ;
13718 PyObject * obj1 = 0 ;
13719 char *kwnames[] = {
13720 (char *) "self",(char *) "font", NULL
13721 };
13722
13723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13726 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13727 SWIG_POINTER_EXCEPTION | 0)) == -1)
13728 SWIG_fail;
d14a1e28 13729 if (arg2 == NULL) {
15afbcd0
RD
13730 PyErr_SetString(PyExc_TypeError,"null reference");
13731 SWIG_fail;
d14a1e28
RD
13732 }
13733 {
13734 PyThreadState* __tstate = wxPyBeginAllowThreads();
13735 (arg1)->SetInitialFont((wxFont const &)*arg2);
13736
13737 wxPyEndAllowThreads(__tstate);
13738 if (PyErr_Occurred()) SWIG_fail;
13739 }
13740 Py_INCREF(Py_None); resultobj = Py_None;
13741 return resultobj;
13742 fail:
13743 return NULL;
13744}
13745
13746
c32bde28 13747static PyObject *_wrap_FontData_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13748 PyObject *resultobj;
13749 wxFontData *arg1 = (wxFontData *) 0 ;
13750 int arg2 ;
13751 int arg3 ;
13752 PyObject * obj0 = 0 ;
994141e6
RD
13753 PyObject * obj1 = 0 ;
13754 PyObject * obj2 = 0 ;
d14a1e28
RD
13755 char *kwnames[] = {
13756 (char *) "self",(char *) "min",(char *) "max", NULL
13757 };
13758
994141e6 13759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
13760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13762 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 13763 if (PyErr_Occurred()) SWIG_fail;
c32bde28 13764 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 13765 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13766 {
13767 PyThreadState* __tstate = wxPyBeginAllowThreads();
13768 (arg1)->SetRange(arg2,arg3);
13769
13770 wxPyEndAllowThreads(__tstate);
13771 if (PyErr_Occurred()) SWIG_fail;
13772 }
13773 Py_INCREF(Py_None); resultobj = Py_None;
13774 return resultobj;
13775 fail:
13776 return NULL;
13777}
13778
13779
c32bde28 13780static PyObject *_wrap_FontData_SetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13781 PyObject *resultobj;
13782 wxFontData *arg1 = (wxFontData *) 0 ;
13783 bool arg2 ;
13784 PyObject * obj0 = 0 ;
13785 PyObject * obj1 = 0 ;
13786 char *kwnames[] = {
13787 (char *) "self",(char *) "showHelp", NULL
13788 };
13789
13790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13793 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 13794 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13795 {
13796 PyThreadState* __tstate = wxPyBeginAllowThreads();
13797 (arg1)->SetShowHelp(arg2);
13798
13799 wxPyEndAllowThreads(__tstate);
13800 if (PyErr_Occurred()) SWIG_fail;
13801 }
13802 Py_INCREF(Py_None); resultobj = Py_None;
13803 return resultobj;
13804 fail:
13805 return NULL;
13806}
13807
13808
c32bde28 13809static PyObject * FontData_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
13810 PyObject *obj;
13811 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13812 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
13813 Py_INCREF(obj);
13814 return Py_BuildValue((char *)"");
13815}
c32bde28 13816static PyObject *_wrap_new_FontDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 13817 PyObject *resultobj;
e498079e
RD
13818 wxWindow *arg1 = (wxWindow *) 0 ;
13819 wxFontData *arg2 = 0 ;
13820 wxFontDialog *result;
d14a1e28 13821 PyObject * obj0 = 0 ;
e498079e 13822 PyObject * obj1 = 0 ;
15afbcd0
RD
13823 char *kwnames[] = {
13824 (char *) "parent",(char *) "data", NULL
13825 };
d14a1e28 13826
15afbcd0
RD
13827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
13828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13830 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFontData,
13831 SWIG_POINTER_EXCEPTION | 0)) == -1)
13832 SWIG_fail;
e498079e 13833 if (arg2 == NULL) {
15afbcd0
RD
13834 PyErr_SetString(PyExc_TypeError,"null reference");
13835 SWIG_fail;
e498079e 13836 }
d14a1e28 13837 {
e3b71cb8 13838 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 13839 PyThreadState* __tstate = wxPyBeginAllowThreads();
e498079e 13840 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
d14a1e28
RD
13841
13842 wxPyEndAllowThreads(__tstate);
110da5b0 13843 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 13844 }
15afbcd0 13845 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
d14a1e28
RD
13846 return resultobj;
13847 fail:
13848 return NULL;
13849}
13850
13851
c32bde28 13852static PyObject *_wrap_FontDialog_GetFontData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13853 PyObject *resultobj;
13854 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
e498079e 13855 wxFontData *result;
d14a1e28
RD
13856 PyObject * obj0 = 0 ;
13857 char *kwnames[] = {
13858 (char *) "self", NULL
13859 };
13860
e498079e 13861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
15afbcd0
RD
13862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontDialog,
13863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13864 {
13865 PyThreadState* __tstate = wxPyBeginAllowThreads();
e498079e
RD
13866 {
13867 wxFontData &_result_ref = (arg1)->GetFontData();
13868 result = (wxFontData *) &_result_ref;
13869 }
d14a1e28
RD
13870
13871 wxPyEndAllowThreads(__tstate);
13872 if (PyErr_Occurred()) SWIG_fail;
13873 }
15afbcd0 13874 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
d14a1e28
RD
13875 return resultobj;
13876 fail:
13877 return NULL;
13878}
13879
13880
c32bde28 13881static PyObject * FontDialog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
13882 PyObject *obj;
13883 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13884 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
13885 Py_INCREF(obj);
13886 return Py_BuildValue((char *)"");
13887}
c32bde28 13888static PyObject *_wrap_new_MessageDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13889 PyObject *resultobj;
13890 wxWindow *arg1 = (wxWindow *) 0 ;
13891 wxString *arg2 = 0 ;
13892 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
13893 wxString *arg3 = (wxString *) &arg3_defvalue ;
13894 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
13895 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13896 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13897 wxMessageDialog *result;
ae8162c8
RD
13898 bool temp2 = false ;
13899 bool temp3 = false ;
d14a1e28
RD
13900 wxPoint temp5 ;
13901 PyObject * obj0 = 0 ;
13902 PyObject * obj1 = 0 ;
13903 PyObject * obj2 = 0 ;
994141e6 13904 PyObject * obj3 = 0 ;
d14a1e28
RD
13905 PyObject * obj4 = 0 ;
13906 char *kwnames[] = {
13907 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13908 };
13909
994141e6 13910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
13911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13913 {
13914 arg2 = wxString_in_helper(obj1);
13915 if (arg2 == NULL) SWIG_fail;
ae8162c8 13916 temp2 = true;
d14a1e28
RD
13917 }
13918 if (obj2) {
13919 {
13920 arg3 = wxString_in_helper(obj2);
13921 if (arg3 == NULL) SWIG_fail;
ae8162c8 13922 temp3 = true;
d14a1e28
RD
13923 }
13924 }
994141e6 13925 if (obj3) {
c32bde28 13926 arg4 = (long)SWIG_As_long(obj3);
15afbcd0 13927 if (PyErr_Occurred()) SWIG_fail;
994141e6 13928 }
d14a1e28
RD
13929 if (obj4) {
13930 {
13931 arg5 = &temp5;
13932 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13933 }
13934 }
13935 {
e3b71cb8 13936 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
13937 PyThreadState* __tstate = wxPyBeginAllowThreads();
13938 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
13939
13940 wxPyEndAllowThreads(__tstate);
110da5b0 13941 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 13942 }
15afbcd0 13943 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
d14a1e28
RD
13944 {
13945 if (temp2)
13946 delete arg2;
13947 }
13948 {
13949 if (temp3)
13950 delete arg3;
13951 }
13952 return resultobj;
13953 fail:
13954 {
13955 if (temp2)
13956 delete arg2;
13957 }
13958 {
13959 if (temp3)
13960 delete arg3;
13961 }
13962 return NULL;
13963}
13964
13965
c32bde28 13966static PyObject * MessageDialog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
13967 PyObject *obj;
13968 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13969 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
13970 Py_INCREF(obj);
13971 return Py_BuildValue((char *)"");
13972}
c32bde28 13973static PyObject *_wrap_new_ProgressDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13974 PyObject *resultobj;
13975 wxString *arg1 = 0 ;
13976 wxString *arg2 = 0 ;
13977 int arg3 = (int) 100 ;
13978 wxWindow *arg4 = (wxWindow *) NULL ;
13979 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
13980 wxProgressDialog *result;
ae8162c8
RD
13981 bool temp1 = false ;
13982 bool temp2 = false ;
d14a1e28
RD
13983 PyObject * obj0 = 0 ;
13984 PyObject * obj1 = 0 ;
994141e6 13985 PyObject * obj2 = 0 ;
d14a1e28 13986 PyObject * obj3 = 0 ;
994141e6 13987 PyObject * obj4 = 0 ;
d14a1e28
RD
13988 char *kwnames[] = {
13989 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13990 };
13991
994141e6 13992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
d14a1e28
RD
13993 {
13994 arg1 = wxString_in_helper(obj0);
13995 if (arg1 == NULL) SWIG_fail;
ae8162c8 13996 temp1 = true;
d14a1e28
RD
13997 }
13998 {
13999 arg2 = wxString_in_helper(obj1);
14000 if (arg2 == NULL) SWIG_fail;
ae8162c8 14001 temp2 = true;
d14a1e28 14002 }
994141e6 14003 if (obj2) {
c32bde28 14004 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 14005 if (PyErr_Occurred()) SWIG_fail;
994141e6 14006 }
d14a1e28 14007 if (obj3) {
15afbcd0
RD
14008 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
14009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 14010 }
994141e6 14011 if (obj4) {
c32bde28 14012 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 14013 if (PyErr_Occurred()) SWIG_fail;
994141e6 14014 }
d14a1e28 14015 {
e3b71cb8 14016 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
14017 PyThreadState* __tstate = wxPyBeginAllowThreads();
14018 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
14019
14020 wxPyEndAllowThreads(__tstate);
110da5b0 14021 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 14022 }
15afbcd0 14023 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
d14a1e28
RD
14024 {
14025 if (temp1)
14026 delete arg1;
14027 }
14028 {
14029 if (temp2)
14030 delete arg2;
14031 }
14032 return resultobj;
14033 fail:
14034 {
14035 if (temp1)
14036 delete arg1;
14037 }
14038 {
14039 if (temp2)
14040 delete arg2;
14041 }
14042 return NULL;
14043}
14044
14045
c32bde28 14046static PyObject *_wrap_ProgressDialog_Update(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14047 PyObject *resultobj;
14048 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
14049 int arg2 ;
14050 wxString const &arg3_defvalue = wxPyEmptyString ;
14051 wxString *arg3 = (wxString *) &arg3_defvalue ;
14052 bool result;
ae8162c8 14053 bool temp3 = false ;
d14a1e28 14054 PyObject * obj0 = 0 ;
994141e6 14055 PyObject * obj1 = 0 ;
d14a1e28
RD
14056 PyObject * obj2 = 0 ;
14057 char *kwnames[] = {
14058 (char *) "self",(char *) "value",(char *) "newmsg", NULL
14059 };
14060
994141e6 14061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
14062 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
14063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 14064 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 14065 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14066 if (obj2) {
14067 {
14068 arg3 = wxString_in_helper(obj2);
14069 if (arg3 == NULL) SWIG_fail;
ae8162c8 14070 temp3 = true;
d14a1e28
RD
14071 }
14072 }
14073 {
14074 PyThreadState* __tstate = wxPyBeginAllowThreads();
14075 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
14076
14077 wxPyEndAllowThreads(__tstate);
14078 if (PyErr_Occurred()) SWIG_fail;
14079 }
4f89f6a3
RD
14080 {
14081 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14082 }
d14a1e28
RD
14083 {
14084 if (temp3)
14085 delete arg3;
14086 }
14087 return resultobj;
14088 fail:
14089 {
14090 if (temp3)
14091 delete arg3;
14092 }
14093 return NULL;
14094}
14095
14096
c32bde28 14097static PyObject *_wrap_ProgressDialog_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14098 PyObject *resultobj;
14099 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
14100 PyObject * obj0 = 0 ;
14101 char *kwnames[] = {
14102 (char *) "self", NULL
14103 };
14104
14105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
15afbcd0
RD
14106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
14107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14108 {
14109 PyThreadState* __tstate = wxPyBeginAllowThreads();
14110 (arg1)->Resume();
14111
14112 wxPyEndAllowThreads(__tstate);
14113 if (PyErr_Occurred()) SWIG_fail;
14114 }
14115 Py_INCREF(Py_None); resultobj = Py_None;
14116 return resultobj;
14117 fail:
14118 return NULL;
14119}
14120
14121
c32bde28 14122static PyObject * ProgressDialog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
14123 PyObject *obj;
14124 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14125 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
14126 Py_INCREF(obj);
14127 return Py_BuildValue((char *)"");
14128}
c32bde28 14129static PyObject *_wrap_new_FindDialogEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14130 PyObject *resultobj;
14131 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14132 int arg2 = (int) 0 ;
14133 wxFindDialogEvent *result;
994141e6
RD
14134 PyObject * obj0 = 0 ;
14135 PyObject * obj1 = 0 ;
d14a1e28
RD
14136 char *kwnames[] = {
14137 (char *) "commandType",(char *) "id", NULL
14138 };
14139
994141e6
RD
14140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
14141 if (obj0) {
c32bde28 14142 arg1 = (wxEventType)SWIG_As_int(obj0);
15afbcd0 14143 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
14144 }
14145 if (obj1) {
c32bde28 14146 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 14147 if (PyErr_Occurred()) SWIG_fail;
994141e6 14148 }
d14a1e28
RD
14149 {
14150 PyThreadState* __tstate = wxPyBeginAllowThreads();
14151 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
14152
14153 wxPyEndAllowThreads(__tstate);
14154 if (PyErr_Occurred()) SWIG_fail;
14155 }
15afbcd0 14156 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
d14a1e28
RD
14157 return resultobj;
14158 fail:
14159 return NULL;
14160}
14161
14162
c32bde28 14163static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14164 PyObject *resultobj;
14165 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14166 int result;
14167 PyObject * obj0 = 0 ;
14168 char *kwnames[] = {
14169 (char *) "self", NULL
14170 };
14171
14172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
15afbcd0
RD
14173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14175 {
14176 PyThreadState* __tstate = wxPyBeginAllowThreads();
14177 result = (int)(arg1)->GetFlags();
14178
14179 wxPyEndAllowThreads(__tstate);
14180 if (PyErr_Occurred()) SWIG_fail;
14181 }
c32bde28 14182 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
14183 return resultobj;
14184 fail:
14185 return NULL;
14186}
14187
14188
c32bde28 14189static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14190 PyObject *resultobj;
14191 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
cc6dd355 14192 wxString *result;
d14a1e28
RD
14193 PyObject * obj0 = 0 ;
14194 char *kwnames[] = {
14195 (char *) "self", NULL
14196 };
14197
14198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
15afbcd0
RD
14199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14201 {
14202 PyThreadState* __tstate = wxPyBeginAllowThreads();
cc6dd355
RD
14203 {
14204 wxString const &_result_ref = (arg1)->GetFindString();
14205 result = (wxString *) &_result_ref;
14206 }
d14a1e28
RD
14207
14208 wxPyEndAllowThreads(__tstate);
14209 if (PyErr_Occurred()) SWIG_fail;
14210 }
14211 {
14212#if wxUSE_UNICODE
cc6dd355 14213 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
d14a1e28 14214#else
cc6dd355 14215 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
d14a1e28
RD
14216#endif
14217 }
14218 return resultobj;
14219 fail:
14220 return NULL;
14221}
14222
14223
c32bde28 14224static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14225 PyObject *resultobj;
14226 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14227 wxString *result;
14228 PyObject * obj0 = 0 ;
14229 char *kwnames[] = {
14230 (char *) "self", NULL
14231 };
14232
14233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
15afbcd0
RD
14234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14236 {
14237 PyThreadState* __tstate = wxPyBeginAllowThreads();
14238 {
14239 wxString const &_result_ref = (arg1)->GetReplaceString();
14240 result = (wxString *) &_result_ref;
14241 }
14242
14243 wxPyEndAllowThreads(__tstate);
14244 if (PyErr_Occurred()) SWIG_fail;
14245 }
cc6dd355
RD
14246 {
14247#if wxUSE_UNICODE
14248 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14249#else
14250 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14251#endif
14252 }
d14a1e28
RD
14253 return resultobj;
14254 fail:
14255 return NULL;
14256}
14257
14258
c32bde28 14259static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14260 PyObject *resultobj;
14261 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14262 wxFindReplaceDialog *result;
14263 PyObject * obj0 = 0 ;
14264 char *kwnames[] = {
14265 (char *) "self", NULL
14266 };
14267
14268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
15afbcd0
RD
14269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14271 {
14272 PyThreadState* __tstate = wxPyBeginAllowThreads();
14273 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
14274
14275 wxPyEndAllowThreads(__tstate);
14276 if (PyErr_Occurred()) SWIG_fail;
14277 }
15afbcd0 14278 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
d14a1e28
RD
14279 return resultobj;
14280 fail:
14281 return NULL;
14282}
14283
14284
c32bde28 14285static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14286 PyObject *resultobj;
14287 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14288 int arg2 ;
14289 PyObject * obj0 = 0 ;
994141e6 14290 PyObject * obj1 = 0 ;
d14a1e28
RD
14291 char *kwnames[] = {
14292 (char *) "self",(char *) "flags", NULL
14293 };
14294
994141e6 14295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 14298 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 14299 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14300 {
14301 PyThreadState* __tstate = wxPyBeginAllowThreads();
14302 (arg1)->SetFlags(arg2);
14303
14304 wxPyEndAllowThreads(__tstate);
14305 if (PyErr_Occurred()) SWIG_fail;
14306 }
14307 Py_INCREF(Py_None); resultobj = Py_None;
14308 return resultobj;
14309 fail:
14310 return NULL;
14311}
14312
14313
c32bde28 14314static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14315 PyObject *resultobj;
14316 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14317 wxString *arg2 = 0 ;
ae8162c8 14318 bool temp2 = false ;
d14a1e28
RD
14319 PyObject * obj0 = 0 ;
14320 PyObject * obj1 = 0 ;
14321 char *kwnames[] = {
14322 (char *) "self",(char *) "str", NULL
14323 };
14324
14325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14328 {
14329 arg2 = wxString_in_helper(obj1);
14330 if (arg2 == NULL) SWIG_fail;
ae8162c8 14331 temp2 = true;
d14a1e28
RD
14332 }
14333 {
14334 PyThreadState* __tstate = wxPyBeginAllowThreads();
14335 (arg1)->SetFindString((wxString const &)*arg2);
14336
14337 wxPyEndAllowThreads(__tstate);
14338 if (PyErr_Occurred()) SWIG_fail;
14339 }
14340 Py_INCREF(Py_None); resultobj = Py_None;
14341 {
14342 if (temp2)
14343 delete arg2;
14344 }
14345 return resultobj;
14346 fail:
14347 {
14348 if (temp2)
14349 delete arg2;
14350 }
14351 return NULL;
14352}
14353
14354
c32bde28 14355static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14356 PyObject *resultobj;
14357 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14358 wxString *arg2 = 0 ;
ae8162c8 14359 bool temp2 = false ;
d14a1e28
RD
14360 PyObject * obj0 = 0 ;
14361 PyObject * obj1 = 0 ;
14362 char *kwnames[] = {
14363 (char *) "self",(char *) "str", NULL
14364 };
14365
14366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14369 {
14370 arg2 = wxString_in_helper(obj1);
14371 if (arg2 == NULL) SWIG_fail;
ae8162c8 14372 temp2 = true;
d14a1e28
RD
14373 }
14374 {
14375 PyThreadState* __tstate = wxPyBeginAllowThreads();
14376 (arg1)->SetReplaceString((wxString const &)*arg2);
14377
14378 wxPyEndAllowThreads(__tstate);
14379 if (PyErr_Occurred()) SWIG_fail;
14380 }
14381 Py_INCREF(Py_None); resultobj = Py_None;
14382 {
14383 if (temp2)
14384 delete arg2;
14385 }
14386 return resultobj;
14387 fail:
14388 {
14389 if (temp2)
14390 delete arg2;
14391 }
14392 return NULL;
14393}
14394
14395
c32bde28 14396static PyObject * FindDialogEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
14397 PyObject *obj;
14398 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14399 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
14400 Py_INCREF(obj);
14401 return Py_BuildValue((char *)"");
14402}
c32bde28 14403static PyObject *_wrap_new_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14404 PyObject *resultobj;
14405 int arg1 = (int) 0 ;
14406 wxFindReplaceData *result;
994141e6 14407 PyObject * obj0 = 0 ;
d14a1e28
RD
14408 char *kwnames[] = {
14409 (char *) "flags", NULL
14410 };
14411
994141e6
RD
14412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
14413 if (obj0) {
c32bde28 14414 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 14415 if (PyErr_Occurred()) SWIG_fail;
994141e6 14416 }
d14a1e28
RD
14417 {
14418 PyThreadState* __tstate = wxPyBeginAllowThreads();
14419 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
14420
14421 wxPyEndAllowThreads(__tstate);
14422 if (PyErr_Occurred()) SWIG_fail;
14423 }
15afbcd0 14424 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
d14a1e28
RD
14425 return resultobj;
14426 fail:
14427 return NULL;
14428}
14429
14430
c32bde28 14431static PyObject *_wrap_delete_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14432 PyObject *resultobj;
14433 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14434 PyObject * obj0 = 0 ;
14435 char *kwnames[] = {
14436 (char *) "self", NULL
14437 };
14438
14439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
15afbcd0
RD
14440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14442 {
14443 PyThreadState* __tstate = wxPyBeginAllowThreads();
14444 delete arg1;
14445
14446 wxPyEndAllowThreads(__tstate);
14447 if (PyErr_Occurred()) SWIG_fail;
14448 }
14449 Py_INCREF(Py_None); resultobj = Py_None;
14450 return resultobj;
14451 fail:
14452 return NULL;
14453}
14454
14455
c32bde28 14456static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14457 PyObject *resultobj;
14458 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14459 wxString *result;
14460 PyObject * obj0 = 0 ;
14461 char *kwnames[] = {
14462 (char *) "self", NULL
14463 };
14464
14465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
15afbcd0
RD
14466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14468 {
14469 PyThreadState* __tstate = wxPyBeginAllowThreads();
14470 {
14471 wxString const &_result_ref = (arg1)->GetFindString();
14472 result = (wxString *) &_result_ref;
14473 }
14474
14475 wxPyEndAllowThreads(__tstate);
14476 if (PyErr_Occurred()) SWIG_fail;
14477 }
cc6dd355
RD
14478 {
14479#if wxUSE_UNICODE
14480 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14481#else
14482 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14483#endif
14484 }
d14a1e28
RD
14485 return resultobj;
14486 fail:
14487 return NULL;
14488}
14489
14490
c32bde28 14491static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14492 PyObject *resultobj;
14493 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14494 wxString *result;
14495 PyObject * obj0 = 0 ;
14496 char *kwnames[] = {
14497 (char *) "self", NULL
14498 };
14499
14500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
15afbcd0
RD
14501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14503 {
14504 PyThreadState* __tstate = wxPyBeginAllowThreads();
14505 {
14506 wxString const &_result_ref = (arg1)->GetReplaceString();
14507 result = (wxString *) &_result_ref;
14508 }
14509
14510 wxPyEndAllowThreads(__tstate);
14511 if (PyErr_Occurred()) SWIG_fail;
14512 }
cc6dd355
RD
14513 {
14514#if wxUSE_UNICODE
14515 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14516#else
14517 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14518#endif
14519 }
d14a1e28
RD
14520 return resultobj;
14521 fail:
14522 return NULL;
14523}
14524
14525
c32bde28 14526static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14527 PyObject *resultobj;
14528 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14529 int result;
14530 PyObject * obj0 = 0 ;
14531 char *kwnames[] = {
14532 (char *) "self", NULL
14533 };
14534
14535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
15afbcd0
RD
14536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14538 {
14539 PyThreadState* __tstate = wxPyBeginAllowThreads();
14540 result = (int)(arg1)->GetFlags();
14541
14542 wxPyEndAllowThreads(__tstate);
14543 if (PyErr_Occurred()) SWIG_fail;
14544 }
c32bde28 14545 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
14546 return resultobj;
14547 fail:
14548 return NULL;
14549}
14550
14551
c32bde28 14552static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14553 PyObject *resultobj;
14554 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14555 int arg2 ;
14556 PyObject * obj0 = 0 ;
994141e6 14557 PyObject * obj1 = 0 ;
d14a1e28
RD
14558 char *kwnames[] = {
14559 (char *) "self",(char *) "flags", NULL
14560 };
14561
994141e6 14562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 14565 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 14566 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14567 {
14568 PyThreadState* __tstate = wxPyBeginAllowThreads();
14569 (arg1)->SetFlags(arg2);
14570
14571 wxPyEndAllowThreads(__tstate);
14572 if (PyErr_Occurred()) SWIG_fail;
14573 }
14574 Py_INCREF(Py_None); resultobj = Py_None;
14575 return resultobj;
14576 fail:
14577 return NULL;
14578}
14579
14580
c32bde28 14581static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14582 PyObject *resultobj;
14583 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14584 wxString *arg2 = 0 ;
ae8162c8 14585 bool temp2 = false ;
d14a1e28
RD
14586 PyObject * obj0 = 0 ;
14587 PyObject * obj1 = 0 ;
14588 char *kwnames[] = {
14589 (char *) "self",(char *) "str", NULL
14590 };
14591
14592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14595 {
14596 arg2 = wxString_in_helper(obj1);
14597 if (arg2 == NULL) SWIG_fail;
ae8162c8 14598 temp2 = true;
d14a1e28
RD
14599 }
14600 {
14601 PyThreadState* __tstate = wxPyBeginAllowThreads();
14602 (arg1)->SetFindString((wxString const &)*arg2);
14603
14604 wxPyEndAllowThreads(__tstate);
14605 if (PyErr_Occurred()) SWIG_fail;
14606 }
14607 Py_INCREF(Py_None); resultobj = Py_None;
14608 {
14609 if (temp2)
14610 delete arg2;
14611 }
14612 return resultobj;
14613 fail:
14614 {
14615 if (temp2)
14616 delete arg2;
14617 }
14618 return NULL;
14619}
14620
14621
c32bde28 14622static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14623 PyObject *resultobj;
14624 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14625 wxString *arg2 = 0 ;
ae8162c8 14626 bool temp2 = false ;
d14a1e28
RD
14627 PyObject * obj0 = 0 ;
14628 PyObject * obj1 = 0 ;
14629 char *kwnames[] = {
14630 (char *) "self",(char *) "str", NULL
14631 };
14632
14633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14636 {
14637 arg2 = wxString_in_helper(obj1);
14638 if (arg2 == NULL) SWIG_fail;
ae8162c8 14639 temp2 = true;
d14a1e28
RD
14640 }
14641 {
14642 PyThreadState* __tstate = wxPyBeginAllowThreads();
14643 (arg1)->SetReplaceString((wxString const &)*arg2);
14644
14645 wxPyEndAllowThreads(__tstate);
14646 if (PyErr_Occurred()) SWIG_fail;
14647 }
14648 Py_INCREF(Py_None); resultobj = Py_None;
14649 {
14650 if (temp2)
14651 delete arg2;
14652 }
14653 return resultobj;
14654 fail:
14655 {
14656 if (temp2)
14657 delete arg2;
14658 }
14659 return NULL;
14660}
14661
14662
c32bde28 14663static PyObject * FindReplaceData_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
14664 PyObject *obj;
14665 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14666 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
14667 Py_INCREF(obj);
14668 return Py_BuildValue((char *)"");
14669}
c32bde28 14670static PyObject *_wrap_new_FindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14671 PyObject *resultobj;
14672 wxWindow *arg1 = (wxWindow *) 0 ;
14673 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14674 wxString *arg3 = 0 ;
14675 int arg4 = (int) 0 ;
14676 wxFindReplaceDialog *result;
ae8162c8 14677 bool temp3 = false ;
d14a1e28
RD
14678 PyObject * obj0 = 0 ;
14679 PyObject * obj1 = 0 ;
14680 PyObject * obj2 = 0 ;
994141e6 14681 PyObject * obj3 = 0 ;
d14a1e28
RD
14682 char *kwnames[] = {
14683 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14684 };
14685
994141e6 14686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
14687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14689 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14691 {
14692 arg3 = wxString_in_helper(obj2);
14693 if (arg3 == NULL) SWIG_fail;
ae8162c8 14694 temp3 = true;
d14a1e28 14695 }
994141e6 14696 if (obj3) {
c32bde28 14697 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 14698 if (PyErr_Occurred()) SWIG_fail;
994141e6 14699 }
d14a1e28 14700 {
e3b71cb8 14701 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
14702 PyThreadState* __tstate = wxPyBeginAllowThreads();
14703 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
14704
14705 wxPyEndAllowThreads(__tstate);
110da5b0 14706 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 14707 }
15afbcd0 14708 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
d14a1e28
RD
14709 {
14710 if (temp3)
14711 delete arg3;
14712 }
14713 return resultobj;
14714 fail:
14715 {
14716 if (temp3)
14717 delete arg3;
14718 }
14719 return NULL;
14720}
14721
14722
c32bde28 14723static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14724 PyObject *resultobj;
14725 wxFindReplaceDialog *result;
14726 char *kwnames[] = {
14727 NULL
14728 };
14729
14730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
14731 {
e3b71cb8 14732 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
14733 PyThreadState* __tstate = wxPyBeginAllowThreads();
14734 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
14735
14736 wxPyEndAllowThreads(__tstate);
110da5b0 14737 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 14738 }
15afbcd0 14739 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
d14a1e28
RD
14740 return resultobj;
14741 fail:
14742 return NULL;
14743}
14744
14745
c32bde28 14746static PyObject *_wrap_FindReplaceDialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14747 PyObject *resultobj;
14748 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14749 wxWindow *arg2 = (wxWindow *) 0 ;
14750 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
14751 wxString *arg4 = 0 ;
14752 int arg5 = (int) 0 ;
14753 bool result;
ae8162c8 14754 bool temp4 = false ;
d14a1e28
RD
14755 PyObject * obj0 = 0 ;
14756 PyObject * obj1 = 0 ;
14757 PyObject * obj2 = 0 ;
14758 PyObject * obj3 = 0 ;
994141e6 14759 PyObject * obj4 = 0 ;
d14a1e28
RD
14760 char *kwnames[] = {
14761 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14762 };
14763
994141e6 14764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
14765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14767 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14769 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFindReplaceData,
14770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14771 {
14772 arg4 = wxString_in_helper(obj3);
14773 if (arg4 == NULL) SWIG_fail;
ae8162c8 14774 temp4 = true;
d14a1e28 14775 }
994141e6 14776 if (obj4) {
c32bde28 14777 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 14778 if (PyErr_Occurred()) SWIG_fail;
994141e6 14779 }
d14a1e28
RD
14780 {
14781 PyThreadState* __tstate = wxPyBeginAllowThreads();
14782 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
14783
14784 wxPyEndAllowThreads(__tstate);
14785 if (PyErr_Occurred()) SWIG_fail;
14786 }
4f89f6a3
RD
14787 {
14788 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14789 }
d14a1e28
RD
14790 {
14791 if (temp4)
14792 delete arg4;
14793 }
14794 return resultobj;
14795 fail:
14796 {
14797 if (temp4)
14798 delete arg4;
14799 }
14800 return NULL;
14801}
14802
14803
c32bde28 14804static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14805 PyObject *resultobj;
14806 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14807 wxFindReplaceData *result;
14808 PyObject * obj0 = 0 ;
14809 char *kwnames[] = {
14810 (char *) "self", NULL
14811 };
14812
14813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
15afbcd0
RD
14814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14816 {
14817 PyThreadState* __tstate = wxPyBeginAllowThreads();
14818 result = (wxFindReplaceData *)(arg1)->GetData();
14819
14820 wxPyEndAllowThreads(__tstate);
14821 if (PyErr_Occurred()) SWIG_fail;
14822 }
15afbcd0 14823 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
d14a1e28
RD
14824 return resultobj;
14825 fail:
14826 return NULL;
14827}
14828
14829
c32bde28 14830static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14831 PyObject *resultobj;
14832 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14833 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14834 PyObject * obj0 = 0 ;
14835 PyObject * obj1 = 0 ;
14836 char *kwnames[] = {
14837 (char *) "self",(char *) "data", NULL
14838 };
14839
14840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14843 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14845 {
14846 PyThreadState* __tstate = wxPyBeginAllowThreads();
14847 (arg1)->SetData(arg2);
14848
14849 wxPyEndAllowThreads(__tstate);
14850 if (PyErr_Occurred()) SWIG_fail;
14851 }
14852 Py_INCREF(Py_None); resultobj = Py_None;
14853 return resultobj;
14854 fail:
14855 return NULL;
14856}
14857
14858
c32bde28 14859static PyObject * FindReplaceDialog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
14860 PyObject *obj;
14861 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14862 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
14863 Py_INCREF(obj);
14864 return Py_BuildValue((char *)"");
14865}
c32bde28 14866static PyObject *_wrap_new_MDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14867 PyObject *resultobj;
14868 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
14869 int arg2 = (int) (int)-1 ;
14870 wxString const &arg3_defvalue = wxPyEmptyString ;
14871 wxString *arg3 = (wxString *) &arg3_defvalue ;
d14a1e28
RD
14872 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14873 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14874 wxSize const &arg5_defvalue = wxDefaultSize ;
14875 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14876 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14877 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14878 wxString *arg7 = (wxString *) &arg7_defvalue ;
14879 wxMDIParentFrame *result;
ae8162c8 14880 bool temp3 = false ;
d14a1e28
RD
14881 wxPoint temp4 ;
14882 wxSize temp5 ;
ae8162c8 14883 bool temp7 = false ;
d14a1e28 14884 PyObject * obj0 = 0 ;
994141e6 14885 PyObject * obj1 = 0 ;
d14a1e28
RD
14886 PyObject * obj2 = 0 ;
14887 PyObject * obj3 = 0 ;
14888 PyObject * obj4 = 0 ;
994141e6 14889 PyObject * obj5 = 0 ;
d14a1e28
RD
14890 PyObject * obj6 = 0 ;
14891 char *kwnames[] = {
14892 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14893 };
14894
248ed943 14895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
14896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 14898 if (obj1) {
c32bde28 14899 arg2 = (int)SWIG_As_int(obj1);
248ed943
RD
14900 if (PyErr_Occurred()) SWIG_fail;
14901 }
14902 if (obj2) {
14903 {
14904 arg3 = wxString_in_helper(obj2);
14905 if (arg3 == NULL) SWIG_fail;
ae8162c8 14906 temp3 = true;
248ed943 14907 }
d14a1e28
RD
14908 }
14909 if (obj3) {
14910 {
14911 arg4 = &temp4;
14912 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14913 }
14914 }
14915 if (obj4) {
14916 {
14917 arg5 = &temp5;
14918 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14919 }
14920 }
994141e6 14921 if (obj5) {
c32bde28 14922 arg6 = (long)SWIG_As_long(obj5);
15afbcd0 14923 if (PyErr_Occurred()) SWIG_fail;
994141e6 14924 }
d14a1e28
RD
14925 if (obj6) {
14926 {
14927 arg7 = wxString_in_helper(obj6);
14928 if (arg7 == NULL) SWIG_fail;
ae8162c8 14929 temp7 = true;
d14a1e28
RD
14930 }
14931 }
14932 {
e3b71cb8 14933 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
14934 PyThreadState* __tstate = wxPyBeginAllowThreads();
14935 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14936
14937 wxPyEndAllowThreads(__tstate);
110da5b0 14938 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 14939 }
15afbcd0 14940 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
d14a1e28
RD
14941 {
14942 if (temp3)
14943 delete arg3;
14944 }
14945 {
14946 if (temp7)
14947 delete arg7;
14948 }
14949 return resultobj;
14950 fail:
14951 {
14952 if (temp3)
14953 delete arg3;
14954 }
14955 {
14956 if (temp7)
14957 delete arg7;
14958 }
14959 return NULL;
14960}
14961
14962
c32bde28 14963static PyObject *_wrap_new_PreMDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14964 PyObject *resultobj;
14965 wxMDIParentFrame *result;
14966 char *kwnames[] = {
14967 NULL
14968 };
14969
14970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
14971 {
e3b71cb8 14972 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
14973 PyThreadState* __tstate = wxPyBeginAllowThreads();
14974 result = (wxMDIParentFrame *)new wxMDIParentFrame();
14975
14976 wxPyEndAllowThreads(__tstate);
110da5b0 14977 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 14978 }
15afbcd0 14979 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
d14a1e28
RD
14980 return resultobj;
14981 fail:
14982 return NULL;
14983}
14984
14985
c32bde28 14986static PyObject *_wrap_MDIParentFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14987 PyObject *resultobj;
14988 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14989 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
14990 int arg3 = (int) (int)-1 ;
14991 wxString const &arg4_defvalue = wxPyEmptyString ;
14992 wxString *arg4 = (wxString *) &arg4_defvalue ;
d14a1e28
RD
14993 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14994 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14995 wxSize const &arg6_defvalue = wxDefaultSize ;
14996 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14997 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14998 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14999 wxString *arg8 = (wxString *) &arg8_defvalue ;
15000 bool result;
ae8162c8 15001 bool temp4 = false ;
d14a1e28
RD
15002 wxPoint temp5 ;
15003 wxSize temp6 ;
ae8162c8 15004 bool temp8 = false ;
d14a1e28
RD
15005 PyObject * obj0 = 0 ;
15006 PyObject * obj1 = 0 ;
994141e6 15007 PyObject * obj2 = 0 ;
d14a1e28
RD
15008 PyObject * obj3 = 0 ;
15009 PyObject * obj4 = 0 ;
15010 PyObject * obj5 = 0 ;
994141e6 15011 PyObject * obj6 = 0 ;
d14a1e28
RD
15012 PyObject * obj7 = 0 ;
15013 char *kwnames[] = {
15014 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15015 };
15016
248ed943 15017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
15018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15020 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 15022 if (obj2) {
c32bde28 15023 arg3 = (int)SWIG_As_int(obj2);
248ed943
RD
15024 if (PyErr_Occurred()) SWIG_fail;
15025 }
15026 if (obj3) {
15027 {
15028 arg4 = wxString_in_helper(obj3);
15029 if (arg4 == NULL) SWIG_fail;
ae8162c8 15030 temp4 = true;
248ed943 15031 }
d14a1e28
RD
15032 }
15033 if (obj4) {
15034 {
15035 arg5 = &temp5;
15036 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15037 }
15038 }
15039 if (obj5) {
15040 {
15041 arg6 = &temp6;
15042 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
15043 }
15044 }
994141e6 15045 if (obj6) {
c32bde28 15046 arg7 = (long)SWIG_As_long(obj6);
15afbcd0 15047 if (PyErr_Occurred()) SWIG_fail;
994141e6 15048 }
d14a1e28
RD
15049 if (obj7) {
15050 {
15051 arg8 = wxString_in_helper(obj7);
15052 if (arg8 == NULL) SWIG_fail;
ae8162c8 15053 temp8 = true;
d14a1e28
RD
15054 }
15055 }
15056 {
15057 PyThreadState* __tstate = wxPyBeginAllowThreads();
15058 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
15059
15060 wxPyEndAllowThreads(__tstate);
15061 if (PyErr_Occurred()) SWIG_fail;
15062 }
4f89f6a3
RD
15063 {
15064 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15065 }
d14a1e28
RD
15066 {
15067 if (temp4)
15068 delete arg4;
15069 }
15070 {
15071 if (temp8)
15072 delete arg8;
15073 }
15074 return resultobj;
15075 fail:
15076 {
15077 if (temp4)
15078 delete arg4;
15079 }
15080 {
15081 if (temp8)
15082 delete arg8;
15083 }
15084 return NULL;
15085}
15086
15087
c32bde28 15088static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15089 PyObject *resultobj;
15090 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15091 PyObject * obj0 = 0 ;
15092 char *kwnames[] = {
15093 (char *) "self", NULL
15094 };
15095
15096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
15afbcd0
RD
15097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15099 {
15100 PyThreadState* __tstate = wxPyBeginAllowThreads();
15101 (arg1)->ActivateNext();
15102
15103 wxPyEndAllowThreads(__tstate);
15104 if (PyErr_Occurred()) SWIG_fail;
15105 }
15106 Py_INCREF(Py_None); resultobj = Py_None;
15107 return resultobj;
15108 fail:
15109 return NULL;
15110}
15111
15112
c32bde28 15113static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15114 PyObject *resultobj;
15115 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15116 PyObject * obj0 = 0 ;
15117 char *kwnames[] = {
15118 (char *) "self", NULL
15119 };
15120
15121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
15afbcd0
RD
15122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15124 {
15125 PyThreadState* __tstate = wxPyBeginAllowThreads();
15126 (arg1)->ActivatePrevious();
15127
15128 wxPyEndAllowThreads(__tstate);
15129 if (PyErr_Occurred()) SWIG_fail;
15130 }
15131 Py_INCREF(Py_None); resultobj = Py_None;
15132 return resultobj;
15133 fail:
15134 return NULL;
15135}
15136
15137
c32bde28 15138static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15139 PyObject *resultobj;
15140 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15141 PyObject * obj0 = 0 ;
15142 char *kwnames[] = {
15143 (char *) "self", NULL
15144 };
15145
15146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
15afbcd0
RD
15147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15149 {
15150 PyThreadState* __tstate = wxPyBeginAllowThreads();
15151 (arg1)->ArrangeIcons();
15152
15153 wxPyEndAllowThreads(__tstate);
15154 if (PyErr_Occurred()) SWIG_fail;
15155 }
15156 Py_INCREF(Py_None); resultobj = Py_None;
15157 return resultobj;
15158 fail:
15159 return NULL;
15160}
15161
15162
c32bde28 15163static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15164 PyObject *resultobj;
15165 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15166 PyObject * obj0 = 0 ;
15167 char *kwnames[] = {
15168 (char *) "self", NULL
15169 };
15170
15171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
15afbcd0
RD
15172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15174 {
15175 PyThreadState* __tstate = wxPyBeginAllowThreads();
15176 (arg1)->Cascade();
15177
15178 wxPyEndAllowThreads(__tstate);
15179 if (PyErr_Occurred()) SWIG_fail;
15180 }
15181 Py_INCREF(Py_None); resultobj = Py_None;
15182 return resultobj;
15183 fail:
15184 return NULL;
15185}
15186
15187
c32bde28 15188static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15189 PyObject *resultobj;
15190 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15191 wxMDIChildFrame *result;
15192 PyObject * obj0 = 0 ;
15193 char *kwnames[] = {
15194 (char *) "self", NULL
15195 };
15196
15197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
15afbcd0
RD
15198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15200 {
15201 PyThreadState* __tstate = wxPyBeginAllowThreads();
15202 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
15203
15204 wxPyEndAllowThreads(__tstate);
15205 if (PyErr_Occurred()) SWIG_fail;
15206 }
15207 {
412d302d 15208 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
15209 }
15210 return resultobj;
15211 fail:
15212 return NULL;
15213}
15214
15215
c32bde28 15216static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15217 PyObject *resultobj;
15218 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15219 wxMDIClientWindow *result;
15220 PyObject * obj0 = 0 ;
15221 char *kwnames[] = {
15222 (char *) "self", NULL
15223 };
15224
15225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
15226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15228 {
15229 PyThreadState* __tstate = wxPyBeginAllowThreads();
15230 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
15231
15232 wxPyEndAllowThreads(__tstate);
15233 if (PyErr_Occurred()) SWIG_fail;
15234 }
15235 {
412d302d 15236 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
15237 }
15238 return resultobj;
15239 fail:
15240 return NULL;
15241}
15242
15243
c32bde28 15244static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15245 PyObject *resultobj;
15246 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15247 wxWindow *result;
15248 PyObject * obj0 = 0 ;
15249 char *kwnames[] = {
15250 (char *) "self", NULL
15251 };
15252
15253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
15afbcd0
RD
15254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15256 {
15257 PyThreadState* __tstate = wxPyBeginAllowThreads();
15258 result = (wxWindow *)(arg1)->GetToolBar();
15259
15260 wxPyEndAllowThreads(__tstate);
15261 if (PyErr_Occurred()) SWIG_fail;
15262 }
15263 {
412d302d 15264 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
15265 }
15266 return resultobj;
15267 fail:
15268 return NULL;
15269}
15270
15271
c32bde28 15272static PyObject *_wrap_MDIParentFrame_Tile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15273 PyObject *resultobj;
15274 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15275 PyObject * obj0 = 0 ;
15276 char *kwnames[] = {
15277 (char *) "self", NULL
15278 };
15279
15280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
15afbcd0
RD
15281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15283 {
15284 PyThreadState* __tstate = wxPyBeginAllowThreads();
15285 (arg1)->Tile();
15286
15287 wxPyEndAllowThreads(__tstate);
15288 if (PyErr_Occurred()) SWIG_fail;
15289 }
15290 Py_INCREF(Py_None); resultobj = Py_None;
15291 return resultobj;
15292 fail:
15293 return NULL;
15294}
15295
15296
c32bde28 15297static PyObject * MDIParentFrame_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15298 PyObject *obj;
15299 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15300 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
15301 Py_INCREF(obj);
15302 return Py_BuildValue((char *)"");
15303}
c32bde28 15304static PyObject *_wrap_new_MDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15305 PyObject *resultobj;
15306 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
248ed943
RD
15307 int arg2 = (int) (int)-1 ;
15308 wxString const &arg3_defvalue = wxPyEmptyString ;
15309 wxString *arg3 = (wxString *) &arg3_defvalue ;
d14a1e28
RD
15310 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15311 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15312 wxSize const &arg5_defvalue = wxDefaultSize ;
15313 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15314 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
15315 wxString const &arg7_defvalue = wxPyFrameNameStr ;
15316 wxString *arg7 = (wxString *) &arg7_defvalue ;
15317 wxMDIChildFrame *result;
ae8162c8 15318 bool temp3 = false ;
d14a1e28
RD
15319 wxPoint temp4 ;
15320 wxSize temp5 ;
ae8162c8 15321 bool temp7 = false ;
d14a1e28 15322 PyObject * obj0 = 0 ;
994141e6 15323 PyObject * obj1 = 0 ;
d14a1e28
RD
15324 PyObject * obj2 = 0 ;
15325 PyObject * obj3 = 0 ;
15326 PyObject * obj4 = 0 ;
994141e6 15327 PyObject * obj5 = 0 ;
d14a1e28
RD
15328 PyObject * obj6 = 0 ;
15329 char *kwnames[] = {
15330 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15331 };
15332
248ed943 15333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
15334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 15336 if (obj1) {
c32bde28 15337 arg2 = (int)SWIG_As_int(obj1);
248ed943
RD
15338 if (PyErr_Occurred()) SWIG_fail;
15339 }
15340 if (obj2) {
15341 {
15342 arg3 = wxString_in_helper(obj2);
15343 if (arg3 == NULL) SWIG_fail;
ae8162c8 15344 temp3 = true;
248ed943 15345 }
d14a1e28
RD
15346 }
15347 if (obj3) {
15348 {
15349 arg4 = &temp4;
15350 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15351 }
15352 }
15353 if (obj4) {
15354 {
15355 arg5 = &temp5;
15356 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15357 }
15358 }
994141e6 15359 if (obj5) {
c32bde28 15360 arg6 = (long)SWIG_As_long(obj5);
15afbcd0 15361 if (PyErr_Occurred()) SWIG_fail;
994141e6 15362 }
d14a1e28
RD
15363 if (obj6) {
15364 {
15365 arg7 = wxString_in_helper(obj6);
15366 if (arg7 == NULL) SWIG_fail;
ae8162c8 15367 temp7 = true;
d14a1e28
RD
15368 }
15369 }
15370 {
e3b71cb8 15371 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
15372 PyThreadState* __tstate = wxPyBeginAllowThreads();
15373 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15374
15375 wxPyEndAllowThreads(__tstate);
110da5b0 15376 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 15377 }
b0f7404b 15378 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
d14a1e28
RD
15379 {
15380 if (temp3)
15381 delete arg3;
15382 }
15383 {
15384 if (temp7)
15385 delete arg7;
15386 }
15387 return resultobj;
15388 fail:
15389 {
15390 if (temp3)
15391 delete arg3;
15392 }
15393 {
15394 if (temp7)
15395 delete arg7;
15396 }
15397 return NULL;
15398}
15399
15400
c32bde28 15401static PyObject *_wrap_new_PreMDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15402 PyObject *resultobj;
15403 wxMDIChildFrame *result;
15404 char *kwnames[] = {
15405 NULL
15406 };
15407
15408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
15409 {
e3b71cb8 15410 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
15411 PyThreadState* __tstate = wxPyBeginAllowThreads();
15412 result = (wxMDIChildFrame *)new wxMDIChildFrame();
15413
15414 wxPyEndAllowThreads(__tstate);
110da5b0 15415 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 15416 }
b0f7404b 15417 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
d14a1e28
RD
15418 return resultobj;
15419 fail:
15420 return NULL;
15421}
15422
15423
c32bde28 15424static PyObject *_wrap_MDIChildFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15425 PyObject *resultobj;
15426 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15427 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
248ed943
RD
15428 int arg3 = (int) (int)-1 ;
15429 wxString const &arg4_defvalue = wxPyEmptyString ;
15430 wxString *arg4 = (wxString *) &arg4_defvalue ;
d14a1e28
RD
15431 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15432 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15433 wxSize const &arg6_defvalue = wxDefaultSize ;
15434 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
15435 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
15436 wxString const &arg8_defvalue = wxPyFrameNameStr ;
15437 wxString *arg8 = (wxString *) &arg8_defvalue ;
15438 bool result;
ae8162c8 15439 bool temp4 = false ;
d14a1e28
RD
15440 wxPoint temp5 ;
15441 wxSize temp6 ;
ae8162c8 15442 bool temp8 = false ;
d14a1e28
RD
15443 PyObject * obj0 = 0 ;
15444 PyObject * obj1 = 0 ;
994141e6 15445 PyObject * obj2 = 0 ;
d14a1e28
RD
15446 PyObject * obj3 = 0 ;
15447 PyObject * obj4 = 0 ;
15448 PyObject * obj5 = 0 ;
994141e6 15449 PyObject * obj6 = 0 ;
d14a1e28
RD
15450 PyObject * obj7 = 0 ;
15451 char *kwnames[] = {
15452 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15453 };
15454
248ed943 15455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
15456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15458 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
15459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 15460 if (obj2) {
c32bde28 15461 arg3 = (int)SWIG_As_int(obj2);
248ed943
RD
15462 if (PyErr_Occurred()) SWIG_fail;
15463 }
15464 if (obj3) {
15465 {
15466 arg4 = wxString_in_helper(obj3);
15467 if (arg4 == NULL) SWIG_fail;
ae8162c8 15468 temp4 = true;
248ed943 15469 }
d14a1e28
RD
15470 }
15471 if (obj4) {
15472 {
15473 arg5 = &temp5;
15474 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15475 }
15476 }
15477 if (obj5) {
15478 {
15479 arg6 = &temp6;
15480 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
15481 }
15482 }
994141e6 15483 if (obj6) {
c32bde28 15484 arg7 = (long)SWIG_As_long(obj6);
15afbcd0 15485 if (PyErr_Occurred()) SWIG_fail;
994141e6 15486 }
d14a1e28
RD
15487 if (obj7) {
15488 {
15489 arg8 = wxString_in_helper(obj7);
15490 if (arg8 == NULL) SWIG_fail;
ae8162c8 15491 temp8 = true;
d14a1e28
RD
15492 }
15493 }
15494 {
15495 PyThreadState* __tstate = wxPyBeginAllowThreads();
15496 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
15497
15498 wxPyEndAllowThreads(__tstate);
15499 if (PyErr_Occurred()) SWIG_fail;
15500 }
4f89f6a3
RD
15501 {
15502 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15503 }
d14a1e28
RD
15504 {
15505 if (temp4)
15506 delete arg4;
15507 }
15508 {
15509 if (temp8)
15510 delete arg8;
15511 }
15512 return resultobj;
15513 fail:
15514 {
15515 if (temp4)
15516 delete arg4;
15517 }
15518 {
15519 if (temp8)
15520 delete arg8;
15521 }
15522 return NULL;
15523}
15524
15525
c32bde28 15526static PyObject *_wrap_MDIChildFrame_Activate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15527 PyObject *resultobj;
15528 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15529 PyObject * obj0 = 0 ;
15530 char *kwnames[] = {
15531 (char *) "self", NULL
15532 };
15533
15534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
15afbcd0
RD
15535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15537 {
15538 PyThreadState* __tstate = wxPyBeginAllowThreads();
15539 (arg1)->Activate();
15540
15541 wxPyEndAllowThreads(__tstate);
15542 if (PyErr_Occurred()) SWIG_fail;
15543 }
15544 Py_INCREF(Py_None); resultobj = Py_None;
15545 return resultobj;
15546 fail:
15547 return NULL;
15548}
15549
15550
c32bde28 15551static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15552 PyObject *resultobj;
15553 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15554 bool arg2 ;
15555 PyObject * obj0 = 0 ;
15556 PyObject * obj1 = 0 ;
15557 char *kwnames[] = {
15558 (char *) "self",(char *) "maximize", NULL
15559 };
15560
15561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 15564 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 15565 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15566 {
15567 PyThreadState* __tstate = wxPyBeginAllowThreads();
15568 (arg1)->Maximize(arg2);
15569
15570 wxPyEndAllowThreads(__tstate);
15571 if (PyErr_Occurred()) SWIG_fail;
15572 }
15573 Py_INCREF(Py_None); resultobj = Py_None;
15574 return resultobj;
15575 fail:
15576 return NULL;
15577}
15578
15579
c32bde28 15580static PyObject *_wrap_MDIChildFrame_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15581 PyObject *resultobj;
15582 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15583 PyObject * obj0 = 0 ;
15584 char *kwnames[] = {
15585 (char *) "self", NULL
15586 };
15587
15588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
15afbcd0
RD
15589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15591 {
15592 PyThreadState* __tstate = wxPyBeginAllowThreads();
15593 (arg1)->Restore();
15594
15595 wxPyEndAllowThreads(__tstate);
15596 if (PyErr_Occurred()) SWIG_fail;
15597 }
15598 Py_INCREF(Py_None); resultobj = Py_None;
15599 return resultobj;
15600 fail:
15601 return NULL;
15602}
15603
15604
c32bde28 15605static PyObject * MDIChildFrame_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15606 PyObject *obj;
15607 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15608 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
15609 Py_INCREF(obj);
15610 return Py_BuildValue((char *)"");
15611}
c32bde28 15612static PyObject *_wrap_new_MDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15613 PyObject *resultobj;
15614 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15615 long arg2 = (long) 0 ;
15616 wxMDIClientWindow *result;
15617 PyObject * obj0 = 0 ;
994141e6 15618 PyObject * obj1 = 0 ;
d14a1e28
RD
15619 char *kwnames[] = {
15620 (char *) "parent",(char *) "style", NULL
15621 };
15622
994141e6 15623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 15626 if (obj1) {
c32bde28 15627 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 15628 if (PyErr_Occurred()) SWIG_fail;
994141e6 15629 }
d14a1e28 15630 {
e3b71cb8 15631 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
15632 PyThreadState* __tstate = wxPyBeginAllowThreads();
15633 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
15634
15635 wxPyEndAllowThreads(__tstate);
110da5b0 15636 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 15637 }
b0f7404b 15638 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
d14a1e28
RD
15639 return resultobj;
15640 fail:
15641 return NULL;
15642}
15643
15644
c32bde28 15645static PyObject *_wrap_new_PreMDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15646 PyObject *resultobj;
15647 wxMDIClientWindow *result;
15648 char *kwnames[] = {
15649 NULL
15650 };
15651
15652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
15653 {
e3b71cb8 15654 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
15655 PyThreadState* __tstate = wxPyBeginAllowThreads();
15656 result = (wxMDIClientWindow *)new wxMDIClientWindow();
15657
15658 wxPyEndAllowThreads(__tstate);
110da5b0 15659 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 15660 }
b0f7404b 15661 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
d14a1e28
RD
15662 return resultobj;
15663 fail:
15664 return NULL;
15665}
15666
15667
c32bde28 15668static PyObject *_wrap_MDIClientWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15669 PyObject *resultobj;
15670 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
15671 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
15672 long arg3 = (long) 0 ;
15673 bool result;
15674 PyObject * obj0 = 0 ;
15675 PyObject * obj1 = 0 ;
994141e6 15676 PyObject * obj2 = 0 ;
d14a1e28
RD
15677 char *kwnames[] = {
15678 (char *) "self",(char *) "parent",(char *) "style", NULL
15679 };
15680
994141e6 15681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
15682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIClientWindow,
15683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15684 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
15685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 15686 if (obj2) {
c32bde28 15687 arg3 = (long)SWIG_As_long(obj2);
15afbcd0 15688 if (PyErr_Occurred()) SWIG_fail;
994141e6 15689 }
d14a1e28
RD
15690 {
15691 PyThreadState* __tstate = wxPyBeginAllowThreads();
15692 result = (bool)(arg1)->Create(arg2,arg3);
15693
15694 wxPyEndAllowThreads(__tstate);
15695 if (PyErr_Occurred()) SWIG_fail;
15696 }
4f89f6a3
RD
15697 {
15698 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15699 }
d14a1e28
RD
15700 return resultobj;
15701 fail:
15702 return NULL;
15703}
15704
15705
c32bde28 15706static PyObject * MDIClientWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15707 PyObject *obj;
15708 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15709 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
15710 Py_INCREF(obj);
15711 return Py_BuildValue((char *)"");
15712}
c32bde28 15713static PyObject *_wrap_new_PyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15714 PyObject *resultobj;
15715 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 15716 int arg2 = (int) (int)-1 ;
d14a1e28
RD
15717 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15718 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15719 wxSize const &arg4_defvalue = wxDefaultSize ;
15720 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15721 long arg5 = (long) 0 ;
15722 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15723 wxString *arg6 = (wxString *) &arg6_defvalue ;
15724 wxPyWindow *result;
15725 wxPoint temp3 ;
15726 wxSize temp4 ;
ae8162c8 15727 bool temp6 = false ;
d14a1e28 15728 PyObject * obj0 = 0 ;
994141e6 15729 PyObject * obj1 = 0 ;
d14a1e28
RD
15730 PyObject * obj2 = 0 ;
15731 PyObject * obj3 = 0 ;
994141e6 15732 PyObject * obj4 = 0 ;
d14a1e28
RD
15733 PyObject * obj5 = 0 ;
15734 char *kwnames[] = {
15735 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15736 };
15737
248ed943 15738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
15739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 15741 if (obj1) {
c32bde28 15742 arg2 = (int)SWIG_As_int(obj1);
248ed943
RD
15743 if (PyErr_Occurred()) SWIG_fail;
15744 }
d14a1e28
RD
15745 if (obj2) {
15746 {
15747 arg3 = &temp3;
15748 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15749 }
15750 }
15751 if (obj3) {
15752 {
15753 arg4 = &temp4;
15754 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15755 }
15756 }
994141e6 15757 if (obj4) {
c32bde28 15758 arg5 = (long)SWIG_As_long(obj4);
15afbcd0 15759 if (PyErr_Occurred()) SWIG_fail;
994141e6 15760 }
d14a1e28
RD
15761 if (obj5) {
15762 {
15763 arg6 = wxString_in_helper(obj5);
15764 if (arg6 == NULL) SWIG_fail;
ae8162c8 15765 temp6 = true;
d14a1e28
RD
15766 }
15767 }
15768 {
e3b71cb8 15769 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
15770 PyThreadState* __tstate = wxPyBeginAllowThreads();
15771 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15772
15773 wxPyEndAllowThreads(__tstate);
110da5b0 15774 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 15775 }
15afbcd0 15776 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
d14a1e28
RD
15777 {
15778 if (temp6)
15779 delete arg6;
15780 }
15781 return resultobj;
15782 fail:
15783 {
15784 if (temp6)
15785 delete arg6;
15786 }
15787 return NULL;
15788}
15789
15790
c32bde28 15791static PyObject *_wrap_new_PrePyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
15792 PyObject *resultobj;
15793 wxPyWindow *result;
15794 char *kwnames[] = {
15795 NULL
15796 };
15797
15798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail;
15799 {
e3b71cb8 15800 if (!wxPyCheckForApp()) SWIG_fail;
1cb4a8aa
RD
15801 PyThreadState* __tstate = wxPyBeginAllowThreads();
15802 result = (wxPyWindow *)new wxPyWindow();
15803
15804 wxPyEndAllowThreads(__tstate);
110da5b0 15805 if (PyErr_Occurred()) SWIG_fail;
1cb4a8aa
RD
15806 }
15807 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15808 return resultobj;
15809 fail:
15810 return NULL;
15811}
15812
15813
c32bde28 15814static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15815 PyObject *resultobj;
15816 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15817 PyObject *arg2 = (PyObject *) 0 ;
15818 PyObject *arg3 = (PyObject *) 0 ;
15819 PyObject * obj0 = 0 ;
15820 PyObject * obj1 = 0 ;
15821 PyObject * obj2 = 0 ;
15822 char *kwnames[] = {
15823 (char *) "self",(char *) "self",(char *) "_class", NULL
15824 };
15825
15826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
15827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15829 arg2 = obj1;
15830 arg3 = obj2;
15831 {
15832 PyThreadState* __tstate = wxPyBeginAllowThreads();
15833 (arg1)->_setCallbackInfo(arg2,arg3);
15834
15835 wxPyEndAllowThreads(__tstate);
15836 if (PyErr_Occurred()) SWIG_fail;
15837 }
15838 Py_INCREF(Py_None); resultobj = Py_None;
15839 return resultobj;
15840 fail:
15841 return NULL;
15842}
15843
15844
c32bde28 15845static PyObject *_wrap_PyWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
db3e571a
RD
15846 PyObject *resultobj;
15847 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15848 wxSize *arg2 = 0 ;
15849 wxSize temp2 ;
15850 PyObject * obj0 = 0 ;
15851 PyObject * obj1 = 0 ;
15852 char *kwnames[] = {
15853 (char *) "self",(char *) "size", NULL
15854 };
15855
15856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
15857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15859 {
15860 arg2 = &temp2;
15861 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15862 }
15863 {
15864 PyThreadState* __tstate = wxPyBeginAllowThreads();
15865 (arg1)->SetBestSize((wxSize const &)*arg2);
15866
15867 wxPyEndAllowThreads(__tstate);
15868 if (PyErr_Occurred()) SWIG_fail;
15869 }
15870 Py_INCREF(Py_None); resultobj = Py_None;
15871 return resultobj;
15872 fail:
15873 return NULL;
15874}
15875
15876
c32bde28 15877static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15878 PyObject *resultobj;
15879 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15880 int arg2 ;
15881 int arg3 ;
15882 int arg4 ;
15883 int arg5 ;
15884 PyObject * obj0 = 0 ;
994141e6
RD
15885 PyObject * obj1 = 0 ;
15886 PyObject * obj2 = 0 ;
15887 PyObject * obj3 = 0 ;
15888 PyObject * obj4 = 0 ;
d14a1e28
RD
15889 char *kwnames[] = {
15890 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15891 };
15892
994141e6 15893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
15894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 15896 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 15897 if (PyErr_Occurred()) SWIG_fail;
c32bde28 15898 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 15899 if (PyErr_Occurred()) SWIG_fail;
c32bde28 15900 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 15901 if (PyErr_Occurred()) SWIG_fail;
c32bde28 15902 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 15903 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15904 {
15905 PyThreadState* __tstate = wxPyBeginAllowThreads();
15906 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
15907
15908 wxPyEndAllowThreads(__tstate);
15909 if (PyErr_Occurred()) SWIG_fail;
15910 }
15911 Py_INCREF(Py_None); resultobj = Py_None;
15912 return resultobj;
15913 fail:
15914 return NULL;
15915}
15916
15917
c32bde28 15918static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15919 PyObject *resultobj;
15920 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15921 int arg2 ;
15922 int arg3 ;
15923 int arg4 ;
15924 int arg5 ;
15925 int arg6 = (int) wxSIZE_AUTO ;
15926 PyObject * obj0 = 0 ;
994141e6
RD
15927 PyObject * obj1 = 0 ;
15928 PyObject * obj2 = 0 ;
15929 PyObject * obj3 = 0 ;
15930 PyObject * obj4 = 0 ;
15931 PyObject * obj5 = 0 ;
d14a1e28
RD
15932 char *kwnames[] = {
15933 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15934 };
15935
994141e6 15936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
15937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 15939 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 15940 if (PyErr_Occurred()) SWIG_fail;
c32bde28 15941 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 15942 if (PyErr_Occurred()) SWIG_fail;
c32bde28 15943 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 15944 if (PyErr_Occurred()) SWIG_fail;
c32bde28 15945 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 15946 if (PyErr_Occurred()) SWIG_fail;
994141e6 15947 if (obj5) {
c32bde28 15948 arg6 = (int)SWIG_As_int(obj5);
15afbcd0 15949 if (PyErr_Occurred()) SWIG_fail;
994141e6 15950 }
d14a1e28
RD
15951 {
15952 PyThreadState* __tstate = wxPyBeginAllowThreads();
15953 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
15954
15955 wxPyEndAllowThreads(__tstate);
15956 if (PyErr_Occurred()) SWIG_fail;
15957 }
15958 Py_INCREF(Py_None); resultobj = Py_None;
15959 return resultobj;
15960 fail:
15961 return NULL;
15962}
15963
15964
c32bde28 15965static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15966 PyObject *resultobj;
15967 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15968 int arg2 ;
15969 int arg3 ;
15970 PyObject * obj0 = 0 ;
994141e6
RD
15971 PyObject * obj1 = 0 ;
15972 PyObject * obj2 = 0 ;
d14a1e28
RD
15973 char *kwnames[] = {
15974 (char *) "self",(char *) "width",(char *) "height", NULL
15975 };
15976
994141e6 15977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
15978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 15980 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 15981 if (PyErr_Occurred()) SWIG_fail;
c32bde28 15982 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 15983 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15984 {
15985 PyThreadState* __tstate = wxPyBeginAllowThreads();
15986 (arg1)->base_DoSetClientSize(arg2,arg3);
15987
15988 wxPyEndAllowThreads(__tstate);
15989 if (PyErr_Occurred()) SWIG_fail;
15990 }
15991 Py_INCREF(Py_None); resultobj = Py_None;
15992 return resultobj;
15993 fail:
15994 return NULL;
15995}
15996
15997
c32bde28 15998static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15999 PyObject *resultobj;
16000 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16001 int arg2 ;
16002 int arg3 ;
16003 PyObject * obj0 = 0 ;
994141e6
RD
16004 PyObject * obj1 = 0 ;
16005 PyObject * obj2 = 0 ;
d14a1e28 16006 char *kwnames[] = {
15afbcd0
RD
16007 (char *) "self",(char *) "x",(char *) "y", NULL
16008 };
16009
16010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16013 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 16014 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16015 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 16016 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16017 {
16018 PyThreadState* __tstate = wxPyBeginAllowThreads();
16019 (arg1)->base_DoSetVirtualSize(arg2,arg3);
16020
16021 wxPyEndAllowThreads(__tstate);
16022 if (PyErr_Occurred()) SWIG_fail;
16023 }
16024 Py_INCREF(Py_None); resultobj = Py_None;
16025 return resultobj;
16026 fail:
16027 return NULL;
16028}
16029
16030
c32bde28 16031static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16032 PyObject *resultobj;
16033 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16034 int *arg2 = (int *) 0 ;
16035 int *arg3 = (int *) 0 ;
16036 int temp2 ;
c32bde28 16037 int res2 = 0 ;
d14a1e28 16038 int temp3 ;
c32bde28 16039 int res3 = 0 ;
d14a1e28
RD
16040 PyObject * obj0 = 0 ;
16041 char *kwnames[] = {
16042 (char *) "self", NULL
16043 };
16044
c32bde28
RD
16045 arg2 = &temp2; res2 = SWIG_NEWOBJ;
16046 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 16047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
16048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16050 {
16051 PyThreadState* __tstate = wxPyBeginAllowThreads();
16052 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
16053
16054 wxPyEndAllowThreads(__tstate);
16055 if (PyErr_Occurred()) SWIG_fail;
16056 }
16057 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
16058 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
16059 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
16060 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16061 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
16062 return resultobj;
16063 fail:
16064 return NULL;
16065}
16066
16067
c32bde28 16068static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16069 PyObject *resultobj;
16070 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16071 int *arg2 = (int *) 0 ;
16072 int *arg3 = (int *) 0 ;
16073 int temp2 ;
c32bde28 16074 int res2 = 0 ;
d14a1e28 16075 int temp3 ;
c32bde28 16076 int res3 = 0 ;
d14a1e28
RD
16077 PyObject * obj0 = 0 ;
16078 char *kwnames[] = {
16079 (char *) "self", NULL
16080 };
16081
c32bde28
RD
16082 arg2 = &temp2; res2 = SWIG_NEWOBJ;
16083 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 16084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
16085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16087 {
16088 PyThreadState* __tstate = wxPyBeginAllowThreads();
16089 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
16090
16091 wxPyEndAllowThreads(__tstate);
16092 if (PyErr_Occurred()) SWIG_fail;
16093 }
16094 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
16095 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
16096 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
16097 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16098 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
16099 return resultobj;
16100 fail:
16101 return NULL;
16102}
16103
16104
c32bde28 16105static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16106 PyObject *resultobj;
16107 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16108 int *arg2 = (int *) 0 ;
16109 int *arg3 = (int *) 0 ;
16110 int temp2 ;
c32bde28 16111 int res2 = 0 ;
d14a1e28 16112 int temp3 ;
c32bde28 16113 int res3 = 0 ;
d14a1e28
RD
16114 PyObject * obj0 = 0 ;
16115 char *kwnames[] = {
16116 (char *) "self", NULL
16117 };
16118
c32bde28
RD
16119 arg2 = &temp2; res2 = SWIG_NEWOBJ;
16120 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 16121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
16122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16124 {
16125 PyThreadState* __tstate = wxPyBeginAllowThreads();
16126 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
16127
16128 wxPyEndAllowThreads(__tstate);
16129 if (PyErr_Occurred()) SWIG_fail;
16130 }
16131 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
16132 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
16133 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
16134 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16135 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
16136 return resultobj;
16137 fail:
16138 return NULL;
16139}
16140
16141
c32bde28 16142static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16143 PyObject *resultobj;
16144 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16145 wxSize result;
16146 PyObject * obj0 = 0 ;
16147 char *kwnames[] = {
16148 (char *) "self", NULL
16149 };
16150
16151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
16152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16154 {
16155 PyThreadState* __tstate = wxPyBeginAllowThreads();
16156 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
16157
16158 wxPyEndAllowThreads(__tstate);
16159 if (PyErr_Occurred()) SWIG_fail;
16160 }
16161 {
16162 wxSize * resultptr;
16163 resultptr = new wxSize((wxSize &) result);
15afbcd0 16164 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
16165 }
16166 return resultobj;
16167 fail:
16168 return NULL;
16169}
16170
16171
c32bde28 16172static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16173 PyObject *resultobj;
16174 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16175 wxSize result;
16176 PyObject * obj0 = 0 ;
16177 char *kwnames[] = {
16178 (char *) "self", NULL
16179 };
16180
16181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
16182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16184 {
16185 PyThreadState* __tstate = wxPyBeginAllowThreads();
16186 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
16187
16188 wxPyEndAllowThreads(__tstate);
16189 if (PyErr_Occurred()) SWIG_fail;
16190 }
16191 {
16192 wxSize * resultptr;
16193 resultptr = new wxSize((wxSize &) result);
15afbcd0 16194 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
16195 }
16196 return resultobj;
16197 fail:
16198 return NULL;
16199}
16200
16201
c32bde28 16202static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16203 PyObject *resultobj;
16204 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16205 PyObject * obj0 = 0 ;
16206 char *kwnames[] = {
16207 (char *) "self", NULL
16208 };
16209
16210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
15afbcd0
RD
16211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16213 {
16214 PyThreadState* __tstate = wxPyBeginAllowThreads();
16215 (arg1)->base_InitDialog();
16216
16217 wxPyEndAllowThreads(__tstate);
16218 if (PyErr_Occurred()) SWIG_fail;
16219 }
16220 Py_INCREF(Py_None); resultobj = Py_None;
16221 return resultobj;
16222 fail:
16223 return NULL;
16224}
16225
16226
c32bde28 16227static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16228 PyObject *resultobj;
16229 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16230 bool result;
16231 PyObject * obj0 = 0 ;
16232 char *kwnames[] = {
16233 (char *) "self", NULL
16234 };
16235
16236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
16237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16239 {
16240 PyThreadState* __tstate = wxPyBeginAllowThreads();
16241 result = (bool)(arg1)->base_TransferDataToWindow();
16242
16243 wxPyEndAllowThreads(__tstate);
16244 if (PyErr_Occurred()) SWIG_fail;
16245 }
4f89f6a3
RD
16246 {
16247 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16248 }
d14a1e28
RD
16249 return resultobj;
16250 fail:
16251 return NULL;
16252}
16253
16254
c32bde28 16255static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16256 PyObject *resultobj;
16257 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16258 bool result;
16259 PyObject * obj0 = 0 ;
16260 char *kwnames[] = {
16261 (char *) "self", NULL
16262 };
16263
16264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
16265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16267 {
16268 PyThreadState* __tstate = wxPyBeginAllowThreads();
16269 result = (bool)(arg1)->base_TransferDataFromWindow();
16270
16271 wxPyEndAllowThreads(__tstate);
16272 if (PyErr_Occurred()) SWIG_fail;
16273 }
4f89f6a3
RD
16274 {
16275 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16276 }
d14a1e28
RD
16277 return resultobj;
16278 fail:
16279 return NULL;
16280}
16281
16282
c32bde28 16283static PyObject *_wrap_PyWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16284 PyObject *resultobj;
16285 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16286 bool result;
16287 PyObject * obj0 = 0 ;
16288 char *kwnames[] = {
16289 (char *) "self", NULL
16290 };
16291
16292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
15afbcd0
RD
16293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16295 {
16296 PyThreadState* __tstate = wxPyBeginAllowThreads();
16297 result = (bool)(arg1)->base_Validate();
16298
16299 wxPyEndAllowThreads(__tstate);
16300 if (PyErr_Occurred()) SWIG_fail;
16301 }
4f89f6a3
RD
16302 {
16303 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16304 }
d14a1e28
RD
16305 return resultobj;
16306 fail:
16307 return NULL;
16308}
16309
16310
c32bde28 16311static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16312 PyObject *resultobj;
16313 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16314 bool result;
16315 PyObject * obj0 = 0 ;
16316 char *kwnames[] = {
16317 (char *) "self", NULL
16318 };
16319
16320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
15afbcd0
RD
16321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16323 {
16324 PyThreadState* __tstate = wxPyBeginAllowThreads();
16325 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
16326
16327 wxPyEndAllowThreads(__tstate);
16328 if (PyErr_Occurred()) SWIG_fail;
16329 }
4f89f6a3
RD
16330 {
16331 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16332 }
d14a1e28
RD
16333 return resultobj;
16334 fail:
16335 return NULL;
16336}
16337
16338
c32bde28 16339static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16340 PyObject *resultobj;
16341 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16342 bool result;
16343 PyObject * obj0 = 0 ;
16344 char *kwnames[] = {
16345 (char *) "self", NULL
16346 };
16347
16348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
15afbcd0
RD
16349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16351 {
16352 PyThreadState* __tstate = wxPyBeginAllowThreads();
16353 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
16354
16355 wxPyEndAllowThreads(__tstate);
16356 if (PyErr_Occurred()) SWIG_fail;
16357 }
4f89f6a3
RD
16358 {
16359 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16360 }
d14a1e28
RD
16361 return resultobj;
16362 fail:
16363 return NULL;
16364}
16365
16366
c32bde28 16367static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16368 PyObject *resultobj;
16369 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16370 wxSize result;
16371 PyObject * obj0 = 0 ;
16372 char *kwnames[] = {
16373 (char *) "self", NULL
16374 };
16375
16376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
16377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16379 {
16380 PyThreadState* __tstate = wxPyBeginAllowThreads();
16381 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
16382
16383 wxPyEndAllowThreads(__tstate);
16384 if (PyErr_Occurred()) SWIG_fail;
16385 }
16386 {
16387 wxSize * resultptr;
16388 resultptr = new wxSize((wxSize &) result);
15afbcd0 16389 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
16390 }
16391 return resultobj;
16392 fail:
16393 return NULL;
16394}
16395
16396
c32bde28 16397static PyObject *_wrap_PyWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16398 PyObject *resultobj;
16399 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16400 wxWindow *arg2 = (wxWindow *) 0 ;
16401 PyObject * obj0 = 0 ;
16402 PyObject * obj1 = 0 ;
16403 char *kwnames[] = {
16404 (char *) "self",(char *) "child", NULL
16405 };
16406
16407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16410 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16412 {
16413 PyThreadState* __tstate = wxPyBeginAllowThreads();
16414 (arg1)->base_AddChild(arg2);
16415
16416 wxPyEndAllowThreads(__tstate);
16417 if (PyErr_Occurred()) SWIG_fail;
16418 }
16419 Py_INCREF(Py_None); resultobj = Py_None;
16420 return resultobj;
16421 fail:
16422 return NULL;
16423}
16424
16425
c32bde28 16426static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16427 PyObject *resultobj;
16428 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16429 wxWindow *arg2 = (wxWindow *) 0 ;
16430 PyObject * obj0 = 0 ;
16431 PyObject * obj1 = 0 ;
16432 char *kwnames[] = {
16433 (char *) "self",(char *) "child", NULL
16434 };
16435
16436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16439 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16441 {
16442 PyThreadState* __tstate = wxPyBeginAllowThreads();
16443 (arg1)->base_RemoveChild(arg2);
16444
16445 wxPyEndAllowThreads(__tstate);
16446 if (PyErr_Occurred()) SWIG_fail;
16447 }
16448 Py_INCREF(Py_None); resultobj = Py_None;
16449 return resultobj;
16450 fail:
16451 return NULL;
16452}
16453
16454
c32bde28 16455static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
16456 PyObject *resultobj;
16457 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16458 bool result;
16459 PyObject * obj0 = 0 ;
16460 char *kwnames[] = {
16461 (char *) "self", NULL
16462 };
16463
16464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
16465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16467 {
16468 PyThreadState* __tstate = wxPyBeginAllowThreads();
db3e571a 16469 result = (bool)((wxPyWindow const *)arg1)->base_ShouldInheritColours();
1cb4a8aa
RD
16470
16471 wxPyEndAllowThreads(__tstate);
16472 if (PyErr_Occurred()) SWIG_fail;
16473 }
16474 {
16475 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16476 }
16477 return resultobj;
16478 fail:
16479 return NULL;
16480}
16481
16482
c32bde28 16483static PyObject *_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
16484 PyObject *resultobj;
16485 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16486 wxColour *arg2 = 0 ;
16487 wxColour temp2 ;
16488 PyObject * obj0 = 0 ;
16489 PyObject * obj1 = 0 ;
16490 char *kwnames[] = {
16491 (char *) "self",(char *) "c", NULL
16492 };
16493
16494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
16495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16497 {
16498 arg2 = &temp2;
16499 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16500 }
16501 {
16502 PyThreadState* __tstate = wxPyBeginAllowThreads();
16503 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
16504
16505 wxPyEndAllowThreads(__tstate);
16506 if (PyErr_Occurred()) SWIG_fail;
16507 }
16508 Py_INCREF(Py_None); resultobj = Py_None;
16509 return resultobj;
16510 fail:
16511 return NULL;
16512}
16513
16514
c32bde28 16515static PyObject *_wrap_PyWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
db3e571a
RD
16516 PyObject *resultobj;
16517 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16518 wxVisualAttributes result;
16519 PyObject * obj0 = 0 ;
16520 char *kwnames[] = {
16521 (char *) "self", NULL
16522 };
16523
16524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
16525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16527 {
16528 PyThreadState* __tstate = wxPyBeginAllowThreads();
16529 result = (arg1)->base_GetDefaultAttributes();
16530
16531 wxPyEndAllowThreads(__tstate);
16532 if (PyErr_Occurred()) SWIG_fail;
16533 }
16534 {
16535 wxVisualAttributes * resultptr;
16536 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
16537 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16538 }
16539 return resultobj;
16540 fail:
16541 return NULL;
16542}
16543
16544
c32bde28 16545static PyObject * PyWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
16546 PyObject *obj;
16547 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16548 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
16549 Py_INCREF(obj);
16550 return Py_BuildValue((char *)"");
16551}
c32bde28 16552static PyObject *_wrap_new_PyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16553 PyObject *resultobj;
16554 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 16555 int arg2 = (int) (int)-1 ;
d14a1e28
RD
16556 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16557 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16558 wxSize const &arg4_defvalue = wxDefaultSize ;
16559 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16560 long arg5 = (long) 0 ;
16561 wxString const &arg6_defvalue = wxPyPanelNameStr ;
16562 wxString *arg6 = (wxString *) &arg6_defvalue ;
16563 wxPyPanel *result;
16564 wxPoint temp3 ;
16565 wxSize temp4 ;
ae8162c8 16566 bool temp6 = false ;
d14a1e28 16567 PyObject * obj0 = 0 ;
994141e6 16568 PyObject * obj1 = 0 ;
d14a1e28
RD
16569 PyObject * obj2 = 0 ;
16570 PyObject * obj3 = 0 ;
994141e6 16571 PyObject * obj4 = 0 ;
d14a1e28
RD
16572 PyObject * obj5 = 0 ;
16573 char *kwnames[] = {
16574 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16575 };
16576
248ed943 16577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
16578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
16579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 16580 if (obj1) {
c32bde28 16581 arg2 = (int)SWIG_As_int(obj1);
248ed943
RD
16582 if (PyErr_Occurred()) SWIG_fail;
16583 }
d14a1e28
RD
16584 if (obj2) {
16585 {
16586 arg3 = &temp3;
16587 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16588 }
16589 }
16590 if (obj3) {
16591 {
16592 arg4 = &temp4;
16593 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16594 }
16595 }
994141e6 16596 if (obj4) {
c32bde28 16597 arg5 = (long)SWIG_As_long(obj4);
15afbcd0 16598 if (PyErr_Occurred()) SWIG_fail;
994141e6 16599 }
d14a1e28
RD
16600 if (obj5) {
16601 {
16602 arg6 = wxString_in_helper(obj5);
16603 if (arg6 == NULL) SWIG_fail;
ae8162c8 16604 temp6 = true;
d14a1e28
RD
16605 }
16606 }
16607 {
e3b71cb8 16608 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
16609 PyThreadState* __tstate = wxPyBeginAllowThreads();
16610 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
16611
16612 wxPyEndAllowThreads(__tstate);
110da5b0 16613 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 16614 }
15afbcd0 16615 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
d14a1e28
RD
16616 {
16617 if (temp6)
16618 delete arg6;
16619 }
16620 return resultobj;
16621 fail:
16622 {
16623 if (temp6)
16624 delete arg6;
16625 }
16626 return NULL;
16627}
16628
16629
c32bde28 16630static PyObject *_wrap_new_PrePyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
16631 PyObject *resultobj;
16632 wxPyPanel *result;
16633 char *kwnames[] = {
16634 NULL
16635 };
16636
16637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail;
16638 {
e3b71cb8 16639 if (!wxPyCheckForApp()) SWIG_fail;
1cb4a8aa
RD
16640 PyThreadState* __tstate = wxPyBeginAllowThreads();
16641 result = (wxPyPanel *)new wxPyPanel();
16642
16643 wxPyEndAllowThreads(__tstate);
110da5b0 16644 if (PyErr_Occurred()) SWIG_fail;
1cb4a8aa
RD
16645 }
16646 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
16647 return resultobj;
16648 fail:
16649 return NULL;
16650}
16651
16652
c32bde28 16653static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16654 PyObject *resultobj;
16655 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16656 PyObject *arg2 = (PyObject *) 0 ;
16657 PyObject *arg3 = (PyObject *) 0 ;
16658 PyObject * obj0 = 0 ;
16659 PyObject * obj1 = 0 ;
16660 PyObject * obj2 = 0 ;
16661 char *kwnames[] = {
16662 (char *) "self",(char *) "self",(char *) "_class", NULL
16663 };
16664
16665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
16666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16668 arg2 = obj1;
16669 arg3 = obj2;
16670 {
16671 PyThreadState* __tstate = wxPyBeginAllowThreads();
16672 (arg1)->_setCallbackInfo(arg2,arg3);
16673
16674 wxPyEndAllowThreads(__tstate);
16675 if (PyErr_Occurred()) SWIG_fail;
16676 }
16677 Py_INCREF(Py_None); resultobj = Py_None;
16678 return resultobj;
16679 fail:
16680 return NULL;
16681}
16682
16683
c32bde28 16684static PyObject *_wrap_PyPanel_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
db3e571a
RD
16685 PyObject *resultobj;
16686 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16687 wxSize *arg2 = 0 ;
16688 wxSize temp2 ;
16689 PyObject * obj0 = 0 ;
16690 PyObject * obj1 = 0 ;
16691 char *kwnames[] = {
16692 (char *) "self",(char *) "size", NULL
16693 };
16694
16695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
16696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16698 {
16699 arg2 = &temp2;
16700 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16701 }
16702 {
16703 PyThreadState* __tstate = wxPyBeginAllowThreads();
16704 (arg1)->SetBestSize((wxSize const &)*arg2);
16705
16706 wxPyEndAllowThreads(__tstate);
16707 if (PyErr_Occurred()) SWIG_fail;
16708 }
16709 Py_INCREF(Py_None); resultobj = Py_None;
16710 return resultobj;
16711 fail:
16712 return NULL;
16713}
16714
16715
c32bde28 16716static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16717 PyObject *resultobj;
16718 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16719 int arg2 ;
16720 int arg3 ;
16721 int arg4 ;
16722 int arg5 ;
16723 PyObject * obj0 = 0 ;
994141e6
RD
16724 PyObject * obj1 = 0 ;
16725 PyObject * obj2 = 0 ;
16726 PyObject * obj3 = 0 ;
16727 PyObject * obj4 = 0 ;
d14a1e28
RD
16728 char *kwnames[] = {
16729 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16730 };
16731
994141e6 16732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
16733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16735 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 16736 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16737 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 16738 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16739 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 16740 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16741 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 16742 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16743 {
16744 PyThreadState* __tstate = wxPyBeginAllowThreads();
16745 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
16746
16747 wxPyEndAllowThreads(__tstate);
16748 if (PyErr_Occurred()) SWIG_fail;
16749 }
16750 Py_INCREF(Py_None); resultobj = Py_None;
16751 return resultobj;
16752 fail:
16753 return NULL;
16754}
16755
16756
c32bde28 16757static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16758 PyObject *resultobj;
16759 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16760 int arg2 ;
16761 int arg3 ;
16762 int arg4 ;
16763 int arg5 ;
16764 int arg6 = (int) wxSIZE_AUTO ;
16765 PyObject * obj0 = 0 ;
994141e6
RD
16766 PyObject * obj1 = 0 ;
16767 PyObject * obj2 = 0 ;
16768 PyObject * obj3 = 0 ;
16769 PyObject * obj4 = 0 ;
16770 PyObject * obj5 = 0 ;
d14a1e28
RD
16771 char *kwnames[] = {
16772 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16773 };
16774
994141e6 16775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
16776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16778 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 16779 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16780 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 16781 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16782 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 16783 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16784 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 16785 if (PyErr_Occurred()) SWIG_fail;
994141e6 16786 if (obj5) {
c32bde28 16787 arg6 = (int)SWIG_As_int(obj5);
15afbcd0 16788 if (PyErr_Occurred()) SWIG_fail;
994141e6 16789 }
d14a1e28
RD
16790 {
16791 PyThreadState* __tstate = wxPyBeginAllowThreads();
16792 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
16793
16794 wxPyEndAllowThreads(__tstate);
16795 if (PyErr_Occurred()) SWIG_fail;
16796 }
16797 Py_INCREF(Py_None); resultobj = Py_None;
16798 return resultobj;
16799 fail:
16800 return NULL;
16801}
16802
16803
c32bde28 16804static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16805 PyObject *resultobj;
16806 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16807 int arg2 ;
16808 int arg3 ;
16809 PyObject * obj0 = 0 ;
994141e6
RD
16810 PyObject * obj1 = 0 ;
16811 PyObject * obj2 = 0 ;
d14a1e28
RD
16812 char *kwnames[] = {
16813 (char *) "self",(char *) "width",(char *) "height", NULL
16814 };
16815
994141e6 16816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
16817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16819 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 16820 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16821 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 16822 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16823 {
16824 PyThreadState* __tstate = wxPyBeginAllowThreads();
16825 (arg1)->base_DoSetClientSize(arg2,arg3);
16826
16827 wxPyEndAllowThreads(__tstate);
16828 if (PyErr_Occurred()) SWIG_fail;
16829 }
16830 Py_INCREF(Py_None); resultobj = Py_None;
16831 return resultobj;
16832 fail:
16833 return NULL;
16834}
16835
16836
c32bde28 16837static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16838 PyObject *resultobj;
16839 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16840 int arg2 ;
16841 int arg3 ;
16842 PyObject * obj0 = 0 ;
994141e6
RD
16843 PyObject * obj1 = 0 ;
16844 PyObject * obj2 = 0 ;
d14a1e28
RD
16845 char *kwnames[] = {
16846 (char *) "self",(char *) "x",(char *) "y", NULL
16847 };
16848
994141e6 16849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
16850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16852 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 16853 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16854 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 16855 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16856 {
16857 PyThreadState* __tstate = wxPyBeginAllowThreads();
16858 (arg1)->base_DoSetVirtualSize(arg2,arg3);
16859
16860 wxPyEndAllowThreads(__tstate);
16861 if (PyErr_Occurred()) SWIG_fail;
16862 }
16863 Py_INCREF(Py_None); resultobj = Py_None;
16864 return resultobj;
16865 fail:
16866 return NULL;
16867}
16868
16869
c32bde28 16870static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16871 PyObject *resultobj;
16872 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16873 int *arg2 = (int *) 0 ;
16874 int *arg3 = (int *) 0 ;
16875 int temp2 ;
c32bde28 16876 int res2 = 0 ;
d14a1e28 16877 int temp3 ;
c32bde28 16878 int res3 = 0 ;
d14a1e28
RD
16879 PyObject * obj0 = 0 ;
16880 char *kwnames[] = {
16881 (char *) "self", NULL
16882 };
16883
c32bde28
RD
16884 arg2 = &temp2; res2 = SWIG_NEWOBJ;
16885 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 16886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
16887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16889 {
16890 PyThreadState* __tstate = wxPyBeginAllowThreads();
16891 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
16892
16893 wxPyEndAllowThreads(__tstate);
16894 if (PyErr_Occurred()) SWIG_fail;
16895 }
16896 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
16897 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
16898 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
16899 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16900 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
16901 return resultobj;
16902 fail:
16903 return NULL;
16904}
16905
16906
c32bde28 16907static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16908 PyObject *resultobj;
16909 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16910 int *arg2 = (int *) 0 ;
16911 int *arg3 = (int *) 0 ;
16912 int temp2 ;
c32bde28 16913 int res2 = 0 ;
d14a1e28 16914 int temp3 ;
c32bde28 16915 int res3 = 0 ;
d14a1e28
RD
16916 PyObject * obj0 = 0 ;
16917 char *kwnames[] = {
16918 (char *) "self", NULL
16919 };
16920
c32bde28
RD
16921 arg2 = &temp2; res2 = SWIG_NEWOBJ;
16922 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 16923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
16924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16926 {
16927 PyThreadState* __tstate = wxPyBeginAllowThreads();
16928 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
16929
16930 wxPyEndAllowThreads(__tstate);
16931 if (PyErr_Occurred()) SWIG_fail;
16932 }
16933 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
16934 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
16935 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
16936 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16937 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
16938 return resultobj;
16939 fail:
16940 return NULL;
16941}
16942
16943
c32bde28 16944static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16945 PyObject *resultobj;
16946 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16947 int *arg2 = (int *) 0 ;
16948 int *arg3 = (int *) 0 ;
16949 int temp2 ;
c32bde28 16950 int res2 = 0 ;
d14a1e28 16951 int temp3 ;
c32bde28 16952 int res3 = 0 ;
d14a1e28
RD
16953 PyObject * obj0 = 0 ;
16954 char *kwnames[] = {
16955 (char *) "self", NULL
16956 };
16957
c32bde28
RD
16958 arg2 = &temp2; res2 = SWIG_NEWOBJ;
16959 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 16960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
16961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16963 {
16964 PyThreadState* __tstate = wxPyBeginAllowThreads();
16965 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
16966
16967 wxPyEndAllowThreads(__tstate);
16968 if (PyErr_Occurred()) SWIG_fail;
16969 }
16970 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
16971 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
16972 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
16973 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16974 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
16975 return resultobj;
16976 fail:
16977 return NULL;
16978}
16979
16980
c32bde28 16981static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16982 PyObject *resultobj;
16983 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16984 wxSize result;
16985 PyObject * obj0 = 0 ;
16986 char *kwnames[] = {
16987 (char *) "self", NULL
16988 };
16989
16990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
16991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16993 {
16994 PyThreadState* __tstate = wxPyBeginAllowThreads();
16995 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
16996
16997 wxPyEndAllowThreads(__tstate);
16998 if (PyErr_Occurred()) SWIG_fail;
16999 }
17000 {
17001 wxSize * resultptr;
17002 resultptr = new wxSize((wxSize &) result);
15afbcd0 17003 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
17004 }
17005 return resultobj;
17006 fail:
17007 return NULL;
17008}
17009
17010
c32bde28 17011static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17012 PyObject *resultobj;
17013 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17014 wxSize result;
17015 PyObject * obj0 = 0 ;
17016 char *kwnames[] = {
17017 (char *) "self", NULL
17018 };
17019
17020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
17021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17023 {
17024 PyThreadState* __tstate = wxPyBeginAllowThreads();
17025 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
17026
17027 wxPyEndAllowThreads(__tstate);
17028 if (PyErr_Occurred()) SWIG_fail;
17029 }
17030 {
17031 wxSize * resultptr;
17032 resultptr = new wxSize((wxSize &) result);
15afbcd0 17033 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
17034 }
17035 return resultobj;
17036 fail:
17037 return NULL;
17038}
17039
17040
c32bde28 17041static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17042 PyObject *resultobj;
17043 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17044 PyObject * obj0 = 0 ;
17045 char *kwnames[] = {
17046 (char *) "self", NULL
17047 };
17048
17049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
15afbcd0
RD
17050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17052 {
17053 PyThreadState* __tstate = wxPyBeginAllowThreads();
17054 (arg1)->base_InitDialog();
17055
17056 wxPyEndAllowThreads(__tstate);
17057 if (PyErr_Occurred()) SWIG_fail;
17058 }
17059 Py_INCREF(Py_None); resultobj = Py_None;
17060 return resultobj;
17061 fail:
17062 return NULL;
17063}
17064
17065
c32bde28 17066static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17067 PyObject *resultobj;
17068 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17069 bool result;
17070 PyObject * obj0 = 0 ;
17071 char *kwnames[] = {
17072 (char *) "self", NULL
17073 };
17074
17075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
17076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17078 {
17079 PyThreadState* __tstate = wxPyBeginAllowThreads();
17080 result = (bool)(arg1)->base_TransferDataToWindow();
17081
17082 wxPyEndAllowThreads(__tstate);
17083 if (PyErr_Occurred()) SWIG_fail;
17084 }
4f89f6a3
RD
17085 {
17086 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17087 }
d14a1e28
RD
17088 return resultobj;
17089 fail:
17090 return NULL;
17091}
17092
17093
c32bde28 17094static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17095 PyObject *resultobj;
17096 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17097 bool result;
17098 PyObject * obj0 = 0 ;
17099 char *kwnames[] = {
17100 (char *) "self", NULL
17101 };
17102
17103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
17104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17106 {
17107 PyThreadState* __tstate = wxPyBeginAllowThreads();
17108 result = (bool)(arg1)->base_TransferDataFromWindow();
17109
17110 wxPyEndAllowThreads(__tstate);
17111 if (PyErr_Occurred()) SWIG_fail;
17112 }
4f89f6a3
RD
17113 {
17114 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17115 }
d14a1e28
RD
17116 return resultobj;
17117 fail:
17118 return NULL;
17119}
17120
17121
c32bde28 17122static PyObject *_wrap_PyPanel_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17123 PyObject *resultobj;
17124 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17125 bool result;
17126 PyObject * obj0 = 0 ;
17127 char *kwnames[] = {
17128 (char *) "self", NULL
17129 };
17130
17131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
15afbcd0
RD
17132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17134 {
17135 PyThreadState* __tstate = wxPyBeginAllowThreads();
17136 result = (bool)(arg1)->base_Validate();
17137
17138 wxPyEndAllowThreads(__tstate);
17139 if (PyErr_Occurred()) SWIG_fail;
17140 }
4f89f6a3
RD
17141 {
17142 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17143 }
d14a1e28
RD
17144 return resultobj;
17145 fail:
17146 return NULL;
17147}
17148
17149
c32bde28 17150static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17151 PyObject *resultobj;
17152 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17153 bool result;
17154 PyObject * obj0 = 0 ;
17155 char *kwnames[] = {
17156 (char *) "self", NULL
17157 };
17158
17159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
15afbcd0
RD
17160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17162 {
17163 PyThreadState* __tstate = wxPyBeginAllowThreads();
17164 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
17165
17166 wxPyEndAllowThreads(__tstate);
17167 if (PyErr_Occurred()) SWIG_fail;
17168 }
4f89f6a3
RD
17169 {
17170 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17171 }
d14a1e28
RD
17172 return resultobj;
17173 fail:
17174 return NULL;
17175}
17176
17177
c32bde28 17178static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17179 PyObject *resultobj;
17180 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17181 bool result;
17182 PyObject * obj0 = 0 ;
17183 char *kwnames[] = {
17184 (char *) "self", NULL
17185 };
17186
17187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
15afbcd0
RD
17188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17190 {
17191 PyThreadState* __tstate = wxPyBeginAllowThreads();
17192 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
17193
17194 wxPyEndAllowThreads(__tstate);
17195 if (PyErr_Occurred()) SWIG_fail;
17196 }
4f89f6a3
RD
17197 {
17198 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17199 }
d14a1e28
RD
17200 return resultobj;
17201 fail:
17202 return NULL;
17203}
17204
17205
c32bde28 17206static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17207 PyObject *resultobj;
17208 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17209 wxSize result;
17210 PyObject * obj0 = 0 ;
17211 char *kwnames[] = {
17212 (char *) "self", NULL
17213 };
17214
17215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
17216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17218 {
17219 PyThreadState* __tstate = wxPyBeginAllowThreads();
17220 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
17221
17222 wxPyEndAllowThreads(__tstate);
17223 if (PyErr_Occurred()) SWIG_fail;
17224 }
17225 {
17226 wxSize * resultptr;
17227 resultptr = new wxSize((wxSize &) result);
15afbcd0 17228 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
17229 }
17230 return resultobj;
17231 fail:
17232 return NULL;
17233}
17234
17235
c32bde28 17236static PyObject *_wrap_PyPanel_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17237 PyObject *resultobj;
17238 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17239 wxWindow *arg2 = (wxWindow *) 0 ;
17240 PyObject * obj0 = 0 ;
17241 PyObject * obj1 = 0 ;
17242 char *kwnames[] = {
17243 (char *) "self",(char *) "child", NULL
17244 };
17245
17246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17249 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17251 {
17252 PyThreadState* __tstate = wxPyBeginAllowThreads();
17253 (arg1)->base_AddChild(arg2);
17254
17255 wxPyEndAllowThreads(__tstate);
17256 if (PyErr_Occurred()) SWIG_fail;
17257 }
17258 Py_INCREF(Py_None); resultobj = Py_None;
17259 return resultobj;
17260 fail:
17261 return NULL;
17262}
17263
17264
c32bde28 17265static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17266 PyObject *resultobj;
17267 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17268 wxWindow *arg2 = (wxWindow *) 0 ;
17269 PyObject * obj0 = 0 ;
17270 PyObject * obj1 = 0 ;
17271 char *kwnames[] = {
17272 (char *) "self",(char *) "child", NULL
17273 };
17274
17275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17278 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17280 {
17281 PyThreadState* __tstate = wxPyBeginAllowThreads();
17282 (arg1)->base_RemoveChild(arg2);
17283
17284 wxPyEndAllowThreads(__tstate);
17285 if (PyErr_Occurred()) SWIG_fail;
17286 }
17287 Py_INCREF(Py_None); resultobj = Py_None;
17288 return resultobj;
17289 fail:
17290 return NULL;
17291}
17292
17293
c32bde28 17294static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 17295 PyObject *resultobj;
1cb4a8aa
RD
17296 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17297 bool result;
17298 PyObject * obj0 = 0 ;
d14a1e28 17299 char *kwnames[] = {
1cb4a8aa 17300 (char *) "self", NULL
d14a1e28
RD
17301 };
17302
1cb4a8aa
RD
17303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
17304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17306 {
17307 PyThreadState* __tstate = wxPyBeginAllowThreads();
db3e571a 17308 result = (bool)((wxPyPanel const *)arg1)->base_ShouldInheritColours();
d14a1e28
RD
17309
17310 wxPyEndAllowThreads(__tstate);
17311 if (PyErr_Occurred()) SWIG_fail;
17312 }
1cb4a8aa
RD
17313 {
17314 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17315 }
d14a1e28
RD
17316 return resultobj;
17317 fail:
17318 return NULL;
17319}
17320
17321
c32bde28 17322static PyObject *_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 17323 PyObject *resultobj;
1cb4a8aa
RD
17324 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17325 wxColour *arg2 = 0 ;
17326 wxColour temp2 ;
d14a1e28 17327 PyObject * obj0 = 0 ;
1cb4a8aa 17328 PyObject * obj1 = 0 ;
d14a1e28 17329 char *kwnames[] = {
1cb4a8aa 17330 (char *) "self",(char *) "c", NULL
d14a1e28
RD
17331 };
17332
1cb4a8aa
RD
17333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
17334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15afbcd0 17335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1cb4a8aa
RD
17336 {
17337 arg2 = &temp2;
17338 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17339 }
d14a1e28
RD
17340 {
17341 PyThreadState* __tstate = wxPyBeginAllowThreads();
1cb4a8aa 17342 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
d14a1e28
RD
17343
17344 wxPyEndAllowThreads(__tstate);
17345 if (PyErr_Occurred()) SWIG_fail;
17346 }
17347 Py_INCREF(Py_None); resultobj = Py_None;
17348 return resultobj;
17349 fail:
17350 return NULL;
17351}
17352
17353
c32bde28 17354static PyObject *_wrap_PyPanel_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
db3e571a
RD
17355 PyObject *resultobj;
17356 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17357 wxVisualAttributes result;
17358 PyObject * obj0 = 0 ;
17359 char *kwnames[] = {
17360 (char *) "self", NULL
17361 };
17362
17363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
17364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17366 {
17367 PyThreadState* __tstate = wxPyBeginAllowThreads();
17368 result = (arg1)->base_GetDefaultAttributes();
17369
17370 wxPyEndAllowThreads(__tstate);
17371 if (PyErr_Occurred()) SWIG_fail;
17372 }
17373 {
17374 wxVisualAttributes * resultptr;
17375 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
17376 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
17377 }
17378 return resultobj;
17379 fail:
17380 return NULL;
17381}
17382
17383
c32bde28 17384static PyObject * PyPanel_swigregister(PyObject *, PyObject *args) {
1cb4a8aa
RD
17385 PyObject *obj;
17386 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17387 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
17388 Py_INCREF(obj);
17389 return Py_BuildValue((char *)"");
17390}
c32bde28 17391static PyObject *_wrap_new_PyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 17392 PyObject *resultobj;
1cb4a8aa 17393 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 17394 int arg2 = (int) (int)-1 ;
1cb4a8aa
RD
17395 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17396 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17397 wxSize const &arg4_defvalue = wxDefaultSize ;
17398 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17399 long arg5 = (long) 0 ;
17400 wxString const &arg6_defvalue = wxPyPanelNameStr ;
17401 wxString *arg6 = (wxString *) &arg6_defvalue ;
17402 wxPyScrolledWindow *result;
17403 wxPoint temp3 ;
17404 wxSize temp4 ;
ae8162c8 17405 bool temp6 = false ;
d14a1e28 17406 PyObject * obj0 = 0 ;
1cb4a8aa
RD
17407 PyObject * obj1 = 0 ;
17408 PyObject * obj2 = 0 ;
17409 PyObject * obj3 = 0 ;
17410 PyObject * obj4 = 0 ;
17411 PyObject * obj5 = 0 ;
d14a1e28 17412 char *kwnames[] = {
1cb4a8aa 17413 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
d14a1e28
RD
17414 };
17415
248ed943 17416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1cb4a8aa 17417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15afbcd0 17418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 17419 if (obj1) {
c32bde28 17420 arg2 = (int)SWIG_As_int(obj1);
248ed943
RD
17421 if (PyErr_Occurred()) SWIG_fail;
17422 }
1cb4a8aa
RD
17423 if (obj2) {
17424 {
17425 arg3 = &temp3;
17426 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17427 }
17428 }
17429 if (obj3) {
17430 {
17431 arg4 = &temp4;
17432 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17433 }
17434 }
17435 if (obj4) {
c32bde28 17436 arg5 = (long)SWIG_As_long(obj4);
1cb4a8aa
RD
17437 if (PyErr_Occurred()) SWIG_fail;
17438 }
17439 if (obj5) {
17440 {
17441 arg6 = wxString_in_helper(obj5);
17442 if (arg6 == NULL) SWIG_fail;
ae8162c8 17443 temp6 = true;
1cb4a8aa
RD
17444 }
17445 }
17446 {
e3b71cb8 17447 if (!wxPyCheckForApp()) SWIG_fail;
1cb4a8aa
RD
17448 PyThreadState* __tstate = wxPyBeginAllowThreads();
17449 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17450
17451 wxPyEndAllowThreads(__tstate);
110da5b0 17452 if (PyErr_Occurred()) SWIG_fail;
1cb4a8aa
RD
17453 }
17454 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
17455 {
17456 if (temp6)
17457 delete arg6;
17458 }
17459 return resultobj;
17460 fail:
17461 {
17462 if (temp6)
17463 delete arg6;
17464 }
17465 return NULL;
17466}
17467
17468
c32bde28 17469static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
17470 PyObject *resultobj;
17471 wxPyScrolledWindow *result;
17472 char *kwnames[] = {
17473 NULL
17474 };
17475
17476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail;
17477 {
e3b71cb8 17478 if (!wxPyCheckForApp()) SWIG_fail;
1cb4a8aa
RD
17479 PyThreadState* __tstate = wxPyBeginAllowThreads();
17480 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
17481
17482 wxPyEndAllowThreads(__tstate);
110da5b0 17483 if (PyErr_Occurred()) SWIG_fail;
1cb4a8aa
RD
17484 }
17485 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
17486 return resultobj;
17487 fail:
17488 return NULL;
17489}
17490
17491
c32bde28 17492static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
17493 PyObject *resultobj;
17494 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17495 PyObject *arg2 = (PyObject *) 0 ;
17496 PyObject *arg3 = (PyObject *) 0 ;
17497 PyObject * obj0 = 0 ;
17498 PyObject * obj1 = 0 ;
17499 PyObject * obj2 = 0 ;
17500 char *kwnames[] = {
17501 (char *) "self",(char *) "self",(char *) "_class", NULL
17502 };
17503
17504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17507 arg2 = obj1;
17508 arg3 = obj2;
17509 {
17510 PyThreadState* __tstate = wxPyBeginAllowThreads();
17511 (arg1)->_setCallbackInfo(arg2,arg3);
17512
17513 wxPyEndAllowThreads(__tstate);
17514 if (PyErr_Occurred()) SWIG_fail;
17515 }
17516 Py_INCREF(Py_None); resultobj = Py_None;
17517 return resultobj;
17518 fail:
17519 return NULL;
17520}
17521
17522
c32bde28 17523static PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
db3e571a
RD
17524 PyObject *resultobj;
17525 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17526 wxSize *arg2 = 0 ;
17527 wxSize temp2 ;
17528 PyObject * obj0 = 0 ;
17529 PyObject * obj1 = 0 ;
17530 char *kwnames[] = {
17531 (char *) "self",(char *) "size", NULL
17532 };
17533
17534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
17535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17537 {
17538 arg2 = &temp2;
17539 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17540 }
17541 {
17542 PyThreadState* __tstate = wxPyBeginAllowThreads();
17543 (arg1)->SetBestSize((wxSize const &)*arg2);
17544
17545 wxPyEndAllowThreads(__tstate);
17546 if (PyErr_Occurred()) SWIG_fail;
17547 }
17548 Py_INCREF(Py_None); resultobj = Py_None;
17549 return resultobj;
17550 fail:
17551 return NULL;
17552}
17553
17554
c32bde28 17555static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
17556 PyObject *resultobj;
17557 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17558 int arg2 ;
17559 int arg3 ;
17560 int arg4 ;
17561 int arg5 ;
17562 PyObject * obj0 = 0 ;
17563 PyObject * obj1 = 0 ;
17564 PyObject * obj2 = 0 ;
17565 PyObject * obj3 = 0 ;
17566 PyObject * obj4 = 0 ;
17567 char *kwnames[] = {
17568 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17569 };
17570
17571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
17572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 17574 arg2 = (int)SWIG_As_int(obj1);
1cb4a8aa 17575 if (PyErr_Occurred()) SWIG_fail;
c32bde28 17576 arg3 = (int)SWIG_As_int(obj2);
1cb4a8aa 17577 if (PyErr_Occurred()) SWIG_fail;
c32bde28 17578 arg4 = (int)SWIG_As_int(obj3);
1cb4a8aa 17579 if (PyErr_Occurred()) SWIG_fail;
c32bde28 17580 arg5 = (int)SWIG_As_int(obj4);
1cb4a8aa
RD
17581 if (PyErr_Occurred()) SWIG_fail;
17582 {
17583 PyThreadState* __tstate = wxPyBeginAllowThreads();
17584 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
17585
17586 wxPyEndAllowThreads(__tstate);
17587 if (PyErr_Occurred()) SWIG_fail;
17588 }
17589 Py_INCREF(Py_None); resultobj = Py_None;
17590 return resultobj;
17591 fail:
17592 return NULL;
17593}
17594
17595
c32bde28 17596static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
17597 PyObject *resultobj;
17598 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17599 int arg2 ;
17600 int arg3 ;
17601 int arg4 ;
17602 int arg5 ;
17603 int arg6 = (int) wxSIZE_AUTO ;
17604 PyObject * obj0 = 0 ;
17605 PyObject * obj1 = 0 ;
17606 PyObject * obj2 = 0 ;
17607 PyObject * obj3 = 0 ;
17608 PyObject * obj4 = 0 ;
17609 PyObject * obj5 = 0 ;
17610 char *kwnames[] = {
17611 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17612 };
17613
17614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 17617 arg2 = (int)SWIG_As_int(obj1);
1cb4a8aa 17618 if (PyErr_Occurred()) SWIG_fail;
c32bde28 17619 arg3 = (int)SWIG_As_int(obj2);
1cb4a8aa 17620 if (PyErr_Occurred()) SWIG_fail;
c32bde28 17621 arg4 = (int)SWIG_As_int(obj3);
1cb4a8aa 17622 if (PyErr_Occurred()) SWIG_fail;
c32bde28 17623 arg5 = (int)SWIG_As_int(obj4);
1cb4a8aa
RD
17624 if (PyErr_Occurred()) SWIG_fail;
17625 if (obj5) {
c32bde28 17626 arg6 = (int)SWIG_As_int(obj5);
1cb4a8aa
RD
17627 if (PyErr_Occurred()) SWIG_fail;
17628 }
17629 {
17630 PyThreadState* __tstate = wxPyBeginAllowThreads();
17631 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
17632
17633 wxPyEndAllowThreads(__tstate);
17634 if (PyErr_Occurred()) SWIG_fail;
17635 }
17636 Py_INCREF(Py_None); resultobj = Py_None;
17637 return resultobj;
17638 fail:
17639 return NULL;
17640}
17641
17642
c32bde28 17643static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
17644 PyObject *resultobj;
17645 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17646 int arg2 ;
17647 int arg3 ;
17648 PyObject * obj0 = 0 ;
17649 PyObject * obj1 = 0 ;
17650 PyObject * obj2 = 0 ;
17651 char *kwnames[] = {
17652 (char *) "self",(char *) "width",(char *) "height", NULL
17653 };
17654
17655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 17658 arg2 = (int)SWIG_As_int(obj1);
1cb4a8aa 17659 if (PyErr_Occurred()) SWIG_fail;
c32bde28 17660 arg3 = (int)SWIG_As_int(obj2);
1cb4a8aa
RD
17661 if (PyErr_Occurred()) SWIG_fail;
17662 {
17663 PyThreadState* __tstate = wxPyBeginAllowThreads();
17664 (arg1)->base_DoSetClientSize(arg2,arg3);
17665
17666 wxPyEndAllowThreads(__tstate);
17667 if (PyErr_Occurred()) SWIG_fail;
17668 }
17669 Py_INCREF(Py_None); resultobj = Py_None;
17670 return resultobj;
17671 fail:
17672 return NULL;
17673}
17674
17675
c32bde28 17676static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
17677 PyObject *resultobj;
17678 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17679 int arg2 ;
17680 int arg3 ;
17681 PyObject * obj0 = 0 ;
17682 PyObject * obj1 = 0 ;
17683 PyObject * obj2 = 0 ;
17684 char *kwnames[] = {
17685 (char *) "self",(char *) "x",(char *) "y", NULL
17686 };
17687
17688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 17691 arg2 = (int)SWIG_As_int(obj1);
1cb4a8aa 17692 if (PyErr_Occurred()) SWIG_fail;
c32bde28 17693 arg3 = (int)SWIG_As_int(obj2);
1cb4a8aa
RD
17694 if (PyErr_Occurred()) SWIG_fail;
17695 {
17696 PyThreadState* __tstate = wxPyBeginAllowThreads();
17697 (arg1)->base_DoSetVirtualSize(arg2,arg3);
17698
17699 wxPyEndAllowThreads(__tstate);
17700 if (PyErr_Occurred()) SWIG_fail;
17701 }
17702 Py_INCREF(Py_None); resultobj = Py_None;
17703 return resultobj;
17704 fail:
17705 return NULL;
17706}
17707
17708
c32bde28 17709static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
17710 PyObject *resultobj;
17711 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17712 int *arg2 = (int *) 0 ;
17713 int *arg3 = (int *) 0 ;
17714 int temp2 ;
c32bde28 17715 int res2 = 0 ;
1cb4a8aa 17716 int temp3 ;
c32bde28 17717 int res3 = 0 ;
1cb4a8aa
RD
17718 PyObject * obj0 = 0 ;
17719 char *kwnames[] = {
17720 (char *) "self", NULL
17721 };
17722
c32bde28
RD
17723 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17724 arg3 = &temp3; res3 = SWIG_NEWOBJ;
1cb4a8aa
RD
17725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
17726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17728 {
17729 PyThreadState* __tstate = wxPyBeginAllowThreads();
17730 ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3);
17731
17732 wxPyEndAllowThreads(__tstate);
17733 if (PyErr_Occurred()) SWIG_fail;
17734 }
17735 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
17736 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17737 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17738 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17739 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
1cb4a8aa
RD
17740 return resultobj;
17741 fail:
17742 return NULL;
17743}
17744
17745
c32bde28 17746static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
17747 PyObject *resultobj;
17748 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17749 int *arg2 = (int *) 0 ;
17750 int *arg3 = (int *) 0 ;
17751 int temp2 ;
c32bde28 17752 int res2 = 0 ;
1cb4a8aa 17753 int temp3 ;
c32bde28 17754 int res3 = 0 ;
1cb4a8aa
RD
17755 PyObject * obj0 = 0 ;
17756 char *kwnames[] = {
17757 (char *) "self", NULL
17758 };
17759
c32bde28
RD
17760 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17761 arg3 = &temp3; res3 = SWIG_NEWOBJ;
1cb4a8aa
RD
17762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
17763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17765 {
17766 PyThreadState* __tstate = wxPyBeginAllowThreads();
17767 ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
17768
17769 wxPyEndAllowThreads(__tstate);
17770 if (PyErr_Occurred()) SWIG_fail;
17771 }
17772 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
17773 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17774 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17775 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17776 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
1cb4a8aa
RD
17777 return resultobj;
17778 fail:
17779 return NULL;
17780}
17781
17782
c32bde28 17783static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
17784 PyObject *resultobj;
17785 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17786 int *arg2 = (int *) 0 ;
17787 int *arg3 = (int *) 0 ;
17788 int temp2 ;
c32bde28 17789 int res2 = 0 ;
1cb4a8aa 17790 int temp3 ;
c32bde28 17791 int res3 = 0 ;
1cb4a8aa
RD
17792 PyObject * obj0 = 0 ;
17793 char *kwnames[] = {
17794 (char *) "self", NULL
17795 };
17796
c32bde28
RD
17797 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17798 arg3 = &temp3; res3 = SWIG_NEWOBJ;
1cb4a8aa
RD
17799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
17800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17802 {
17803 PyThreadState* __tstate = wxPyBeginAllowThreads();
17804 ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
17805
17806 wxPyEndAllowThreads(__tstate);
17807 if (PyErr_Occurred()) SWIG_fail;
17808 }
17809 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
17810 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17811 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17812 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17813 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
1cb4a8aa
RD
17814 return resultobj;
17815 fail:
17816 return NULL;
17817}
17818
17819
c32bde28 17820static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
17821 PyObject *resultobj;
17822 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17823 wxSize result;
17824 PyObject * obj0 = 0 ;
17825 char *kwnames[] = {
17826 (char *) "self", NULL
17827 };
17828
17829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
17830 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17832 {
17833 PyThreadState* __tstate = wxPyBeginAllowThreads();
17834 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize();
17835
17836 wxPyEndAllowThreads(__tstate);
17837 if (PyErr_Occurred()) SWIG_fail;
17838 }
17839 {
17840 wxSize * resultptr;
17841 resultptr = new wxSize((wxSize &) result);
17842 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17843 }
17844 return resultobj;
17845 fail:
17846 return NULL;
17847}
17848
17849
c32bde28 17850static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
17851 PyObject *resultobj;
17852 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17853 wxSize result;
17854 PyObject * obj0 = 0 ;
17855 char *kwnames[] = {
17856 (char *) "self", NULL
17857 };
17858
17859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
17860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17862 {
17863 PyThreadState* __tstate = wxPyBeginAllowThreads();
17864 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize();
17865
17866 wxPyEndAllowThreads(__tstate);
17867 if (PyErr_Occurred()) SWIG_fail;
17868 }
17869 {
17870 wxSize * resultptr;
17871 resultptr = new wxSize((wxSize &) result);
17872 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17873 }
17874 return resultobj;
17875 fail:
17876 return NULL;
17877}
17878
17879
c32bde28 17880static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
17881 PyObject *resultobj;
17882 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17883 PyObject * obj0 = 0 ;
17884 char *kwnames[] = {
17885 (char *) "self", NULL
17886 };
17887
17888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail;
17889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17891 {
17892 PyThreadState* __tstate = wxPyBeginAllowThreads();
17893 (arg1)->base_InitDialog();
17894
17895 wxPyEndAllowThreads(__tstate);
17896 if (PyErr_Occurred()) SWIG_fail;
17897 }
17898 Py_INCREF(Py_None); resultobj = Py_None;
17899 return resultobj;
17900 fail:
17901 return NULL;
17902}
17903
17904
c32bde28 17905static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
17906 PyObject *resultobj;
17907 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17908 bool result;
17909 PyObject * obj0 = 0 ;
17910 char *kwnames[] = {
17911 (char *) "self", NULL
17912 };
17913
17914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
17915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17917 {
17918 PyThreadState* __tstate = wxPyBeginAllowThreads();
17919 result = (bool)(arg1)->base_TransferDataToWindow();
17920
17921 wxPyEndAllowThreads(__tstate);
17922 if (PyErr_Occurred()) SWIG_fail;
17923 }
17924 {
17925 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17926 }
17927 return resultobj;
17928 fail:
17929 return NULL;
17930}
17931
17932
c32bde28 17933static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
17934 PyObject *resultobj;
17935 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17936 bool result;
17937 PyObject * obj0 = 0 ;
17938 char *kwnames[] = {
17939 (char *) "self", NULL
17940 };
17941
17942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
17943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17945 {
17946 PyThreadState* __tstate = wxPyBeginAllowThreads();
17947 result = (bool)(arg1)->base_TransferDataFromWindow();
17948
17949 wxPyEndAllowThreads(__tstate);
17950 if (PyErr_Occurred()) SWIG_fail;
17951 }
17952 {
17953 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17954 }
17955 return resultobj;
17956 fail:
17957 return NULL;
17958}
17959
17960
c32bde28 17961static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
17962 PyObject *resultobj;
17963 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17964 bool result;
17965 PyObject * obj0 = 0 ;
17966 char *kwnames[] = {
17967 (char *) "self", NULL
17968 };
17969
17970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail;
17971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17973 {
17974 PyThreadState* __tstate = wxPyBeginAllowThreads();
17975 result = (bool)(arg1)->base_Validate();
17976
17977 wxPyEndAllowThreads(__tstate);
17978 if (PyErr_Occurred()) SWIG_fail;
17979 }
17980 {
17981 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17982 }
17983 return resultobj;
17984 fail:
17985 return NULL;
17986}
17987
17988
c32bde28 17989static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
17990 PyObject *resultobj;
17991 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17992 bool result;
17993 PyObject * obj0 = 0 ;
17994 char *kwnames[] = {
17995 (char *) "self", NULL
17996 };
17997
17998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
17999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18001 {
18002 PyThreadState* __tstate = wxPyBeginAllowThreads();
18003 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus();
18004
18005 wxPyEndAllowThreads(__tstate);
18006 if (PyErr_Occurred()) SWIG_fail;
18007 }
18008 {
18009 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18010 }
18011 return resultobj;
18012 fail:
18013 return NULL;
18014}
18015
18016
c32bde28 18017static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
18018 PyObject *resultobj;
18019 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18020 bool result;
18021 PyObject * obj0 = 0 ;
18022 char *kwnames[] = {
18023 (char *) "self", NULL
18024 };
18025
18026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
18027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18029 {
18030 PyThreadState* __tstate = wxPyBeginAllowThreads();
18031 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
18032
18033 wxPyEndAllowThreads(__tstate);
18034 if (PyErr_Occurred()) SWIG_fail;
18035 }
18036 {
18037 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18038 }
18039 return resultobj;
18040 fail:
18041 return NULL;
18042}
18043
18044
c32bde28 18045static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
18046 PyObject *resultobj;
18047 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18048 wxSize result;
18049 PyObject * obj0 = 0 ;
18050 char *kwnames[] = {
18051 (char *) "self", NULL
18052 };
18053
18054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
18055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18057 {
18058 PyThreadState* __tstate = wxPyBeginAllowThreads();
18059 result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize();
18060
18061 wxPyEndAllowThreads(__tstate);
18062 if (PyErr_Occurred()) SWIG_fail;
18063 }
18064 {
18065 wxSize * resultptr;
18066 resultptr = new wxSize((wxSize &) result);
18067 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18068 }
18069 return resultobj;
18070 fail:
18071 return NULL;
18072}
18073
18074
c32bde28 18075static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
18076 PyObject *resultobj;
18077 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18078 wxWindow *arg2 = (wxWindow *) 0 ;
18079 PyObject * obj0 = 0 ;
18080 PyObject * obj1 = 0 ;
18081 char *kwnames[] = {
18082 (char *) "self",(char *) "child", NULL
18083 };
18084
18085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
18086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18088 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18090 {
18091 PyThreadState* __tstate = wxPyBeginAllowThreads();
18092 (arg1)->base_AddChild(arg2);
18093
18094 wxPyEndAllowThreads(__tstate);
18095 if (PyErr_Occurred()) SWIG_fail;
18096 }
18097 Py_INCREF(Py_None); resultobj = Py_None;
18098 return resultobj;
18099 fail:
18100 return NULL;
18101}
18102
18103
c32bde28 18104static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
18105 PyObject *resultobj;
18106 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18107 wxWindow *arg2 = (wxWindow *) 0 ;
18108 PyObject * obj0 = 0 ;
18109 PyObject * obj1 = 0 ;
18110 char *kwnames[] = {
18111 (char *) "self",(char *) "child", NULL
18112 };
18113
18114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
18115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18117 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18119 {
18120 PyThreadState* __tstate = wxPyBeginAllowThreads();
18121 (arg1)->base_RemoveChild(arg2);
18122
18123 wxPyEndAllowThreads(__tstate);
18124 if (PyErr_Occurred()) SWIG_fail;
18125 }
18126 Py_INCREF(Py_None); resultobj = Py_None;
18127 return resultobj;
18128 fail:
18129 return NULL;
18130}
18131
18132
c32bde28 18133static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
18134 PyObject *resultobj;
18135 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18136 bool result;
18137 PyObject * obj0 = 0 ;
18138 char *kwnames[] = {
18139 (char *) "self", NULL
18140 };
18141
18142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
18143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18145 {
18146 PyThreadState* __tstate = wxPyBeginAllowThreads();
db3e571a 18147 result = (bool)((wxPyScrolledWindow const *)arg1)->base_ShouldInheritColours();
1cb4a8aa
RD
18148
18149 wxPyEndAllowThreads(__tstate);
18150 if (PyErr_Occurred()) SWIG_fail;
18151 }
18152 {
18153 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18154 }
18155 return resultobj;
18156 fail:
18157 return NULL;
18158}
18159
18160
c32bde28 18161static PyObject *_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
18162 PyObject *resultobj;
18163 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18164 wxColour *arg2 = 0 ;
18165 wxColour temp2 ;
18166 PyObject * obj0 = 0 ;
18167 PyObject * obj1 = 0 ;
18168 char *kwnames[] = {
18169 (char *) "self",(char *) "c", NULL
18170 };
18171
18172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
18173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18175 {
18176 arg2 = &temp2;
18177 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18178 }
18179 {
18180 PyThreadState* __tstate = wxPyBeginAllowThreads();
18181 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
18182
18183 wxPyEndAllowThreads(__tstate);
18184 if (PyErr_Occurred()) SWIG_fail;
18185 }
18186 Py_INCREF(Py_None); resultobj = Py_None;
18187 return resultobj;
18188 fail:
18189 return NULL;
18190}
18191
18192
c32bde28 18193static PyObject *_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
db3e571a
RD
18194 PyObject *resultobj;
18195 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18196 wxVisualAttributes result;
18197 PyObject * obj0 = 0 ;
18198 char *kwnames[] = {
18199 (char *) "self", NULL
18200 };
18201
18202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
18203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18205 {
18206 PyThreadState* __tstate = wxPyBeginAllowThreads();
18207 result = (arg1)->base_GetDefaultAttributes();
18208
18209 wxPyEndAllowThreads(__tstate);
18210 if (PyErr_Occurred()) SWIG_fail;
18211 }
18212 {
18213 wxVisualAttributes * resultptr;
18214 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
18215 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
18216 }
18217 return resultobj;
18218 fail:
18219 return NULL;
18220}
18221
18222
c32bde28 18223static PyObject * PyScrolledWindow_swigregister(PyObject *, PyObject *args) {
1cb4a8aa
RD
18224 PyObject *obj;
18225 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18226 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj);
18227 Py_INCREF(obj);
18228 return Py_BuildValue((char *)"");
18229}
c32bde28 18230static int _wrap_PrintoutTitleStr_set(PyObject *) {
1cb4a8aa
RD
18231 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
18232 return 1;
18233}
18234
18235
18236static PyObject *_wrap_PrintoutTitleStr_get() {
18237 PyObject *pyobj;
18238
18239 {
18240#if wxUSE_UNICODE
18241 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
18242#else
18243 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
18244#endif
18245 }
18246 return pyobj;
18247}
18248
18249
c32bde28 18250static int _wrap_PreviewCanvasNameStr_set(PyObject *) {
1cb4a8aa
RD
18251 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
18252 return 1;
18253}
18254
18255
18256static PyObject *_wrap_PreviewCanvasNameStr_get() {
18257 PyObject *pyobj;
18258
18259 {
18260#if wxUSE_UNICODE
18261 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
18262#else
18263 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
18264#endif
18265 }
18266 return pyobj;
18267}
18268
18269
c32bde28 18270static PyObject *_wrap_new_PrintData__SWIG_0(PyObject *, PyObject *args) {
1cb4a8aa
RD
18271 PyObject *resultobj;
18272 wxPrintData *result;
1cb4a8aa 18273
11207aef 18274 if(!PyArg_ParseTuple(args,(char *)":new_PrintData")) goto fail;
1cb4a8aa
RD
18275 {
18276 PyThreadState* __tstate = wxPyBeginAllowThreads();
18277 result = (wxPrintData *)new wxPrintData();
18278
18279 wxPyEndAllowThreads(__tstate);
18280 if (PyErr_Occurred()) SWIG_fail;
18281 }
18282 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
18283 return resultobj;
18284 fail:
18285 return NULL;
18286}
18287
18288
c32bde28 18289static PyObject *_wrap_new_PrintData__SWIG_1(PyObject *, PyObject *args) {
11207aef
RD
18290 PyObject *resultobj;
18291 wxPrintData *arg1 = 0 ;
18292 wxPrintData *result;
18293 PyObject * obj0 = 0 ;
18294
18295 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintData",&obj0)) goto fail;
18296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18297 SWIG_POINTER_EXCEPTION | 0)) == -1)
18298 SWIG_fail;
18299 if (arg1 == NULL) {
18300 PyErr_SetString(PyExc_TypeError,"null reference");
18301 SWIG_fail;
18302 }
18303 {
18304 PyThreadState* __tstate = wxPyBeginAllowThreads();
18305 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
18306
18307 wxPyEndAllowThreads(__tstate);
18308 if (PyErr_Occurred()) SWIG_fail;
18309 }
18310 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
18311 return resultobj;
18312 fail:
18313 return NULL;
18314}
18315
18316
18317static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
18318 int argc;
18319 PyObject *argv[2];
18320 int ii;
18321
18322 argc = PyObject_Length(args);
18323 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
18324 argv[ii] = PyTuple_GetItem(args,ii);
18325 }
18326 if (argc == 0) {
18327 return _wrap_new_PrintData__SWIG_0(self,args);
18328 }
18329 if (argc == 1) {
18330 int _v;
18331 {
18332 void *ptr;
18333 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
18334 _v = 0;
18335 PyErr_Clear();
18336 } else {
18337 _v = 1;
18338 }
18339 }
18340 if (_v) {
18341 return _wrap_new_PrintData__SWIG_1(self,args);
18342 }
18343 }
18344
18345 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintData'");
18346 return NULL;
18347}
18348
18349
c32bde28 18350static PyObject *_wrap_delete_PrintData(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
18351 PyObject *resultobj;
18352 wxPrintData *arg1 = (wxPrintData *) 0 ;
18353 PyObject * obj0 = 0 ;
18354 char *kwnames[] = {
18355 (char *) "self", NULL
18356 };
18357
18358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
18359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18361 {
18362 PyThreadState* __tstate = wxPyBeginAllowThreads();
18363 delete arg1;
18364
18365 wxPyEndAllowThreads(__tstate);
18366 if (PyErr_Occurred()) SWIG_fail;
18367 }
18368 Py_INCREF(Py_None); resultobj = Py_None;
18369 return resultobj;
18370 fail:
18371 return NULL;
18372}
18373
18374
c32bde28 18375static PyObject *_wrap_PrintData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
18376 PyObject *resultobj;
18377 wxPrintData *arg1 = (wxPrintData *) 0 ;
18378 int result;
18379 PyObject * obj0 = 0 ;
18380 char *kwnames[] = {
18381 (char *) "self", NULL
18382 };
18383
18384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
18385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18387 {
18388 PyThreadState* __tstate = wxPyBeginAllowThreads();
18389 result = (int)(arg1)->GetNoCopies();
18390
18391 wxPyEndAllowThreads(__tstate);
18392 if (PyErr_Occurred()) SWIG_fail;
18393 }
c32bde28 18394 resultobj = SWIG_From_int((int)result);
1cb4a8aa
RD
18395 return resultobj;
18396 fail:
d14a1e28
RD
18397 return NULL;
18398}
18399
18400
c32bde28 18401static PyObject *_wrap_PrintData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18402 PyObject *resultobj;
18403 wxPrintData *arg1 = (wxPrintData *) 0 ;
18404 bool result;
18405 PyObject * obj0 = 0 ;
18406 char *kwnames[] = {
18407 (char *) "self", NULL
18408 };
18409
18410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
15afbcd0
RD
18411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18413 {
18414 PyThreadState* __tstate = wxPyBeginAllowThreads();
18415 result = (bool)(arg1)->GetCollate();
18416
18417 wxPyEndAllowThreads(__tstate);
18418 if (PyErr_Occurred()) SWIG_fail;
18419 }
4f89f6a3
RD
18420 {
18421 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18422 }
d14a1e28
RD
18423 return resultobj;
18424 fail:
18425 return NULL;
18426}
18427
18428
c32bde28 18429static PyObject *_wrap_PrintData_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18430 PyObject *resultobj;
18431 wxPrintData *arg1 = (wxPrintData *) 0 ;
18432 int result;
18433 PyObject * obj0 = 0 ;
18434 char *kwnames[] = {
18435 (char *) "self", NULL
18436 };
18437
18438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
15afbcd0
RD
18439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18441 {
18442 PyThreadState* __tstate = wxPyBeginAllowThreads();
18443 result = (int)(arg1)->GetOrientation();
18444
18445 wxPyEndAllowThreads(__tstate);
18446 if (PyErr_Occurred()) SWIG_fail;
18447 }
c32bde28 18448 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
18449 return resultobj;
18450 fail:
18451 return NULL;
18452}
18453
18454
c32bde28 18455static PyObject *_wrap_PrintData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18456 PyObject *resultobj;
18457 wxPrintData *arg1 = (wxPrintData *) 0 ;
18458 bool result;
18459 PyObject * obj0 = 0 ;
18460 char *kwnames[] = {
18461 (char *) "self", NULL
18462 };
18463
18464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
15afbcd0
RD
18465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18467 {
18468 PyThreadState* __tstate = wxPyBeginAllowThreads();
18469 result = (bool)(arg1)->Ok();
18470
18471 wxPyEndAllowThreads(__tstate);
18472 if (PyErr_Occurred()) SWIG_fail;
18473 }
4f89f6a3
RD
18474 {
18475 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18476 }
d14a1e28
RD
18477 return resultobj;
18478 fail:
18479 return NULL;
18480}
18481
18482
c32bde28 18483static PyObject *_wrap_PrintData_GetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18484 PyObject *resultobj;
18485 wxPrintData *arg1 = (wxPrintData *) 0 ;
18486 wxString *result;
18487 PyObject * obj0 = 0 ;
18488 char *kwnames[] = {
18489 (char *) "self", NULL
18490 };
18491
18492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
15afbcd0
RD
18493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18495 {
18496 PyThreadState* __tstate = wxPyBeginAllowThreads();
18497 {
18498 wxString const &_result_ref = (arg1)->GetPrinterName();
18499 result = (wxString *) &_result_ref;
18500 }
18501
18502 wxPyEndAllowThreads(__tstate);
18503 if (PyErr_Occurred()) SWIG_fail;
18504 }
cc6dd355
RD
18505 {
18506#if wxUSE_UNICODE
18507 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18508#else
18509 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18510#endif
18511 }
d14a1e28
RD
18512 return resultobj;
18513 fail:
18514 return NULL;
18515}
18516
18517
c32bde28 18518static PyObject *_wrap_PrintData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18519 PyObject *resultobj;
18520 wxPrintData *arg1 = (wxPrintData *) 0 ;
18521 bool result;
18522 PyObject * obj0 = 0 ;
18523 char *kwnames[] = {
18524 (char *) "self", NULL
18525 };
18526
18527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
18528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18530 {
18531 PyThreadState* __tstate = wxPyBeginAllowThreads();
18532 result = (bool)(arg1)->GetColour();
18533
18534 wxPyEndAllowThreads(__tstate);
18535 if (PyErr_Occurred()) SWIG_fail;
18536 }
4f89f6a3
RD
18537 {
18538 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18539 }
d14a1e28
RD
18540 return resultobj;
18541 fail:
18542 return NULL;
18543}
18544
18545
c32bde28 18546static PyObject *_wrap_PrintData_GetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18547 PyObject *resultobj;
18548 wxPrintData *arg1 = (wxPrintData *) 0 ;
18549 int result;
18550 PyObject * obj0 = 0 ;
18551 char *kwnames[] = {
18552 (char *) "self", NULL
18553 };
18554
18555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
15afbcd0
RD
18556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18558 {
18559 PyThreadState* __tstate = wxPyBeginAllowThreads();
18560 result = (int)(arg1)->GetDuplex();
18561
18562 wxPyEndAllowThreads(__tstate);
18563 if (PyErr_Occurred()) SWIG_fail;
18564 }
c32bde28 18565 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
18566 return resultobj;
18567 fail:
18568 return NULL;
18569}
18570
18571
c32bde28 18572static PyObject *_wrap_PrintData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18573 PyObject *resultobj;
18574 wxPrintData *arg1 = (wxPrintData *) 0 ;
18575 int result;
18576 PyObject * obj0 = 0 ;
18577 char *kwnames[] = {
18578 (char *) "self", NULL
18579 };
18580
18581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
15afbcd0
RD
18582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18584 {
18585 PyThreadState* __tstate = wxPyBeginAllowThreads();
18586 result = (int)(arg1)->GetPaperId();
18587
18588 wxPyEndAllowThreads(__tstate);
18589 if (PyErr_Occurred()) SWIG_fail;
18590 }
c32bde28 18591 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
18592 return resultobj;
18593 fail:
18594 return NULL;
18595}
18596
18597
c32bde28 18598static PyObject *_wrap_PrintData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18599 PyObject *resultobj;
18600 wxPrintData *arg1 = (wxPrintData *) 0 ;
18601 wxSize *result;
18602 PyObject * obj0 = 0 ;
18603 char *kwnames[] = {
18604 (char *) "self", NULL
18605 };
18606
18607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
18608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18610 {
18611 PyThreadState* __tstate = wxPyBeginAllowThreads();
18612 {
18613 wxSize const &_result_ref = (arg1)->GetPaperSize();
18614 result = (wxSize *) &_result_ref;
18615 }
18616
18617 wxPyEndAllowThreads(__tstate);
18618 if (PyErr_Occurred()) SWIG_fail;
18619 }
15afbcd0 18620 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
d14a1e28
RD
18621 return resultobj;
18622 fail:
18623 return NULL;
18624}
18625
18626
c32bde28 18627static PyObject *_wrap_PrintData_GetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18628 PyObject *resultobj;
18629 wxPrintData *arg1 = (wxPrintData *) 0 ;
b2dc1044 18630 int result;
d14a1e28
RD
18631 PyObject * obj0 = 0 ;
18632 char *kwnames[] = {
18633 (char *) "self", NULL
18634 };
18635
18636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
15afbcd0
RD
18637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18639 {
18640 PyThreadState* __tstate = wxPyBeginAllowThreads();
b2dc1044 18641 result = (int)(arg1)->GetQuality();
d14a1e28
RD
18642
18643 wxPyEndAllowThreads(__tstate);
18644 if (PyErr_Occurred()) SWIG_fail;
18645 }
c32bde28 18646 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
18647 return resultobj;
18648 fail:
18649 return NULL;
18650}
18651
18652
2ef75293
RD
18653static PyObject *_wrap_PrintData_GetBin(PyObject *, PyObject *args, PyObject *kwargs) {
18654 PyObject *resultobj;
18655 wxPrintData *arg1 = (wxPrintData *) 0 ;
18656 int result;
18657 PyObject * obj0 = 0 ;
18658 char *kwnames[] = {
18659 (char *) "self", NULL
18660 };
18661
18662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetBin",kwnames,&obj0)) goto fail;
18663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18665 {
18666 PyThreadState* __tstate = wxPyBeginAllowThreads();
18667 result = (int)(arg1)->GetBin();
18668
18669 wxPyEndAllowThreads(__tstate);
18670 if (PyErr_Occurred()) SWIG_fail;
18671 }
18672 resultobj = SWIG_From_int((int)result);
18673 return resultobj;
18674 fail:
18675 return NULL;
18676}
18677
18678
c32bde28 18679static PyObject *_wrap_PrintData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18680 PyObject *resultobj;
18681 wxPrintData *arg1 = (wxPrintData *) 0 ;
18682 int arg2 ;
18683 PyObject * obj0 = 0 ;
994141e6 18684 PyObject * obj1 = 0 ;
d14a1e28
RD
18685 char *kwnames[] = {
18686 (char *) "self",(char *) "v", NULL
18687 };
18688
994141e6 18689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18692 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 18693 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18694 {
18695 PyThreadState* __tstate = wxPyBeginAllowThreads();
18696 (arg1)->SetNoCopies(arg2);
18697
18698 wxPyEndAllowThreads(__tstate);
18699 if (PyErr_Occurred()) SWIG_fail;
18700 }
18701 Py_INCREF(Py_None); resultobj = Py_None;
18702 return resultobj;
18703 fail:
18704 return NULL;
18705}
18706
18707
c32bde28 18708static PyObject *_wrap_PrintData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18709 PyObject *resultobj;
18710 wxPrintData *arg1 = (wxPrintData *) 0 ;
18711 bool arg2 ;
18712 PyObject * obj0 = 0 ;
18713 PyObject * obj1 = 0 ;
18714 char *kwnames[] = {
18715 (char *) "self",(char *) "flag", NULL
18716 };
18717
18718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18721 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 18722 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18723 {
18724 PyThreadState* __tstate = wxPyBeginAllowThreads();
18725 (arg1)->SetCollate(arg2);
18726
18727 wxPyEndAllowThreads(__tstate);
18728 if (PyErr_Occurred()) SWIG_fail;
18729 }
18730 Py_INCREF(Py_None); resultobj = Py_None;
18731 return resultobj;
18732 fail:
18733 return NULL;
18734}
18735
18736
c32bde28 18737static PyObject *_wrap_PrintData_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18738 PyObject *resultobj;
18739 wxPrintData *arg1 = (wxPrintData *) 0 ;
18740 int arg2 ;
18741 PyObject * obj0 = 0 ;
994141e6 18742 PyObject * obj1 = 0 ;
d14a1e28
RD
18743 char *kwnames[] = {
18744 (char *) "self",(char *) "orient", NULL
18745 };
18746
994141e6 18747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18750 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 18751 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18752 {
18753 PyThreadState* __tstate = wxPyBeginAllowThreads();
18754 (arg1)->SetOrientation(arg2);
18755
18756 wxPyEndAllowThreads(__tstate);
18757 if (PyErr_Occurred()) SWIG_fail;
18758 }
18759 Py_INCREF(Py_None); resultobj = Py_None;
18760 return resultobj;
18761 fail:
18762 return NULL;
18763}
18764
18765
c32bde28 18766static PyObject *_wrap_PrintData_SetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18767 PyObject *resultobj;
18768 wxPrintData *arg1 = (wxPrintData *) 0 ;
18769 wxString *arg2 = 0 ;
ae8162c8 18770 bool temp2 = false ;
d14a1e28
RD
18771 PyObject * obj0 = 0 ;
18772 PyObject * obj1 = 0 ;
18773 char *kwnames[] = {
18774 (char *) "self",(char *) "name", NULL
18775 };
18776
18777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18780 {
18781 arg2 = wxString_in_helper(obj1);
18782 if (arg2 == NULL) SWIG_fail;
ae8162c8 18783 temp2 = true;
d14a1e28
RD
18784 }
18785 {
18786 PyThreadState* __tstate = wxPyBeginAllowThreads();
18787 (arg1)->SetPrinterName((wxString const &)*arg2);
18788
18789 wxPyEndAllowThreads(__tstate);
18790 if (PyErr_Occurred()) SWIG_fail;
18791 }
18792 Py_INCREF(Py_None); resultobj = Py_None;
18793 {
18794 if (temp2)
18795 delete arg2;
18796 }
18797 return resultobj;
18798 fail:
18799 {
18800 if (temp2)
18801 delete arg2;
18802 }
18803 return NULL;
18804}
18805
18806
c32bde28 18807static PyObject *_wrap_PrintData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18808 PyObject *resultobj;
18809 wxPrintData *arg1 = (wxPrintData *) 0 ;
18810 bool arg2 ;
18811 PyObject * obj0 = 0 ;
18812 PyObject * obj1 = 0 ;
18813 char *kwnames[] = {
18814 (char *) "self",(char *) "colour", NULL
18815 };
18816
18817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18820 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 18821 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18822 {
18823 PyThreadState* __tstate = wxPyBeginAllowThreads();
18824 (arg1)->SetColour(arg2);
18825
18826 wxPyEndAllowThreads(__tstate);
18827 if (PyErr_Occurred()) SWIG_fail;
18828 }
18829 Py_INCREF(Py_None); resultobj = Py_None;
18830 return resultobj;
18831 fail:
18832 return NULL;
18833}
18834
18835
c32bde28 18836static PyObject *_wrap_PrintData_SetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18837 PyObject *resultobj;
18838 wxPrintData *arg1 = (wxPrintData *) 0 ;
18839 int arg2 ;
18840 PyObject * obj0 = 0 ;
994141e6 18841 PyObject * obj1 = 0 ;
d14a1e28
RD
18842 char *kwnames[] = {
18843 (char *) "self",(char *) "duplex", NULL
18844 };
18845
994141e6 18846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18849 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 18850 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18851 {
18852 PyThreadState* __tstate = wxPyBeginAllowThreads();
18853 (arg1)->SetDuplex((wxDuplexMode )arg2);
18854
18855 wxPyEndAllowThreads(__tstate);
18856 if (PyErr_Occurred()) SWIG_fail;
18857 }
18858 Py_INCREF(Py_None); resultobj = Py_None;
18859 return resultobj;
18860 fail:
18861 return NULL;
18862}
18863
18864
c32bde28 18865static PyObject *_wrap_PrintData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18866 PyObject *resultobj;
18867 wxPrintData *arg1 = (wxPrintData *) 0 ;
18868 int arg2 ;
18869 PyObject * obj0 = 0 ;
994141e6 18870 PyObject * obj1 = 0 ;
d14a1e28
RD
18871 char *kwnames[] = {
18872 (char *) "self",(char *) "sizeId", NULL
18873 };
18874
994141e6 18875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18878 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 18879 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18880 {
18881 PyThreadState* __tstate = wxPyBeginAllowThreads();
18882 (arg1)->SetPaperId((wxPaperSize )arg2);
18883
18884 wxPyEndAllowThreads(__tstate);
18885 if (PyErr_Occurred()) SWIG_fail;
18886 }
18887 Py_INCREF(Py_None); resultobj = Py_None;
18888 return resultobj;
18889 fail:
18890 return NULL;
18891}
18892
18893
c32bde28 18894static PyObject *_wrap_PrintData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18895 PyObject *resultobj;
18896 wxPrintData *arg1 = (wxPrintData *) 0 ;
18897 wxSize *arg2 = 0 ;
18898 wxSize temp2 ;
18899 PyObject * obj0 = 0 ;
18900 PyObject * obj1 = 0 ;
18901 char *kwnames[] = {
18902 (char *) "self",(char *) "sz", NULL
18903 };
18904
18905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) 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 arg2 = &temp2;
18910 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18911 }
18912 {
18913 PyThreadState* __tstate = wxPyBeginAllowThreads();
18914 (arg1)->SetPaperSize((wxSize const &)*arg2);
18915
18916 wxPyEndAllowThreads(__tstate);
18917 if (PyErr_Occurred()) SWIG_fail;
18918 }
18919 Py_INCREF(Py_None); resultobj = Py_None;
18920 return resultobj;
18921 fail:
18922 return NULL;
18923}
18924
18925
c32bde28 18926static PyObject *_wrap_PrintData_SetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18927 PyObject *resultobj;
18928 wxPrintData *arg1 = (wxPrintData *) 0 ;
b2dc1044 18929 int arg2 ;
d14a1e28 18930 PyObject * obj0 = 0 ;
994141e6 18931 PyObject * obj1 = 0 ;
d14a1e28
RD
18932 char *kwnames[] = {
18933 (char *) "self",(char *) "quality", NULL
18934 };
18935
994141e6 18936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18939 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 18940 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18941 {
18942 PyThreadState* __tstate = wxPyBeginAllowThreads();
18943 (arg1)->SetQuality(arg2);
18944
18945 wxPyEndAllowThreads(__tstate);
18946 if (PyErr_Occurred()) SWIG_fail;
18947 }
18948 Py_INCREF(Py_None); resultobj = Py_None;
18949 return resultobj;
18950 fail:
18951 return NULL;
18952}
18953
18954
2ef75293
RD
18955static PyObject *_wrap_PrintData_SetBin(PyObject *, PyObject *args, PyObject *kwargs) {
18956 PyObject *resultobj;
18957 wxPrintData *arg1 = (wxPrintData *) 0 ;
18958 int arg2 ;
18959 PyObject * obj0 = 0 ;
18960 PyObject * obj1 = 0 ;
18961 char *kwnames[] = {
18962 (char *) "self",(char *) "bin", NULL
18963 };
18964
18965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) goto fail;
18966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18968 arg2 = (int)SWIG_As_int(obj1);
18969 if (PyErr_Occurred()) SWIG_fail;
18970 {
18971 PyThreadState* __tstate = wxPyBeginAllowThreads();
18972 (arg1)->SetBin((wxPrintBin )arg2);
18973
18974 wxPyEndAllowThreads(__tstate);
18975 if (PyErr_Occurred()) SWIG_fail;
18976 }
18977 Py_INCREF(Py_None); resultobj = Py_None;
18978 return resultobj;
18979 fail:
18980 return NULL;
18981}
18982
18983
c32bde28 18984static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18985 PyObject *resultobj;
18986 wxPrintData *arg1 = (wxPrintData *) 0 ;
18987 wxString *result;
18988 PyObject * obj0 = 0 ;
18989 char *kwnames[] = {
18990 (char *) "self", NULL
18991 };
18992
18993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
15afbcd0
RD
18994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18996 {
18997 PyThreadState* __tstate = wxPyBeginAllowThreads();
18998 {
18999 wxString const &_result_ref = (arg1)->GetPrinterCommand();
19000 result = (wxString *) &_result_ref;
19001 }
19002
19003 wxPyEndAllowThreads(__tstate);
19004 if (PyErr_Occurred()) SWIG_fail;
19005 }
cc6dd355
RD
19006 {
19007#if wxUSE_UNICODE
19008 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19009#else
19010 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19011#endif
19012 }
d14a1e28
RD
19013 return resultobj;
19014 fail:
19015 return NULL;
19016}
19017
19018
c32bde28 19019static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19020 PyObject *resultobj;
19021 wxPrintData *arg1 = (wxPrintData *) 0 ;
19022 wxString *result;
19023 PyObject * obj0 = 0 ;
19024 char *kwnames[] = {
19025 (char *) "self", NULL
19026 };
19027
19028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
15afbcd0
RD
19029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19031 {
19032 PyThreadState* __tstate = wxPyBeginAllowThreads();
19033 {
19034 wxString const &_result_ref = (arg1)->GetPrinterOptions();
19035 result = (wxString *) &_result_ref;
19036 }
19037
19038 wxPyEndAllowThreads(__tstate);
19039 if (PyErr_Occurred()) SWIG_fail;
19040 }
cc6dd355
RD
19041 {
19042#if wxUSE_UNICODE
19043 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19044#else
19045 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19046#endif
19047 }
d14a1e28
RD
19048 return resultobj;
19049 fail:
19050 return NULL;
19051}
19052
19053
c32bde28 19054static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19055 PyObject *resultobj;
19056 wxPrintData *arg1 = (wxPrintData *) 0 ;
19057 wxString *result;
19058 PyObject * obj0 = 0 ;
19059 char *kwnames[] = {
19060 (char *) "self", NULL
19061 };
19062
19063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
15afbcd0
RD
19064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19066 {
19067 PyThreadState* __tstate = wxPyBeginAllowThreads();
19068 {
19069 wxString const &_result_ref = (arg1)->GetPreviewCommand();
19070 result = (wxString *) &_result_ref;
19071 }
19072
19073 wxPyEndAllowThreads(__tstate);
19074 if (PyErr_Occurred()) SWIG_fail;
19075 }
cc6dd355
RD
19076 {
19077#if wxUSE_UNICODE
19078 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19079#else
19080 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19081#endif
19082 }
d14a1e28
RD
19083 return resultobj;
19084 fail:
19085 return NULL;
19086}
19087
19088
c32bde28 19089static PyObject *_wrap_PrintData_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19090 PyObject *resultobj;
19091 wxPrintData *arg1 = (wxPrintData *) 0 ;
19092 wxString *result;
19093 PyObject * obj0 = 0 ;
19094 char *kwnames[] = {
19095 (char *) "self", NULL
19096 };
19097
19098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
15afbcd0
RD
19099 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19101 {
19102 PyThreadState* __tstate = wxPyBeginAllowThreads();
19103 {
19104 wxString const &_result_ref = (arg1)->GetFilename();
19105 result = (wxString *) &_result_ref;
19106 }
19107
19108 wxPyEndAllowThreads(__tstate);
19109 if (PyErr_Occurred()) SWIG_fail;
19110 }
cc6dd355
RD
19111 {
19112#if wxUSE_UNICODE
19113 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19114#else
19115 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19116#endif
19117 }
d14a1e28
RD
19118 return resultobj;
19119 fail:
19120 return NULL;
19121}
19122
19123
c32bde28 19124static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19125 PyObject *resultobj;
19126 wxPrintData *arg1 = (wxPrintData *) 0 ;
19127 wxString *result;
19128 PyObject * obj0 = 0 ;
19129 char *kwnames[] = {
19130 (char *) "self", NULL
19131 };
19132
19133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
15afbcd0
RD
19134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19136 {
19137 PyThreadState* __tstate = wxPyBeginAllowThreads();
19138 {
19139 wxString const &_result_ref = (arg1)->GetFontMetricPath();
19140 result = (wxString *) &_result_ref;
19141 }
19142
19143 wxPyEndAllowThreads(__tstate);
19144 if (PyErr_Occurred()) SWIG_fail;
19145 }
cc6dd355
RD
19146 {
19147#if wxUSE_UNICODE
19148 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19149#else
19150 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19151#endif
19152 }
d14a1e28
RD
19153 return resultobj;
19154 fail:
19155 return NULL;
19156}
19157
19158
c32bde28 19159static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19160 PyObject *resultobj;
19161 wxPrintData *arg1 = (wxPrintData *) 0 ;
19162 double result;
19163 PyObject * obj0 = 0 ;
19164 char *kwnames[] = {
19165 (char *) "self", NULL
19166 };
19167
19168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
15afbcd0
RD
19169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19171 {
19172 PyThreadState* __tstate = wxPyBeginAllowThreads();
19173 result = (double)(arg1)->GetPrinterScaleX();
19174
19175 wxPyEndAllowThreads(__tstate);
19176 if (PyErr_Occurred()) SWIG_fail;
19177 }
c32bde28 19178 resultobj = SWIG_From_double((double)result);
d14a1e28
RD
19179 return resultobj;
19180 fail:
19181 return NULL;
19182}
19183
19184
c32bde28 19185static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19186 PyObject *resultobj;
19187 wxPrintData *arg1 = (wxPrintData *) 0 ;
19188 double result;
19189 PyObject * obj0 = 0 ;
19190 char *kwnames[] = {
19191 (char *) "self", NULL
19192 };
19193
19194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
15afbcd0
RD
19195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19197 {
19198 PyThreadState* __tstate = wxPyBeginAllowThreads();
19199 result = (double)(arg1)->GetPrinterScaleY();
19200
19201 wxPyEndAllowThreads(__tstate);
19202 if (PyErr_Occurred()) SWIG_fail;
19203 }
c32bde28 19204 resultobj = SWIG_From_double((double)result);
d14a1e28
RD
19205 return resultobj;
19206 fail:
19207 return NULL;
19208}
19209
19210
c32bde28 19211static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19212 PyObject *resultobj;
19213 wxPrintData *arg1 = (wxPrintData *) 0 ;
19214 long result;
19215 PyObject * obj0 = 0 ;
19216 char *kwnames[] = {
19217 (char *) "self", NULL
19218 };
19219
19220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
15afbcd0
RD
19221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19223 {
19224 PyThreadState* __tstate = wxPyBeginAllowThreads();
19225 result = (long)(arg1)->GetPrinterTranslateX();
19226
19227 wxPyEndAllowThreads(__tstate);
19228 if (PyErr_Occurred()) SWIG_fail;
19229 }
c32bde28 19230 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
19231 return resultobj;
19232 fail:
19233 return NULL;
19234}
19235
19236
c32bde28 19237static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19238 PyObject *resultobj;
19239 wxPrintData *arg1 = (wxPrintData *) 0 ;
19240 long result;
19241 PyObject * obj0 = 0 ;
19242 char *kwnames[] = {
19243 (char *) "self", NULL
19244 };
19245
19246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
15afbcd0
RD
19247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19249 {
19250 PyThreadState* __tstate = wxPyBeginAllowThreads();
19251 result = (long)(arg1)->GetPrinterTranslateY();
19252
19253 wxPyEndAllowThreads(__tstate);
19254 if (PyErr_Occurred()) SWIG_fail;
19255 }
c32bde28 19256 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
19257 return resultobj;
19258 fail:
19259 return NULL;
19260}
19261
19262
c32bde28 19263static PyObject *_wrap_PrintData_GetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19264 PyObject *resultobj;
19265 wxPrintData *arg1 = (wxPrintData *) 0 ;
19266 int result;
19267 PyObject * obj0 = 0 ;
19268 char *kwnames[] = {
19269 (char *) "self", NULL
19270 };
19271
19272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
15afbcd0
RD
19273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19275 {
19276 PyThreadState* __tstate = wxPyBeginAllowThreads();
19277 result = (int)(arg1)->GetPrintMode();
19278
19279 wxPyEndAllowThreads(__tstate);
19280 if (PyErr_Occurred()) SWIG_fail;
19281 }
c32bde28 19282 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
19283 return resultobj;
19284 fail:
19285 return NULL;
19286}
19287
19288
c32bde28 19289static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19290 PyObject *resultobj;
19291 wxPrintData *arg1 = (wxPrintData *) 0 ;
19292 wxString *arg2 = 0 ;
ae8162c8 19293 bool temp2 = false ;
d14a1e28
RD
19294 PyObject * obj0 = 0 ;
19295 PyObject * obj1 = 0 ;
19296 char *kwnames[] = {
19297 (char *) "self",(char *) "command", NULL
19298 };
19299
19300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19303 {
19304 arg2 = wxString_in_helper(obj1);
19305 if (arg2 == NULL) SWIG_fail;
ae8162c8 19306 temp2 = true;
d14a1e28
RD
19307 }
19308 {
19309 PyThreadState* __tstate = wxPyBeginAllowThreads();
19310 (arg1)->SetPrinterCommand((wxString const &)*arg2);
19311
19312 wxPyEndAllowThreads(__tstate);
19313 if (PyErr_Occurred()) SWIG_fail;
19314 }
19315 Py_INCREF(Py_None); resultobj = Py_None;
19316 {
19317 if (temp2)
19318 delete arg2;
19319 }
19320 return resultobj;
19321 fail:
19322 {
19323 if (temp2)
19324 delete arg2;
19325 }
19326 return NULL;
19327}
19328
19329
c32bde28 19330static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19331 PyObject *resultobj;
19332 wxPrintData *arg1 = (wxPrintData *) 0 ;
19333 wxString *arg2 = 0 ;
ae8162c8 19334 bool temp2 = false ;
d14a1e28
RD
19335 PyObject * obj0 = 0 ;
19336 PyObject * obj1 = 0 ;
19337 char *kwnames[] = {
19338 (char *) "self",(char *) "options", NULL
19339 };
19340
19341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19342 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19344 {
19345 arg2 = wxString_in_helper(obj1);
19346 if (arg2 == NULL) SWIG_fail;
ae8162c8 19347 temp2 = true;
d14a1e28
RD
19348 }
19349 {
19350 PyThreadState* __tstate = wxPyBeginAllowThreads();
19351 (arg1)->SetPrinterOptions((wxString const &)*arg2);
19352
19353 wxPyEndAllowThreads(__tstate);
19354 if (PyErr_Occurred()) SWIG_fail;
19355 }
19356 Py_INCREF(Py_None); resultobj = Py_None;
19357 {
19358 if (temp2)
19359 delete arg2;
19360 }
19361 return resultobj;
19362 fail:
19363 {
19364 if (temp2)
19365 delete arg2;
19366 }
19367 return NULL;
19368}
19369
19370
c32bde28 19371static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19372 PyObject *resultobj;
19373 wxPrintData *arg1 = (wxPrintData *) 0 ;
19374 wxString *arg2 = 0 ;
ae8162c8 19375 bool temp2 = false ;
d14a1e28
RD
19376 PyObject * obj0 = 0 ;
19377 PyObject * obj1 = 0 ;
19378 char *kwnames[] = {
19379 (char *) "self",(char *) "command", NULL
19380 };
19381
19382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19385 {
19386 arg2 = wxString_in_helper(obj1);
19387 if (arg2 == NULL) SWIG_fail;
ae8162c8 19388 temp2 = true;
d14a1e28
RD
19389 }
19390 {
19391 PyThreadState* __tstate = wxPyBeginAllowThreads();
19392 (arg1)->SetPreviewCommand((wxString const &)*arg2);
19393
19394 wxPyEndAllowThreads(__tstate);
19395 if (PyErr_Occurred()) SWIG_fail;
19396 }
19397 Py_INCREF(Py_None); resultobj = Py_None;
19398 {
19399 if (temp2)
19400 delete arg2;
19401 }
19402 return resultobj;
19403 fail:
19404 {
19405 if (temp2)
19406 delete arg2;
19407 }
19408 return NULL;
19409}
19410
19411
c32bde28 19412static PyObject *_wrap_PrintData_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19413 PyObject *resultobj;
19414 wxPrintData *arg1 = (wxPrintData *) 0 ;
19415 wxString *arg2 = 0 ;
ae8162c8 19416 bool temp2 = false ;
d14a1e28
RD
19417 PyObject * obj0 = 0 ;
19418 PyObject * obj1 = 0 ;
19419 char *kwnames[] = {
19420 (char *) "self",(char *) "filename", NULL
19421 };
19422
19423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19426 {
19427 arg2 = wxString_in_helper(obj1);
19428 if (arg2 == NULL) SWIG_fail;
ae8162c8 19429 temp2 = true;
d14a1e28
RD
19430 }
19431 {
19432 PyThreadState* __tstate = wxPyBeginAllowThreads();
19433 (arg1)->SetFilename((wxString const &)*arg2);
19434
19435 wxPyEndAllowThreads(__tstate);
19436 if (PyErr_Occurred()) SWIG_fail;
19437 }
19438 Py_INCREF(Py_None); resultobj = Py_None;
19439 {
19440 if (temp2)
19441 delete arg2;
19442 }
19443 return resultobj;
19444 fail:
19445 {
19446 if (temp2)
19447 delete arg2;
19448 }
19449 return NULL;
19450}
19451
19452
c32bde28 19453static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19454 PyObject *resultobj;
19455 wxPrintData *arg1 = (wxPrintData *) 0 ;
19456 wxString *arg2 = 0 ;
ae8162c8 19457 bool temp2 = false ;
d14a1e28
RD
19458 PyObject * obj0 = 0 ;
19459 PyObject * obj1 = 0 ;
19460 char *kwnames[] = {
19461 (char *) "self",(char *) "path", NULL
19462 };
19463
19464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19467 {
19468 arg2 = wxString_in_helper(obj1);
19469 if (arg2 == NULL) SWIG_fail;
ae8162c8 19470 temp2 = true;
d14a1e28
RD
19471 }
19472 {
19473 PyThreadState* __tstate = wxPyBeginAllowThreads();
19474 (arg1)->SetFontMetricPath((wxString const &)*arg2);
19475
19476 wxPyEndAllowThreads(__tstate);
19477 if (PyErr_Occurred()) SWIG_fail;
19478 }
19479 Py_INCREF(Py_None); resultobj = Py_None;
19480 {
19481 if (temp2)
19482 delete arg2;
19483 }
19484 return resultobj;
19485 fail:
19486 {
19487 if (temp2)
19488 delete arg2;
19489 }
19490 return NULL;
19491}
19492
19493
c32bde28 19494static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19495 PyObject *resultobj;
19496 wxPrintData *arg1 = (wxPrintData *) 0 ;
19497 double arg2 ;
19498 PyObject * obj0 = 0 ;
994141e6 19499 PyObject * obj1 = 0 ;
d14a1e28
RD
19500 char *kwnames[] = {
19501 (char *) "self",(char *) "x", NULL
19502 };
19503
994141e6 19504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19507 arg2 = (double)SWIG_As_double(obj1);
15afbcd0 19508 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19509 {
19510 PyThreadState* __tstate = wxPyBeginAllowThreads();
19511 (arg1)->SetPrinterScaleX(arg2);
19512
19513 wxPyEndAllowThreads(__tstate);
19514 if (PyErr_Occurred()) SWIG_fail;
19515 }
19516 Py_INCREF(Py_None); resultobj = Py_None;
19517 return resultobj;
19518 fail:
19519 return NULL;
19520}
19521
19522
c32bde28 19523static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19524 PyObject *resultobj;
19525 wxPrintData *arg1 = (wxPrintData *) 0 ;
19526 double arg2 ;
19527 PyObject * obj0 = 0 ;
994141e6 19528 PyObject * obj1 = 0 ;
d14a1e28
RD
19529 char *kwnames[] = {
19530 (char *) "self",(char *) "y", NULL
19531 };
19532
994141e6 19533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19536 arg2 = (double)SWIG_As_double(obj1);
15afbcd0 19537 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19538 {
19539 PyThreadState* __tstate = wxPyBeginAllowThreads();
19540 (arg1)->SetPrinterScaleY(arg2);
19541
19542 wxPyEndAllowThreads(__tstate);
19543 if (PyErr_Occurred()) SWIG_fail;
19544 }
19545 Py_INCREF(Py_None); resultobj = Py_None;
19546 return resultobj;
19547 fail:
19548 return NULL;
19549}
19550
19551
c32bde28 19552static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19553 PyObject *resultobj;
19554 wxPrintData *arg1 = (wxPrintData *) 0 ;
19555 double arg2 ;
19556 double arg3 ;
19557 PyObject * obj0 = 0 ;
994141e6
RD
19558 PyObject * obj1 = 0 ;
19559 PyObject * obj2 = 0 ;
d14a1e28
RD
19560 char *kwnames[] = {
19561 (char *) "self",(char *) "x",(char *) "y", NULL
19562 };
19563
994141e6 19564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
19565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19567 arg2 = (double)SWIG_As_double(obj1);
15afbcd0 19568 if (PyErr_Occurred()) SWIG_fail;
c32bde28 19569 arg3 = (double)SWIG_As_double(obj2);
15afbcd0 19570 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19571 {
19572 PyThreadState* __tstate = wxPyBeginAllowThreads();
19573 (arg1)->SetPrinterScaling(arg2,arg3);
19574
19575 wxPyEndAllowThreads(__tstate);
19576 if (PyErr_Occurred()) SWIG_fail;
19577 }
19578 Py_INCREF(Py_None); resultobj = Py_None;
19579 return resultobj;
19580 fail:
19581 return NULL;
19582}
19583
19584
c32bde28 19585static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19586 PyObject *resultobj;
19587 wxPrintData *arg1 = (wxPrintData *) 0 ;
19588 long arg2 ;
19589 PyObject * obj0 = 0 ;
994141e6 19590 PyObject * obj1 = 0 ;
d14a1e28
RD
19591 char *kwnames[] = {
19592 (char *) "self",(char *) "x", NULL
19593 };
19594
994141e6 19595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19598 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 19599 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19600 {
19601 PyThreadState* __tstate = wxPyBeginAllowThreads();
19602 (arg1)->SetPrinterTranslateX(arg2);
19603
19604 wxPyEndAllowThreads(__tstate);
19605 if (PyErr_Occurred()) SWIG_fail;
19606 }
19607 Py_INCREF(Py_None); resultobj = Py_None;
19608 return resultobj;
19609 fail:
19610 return NULL;
19611}
19612
19613
c32bde28 19614static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19615 PyObject *resultobj;
19616 wxPrintData *arg1 = (wxPrintData *) 0 ;
19617 long arg2 ;
19618 PyObject * obj0 = 0 ;
994141e6 19619 PyObject * obj1 = 0 ;
d14a1e28
RD
19620 char *kwnames[] = {
19621 (char *) "self",(char *) "y", NULL
19622 };
19623
994141e6 19624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19627 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 19628 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19629 {
19630 PyThreadState* __tstate = wxPyBeginAllowThreads();
19631 (arg1)->SetPrinterTranslateY(arg2);
19632
19633 wxPyEndAllowThreads(__tstate);
19634 if (PyErr_Occurred()) SWIG_fail;
19635 }
19636 Py_INCREF(Py_None); resultobj = Py_None;
19637 return resultobj;
19638 fail:
19639 return NULL;
19640}
19641
19642
c32bde28 19643static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19644 PyObject *resultobj;
19645 wxPrintData *arg1 = (wxPrintData *) 0 ;
19646 long arg2 ;
19647 long arg3 ;
19648 PyObject * obj0 = 0 ;
994141e6
RD
19649 PyObject * obj1 = 0 ;
19650 PyObject * obj2 = 0 ;
d14a1e28
RD
19651 char *kwnames[] = {
19652 (char *) "self",(char *) "x",(char *) "y", NULL
19653 };
19654
994141e6 19655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
19656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19658 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 19659 if (PyErr_Occurred()) SWIG_fail;
c32bde28 19660 arg3 = (long)SWIG_As_long(obj2);
15afbcd0 19661 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19662 {
19663 PyThreadState* __tstate = wxPyBeginAllowThreads();
19664 (arg1)->SetPrinterTranslation(arg2,arg3);
19665
19666 wxPyEndAllowThreads(__tstate);
19667 if (PyErr_Occurred()) SWIG_fail;
19668 }
19669 Py_INCREF(Py_None); resultobj = Py_None;
19670 return resultobj;
19671 fail:
19672 return NULL;
19673}
19674
19675
c32bde28 19676static PyObject *_wrap_PrintData_SetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19677 PyObject *resultobj;
19678 wxPrintData *arg1 = (wxPrintData *) 0 ;
19679 int arg2 ;
19680 PyObject * obj0 = 0 ;
994141e6 19681 PyObject * obj1 = 0 ;
d14a1e28
RD
19682 char *kwnames[] = {
19683 (char *) "self",(char *) "printMode", NULL
19684 };
19685
994141e6 19686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19689 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 19690 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19691 {
19692 PyThreadState* __tstate = wxPyBeginAllowThreads();
19693 (arg1)->SetPrintMode((wxPrintMode )arg2);
19694
19695 wxPyEndAllowThreads(__tstate);
19696 if (PyErr_Occurred()) SWIG_fail;
19697 }
19698 Py_INCREF(Py_None); resultobj = Py_None;
19699 return resultobj;
19700 fail:
19701 return NULL;
19702}
19703
19704
c32bde28 19705static PyObject *_wrap_PrintData_GetOutputStream(PyObject *, PyObject *args, PyObject *kwargs) {
db914595
RD
19706 PyObject *resultobj;
19707 wxPrintData *arg1 = (wxPrintData *) 0 ;
19708 wxOutputStream *result;
19709 PyObject * obj0 = 0 ;
19710 char *kwnames[] = {
19711 (char *) "self", NULL
19712 };
19713
19714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOutputStream",kwnames,&obj0)) goto fail;
15afbcd0
RD
19715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
db914595
RD
19717 {
19718 PyThreadState* __tstate = wxPyBeginAllowThreads();
19719 result = (wxOutputStream *)(arg1)->GetOutputStream();
19720
19721 wxPyEndAllowThreads(__tstate);
19722 if (PyErr_Occurred()) SWIG_fail;
19723 }
15afbcd0 19724 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0);
db914595
RD
19725 return resultobj;
19726 fail:
19727 return NULL;
19728}
19729
19730
c32bde28 19731static PyObject *_wrap_PrintData_SetOutputStream(PyObject *, PyObject *args, PyObject *kwargs) {
db914595
RD
19732 PyObject *resultobj;
19733 wxPrintData *arg1 = (wxPrintData *) 0 ;
19734 wxOutputStream *arg2 = (wxOutputStream *) 0 ;
19735 PyObject * obj0 = 0 ;
19736 PyObject * obj1 = 0 ;
19737 char *kwnames[] = {
19738 (char *) "self",(char *) "outputstream", NULL
19739 };
19740
19741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOutputStream",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19744 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxOutputStream,
19745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
db914595
RD
19746 {
19747 PyThreadState* __tstate = wxPyBeginAllowThreads();
19748 (arg1)->SetOutputStream(arg2);
19749
19750 wxPyEndAllowThreads(__tstate);
19751 if (PyErr_Occurred()) SWIG_fail;
19752 }
19753 Py_INCREF(Py_None); resultobj = Py_None;
19754 return resultobj;
19755 fail:
19756 return NULL;
19757}
19758
19759
c32bde28 19760static PyObject * PrintData_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
19761 PyObject *obj;
19762 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19763 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
19764 Py_INCREF(obj);
19765 return Py_BuildValue((char *)"");
19766}
c32bde28 19767static PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
19768 PyObject *resultobj;
19769 wxPageSetupDialogData *result;
d14a1e28 19770
11207aef 19771 if(!PyArg_ParseTuple(args,(char *)":new_PageSetupDialogData")) goto fail;
d14a1e28
RD
19772 {
19773 PyThreadState* __tstate = wxPyBeginAllowThreads();
19774 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
19775
19776 wxPyEndAllowThreads(__tstate);
19777 if (PyErr_Occurred()) SWIG_fail;
19778 }
15afbcd0 19779 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
d14a1e28
RD
19780 return resultobj;
19781 fail:
19782 return NULL;
19783}
19784
19785
c32bde28 19786static PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *, PyObject *args) {
11207aef
RD
19787 PyObject *resultobj;
19788 wxPageSetupDialogData *arg1 = 0 ;
19789 wxPageSetupDialogData *result;
19790 PyObject * obj0 = 0 ;
19791
19792 if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail;
19793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19794 SWIG_POINTER_EXCEPTION | 0)) == -1)
19795 SWIG_fail;
19796 if (arg1 == NULL) {
19797 PyErr_SetString(PyExc_TypeError,"null reference");
19798 SWIG_fail;
19799 }
19800 {
19801 PyThreadState* __tstate = wxPyBeginAllowThreads();
19802 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
19803
19804 wxPyEndAllowThreads(__tstate);
19805 if (PyErr_Occurred()) SWIG_fail;
19806 }
19807 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
19808 return resultobj;
19809 fail:
19810 return NULL;
19811}
19812
19813
19814static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
19815 int argc;
19816 PyObject *argv[2];
19817 int ii;
19818
19819 argc = PyObject_Length(args);
19820 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
19821 argv[ii] = PyTuple_GetItem(args,ii);
19822 }
19823 if (argc == 0) {
19824 return _wrap_new_PageSetupDialogData__SWIG_0(self,args);
19825 }
19826 if (argc == 1) {
19827 int _v;
19828 {
19829 void *ptr;
19830 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPageSetupDialogData, 0) == -1) {
19831 _v = 0;
19832 PyErr_Clear();
19833 } else {
19834 _v = 1;
19835 }
19836 }
19837 if (_v) {
19838 return _wrap_new_PageSetupDialogData__SWIG_1(self,args);
19839 }
19840 }
19841
19842 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PageSetupDialogData'");
19843 return NULL;
19844}
19845
19846
c32bde28 19847static PyObject *_wrap_delete_PageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19848 PyObject *resultobj;
19849 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19850 PyObject * obj0 = 0 ;
19851 char *kwnames[] = {
19852 (char *) "self", NULL
19853 };
19854
19855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
15afbcd0
RD
19856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19858 {
19859 PyThreadState* __tstate = wxPyBeginAllowThreads();
19860 delete arg1;
19861
19862 wxPyEndAllowThreads(__tstate);
19863 if (PyErr_Occurred()) SWIG_fail;
19864 }
19865 Py_INCREF(Py_None); resultobj = Py_None;
19866 return resultobj;
19867 fail:
19868 return NULL;
19869}
19870
19871
c32bde28 19872static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19873 PyObject *resultobj;
19874 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19875 bool arg2 ;
19876 PyObject * obj0 = 0 ;
19877 PyObject * obj1 = 0 ;
19878 char *kwnames[] = {
19879 (char *) "self",(char *) "flag", NULL
19880 };
19881
19882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19885 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 19886 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19887 {
19888 PyThreadState* __tstate = wxPyBeginAllowThreads();
19889 (arg1)->EnableHelp(arg2);
19890
19891 wxPyEndAllowThreads(__tstate);
19892 if (PyErr_Occurred()) SWIG_fail;
19893 }
19894 Py_INCREF(Py_None); resultobj = Py_None;
19895 return resultobj;
19896 fail:
19897 return NULL;
19898}
19899
19900
c32bde28 19901static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19902 PyObject *resultobj;
19903 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19904 bool arg2 ;
19905 PyObject * obj0 = 0 ;
19906 PyObject * obj1 = 0 ;
19907 char *kwnames[] = {
19908 (char *) "self",(char *) "flag", NULL
19909 };
19910
19911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19914 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 19915 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19916 {
19917 PyThreadState* __tstate = wxPyBeginAllowThreads();
19918 (arg1)->EnableMargins(arg2);
19919
19920 wxPyEndAllowThreads(__tstate);
19921 if (PyErr_Occurred()) SWIG_fail;
19922 }
19923 Py_INCREF(Py_None); resultobj = Py_None;
19924 return resultobj;
19925 fail:
19926 return NULL;
19927}
19928
19929
c32bde28 19930static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19931 PyObject *resultobj;
19932 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19933 bool arg2 ;
19934 PyObject * obj0 = 0 ;
19935 PyObject * obj1 = 0 ;
19936 char *kwnames[] = {
19937 (char *) "self",(char *) "flag", NULL
19938 };
19939
19940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19943 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 19944 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19945 {
19946 PyThreadState* __tstate = wxPyBeginAllowThreads();
19947 (arg1)->EnableOrientation(arg2);
19948
19949 wxPyEndAllowThreads(__tstate);
19950 if (PyErr_Occurred()) SWIG_fail;
19951 }
19952 Py_INCREF(Py_None); resultobj = Py_None;
19953 return resultobj;
19954 fail:
19955 return NULL;
19956}
19957
19958
c32bde28 19959static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19960 PyObject *resultobj;
19961 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19962 bool arg2 ;
19963 PyObject * obj0 = 0 ;
19964 PyObject * obj1 = 0 ;
19965 char *kwnames[] = {
19966 (char *) "self",(char *) "flag", NULL
19967 };
19968
19969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19972 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 19973 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19974 {
19975 PyThreadState* __tstate = wxPyBeginAllowThreads();
19976 (arg1)->EnablePaper(arg2);
19977
19978 wxPyEndAllowThreads(__tstate);
19979 if (PyErr_Occurred()) SWIG_fail;
19980 }
19981 Py_INCREF(Py_None); resultobj = Py_None;
19982 return resultobj;
19983 fail:
19984 return NULL;
19985}
19986
19987
c32bde28 19988static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19989 PyObject *resultobj;
19990 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19991 bool arg2 ;
19992 PyObject * obj0 = 0 ;
19993 PyObject * obj1 = 0 ;
19994 char *kwnames[] = {
19995 (char *) "self",(char *) "flag", NULL
19996 };
19997
19998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 20001 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 20002 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20003 {
20004 PyThreadState* __tstate = wxPyBeginAllowThreads();
20005 (arg1)->EnablePrinter(arg2);
20006
20007 wxPyEndAllowThreads(__tstate);
20008 if (PyErr_Occurred()) SWIG_fail;
20009 }
20010 Py_INCREF(Py_None); resultobj = Py_None;
20011 return resultobj;
20012 fail:
20013 return NULL;
20014}
20015
20016
c32bde28 20017static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20018 PyObject *resultobj;
20019 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20020 bool result;
20021 PyObject * obj0 = 0 ;
20022 char *kwnames[] = {
20023 (char *) "self", NULL
20024 };
20025
20026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
15afbcd0
RD
20027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20029 {
20030 PyThreadState* __tstate = wxPyBeginAllowThreads();
20031 result = (bool)(arg1)->GetDefaultMinMargins();
20032
20033 wxPyEndAllowThreads(__tstate);
20034 if (PyErr_Occurred()) SWIG_fail;
20035 }
4f89f6a3
RD
20036 {
20037 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20038 }
d14a1e28
RD
20039 return resultobj;
20040 fail:
20041 return NULL;
20042}
20043
20044
c32bde28 20045static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20046 PyObject *resultobj;
20047 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20048 bool result;
20049 PyObject * obj0 = 0 ;
20050 char *kwnames[] = {
20051 (char *) "self", NULL
20052 };
20053
20054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
15afbcd0
RD
20055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20057 {
20058 PyThreadState* __tstate = wxPyBeginAllowThreads();
20059 result = (bool)(arg1)->GetEnableMargins();
20060
20061 wxPyEndAllowThreads(__tstate);
20062 if (PyErr_Occurred()) SWIG_fail;
20063 }
4f89f6a3
RD
20064 {
20065 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20066 }
d14a1e28
RD
20067 return resultobj;
20068 fail:
20069 return NULL;
20070}
20071
20072
c32bde28 20073static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20074 PyObject *resultobj;
20075 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20076 bool result;
20077 PyObject * obj0 = 0 ;
20078 char *kwnames[] = {
20079 (char *) "self", NULL
20080 };
20081
20082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
15afbcd0
RD
20083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20085 {
20086 PyThreadState* __tstate = wxPyBeginAllowThreads();
20087 result = (bool)(arg1)->GetEnableOrientation();
20088
20089 wxPyEndAllowThreads(__tstate);
20090 if (PyErr_Occurred()) SWIG_fail;
20091 }
4f89f6a3
RD
20092 {
20093 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20094 }
d14a1e28
RD
20095 return resultobj;
20096 fail:
20097 return NULL;
20098}
20099
20100
c32bde28 20101static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20102 PyObject *resultobj;
20103 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20104 bool result;
20105 PyObject * obj0 = 0 ;
20106 char *kwnames[] = {
20107 (char *) "self", NULL
20108 };
20109
20110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
15afbcd0
RD
20111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20113 {
20114 PyThreadState* __tstate = wxPyBeginAllowThreads();
20115 result = (bool)(arg1)->GetEnablePaper();
20116
20117 wxPyEndAllowThreads(__tstate);
20118 if (PyErr_Occurred()) SWIG_fail;
20119 }
4f89f6a3
RD
20120 {
20121 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20122 }
d14a1e28
RD
20123 return resultobj;
20124 fail:
20125 return NULL;
20126}
20127
20128
c32bde28 20129static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20130 PyObject *resultobj;
20131 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20132 bool result;
20133 PyObject * obj0 = 0 ;
20134 char *kwnames[] = {
20135 (char *) "self", NULL
20136 };
20137
20138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
15afbcd0
RD
20139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20141 {
20142 PyThreadState* __tstate = wxPyBeginAllowThreads();
20143 result = (bool)(arg1)->GetEnablePrinter();
20144
20145 wxPyEndAllowThreads(__tstate);
20146 if (PyErr_Occurred()) SWIG_fail;
20147 }
4f89f6a3
RD
20148 {
20149 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20150 }
d14a1e28
RD
20151 return resultobj;
20152 fail:
20153 return NULL;
20154}
20155
20156
c32bde28 20157static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20158 PyObject *resultobj;
20159 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20160 bool result;
20161 PyObject * obj0 = 0 ;
20162 char *kwnames[] = {
20163 (char *) "self", NULL
20164 };
20165
20166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
15afbcd0
RD
20167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20169 {
20170 PyThreadState* __tstate = wxPyBeginAllowThreads();
20171 result = (bool)(arg1)->GetEnableHelp();
20172
20173 wxPyEndAllowThreads(__tstate);
20174 if (PyErr_Occurred()) SWIG_fail;
20175 }
4f89f6a3
RD
20176 {
20177 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20178 }
d14a1e28
RD
20179 return resultobj;
20180 fail:
20181 return NULL;
20182}
20183
20184
c32bde28 20185static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20186 PyObject *resultobj;
20187 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20188 bool result;
20189 PyObject * obj0 = 0 ;
20190 char *kwnames[] = {
20191 (char *) "self", NULL
20192 };
20193
20194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
15afbcd0
RD
20195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20197 {
20198 PyThreadState* __tstate = wxPyBeginAllowThreads();
20199 result = (bool)(arg1)->GetDefaultInfo();
20200
20201 wxPyEndAllowThreads(__tstate);
20202 if (PyErr_Occurred()) SWIG_fail;
20203 }
4f89f6a3
RD
20204 {
20205 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20206 }
d14a1e28
RD
20207 return resultobj;
20208 fail:
20209 return NULL;
20210}
20211
20212
c32bde28 20213static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20214 PyObject *resultobj;
20215 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20216 wxPoint result;
20217 PyObject * obj0 = 0 ;
20218 char *kwnames[] = {
20219 (char *) "self", NULL
20220 };
20221
20222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
15afbcd0
RD
20223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20225 {
20226 PyThreadState* __tstate = wxPyBeginAllowThreads();
20227 result = (arg1)->GetMarginTopLeft();
20228
20229 wxPyEndAllowThreads(__tstate);
20230 if (PyErr_Occurred()) SWIG_fail;
20231 }
20232 {
20233 wxPoint * resultptr;
20234 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 20235 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
20236 }
20237 return resultobj;
20238 fail:
20239 return NULL;
20240}
20241
20242
c32bde28 20243static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20244 PyObject *resultobj;
20245 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20246 wxPoint result;
20247 PyObject * obj0 = 0 ;
20248 char *kwnames[] = {
20249 (char *) "self", NULL
20250 };
20251
20252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
15afbcd0
RD
20253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20255 {
20256 PyThreadState* __tstate = wxPyBeginAllowThreads();
20257 result = (arg1)->GetMarginBottomRight();
20258
20259 wxPyEndAllowThreads(__tstate);
20260 if (PyErr_Occurred()) SWIG_fail;
20261 }
20262 {
20263 wxPoint * resultptr;
20264 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 20265 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
20266 }
20267 return resultobj;
20268 fail:
20269 return NULL;
20270}
20271
20272
c32bde28 20273static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20274 PyObject *resultobj;
20275 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20276 wxPoint result;
20277 PyObject * obj0 = 0 ;
20278 char *kwnames[] = {
20279 (char *) "self", NULL
20280 };
20281
20282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
15afbcd0
RD
20283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20285 {
20286 PyThreadState* __tstate = wxPyBeginAllowThreads();
20287 result = (arg1)->GetMinMarginTopLeft();
20288
20289 wxPyEndAllowThreads(__tstate);
20290 if (PyErr_Occurred()) SWIG_fail;
20291 }
20292 {
20293 wxPoint * resultptr;
20294 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 20295 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
20296 }
20297 return resultobj;
20298 fail:
20299 return NULL;
20300}
20301
20302
c32bde28 20303static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20304 PyObject *resultobj;
20305 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20306 wxPoint result;
20307 PyObject * obj0 = 0 ;
20308 char *kwnames[] = {
20309 (char *) "self", NULL
20310 };
20311
20312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
15afbcd0
RD
20313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20315 {
20316 PyThreadState* __tstate = wxPyBeginAllowThreads();
20317 result = (arg1)->GetMinMarginBottomRight();
20318
20319 wxPyEndAllowThreads(__tstate);
20320 if (PyErr_Occurred()) SWIG_fail;
20321 }
20322 {
20323 wxPoint * resultptr;
20324 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 20325 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
20326 }
20327 return resultobj;
20328 fail:
20329 return NULL;
20330}
20331
20332
c32bde28 20333static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20334 PyObject *resultobj;
20335 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20336 int result;
20337 PyObject * obj0 = 0 ;
20338 char *kwnames[] = {
20339 (char *) "self", NULL
20340 };
20341
20342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
15afbcd0
RD
20343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20345 {
20346 PyThreadState* __tstate = wxPyBeginAllowThreads();
20347 result = (int)(arg1)->GetPaperId();
20348
20349 wxPyEndAllowThreads(__tstate);
20350 if (PyErr_Occurred()) SWIG_fail;
20351 }
c32bde28 20352 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
20353 return resultobj;
20354 fail:
20355 return NULL;
20356}
20357
20358
c32bde28 20359static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20360 PyObject *resultobj;
20361 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20362 wxSize result;
20363 PyObject * obj0 = 0 ;
20364 char *kwnames[] = {
20365 (char *) "self", NULL
20366 };
20367
20368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
20369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20371 {
20372 PyThreadState* __tstate = wxPyBeginAllowThreads();
20373 result = (arg1)->GetPaperSize();
20374
20375 wxPyEndAllowThreads(__tstate);
20376 if (PyErr_Occurred()) SWIG_fail;
20377 }
20378 {
20379 wxSize * resultptr;
20380 resultptr = new wxSize((wxSize &) result);
15afbcd0 20381 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
20382 }
20383 return resultobj;
20384 fail:
20385 return NULL;
20386}
20387
20388
c32bde28 20389static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20390 PyObject *resultobj;
20391 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20392 wxPrintData *result;
20393 PyObject * obj0 = 0 ;
20394 char *kwnames[] = {
20395 (char *) "self", NULL
20396 };
20397
20398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
15afbcd0
RD
20399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20401 {
20402 PyThreadState* __tstate = wxPyBeginAllowThreads();
20403 {
20404 wxPrintData &_result_ref = (arg1)->GetPrintData();
20405 result = (wxPrintData *) &_result_ref;
20406 }
20407
20408 wxPyEndAllowThreads(__tstate);
20409 if (PyErr_Occurred()) SWIG_fail;
20410 }
15afbcd0 20411 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
d14a1e28
RD
20412 return resultobj;
20413 fail:
20414 return NULL;
20415}
20416
20417
c32bde28 20418static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20419 PyObject *resultobj;
20420 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20421 bool result;
20422 PyObject * obj0 = 0 ;
20423 char *kwnames[] = {
20424 (char *) "self", NULL
20425 };
20426
20427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
15afbcd0
RD
20428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20430 {
20431 PyThreadState* __tstate = wxPyBeginAllowThreads();
20432 result = (bool)(arg1)->Ok();
20433
20434 wxPyEndAllowThreads(__tstate);
20435 if (PyErr_Occurred()) SWIG_fail;
20436 }
4f89f6a3
RD
20437 {
20438 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20439 }
d14a1e28
RD
20440 return resultobj;
20441 fail:
20442 return NULL;
20443}
20444
20445
c32bde28 20446static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20447 PyObject *resultobj;
20448 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20449 bool arg2 ;
20450 PyObject * obj0 = 0 ;
20451 PyObject * obj1 = 0 ;
20452 char *kwnames[] = {
20453 (char *) "self",(char *) "flag", NULL
20454 };
20455
20456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 20459 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 20460 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20461 {
20462 PyThreadState* __tstate = wxPyBeginAllowThreads();
20463 (arg1)->SetDefaultInfo(arg2);
20464
20465 wxPyEndAllowThreads(__tstate);
20466 if (PyErr_Occurred()) SWIG_fail;
20467 }
20468 Py_INCREF(Py_None); resultobj = Py_None;
20469 return resultobj;
20470 fail:
20471 return NULL;
20472}
20473
20474
c32bde28 20475static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20476 PyObject *resultobj;
20477 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20478 bool arg2 ;
20479 PyObject * obj0 = 0 ;
20480 PyObject * obj1 = 0 ;
20481 char *kwnames[] = {
20482 (char *) "self",(char *) "flag", NULL
20483 };
20484
20485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 20488 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 20489 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20490 {
20491 PyThreadState* __tstate = wxPyBeginAllowThreads();
20492 (arg1)->SetDefaultMinMargins(arg2);
20493
20494 wxPyEndAllowThreads(__tstate);
20495 if (PyErr_Occurred()) SWIG_fail;
20496 }
20497 Py_INCREF(Py_None); resultobj = Py_None;
20498 return resultobj;
20499 fail:
20500 return NULL;
20501}
20502
20503
c32bde28 20504static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20505 PyObject *resultobj;
20506 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20507 wxPoint *arg2 = 0 ;
20508 wxPoint temp2 ;
20509 PyObject * obj0 = 0 ;
20510 PyObject * obj1 = 0 ;
20511 char *kwnames[] = {
20512 (char *) "self",(char *) "pt", NULL
20513 };
20514
20515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20518 {
20519 arg2 = &temp2;
20520 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20521 }
20522 {
20523 PyThreadState* __tstate = wxPyBeginAllowThreads();
20524 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
20525
20526 wxPyEndAllowThreads(__tstate);
20527 if (PyErr_Occurred()) SWIG_fail;
20528 }
20529 Py_INCREF(Py_None); resultobj = Py_None;
20530 return resultobj;
20531 fail:
20532 return NULL;
20533}
20534
20535
c32bde28 20536static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20537 PyObject *resultobj;
20538 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20539 wxPoint *arg2 = 0 ;
20540 wxPoint temp2 ;
20541 PyObject * obj0 = 0 ;
20542 PyObject * obj1 = 0 ;
20543 char *kwnames[] = {
20544 (char *) "self",(char *) "pt", NULL
20545 };
20546
20547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20550 {
20551 arg2 = &temp2;
20552 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20553 }
20554 {
20555 PyThreadState* __tstate = wxPyBeginAllowThreads();
20556 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
20557
20558 wxPyEndAllowThreads(__tstate);
20559 if (PyErr_Occurred()) SWIG_fail;
20560 }
20561 Py_INCREF(Py_None); resultobj = Py_None;
20562 return resultobj;
20563 fail:
20564 return NULL;
20565}
20566
20567
c32bde28 20568static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20569 PyObject *resultobj;
20570 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20571 wxPoint *arg2 = 0 ;
20572 wxPoint temp2 ;
20573 PyObject * obj0 = 0 ;
20574 PyObject * obj1 = 0 ;
20575 char *kwnames[] = {
20576 (char *) "self",(char *) "pt", NULL
20577 };
20578
20579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20582 {
20583 arg2 = &temp2;
20584 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20585 }
20586 {
20587 PyThreadState* __tstate = wxPyBeginAllowThreads();
20588 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
20589
20590 wxPyEndAllowThreads(__tstate);
20591 if (PyErr_Occurred()) SWIG_fail;
20592 }
20593 Py_INCREF(Py_None); resultobj = Py_None;
20594 return resultobj;
20595 fail:
20596 return NULL;
20597}
20598
20599
c32bde28 20600static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20601 PyObject *resultobj;
20602 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20603 wxPoint *arg2 = 0 ;
20604 wxPoint temp2 ;
20605 PyObject * obj0 = 0 ;
20606 PyObject * obj1 = 0 ;
20607 char *kwnames[] = {
20608 (char *) "self",(char *) "pt", NULL
20609 };
20610
20611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20614 {
20615 arg2 = &temp2;
20616 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20617 }
20618 {
20619 PyThreadState* __tstate = wxPyBeginAllowThreads();
20620 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
20621
20622 wxPyEndAllowThreads(__tstate);
20623 if (PyErr_Occurred()) SWIG_fail;
20624 }
20625 Py_INCREF(Py_None); resultobj = Py_None;
20626 return resultobj;
20627 fail:
20628 return NULL;
20629}
20630
20631
c32bde28 20632static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20633 PyObject *resultobj;
20634 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20635 int arg2 ;
20636 PyObject * obj0 = 0 ;
994141e6 20637 PyObject * obj1 = 0 ;
d14a1e28
RD
20638 char *kwnames[] = {
20639 (char *) "self",(char *) "id", NULL
20640 };
20641
994141e6 20642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 20645 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 20646 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20647 {
20648 PyThreadState* __tstate = wxPyBeginAllowThreads();
20649 (arg1)->SetPaperId((wxPaperSize )arg2);
20650
20651 wxPyEndAllowThreads(__tstate);
20652 if (PyErr_Occurred()) SWIG_fail;
20653 }
20654 Py_INCREF(Py_None); resultobj = Py_None;
20655 return resultobj;
20656 fail:
20657 return NULL;
20658}
20659
20660
c32bde28 20661static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20662 PyObject *resultobj;
20663 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20664 wxSize *arg2 = 0 ;
20665 wxSize temp2 ;
20666 PyObject * obj0 = 0 ;
20667 PyObject * obj1 = 0 ;
20668 char *kwnames[] = {
20669 (char *) "self",(char *) "size", NULL
20670 };
20671
20672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20675 {
20676 arg2 = &temp2;
20677 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20678 }
20679 {
20680 PyThreadState* __tstate = wxPyBeginAllowThreads();
20681 (arg1)->SetPaperSize((wxSize const &)*arg2);
20682
20683 wxPyEndAllowThreads(__tstate);
20684 if (PyErr_Occurred()) SWIG_fail;
20685 }
20686 Py_INCREF(Py_None); resultobj = Py_None;
20687 return resultobj;
20688 fail:
20689 return NULL;
20690}
20691
20692
c32bde28 20693static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20694 PyObject *resultobj;
20695 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20696 wxPrintData *arg2 = 0 ;
20697 PyObject * obj0 = 0 ;
20698 PyObject * obj1 = 0 ;
20699 char *kwnames[] = {
20700 (char *) "self",(char *) "printData", NULL
20701 };
20702
20703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20706 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
20707 SWIG_POINTER_EXCEPTION | 0)) == -1)
20708 SWIG_fail;
d14a1e28 20709 if (arg2 == NULL) {
15afbcd0
RD
20710 PyErr_SetString(PyExc_TypeError,"null reference");
20711 SWIG_fail;
d14a1e28
RD
20712 }
20713 {
20714 PyThreadState* __tstate = wxPyBeginAllowThreads();
20715 (arg1)->SetPrintData((wxPrintData const &)*arg2);
20716
20717 wxPyEndAllowThreads(__tstate);
20718 if (PyErr_Occurred()) SWIG_fail;
20719 }
20720 Py_INCREF(Py_None); resultobj = Py_None;
20721 return resultobj;
20722 fail:
20723 return NULL;
20724}
20725
20726
c32bde28 20727static PyObject * PageSetupDialogData_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
20728 PyObject *obj;
20729 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20730 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
20731 Py_INCREF(obj);
20732 return Py_BuildValue((char *)"");
20733}
c32bde28 20734static PyObject *_wrap_new_PageSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20735 PyObject *resultobj;
20736 wxWindow *arg1 = (wxWindow *) 0 ;
20737 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
20738 wxPageSetupDialog *result;
20739 PyObject * obj0 = 0 ;
20740 PyObject * obj1 = 0 ;
20741 char *kwnames[] = {
20742 (char *) "parent",(char *) "data", NULL
20743 };
20744
20745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
20747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 20748 if (obj1) {
15afbcd0
RD
20749 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPageSetupDialogData,
20750 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20751 }
20752 {
e3b71cb8 20753 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
20754 PyThreadState* __tstate = wxPyBeginAllowThreads();
20755 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
20756
20757 wxPyEndAllowThreads(__tstate);
110da5b0 20758 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 20759 }
15afbcd0 20760 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
d14a1e28
RD
20761 return resultobj;
20762 fail:
20763 return NULL;
20764}
20765
20766
c32bde28 20767static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20768 PyObject *resultobj;
20769 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
20770 wxPageSetupDialogData *result;
20771 PyObject * obj0 = 0 ;
20772 char *kwnames[] = {
20773 (char *) "self", NULL
20774 };
20775
20776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
15afbcd0
RD
20777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
20778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20779 {
20780 PyThreadState* __tstate = wxPyBeginAllowThreads();
20781 {
20782 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
20783 result = (wxPageSetupDialogData *) &_result_ref;
20784 }
20785
20786 wxPyEndAllowThreads(__tstate);
20787 if (PyErr_Occurred()) SWIG_fail;
20788 }
15afbcd0 20789 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
d14a1e28
RD
20790 return resultobj;
20791 fail:
20792 return NULL;
20793}
20794
20795
c32bde28 20796static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20797 PyObject *resultobj;
20798 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
20799 int result;
20800 PyObject * obj0 = 0 ;
20801 char *kwnames[] = {
20802 (char *) "self", NULL
20803 };
20804
20805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
15afbcd0
RD
20806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
20807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20808 {
20809 PyThreadState* __tstate = wxPyBeginAllowThreads();
20810 result = (int)(arg1)->ShowModal();
20811
20812 wxPyEndAllowThreads(__tstate);
20813 if (PyErr_Occurred()) SWIG_fail;
20814 }
c32bde28 20815 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
20816 return resultobj;
20817 fail:
20818 return NULL;
20819}
20820
20821
c32bde28 20822static PyObject * PageSetupDialog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
20823 PyObject *obj;
20824 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20825 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
20826 Py_INCREF(obj);
20827 return Py_BuildValue((char *)"");
20828}
c32bde28 20829static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
20830 PyObject *resultobj;
20831 wxPrintDialogData *result;
d14a1e28 20832
4276dc52 20833 if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail;
d14a1e28
RD
20834 {
20835 PyThreadState* __tstate = wxPyBeginAllowThreads();
20836 result = (wxPrintDialogData *)new wxPrintDialogData();
20837
20838 wxPyEndAllowThreads(__tstate);
20839 if (PyErr_Occurred()) SWIG_fail;
20840 }
15afbcd0 20841 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
d14a1e28
RD
20842 return resultobj;
20843 fail:
20844 return NULL;
20845}
20846
20847
c32bde28 20848static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *, PyObject *args) {
4276dc52
RD
20849 PyObject *resultobj;
20850 wxPrintData *arg1 = 0 ;
20851 wxPrintDialogData *result;
20852 PyObject * obj0 = 0 ;
20853
20854 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
20855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
20856 SWIG_POINTER_EXCEPTION | 0)) == -1)
20857 SWIG_fail;
20858 if (arg1 == NULL) {
20859 PyErr_SetString(PyExc_TypeError,"null reference");
20860 SWIG_fail;
20861 }
20862 {
20863 PyThreadState* __tstate = wxPyBeginAllowThreads();
20864 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
20865
20866 wxPyEndAllowThreads(__tstate);
20867 if (PyErr_Occurred()) SWIG_fail;
20868 }
20869 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
20870 return resultobj;
20871 fail:
20872 return NULL;
20873}
20874
20875
20876static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
20877 int argc;
20878 PyObject *argv[2];
20879 int ii;
20880
20881 argc = PyObject_Length(args);
20882 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
20883 argv[ii] = PyTuple_GetItem(args,ii);
20884 }
20885 if (argc == 0) {
20886 return _wrap_new_PrintDialogData__SWIG_0(self,args);
20887 }
20888 if (argc == 1) {
20889 int _v;
20890 {
20891 void *ptr;
20892 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
20893 _v = 0;
20894 PyErr_Clear();
20895 } else {
20896 _v = 1;
20897 }
20898 }
20899 if (_v) {
20900 return _wrap_new_PrintDialogData__SWIG_1(self,args);
20901 }
20902 }
20903
20904 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintDialogData'");
20905 return NULL;
20906}
20907
20908
c32bde28 20909static PyObject *_wrap_delete_PrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20910 PyObject *resultobj;
20911 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20912 PyObject * obj0 = 0 ;
20913 char *kwnames[] = {
20914 (char *) "self", NULL
20915 };
20916
20917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
15afbcd0
RD
20918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20920 {
20921 PyThreadState* __tstate = wxPyBeginAllowThreads();
20922 delete arg1;
20923
20924 wxPyEndAllowThreads(__tstate);
20925 if (PyErr_Occurred()) SWIG_fail;
20926 }
20927 Py_INCREF(Py_None); resultobj = Py_None;
20928 return resultobj;
20929 fail:
20930 return NULL;
20931}
20932
20933
c32bde28 20934static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20935 PyObject *resultobj;
20936 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20937 int result;
20938 PyObject * obj0 = 0 ;
20939 char *kwnames[] = {
20940 (char *) "self", NULL
20941 };
20942
20943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",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 = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
20949
20950 wxPyEndAllowThreads(__tstate);
20951 if (PyErr_Occurred()) SWIG_fail;
20952 }
c32bde28 20953 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
20954 return resultobj;
20955 fail:
20956 return NULL;
20957}
20958
20959
c32bde28 20960static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20961 PyObject *resultobj;
20962 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20963 int result;
20964 PyObject * obj0 = 0 ;
20965 char *kwnames[] = {
20966 (char *) "self", NULL
20967 };
20968
20969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
15afbcd0
RD
20970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20972 {
20973 PyThreadState* __tstate = wxPyBeginAllowThreads();
20974 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
20975
20976 wxPyEndAllowThreads(__tstate);
20977 if (PyErr_Occurred()) SWIG_fail;
20978 }
c32bde28 20979 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
20980 return resultobj;
20981 fail:
20982 return NULL;
20983}
20984
20985
c32bde28 20986static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20987 PyObject *resultobj;
20988 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20989 int result;
20990 PyObject * obj0 = 0 ;
20991 char *kwnames[] = {
20992 (char *) "self", NULL
20993 };
20994
20995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
15afbcd0
RD
20996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20998 {
20999 PyThreadState* __tstate = wxPyBeginAllowThreads();
21000 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
21001
21002 wxPyEndAllowThreads(__tstate);
21003 if (PyErr_Occurred()) SWIG_fail;
21004 }
c32bde28 21005 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
21006 return resultobj;
21007 fail:
21008 return NULL;
21009}
21010
21011
c32bde28 21012static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21013 PyObject *resultobj;
21014 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21015 int result;
21016 PyObject * obj0 = 0 ;
21017 char *kwnames[] = {
21018 (char *) "self", NULL
21019 };
21020
21021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
15afbcd0
RD
21022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21024 {
21025 PyThreadState* __tstate = wxPyBeginAllowThreads();
21026 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
21027
21028 wxPyEndAllowThreads(__tstate);
21029 if (PyErr_Occurred()) SWIG_fail;
21030 }
c32bde28 21031 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
21032 return resultobj;
21033 fail:
21034 return NULL;
21035}
21036
21037
c32bde28 21038static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21039 PyObject *resultobj;
21040 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21041 int result;
21042 PyObject * obj0 = 0 ;
21043 char *kwnames[] = {
21044 (char *) "self", NULL
21045 };
21046
21047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
15afbcd0
RD
21048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21050 {
21051 PyThreadState* __tstate = wxPyBeginAllowThreads();
21052 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
21053
21054 wxPyEndAllowThreads(__tstate);
21055 if (PyErr_Occurred()) SWIG_fail;
21056 }
c32bde28 21057 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
21058 return resultobj;
21059 fail:
21060 return NULL;
21061}
21062
21063
c32bde28 21064static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21065 PyObject *resultobj;
21066 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21067 bool result;
21068 PyObject * obj0 = 0 ;
21069 char *kwnames[] = {
21070 (char *) "self", NULL
21071 };
21072
21073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
15afbcd0
RD
21074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21076 {
21077 PyThreadState* __tstate = wxPyBeginAllowThreads();
21078 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
21079
21080 wxPyEndAllowThreads(__tstate);
21081 if (PyErr_Occurred()) SWIG_fail;
21082 }
4f89f6a3
RD
21083 {
21084 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21085 }
d14a1e28
RD
21086 return resultobj;
21087 fail:
21088 return NULL;
21089}
21090
21091
c32bde28 21092static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21093 PyObject *resultobj;
21094 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21095 bool result;
21096 PyObject * obj0 = 0 ;
21097 char *kwnames[] = {
21098 (char *) "self", NULL
21099 };
21100
21101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
21102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21104 {
21105 PyThreadState* __tstate = wxPyBeginAllowThreads();
21106 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
21107
21108 wxPyEndAllowThreads(__tstate);
21109 if (PyErr_Occurred()) SWIG_fail;
21110 }
4f89f6a3
RD
21111 {
21112 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21113 }
d14a1e28
RD
21114 return resultobj;
21115 fail:
21116 return NULL;
21117}
21118
21119
c32bde28 21120static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21121 PyObject *resultobj;
21122 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21123 bool result;
21124 PyObject * obj0 = 0 ;
21125 char *kwnames[] = {
21126 (char *) "self", NULL
21127 };
21128
21129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
15afbcd0
RD
21130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21132 {
21133 PyThreadState* __tstate = wxPyBeginAllowThreads();
21134 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
21135
21136 wxPyEndAllowThreads(__tstate);
21137 if (PyErr_Occurred()) SWIG_fail;
21138 }
4f89f6a3
RD
21139 {
21140 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21141 }
d14a1e28
RD
21142 return resultobj;
21143 fail:
21144 return NULL;
21145}
21146
21147
c32bde28 21148static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21149 PyObject *resultobj;
21150 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21151 bool result;
21152 PyObject * obj0 = 0 ;
21153 char *kwnames[] = {
21154 (char *) "self", NULL
21155 };
21156
21157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
15afbcd0
RD
21158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21160 {
21161 PyThreadState* __tstate = wxPyBeginAllowThreads();
21162 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
21163
21164 wxPyEndAllowThreads(__tstate);
21165 if (PyErr_Occurred()) SWIG_fail;
21166 }
4f89f6a3
RD
21167 {
21168 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21169 }
d14a1e28
RD
21170 return resultobj;
21171 fail:
21172 return NULL;
21173}
21174
21175
c32bde28 21176static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21177 PyObject *resultobj;
21178 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21179 bool result;
21180 PyObject * obj0 = 0 ;
21181 char *kwnames[] = {
21182 (char *) "self", NULL
21183 };
21184
21185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
15afbcd0
RD
21186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21188 {
21189 PyThreadState* __tstate = wxPyBeginAllowThreads();
21190 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
21191
21192 wxPyEndAllowThreads(__tstate);
21193 if (PyErr_Occurred()) SWIG_fail;
21194 }
4f89f6a3
RD
21195 {
21196 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21197 }
d14a1e28
RD
21198 return resultobj;
21199 fail:
21200 return NULL;
21201}
21202
21203
c32bde28 21204static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21205 PyObject *resultobj;
21206 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21207 int arg2 ;
21208 PyObject * obj0 = 0 ;
994141e6 21209 PyObject * obj1 = 0 ;
d14a1e28
RD
21210 char *kwnames[] = {
21211 (char *) "self",(char *) "v", NULL
21212 };
21213
994141e6 21214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21217 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 21218 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21219 {
21220 PyThreadState* __tstate = wxPyBeginAllowThreads();
21221 (arg1)->SetFromPage(arg2);
21222
21223 wxPyEndAllowThreads(__tstate);
21224 if (PyErr_Occurred()) SWIG_fail;
21225 }
21226 Py_INCREF(Py_None); resultobj = Py_None;
21227 return resultobj;
21228 fail:
21229 return NULL;
21230}
21231
21232
c32bde28 21233static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21234 PyObject *resultobj;
21235 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21236 int arg2 ;
21237 PyObject * obj0 = 0 ;
994141e6 21238 PyObject * obj1 = 0 ;
d14a1e28
RD
21239 char *kwnames[] = {
21240 (char *) "self",(char *) "v", NULL
21241 };
21242
994141e6 21243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21246 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 21247 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21248 {
21249 PyThreadState* __tstate = wxPyBeginAllowThreads();
21250 (arg1)->SetToPage(arg2);
21251
21252 wxPyEndAllowThreads(__tstate);
21253 if (PyErr_Occurred()) SWIG_fail;
21254 }
21255 Py_INCREF(Py_None); resultobj = Py_None;
21256 return resultobj;
21257 fail:
21258 return NULL;
21259}
21260
21261
c32bde28 21262static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21263 PyObject *resultobj;
21264 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21265 int arg2 ;
21266 PyObject * obj0 = 0 ;
994141e6 21267 PyObject * obj1 = 0 ;
d14a1e28
RD
21268 char *kwnames[] = {
21269 (char *) "self",(char *) "v", NULL
21270 };
21271
994141e6 21272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21275 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 21276 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21277 {
21278 PyThreadState* __tstate = wxPyBeginAllowThreads();
21279 (arg1)->SetMinPage(arg2);
21280
21281 wxPyEndAllowThreads(__tstate);
21282 if (PyErr_Occurred()) SWIG_fail;
21283 }
21284 Py_INCREF(Py_None); resultobj = Py_None;
21285 return resultobj;
21286 fail:
21287 return NULL;
21288}
21289
21290
c32bde28 21291static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21292 PyObject *resultobj;
21293 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21294 int arg2 ;
21295 PyObject * obj0 = 0 ;
994141e6 21296 PyObject * obj1 = 0 ;
d14a1e28
RD
21297 char *kwnames[] = {
21298 (char *) "self",(char *) "v", NULL
21299 };
21300
994141e6 21301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21304 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 21305 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21306 {
21307 PyThreadState* __tstate = wxPyBeginAllowThreads();
21308 (arg1)->SetMaxPage(arg2);
21309
21310 wxPyEndAllowThreads(__tstate);
21311 if (PyErr_Occurred()) SWIG_fail;
21312 }
21313 Py_INCREF(Py_None); resultobj = Py_None;
21314 return resultobj;
21315 fail:
21316 return NULL;
21317}
21318
21319
c32bde28 21320static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21321 PyObject *resultobj;
21322 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21323 int arg2 ;
21324 PyObject * obj0 = 0 ;
994141e6 21325 PyObject * obj1 = 0 ;
d14a1e28
RD
21326 char *kwnames[] = {
21327 (char *) "self",(char *) "v", NULL
21328 };
21329
994141e6 21330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21333 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 21334 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21335 {
21336 PyThreadState* __tstate = wxPyBeginAllowThreads();
21337 (arg1)->SetNoCopies(arg2);
21338
21339 wxPyEndAllowThreads(__tstate);
21340 if (PyErr_Occurred()) SWIG_fail;
21341 }
21342 Py_INCREF(Py_None); resultobj = Py_None;
21343 return resultobj;
21344 fail:
21345 return NULL;
21346}
21347
21348
c32bde28 21349static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21350 PyObject *resultobj;
21351 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21352 bool arg2 ;
21353 PyObject * obj0 = 0 ;
21354 PyObject * obj1 = 0 ;
21355 char *kwnames[] = {
21356 (char *) "self",(char *) "flag", NULL
21357 };
21358
21359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21362 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 21363 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21364 {
21365 PyThreadState* __tstate = wxPyBeginAllowThreads();
21366 (arg1)->SetAllPages(arg2);
21367
21368 wxPyEndAllowThreads(__tstate);
21369 if (PyErr_Occurred()) SWIG_fail;
21370 }
21371 Py_INCREF(Py_None); resultobj = Py_None;
21372 return resultobj;
21373 fail:
21374 return NULL;
21375}
21376
21377
c32bde28 21378static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21379 PyObject *resultobj;
21380 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21381 bool arg2 ;
21382 PyObject * obj0 = 0 ;
21383 PyObject * obj1 = 0 ;
21384 char *kwnames[] = {
21385 (char *) "self",(char *) "flag", NULL
21386 };
21387
21388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21391 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 21392 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21393 {
21394 PyThreadState* __tstate = wxPyBeginAllowThreads();
21395 (arg1)->SetSelection(arg2);
21396
21397 wxPyEndAllowThreads(__tstate);
21398 if (PyErr_Occurred()) SWIG_fail;
21399 }
21400 Py_INCREF(Py_None); resultobj = Py_None;
21401 return resultobj;
21402 fail:
21403 return NULL;
21404}
21405
21406
c32bde28 21407static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21408 PyObject *resultobj;
21409 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21410 bool arg2 ;
21411 PyObject * obj0 = 0 ;
21412 PyObject * obj1 = 0 ;
21413 char *kwnames[] = {
21414 (char *) "self",(char *) "flag", NULL
21415 };
21416
21417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21420 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 21421 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21422 {
21423 PyThreadState* __tstate = wxPyBeginAllowThreads();
21424 (arg1)->SetCollate(arg2);
21425
21426 wxPyEndAllowThreads(__tstate);
21427 if (PyErr_Occurred()) SWIG_fail;
21428 }
21429 Py_INCREF(Py_None); resultobj = Py_None;
21430 return resultobj;
21431 fail:
21432 return NULL;
21433}
21434
21435
c32bde28 21436static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21437 PyObject *resultobj;
21438 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21439 bool arg2 ;
21440 PyObject * obj0 = 0 ;
21441 PyObject * obj1 = 0 ;
21442 char *kwnames[] = {
21443 (char *) "self",(char *) "flag", NULL
21444 };
21445
21446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21449 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 21450 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21451 {
21452 PyThreadState* __tstate = wxPyBeginAllowThreads();
21453 (arg1)->SetPrintToFile(arg2);
21454
21455 wxPyEndAllowThreads(__tstate);
21456 if (PyErr_Occurred()) SWIG_fail;
21457 }
21458 Py_INCREF(Py_None); resultobj = Py_None;
21459 return resultobj;
21460 fail:
21461 return NULL;
21462}
21463
21464
c32bde28 21465static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21466 PyObject *resultobj;
21467 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21468 bool arg2 ;
21469 PyObject * obj0 = 0 ;
21470 PyObject * obj1 = 0 ;
21471 char *kwnames[] = {
21472 (char *) "self",(char *) "flag", NULL
21473 };
21474
21475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21478 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 21479 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21480 {
21481 PyThreadState* __tstate = wxPyBeginAllowThreads();
21482 (arg1)->SetSetupDialog(arg2);
21483
21484 wxPyEndAllowThreads(__tstate);
21485 if (PyErr_Occurred()) SWIG_fail;
21486 }
21487 Py_INCREF(Py_None); resultobj = Py_None;
21488 return resultobj;
21489 fail:
21490 return NULL;
21491}
21492
21493
c32bde28 21494static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21495 PyObject *resultobj;
21496 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21497 bool arg2 ;
21498 PyObject * obj0 = 0 ;
21499 PyObject * obj1 = 0 ;
21500 char *kwnames[] = {
21501 (char *) "self",(char *) "flag", NULL
21502 };
21503
21504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21507 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 21508 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21509 {
21510 PyThreadState* __tstate = wxPyBeginAllowThreads();
21511 (arg1)->EnablePrintToFile(arg2);
21512
21513 wxPyEndAllowThreads(__tstate);
21514 if (PyErr_Occurred()) SWIG_fail;
21515 }
21516 Py_INCREF(Py_None); resultobj = Py_None;
21517 return resultobj;
21518 fail:
21519 return NULL;
21520}
21521
21522
c32bde28 21523static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21524 PyObject *resultobj;
21525 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21526 bool arg2 ;
21527 PyObject * obj0 = 0 ;
21528 PyObject * obj1 = 0 ;
21529 char *kwnames[] = {
21530 (char *) "self",(char *) "flag", NULL
21531 };
21532
21533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21536 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 21537 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21538 {
21539 PyThreadState* __tstate = wxPyBeginAllowThreads();
21540 (arg1)->EnableSelection(arg2);
21541
21542 wxPyEndAllowThreads(__tstate);
21543 if (PyErr_Occurred()) SWIG_fail;
21544 }
21545 Py_INCREF(Py_None); resultobj = Py_None;
21546 return resultobj;
21547 fail:
21548 return NULL;
21549}
21550
21551
c32bde28 21552static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21553 PyObject *resultobj;
21554 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21555 bool arg2 ;
21556 PyObject * obj0 = 0 ;
21557 PyObject * obj1 = 0 ;
21558 char *kwnames[] = {
21559 (char *) "self",(char *) "flag", NULL
21560 };
21561
21562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21565 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 21566 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21567 {
21568 PyThreadState* __tstate = wxPyBeginAllowThreads();
21569 (arg1)->EnablePageNumbers(arg2);
21570
21571 wxPyEndAllowThreads(__tstate);
21572 if (PyErr_Occurred()) SWIG_fail;
21573 }
21574 Py_INCREF(Py_None); resultobj = Py_None;
21575 return resultobj;
21576 fail:
21577 return NULL;
21578}
21579
21580
c32bde28 21581static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21582 PyObject *resultobj;
21583 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21584 bool arg2 ;
21585 PyObject * obj0 = 0 ;
21586 PyObject * obj1 = 0 ;
21587 char *kwnames[] = {
21588 (char *) "self",(char *) "flag", NULL
21589 };
21590
21591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21594 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 21595 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21596 {
21597 PyThreadState* __tstate = wxPyBeginAllowThreads();
21598 (arg1)->EnableHelp(arg2);
21599
21600 wxPyEndAllowThreads(__tstate);
21601 if (PyErr_Occurred()) SWIG_fail;
21602 }
21603 Py_INCREF(Py_None); resultobj = Py_None;
21604 return resultobj;
21605 fail:
21606 return NULL;
21607}
21608
21609
c32bde28 21610static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21611 PyObject *resultobj;
21612 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21613 bool result;
21614 PyObject * obj0 = 0 ;
21615 char *kwnames[] = {
21616 (char *) "self", NULL
21617 };
21618
21619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
15afbcd0
RD
21620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21622 {
21623 PyThreadState* __tstate = wxPyBeginAllowThreads();
21624 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
21625
21626 wxPyEndAllowThreads(__tstate);
21627 if (PyErr_Occurred()) SWIG_fail;
21628 }
4f89f6a3
RD
21629 {
21630 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21631 }
d14a1e28
RD
21632 return resultobj;
21633 fail:
21634 return NULL;
21635}
21636
21637
c32bde28 21638static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21639 PyObject *resultobj;
21640 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21641 bool result;
21642 PyObject * obj0 = 0 ;
21643 char *kwnames[] = {
21644 (char *) "self", NULL
21645 };
21646
21647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
21648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21650 {
21651 PyThreadState* __tstate = wxPyBeginAllowThreads();
21652 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
21653
21654 wxPyEndAllowThreads(__tstate);
21655 if (PyErr_Occurred()) SWIG_fail;
21656 }
4f89f6a3
RD
21657 {
21658 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21659 }
d14a1e28
RD
21660 return resultobj;
21661 fail:
21662 return NULL;
21663}
21664
21665
c32bde28 21666static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21667 PyObject *resultobj;
21668 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21669 bool result;
21670 PyObject * obj0 = 0 ;
21671 char *kwnames[] = {
21672 (char *) "self", NULL
21673 };
21674
21675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
15afbcd0
RD
21676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21678 {
21679 PyThreadState* __tstate = wxPyBeginAllowThreads();
21680 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
21681
21682 wxPyEndAllowThreads(__tstate);
21683 if (PyErr_Occurred()) SWIG_fail;
21684 }
4f89f6a3
RD
21685 {
21686 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21687 }
d14a1e28
RD
21688 return resultobj;
21689 fail:
21690 return NULL;
21691}
21692
21693
c32bde28 21694static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21695 PyObject *resultobj;
21696 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21697 bool result;
21698 PyObject * obj0 = 0 ;
21699 char *kwnames[] = {
21700 (char *) "self", NULL
21701 };
21702
21703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
15afbcd0
RD
21704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21706 {
21707 PyThreadState* __tstate = wxPyBeginAllowThreads();
21708 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
21709
21710 wxPyEndAllowThreads(__tstate);
21711 if (PyErr_Occurred()) SWIG_fail;
21712 }
4f89f6a3
RD
21713 {
21714 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21715 }
d14a1e28
RD
21716 return resultobj;
21717 fail:
21718 return NULL;
21719}
21720
21721
c32bde28 21722static PyObject *_wrap_PrintDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21723 PyObject *resultobj;
21724 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21725 bool result;
21726 PyObject * obj0 = 0 ;
21727 char *kwnames[] = {
21728 (char *) "self", NULL
21729 };
21730
21731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
15afbcd0
RD
21732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21734 {
21735 PyThreadState* __tstate = wxPyBeginAllowThreads();
21736 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
21737
21738 wxPyEndAllowThreads(__tstate);
21739 if (PyErr_Occurred()) SWIG_fail;
21740 }
4f89f6a3
RD
21741 {
21742 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21743 }
d14a1e28
RD
21744 return resultobj;
21745 fail:
21746 return NULL;
21747}
21748
21749
c32bde28 21750static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21751 PyObject *resultobj;
21752 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21753 wxPrintData *result;
21754 PyObject * obj0 = 0 ;
21755 char *kwnames[] = {
21756 (char *) "self", NULL
21757 };
21758
21759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
15afbcd0
RD
21760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21762 {
21763 PyThreadState* __tstate = wxPyBeginAllowThreads();
21764 {
21765 wxPrintData &_result_ref = (arg1)->GetPrintData();
21766 result = (wxPrintData *) &_result_ref;
21767 }
21768
21769 wxPyEndAllowThreads(__tstate);
21770 if (PyErr_Occurred()) SWIG_fail;
21771 }
15afbcd0 21772 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
d14a1e28
RD
21773 return resultobj;
21774 fail:
21775 return NULL;
21776}
21777
21778
c32bde28 21779static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21780 PyObject *resultobj;
21781 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21782 wxPrintData *arg2 = 0 ;
21783 PyObject * obj0 = 0 ;
21784 PyObject * obj1 = 0 ;
21785 char *kwnames[] = {
21786 (char *) "self",(char *) "printData", NULL
21787 };
21788
21789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21792 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
21793 SWIG_POINTER_EXCEPTION | 0)) == -1)
21794 SWIG_fail;
d14a1e28 21795 if (arg2 == NULL) {
15afbcd0
RD
21796 PyErr_SetString(PyExc_TypeError,"null reference");
21797 SWIG_fail;
d14a1e28
RD
21798 }
21799 {
21800 PyThreadState* __tstate = wxPyBeginAllowThreads();
21801 (arg1)->SetPrintData((wxPrintData const &)*arg2);
21802
21803 wxPyEndAllowThreads(__tstate);
21804 if (PyErr_Occurred()) SWIG_fail;
21805 }
21806 Py_INCREF(Py_None); resultobj = Py_None;
21807 return resultobj;
21808 fail:
21809 return NULL;
21810}
21811
21812
c32bde28 21813static PyObject * PrintDialogData_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
21814 PyObject *obj;
21815 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21816 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
21817 Py_INCREF(obj);
21818 return Py_BuildValue((char *)"");
21819}
c32bde28 21820static PyObject *_wrap_new_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21821 PyObject *resultobj;
21822 wxWindow *arg1 = (wxWindow *) 0 ;
21823 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
21824 wxPrintDialog *result;
21825 PyObject * obj0 = 0 ;
21826 PyObject * obj1 = 0 ;
21827 char *kwnames[] = {
21828 (char *) "parent",(char *) "data", NULL
21829 };
21830
21831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 21834 if (obj1) {
15afbcd0
RD
21835 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintDialogData,
21836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21837 }
21838 {
e3b71cb8 21839 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
21840 PyThreadState* __tstate = wxPyBeginAllowThreads();
21841 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
21842
21843 wxPyEndAllowThreads(__tstate);
110da5b0 21844 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 21845 }
15afbcd0 21846 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
d14a1e28
RD
21847 return resultobj;
21848 fail:
21849 return NULL;
21850}
21851
21852
c32bde28 21853static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21854 PyObject *resultobj;
21855 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21856 wxPrintDialogData *result;
21857 PyObject * obj0 = 0 ;
21858 char *kwnames[] = {
21859 (char *) "self", NULL
21860 };
21861
21862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
15afbcd0
RD
21863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21865 {
21866 PyThreadState* __tstate = wxPyBeginAllowThreads();
21867 {
21868 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
21869 result = (wxPrintDialogData *) &_result_ref;
21870 }
21871
21872 wxPyEndAllowThreads(__tstate);
21873 if (PyErr_Occurred()) SWIG_fail;
21874 }
15afbcd0 21875 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
d14a1e28
RD
21876 return resultobj;
21877 fail:
21878 return NULL;
21879}
21880
21881
c32bde28 21882static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21883 PyObject *resultobj;
21884 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21885 wxDC *result;
21886 PyObject * obj0 = 0 ;
21887 char *kwnames[] = {
21888 (char *) "self", NULL
21889 };
21890
21891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
15afbcd0
RD
21892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21894 {
21895 PyThreadState* __tstate = wxPyBeginAllowThreads();
21896 result = (wxDC *)(arg1)->GetPrintDC();
21897
21898 wxPyEndAllowThreads(__tstate);
21899 if (PyErr_Occurred()) SWIG_fail;
21900 }
21901 {
412d302d 21902 resultobj = wxPyMake_wxObject(result, 1);
d14a1e28
RD
21903 }
21904 return resultobj;
21905 fail:
21906 return NULL;
21907}
21908
21909
c32bde28 21910static PyObject *_wrap_PrintDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21911 PyObject *resultobj;
21912 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21913 int result;
21914 PyObject * obj0 = 0 ;
21915 char *kwnames[] = {
21916 (char *) "self", NULL
21917 };
21918
21919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
15afbcd0
RD
21920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21922 {
21923 PyThreadState* __tstate = wxPyBeginAllowThreads();
21924 result = (int)(arg1)->ShowModal();
21925
21926 wxPyEndAllowThreads(__tstate);
21927 if (PyErr_Occurred()) SWIG_fail;
21928 }
c32bde28 21929 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
21930 return resultobj;
21931 fail:
21932 return NULL;
21933}
21934
21935
c32bde28 21936static PyObject * PrintDialog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
21937 PyObject *obj;
21938 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21939 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
21940 Py_INCREF(obj);
21941 return Py_BuildValue((char *)"");
21942}
c32bde28 21943static PyObject *_wrap_new_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21944 PyObject *resultobj;
21945 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
21946 wxPrinter *result;
21947 PyObject * obj0 = 0 ;
21948 char *kwnames[] = {
21949 (char *) "data", NULL
21950 };
21951
21952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
21953 if (obj0) {
15afbcd0
RD
21954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21956 }
21957 {
e3b71cb8 21958 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
21959 PyThreadState* __tstate = wxPyBeginAllowThreads();
21960 result = (wxPrinter *)new wxPrinter(arg1);
21961
21962 wxPyEndAllowThreads(__tstate);
110da5b0 21963 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 21964 }
15afbcd0 21965 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
d14a1e28
RD
21966 return resultobj;
21967 fail:
21968 return NULL;
21969}
21970
21971
c32bde28 21972static PyObject *_wrap_delete_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21973 PyObject *resultobj;
21974 wxPrinter *arg1 = (wxPrinter *) 0 ;
21975 PyObject * obj0 = 0 ;
21976 char *kwnames[] = {
21977 (char *) "self", NULL
21978 };
21979
21980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
15afbcd0
RD
21981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21983 {
21984 PyThreadState* __tstate = wxPyBeginAllowThreads();
21985 delete arg1;
21986
21987 wxPyEndAllowThreads(__tstate);
21988 if (PyErr_Occurred()) SWIG_fail;
21989 }
21990 Py_INCREF(Py_None); resultobj = Py_None;
21991 return resultobj;
21992 fail:
21993 return NULL;
21994}
21995
21996
c32bde28 21997static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21998 PyObject *resultobj;
21999 wxPrinter *arg1 = (wxPrinter *) 0 ;
22000 wxWindow *arg2 = (wxWindow *) 0 ;
22001 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
22002 PyObject * obj0 = 0 ;
22003 PyObject * obj1 = 0 ;
22004 PyObject * obj2 = 0 ;
22005 char *kwnames[] = {
22006 (char *) "self",(char *) "parent",(char *) "printout", NULL
22007 };
22008
22009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22010 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22012 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22014 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
22015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22016 {
22017 PyThreadState* __tstate = wxPyBeginAllowThreads();
22018 (arg1)->CreateAbortWindow(arg2,arg3);
22019
22020 wxPyEndAllowThreads(__tstate);
22021 if (PyErr_Occurred()) SWIG_fail;
22022 }
22023 Py_INCREF(Py_None); resultobj = Py_None;
22024 return resultobj;
22025 fail:
22026 return NULL;
22027}
22028
22029
c32bde28 22030static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22031 PyObject *resultobj;
22032 wxPrinter *arg1 = (wxPrinter *) 0 ;
22033 wxPrintDialogData *result;
22034 PyObject * obj0 = 0 ;
22035 char *kwnames[] = {
22036 (char *) "self", NULL
22037 };
22038
22039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
15afbcd0
RD
22040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22042 {
22043 PyThreadState* __tstate = wxPyBeginAllowThreads();
22044 {
22045 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
22046 result = (wxPrintDialogData *) &_result_ref;
22047 }
22048
22049 wxPyEndAllowThreads(__tstate);
22050 if (PyErr_Occurred()) SWIG_fail;
22051 }
15afbcd0 22052 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
d14a1e28
RD
22053 return resultobj;
22054 fail:
22055 return NULL;
22056}
22057
22058
c32bde28 22059static PyObject *_wrap_Printer_Print(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22060 PyObject *resultobj;
22061 wxPrinter *arg1 = (wxPrinter *) 0 ;
22062 wxWindow *arg2 = (wxWindow *) 0 ;
22063 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
ae8162c8 22064 int arg4 = (int) true ;
d14a1e28
RD
22065 bool result;
22066 PyObject * obj0 = 0 ;
22067 PyObject * obj1 = 0 ;
22068 PyObject * obj2 = 0 ;
994141e6 22069 PyObject * obj3 = 0 ;
d14a1e28
RD
22070 char *kwnames[] = {
22071 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
22072 };
22073
994141e6 22074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
22075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22077 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22079 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
22080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 22081 if (obj3) {
c32bde28 22082 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 22083 if (PyErr_Occurred()) SWIG_fail;
994141e6 22084 }
d14a1e28
RD
22085 {
22086 PyThreadState* __tstate = wxPyBeginAllowThreads();
22087 result = (bool)(arg1)->Print(arg2,arg3,arg4);
22088
22089 wxPyEndAllowThreads(__tstate);
22090 if (PyErr_Occurred()) SWIG_fail;
22091 }
4f89f6a3
RD
22092 {
22093 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22094 }
d14a1e28
RD
22095 return resultobj;
22096 fail:
22097 return NULL;
22098}
22099
22100
c32bde28 22101static PyObject *_wrap_Printer_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22102 PyObject *resultobj;
22103 wxPrinter *arg1 = (wxPrinter *) 0 ;
22104 wxWindow *arg2 = (wxWindow *) 0 ;
22105 wxDC *result;
22106 PyObject * obj0 = 0 ;
22107 PyObject * obj1 = 0 ;
22108 char *kwnames[] = {
22109 (char *) "self",(char *) "parent", NULL
22110 };
22111
22112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22115 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22117 {
22118 PyThreadState* __tstate = wxPyBeginAllowThreads();
22119 result = (wxDC *)(arg1)->PrintDialog(arg2);
22120
22121 wxPyEndAllowThreads(__tstate);
22122 if (PyErr_Occurred()) SWIG_fail;
22123 }
22124 {
412d302d 22125 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
22126 }
22127 return resultobj;
22128 fail:
22129 return NULL;
22130}
22131
22132
c32bde28 22133static PyObject *_wrap_Printer_ReportError(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22134 PyObject *resultobj;
22135 wxPrinter *arg1 = (wxPrinter *) 0 ;
22136 wxWindow *arg2 = (wxWindow *) 0 ;
22137 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
22138 wxString *arg4 = 0 ;
ae8162c8 22139 bool temp4 = false ;
d14a1e28
RD
22140 PyObject * obj0 = 0 ;
22141 PyObject * obj1 = 0 ;
22142 PyObject * obj2 = 0 ;
22143 PyObject * obj3 = 0 ;
22144 char *kwnames[] = {
22145 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
22146 };
22147
22148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
22149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22151 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22153 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
22154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22155 {
22156 arg4 = wxString_in_helper(obj3);
22157 if (arg4 == NULL) SWIG_fail;
ae8162c8 22158 temp4 = true;
d14a1e28
RD
22159 }
22160 {
22161 PyThreadState* __tstate = wxPyBeginAllowThreads();
22162 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
22163
22164 wxPyEndAllowThreads(__tstate);
22165 if (PyErr_Occurred()) SWIG_fail;
22166 }
22167 Py_INCREF(Py_None); resultobj = Py_None;
22168 {
22169 if (temp4)
22170 delete arg4;
22171 }
22172 return resultobj;
22173 fail:
22174 {
22175 if (temp4)
22176 delete arg4;
22177 }
22178 return NULL;
22179}
22180
22181
c32bde28 22182static PyObject *_wrap_Printer_Setup(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22183 PyObject *resultobj;
22184 wxPrinter *arg1 = (wxPrinter *) 0 ;
22185 wxWindow *arg2 = (wxWindow *) 0 ;
22186 bool result;
22187 PyObject * obj0 = 0 ;
22188 PyObject * obj1 = 0 ;
22189 char *kwnames[] = {
22190 (char *) "self",(char *) "parent", NULL
22191 };
22192
22193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22196 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22198 {
22199 PyThreadState* __tstate = wxPyBeginAllowThreads();
22200 result = (bool)(arg1)->Setup(arg2);
22201
22202 wxPyEndAllowThreads(__tstate);
22203 if (PyErr_Occurred()) SWIG_fail;
22204 }
4f89f6a3
RD
22205 {
22206 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22207 }
d14a1e28
RD
22208 return resultobj;
22209 fail:
22210 return NULL;
22211}
22212
22213
c32bde28 22214static PyObject *_wrap_Printer_GetAbort(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22215 PyObject *resultobj;
22216 wxPrinter *arg1 = (wxPrinter *) 0 ;
22217 bool result;
22218 PyObject * obj0 = 0 ;
22219 char *kwnames[] = {
22220 (char *) "self", NULL
22221 };
22222
22223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
15afbcd0
RD
22224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22226 {
22227 PyThreadState* __tstate = wxPyBeginAllowThreads();
22228 result = (bool)(arg1)->GetAbort();
22229
22230 wxPyEndAllowThreads(__tstate);
22231 if (PyErr_Occurred()) SWIG_fail;
22232 }
4f89f6a3
RD
22233 {
22234 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22235 }
d14a1e28
RD
22236 return resultobj;
22237 fail:
22238 return NULL;
22239}
22240
22241
c32bde28 22242static PyObject *_wrap_Printer_GetLastError(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22243 PyObject *resultobj;
22244 int result;
22245 char *kwnames[] = {
22246 NULL
22247 };
22248
22249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
22250 {
22251 PyThreadState* __tstate = wxPyBeginAllowThreads();
22252 result = (int)wxPrinter::GetLastError();
22253
22254 wxPyEndAllowThreads(__tstate);
22255 if (PyErr_Occurred()) SWIG_fail;
22256 }
c32bde28 22257 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
22258 return resultobj;
22259 fail:
22260 return NULL;
22261}
22262
22263
c32bde28 22264static PyObject * Printer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
22265 PyObject *obj;
22266 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22267 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
22268 Py_INCREF(obj);
22269 return Py_BuildValue((char *)"");
22270}
c32bde28 22271static PyObject *_wrap_new_Printout(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22272 PyObject *resultobj;
22273 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
22274 wxString *arg1 = (wxString *) &arg1_defvalue ;
22275 wxPyPrintout *result;
ae8162c8 22276 bool temp1 = false ;
d14a1e28
RD
22277 PyObject * obj0 = 0 ;
22278 char *kwnames[] = {
22279 (char *) "title", NULL
22280 };
22281
22282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
22283 if (obj0) {
22284 {
22285 arg1 = wxString_in_helper(obj0);
22286 if (arg1 == NULL) SWIG_fail;
ae8162c8 22287 temp1 = true;
d14a1e28
RD
22288 }
22289 }
22290 {
e3b71cb8 22291 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
22292 PyThreadState* __tstate = wxPyBeginAllowThreads();
22293 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
22294
22295 wxPyEndAllowThreads(__tstate);
110da5b0 22296 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22297 }
22298 {
412d302d 22299 resultobj = wxPyMake_wxObject(result, 1);
d14a1e28
RD
22300 }
22301 {
22302 if (temp1)
22303 delete arg1;
22304 }
22305 return resultobj;
22306 fail:
22307 {
22308 if (temp1)
22309 delete arg1;
22310 }
22311 return NULL;
22312}
22313
22314
c32bde28 22315static PyObject *_wrap_Printout__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22316 PyObject *resultobj;
22317 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22318 PyObject *arg2 = (PyObject *) 0 ;
22319 PyObject *arg3 = (PyObject *) 0 ;
22320 PyObject * obj0 = 0 ;
22321 PyObject * obj1 = 0 ;
22322 PyObject * obj2 = 0 ;
22323 char *kwnames[] = {
22324 (char *) "self",(char *) "self",(char *) "_class", NULL
22325 };
22326
22327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22330 arg2 = obj1;
22331 arg3 = obj2;
22332 {
22333 PyThreadState* __tstate = wxPyBeginAllowThreads();
22334 (arg1)->_setCallbackInfo(arg2,arg3);
22335
22336 wxPyEndAllowThreads(__tstate);
22337 if (PyErr_Occurred()) SWIG_fail;
22338 }
22339 Py_INCREF(Py_None); resultobj = Py_None;
22340 return resultobj;
22341 fail:
22342 return NULL;
22343}
22344
22345
c32bde28 22346static PyObject *_wrap_Printout_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22347 PyObject *resultobj;
22348 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22349 wxString result;
22350 PyObject * obj0 = 0 ;
22351 char *kwnames[] = {
22352 (char *) "self", NULL
22353 };
22354
22355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
15afbcd0
RD
22356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22358 {
22359 PyThreadState* __tstate = wxPyBeginAllowThreads();
22360 result = ((wxPyPrintout const *)arg1)->GetTitle();
22361
22362 wxPyEndAllowThreads(__tstate);
22363 if (PyErr_Occurred()) SWIG_fail;
22364 }
22365 {
22366#if wxUSE_UNICODE
22367 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22368#else
22369 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22370#endif
22371 }
22372 return resultobj;
22373 fail:
22374 return NULL;
22375}
22376
22377
c32bde28 22378static PyObject *_wrap_Printout_GetDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22379 PyObject *resultobj;
22380 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22381 wxDC *result;
22382 PyObject * obj0 = 0 ;
22383 char *kwnames[] = {
22384 (char *) "self", NULL
22385 };
22386
22387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
15afbcd0
RD
22388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22390 {
22391 PyThreadState* __tstate = wxPyBeginAllowThreads();
22392 result = (wxDC *)(arg1)->GetDC();
22393
22394 wxPyEndAllowThreads(__tstate);
22395 if (PyErr_Occurred()) SWIG_fail;
22396 }
22397 {
412d302d 22398 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
22399 }
22400 return resultobj;
22401 fail:
22402 return NULL;
22403}
22404
22405
c32bde28 22406static PyObject *_wrap_Printout_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22407 PyObject *resultobj;
22408 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22409 wxDC *arg2 = (wxDC *) 0 ;
22410 PyObject * obj0 = 0 ;
22411 PyObject * obj1 = 0 ;
22412 char *kwnames[] = {
22413 (char *) "self",(char *) "dc", NULL
22414 };
22415
22416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22419 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22421 {
22422 PyThreadState* __tstate = wxPyBeginAllowThreads();
22423 (arg1)->SetDC(arg2);
22424
22425 wxPyEndAllowThreads(__tstate);
22426 if (PyErr_Occurred()) SWIG_fail;
22427 }
22428 Py_INCREF(Py_None); resultobj = Py_None;
22429 return resultobj;
22430 fail:
22431 return NULL;
22432}
22433
22434
c32bde28 22435static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22436 PyObject *resultobj;
22437 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
322913ce
RD
22438 int arg2 ;
22439 int arg3 ;
d14a1e28 22440 PyObject * obj0 = 0 ;
994141e6
RD
22441 PyObject * obj1 = 0 ;
22442 PyObject * obj2 = 0 ;
d14a1e28 22443 char *kwnames[] = {
322913ce 22444 (char *) "self",(char *) "w",(char *) "h", NULL
d14a1e28
RD
22445 };
22446
994141e6 22447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22450 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 22451 if (PyErr_Occurred()) SWIG_fail;
c32bde28 22452 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 22453 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22454 {
22455 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 22456 (arg1)->SetPageSizePixels(arg2,arg3);
d14a1e28
RD
22457
22458 wxPyEndAllowThreads(__tstate);
22459 if (PyErr_Occurred()) SWIG_fail;
22460 }
22461 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
22462 return resultobj;
22463 fail:
22464 return NULL;
22465}
22466
22467
c32bde28 22468static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22469 PyObject *resultobj;
22470 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
322913ce
RD
22471 int *arg2 = (int *) 0 ;
22472 int *arg3 = (int *) 0 ;
22473 int temp2 ;
c32bde28 22474 int res2 = 0 ;
322913ce 22475 int temp3 ;
c32bde28 22476 int res3 = 0 ;
d14a1e28
RD
22477 PyObject * obj0 = 0 ;
22478 char *kwnames[] = {
322913ce 22479 (char *) "self", NULL
d14a1e28
RD
22480 };
22481
c32bde28
RD
22482 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22483 arg3 = &temp3; res3 = SWIG_NEWOBJ;
322913ce 22484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
15afbcd0
RD
22485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22487 {
22488 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 22489 (arg1)->GetPageSizePixels(arg2,arg3);
d14a1e28
RD
22490
22491 wxPyEndAllowThreads(__tstate);
22492 if (PyErr_Occurred()) SWIG_fail;
22493 }
22494 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
22495 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22496 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22497 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22498 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
22499 return resultobj;
22500 fail:
22501 return NULL;
22502}
22503
22504
c32bde28 22505static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22506 PyObject *resultobj;
22507 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22508 int arg2 ;
22509 int arg3 ;
22510 PyObject * obj0 = 0 ;
994141e6
RD
22511 PyObject * obj1 = 0 ;
22512 PyObject * obj2 = 0 ;
d14a1e28
RD
22513 char *kwnames[] = {
22514 (char *) "self",(char *) "w",(char *) "h", NULL
22515 };
22516
994141e6 22517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22520 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 22521 if (PyErr_Occurred()) SWIG_fail;
c32bde28 22522 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 22523 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22524 {
22525 PyThreadState* __tstate = wxPyBeginAllowThreads();
22526 (arg1)->SetPageSizeMM(arg2,arg3);
22527
22528 wxPyEndAllowThreads(__tstate);
22529 if (PyErr_Occurred()) SWIG_fail;
22530 }
22531 Py_INCREF(Py_None); resultobj = Py_None;
22532 return resultobj;
22533 fail:
22534 return NULL;
22535}
22536
22537
c32bde28 22538static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22539 PyObject *resultobj;
22540 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22541 int *arg2 = (int *) 0 ;
22542 int *arg3 = (int *) 0 ;
22543 int temp2 ;
c32bde28 22544 int res2 = 0 ;
d14a1e28 22545 int temp3 ;
c32bde28 22546 int res3 = 0 ;
d14a1e28
RD
22547 PyObject * obj0 = 0 ;
22548 char *kwnames[] = {
22549 (char *) "self", NULL
22550 };
22551
c32bde28
RD
22552 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22553 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 22554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
15afbcd0
RD
22555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22557 {
22558 PyThreadState* __tstate = wxPyBeginAllowThreads();
22559 (arg1)->GetPageSizeMM(arg2,arg3);
22560
22561 wxPyEndAllowThreads(__tstate);
22562 if (PyErr_Occurred()) SWIG_fail;
22563 }
22564 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
22565 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22566 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22567 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22568 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
22569 return resultobj;
22570 fail:
22571 return NULL;
22572}
22573
22574
c32bde28 22575static PyObject *_wrap_Printout_SetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22576 PyObject *resultobj;
22577 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22578 int arg2 ;
22579 int arg3 ;
22580 PyObject * obj0 = 0 ;
994141e6
RD
22581 PyObject * obj1 = 0 ;
22582 PyObject * obj2 = 0 ;
d14a1e28
RD
22583 char *kwnames[] = {
22584 (char *) "self",(char *) "x",(char *) "y", NULL
22585 };
22586
994141e6 22587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22590 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 22591 if (PyErr_Occurred()) SWIG_fail;
c32bde28 22592 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 22593 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22594 {
22595 PyThreadState* __tstate = wxPyBeginAllowThreads();
22596 (arg1)->SetPPIScreen(arg2,arg3);
22597
22598 wxPyEndAllowThreads(__tstate);
22599 if (PyErr_Occurred()) SWIG_fail;
22600 }
22601 Py_INCREF(Py_None); resultobj = Py_None;
22602 return resultobj;
22603 fail:
22604 return NULL;
22605}
22606
22607
c32bde28 22608static PyObject *_wrap_Printout_GetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22609 PyObject *resultobj;
22610 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22611 int *arg2 = (int *) 0 ;
22612 int *arg3 = (int *) 0 ;
22613 int temp2 ;
c32bde28 22614 int res2 = 0 ;
d14a1e28 22615 int temp3 ;
c32bde28 22616 int res3 = 0 ;
d14a1e28
RD
22617 PyObject * obj0 = 0 ;
22618 char *kwnames[] = {
22619 (char *) "self", NULL
22620 };
22621
c32bde28
RD
22622 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22623 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 22624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
15afbcd0
RD
22625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22627 {
22628 PyThreadState* __tstate = wxPyBeginAllowThreads();
22629 (arg1)->GetPPIScreen(arg2,arg3);
22630
22631 wxPyEndAllowThreads(__tstate);
22632 if (PyErr_Occurred()) SWIG_fail;
22633 }
22634 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
22635 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22636 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22637 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22638 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
22639 return resultobj;
22640 fail:
22641 return NULL;
22642}
22643
22644
c32bde28 22645static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22646 PyObject *resultobj;
22647 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22648 int arg2 ;
22649 int arg3 ;
22650 PyObject * obj0 = 0 ;
994141e6
RD
22651 PyObject * obj1 = 0 ;
22652 PyObject * obj2 = 0 ;
d14a1e28
RD
22653 char *kwnames[] = {
22654 (char *) "self",(char *) "x",(char *) "y", NULL
22655 };
22656
994141e6 22657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22660 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 22661 if (PyErr_Occurred()) SWIG_fail;
c32bde28 22662 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 22663 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22664 {
22665 PyThreadState* __tstate = wxPyBeginAllowThreads();
22666 (arg1)->SetPPIPrinter(arg2,arg3);
22667
22668 wxPyEndAllowThreads(__tstate);
22669 if (PyErr_Occurred()) SWIG_fail;
22670 }
22671 Py_INCREF(Py_None); resultobj = Py_None;
22672 return resultobj;
22673 fail:
22674 return NULL;
22675}
22676
22677
c32bde28 22678static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22679 PyObject *resultobj;
22680 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22681 int *arg2 = (int *) 0 ;
22682 int *arg3 = (int *) 0 ;
22683 int temp2 ;
c32bde28 22684 int res2 = 0 ;
d14a1e28 22685 int temp3 ;
c32bde28 22686 int res3 = 0 ;
d14a1e28
RD
22687 PyObject * obj0 = 0 ;
22688 char *kwnames[] = {
22689 (char *) "self", NULL
22690 };
22691
c32bde28
RD
22692 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22693 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 22694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
15afbcd0
RD
22695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22697 {
22698 PyThreadState* __tstate = wxPyBeginAllowThreads();
22699 (arg1)->GetPPIPrinter(arg2,arg3);
22700
22701 wxPyEndAllowThreads(__tstate);
22702 if (PyErr_Occurred()) SWIG_fail;
22703 }
22704 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
22705 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22706 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22707 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22708 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
22709 return resultobj;
22710 fail:
22711 return NULL;
22712}
22713
22714
c32bde28 22715static PyObject *_wrap_Printout_IsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22716 PyObject *resultobj;
22717 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22718 bool result;
22719 PyObject * obj0 = 0 ;
22720 char *kwnames[] = {
22721 (char *) "self", NULL
22722 };
22723
22724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
15afbcd0
RD
22725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22727 {
22728 PyThreadState* __tstate = wxPyBeginAllowThreads();
22729 result = (bool)(arg1)->IsPreview();
22730
22731 wxPyEndAllowThreads(__tstate);
22732 if (PyErr_Occurred()) SWIG_fail;
22733 }
4f89f6a3
RD
22734 {
22735 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22736 }
d14a1e28
RD
22737 return resultobj;
22738 fail:
22739 return NULL;
22740}
22741
22742
c32bde28 22743static PyObject *_wrap_Printout_SetIsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22744 PyObject *resultobj;
22745 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22746 bool arg2 ;
22747 PyObject * obj0 = 0 ;
22748 PyObject * obj1 = 0 ;
22749 char *kwnames[] = {
22750 (char *) "self",(char *) "p", NULL
22751 };
22752
22753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22756 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 22757 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22758 {
22759 PyThreadState* __tstate = wxPyBeginAllowThreads();
22760 (arg1)->SetIsPreview(arg2);
22761
22762 wxPyEndAllowThreads(__tstate);
22763 if (PyErr_Occurred()) SWIG_fail;
22764 }
22765 Py_INCREF(Py_None); resultobj = Py_None;
22766 return resultobj;
22767 fail:
22768 return NULL;
22769}
22770
22771
c32bde28 22772static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22773 PyObject *resultobj;
22774 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22775 int arg2 ;
22776 int arg3 ;
22777 bool result;
22778 PyObject * obj0 = 0 ;
994141e6
RD
22779 PyObject * obj1 = 0 ;
22780 PyObject * obj2 = 0 ;
d14a1e28
RD
22781 char *kwnames[] = {
22782 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
22783 };
22784
994141e6 22785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22788 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 22789 if (PyErr_Occurred()) SWIG_fail;
c32bde28 22790 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 22791 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22792 {
22793 PyThreadState* __tstate = wxPyBeginAllowThreads();
22794 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
22795
22796 wxPyEndAllowThreads(__tstate);
22797 if (PyErr_Occurred()) SWIG_fail;
22798 }
4f89f6a3
RD
22799 {
22800 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22801 }
d14a1e28
RD
22802 return resultobj;
22803 fail:
22804 return NULL;
22805}
22806
22807
c32bde28 22808static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22809 PyObject *resultobj;
22810 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22811 PyObject * obj0 = 0 ;
22812 char *kwnames[] = {
22813 (char *) "self", NULL
22814 };
22815
22816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
15afbcd0
RD
22817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22819 {
22820 PyThreadState* __tstate = wxPyBeginAllowThreads();
22821 (arg1)->base_OnEndDocument();
22822
22823 wxPyEndAllowThreads(__tstate);
22824 if (PyErr_Occurred()) SWIG_fail;
22825 }
22826 Py_INCREF(Py_None); resultobj = Py_None;
22827 return resultobj;
22828 fail:
22829 return NULL;
22830}
22831
22832
c32bde28 22833static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22834 PyObject *resultobj;
22835 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22836 PyObject * obj0 = 0 ;
22837 char *kwnames[] = {
22838 (char *) "self", NULL
22839 };
22840
22841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
15afbcd0
RD
22842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22844 {
22845 PyThreadState* __tstate = wxPyBeginAllowThreads();
22846 (arg1)->base_OnBeginPrinting();
22847
22848 wxPyEndAllowThreads(__tstate);
22849 if (PyErr_Occurred()) SWIG_fail;
22850 }
22851 Py_INCREF(Py_None); resultobj = Py_None;
22852 return resultobj;
22853 fail:
22854 return NULL;
22855}
22856
22857
c32bde28 22858static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22859 PyObject *resultobj;
22860 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22861 PyObject * obj0 = 0 ;
22862 char *kwnames[] = {
22863 (char *) "self", NULL
22864 };
22865
22866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
15afbcd0
RD
22867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22869 {
22870 PyThreadState* __tstate = wxPyBeginAllowThreads();
22871 (arg1)->base_OnEndPrinting();
22872
22873 wxPyEndAllowThreads(__tstate);
22874 if (PyErr_Occurred()) SWIG_fail;
22875 }
22876 Py_INCREF(Py_None); resultobj = Py_None;
22877 return resultobj;
22878 fail:
22879 return NULL;
22880}
22881
22882
c32bde28 22883static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22884 PyObject *resultobj;
22885 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22886 PyObject * obj0 = 0 ;
22887 char *kwnames[] = {
22888 (char *) "self", NULL
22889 };
22890
22891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
15afbcd0
RD
22892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22894 {
22895 PyThreadState* __tstate = wxPyBeginAllowThreads();
22896 (arg1)->base_OnPreparePrinting();
22897
22898 wxPyEndAllowThreads(__tstate);
22899 if (PyErr_Occurred()) SWIG_fail;
22900 }
22901 Py_INCREF(Py_None); resultobj = Py_None;
22902 return resultobj;
22903 fail:
22904 return NULL;
22905}
22906
22907
c32bde28 22908static PyObject *_wrap_Printout_base_HasPage(PyObject *, PyObject *args, PyObject *kwargs) {
322913ce
RD
22909 PyObject *resultobj;
22910 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22911 int arg2 ;
22912 bool result;
22913 PyObject * obj0 = 0 ;
994141e6 22914 PyObject * obj1 = 0 ;
322913ce
RD
22915 char *kwnames[] = {
22916 (char *) "self",(char *) "page", NULL
22917 };
22918
994141e6 22919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22922 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 22923 if (PyErr_Occurred()) SWIG_fail;
322913ce
RD
22924 {
22925 PyThreadState* __tstate = wxPyBeginAllowThreads();
22926 result = (bool)(arg1)->base_HasPage(arg2);
22927
22928 wxPyEndAllowThreads(__tstate);
22929 if (PyErr_Occurred()) SWIG_fail;
22930 }
4f89f6a3
RD
22931 {
22932 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22933 }
322913ce
RD
22934 return resultobj;
22935 fail:
22936 return NULL;
22937}
22938
22939
c32bde28 22940static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22941 PyObject *resultobj;
22942 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22943 int *arg2 = (int *) 0 ;
22944 int *arg3 = (int *) 0 ;
22945 int *arg4 = (int *) 0 ;
22946 int *arg5 = (int *) 0 ;
22947 int temp2 ;
c32bde28 22948 int res2 = 0 ;
d14a1e28 22949 int temp3 ;
c32bde28 22950 int res3 = 0 ;
d14a1e28 22951 int temp4 ;
c32bde28 22952 int res4 = 0 ;
d14a1e28 22953 int temp5 ;
c32bde28 22954 int res5 = 0 ;
d14a1e28
RD
22955 PyObject * obj0 = 0 ;
22956 char *kwnames[] = {
22957 (char *) "self", NULL
22958 };
22959
c32bde28
RD
22960 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22961 arg3 = &temp3; res3 = SWIG_NEWOBJ;
22962 arg4 = &temp4; res4 = SWIG_NEWOBJ;
22963 arg5 = &temp5; res5 = SWIG_NEWOBJ;
d14a1e28 22964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
15afbcd0
RD
22965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22967 {
22968 PyThreadState* __tstate = wxPyBeginAllowThreads();
22969 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
22970
22971 wxPyEndAllowThreads(__tstate);
22972 if (PyErr_Occurred()) SWIG_fail;
22973 }
22974 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
22975 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22976 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22977 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22978 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
22979 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
22980 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
22981 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
22982 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
d14a1e28
RD
22983 return resultobj;
22984 fail:
22985 return NULL;
22986}
22987
22988
c32bde28 22989static PyObject * Printout_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
22990 PyObject *obj;
22991 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22992 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
22993 Py_INCREF(obj);
22994 return Py_BuildValue((char *)"");
22995}
c32bde28 22996static PyObject *_wrap_new_PreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22997 PyObject *resultobj;
22998 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22999 wxWindow *arg2 = (wxWindow *) 0 ;
23000 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23001 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23002 wxSize const &arg4_defvalue = wxDefaultSize ;
23003 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23004 long arg5 = (long) 0 ;
23005 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
23006 wxString *arg6 = (wxString *) &arg6_defvalue ;
23007 wxPreviewCanvas *result;
23008 wxPoint temp3 ;
23009 wxSize temp4 ;
ae8162c8 23010 bool temp6 = false ;
d14a1e28
RD
23011 PyObject * obj0 = 0 ;
23012 PyObject * obj1 = 0 ;
23013 PyObject * obj2 = 0 ;
23014 PyObject * obj3 = 0 ;
994141e6 23015 PyObject * obj4 = 0 ;
d14a1e28
RD
23016 PyObject * obj5 = 0 ;
23017 char *kwnames[] = {
23018 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23019 };
23020
994141e6 23021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
23022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23024 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
23025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23026 if (obj2) {
23027 {
23028 arg3 = &temp3;
23029 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23030 }
23031 }
23032 if (obj3) {
23033 {
23034 arg4 = &temp4;
23035 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23036 }
23037 }
994141e6 23038 if (obj4) {
c32bde28 23039 arg5 = (long)SWIG_As_long(obj4);
15afbcd0 23040 if (PyErr_Occurred()) SWIG_fail;
994141e6 23041 }
d14a1e28
RD
23042 if (obj5) {
23043 {
23044 arg6 = wxString_in_helper(obj5);
23045 if (arg6 == NULL) SWIG_fail;
ae8162c8 23046 temp6 = true;
d14a1e28
RD
23047 }
23048 }
23049 {
e3b71cb8 23050 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
23051 PyThreadState* __tstate = wxPyBeginAllowThreads();
23052 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
23053
23054 wxPyEndAllowThreads(__tstate);
110da5b0 23055 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 23056 }
15afbcd0 23057 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
d14a1e28
RD
23058 {
23059 if (temp6)
23060 delete arg6;
23061 }
23062 return resultobj;
23063 fail:
23064 {
23065 if (temp6)
23066 delete arg6;
23067 }
23068 return NULL;
23069}
23070
23071
c32bde28 23072static PyObject * PreviewCanvas_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
23073 PyObject *obj;
23074 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23075 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
23076 Py_INCREF(obj);
23077 return Py_BuildValue((char *)"");
23078}
c32bde28 23079static PyObject *_wrap_new_PreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23080 PyObject *resultobj;
23081 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23082 wxFrame *arg2 = (wxFrame *) 0 ;
23083 wxString *arg3 = 0 ;
23084 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23085 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23086 wxSize const &arg5_defvalue = wxDefaultSize ;
23087 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23088 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
23089 wxString const &arg7_defvalue = wxPyFrameNameStr ;
23090 wxString *arg7 = (wxString *) &arg7_defvalue ;
23091 wxPreviewFrame *result;
ae8162c8 23092 bool temp3 = false ;
d14a1e28
RD
23093 wxPoint temp4 ;
23094 wxSize temp5 ;
ae8162c8 23095 bool temp7 = false ;
d14a1e28
RD
23096 PyObject * obj0 = 0 ;
23097 PyObject * obj1 = 0 ;
23098 PyObject * obj2 = 0 ;
23099 PyObject * obj3 = 0 ;
23100 PyObject * obj4 = 0 ;
994141e6 23101 PyObject * obj5 = 0 ;
d14a1e28
RD
23102 PyObject * obj6 = 0 ;
23103 char *kwnames[] = {
23104 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23105 };
23106
994141e6 23107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
23108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23110 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
23111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23112 {
23113 arg3 = wxString_in_helper(obj2);
23114 if (arg3 == NULL) SWIG_fail;
ae8162c8 23115 temp3 = true;
d14a1e28
RD
23116 }
23117 if (obj3) {
23118 {
23119 arg4 = &temp4;
23120 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23121 }
23122 }
23123 if (obj4) {
23124 {
23125 arg5 = &temp5;
23126 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23127 }
23128 }
994141e6 23129 if (obj5) {
c32bde28 23130 arg6 = (long)SWIG_As_long(obj5);
15afbcd0 23131 if (PyErr_Occurred()) SWIG_fail;
994141e6 23132 }
d14a1e28
RD
23133 if (obj6) {
23134 {
23135 arg7 = wxString_in_helper(obj6);
23136 if (arg7 == NULL) SWIG_fail;
ae8162c8 23137 temp7 = true;
d14a1e28
RD
23138 }
23139 }
23140 {
e3b71cb8 23141 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
23142 PyThreadState* __tstate = wxPyBeginAllowThreads();
23143 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
23144
23145 wxPyEndAllowThreads(__tstate);
110da5b0 23146 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 23147 }
15afbcd0 23148 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
d14a1e28
RD
23149 {
23150 if (temp3)
23151 delete arg3;
23152 }
23153 {
23154 if (temp7)
23155 delete arg7;
23156 }
23157 return resultobj;
23158 fail:
23159 {
23160 if (temp3)
23161 delete arg3;
23162 }
23163 {
23164 if (temp7)
23165 delete arg7;
23166 }
23167 return NULL;
23168}
23169
23170
c32bde28 23171static PyObject *_wrap_PreviewFrame_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23172 PyObject *resultobj;
23173 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
23174 PyObject * obj0 = 0 ;
23175 char *kwnames[] = {
23176 (char *) "self", NULL
23177 };
23178
23179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
15afbcd0
RD
23180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
23181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23182 {
23183 PyThreadState* __tstate = wxPyBeginAllowThreads();
23184 (arg1)->Initialize();
23185
23186 wxPyEndAllowThreads(__tstate);
23187 if (PyErr_Occurred()) SWIG_fail;
23188 }
23189 Py_INCREF(Py_None); resultobj = Py_None;
23190 return resultobj;
23191 fail:
23192 return NULL;
23193}
23194
23195
c32bde28 23196static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23197 PyObject *resultobj;
23198 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
23199 PyObject * obj0 = 0 ;
23200 char *kwnames[] = {
23201 (char *) "self", NULL
23202 };
23203
23204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
15afbcd0
RD
23205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
23206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23207 {
23208 PyThreadState* __tstate = wxPyBeginAllowThreads();
23209 (arg1)->CreateControlBar();
23210
23211 wxPyEndAllowThreads(__tstate);
23212 if (PyErr_Occurred()) SWIG_fail;
23213 }
23214 Py_INCREF(Py_None); resultobj = Py_None;
23215 return resultobj;
23216 fail:
23217 return NULL;
23218}
23219
23220
c32bde28 23221static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23222 PyObject *resultobj;
23223 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
23224 PyObject * obj0 = 0 ;
23225 char *kwnames[] = {
23226 (char *) "self", NULL
23227 };
23228
23229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
15afbcd0
RD
23230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
23231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23232 {
23233 PyThreadState* __tstate = wxPyBeginAllowThreads();
23234 (arg1)->CreateCanvas();
23235
23236 wxPyEndAllowThreads(__tstate);
23237 if (PyErr_Occurred()) SWIG_fail;
23238 }
23239 Py_INCREF(Py_None); resultobj = Py_None;
23240 return resultobj;
23241 fail:
23242 return NULL;
23243}
23244
23245
c32bde28 23246static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23247 PyObject *resultobj;
23248 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
23249 wxPreviewControlBar *result;
23250 PyObject * obj0 = 0 ;
23251 char *kwnames[] = {
23252 (char *) "self", NULL
23253 };
23254
23255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
15afbcd0
RD
23256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
23257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23258 {
23259 PyThreadState* __tstate = wxPyBeginAllowThreads();
23260 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
23261
23262 wxPyEndAllowThreads(__tstate);
23263 if (PyErr_Occurred()) SWIG_fail;
23264 }
15afbcd0 23265 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
d14a1e28
RD
23266 return resultobj;
23267 fail:
23268 return NULL;
23269}
23270
23271
c32bde28 23272static PyObject * PreviewFrame_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
23273 PyObject *obj;
23274 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23275 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
23276 Py_INCREF(obj);
23277 return Py_BuildValue((char *)"");
23278}
c32bde28 23279static PyObject *_wrap_new_PreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23280 PyObject *resultobj;
23281 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23282 long arg2 ;
23283 wxWindow *arg3 = (wxWindow *) 0 ;
23284 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23285 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23286 wxSize const &arg5_defvalue = wxDefaultSize ;
23287 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23288 long arg6 = (long) wxTAB_TRAVERSAL ;
23289 wxString const &arg7_defvalue = wxPyPanelNameStr ;
23290 wxString *arg7 = (wxString *) &arg7_defvalue ;
23291 wxPreviewControlBar *result;
23292 wxPoint temp4 ;
23293 wxSize temp5 ;
ae8162c8 23294 bool temp7 = false ;
d14a1e28 23295 PyObject * obj0 = 0 ;
994141e6 23296 PyObject * obj1 = 0 ;
d14a1e28
RD
23297 PyObject * obj2 = 0 ;
23298 PyObject * obj3 = 0 ;
23299 PyObject * obj4 = 0 ;
994141e6 23300 PyObject * obj5 = 0 ;
d14a1e28
RD
23301 PyObject * obj6 = 0 ;
23302 char *kwnames[] = {
23303 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23304 };
23305
994141e6 23306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
23307 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 23309 arg2 = (long)SWIG_As_long(obj1);
15afbcd0
RD
23310 if (PyErr_Occurred()) SWIG_fail;
23311 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
23312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23313 if (obj3) {
23314 {
23315 arg4 = &temp4;
23316 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23317 }
23318 }
23319 if (obj4) {
23320 {
23321 arg5 = &temp5;
23322 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23323 }
23324 }
994141e6 23325 if (obj5) {
c32bde28 23326 arg6 = (long)SWIG_As_long(obj5);
15afbcd0 23327 if (PyErr_Occurred()) SWIG_fail;
994141e6 23328 }
d14a1e28
RD
23329 if (obj6) {
23330 {
23331 arg7 = wxString_in_helper(obj6);
23332 if (arg7 == NULL) SWIG_fail;
ae8162c8 23333 temp7 = true;
d14a1e28
RD
23334 }
23335 }
23336 {
e3b71cb8 23337 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
23338 PyThreadState* __tstate = wxPyBeginAllowThreads();
23339 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
23340
23341 wxPyEndAllowThreads(__tstate);
110da5b0 23342 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 23343 }
15afbcd0 23344 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
d14a1e28
RD
23345 {
23346 if (temp7)
23347 delete arg7;
23348 }
23349 return resultobj;
23350 fail:
23351 {
23352 if (temp7)
23353 delete arg7;
23354 }
23355 return NULL;
23356}
23357
23358
c32bde28 23359static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23360 PyObject *resultobj;
23361 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23362 int result;
23363 PyObject * obj0 = 0 ;
23364 char *kwnames[] = {
23365 (char *) "self", NULL
23366 };
23367
23368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
15afbcd0
RD
23369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23371 {
23372 PyThreadState* __tstate = wxPyBeginAllowThreads();
23373 result = (int)(arg1)->GetZoomControl();
23374
23375 wxPyEndAllowThreads(__tstate);
23376 if (PyErr_Occurred()) SWIG_fail;
23377 }
c32bde28 23378 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
23379 return resultobj;
23380 fail:
23381 return NULL;
23382}
23383
23384
c32bde28 23385static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23386 PyObject *resultobj;
23387 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23388 int arg2 ;
23389 PyObject * obj0 = 0 ;
994141e6 23390 PyObject * obj1 = 0 ;
d14a1e28
RD
23391 char *kwnames[] = {
23392 (char *) "self",(char *) "zoom", NULL
23393 };
23394
994141e6 23395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 23398 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 23399 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23400 {
23401 PyThreadState* __tstate = wxPyBeginAllowThreads();
23402 (arg1)->SetZoomControl(arg2);
23403
23404 wxPyEndAllowThreads(__tstate);
23405 if (PyErr_Occurred()) SWIG_fail;
23406 }
23407 Py_INCREF(Py_None); resultobj = Py_None;
23408 return resultobj;
23409 fail:
23410 return NULL;
23411}
23412
23413
c32bde28 23414static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23415 PyObject *resultobj;
23416 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23417 wxPrintPreview *result;
23418 PyObject * obj0 = 0 ;
23419 char *kwnames[] = {
23420 (char *) "self", NULL
23421 };
23422
23423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
15afbcd0
RD
23424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23426 {
23427 PyThreadState* __tstate = wxPyBeginAllowThreads();
23428 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
23429
23430 wxPyEndAllowThreads(__tstate);
23431 if (PyErr_Occurred()) SWIG_fail;
23432 }
15afbcd0 23433 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
d14a1e28
RD
23434 return resultobj;
23435 fail:
23436 return NULL;
23437}
23438
23439
c32bde28 23440static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23441 PyObject *resultobj;
23442 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23443 PyObject * obj0 = 0 ;
23444 char *kwnames[] = {
23445 (char *) "self", NULL
23446 };
23447
23448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
15afbcd0
RD
23449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23451 {
23452 PyThreadState* __tstate = wxPyBeginAllowThreads();
23453 (arg1)->OnNext();
23454
23455 wxPyEndAllowThreads(__tstate);
23456 if (PyErr_Occurred()) SWIG_fail;
23457 }
23458 Py_INCREF(Py_None); resultobj = Py_None;
23459 return resultobj;
23460 fail:
23461 return NULL;
23462}
23463
23464
c32bde28 23465static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23466 PyObject *resultobj;
23467 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23468 PyObject * obj0 = 0 ;
23469 char *kwnames[] = {
23470 (char *) "self", NULL
23471 };
23472
23473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
15afbcd0
RD
23474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23476 {
23477 PyThreadState* __tstate = wxPyBeginAllowThreads();
23478 (arg1)->OnPrevious();
23479
23480 wxPyEndAllowThreads(__tstate);
23481 if (PyErr_Occurred()) SWIG_fail;
23482 }
23483 Py_INCREF(Py_None); resultobj = Py_None;
23484 return resultobj;
23485 fail:
23486 return NULL;
23487}
23488
23489
c32bde28 23490static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23491 PyObject *resultobj;
23492 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23493 PyObject * obj0 = 0 ;
23494 char *kwnames[] = {
23495 (char *) "self", NULL
23496 };
23497
23498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
15afbcd0
RD
23499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23501 {
23502 PyThreadState* __tstate = wxPyBeginAllowThreads();
23503 (arg1)->OnFirst();
23504
23505 wxPyEndAllowThreads(__tstate);
23506 if (PyErr_Occurred()) SWIG_fail;
23507 }
23508 Py_INCREF(Py_None); resultobj = Py_None;
23509 return resultobj;
23510 fail:
23511 return NULL;
23512}
23513
23514
c32bde28 23515static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23516 PyObject *resultobj;
23517 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23518 PyObject * obj0 = 0 ;
23519 char *kwnames[] = {
23520 (char *) "self", NULL
23521 };
23522
23523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
15afbcd0
RD
23524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23526 {
23527 PyThreadState* __tstate = wxPyBeginAllowThreads();
23528 (arg1)->OnLast();
23529
23530 wxPyEndAllowThreads(__tstate);
23531 if (PyErr_Occurred()) SWIG_fail;
23532 }
23533 Py_INCREF(Py_None); resultobj = Py_None;
23534 return resultobj;
23535 fail:
23536 return NULL;
23537}
23538
23539
c32bde28 23540static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23541 PyObject *resultobj;
23542 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23543 PyObject * obj0 = 0 ;
23544 char *kwnames[] = {
23545 (char *) "self", NULL
23546 };
23547
23548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
15afbcd0
RD
23549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23551 {
23552 PyThreadState* __tstate = wxPyBeginAllowThreads();
23553 (arg1)->OnGoto();
23554
23555 wxPyEndAllowThreads(__tstate);
23556 if (PyErr_Occurred()) SWIG_fail;
23557 }
23558 Py_INCREF(Py_None); resultobj = Py_None;
23559 return resultobj;
23560 fail:
23561 return NULL;
23562}
23563
23564
c32bde28 23565static PyObject * PreviewControlBar_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
23566 PyObject *obj;
23567 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23568 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
23569 Py_INCREF(obj);
23570 return Py_BuildValue((char *)"");
23571}
c32bde28 23572static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
23573 PyObject *resultobj;
23574 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23575 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
4276dc52 23576 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
d14a1e28
RD
23577 wxPrintPreview *result;
23578 PyObject * obj0 = 0 ;
23579 PyObject * obj1 = 0 ;
23580 PyObject * obj2 = 0 ;
d14a1e28 23581
4276dc52 23582 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
23583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23585 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 23587 if (obj2) {
4276dc52 23588 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
15afbcd0 23589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23590 }
23591 {
e3b71cb8 23592 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
23593 PyThreadState* __tstate = wxPyBeginAllowThreads();
23594 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
23595
23596 wxPyEndAllowThreads(__tstate);
110da5b0 23597 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 23598 }
15afbcd0 23599 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
d14a1e28
RD
23600 return resultobj;
23601 fail:
23602 return NULL;
23603}
23604
23605
c32bde28 23606static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *, PyObject *args) {
4276dc52
RD
23607 PyObject *resultobj;
23608 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23609 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23610 wxPrintData *arg3 = (wxPrintData *) 0 ;
23611 wxPrintPreview *result;
23612 PyObject * obj0 = 0 ;
23613 PyObject * obj1 = 0 ;
23614 PyObject * obj2 = 0 ;
23615
23616 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
23617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23619 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23621 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
23622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23623 {
e3b71cb8 23624 if (!wxPyCheckForApp()) SWIG_fail;
4276dc52
RD
23625 PyThreadState* __tstate = wxPyBeginAllowThreads();
23626 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
23627
23628 wxPyEndAllowThreads(__tstate);
110da5b0 23629 if (PyErr_Occurred()) SWIG_fail;
4276dc52
RD
23630 }
23631 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
23632 return resultobj;
23633 fail:
23634 return NULL;
23635}
23636
23637
23638static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
23639 int argc;
23640 PyObject *argv[4];
23641 int ii;
23642
23643 argc = PyObject_Length(args);
23644 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
23645 argv[ii] = PyTuple_GetItem(args,ii);
23646 }
23647 if ((argc >= 2) && (argc <= 3)) {
23648 int _v;
23649 {
23650 void *ptr;
23651 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23652 _v = 0;
23653 PyErr_Clear();
23654 } else {
23655 _v = 1;
23656 }
23657 }
23658 if (_v) {
23659 {
23660 void *ptr;
23661 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23662 _v = 0;
23663 PyErr_Clear();
23664 } else {
23665 _v = 1;
23666 }
23667 }
23668 if (_v) {
23669 if (argc <= 2) {
23670 return _wrap_new_PrintPreview__SWIG_0(self,args);
23671 }
23672 {
23673 void *ptr;
23674 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
23675 _v = 0;
23676 PyErr_Clear();
23677 } else {
23678 _v = 1;
23679 }
23680 }
23681 if (_v) {
23682 return _wrap_new_PrintPreview__SWIG_0(self,args);
23683 }
23684 }
23685 }
23686 }
23687 if (argc == 3) {
23688 int _v;
23689 {
23690 void *ptr;
23691 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23692 _v = 0;
23693 PyErr_Clear();
23694 } else {
23695 _v = 1;
23696 }
23697 }
23698 if (_v) {
23699 {
23700 void *ptr;
23701 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23702 _v = 0;
23703 PyErr_Clear();
23704 } else {
23705 _v = 1;
23706 }
23707 }
23708 if (_v) {
23709 {
23710 void *ptr;
23711 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
23712 _v = 0;
23713 PyErr_Clear();
23714 } else {
23715 _v = 1;
23716 }
23717 }
23718 if (_v) {
23719 return _wrap_new_PrintPreview__SWIG_1(self,args);
23720 }
23721 }
23722 }
23723 }
23724
23725 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintPreview'");
23726 return NULL;
23727}
23728
23729
c32bde28 23730static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23731 PyObject *resultobj;
23732 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23733 int arg2 ;
23734 bool result;
23735 PyObject * obj0 = 0 ;
994141e6 23736 PyObject * obj1 = 0 ;
d14a1e28
RD
23737 char *kwnames[] = {
23738 (char *) "self",(char *) "pageNum", NULL
23739 };
23740
994141e6 23741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 23744 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 23745 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23746 {
23747 PyThreadState* __tstate = wxPyBeginAllowThreads();
23748 result = (bool)(arg1)->SetCurrentPage(arg2);
23749
23750 wxPyEndAllowThreads(__tstate);
23751 if (PyErr_Occurred()) SWIG_fail;
23752 }
4f89f6a3
RD
23753 {
23754 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23755 }
d14a1e28
RD
23756 return resultobj;
23757 fail:
23758 return NULL;
23759}
23760
23761
c32bde28 23762static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23763 PyObject *resultobj;
23764 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23765 int result;
23766 PyObject * obj0 = 0 ;
23767 char *kwnames[] = {
23768 (char *) "self", NULL
23769 };
23770
23771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
15afbcd0
RD
23772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23774 {
23775 PyThreadState* __tstate = wxPyBeginAllowThreads();
23776 result = (int)(arg1)->GetCurrentPage();
23777
23778 wxPyEndAllowThreads(__tstate);
23779 if (PyErr_Occurred()) SWIG_fail;
23780 }
c32bde28 23781 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
23782 return resultobj;
23783 fail:
23784 return NULL;
23785}
23786
23787
c32bde28 23788static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23789 PyObject *resultobj;
23790 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23791 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23792 PyObject * obj0 = 0 ;
23793 PyObject * obj1 = 0 ;
23794 char *kwnames[] = {
23795 (char *) "self",(char *) "printout", NULL
23796 };
23797
23798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23801 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23803 {
23804 PyThreadState* __tstate = wxPyBeginAllowThreads();
23805 (arg1)->SetPrintout(arg2);
23806
23807 wxPyEndAllowThreads(__tstate);
23808 if (PyErr_Occurred()) SWIG_fail;
23809 }
23810 Py_INCREF(Py_None); resultobj = Py_None;
23811 return resultobj;
23812 fail:
23813 return NULL;
23814}
23815
23816
c32bde28 23817static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23818 PyObject *resultobj;
23819 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23820 wxPyPrintout *result;
23821 PyObject * obj0 = 0 ;
23822 char *kwnames[] = {
23823 (char *) "self", NULL
23824 };
23825
23826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
15afbcd0
RD
23827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23829 {
23830 PyThreadState* __tstate = wxPyBeginAllowThreads();
23831 result = (wxPyPrintout *)(arg1)->GetPrintout();
23832
23833 wxPyEndAllowThreads(__tstate);
23834 if (PyErr_Occurred()) SWIG_fail;
23835 }
23836 {
412d302d 23837 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
23838 }
23839 return resultobj;
23840 fail:
23841 return NULL;
23842}
23843
23844
c32bde28 23845static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23846 PyObject *resultobj;
23847 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23848 wxPyPrintout *result;
23849 PyObject * obj0 = 0 ;
23850 char *kwnames[] = {
23851 (char *) "self", NULL
23852 };
23853
23854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
15afbcd0
RD
23855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23857 {
23858 PyThreadState* __tstate = wxPyBeginAllowThreads();
23859 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
23860
23861 wxPyEndAllowThreads(__tstate);
23862 if (PyErr_Occurred()) SWIG_fail;
23863 }
23864 {
412d302d 23865 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
23866 }
23867 return resultobj;
23868 fail:
23869 return NULL;
23870}
23871
23872
c32bde28 23873static PyObject *_wrap_PrintPreview_SetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23874 PyObject *resultobj;
23875 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23876 wxFrame *arg2 = (wxFrame *) 0 ;
23877 PyObject * obj0 = 0 ;
23878 PyObject * obj1 = 0 ;
23879 char *kwnames[] = {
23880 (char *) "self",(char *) "frame", NULL
23881 };
23882
23883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23886 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
23887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23888 {
23889 PyThreadState* __tstate = wxPyBeginAllowThreads();
23890 (arg1)->SetFrame(arg2);
23891
23892 wxPyEndAllowThreads(__tstate);
23893 if (PyErr_Occurred()) SWIG_fail;
23894 }
23895 Py_INCREF(Py_None); resultobj = Py_None;
23896 return resultobj;
23897 fail:
23898 return NULL;
23899}
23900
23901
c32bde28 23902static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23903 PyObject *resultobj;
23904 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23905 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23906 PyObject * obj0 = 0 ;
23907 PyObject * obj1 = 0 ;
23908 char *kwnames[] = {
23909 (char *) "self",(char *) "canvas", NULL
23910 };
23911
23912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23915 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23917 {
23918 PyThreadState* __tstate = wxPyBeginAllowThreads();
23919 (arg1)->SetCanvas(arg2);
23920
23921 wxPyEndAllowThreads(__tstate);
23922 if (PyErr_Occurred()) SWIG_fail;
23923 }
23924 Py_INCREF(Py_None); resultobj = Py_None;
23925 return resultobj;
23926 fail:
23927 return NULL;
23928}
23929
23930
c32bde28 23931static PyObject *_wrap_PrintPreview_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23932 PyObject *resultobj;
23933 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23934 wxFrame *result;
23935 PyObject * obj0 = 0 ;
23936 char *kwnames[] = {
23937 (char *) "self", NULL
23938 };
23939
23940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
15afbcd0
RD
23941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23943 {
23944 PyThreadState* __tstate = wxPyBeginAllowThreads();
23945 result = (wxFrame *)(arg1)->GetFrame();
23946
23947 wxPyEndAllowThreads(__tstate);
23948 if (PyErr_Occurred()) SWIG_fail;
23949 }
23950 {
412d302d 23951 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
23952 }
23953 return resultobj;
23954 fail:
23955 return NULL;
23956}
23957
23958
c32bde28 23959static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23960 PyObject *resultobj;
23961 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23962 wxPreviewCanvas *result;
23963 PyObject * obj0 = 0 ;
23964 char *kwnames[] = {
23965 (char *) "self", NULL
23966 };
23967
23968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
15afbcd0
RD
23969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23971 {
23972 PyThreadState* __tstate = wxPyBeginAllowThreads();
23973 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
23974
23975 wxPyEndAllowThreads(__tstate);
23976 if (PyErr_Occurred()) SWIG_fail;
23977 }
15afbcd0 23978 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
d14a1e28
RD
23979 return resultobj;
23980 fail:
23981 return NULL;
23982}
23983
23984
c32bde28 23985static PyObject *_wrap_PrintPreview_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23986 PyObject *resultobj;
23987 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23988 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23989 wxDC *arg3 = 0 ;
23990 bool result;
23991 PyObject * obj0 = 0 ;
23992 PyObject * obj1 = 0 ;
23993 PyObject * obj2 = 0 ;
23994 char *kwnames[] = {
23995 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23996 };
23997
23998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
23999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24001 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24003 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
24004 SWIG_POINTER_EXCEPTION | 0)) == -1)
24005 SWIG_fail;
d14a1e28 24006 if (arg3 == NULL) {
15afbcd0
RD
24007 PyErr_SetString(PyExc_TypeError,"null reference");
24008 SWIG_fail;
d14a1e28
RD
24009 }
24010 {
24011 PyThreadState* __tstate = wxPyBeginAllowThreads();
24012 result = (bool)(arg1)->PaintPage(arg2,*arg3);
24013
24014 wxPyEndAllowThreads(__tstate);
24015 if (PyErr_Occurred()) SWIG_fail;
24016 }
4f89f6a3
RD
24017 {
24018 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24019 }
d14a1e28
RD
24020 return resultobj;
24021 fail:
24022 return NULL;
24023}
24024
24025
c32bde28 24026static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24027 PyObject *resultobj;
24028 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24029 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24030 wxDC *arg3 = 0 ;
24031 bool result;
24032 PyObject * obj0 = 0 ;
24033 PyObject * obj1 = 0 ;
24034 PyObject * obj2 = 0 ;
24035 char *kwnames[] = {
24036 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24037 };
24038
24039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
24040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24042 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24044 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
24045 SWIG_POINTER_EXCEPTION | 0)) == -1)
24046 SWIG_fail;
d14a1e28 24047 if (arg3 == NULL) {
15afbcd0
RD
24048 PyErr_SetString(PyExc_TypeError,"null reference");
24049 SWIG_fail;
d14a1e28
RD
24050 }
24051 {
24052 PyThreadState* __tstate = wxPyBeginAllowThreads();
24053 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
24054
24055 wxPyEndAllowThreads(__tstate);
24056 if (PyErr_Occurred()) SWIG_fail;
24057 }
4f89f6a3
RD
24058 {
24059 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24060 }
d14a1e28
RD
24061 return resultobj;
24062 fail:
24063 return NULL;
24064}
24065
24066
c32bde28 24067static PyObject *_wrap_PrintPreview_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24068 PyObject *resultobj;
24069 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24070 int arg2 ;
24071 bool result;
24072 PyObject * obj0 = 0 ;
994141e6 24073 PyObject * obj1 = 0 ;
d14a1e28
RD
24074 char *kwnames[] = {
24075 (char *) "self",(char *) "pageNum", NULL
24076 };
24077
994141e6 24078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24081 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 24082 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24083 {
24084 PyThreadState* __tstate = wxPyBeginAllowThreads();
24085 result = (bool)(arg1)->RenderPage(arg2);
24086
24087 wxPyEndAllowThreads(__tstate);
24088 if (PyErr_Occurred()) SWIG_fail;
24089 }
4f89f6a3
RD
24090 {
24091 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24092 }
d14a1e28
RD
24093 return resultobj;
24094 fail:
24095 return NULL;
24096}
24097
24098
c32bde28 24099static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24100 PyObject *resultobj;
24101 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24102 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24103 PyObject * obj0 = 0 ;
24104 PyObject * obj1 = 0 ;
24105 char *kwnames[] = {
24106 (char *) "self",(char *) "canvas", NULL
24107 };
24108
24109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24112 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24114 {
24115 PyThreadState* __tstate = wxPyBeginAllowThreads();
24116 (arg1)->AdjustScrollbars(arg2);
24117
24118 wxPyEndAllowThreads(__tstate);
24119 if (PyErr_Occurred()) SWIG_fail;
24120 }
24121 Py_INCREF(Py_None); resultobj = Py_None;
24122 return resultobj;
24123 fail:
24124 return NULL;
24125}
24126
24127
c32bde28 24128static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24129 PyObject *resultobj;
24130 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24131 wxPrintDialogData *result;
24132 PyObject * obj0 = 0 ;
24133 char *kwnames[] = {
24134 (char *) "self", NULL
24135 };
24136
24137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
15afbcd0
RD
24138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24140 {
24141 PyThreadState* __tstate = wxPyBeginAllowThreads();
24142 {
24143 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
24144 result = (wxPrintDialogData *) &_result_ref;
24145 }
24146
24147 wxPyEndAllowThreads(__tstate);
24148 if (PyErr_Occurred()) SWIG_fail;
24149 }
15afbcd0 24150 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
d14a1e28
RD
24151 return resultobj;
24152 fail:
24153 return NULL;
24154}
24155
24156
c32bde28 24157static PyObject *_wrap_PrintPreview_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24158 PyObject *resultobj;
24159 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24160 int arg2 ;
24161 PyObject * obj0 = 0 ;
994141e6 24162 PyObject * obj1 = 0 ;
d14a1e28
RD
24163 char *kwnames[] = {
24164 (char *) "self",(char *) "percent", NULL
24165 };
24166
994141e6 24167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24170 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 24171 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24172 {
24173 PyThreadState* __tstate = wxPyBeginAllowThreads();
24174 (arg1)->SetZoom(arg2);
24175
24176 wxPyEndAllowThreads(__tstate);
24177 if (PyErr_Occurred()) SWIG_fail;
24178 }
24179 Py_INCREF(Py_None); resultobj = Py_None;
24180 return resultobj;
24181 fail:
24182 return NULL;
24183}
24184
24185
c32bde28 24186static PyObject *_wrap_PrintPreview_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24187 PyObject *resultobj;
24188 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24189 int result;
24190 PyObject * obj0 = 0 ;
24191 char *kwnames[] = {
24192 (char *) "self", NULL
24193 };
24194
24195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
15afbcd0
RD
24196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24198 {
24199 PyThreadState* __tstate = wxPyBeginAllowThreads();
24200 result = (int)(arg1)->GetZoom();
24201
24202 wxPyEndAllowThreads(__tstate);
24203 if (PyErr_Occurred()) SWIG_fail;
24204 }
c32bde28 24205 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
24206 return resultobj;
24207 fail:
24208 return NULL;
24209}
24210
24211
c32bde28 24212static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24213 PyObject *resultobj;
24214 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24215 int result;
24216 PyObject * obj0 = 0 ;
24217 char *kwnames[] = {
24218 (char *) "self", NULL
24219 };
24220
24221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
15afbcd0
RD
24222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24224 {
24225 PyThreadState* __tstate = wxPyBeginAllowThreads();
24226 result = (int)(arg1)->GetMaxPage();
24227
24228 wxPyEndAllowThreads(__tstate);
24229 if (PyErr_Occurred()) SWIG_fail;
24230 }
c32bde28 24231 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
24232 return resultobj;
24233 fail:
24234 return NULL;
24235}
24236
24237
c32bde28 24238static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24239 PyObject *resultobj;
24240 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24241 int result;
24242 PyObject * obj0 = 0 ;
24243 char *kwnames[] = {
24244 (char *) "self", NULL
24245 };
24246
24247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
15afbcd0
RD
24248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24250 {
24251 PyThreadState* __tstate = wxPyBeginAllowThreads();
24252 result = (int)(arg1)->GetMinPage();
24253
24254 wxPyEndAllowThreads(__tstate);
24255 if (PyErr_Occurred()) SWIG_fail;
24256 }
c32bde28 24257 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
24258 return resultobj;
24259 fail:
24260 return NULL;
24261}
24262
24263
c32bde28 24264static PyObject *_wrap_PrintPreview_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24265 PyObject *resultobj;
24266 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24267 bool result;
24268 PyObject * obj0 = 0 ;
24269 char *kwnames[] = {
24270 (char *) "self", NULL
24271 };
24272
24273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
15afbcd0
RD
24274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24276 {
24277 PyThreadState* __tstate = wxPyBeginAllowThreads();
24278 result = (bool)(arg1)->Ok();
24279
24280 wxPyEndAllowThreads(__tstate);
24281 if (PyErr_Occurred()) SWIG_fail;
24282 }
4f89f6a3
RD
24283 {
24284 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24285 }
d14a1e28
RD
24286 return resultobj;
24287 fail:
24288 return NULL;
24289}
24290
24291
c32bde28 24292static PyObject *_wrap_PrintPreview_SetOk(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24293 PyObject *resultobj;
24294 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24295 bool arg2 ;
24296 PyObject * obj0 = 0 ;
24297 PyObject * obj1 = 0 ;
24298 char *kwnames[] = {
24299 (char *) "self",(char *) "ok", NULL
24300 };
24301
24302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24305 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 24306 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24307 {
24308 PyThreadState* __tstate = wxPyBeginAllowThreads();
24309 (arg1)->SetOk(arg2);
24310
24311 wxPyEndAllowThreads(__tstate);
24312 if (PyErr_Occurred()) SWIG_fail;
24313 }
24314 Py_INCREF(Py_None); resultobj = Py_None;
24315 return resultobj;
24316 fail:
24317 return NULL;
24318}
24319
24320
c32bde28 24321static PyObject *_wrap_PrintPreview_Print(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24322 PyObject *resultobj;
24323 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24324 bool arg2 ;
24325 bool result;
24326 PyObject * obj0 = 0 ;
24327 PyObject * obj1 = 0 ;
24328 char *kwnames[] = {
24329 (char *) "self",(char *) "interactive", NULL
24330 };
24331
24332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24335 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 24336 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24337 {
24338 PyThreadState* __tstate = wxPyBeginAllowThreads();
24339 result = (bool)(arg1)->Print(arg2);
24340
24341 wxPyEndAllowThreads(__tstate);
24342 if (PyErr_Occurred()) SWIG_fail;
24343 }
4f89f6a3
RD
24344 {
24345 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24346 }
d14a1e28
RD
24347 return resultobj;
24348 fail:
24349 return NULL;
24350}
24351
24352
c32bde28 24353static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24354 PyObject *resultobj;
24355 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24356 PyObject * obj0 = 0 ;
24357 char *kwnames[] = {
24358 (char *) "self", NULL
24359 };
24360
24361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
15afbcd0
RD
24362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24364 {
24365 PyThreadState* __tstate = wxPyBeginAllowThreads();
24366 (arg1)->DetermineScaling();
24367
24368 wxPyEndAllowThreads(__tstate);
24369 if (PyErr_Occurred()) SWIG_fail;
24370 }
24371 Py_INCREF(Py_None); resultobj = Py_None;
24372 return resultobj;
24373 fail:
24374 return NULL;
24375}
24376
24377
c32bde28 24378static PyObject * PrintPreview_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
24379 PyObject *obj;
24380 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24381 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
24382 Py_INCREF(obj);
24383 return Py_BuildValue((char *)"");
24384}
c32bde28 24385static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
24386 PyObject *resultobj;
24387 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24388 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
4276dc52 24389 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
d14a1e28
RD
24390 wxPyPrintPreview *result;
24391 PyObject * obj0 = 0 ;
24392 PyObject * obj1 = 0 ;
24393 PyObject * obj2 = 0 ;
d14a1e28 24394
4276dc52 24395 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
24396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
24397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24398 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
24399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 24400 if (obj2) {
4276dc52 24401 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
15afbcd0 24402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24403 }
24404 {
e3b71cb8 24405 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
24406 PyThreadState* __tstate = wxPyBeginAllowThreads();
24407 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
24408
24409 wxPyEndAllowThreads(__tstate);
110da5b0 24410 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 24411 }
15afbcd0 24412 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
d14a1e28
RD
24413 return resultobj;
24414 fail:
24415 return NULL;
24416}
24417
24418
c32bde28 24419static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *, PyObject *args) {
4276dc52
RD
24420 PyObject *resultobj;
24421 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24422 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
24423 wxPrintData *arg3 = (wxPrintData *) 0 ;
24424 wxPyPrintPreview *result;
24425 PyObject * obj0 = 0 ;
24426 PyObject * obj1 = 0 ;
24427 PyObject * obj2 = 0 ;
24428
24429 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
24430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
24431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24432 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
24433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24434 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
24435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24436 {
e3b71cb8 24437 if (!wxPyCheckForApp()) SWIG_fail;
4276dc52
RD
24438 PyThreadState* __tstate = wxPyBeginAllowThreads();
24439 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
24440
24441 wxPyEndAllowThreads(__tstate);
110da5b0 24442 if (PyErr_Occurred()) SWIG_fail;
4276dc52
RD
24443 }
24444 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
24445 return resultobj;
24446 fail:
24447 return NULL;
24448}
24449
24450
24451static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
24452 int argc;
24453 PyObject *argv[4];
24454 int ii;
24455
24456 argc = PyObject_Length(args);
24457 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
24458 argv[ii] = PyTuple_GetItem(args,ii);
24459 }
24460 if ((argc >= 2) && (argc <= 3)) {
24461 int _v;
24462 {
24463 void *ptr;
24464 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24465 _v = 0;
24466 PyErr_Clear();
24467 } else {
24468 _v = 1;
24469 }
24470 }
24471 if (_v) {
24472 {
24473 void *ptr;
24474 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24475 _v = 0;
24476 PyErr_Clear();
24477 } else {
24478 _v = 1;
24479 }
24480 }
24481 if (_v) {
24482 if (argc <= 2) {
24483 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
24484 }
24485 {
24486 void *ptr;
24487 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
24488 _v = 0;
24489 PyErr_Clear();
24490 } else {
24491 _v = 1;
24492 }
24493 }
24494 if (_v) {
24495 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
24496 }
24497 }
24498 }
24499 }
24500 if (argc == 3) {
24501 int _v;
24502 {
24503 void *ptr;
24504 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24505 _v = 0;
24506 PyErr_Clear();
24507 } else {
24508 _v = 1;
24509 }
24510 }
24511 if (_v) {
24512 {
24513 void *ptr;
24514 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24515 _v = 0;
24516 PyErr_Clear();
24517 } else {
24518 _v = 1;
24519 }
24520 }
24521 if (_v) {
24522 {
24523 void *ptr;
24524 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
24525 _v = 0;
24526 PyErr_Clear();
24527 } else {
24528 _v = 1;
24529 }
24530 }
24531 if (_v) {
24532 return _wrap_new_PyPrintPreview__SWIG_1(self,args);
24533 }
24534 }
24535 }
24536 }
24537
24538 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PyPrintPreview'");
24539 return NULL;
24540}
24541
24542
c32bde28 24543static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24544 PyObject *resultobj;
24545 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24546 PyObject *arg2 = (PyObject *) 0 ;
24547 PyObject *arg3 = (PyObject *) 0 ;
24548 PyObject * obj0 = 0 ;
24549 PyObject * obj1 = 0 ;
24550 PyObject * obj2 = 0 ;
24551 char *kwnames[] = {
24552 (char *) "self",(char *) "self",(char *) "_class", NULL
24553 };
24554
24555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
24556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24558 arg2 = obj1;
24559 arg3 = obj2;
24560 {
24561 PyThreadState* __tstate = wxPyBeginAllowThreads();
24562 (arg1)->_setCallbackInfo(arg2,arg3);
24563
24564 wxPyEndAllowThreads(__tstate);
24565 if (PyErr_Occurred()) SWIG_fail;
24566 }
24567 Py_INCREF(Py_None); resultobj = Py_None;
24568 return resultobj;
24569 fail:
24570 return NULL;
24571}
24572
24573
c32bde28 24574static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24575 PyObject *resultobj;
24576 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24577 int arg2 ;
24578 bool result;
24579 PyObject * obj0 = 0 ;
994141e6 24580 PyObject * obj1 = 0 ;
d14a1e28
RD
24581 char *kwnames[] = {
24582 (char *) "self",(char *) "pageNum", NULL
24583 };
24584
994141e6 24585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24588 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 24589 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24590 {
24591 PyThreadState* __tstate = wxPyBeginAllowThreads();
24592 result = (bool)(arg1)->base_SetCurrentPage(arg2);
24593
24594 wxPyEndAllowThreads(__tstate);
24595 if (PyErr_Occurred()) SWIG_fail;
24596 }
4f89f6a3
RD
24597 {
24598 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24599 }
d14a1e28
RD
24600 return resultobj;
24601 fail:
24602 return NULL;
24603}
24604
24605
c32bde28 24606static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24607 PyObject *resultobj;
24608 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24609 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24610 wxDC *arg3 = 0 ;
24611 bool result;
24612 PyObject * obj0 = 0 ;
24613 PyObject * obj1 = 0 ;
24614 PyObject * obj2 = 0 ;
24615 char *kwnames[] = {
24616 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24617 };
24618
24619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
24620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24622 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24624 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
24625 SWIG_POINTER_EXCEPTION | 0)) == -1)
24626 SWIG_fail;
d14a1e28 24627 if (arg3 == NULL) {
15afbcd0
RD
24628 PyErr_SetString(PyExc_TypeError,"null reference");
24629 SWIG_fail;
d14a1e28
RD
24630 }
24631 {
24632 PyThreadState* __tstate = wxPyBeginAllowThreads();
24633 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
24634
24635 wxPyEndAllowThreads(__tstate);
24636 if (PyErr_Occurred()) SWIG_fail;
24637 }
4f89f6a3
RD
24638 {
24639 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24640 }
d14a1e28
RD
24641 return resultobj;
24642 fail:
24643 return NULL;
24644}
24645
24646
c32bde28 24647static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24648 PyObject *resultobj;
24649 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24650 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24651 wxDC *arg3 = 0 ;
24652 bool result;
24653 PyObject * obj0 = 0 ;
24654 PyObject * obj1 = 0 ;
24655 PyObject * obj2 = 0 ;
24656 char *kwnames[] = {
24657 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24658 };
24659
24660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
24661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24663 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24665 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
24666 SWIG_POINTER_EXCEPTION | 0)) == -1)
24667 SWIG_fail;
d14a1e28 24668 if (arg3 == NULL) {
15afbcd0
RD
24669 PyErr_SetString(PyExc_TypeError,"null reference");
24670 SWIG_fail;
d14a1e28
RD
24671 }
24672 {
24673 PyThreadState* __tstate = wxPyBeginAllowThreads();
24674 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
24675
24676 wxPyEndAllowThreads(__tstate);
24677 if (PyErr_Occurred()) SWIG_fail;
24678 }
4f89f6a3
RD
24679 {
24680 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24681 }
d14a1e28
RD
24682 return resultobj;
24683 fail:
24684 return NULL;
24685}
24686
24687
c32bde28 24688static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24689 PyObject *resultobj;
24690 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24691 int arg2 ;
24692 bool result;
24693 PyObject * obj0 = 0 ;
994141e6 24694 PyObject * obj1 = 0 ;
d14a1e28
RD
24695 char *kwnames[] = {
24696 (char *) "self",(char *) "pageNum", NULL
24697 };
24698
994141e6 24699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24702 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 24703 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24704 {
24705 PyThreadState* __tstate = wxPyBeginAllowThreads();
24706 result = (bool)(arg1)->base_RenderPage(arg2);
24707
24708 wxPyEndAllowThreads(__tstate);
24709 if (PyErr_Occurred()) SWIG_fail;
24710 }
4f89f6a3
RD
24711 {
24712 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24713 }
d14a1e28
RD
24714 return resultobj;
24715 fail:
24716 return NULL;
24717}
24718
24719
c32bde28 24720static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24721 PyObject *resultobj;
24722 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24723 int arg2 ;
24724 PyObject * obj0 = 0 ;
994141e6 24725 PyObject * obj1 = 0 ;
d14a1e28
RD
24726 char *kwnames[] = {
24727 (char *) "self",(char *) "percent", NULL
24728 };
24729
994141e6 24730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24731 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24733 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 24734 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24735 {
24736 PyThreadState* __tstate = wxPyBeginAllowThreads();
24737 (arg1)->base_SetZoom(arg2);
24738
24739 wxPyEndAllowThreads(__tstate);
24740 if (PyErr_Occurred()) SWIG_fail;
24741 }
24742 Py_INCREF(Py_None); resultobj = Py_None;
24743 return resultobj;
24744 fail:
24745 return NULL;
24746}
24747
24748
c32bde28 24749static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24750 PyObject *resultobj;
24751 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24752 bool arg2 ;
24753 bool result;
24754 PyObject * obj0 = 0 ;
24755 PyObject * obj1 = 0 ;
24756 char *kwnames[] = {
24757 (char *) "self",(char *) "interactive", NULL
24758 };
24759
24760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24763 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 24764 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24765 {
24766 PyThreadState* __tstate = wxPyBeginAllowThreads();
24767 result = (bool)(arg1)->base_Print(arg2);
24768
24769 wxPyEndAllowThreads(__tstate);
24770 if (PyErr_Occurred()) SWIG_fail;
24771 }
4f89f6a3
RD
24772 {
24773 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24774 }
d14a1e28
RD
24775 return resultobj;
24776 fail:
24777 return NULL;
24778}
24779
24780
c32bde28 24781static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24782 PyObject *resultobj;
24783 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24784 PyObject * obj0 = 0 ;
24785 char *kwnames[] = {
24786 (char *) "self", NULL
24787 };
24788
24789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
15afbcd0
RD
24790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24792 {
24793 PyThreadState* __tstate = wxPyBeginAllowThreads();
24794 (arg1)->base_DetermineScaling();
24795
24796 wxPyEndAllowThreads(__tstate);
24797 if (PyErr_Occurred()) SWIG_fail;
24798 }
24799 Py_INCREF(Py_None); resultobj = Py_None;
24800 return resultobj;
24801 fail:
24802 return NULL;
24803}
24804
24805
c32bde28 24806static PyObject * PyPrintPreview_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
24807 PyObject *obj;
24808 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24809 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
24810 Py_INCREF(obj);
24811 return Py_BuildValue((char *)"");
24812}
c32bde28 24813static PyObject *_wrap_new_PyPreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24814 PyObject *resultobj;
24815 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24816 wxFrame *arg2 = (wxFrame *) 0 ;
24817 wxString *arg3 = 0 ;
24818 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24819 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24820 wxSize const &arg5_defvalue = wxDefaultSize ;
24821 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24822 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
24823 wxString const &arg7_defvalue = wxPyFrameNameStr ;
24824 wxString *arg7 = (wxString *) &arg7_defvalue ;
24825 wxPyPreviewFrame *result;
ae8162c8 24826 bool temp3 = false ;
d14a1e28
RD
24827 wxPoint temp4 ;
24828 wxSize temp5 ;
ae8162c8 24829 bool temp7 = false ;
d14a1e28
RD
24830 PyObject * obj0 = 0 ;
24831 PyObject * obj1 = 0 ;
24832 PyObject * obj2 = 0 ;
24833 PyObject * obj3 = 0 ;
24834 PyObject * obj4 = 0 ;
994141e6 24835 PyObject * obj5 = 0 ;
d14a1e28
RD
24836 PyObject * obj6 = 0 ;
24837 char *kwnames[] = {
24838 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24839 };
24840
994141e6 24841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
24842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24844 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
24845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24846 {
24847 arg3 = wxString_in_helper(obj2);
24848 if (arg3 == NULL) SWIG_fail;
ae8162c8 24849 temp3 = true;
d14a1e28
RD
24850 }
24851 if (obj3) {
24852 {
24853 arg4 = &temp4;
24854 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24855 }
24856 }
24857 if (obj4) {
24858 {
24859 arg5 = &temp5;
24860 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24861 }
24862 }
994141e6 24863 if (obj5) {
c32bde28 24864 arg6 = (long)SWIG_As_long(obj5);
15afbcd0 24865 if (PyErr_Occurred()) SWIG_fail;
994141e6 24866 }
d14a1e28
RD
24867 if (obj6) {
24868 {
24869 arg7 = wxString_in_helper(obj6);
24870 if (arg7 == NULL) SWIG_fail;
ae8162c8 24871 temp7 = true;
d14a1e28
RD
24872 }
24873 }
24874 {
e3b71cb8 24875 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
24876 PyThreadState* __tstate = wxPyBeginAllowThreads();
24877 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
24878
24879 wxPyEndAllowThreads(__tstate);
110da5b0 24880 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 24881 }
15afbcd0 24882 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
d14a1e28
RD
24883 {
24884 if (temp3)
24885 delete arg3;
24886 }
24887 {
24888 if (temp7)
24889 delete arg7;
24890 }
24891 return resultobj;
24892 fail:
24893 {
24894 if (temp3)
24895 delete arg3;
24896 }
24897 {
24898 if (temp7)
24899 delete arg7;
24900 }
24901 return NULL;
24902}
24903
24904
c32bde28 24905static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24906 PyObject *resultobj;
24907 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24908 PyObject *arg2 = (PyObject *) 0 ;
24909 PyObject *arg3 = (PyObject *) 0 ;
24910 PyObject * obj0 = 0 ;
24911 PyObject * obj1 = 0 ;
24912 PyObject * obj2 = 0 ;
24913 char *kwnames[] = {
24914 (char *) "self",(char *) "self",(char *) "_class", NULL
24915 };
24916
24917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
24918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24920 arg2 = obj1;
24921 arg3 = obj2;
24922 {
24923 PyThreadState* __tstate = wxPyBeginAllowThreads();
24924 (arg1)->_setCallbackInfo(arg2,arg3);
24925
24926 wxPyEndAllowThreads(__tstate);
24927 if (PyErr_Occurred()) SWIG_fail;
24928 }
24929 Py_INCREF(Py_None); resultobj = Py_None;
24930 return resultobj;
24931 fail:
24932 return NULL;
24933}
24934
24935
c32bde28 24936static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24937 PyObject *resultobj;
24938 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24939 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24940 PyObject * obj0 = 0 ;
24941 PyObject * obj1 = 0 ;
24942 char *kwnames[] = {
24943 (char *) "self",(char *) "canvas", NULL
24944 };
24945
24946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24949 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24951 {
24952 PyThreadState* __tstate = wxPyBeginAllowThreads();
24953 (arg1)->SetPreviewCanvas(arg2);
24954
24955 wxPyEndAllowThreads(__tstate);
24956 if (PyErr_Occurred()) SWIG_fail;
24957 }
24958 Py_INCREF(Py_None); resultobj = Py_None;
24959 return resultobj;
24960 fail:
24961 return NULL;
24962}
24963
24964
c32bde28 24965static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24966 PyObject *resultobj;
24967 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24968 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
24969 PyObject * obj0 = 0 ;
24970 PyObject * obj1 = 0 ;
24971 char *kwnames[] = {
24972 (char *) "self",(char *) "bar", NULL
24973 };
24974
24975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24978 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewControlBar,
24979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24980 {
24981 PyThreadState* __tstate = wxPyBeginAllowThreads();
24982 (arg1)->SetControlBar(arg2);
24983
24984 wxPyEndAllowThreads(__tstate);
24985 if (PyErr_Occurred()) SWIG_fail;
24986 }
24987 Py_INCREF(Py_None); resultobj = Py_None;
24988 return resultobj;
24989 fail:
24990 return NULL;
24991}
24992
24993
c32bde28 24994static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24995 PyObject *resultobj;
24996 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24997 PyObject * obj0 = 0 ;
24998 char *kwnames[] = {
24999 (char *) "self", NULL
25000 };
25001
25002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
15afbcd0
RD
25003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
25004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25005 {
25006 PyThreadState* __tstate = wxPyBeginAllowThreads();
25007 (arg1)->base_Initialize();
25008
25009 wxPyEndAllowThreads(__tstate);
25010 if (PyErr_Occurred()) SWIG_fail;
25011 }
25012 Py_INCREF(Py_None); resultobj = Py_None;
25013 return resultobj;
25014 fail:
25015 return NULL;
25016}
25017
25018
c32bde28 25019static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25020 PyObject *resultobj;
25021 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
25022 PyObject * obj0 = 0 ;
25023 char *kwnames[] = {
25024 (char *) "self", NULL
25025 };
25026
25027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
15afbcd0
RD
25028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
25029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25030 {
25031 PyThreadState* __tstate = wxPyBeginAllowThreads();
25032 (arg1)->base_CreateCanvas();
25033
25034 wxPyEndAllowThreads(__tstate);
25035 if (PyErr_Occurred()) SWIG_fail;
25036 }
25037 Py_INCREF(Py_None); resultobj = Py_None;
25038 return resultobj;
25039 fail:
25040 return NULL;
25041}
25042
25043
c32bde28 25044static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25045 PyObject *resultobj;
25046 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
25047 PyObject * obj0 = 0 ;
25048 char *kwnames[] = {
25049 (char *) "self", NULL
25050 };
25051
25052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
15afbcd0
RD
25053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
25054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25055 {
25056 PyThreadState* __tstate = wxPyBeginAllowThreads();
25057 (arg1)->base_CreateControlBar();
25058
25059 wxPyEndAllowThreads(__tstate);
25060 if (PyErr_Occurred()) SWIG_fail;
25061 }
25062 Py_INCREF(Py_None); resultobj = Py_None;
25063 return resultobj;
25064 fail:
25065 return NULL;
25066}
25067
25068
c32bde28 25069static PyObject * PyPreviewFrame_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
25070 PyObject *obj;
25071 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25072 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
25073 Py_INCREF(obj);
25074 return Py_BuildValue((char *)"");
25075}
c32bde28 25076static PyObject *_wrap_new_PyPreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25077 PyObject *resultobj;
25078 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25079 long arg2 ;
25080 wxWindow *arg3 = (wxWindow *) 0 ;
25081 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25082 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25083 wxSize const &arg5_defvalue = wxDefaultSize ;
25084 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25085 long arg6 = (long) 0 ;
25086 wxString const &arg7_defvalue = wxPyPanelNameStr ;
25087 wxString *arg7 = (wxString *) &arg7_defvalue ;
25088 wxPyPreviewControlBar *result;
25089 wxPoint temp4 ;
25090 wxSize temp5 ;
ae8162c8 25091 bool temp7 = false ;
d14a1e28 25092 PyObject * obj0 = 0 ;
994141e6 25093 PyObject * obj1 = 0 ;
d14a1e28
RD
25094 PyObject * obj2 = 0 ;
25095 PyObject * obj3 = 0 ;
25096 PyObject * obj4 = 0 ;
994141e6 25097 PyObject * obj5 = 0 ;
d14a1e28
RD
25098 PyObject * obj6 = 0 ;
25099 char *kwnames[] = {
25100 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25101 };
25102
994141e6 25103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
25104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
25105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 25106 arg2 = (long)SWIG_As_long(obj1);
15afbcd0
RD
25107 if (PyErr_Occurred()) SWIG_fail;
25108 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
25109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25110 if (obj3) {
25111 {
25112 arg4 = &temp4;
25113 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25114 }
25115 }
25116 if (obj4) {
25117 {
25118 arg5 = &temp5;
25119 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25120 }
25121 }
994141e6 25122 if (obj5) {
c32bde28 25123 arg6 = (long)SWIG_As_long(obj5);
15afbcd0 25124 if (PyErr_Occurred()) SWIG_fail;
994141e6 25125 }
d14a1e28
RD
25126 if (obj6) {
25127 {
25128 arg7 = wxString_in_helper(obj6);
25129 if (arg7 == NULL) SWIG_fail;
ae8162c8 25130 temp7 = true;
d14a1e28
RD
25131 }
25132 }
25133 {
e3b71cb8 25134 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
25135 PyThreadState* __tstate = wxPyBeginAllowThreads();
25136 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25137
25138 wxPyEndAllowThreads(__tstate);
110da5b0 25139 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 25140 }
15afbcd0 25141 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
d14a1e28
RD
25142 {
25143 if (temp7)
25144 delete arg7;
25145 }
25146 return resultobj;
25147 fail:
25148 {
25149 if (temp7)
25150 delete arg7;
25151 }
25152 return NULL;
25153}
25154
25155
c32bde28 25156static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25157 PyObject *resultobj;
25158 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
25159 PyObject *arg2 = (PyObject *) 0 ;
25160 PyObject *arg3 = (PyObject *) 0 ;
25161 PyObject * obj0 = 0 ;
25162 PyObject * obj1 = 0 ;
25163 PyObject * obj2 = 0 ;
25164 char *kwnames[] = {
25165 (char *) "self",(char *) "self",(char *) "_class", NULL
25166 };
25167
25168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
25169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
25170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25171 arg2 = obj1;
25172 arg3 = obj2;
25173 {
25174 PyThreadState* __tstate = wxPyBeginAllowThreads();
25175 (arg1)->_setCallbackInfo(arg2,arg3);
25176
25177 wxPyEndAllowThreads(__tstate);
25178 if (PyErr_Occurred()) SWIG_fail;
25179 }
25180 Py_INCREF(Py_None); resultobj = Py_None;
25181 return resultobj;
25182 fail:
25183 return NULL;
25184}
25185
25186
c32bde28 25187static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25188 PyObject *resultobj;
25189 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
25190 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
25191 PyObject * obj0 = 0 ;
25192 PyObject * obj1 = 0 ;
25193 char *kwnames[] = {
25194 (char *) "self",(char *) "preview", NULL
25195 };
25196
25197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
25199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25200 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintPreview,
25201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25202 {
25203 PyThreadState* __tstate = wxPyBeginAllowThreads();
25204 (arg1)->SetPrintPreview(arg2);
25205
25206 wxPyEndAllowThreads(__tstate);
25207 if (PyErr_Occurred()) SWIG_fail;
25208 }
25209 Py_INCREF(Py_None); resultobj = Py_None;
25210 return resultobj;
25211 fail:
25212 return NULL;
25213}
25214
25215
c32bde28 25216static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25217 PyObject *resultobj;
25218 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
25219 PyObject * obj0 = 0 ;
25220 char *kwnames[] = {
25221 (char *) "self", NULL
25222 };
25223
25224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
15afbcd0
RD
25225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
25226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25227 {
25228 PyThreadState* __tstate = wxPyBeginAllowThreads();
25229 (arg1)->base_CreateButtons();
25230
25231 wxPyEndAllowThreads(__tstate);
25232 if (PyErr_Occurred()) SWIG_fail;
25233 }
25234 Py_INCREF(Py_None); resultobj = Py_None;
25235 return resultobj;
25236 fail:
25237 return NULL;
25238}
25239
25240
c32bde28 25241static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25242 PyObject *resultobj;
25243 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
25244 int arg2 ;
25245 PyObject * obj0 = 0 ;
994141e6 25246 PyObject * obj1 = 0 ;
d14a1e28
RD
25247 char *kwnames[] = {
25248 (char *) "self",(char *) "zoom", NULL
25249 };
25250
994141e6 25251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
25253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 25254 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 25255 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25256 {
25257 PyThreadState* __tstate = wxPyBeginAllowThreads();
25258 (arg1)->base_SetZoomControl(arg2);
25259
25260 wxPyEndAllowThreads(__tstate);
25261 if (PyErr_Occurred()) SWIG_fail;
25262 }
25263 Py_INCREF(Py_None); resultobj = Py_None;
25264 return resultobj;
25265 fail:
25266 return NULL;
25267}
25268
25269
c32bde28 25270static PyObject * PyPreviewControlBar_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
25271 PyObject *obj;
25272 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25273 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
25274 Py_INCREF(obj);
25275 return Py_BuildValue((char *)"");
25276}
25277static PyMethodDef SwigMethods[] = {
c32bde28
RD
25278 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL },
25279 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS, NULL },
25280 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25281 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25282 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25283 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL },
25284 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25285 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25286 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25287 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL },
25288 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL },
25289 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
25290 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
25291 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL },
25292 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS, NULL },
25293 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL },
25294 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS, NULL },
25295 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL },
25296 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS, NULL },
25297 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS, NULL },
25298 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL },
25299 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL },
25300 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL },
25301 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL },
25302 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25303 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25304 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL },
25305 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25306 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL },
25307 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL },
25308 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS, NULL },
25309 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL },
25310 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS, NULL },
25311 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS, NULL },
25312 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25313 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25314 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL },
25315 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL },
25316 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS, NULL },
25317 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
25318 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
25319 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL },
25320 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL },
b6294124 25321 { (char *)"TopLevelWindow_IsActive", (PyCFunction) _wrap_TopLevelWindow_IsActive, METH_VARARGS | METH_KEYWORDS, NULL },
84f85550
RD
25322 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL },
25323 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacGetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL },
c32bde28
RD
25324 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL },
25325 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL },
25326 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25327 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25328 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS, NULL },
25329 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25330 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL },
25331 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL },
25332 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL },
25333 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
25334 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
25335 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
25336 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25337 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL },
25338 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25339 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25340 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL },
25341 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL },
25342 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
25343 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
25344 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
25345 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25346 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL },
25347 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25348 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL },
25349 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL },
25350 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25351 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25352 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL },
25353 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL },
25354 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL },
25355 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL },
25356 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS, NULL },
25357 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL },
25358 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL },
25359 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25360 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL },
25361 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25362 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25363 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25364 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL },
25365 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25366 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
25367 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
25368 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL },
25369 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL },
25370 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS, NULL },
25371 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25372 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS, NULL },
25373 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL },
25374 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
25375 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
25376 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25377 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL },
25378 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL },
25379 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25380 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25381 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25382 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25383 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL },
25384 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL },
25385 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL },
25386 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL },
25387 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS, NULL },
25388 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS, NULL },
25389 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25390 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL },
25391 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25392 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25393 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25394 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS, NULL },
25395 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS, NULL },
25396 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL },
25397 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL },
25398 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL },
25399 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL },
25400 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL },
25401 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL },
25402 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25403 { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS, NULL },
25404 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS, NULL },
25405 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL },
25406 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25407 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS, NULL },
25408 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25409 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25410 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25411 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL },
25412 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL },
25413 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL },
25414 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL },
25415 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL },
25416 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL },
25417 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25418 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL },
25419 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25420 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25421 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25422 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS, NULL },
25423 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL },
25424 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL },
25425 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL },
25426 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25427 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25428 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25429 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL },
25430 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL },
25431 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL },
25432 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL },
25433 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL },
25434 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25435 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25436 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25437 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25438 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
25439 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
25440 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
25441 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
25442 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
25443 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
25444 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
25445 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
25446 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL },
25447 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL },
25448 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL },
25449 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25450 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL },
25451 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS, NULL },
25452 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL },
25453 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS, NULL },
25454 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL },
25455 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL },
25456 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL },
25457 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25458 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL },
25459 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL },
25460 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25461 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25462 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25463 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25464 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25465 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25466 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
25467 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
25468 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL },
25469 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25470 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25471 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25472 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL },
25473 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL },
25474 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL },
25475 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25476 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25477 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25478 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
25479 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25480 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
25481 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL },
25482 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25483 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL },
25484 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL },
25485 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL },
25486 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25487 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25488 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25489 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL },
25490 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25491 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25492 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25493 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS, NULL },
25494 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL },
25495 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25496 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25497 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25498 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS, NULL },
25499 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS, NULL },
25500 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL },
25501 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25502 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL },
25503 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS, NULL },
25504 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL },
25505 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25506 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25507 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25508 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25509 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL },
25510 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL },
25511 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS, NULL },
25512 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS, NULL },
25513 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL },
25514 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL },
25515 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL },
25516 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
25517 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL },
25518 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL },
25519 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL },
25520 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL },
25521 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL },
25522 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL },
25523 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL },
25524 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS, NULL },
25525 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25526 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25527 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
25528 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25529 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25530 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL },
25531 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL },
25532 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS, NULL },
25533 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL },
25534 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL },
25535 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25536 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25537 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
25538 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS, NULL },
25539 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25540 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL },
25541 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL },
25542 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL },
25543 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL },
25544 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL },
25545 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25546 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL },
25547 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25548 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL },
25549 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL },
25550 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL },
25551 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25552 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25553 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL },
25554 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
25555 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction) _wrap_HtmlListBox_GetFileSystem, METH_VARARGS | METH_KEYWORDS, NULL },
25556 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL },
25557 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL },
5e483524 25558 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
c32bde28
RD
25559 { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
25560 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS, NULL },
25561 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS, NULL },
25562 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25563 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25564 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL },
25565 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL },
25566 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25567 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL },
25568 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS, NULL },
25569 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS, NULL },
25570 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL },
25571 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25572 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL },
25573 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL },
25574 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25575 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL },
25576 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL },
25577 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25578 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS, NULL },
25579 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL },
25580 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25581 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL },
25582 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
25583 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
25584 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
25585 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL },
25586 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL },
25587 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25588 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
25589 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL },
25590 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL },
25591 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
25592 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL },
25593 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
25594 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL },
25595 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
25596 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL },
25597 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS, NULL },
25598 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
25599 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS, NULL },
25600 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
25601 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL },
25602 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS, NULL },
25603 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS, NULL },
25604 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL },
25605 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25606 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL },
25607 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL },
25608 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL },
25609 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25610 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25611 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25612 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25613 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL },
25614 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25615 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
25616 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
25617 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL },
25618 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS, NULL },
25619 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS, NULL },
25620 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL },
25621 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL },
25622 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25623 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL },
25624 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS, NULL },
25625 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL },
25626 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25627 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL },
25628 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL },
25629 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25630 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL },
25631 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL },
25632 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25633 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL },
25634 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25635 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS, NULL },
25636 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL },
25637 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25638 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL },
25639 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25640 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL },
25641 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS, NULL },
25642 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL },
25643 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25644 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25645 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
25646 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
25647 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25648 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25649 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
25650 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
25651 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL },
25652 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL },
25653 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL },
25654 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
25655 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
25656 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25657 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25658 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
25659 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
25660 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL },
25661 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25662 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25663 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25664 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
25665 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
25666 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL },
25667 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25668 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25669 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25670 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS, NULL },
25671 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS, NULL },
25672 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS, NULL },
25673 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS, NULL },
25674 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS, NULL },
25675 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25676 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
25677 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL },
25678 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL },
25679 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25680 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25681 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25682 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS, NULL },
25683 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS, NULL },
25684 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS, NULL },
25685 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL },
25686 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25687 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25688 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25689 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL },
25690 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25691 { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25692 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25693 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25694 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25695 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25696 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25697 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25698 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25699 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25700 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25701 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25702 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25703 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25704 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25705 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25706 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
25707 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
25708 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
25709 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
25710 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
25711 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
25712 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL },
25713 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25714 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25715 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL },
25716 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL },
25717 { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS, NULL },
25718 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25719 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25720 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25721 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25722 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25723 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25724 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25725 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25726 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25727 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25728 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25729 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25730 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25731 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25732 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
25733 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
25734 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
25735 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
25736 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
25737 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
25738 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL },
25739 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyPanel_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25740 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction) _wrap_PyPanel_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25741 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL },
25742 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25743 { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25744 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25745 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25746 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25747 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25748 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25749 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25750 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25751 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25752 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25753 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25754 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25755 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25756 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25757 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25758 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
25759 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
25760 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
25761 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
25762 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
25763 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
25764 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL },
25765 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25766 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyScrolledWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25767 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL },
25768 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL },
25769 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS, NULL },
25770 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
25771 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
25772 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25773 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
25774 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL },
25775 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25776 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS, NULL },
25777 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
25778 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
25779 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS, NULL },
2ef75293 25780 { (char *)"PrintData_GetBin", (PyCFunction) _wrap_PrintData_GetBin, METH_VARARGS | METH_KEYWORDS, NULL },
c32bde28
RD
25781 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
25782 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
25783 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25784 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL },
25785 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25786 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL },
25787 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
25788 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
25789 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL },
2ef75293 25790 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL },
c32bde28
RD
25791 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL },
25792 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL },
25793 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL },
25794 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
25795 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL },
25796 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL },
25797 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL },
25798 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL },
25799 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL },
25800 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL },
25801 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL },
25802 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL },
25803 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL },
25804 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
25805 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL },
25806 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL },
25807 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL },
25808 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS, NULL },
25809 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL },
25810 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL },
25811 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS, NULL },
25812 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL },
25813 { (char *)"PrintData_GetOutputStream", (PyCFunction) _wrap_PrintData_GetOutputStream, METH_VARARGS | METH_KEYWORDS, NULL },
25814 { (char *)"PrintData_SetOutputStream", (PyCFunction) _wrap_PrintData_SetOutputStream, METH_VARARGS | METH_KEYWORDS, NULL },
25815 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL },
25816 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL },
25817 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
25818 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25819 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25820 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25821 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL },
25822 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL },
25823 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25824 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25825 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25826 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS, NULL },
25827 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL },
25828 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25829 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25830 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
25831 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
25832 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
25833 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
25834 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
25835 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
25836 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
25837 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
25838 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25839 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25840 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
25841 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
25842 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
25843 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
25844 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
25845 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
25846 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
25847 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL },
25848 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25849 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL },
25850 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL },
25851 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL },
25852 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL },
25853 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
25854 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS, NULL },
25855 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS, NULL },
25856 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL },
25857 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL },
25858 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
25859 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS, NULL },
25860 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25861 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
25862 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
25863 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25864 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL },
25865 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL },
25866 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL },
25867 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL },
25868 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
25869 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL },
25870 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25871 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
25872 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
25873 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25874 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
25875 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25876 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL },
25877 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25878 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
25879 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25880 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL },
25881 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25882 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
25883 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
25884 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
25885 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL },
25886 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25887 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
25888 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS, NULL },
25889 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL },
25890 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL },
25891 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL },
25892 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS, NULL },
25893 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25894 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
25895 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL },
25896 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25897 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL },
25898 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL },
25899 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS, NULL },
25900 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS, NULL },
25901 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL },
25902 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL },
25903 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25904 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
25905 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS, NULL },
25906 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL },
25907 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL },
25908 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL },
25909 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL },
25910 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL },
25911 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL },
25912 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL },
25913 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL },
25914 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL },
25915 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS, NULL },
25916 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL },
25917 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL },
25918 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS, NULL },
25919 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS, NULL },
25920 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS, NULL },
25921 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS, NULL },
25922 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS, NULL },
25923 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25924 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL },
25925 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
25926 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL },
25927 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25928 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS, NULL },
25929 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
25930 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
25931 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
25932 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL },
25933 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
25934 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL },
25935 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL },
25936 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL },
25937 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS, NULL },
25938 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS, NULL },
25939 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS, NULL },
25940 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS, NULL },
25941 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS, NULL },
25942 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL },
25943 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL },
25944 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL },
25945 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL },
25946 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL },
25947 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS, NULL },
25948 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS, NULL },
25949 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25950 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
25951 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25952 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
25953 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL },
25954 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL },
25955 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL },
25956 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL },
25957 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
25958 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL },
25959 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS, NULL },
25960 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL },
25961 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL },
25962 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
25963 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL },
25964 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL },
25965 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL },
25966 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL },
25967 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL },
25968 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25969 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL },
25970 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL },
25971 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL },
25972 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL },
25973 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL },
25974 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS, NULL },
25975 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL },
25976 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL },
25977 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25978 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25979 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
25980 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
25981 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS, NULL },
25982 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
25983 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
25984 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL },
25985 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
25986 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25987 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL },
25988 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS, NULL },
25989 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL },
25990 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL },
25991 { NULL, NULL, 0, NULL }
d14a1e28
RD
25992};
25993
25994
25995/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25996
25997static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
25998 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25999}
26000static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
26001 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
26002}
26003static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
26004 return (void *)((wxEvent *) ((wxMenuEvent *) x));
26005}
26006static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
26007 return (void *)((wxEvent *) ((wxCloseEvent *) x));
26008}
26009static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
26010 return (void *)((wxEvent *) ((wxMouseEvent *) x));
26011}
26012static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
26013 return (void *)((wxEvent *) ((wxEraseEvent *) x));
26014}
26015static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
26016 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
26017}
26018static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
26019 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
26020}
26021static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
26022 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
26023}
26024static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
26025 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
26026}
26027static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
26028 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
26029}
26030static void *_p_wxPyEventTo_p_wxEvent(void *x) {
26031 return (void *)((wxEvent *) ((wxPyEvent *) x));
26032}
26033static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
26034 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
26035}
26036static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
26037 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
26038}
26039static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
26040 return (void *)((wxEvent *) ((wxIdleEvent *) x));
26041}
26042static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
26043 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
26044}
26045static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
26046 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
26047}
26048static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
26049 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
26050}
26051static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
26052 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
26053}
26054static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
26055 return (void *)((wxEvent *) ((wxActivateEvent *) x));
26056}
26057static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
26058 return (void *)((wxEvent *) ((wxSizeEvent *) x));
26059}
26060static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
26061 return (void *)((wxEvent *) ((wxMoveEvent *) x));
26062}
26063static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
26064 return (void *)((wxEvent *) ((wxPaintEvent *) x));
26065}
26066static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
26067 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
26068}
26069static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
26070 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
26071}
26072static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
26073 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
26074}
26075static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
26076 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
26077}
26078static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
26079 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
26080}
26081static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
26082 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
26083}
26084static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
26085 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
26086}
26087static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
26088 return (void *)((wxEvent *) ((wxFocusEvent *) x));
26089}
26090static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
26091 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
26092}
26093static void *_p_wxSashEventTo_p_wxEvent(void *x) {
26094 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
26095}
26096static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
26097 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
26098}
26099static void *_p_wxShowEventTo_p_wxEvent(void *x) {
26100 return (void *)((wxEvent *) ((wxShowEvent *) x));
26101}
26102static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
26103 return (void *)((wxEvent *) ((wxCommandEvent *) x));
26104}
26105static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
26106 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
26107}
26108static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
26109 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26110}
26111static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
26112 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
26113}
26114static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
26115 return (void *)((wxEvent *) ((wxKeyEvent *) x));
26116}
26117static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
26118 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
26119}
26120static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
26121 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
26122}
26123static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
26124 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
26125}
26126static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
26127 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
26128}
26129static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
26130 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
26131}
26132static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
26133 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
26134}
26135static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
26136 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
26137}
26138static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
26139 return (void *)((wxEvtHandler *) ((wxValidator *) x));
26140}
26141static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
26142 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
26143}
26144static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
26145 return (void *)((wxEvtHandler *) ((wxMenu *) x));
26146}
26147static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
26148 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
26149}
26150static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
26151 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
26152}
26153static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
26154 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
26155}
26156static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
26157 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
26158}
26159static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
26160 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
26161}
26162static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
26163 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
26164}
26165static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
26166 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
26167}
26168static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
26169 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
26170}
26171static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
26172 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
26173}
26174static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
26175 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
26176}
26177static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
26178 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26179}
26180static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
26181 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26182}
26183static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
26184 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
26185}
26186static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
26187 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
26188}
26189static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
26190 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
26191}
26192static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
26193 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
26194}
26195static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
26196 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
26197}
26198static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
26199 return (void *)((wxEvtHandler *) ((wxWindow *) x));
26200}
26201static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
26202 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
26203}
26204static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
26205 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
26206}
26207static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
26208 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
26209}
1cb4a8aa
RD
26210static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
26211 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26212}
d14a1e28
RD
26213static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
26214 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
26215}
26216static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
26217 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
26218}
26219static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
26220 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26221}
26222static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
26223 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
26224}
26225static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
26226 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
26227}
26228static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
26229 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
26230}
26231static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
26232 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
26233}
26234static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
26235 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
26236}
26237static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
26238 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26239}
26240static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
26241 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26242}
26243static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
26244 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
26245}
26246static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
26247 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26248}
5e483524
RD
26249static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
26250 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d14a1e28
RD
26251}
26252static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
26253 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
26254}
26255static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
26256 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
26257}
26258static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
26259 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
26260}
26261static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
26262 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
26263}
26264static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
26265 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
26266}
26267static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
26268 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
26269}
26270static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
26271 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
26272}
26273static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
26274 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
26275}
26276static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
26277 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
26278}
26279static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
26280 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
26281}
26282static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
26283 return (void *)((wxFrame *) ((wxProgressDialog *) x));
26284}
26285static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
26286 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
26287}
26288static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
26289 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26290}
26291static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
26292 return (void *)((wxFrame *) ((wxMiniFrame *) x));
26293}
26294static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
26295 return (void *)((wxFrame *) ((wxSplashScreen *) x));
26296}
26297static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
26298 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
26299}
26300static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
26301 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
26302}
26303static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
26304 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
26305}
26306static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
26307 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
26308}
26309static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
26310 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26311}
26312static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
26313 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
26314}
26315static void *_p_wxSizerItemTo_p_wxObject(void *x) {
26316 return (void *)((wxObject *) ((wxSizerItem *) x));
26317}
26318static void *_p_wxScrollEventTo_p_wxObject(void *x) {
26319 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
26320}
26321static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
26322 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
26323}
26324static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
26325 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
26326}
26327static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
26328 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
26329}
26330static void *_p_wxSizerTo_p_wxObject(void *x) {
26331 return (void *)((wxObject *) ((wxSizer *) x));
26332}
26333static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
26334 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
26335}
26336static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
26337 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
26338}
26339static void *_p_wxPyPanelTo_p_wxObject(void *x) {
26340 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
26341}
26342static void *_p_wxEventTo_p_wxObject(void *x) {
26343 return (void *)((wxObject *) ((wxEvent *) x));
26344}
26345static void *_p_wxFontDataTo_p_wxObject(void *x) {
26346 return (void *)((wxObject *) ((wxFontData *) x));
26347}
26348static void *_p_wxPrintDataTo_p_wxObject(void *x) {
26349 return (void *)((wxObject *) ((wxPrintData *) x));
26350}
26351static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
26352 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
26353}
26354static void *_p_wxGridSizerTo_p_wxObject(void *x) {
26355 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
26356}
26357static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
26358 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
26359}
26360static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
26361 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
26362}
5e483524
RD
26363static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
26364 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d14a1e28
RD
26365}
26366static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
26367 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
26368}
26369static void *_p_wxPaintEventTo_p_wxObject(void *x) {
26370 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
26371}
26372static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
26373 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
26374}
26375static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
26376 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
26377}
26378static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
26379 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
26380}
26381static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
26382 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
26383}
26384static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
26385 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
26386}
26387static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
26388 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
26389}
26390static void *_p_wxControlTo_p_wxObject(void *x) {
26391 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
26392}
26393static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
26394 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
26395}
26396static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
26397 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
26398}
26399static void *_p_wxFSFileTo_p_wxObject(void *x) {
26400 return (void *)((wxObject *) ((wxFSFile *) x));
26401}
26402static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
26403 return (void *)((wxObject *) ((wxFindReplaceData *) x));
26404}
26405static void *_p_wxPySizerTo_p_wxObject(void *x) {
26406 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
26407}
26408static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
26409 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
26410}
26411static void *_p_wxColourDataTo_p_wxObject(void *x) {
26412 return (void *)((wxObject *) ((wxColourData *) x));
26413}
26414static void *_p_wxPyEventTo_p_wxObject(void *x) {
26415 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
26416}
26417static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
26418 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
26419}
26420static void *_p_wxPyWindowTo_p_wxObject(void *x) {
26421 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
26422}
26423static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
26424 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
26425}
26426static void *_p_wxFileDialogTo_p_wxObject(void *x) {
26427 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
26428}
26429static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
26430 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
26431}
26432static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
26433 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
26434}
26435static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
26436 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
26437}
26438static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
26439 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
26440}
26441static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
26442 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
26443}
26444static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
26445 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
26446}
26447static void *_p_wxShowEventTo_p_wxObject(void *x) {
26448 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
26449}
26450static void *_p_wxPrinterTo_p_wxObject(void *x) {
26451 return (void *)((wxObject *) ((wxPrinter *) x));
26452}
26453static void *_p_wxMenuItemTo_p_wxObject(void *x) {
26454 return (void *)((wxObject *) ((wxMenuItem *) x));
26455}
26456static void *_p_wxIdleEventTo_p_wxObject(void *x) {
26457 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
26458}
26459static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
26460 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
26461}
26462static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
26463 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
26464}
26465static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
26466 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
26467}
26468static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
26469 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
26470}
26471static void *_p_wxSizeEventTo_p_wxObject(void *x) {
26472 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
26473}
26474static void *_p_wxMoveEventTo_p_wxObject(void *x) {
26475 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
26476}
26477static void *_p_wxActivateEventTo_p_wxObject(void *x) {
26478 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
26479}
26480static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
26481 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
26482}
26483static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
26484 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
26485}
26486static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
26487 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
26488}
26489static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
26490 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
26491}
26492static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
26493 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
26494}
26495static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
26496 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
26497}
26498static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
26499 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
26500}
26501static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
26502 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
26503}
26504static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
26505 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
26506}
26507static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
26508 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
26509}
26510static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
26511 return (void *)((wxObject *) ((wxImageHandler *) x));
26512}
26513static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
26514 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
26515}
26516static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
26517 return (void *)((wxObject *) ((wxEvtHandler *) x));
26518}
26519static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
26520 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
26521}
26522static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
26523 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26524}
26525static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
26526 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26527}
26528static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
26529 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
26530}
26531static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
26532 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
26533}
26534static void *_p_wxImageTo_p_wxObject(void *x) {
26535 return (void *)((wxObject *) ((wxImage *) x));
26536}
26537static void *_p_wxFrameTo_p_wxObject(void *x) {
26538 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
26539}
26540static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
26541 return (void *)((wxObject *) ((wxPyPrintout *) x));
26542}
26543static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
26544 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
26545}
26546static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
26547 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
26548}
26549static void *_p_wxStatusBarTo_p_wxObject(void *x) {
26550 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
26551}
26552static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
26553 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
26554}
26555static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
26556 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26557}
26558static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
26559 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
26560}
26561static void *_p_wxKeyEventTo_p_wxObject(void *x) {
26562 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
26563}
d14a1e28
RD
26564static void *_p_wxWindowTo_p_wxObject(void *x) {
26565 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
26566}
26567static void *_p_wxMenuTo_p_wxObject(void *x) {
26568 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
26569}
26570static void *_p_wxMenuBarTo_p_wxObject(void *x) {
26571 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
26572}
1e0c8722
RD
26573static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
26574 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
26575}
d14a1e28
RD
26576static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
26577 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
26578}
26579static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
26580 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
26581}
26582static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
26583 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
26584}
26585static void *_p_wxSashWindowTo_p_wxObject(void *x) {
26586 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
26587}
26588static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
26589 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
26590}
26591static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
26592 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
26593}
26594static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
26595 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26596}
26597static void *_p_wxTipWindowTo_p_wxObject(void *x) {
26598 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26599}
26600static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
26601 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
26602}
26603static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
26604 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
26605}
1cb4a8aa
RD
26606static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
26607 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26608}
d14a1e28
RD
26609static void *_p_wxSashEventTo_p_wxObject(void *x) {
26610 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
26611}
26612static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
26613 return (void *)((wxObject *) ((wxPrintPreview *) x));
26614}
26615static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
26616 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
26617}
26618static void *_p_wxPanelTo_p_wxObject(void *x) {
26619 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
26620}
26621static void *_p_wxDialogTo_p_wxObject(void *x) {
26622 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
26623}
26624static void *_p_wxColourDialogTo_p_wxObject(void *x) {
26625 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
26626}
26627static void *_p_wxDirDialogTo_p_wxObject(void *x) {
26628 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
26629}
26630static void *_p_wxFontDialogTo_p_wxObject(void *x) {
26631 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
26632}
26633static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
26634 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
26635}
26636static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
26637 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
26638}
26639static void *_p_wxFileSystemTo_p_wxObject(void *x) {
26640 return (void *)((wxObject *) ((wxFileSystem *) x));
26641}
26642static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
26643 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
26644}
26645static void *_p_wxMenuEventTo_p_wxObject(void *x) {
26646 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
26647}
26648static void *_p_wxPyAppTo_p_wxObject(void *x) {
26649 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
26650}
26651static void *_p_wxCloseEventTo_p_wxObject(void *x) {
26652 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
26653}
26654static void *_p_wxMouseEventTo_p_wxObject(void *x) {
26655 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
26656}
26657static void *_p_wxEraseEventTo_p_wxObject(void *x) {
26658 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
26659}
26660static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
26661 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
26662}
26663static void *_p_wxCommandEventTo_p_wxObject(void *x) {
26664 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
26665}
26666static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
26667 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
26668}
26669static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
26670 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26671}
26672static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
26673 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
26674}
26675static void *_p_wxFocusEventTo_p_wxObject(void *x) {
26676 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
26677}
26678static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
26679 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
26680}
26681static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
26682 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
26683}
26684static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
26685 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
26686}
26687static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
26688 return (void *)((wxObject *) ((wxPrintDialogData *) x));
26689}
26690static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
26691 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
26692}
26693static void *_p_wxValidatorTo_p_wxObject(void *x) {
26694 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
26695}
26696static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
26697 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26698}
26699static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
26700 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
26701}
26702static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
26703 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26704}
26705static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
26706 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26707}
26708static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
26709 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26710}
26711static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
26712 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
26713}
26714static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
26715 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
26716}
26717static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
26718 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
26719}
26720static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
26721 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
26722}
26723static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
26724 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
26725}
26726static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
26727 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
26728}
26729static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
26730 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
26731}
26732static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
26733 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
26734}
26735static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
26736 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
26737}
26738static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
26739 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
26740}
26741static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
26742 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
26743}
26744static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
26745 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
26746}
26747static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
26748 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
26749}
26750static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
26751 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
26752}
26753static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
26754 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
26755}
26756static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
26757 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
26758}
26759static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
26760 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
26761}
26762static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
26763 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
26764}
26765static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
26766 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
26767}
26768static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
26769 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
26770}
26771static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
26772 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26773}
26774static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
26775 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
26776}
26777static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
26778 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
26779}
26780static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
26781 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
26782}
26783static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
26784 return (void *)((wxWindow *) ((wxMenuBar *) x));
26785}
26786static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
26787 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
26788}
26789static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
26790 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
26791}
26792static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
26793 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
26794}
26795static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
26796 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
26797}
26798static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
26799 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
26800}
26801static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
26802 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
26803}
26804static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
26805 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
26806}
26807static void *_p_wxPanelTo_p_wxWindow(void *x) {
26808 return (void *)((wxWindow *) ((wxPanel *) x));
26809}
26810static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
26811 return (void *)((wxWindow *) ((wxStatusBar *) x));
26812}
26813static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
26814 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
26815}
26816static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
26817 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
26818}
26819static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
26820 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26821}
26822static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
26823 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26824}
26825static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
26826 return (void *)((wxWindow *) ((wxPopupWindow *) x));
26827}
26828static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
26829 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
26830}
26831static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
26832 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
26833}
26834static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
26835 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
26836}
26837static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
26838 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
26839}
26840static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
26841 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
26842}
26843static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
26844 return (void *)((wxWindow *) ((wxSashWindow *) x));
26845}
1cb4a8aa
RD
26846static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
26847 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26848}
d14a1e28
RD
26849static void *_p_wxControlTo_p_wxWindow(void *x) {
26850 return (void *)((wxWindow *) ((wxControl *) x));
26851}
26852static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
26853 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
26854}
26855static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
26856 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26857}
26858static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
26859 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
26860}
26861static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
26862 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
26863}
26864static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
26865 return (void *)((wxWindow *) ((wxPyWindow *) x));
26866}
26867static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
26868 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
26869}
26870static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
26871 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26872}
26873static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
26874 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26875}
26876static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
26877 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
26878}
26879static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
26880 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26881}
26882static void *_p_wxFrameTo_p_wxWindow(void *x) {
26883 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
26884}
26885static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
26886 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
26887}
26888static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
26889 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
26890}
26891static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
26892 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
26893}
26894static void *_p_wxDialogTo_p_wxWindow(void *x) {
26895 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
26896}
26897static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
26898 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
26899}
26900static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
26901 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
26902}
26903static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
26904 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
26905}
1cb4a8aa
RD
26906static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
26907 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26908}
d14a1e28
RD
26909static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
26910 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
26911}
26912static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
26913 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
26914}
26915static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
26916 return (void *)((wxDialog *) ((wxColourDialog *) x));
26917}
26918static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
26919 return (void *)((wxDialog *) ((wxDirDialog *) x));
26920}
26921static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
26922 return (void *)((wxDialog *) ((wxFontDialog *) x));
26923}
26924static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
26925 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
26926}
26927static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
26928 return (void *)((wxDialog *) ((wxPrintDialog *) x));
26929}
26930static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
26931 return (void *)((wxDialog *) ((wxFileDialog *) x));
26932}
26933static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
26934 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
26935}
26936static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
26937 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
26938}
26939static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
26940 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
26941}
26942static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
26943 return (void *)((wxDialog *) ((wxMessageDialog *) x));
26944}
26945static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
26946 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
26947}
26948static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
26949 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
26950}
26951static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
26952 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
26953}
1cb4a8aa
RD
26954static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
26955 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26956}
d14a1e28
RD
26957static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
26958 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26959}
26960static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
26961 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26962}
26963static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
26964 return (void *)((wxPanel *) ((wxPyPanel *) x));
26965}
26966static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
26967 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
26968}
26969static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
26970 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
26971}
26972static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
26973 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26974}
26975static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
26976 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
26977}
26978static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
26979 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
26980}
26981static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
26982 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
26983}
26984static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
26985 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
26986}
26987static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
26988 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
26989}
26990static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
26991 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26992}
26993static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
26994 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
26995}
26996static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
26997 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
26998}
26999static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
27000 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
27001}
27002static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
27003 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
27004}
27005static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
27006 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
27007}
27008static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
27009 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
27010}
15afbcd0
RD
27011static 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}};
27012static 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}};
27013static 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}};
27014static 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}};
27015static 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
27016static 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}};
27017static 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 27018static 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 27019static 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}};
5e483524 27020static swig_type_info _swigt__p_wxPyTaskBarIcon[] = {{"_p_wxPyTaskBarIcon", 0, "wxPyTaskBarIcon *", 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15afbcd0
RD
27021static 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}};
27022static 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}};
27023static 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}};
27024static 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}};
27025static 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}};
27026static 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}};
27027static 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}};
27028static 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}};
27029static 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}};
27030static 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}};
27031static 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}};
27032static 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 27033static 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
27034static 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}};
27035static 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}};
27036static 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}};
27037static 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}};
27038static 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}};
27039static 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}};
27040static 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}};
27041static 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}};
27042static 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}};
27043static 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}};
27044static 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}};
27045static 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}};
27046static 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}};
27047static 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}};
5e483524 27048static 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_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_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
27049static 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}};
27050static 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}};
27051static 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}};
27052static 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}};
27053static 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}};
27054static 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}};
27055static 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}};
27056static 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}};
27057static 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}};
27058static 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}};
27059static 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}};
27060static 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}};
27061static 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}};
5e483524 27062static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_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 27063static 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}};
15afbcd0
RD
27064static 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}};
27065static 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}};
27066static 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}};
27067static 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 27068static 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
27069static 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}};
27070static 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}};
27071static 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}};
27072static 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}};
27073static 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
27074static 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}};
27075static 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 27076static 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}};
5e483524 27077static 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
27078static 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}};
27079static 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}};
27080static 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}};
27081static 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}};
27082static 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}};
27083static 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}};
27084static 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}};
27085static 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 27086static 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
27087static 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}};
27088static 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 27089static 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
27090static 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}};
27091static 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}};
27092static 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}};
27093static 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}};
27094static 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}};
27095static 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}};
27096static 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}};
27097static 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
27098
27099static swig_type_info *swig_types_initial[] = {
27100_swigt__p_wxQueryLayoutInfoEvent,
27101_swigt__p_wxPreviewFrame,
27102_swigt__p_wxPyPreviewFrame,
d14a1e28
RD
27103_swigt__p_wxPyPanel,
27104_swigt__p_wxMenu,
d14a1e28
RD
27105_swigt__p_wxFontData,
27106_swigt__p_wxEvent,
f5b96ee1 27107_swigt__p_wxPrintData,
d14a1e28 27108_swigt__p_wxTaskBarIcon,
5e483524 27109_swigt__p_wxPyTaskBarIcon,
d14a1e28
RD
27110_swigt__p_wxIconBundle,
27111_swigt__p_wxLayoutAlgorithm,
27112_swigt__p_wxFindDialogEvent,
27113_swigt__p_wxPreviewCanvas,
27114_swigt__p_wxFont,
27115_swigt__p_wxSplitterEvent,
27116_swigt__p_wxRegion,
27117_swigt__p_wxFindReplaceData,
27118_swigt__p_int,
27119_swigt__p_wxSize,
27120_swigt__p_wxDC,
27121_swigt__p_wxIcon,
22bfe96c 27122_swigt__p_wxVisualAttributes,
d14a1e28
RD
27123_swigt__p_wxMDIChildFrame,
27124_swigt__p_wxColourData,
27125_swigt__p_wxNotifyEvent,
27126_swigt__p_wxPyWindow,
27127_swigt__p_wxSplashScreen,
27128_swigt__p_wxFindReplaceDialog,
27129_swigt__p_wxProgressDialog,
27130_swigt__p_wxMessageDialog,
27131_swigt__p_wxTextEntryDialog,
27132_swigt__p_wxSingleChoiceDialog,
27133_swigt__p_wxMultiChoiceDialog,
27134_swigt__p_wxFileDialog,
27135_swigt__p_wxPrinter,
d14a1e28
RD
27136_swigt__p_wxArrayInt,
27137_swigt__p_wxEvtHandler,
27138_swigt__p_wxCalculateLayoutEvent,
27139_swigt__p_wxPyHtmlListBox,
27140_swigt__p_wxPyVListBox,
27141_swigt__p_wxRect,
994141e6 27142_swigt__p_char,
d14a1e28
RD
27143_swigt__p_wxMiniFrame,
27144_swigt__p_wxFrame,
27145_swigt__p_wxPyPrintout,
27146_swigt__p_wxTaskBarIconEvent,
27147_swigt__p_wxScrollWinEvent,
27148_swigt__p_wxStatusBar,
27149_swigt__p_wxMDIParentFrame,
27150_swigt__p_wxPoint,
27151_swigt__p_wxObject,
db914595 27152_swigt__p_wxOutputStream,
d14a1e28
RD
27153_swigt__p_wxMDIClientWindow,
27154_swigt__p_wxTipWindow,
27155_swigt__p_wxSashLayoutWindow,
27156_swigt__p_wxSplitterWindow,
f5b96ee1 27157_swigt__p_wxSplashScreenWindow,
d14a1e28
RD
27158_swigt__p_wxPyVScrolledWindow,
27159_swigt__p_wxPyPopupTransientWindow,
27160_swigt__p_wxPopupWindow,
27161_swigt__p_wxSashWindow,
27162_swigt__p_wxTopLevelWindow,
27163_swigt__p_wxWindow,
27164_swigt__p_wxScrolledWindow,
27165_swigt__p_wxMenuBar,
5e483524 27166_swigt__p_wxPyScrolledWindow,
d14a1e28
RD
27167_swigt__p_wxPrintPreview,
27168_swigt__p_wxSashEvent,
27169_swigt__p_wxString,
27170_swigt__p_wxPyPrintPreview,
27171_swigt__p_wxFontDialog,
27172_swigt__p_wxDirDialog,
27173_swigt__p_wxColourDialog,
27174_swigt__p_wxDialog,
27175_swigt__p_wxPanel,
db914595 27176_swigt__p_wxPageSetupDialog,
d14a1e28 27177_swigt__p_wxPrintDialog,
7fdaaabe 27178_swigt__p_wxFileSystem,
d14a1e28
RD
27179_swigt__p_wxBitmap,
27180_swigt__p_wxCommandEvent,
d14a1e28
RD
27181_swigt__p_wxPreviewControlBar,
27182_swigt__p_wxPyPreviewControlBar,
27183_swigt__p_wxColour,
27184_swigt__p_wxToolBar,
b2dc1044 27185_swigt__p_wxPageSetupDialogData,
994141e6 27186_swigt__p_wxPrintDialogData,
d14a1e28
RD
271870
27188};
27189
27190
27191/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
27192
27193static swig_const_info swig_const_table[] = {
c32bde28 27194{0, 0, 0, 0.0, 0, 0}};
d14a1e28
RD
27195
27196#ifdef __cplusplus
27197}
27198#endif
27199
27200#ifdef __cplusplus
27201extern "C"
27202#endif
27203SWIGEXPORT(void) SWIG_init(void) {
27204 static PyObject *SWIG_globals = 0;
27205 static int typeinit = 0;
27206 PyObject *m, *d;
27207 int i;
27208 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
27209 m = Py_InitModule((char *) SWIG_name, SwigMethods);
27210 d = PyModule_GetDict(m);
27211
27212 if (!typeinit) {
27213 for (i = 0; swig_types_initial[i]; i++) {
27214 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
27215 }
27216 typeinit = 1;
27217 }
27218 SWIG_InstallConstants(d,swig_const_table);
27219
b2dc1044
RD
27220 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
27221 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
27222 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
27223 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
27224 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
c32bde28
RD
27225 PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_From_int((int)wxSTAY_ON_TOP));
27226 PyDict_SetItemString(d,"ICONIZE", SWIG_From_int((int)wxICONIZE));
27227 PyDict_SetItemString(d,"MINIMIZE", SWIG_From_int((int)wxMINIMIZE));
27228 PyDict_SetItemString(d,"MAXIMIZE", SWIG_From_int((int)wxMAXIMIZE));
27229 PyDict_SetItemString(d,"CLOSE_BOX", SWIG_From_int((int)wxCLOSE_BOX));
27230 PyDict_SetItemString(d,"THICK_FRAME", SWIG_From_int((int)wxTHICK_FRAME));
27231 PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_From_int((int)wxSYSTEM_MENU));
27232 PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_From_int((int)wxMINIMIZE_BOX));
27233 PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_From_int((int)wxMAXIMIZE_BOX));
27234 PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_From_int((int)wxTINY_CAPTION_HORIZ));
27235 PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_From_int((int)wxTINY_CAPTION_VERT));
27236 PyDict_SetItemString(d,"RESIZE_BOX", SWIG_From_int((int)wxRESIZE_BOX));
27237 PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_From_int((int)wxRESIZE_BORDER));
27238 PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_From_int((int)wxDIALOG_NO_PARENT));
27239 PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)wxDEFAULT_FRAME_STYLE));
27240 PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)wxDEFAULT_DIALOG_STYLE));
27241 PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_From_int((int)wxFRAME_TOOL_WINDOW));
27242 PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)wxFRAME_FLOAT_ON_PARENT));
27243 PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)wxFRAME_NO_WINDOW_MENU));
27244 PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_From_int((int)wxFRAME_NO_TASKBAR));
27245 PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_From_int((int)wxFRAME_SHAPED));
ae8162c8 27246 PyDict_SetItemString(d,"FRAME_DRAWER", SWIG_From_int((int)wxFRAME_DRAWER));
c32bde28
RD
27247 PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_From_int((int)wxDIALOG_MODAL));
27248 PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_From_int((int)wxDIALOG_MODELESS));
27249 PyDict_SetItemString(d,"USER_COLOURS", SWIG_From_int((int)wxUSER_COLOURS));
27250 PyDict_SetItemString(d,"NO_3D", SWIG_From_int((int)wxNO_3D));
27251 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)wxFULLSCREEN_NOMENUBAR));
27252 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)wxFULLSCREEN_NOTOOLBAR));
27253 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)wxFULLSCREEN_NOSTATUSBAR));
27254 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_From_int((int)wxFULLSCREEN_NOBORDER));
27255 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)wxFULLSCREEN_NOCAPTION));
27256 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_From_int((int)wxFULLSCREEN_ALL));
27257 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)wxTOPLEVEL_EX_DIALOG));
27258 PyDict_SetItemString(d,"USER_ATTENTION_INFO", SWIG_From_int((int)wxUSER_ATTENTION_INFO));
27259 PyDict_SetItemString(d,"USER_ATTENTION_ERROR", SWIG_From_int((int)wxUSER_ATTENTION_ERROR));
27260 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)wxSPLASH_CENTRE_ON_PARENT));
27261 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)wxSPLASH_CENTRE_ON_SCREEN));
27262 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_From_int((int)wxSPLASH_NO_CENTRE));
27263 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_From_int((int)wxSPLASH_TIMEOUT));
27264 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)wxSPLASH_NO_TIMEOUT));
27265 PyDict_SetItemString(d,"SB_NORMAL", SWIG_From_int((int)wxSB_NORMAL));
27266 PyDict_SetItemString(d,"SB_FLAT", SWIG_From_int((int)wxSB_FLAT));
27267 PyDict_SetItemString(d,"SB_RAISED", SWIG_From_int((int)wxSB_RAISED));
b2dc1044 27268 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
c32bde28
RD
27269 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_From_int((int)wxSP_NOBORDER));
27270 PyDict_SetItemString(d,"SP_NOSASH", SWIG_From_int((int)wxSP_NOSASH));
27271 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)wxSP_PERMIT_UNSPLIT));
27272 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_From_int((int)wxSP_LIVE_UPDATE));
27273 PyDict_SetItemString(d,"SP_3DSASH", SWIG_From_int((int)wxSP_3DSASH));
27274 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_From_int((int)wxSP_3DBORDER));
27275 PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_From_int((int)wxSP_NO_XP_THEME));
27276 PyDict_SetItemString(d,"SP_BORDER", SWIG_From_int((int)wxSP_BORDER));
27277 PyDict_SetItemString(d,"SP_3D", SWIG_From_int((int)wxSP_3D));
27278 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_From_int((int)wxSPLIT_HORIZONTAL));
27279 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_From_int((int)wxSPLIT_VERTICAL));
27280 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_From_int((int)wxSPLIT_DRAG_NONE));
27281 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)wxSPLIT_DRAG_DRAGGING));
27282 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSPLIT_DRAG_LEFT_DOWN));
d14a1e28
RD
27283 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
27284 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
27285 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
27286 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
b2dc1044
RD
27287 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
27288 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
c32bde28
RD
27289 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_From_int((int)wxSASH_DRAG_NONE));
27290 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_From_int((int)wxSASH_DRAG_DRAGGING));
27291 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSASH_DRAG_LEFT_DOWN));
27292 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_From_int((int)wxSW_NOBORDER));
27293 PyDict_SetItemString(d,"SW_BORDER", SWIG_From_int((int)wxSW_BORDER));
27294 PyDict_SetItemString(d,"SW_3DSASH", SWIG_From_int((int)wxSW_3DSASH));
27295 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_From_int((int)wxSW_3DBORDER));
27296 PyDict_SetItemString(d,"SW_3D", SWIG_From_int((int)wxSW_3D));
27297 PyDict_SetItemString(d,"SASH_TOP", SWIG_From_int((int)wxSASH_TOP));
27298 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_From_int((int)wxSASH_RIGHT));
27299 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_From_int((int)wxSASH_BOTTOM));
27300 PyDict_SetItemString(d,"SASH_LEFT", SWIG_From_int((int)wxSASH_LEFT));
27301 PyDict_SetItemString(d,"SASH_NONE", SWIG_From_int((int)wxSASH_NONE));
27302 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_From_int((int)wxSASH_STATUS_OK));
27303 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)wxSASH_STATUS_OUT_OF_RANGE));
d14a1e28 27304 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
c32bde28
RD
27305 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_From_int((int)wxLAYOUT_HORIZONTAL));
27306 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_From_int((int)wxLAYOUT_VERTICAL));
27307 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_From_int((int)wxLAYOUT_NONE));
27308 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_From_int((int)wxLAYOUT_TOP));
27309 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_From_int((int)wxLAYOUT_LEFT));
27310 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_From_int((int)wxLAYOUT_RIGHT));
27311 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_From_int((int)wxLAYOUT_BOTTOM));
27312 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_From_int((int)wxLAYOUT_LENGTH_Y));
27313 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_From_int((int)wxLAYOUT_LENGTH_X));
27314 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)wxLAYOUT_MRU_LENGTH));
27315 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_From_int((int)wxLAYOUT_QUERY));
d14a1e28
RD
27316 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
27317 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
b2dc1044 27318 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
d14a1e28
RD
27319
27320 // Map renamed classes back to their common name for OOR
27321 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
27322 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
27323 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
27324
27325 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
27326 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
27327 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
27328 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
27329 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
27330 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
27331 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
b2dc1044
RD
27332 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
27333 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
27334 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
27335 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
27336 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
27337 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
c32bde28
RD
27338 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_From_int((int)wxCHOICEDLG_STYLE));
27339 PyDict_SetItemString(d,"FR_DOWN", SWIG_From_int((int)wxFR_DOWN));
27340 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_From_int((int)wxFR_WHOLEWORD));
27341 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_From_int((int)wxFR_MATCHCASE));
27342 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_From_int((int)wxFR_REPLACEDIALOG));
27343 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_From_int((int)wxFR_NOUPDOWN));
27344 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_From_int((int)wxFR_NOMATCHCASE));
27345 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_From_int((int)wxFR_NOWHOLEWORD));
d14a1e28
RD
27346 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
27347 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
27348 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
27349 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
27350 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
c32bde28
RD
27351 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_From_int((int)4001));
27352 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_From_int((int)4001));
27353 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_From_int((int)4002));
27354 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_From_int((int)4003));
27355 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_From_int((int)4004));
27356 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_From_int((int)4005));
27357 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_From_int((int)4100));
27358 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_From_int((int)4600));
b2dc1044
RD
27359 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
27360 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
c32bde28
RD
27361 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_From_int((int)wxPRINT_MODE_NONE));
27362 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_From_int((int)wxPRINT_MODE_PREVIEW));
27363 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_From_int((int)wxPRINT_MODE_FILE));
27364 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_From_int((int)wxPRINT_MODE_PRINTER));
27365 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_From_int((int)wxPRINT_MODE_STREAM));
2ef75293
RD
27366 PyDict_SetItemString(d,"PRINTBIN_DEFAULT", SWIG_From_int((int)wxPRINTBIN_DEFAULT));
27367 PyDict_SetItemString(d,"PRINTBIN_ONLYONE", SWIG_From_int((int)wxPRINTBIN_ONLYONE));
27368 PyDict_SetItemString(d,"PRINTBIN_LOWER", SWIG_From_int((int)wxPRINTBIN_LOWER));
27369 PyDict_SetItemString(d,"PRINTBIN_MIDDLE", SWIG_From_int((int)wxPRINTBIN_MIDDLE));
27370 PyDict_SetItemString(d,"PRINTBIN_MANUAL", SWIG_From_int((int)wxPRINTBIN_MANUAL));
27371 PyDict_SetItemString(d,"PRINTBIN_ENVELOPE", SWIG_From_int((int)wxPRINTBIN_ENVELOPE));
27372 PyDict_SetItemString(d,"PRINTBIN_ENVMANUAL", SWIG_From_int((int)wxPRINTBIN_ENVMANUAL));
27373 PyDict_SetItemString(d,"PRINTBIN_AUTO", SWIG_From_int((int)wxPRINTBIN_AUTO));
27374 PyDict_SetItemString(d,"PRINTBIN_TRACTOR", SWIG_From_int((int)wxPRINTBIN_TRACTOR));
27375 PyDict_SetItemString(d,"PRINTBIN_SMALLFMT", SWIG_From_int((int)wxPRINTBIN_SMALLFMT));
27376 PyDict_SetItemString(d,"PRINTBIN_LARGEFMT", SWIG_From_int((int)wxPRINTBIN_LARGEFMT));
27377 PyDict_SetItemString(d,"PRINTBIN_LARGECAPACITY", SWIG_From_int((int)wxPRINTBIN_LARGECAPACITY));
27378 PyDict_SetItemString(d,"PRINTBIN_CASSETTE", SWIG_From_int((int)wxPRINTBIN_CASSETTE));
27379 PyDict_SetItemString(d,"PRINTBIN_FORMSOURCE", SWIG_From_int((int)wxPRINTBIN_FORMSOURCE));
27380 PyDict_SetItemString(d,"PRINTBIN_USER", SWIG_From_int((int)wxPRINTBIN_USER));
c32bde28
RD
27381 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_From_int((int)wxPRINTER_NO_ERROR));
27382 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_From_int((int)wxPRINTER_CANCELLED));
27383 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_From_int((int)wxPRINTER_ERROR));
27384 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_From_int((int)wxPREVIEW_PRINT));
27385 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_From_int((int)wxPREVIEW_PREVIOUS));
27386 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_From_int((int)wxPREVIEW_NEXT));
27387 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_From_int((int)wxPREVIEW_ZOOM));
27388 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_From_int((int)wxPREVIEW_FIRST));
27389 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_From_int((int)wxPREVIEW_LAST));
27390 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_From_int((int)wxPREVIEW_GOTO));
27391 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_From_int((int)wxPREVIEW_DEFAULT));
27392 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_From_int((int)wxID_PREVIEW_CLOSE));
27393 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_From_int((int)wxID_PREVIEW_NEXT));
27394 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)wxID_PREVIEW_PREVIOUS));
27395 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_From_int((int)wxID_PREVIEW_PRINT));
27396 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_From_int((int)wxID_PREVIEW_ZOOM));
27397 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_From_int((int)wxID_PREVIEW_FIRST));
27398 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_From_int((int)wxID_PREVIEW_LAST));
27399 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_From_int((int)wxID_PREVIEW_GOTO));
d14a1e28
RD
27400
27401 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
27402
27403}
27404