]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/_windows_wrap.cpp
Some change notes
[wxWidgets.git] / wxPython / src / msw / _windows_wrap.cpp
CommitLineData
d55e5bfc
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.22
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11#define SWIGPYTHON
12#define SWIG_NOINCLUDE
13
14#ifdef __cplusplus
15template<class T> class SwigValueWrapper {
16 T *tt;
17public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27};
28#endif
29
30
31#include "Python.h"
32
33/*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41#define SWIG_TypeRegister SWIG_Python_TypeRegister
42#define SWIG_TypeCheck SWIG_Python_TypeCheck
43#define SWIG_TypeCast SWIG_Python_TypeCast
44#define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45#define SWIG_TypeName SWIG_Python_TypeName
c32bde28 46#define SWIG_TypePrettyName SWIG_Python_TypePrettyName
d55e5bfc
RD
47#define SWIG_TypeQuery SWIG_Python_TypeQuery
48#define SWIG_TypeClientData SWIG_Python_TypeClientData
49#define SWIG_PackData SWIG_Python_PackData
50#define SWIG_UnpackData SWIG_Python_UnpackData
51
52
53/***********************************************************************
54 * common.swg for wxPython
55 *
56 * Include only the function prototypes and such from SWIG's common.swg,
57 * but not the runtime functions themselves. This helps keep the
58 * wrapper files clean of unnecessary stuff that is in the libpy.c file
59 * anyway.
60 *
61 ************************************************************************/
62
63#include <string.h>
64
65#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
66# if defined(_MSC_VER) || defined(__GNUC__)
67# if defined(STATIC_LINKED)
68# define SWIGEXPORT(a) a
69# define SWIGIMPORT(a) extern a
70# else
71# define SWIGEXPORT(a) __declspec(dllexport) a
72# define SWIGIMPORT(a) extern a
73# endif
74# else
75# if defined(__BORLANDC__)
76# define SWIGEXPORT(a) a _export
77# define SWIGIMPORT(a) a _export
78# else
79# define SWIGEXPORT(a) a
80# define SWIGIMPORT(a) a
81# endif
82# endif
83#else
84# define SWIGEXPORT(a) a
85# define SWIGIMPORT(a) a
86#endif
87
88#ifdef SWIG_GLOBAL
89# define SWIGRUNTIME(a) SWIGEXPORT(a)
90#else
91# define SWIGRUNTIME(a) static a
92#endif
93
94#ifdef __cplusplus
95extern "C" {
96#endif
97
98typedef void *(*swig_converter_func)(void *);
99typedef struct swig_type_info *(*swig_dycast_func)(void **);
100
101typedef struct swig_type_info {
102 const char *name;
103 swig_converter_func converter;
104 const char *str;
105 void *clientdata;
106 swig_dycast_func dcast;
107 struct swig_type_info *next;
108 struct swig_type_info *prev;
109} swig_type_info;
110
111
112SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
113SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
114SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
115SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
116SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
c32bde28 117SWIGIMPORT(const char *) SWIG_TypePrettyName(const swig_type_info *);
d55e5bfc
RD
118SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
119SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
120SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
121SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
122
123
124#ifdef __cplusplus
125}
126#endif
127
c32bde28 128
d55e5bfc
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
d55e5bfc
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
167/* Common SWIG API */
168#define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170#define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172#define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174
175/* Python-specific SWIG API */
176#define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178#define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182#define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184#define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
186
187typedef double (*py_objasdbl_conv)(PyObject *obj);
188
189SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
190SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
191SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
192SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
193SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
194SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
195SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
196SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
197
198
199/* Contract support */
200
201#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
202
203#ifdef __cplusplus
204}
205#endif
206
207
c32bde28 208
d55e5bfc
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]
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]
d55e5bfc
RD
219#define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
220#define SWIGTYPE_p_wxIconBundle swig_types[9]
221#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[10]
222#define SWIGTYPE_p_wxFindDialogEvent swig_types[11]
223#define SWIGTYPE_p_wxPreviewCanvas swig_types[12]
224#define SWIGTYPE_p_wxFont swig_types[13]
225#define SWIGTYPE_p_wxSplitterEvent swig_types[14]
226#define SWIGTYPE_p_wxRegion swig_types[15]
227#define SWIGTYPE_p_wxFindReplaceData swig_types[16]
228#define SWIGTYPE_p_int swig_types[17]
229#define SWIGTYPE_p_wxSize swig_types[18]
230#define SWIGTYPE_p_wxDC swig_types[19]
231#define SWIGTYPE_p_wxIcon swig_types[20]
f20a2e1f
RD
232#define SWIGTYPE_p_wxVisualAttributes swig_types[21]
233#define SWIGTYPE_p_wxMDIChildFrame swig_types[22]
234#define SWIGTYPE_p_wxColourData swig_types[23]
235#define SWIGTYPE_p_wxNotifyEvent swig_types[24]
236#define SWIGTYPE_p_wxPyWindow swig_types[25]
237#define SWIGTYPE_p_wxSplashScreen swig_types[26]
238#define SWIGTYPE_p_wxFindReplaceDialog swig_types[27]
239#define SWIGTYPE_p_wxProgressDialog swig_types[28]
240#define SWIGTYPE_p_wxMessageDialog swig_types[29]
241#define SWIGTYPE_p_wxTextEntryDialog swig_types[30]
242#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[31]
243#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[32]
244#define SWIGTYPE_p_wxFileDialog swig_types[33]
245#define SWIGTYPE_p_wxPrinter swig_types[34]
246#define SWIGTYPE_p_wxArrayInt swig_types[35]
247#define SWIGTYPE_p_wxEvtHandler swig_types[36]
248#define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[37]
249#define SWIGTYPE_p_wxPyHtmlListBox swig_types[38]
250#define SWIGTYPE_p_wxPyVListBox swig_types[39]
251#define SWIGTYPE_p_wxRect swig_types[40]
252#define SWIGTYPE_p_char swig_types[41]
253#define SWIGTYPE_p_wxMiniFrame swig_types[42]
254#define SWIGTYPE_p_wxFrame swig_types[43]
255#define SWIGTYPE_p_wxPyPrintout swig_types[44]
256#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[45]
257#define SWIGTYPE_p_wxScrollWinEvent swig_types[46]
258#define SWIGTYPE_p_wxStatusBar swig_types[47]
259#define SWIGTYPE_p_wxMDIParentFrame swig_types[48]
260#define SWIGTYPE_p_wxPoint swig_types[49]
261#define SWIGTYPE_p_wxObject swig_types[50]
262#define SWIGTYPE_p_wxOutputStream swig_types[51]
09c21d3b
RD
263#define SWIGTYPE_p_wxPyScrolledWindow swig_types[52]
264#define SWIGTYPE_p_wxMDIClientWindow swig_types[53]
265#define SWIGTYPE_p_wxTipWindow swig_types[54]
266#define SWIGTYPE_p_wxSashLayoutWindow swig_types[55]
267#define SWIGTYPE_p_wxSplitterWindow swig_types[56]
268#define SWIGTYPE_p_wxSplashScreenWindow swig_types[57]
269#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[58]
270#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[59]
271#define SWIGTYPE_p_wxPopupWindow swig_types[60]
272#define SWIGTYPE_p_wxSashWindow swig_types[61]
273#define SWIGTYPE_p_wxTopLevelWindow swig_types[62]
274#define SWIGTYPE_p_wxWindow swig_types[63]
275#define SWIGTYPE_p_wxScrolledWindow swig_types[64]
276#define SWIGTYPE_p_wxMenuBar swig_types[65]
277#define SWIGTYPE_p_wxPrintPreview swig_types[66]
278#define SWIGTYPE_p_wxSashEvent swig_types[67]
279#define SWIGTYPE_p_wxString swig_types[68]
280#define SWIGTYPE_p_wxPyPrintPreview swig_types[69]
281#define SWIGTYPE_p_wxFontDialog swig_types[70]
282#define SWIGTYPE_p_wxDirDialog swig_types[71]
283#define SWIGTYPE_p_wxColourDialog swig_types[72]
284#define SWIGTYPE_p_wxDialog swig_types[73]
285#define SWIGTYPE_p_wxPanel swig_types[74]
286#define SWIGTYPE_p_wxPageSetupDialog swig_types[75]
287#define SWIGTYPE_p_wxPrintDialog swig_types[76]
288#define SWIGTYPE_p_wxFileSystem swig_types[77]
289#define SWIGTYPE_p_wxBitmap swig_types[78]
290#define SWIGTYPE_p_wxCommandEvent swig_types[79]
291#define SWIGTYPE_p_wxPreviewControlBar swig_types[80]
292#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[81]
293#define SWIGTYPE_p_wxColour swig_types[82]
294#define SWIGTYPE_p_wxToolBar swig_types[83]
295#define SWIGTYPE_p_wxPageSetupDialogData swig_types[84]
296#define SWIGTYPE_p_wxPrintDialogData swig_types[85]
297static swig_type_info *swig_types[87];
d55e5bfc
RD
298
299/* -------- TYPES TABLE (END) -------- */
300
301
302/*-----------------------------------------------
303 @(target):= _windows_.so
304 ------------------------------------------------*/
305#define SWIG_init init_windows_
306
307#define SWIG_name "_windows_"
308
c32bde28
RD
309/* Auxiliar swig macros that appear in the header */
310
311#define SWIG_OLDOBJ 1
312#define SWIG_NEWOBJ SWIG_OLDOBJ + 1
313#define SWIG_PYSTR SWIG_NEWOBJ + 1
d55e5bfc
RD
314
315#ifdef __cplusplus
316#define SWIGSTATICINLINE(a) static inline a
317#define SWIGSTATIC(a) static a
c32bde28
RD
318#define swig_new_array(size,Type) (new Type[(size)])
319#define swig_delete(cptr) delete cptr
d55e5bfc 320#define swig_delete_array(cptr) delete[] cptr
c32bde28
RD
321#define swig_const_cast(a,Type) const_cast<Type >(a)
322#define swig_static_cast(a,Type) static_cast<Type >(a)
323#define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a)
324#define swig_new_copy(ptr,Type) (new Type(*ptr))
325#define swig_numeric_cast(a,Type) static_cast<Type >(a)
d55e5bfc
RD
326
327#else /* C case */
328
329#define SWIGSTATICINLINE(a) static a
330#define SWIGSTATIC(a) static a
c32bde28
RD
331#define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type)))
332#define swig_delete(cptr) free((char*)cptr)
d55e5bfc 333#define swig_delete_array(cptr) free((char*)cptr)
c32bde28
RD
334#define swig_const_cast(a,Type) (Type)(a)
335#define swig_static_cast(a,Type) (Type)(a)
336#define swig_reinterpret_cast(a,Type) (Type)(a)
337#define swig_numeric_cast(a,Type) (Type)(a)
338#define swig_new_copy(ptr,Type) ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type)))
d55e5bfc
RD
339
340#endif /* __cplusplus */
341
342
c32bde28
RD
343/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
344#define SWIG_From_signed_SS_char PyInt_FromLong
345/*@@*/
346/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
347#define SWIG_From_unsigned_SS_char PyInt_FromLong
348/*@@*/
349/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
350#define SWIG_From_short PyInt_FromLong
351/*@@*/
352/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
353#define SWIG_From_unsigned_SS_short PyInt_FromLong
354/*@@*/
355/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
356#define SWIG_From_int PyInt_FromLong
357/*@@*/
358/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
359#define SWIG_From_long PyInt_FromLong
360/*@@*/
361/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
362#define SWIG_From_float PyFloat_FromDouble
363/*@@*/
364/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
365#define SWIG_From_double PyFloat_FromDouble
366/*@@*/
d55e5bfc
RD
367
368
369#include "wx/wxPython/wxPython.h"
370#include "wx/wxPython/pyclasses.h"
371
372
373 static const wxString wxPyEmptyString(wxEmptyString);
374 static const wxString wxPyPanelNameStr(wxPanelNameStr);
375
376
377
378#include <limits.h>
379
380
c32bde28
RD
381SWIGSTATICINLINE(int)
382 SWIG_CheckLongInRange(long value, long min_value, long max_value,
383 const char *errmsg)
d55e5bfc 384{
c32bde28
RD
385 if (value < min_value) {
386 if (errmsg) {
387 PyErr_Format(PyExc_OverflowError,
388 "value %ld is less than '%s' minimum %ld",
389 value, errmsg, min_value);
390 }
391 return 0;
392 } else if (value > max_value) {
393 if (errmsg) {
394 PyErr_Format(PyExc_OverflowError,
395 "value %ld is greater than '%s' maximum %ld",
396 value, errmsg, max_value);
d55e5bfc 397 }
c32bde28 398 return 0;
d55e5bfc 399 }
c32bde28 400 return 1;
d55e5bfc
RD
401}
402
403
c32bde28
RD
404// See my_fragments.i
405SWIGSTATICINLINE(int)
406SWIG_AsVal_long(PyObject* obj, long* val)
d55e5bfc 407{
c32bde28
RD
408 if (PyNumber_Check(obj)) {
409 if (val) *val = PyInt_AsLong(obj);
410 return 1;
411 }
d55e5bfc
RD
412 else {
413 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
414 obj->ob_type->tp_name);
415 PyErr_SetObject(PyExc_TypeError, errmsg);
416 Py_DECREF(errmsg);
d55e5bfc 417 }
c32bde28 418 return 0;
d55e5bfc
RD
419}
420
421
422#if INT_MAX != LONG_MAX
423SWIGSTATICINLINE(int)
c32bde28 424 SWIG_AsVal_int(PyObject *obj, int *val)
d55e5bfc 425{
c32bde28
RD
426 const char* errmsg = val ? "int" : 0;
427 long v;
428 if (SWIG_AsVal_long(obj, &v)) {
429 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
430 if (val) *val = swig_numeric_cast(v, int);
431 return 1;
432 } else {
433 return 0;
434 }
435 } else {
436 PyErr_Clear();
437 }
438 if (val) {
439 PyErr_SetString(PyExc_TypeError, "an int is expected");
440 }
441 return 0;
d55e5bfc
RD
442}
443#else
c32bde28
RD
444SWIGSTATICINLINE(int)
445 SWIG_AsVal_int(PyObject *obj, int *val)
446{
447 return SWIG_AsVal_long(obj,(long*)val);
448}
d55e5bfc
RD
449#endif
450
451
452SWIGSTATICINLINE(int)
c32bde28 453SWIG_As_int(PyObject* obj)
d55e5bfc 454{
c32bde28
RD
455 int v;
456 if (!SWIG_AsVal_int(obj, &v)) {
457 /*
458 this is needed to make valgrind/purify happier. the other
459 solution is throw an exception, but since this code should work
460 with plain C ....
461 */
462 memset((void*)&v, 0, sizeof(int));
d55e5bfc 463 }
c32bde28 464 return v;
d55e5bfc
RD
465}
466
467
c32bde28
RD
468SWIGSTATICINLINE(long)
469SWIG_As_long(PyObject* obj)
d55e5bfc 470{
c32bde28
RD
471 long v;
472 if (!SWIG_AsVal_long(obj, &v)) {
473 /*
474 this is needed to make valgrind/purify happier. the other
475 solution is throw an exception, but since this code should work
476 with plain C ....
477 */
478 memset((void*)&v, 0, sizeof(long));
d55e5bfc 479 }
c32bde28 480 return v;
d55e5bfc
RD
481}
482
c32bde28
RD
483
484SWIGSTATICINLINE(int)
485SWIG_Check_int(PyObject* obj)
486{
487 return SWIG_AsVal_int(obj, (int*)0);
488}
d55e5bfc 489
c32bde28
RD
490
491SWIGSTATICINLINE(int)
492SWIG_Check_long(PyObject* obj)
d55e5bfc 493{
c32bde28 494 return SWIG_AsVal_long(obj, (long*)0);
d55e5bfc
RD
495}
496
497
498SWIGSTATICINLINE(int)
c32bde28 499 SWIG_AsVal_bool(PyObject *obj, bool *val)
d55e5bfc 500{
c32bde28
RD
501 /* if (val) *val = PyObject_IsTrue(obj); return 1; */
502 if (obj == Py_True) {
503 if (val) *val = true;
504 return 1;
505 }
506 if (obj == Py_False) {
507 if (val) *val = false;
508 return 1;
509 }
510 int res = 0;
511 if (SWIG_AsVal_int(obj, &res)) {
512 if (val) *val = (bool)res;
d55e5bfc
RD
513 return 1;
514 }
c32bde28
RD
515 if (val) {
516 PyErr_SetString(PyExc_TypeError, "a bool is expected");
517 }
518 return 0;
519}
520
521
522SWIGSTATICINLINE(bool)
523SWIG_As_bool(PyObject* obj)
524{
525 bool v;
526 if (!SWIG_AsVal_bool(obj, &v)) {
527 /*
528 this is needed to make valgrind/purify happier. the other
529 solution is throw an exception, but since this code should work
530 with plain C ....
531 */
532 memset((void*)&v, 0, sizeof(bool));
533 }
534 return v;
d55e5bfc
RD
535}
536
c32bde28
RD
537
538SWIGSTATICINLINE(int)
539SWIG_Check_bool(PyObject* obj)
540{
541 return SWIG_AsVal_bool(obj, (bool*)0);
542}
d55e5bfc 543
c32bde28
RD
544
545 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
d55e5bfc
RD
546 PyObject* o2;
547 PyObject* o3;
c32bde28 548
d55e5bfc
RD
549 if (!target) {
550 target = o;
551 } else if (target == Py_None) {
552 Py_DECREF(Py_None);
553 target = o;
554 } else {
c32bde28
RD
555 o2 = target;
556 target = PyTuple_New(1);
557 PyTuple_SetItem(target, 0, o2);
558
d55e5bfc
RD
559 o3 = PyTuple_New(1);
560 PyTuple_SetItem(o3, 0, o);
561
562 o2 = target;
563 target = PySequence_Concat(o2, o3);
564 Py_DECREF(o2);
565 Py_DECREF(o3);
566 }
567 return target;
568}
569
570
c32bde28
RD
571
572// See my_fragments.i
573SWIGSTATICINLINE(int)
574SWIG_AsVal_double(PyObject *obj, double* val)
d55e5bfc 575{
c32bde28
RD
576 if (PyNumber_Check(obj)) {
577 if (val) *val = PyFloat_AsDouble(obj);
578 return 1;
579 }
d55e5bfc
RD
580 else {
581 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
582 obj->ob_type->tp_name);
583 PyErr_SetObject(PyExc_TypeError, errmsg);
584 Py_DECREF(errmsg);
d55e5bfc 585 }
c32bde28 586 return 0;
d55e5bfc
RD
587}
588
589
c32bde28
RD
590SWIGSTATICINLINE(double)
591SWIG_As_double(PyObject* obj)
d55e5bfc 592{
c32bde28
RD
593 double v;
594 if (!SWIG_AsVal_double(obj, &v)) {
595 /*
596 this is needed to make valgrind/purify happier. the other
597 solution is throw an exception, but since this code should work
598 with plain C ....
599 */
600 memset((void*)&v, 0, sizeof(double));
d55e5bfc 601 }
c32bde28
RD
602 return v;
603}
604
605
606SWIGSTATICINLINE(int)
607SWIG_Check_double(PyObject* obj)
608{
609 return SWIG_AsVal_double(obj, (double*)0);
d55e5bfc
RD
610}
611
612 static const wxString wxPyFrameNameStr(wxFrameNameStr);
613 static const wxString wxPyDialogNameStr(wxDialogNameStr);
614 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
615 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
616
617
618wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
619 wxRect r;
620 self->GetFieldRect(i, r);
621 return r;
622 }
623 static const wxString wxPySplitterNameStr(wxT("splitter"));
624 static const wxString wxPySashNameStr(wxT("sashWindow"));
625 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
626
627#include <wx/popupwin.h>
628
629
630class wxPyPopupTransientWindow : public wxPopupTransientWindow
631{
632public:
633 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
634 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
635 : wxPopupTransientWindow(parent, style) {}
636
637 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
638 DEC_PYCALLBACK__(OnDismiss);
639 DEC_PYCALLBACK_BOOL_(CanDismiss);
640 PYPRIVATE;
641};
642
643
644IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
645IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
646IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
647
648
649#include <wx/tipwin.h>
650
651wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength,wxRect *rectBound){
652 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
653 }
654
655#include <wx/tipwin.h>
656
657
658#include <wx/vscroll.h>
659
660
661class wxPyVScrolledWindow : public wxVScrolledWindow
662{
663 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
664public:
665 wxPyVScrolledWindow() : wxVScrolledWindow() {}
666
667 wxPyVScrolledWindow(wxWindow *parent,
668 wxWindowID id = wxID_ANY,
669 const wxPoint& pos = wxDefaultPosition,
670 const wxSize& size = wxDefaultSize,
671 long style = 0,
672 const wxString& name = wxPyPanelNameStr)
673 : wxVScrolledWindow(parent, id, pos, size, style, name)
674 {}
675
676 // Overridable virtuals
677
678 // this function must be overridden in the derived class and it should
679 // return the height of the given line in pixels
680 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
681
682
683 // this function doesn't have to be overridden but it may be useful to do
684 // it if calculating the lines heights is a relatively expensive operation
685 // as it gives the user code a possibility to calculate several of them at
686 // once
687 //
688 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
689 // shouldn't rely on the latter being called for all lines in the interval
690 // specified here. It is also possible that OnGetLineHeight() will be
691 // called for the lines outside of this interval, so this is really just a
692 // hint, not a promise.
693 //
694 // finally note that lineMin is inclusive, while lineMax is exclusive, as
695 // usual
696 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
697
698
699 // when the number of lines changes, we try to estimate the total height
700 // of all lines which is a rather expensive operation in terms of lines
701 // access, so if the user code may estimate the average height
702 // better/faster than we do, it should override this function to implement
703 // its own logic
704 //
705 // this function should return the best guess for the total height it may
706 // make
707 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
708
709
710 // Also expose some other interesting protected methods
711
712
713 // find the index of the line we need to show at the top of the window such
714 // that the last (fully or partially) visible line is the given one
715 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = False)
716 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
717
718 // get the total height of the lines between lineMin (inclusive) and
719 // lineMax (exclusive)
720 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
721 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
722
723
724 PYPRIVATE;
725};
726
727IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
728
729IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
730IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
731IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
732
733
c32bde28
RD
734// See my_fragments.i
735SWIGSTATICINLINE(int)
736SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
d55e5bfc 737{
c32bde28
RD
738 long v = 0;
739 if (SWIG_AsVal_long(obj, &v) && v < 0) {
740 PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type");
741 return 0;
d55e5bfc 742 }
c32bde28
RD
743 else if (val)
744 *val = (unsigned long)v;
745 return 1;
d55e5bfc
RD
746}
747
748
c32bde28
RD
749SWIGSTATICINLINE(unsigned long)
750SWIG_As_unsigned_SS_long(PyObject* obj)
d55e5bfc 751{
c32bde28
RD
752 unsigned long v;
753 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
754 /*
755 this is needed to make valgrind/purify happier. the other
756 solution is throw an exception, but since this code should work
757 with plain C ....
758 */
759 memset((void*)&v, 0, sizeof(unsigned long));
d55e5bfc 760 }
c32bde28
RD
761 return v;
762}
763
764
765SWIGSTATICINLINE(int)
766SWIG_Check_unsigned_SS_long(PyObject* obj)
767{
768 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
d55e5bfc
RD
769}
770
771
772SWIGSTATICINLINE(PyObject* )
c32bde28 773 SWIG_From_unsigned_SS_long(unsigned long value)
d55e5bfc
RD
774{
775 return (value > LONG_MAX) ?
776 PyLong_FromUnsignedLong(value)
c32bde28 777 : PyInt_FromLong(swig_numeric_cast(value,long));
d55e5bfc
RD
778}
779
780
781#include <wx/vlbox.h>
782
783 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
784
785class wxPyVListBox : public wxVListBox
786{
787 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
788public:
789 wxPyVListBox() : wxVListBox() {}
790
791 wxPyVListBox(wxWindow *parent,
792 wxWindowID id = wxID_ANY,
793 const wxPoint& pos = wxDefaultPosition,
794 const wxSize& size = wxDefaultSize,
795 long style = 0,
796 const wxString& name = wxPyVListBoxNameStr)
797 : wxVListBox(parent, id, pos, size, style, name)
798 {}
799
800 // Overridable virtuals
801
802 // the derived class must implement this function to actually draw the item
803 // with the given index on the provided DC
804 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
805 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
806
807
808 // the derived class must implement this method to return the height of the
809 // specified item
810 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
811 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
812
813
814 // this method may be used to draw separators between the lines; note that
815 // the rectangle may be modified, typically to deflate it a bit before
816 // passing to OnDrawItem()
817 //
818 // the base class version doesn't do anything
819 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
820 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
821
822
823 // this method is used to draw the items background and, maybe, a border
824 // around it
825 //
826 // the base class version implements a reasonable default behaviour which
827 // consists in drawing the selected item with the standard background
828 // colour and drawing a border around the item if it is either selected or
829 // current
830 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
831 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
832
833
834 PYPRIVATE;
835};
836
837IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
838
839IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
840IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
841IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
842IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
843
844
09c21d3b
RD
845PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
846 unsigned long cookie = 0;
847 int selected = self->GetFirstSelected(cookie);
848 bool blocked = wxPyBeginBlockThreads();
849 PyObject* tup = PyTuple_New(2);
850 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
851 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
852 wxPyEndBlockThreads(blocked);
853 return tup;
854 }
855PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
856 int selected = self->GetNextSelected(cookie);
857 bool blocked = wxPyBeginBlockThreads();
858 PyObject* tup = PyTuple_New(2);
859 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
860 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
861 wxPyEndBlockThreads(blocked);
862 return tup;
863 }
d55e5bfc
RD
864
865#include <wx/htmllbox.h>
866
867
868class wxPyHtmlListBox : public wxHtmlListBox
869{
870 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
871public:
872 wxPyHtmlListBox() : wxHtmlListBox() {}
873
874 wxPyHtmlListBox(wxWindow *parent,
875 wxWindowID id = wxID_ANY,
876 const wxPoint& pos = wxDefaultPosition,
877 const wxSize& size = wxDefaultSize,
878 long style = 0,
879 const wxString& name = wxPyVListBoxNameStr)
880 : wxHtmlListBox(parent, id, pos, size, style, name)
881 {}
882
883 // Overridable virtuals
884
885 // this method must be implemented in the derived class and should return
886 // the body (i.e. without <html>) of the HTML for the given item
887 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
888
889 // this function may be overridden to decorate HTML returned by OnGetItem()
890 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
891
892// TODO:
893// // this method allows to customize the selection appearance: it may be used
894// // to specify the colour of the text which normally has the given colour
895// // colFg when it is inside the selection
896// //
897// // by default, the original colour is not used at all and all text has the
898// // same (default for this system) colour inside selection
899// virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
900
901// // this is the same as GetSelectedTextColour() but allows to customize the
902// // background colour -- this is even more rarely used as you can change it
903// // globally using SetSelectionBackground()
904// virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
905
906
907 PYPRIVATE;
908};
909
910
911IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
912
913IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
914IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
915
916
917
918
919
920#ifdef __WXMAC__
921// implement dummy classes and such for wxMac
922
923class wxTaskBarIcon : public wxEvtHandler
924{
925public:
926 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
927};
09c21d3b 928
d55e5bfc
RD
929
930class wxTaskBarIconEvent : public wxEvent
931{
932public:
933 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
934 { wxPyRaiseNotImplemented(); }
935 virtual wxEvent* Clone() const { return NULL; }
936};
937
938enum {
939 wxEVT_TASKBAR_MOVE = 0,
940 wxEVT_TASKBAR_LEFT_DOWN = 0,
941 wxEVT_TASKBAR_LEFT_UP = 0,
942 wxEVT_TASKBAR_RIGHT_DOWN = 0,
943 wxEVT_TASKBAR_RIGHT_UP = 0,
944 wxEVT_TASKBAR_LEFT_DCLICK = 0,
945 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
946};
09c21d3b
RD
947
948
949#else
950// // Otherwise make a class that can virtualize CreatePopupMenu
951// class wxPyTaskBarIcon : public wxTaskBarIcon
952// {
953// DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon);
954// public:
955// wxPyTaskBarIcon() : wxTaskBarIcon()
956// {}
957
958// wxMenu* CreatePopupMenu() {
959// wxMenu *rval = NULL;
960// bool found;
961// bool blocked = wxPyBeginBlockThreads();
962// if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
963// PyObject* ro;
964// wxMenu* ptr;
965// ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
966// if (ro) {
967// if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
968// rval = ptr;
969// Py_DECREF(ro);
970// }
971// }
972// wxPyEndBlockThreads(blocked);
973// if (! found)
974// rval = wxTaskBarIcon::CreatePopupMenu();
975// return rval;
976// }
977
978// PYPRIVATE;
979// };
980
981// IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
982
d55e5bfc
RD
983#endif
984
985void wxTaskBarIcon_Destroy(wxTaskBarIcon *self){
986
987 self->RemoveIcon();
988
989 }
990 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
991 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
992 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
993 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
994 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
995 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
996PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
997 wxArrayString arr;
998 self->GetFilenames(arr);
999 return wxArrayString2PyList_helper(arr);
1000 }
1001PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
1002 wxArrayString arr;
1003 self->GetPaths(arr);
1004 return wxArrayString2PyList_helper(arr);
1005 }
1006PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
1007 return wxArrayInt2PyList_helper(self->GetSelections());
1008 }
1009wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){
1010 return new wxSingleChoiceDialog(parent, message, caption,
1011 choices, choices_array, NULL, style, pos);
1012 }
1013
1014#include <wx/mdi.h>
1015
1016 // C++ version of Python aware wxWindow
1017class wxPyWindow : public wxWindow
1018{
1019 DECLARE_DYNAMIC_CLASS(wxPyWindow)
1020public:
1021 wxPyWindow() : wxWindow() {}
1022 wxPyWindow(wxWindow* parent, const wxWindowID id,
1023 const wxPoint& pos = wxDefaultPosition,
1024 const wxSize& size = wxDefaultSize,
1025 long style = 0,
1026 const wxString& name = wxPyPanelNameStr)
1027 : wxWindow(parent, id, pos, size, style, name) {}
1028
caef1a4d 1029 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
d55e5bfc
RD
1030
1031 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1032 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1033 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1034 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1035
1036 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1037 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1038 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1039
1040 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1041 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1042
1043 DEC_PYCALLBACK__(InitDialog);
1044 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1045 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1046 DEC_PYCALLBACK_BOOL_(Validate);
1047
1048 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1049 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1050 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1051
1052 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1053 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1054
caef1a4d 1055 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
d55e5bfc 1056 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
caef1a4d 1057 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc
RD
1058
1059 PYPRIVATE;
1060};
1061
1062IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
1063
1064IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
1065IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
1066IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
1067IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
1068
1069IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
1070IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
1071IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
1072
1073IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
1074IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
1075
1076IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
1077IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
1078IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
1079IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
1080
1081IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
1082IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
1083IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
1084
1085IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
1086IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
1087
caef1a4d 1088IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
d55e5bfc 1089IMP_PYCALLBACK__COLOUR(wxPyWindow, wxWindow, ApplyParentThemeBackground);
caef1a4d 1090IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
d55e5bfc
RD
1091
1092
1093 // C++ version of Python aware wxPanel
1094class wxPyPanel : public wxPanel
1095{
1096 DECLARE_DYNAMIC_CLASS(wxPyPanel)
1097public:
1098 wxPyPanel() : wxPanel() {}
1099 wxPyPanel(wxWindow* parent, const wxWindowID id,
1100 const wxPoint& pos = wxDefaultPosition,
1101 const wxSize& size = wxDefaultSize,
1102 long style = 0,
1103 const wxString& name = wxPyPanelNameStr)
1104 : wxPanel(parent, id, pos, size, style, name) {}
1105
caef1a4d
RD
1106 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
1107
d55e5bfc
RD
1108
1109 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1110 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1111 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1112 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1113
1114 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1115 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1116 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1117
1118 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1119 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1120
1121 DEC_PYCALLBACK__(InitDialog);
1122 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1123 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1124 DEC_PYCALLBACK_BOOL_(Validate);
1125
1126 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1127 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1128 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1129
1130 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1131 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1132
caef1a4d 1133 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
d55e5bfc 1134 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
caef1a4d 1135 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc
RD
1136
1137 PYPRIVATE;
1138};
1139
1140IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
1141
1142IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
1143IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
1144IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
1145IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
1146
1147IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
1148IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
1149IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
1150
1151IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
1152IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
1153
1154IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
1155IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
1156IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
1157IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
1158
1159IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
1160IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
1161IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
1162
1163IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
1164IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
1165
caef1a4d 1166IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
d55e5bfc 1167IMP_PYCALLBACK__COLOUR(wxPyPanel, wxPanel, ApplyParentThemeBackground);
caef1a4d 1168IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
d55e5bfc 1169
caef1a4d 1170
d55e5bfc
RD
1171 // C++ version of Python aware wxScrolledWindow
1172class wxPyScrolledWindow : public wxScrolledWindow
1173{
1174 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
1175public:
1176 wxPyScrolledWindow() : wxScrolledWindow() {}
1177 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
1178 const wxPoint& pos = wxDefaultPosition,
1179 const wxSize& size = wxDefaultSize,
1180 long style = 0,
1181 const wxString& name = wxPyPanelNameStr)
1182 : wxScrolledWindow(parent, id, pos, size, style, name) {}
1183
caef1a4d 1184 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
d55e5bfc
RD
1185
1186 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1187 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1188 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1189 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1190
1191 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1192 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1193 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1194
1195 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1196 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1197
1198 DEC_PYCALLBACK__(InitDialog);
1199 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1200 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1201 DEC_PYCALLBACK_BOOL_(Validate);
1202
1203 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1204 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1205 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1206
1207 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1208 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1209
caef1a4d 1210 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
d55e5bfc 1211 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
caef1a4d 1212 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc
RD
1213
1214 PYPRIVATE;
1215};
1216
1217IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
1218
1219IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
1220IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
1221IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
1222IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
1223
1224IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
1225IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
1226IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
1227
1228IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
1229IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
1230
1231IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
1232IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
1233IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
1234IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
1235
1236IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
1237IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
1238IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
1239
1240IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
1241IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
1242
caef1a4d 1243IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
d55e5bfc 1244IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow, wxScrolledWindow, ApplyParentThemeBackground);
caef1a4d
RD
1245IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
1246
d55e5bfc
RD
1247
1248
1249#include "wx/wxPython/printfw.h"
1250
1251
1252 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
1253 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1254
1255
1256
1257// Since this one would be tough and ugly to do with the Macros...
1258void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1259 bool hadErr = False;
1260 bool found;
1261
1262 bool blocked = wxPyBeginBlockThreads();
1263 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
1264 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1265 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
1266 PyObject* val;
1267
1268 val = PyTuple_GetItem(result, 0);
1269 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
1270 else hadErr = True;
1271
1272 val = PyTuple_GetItem(result, 1);
1273 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
1274 else hadErr = True;
1275
1276 val = PyTuple_GetItem(result, 2);
1277 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
1278 else hadErr = True;
1279
1280 val = PyTuple_GetItem(result, 3);
1281 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
1282 else hadErr = True;
1283 }
1284 else
1285 hadErr = True;
1286
1287 if (hadErr) {
1288 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
1289 PyErr_Print();
1290 }
1291 Py_DECREF(result);
1292 }
1293 wxPyEndBlockThreads(blocked);
1294 if (! found)
1295 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1296}
1297
1298void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1299 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1300}
1301
1302
1303IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
1304IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
1305IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
1306IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
1307IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
1308IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
1309IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
1310
1311
1312
1313
1314
1315#define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1316 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1317 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1318
1319
1320#define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1321 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1322 bool rval=False; \
1323 bool found; \
1324 bool blocked = wxPyBeginBlockThreads(); \
1325 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
412d302d
RD
1326 PyObject* win = wxPyMake_wxObject(a,false); \
1327 PyObject* dc = wxPyMake_wxObject(&b,false); \
d55e5bfc
RD
1328 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
1329 Py_DECREF(win); \
1330 Py_DECREF(dc); \
1331 } \
1332 wxPyEndBlockThreads(blocked); \
1333 if (! found) \
1334 rval = PCLASS::CBNAME(a, b); \
1335 return rval; \
1336 } \
1337 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1338 return PCLASS::CBNAME(a, b); \
1339 }
1340
1341
1342
1343
1344class wxPyPrintPreview : public wxPrintPreview
1345{
1346 DECLARE_CLASS(wxPyPrintPreview)
1347public:
1348 wxPyPrintPreview(wxPyPrintout* printout,
1349 wxPyPrintout* printoutForPrinting,
1350 wxPrintDialogData* data=NULL)
1351 : wxPrintPreview(printout, printoutForPrinting, data)
1352 {}
1353 wxPyPrintPreview(wxPyPrintout* printout,
1354 wxPyPrintout* printoutForPrinting,
1355 wxPrintData* data=NULL)
1356 : wxPrintPreview(printout, printoutForPrinting, data)
1357 {}
1358
1359 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
1360 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
1361 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
1362 DEC_PYCALLBACK_BOOL_INT(RenderPage);
1363 DEC_PYCALLBACK_VOID_INT(SetZoom);
1364 DEC_PYCALLBACK_BOOL_BOOL(Print);
1365 DEC_PYCALLBACK_VOID_(DetermineScaling);
1366
1367 PYPRIVATE;
1368};
1369
1370// Stupid renamed classes... Fix this in 2.5...
1371#if defined(__WXMSW__)
1372IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
1373#elif defined(__WXMAC__)
1374IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
1375#else
1376IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
1377#endif
1378
1379IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
1380IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
1381IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
1382IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
1383IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
1384IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
1385IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
1386
1387
1388class wxPyPreviewFrame : public wxPreviewFrame
1389{
1390 DECLARE_CLASS(wxPyPreviewFrame);
1391public:
1392 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
1393 const wxString& title,
1394 const wxPoint& pos = wxDefaultPosition,
1395 const wxSize& size = wxDefaultSize,
1396 long style = wxDEFAULT_FRAME_STYLE,
1397 const wxString& name = wxPyFrameNameStr)
1398 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
1399 {}
1400
1401 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
1402 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
1403
1404 DEC_PYCALLBACK_VOID_(Initialize);
1405 DEC_PYCALLBACK_VOID_(CreateCanvas);
1406 DEC_PYCALLBACK_VOID_(CreateControlBar);
1407
1408 PYPRIVATE;
1409};
1410
1411IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
1412
1413IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
1414IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
1415IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
1416
1417
1418class wxPyPreviewControlBar : public wxPreviewControlBar
1419{
1420 DECLARE_CLASS(wxPyPreviewControlBar);
1421public:
1422 wxPyPreviewControlBar(wxPrintPreview *preview,
1423 long buttons,
1424 wxWindow *parent,
1425 const wxPoint& pos = wxDefaultPosition,
1426 const wxSize& size = wxDefaultSize,
1427 long style = 0,
1428 const wxString& name = wxPyPanelNameStr)
1429 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
1430 {}
1431
1432 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
1433
1434 DEC_PYCALLBACK_VOID_(CreateButtons);
1435 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
1436
1437 PYPRIVATE;
1438};
1439
1440IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
1441IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
1442IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
1443
1444#ifdef __cplusplus
1445extern "C" {
1446#endif
c32bde28 1447static PyObject *_wrap_new_Panel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
1448 PyObject *resultobj;
1449 wxWindow *arg1 = (wxWindow *) 0 ;
1450 int arg2 = (int) (int)-1 ;
1451 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1452 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1453 wxSize const &arg4_defvalue = wxDefaultSize ;
1454 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1455 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1456 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1457 wxString *arg6 = (wxString *) &arg6_defvalue ;
1458 wxPanel *result;
1459 wxPoint temp3 ;
1460 wxSize temp4 ;
1461 bool temp6 = False ;
1462 PyObject * obj0 = 0 ;
1463 PyObject * obj1 = 0 ;
1464 PyObject * obj2 = 0 ;
1465 PyObject * obj3 = 0 ;
1466 PyObject * obj4 = 0 ;
1467 PyObject * obj5 = 0 ;
1468 char *kwnames[] = {
1469 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1470 };
1471
1472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1475 if (obj1) {
c32bde28 1476 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
1477 if (PyErr_Occurred()) SWIG_fail;
1478 }
1479 if (obj2) {
1480 {
1481 arg3 = &temp3;
1482 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1483 }
1484 }
1485 if (obj3) {
1486 {
1487 arg4 = &temp4;
1488 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1489 }
1490 }
1491 if (obj4) {
c32bde28 1492 arg5 = (long)SWIG_As_long(obj4);
d55e5bfc
RD
1493 if (PyErr_Occurred()) SWIG_fail;
1494 }
1495 if (obj5) {
1496 {
1497 arg6 = wxString_in_helper(obj5);
1498 if (arg6 == NULL) SWIG_fail;
1499 temp6 = True;
1500 }
1501 }
1502 {
0439c23b 1503 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
1504 PyThreadState* __tstate = wxPyBeginAllowThreads();
1505 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1506
1507 wxPyEndAllowThreads(__tstate);
110da5b0 1508 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 1509 }
b0f7404b 1510 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
d55e5bfc
RD
1511 {
1512 if (temp6)
1513 delete arg6;
1514 }
1515 return resultobj;
1516 fail:
1517 {
1518 if (temp6)
1519 delete arg6;
1520 }
1521 return NULL;
1522}
1523
1524
c32bde28 1525static PyObject *_wrap_new_PrePanel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
1526 PyObject *resultobj;
1527 wxPanel *result;
1528 char *kwnames[] = {
1529 NULL
1530 };
1531
1532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
1533 {
0439c23b 1534 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
1535 PyThreadState* __tstate = wxPyBeginAllowThreads();
1536 result = (wxPanel *)new wxPanel();
1537
1538 wxPyEndAllowThreads(__tstate);
110da5b0 1539 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 1540 }
b0f7404b 1541 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
d55e5bfc
RD
1542 return resultobj;
1543 fail:
1544 return NULL;
1545}
1546
1547
c32bde28 1548static PyObject *_wrap_Panel_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
1549 PyObject *resultobj;
1550 wxPanel *arg1 = (wxPanel *) 0 ;
1551 wxWindow *arg2 = (wxWindow *) 0 ;
1552 int arg3 = (int) (int)-1 ;
1553 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1554 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1555 wxSize const &arg5_defvalue = wxDefaultSize ;
1556 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1557 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1558 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1559 wxString *arg7 = (wxString *) &arg7_defvalue ;
1560 bool result;
1561 wxPoint temp4 ;
1562 wxSize temp5 ;
1563 bool temp7 = False ;
1564 PyObject * obj0 = 0 ;
1565 PyObject * obj1 = 0 ;
1566 PyObject * obj2 = 0 ;
1567 PyObject * obj3 = 0 ;
1568 PyObject * obj4 = 0 ;
1569 PyObject * obj5 = 0 ;
1570 PyObject * obj6 = 0 ;
1571 char *kwnames[] = {
1572 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1573 };
1574
1575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1578 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1580 if (obj2) {
c32bde28 1581 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
1582 if (PyErr_Occurred()) SWIG_fail;
1583 }
1584 if (obj3) {
1585 {
1586 arg4 = &temp4;
1587 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1588 }
1589 }
1590 if (obj4) {
1591 {
1592 arg5 = &temp5;
1593 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1594 }
1595 }
1596 if (obj5) {
c32bde28 1597 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
1598 if (PyErr_Occurred()) SWIG_fail;
1599 }
1600 if (obj6) {
1601 {
1602 arg7 = wxString_in_helper(obj6);
1603 if (arg7 == NULL) SWIG_fail;
1604 temp7 = True;
1605 }
1606 }
1607 {
1608 PyThreadState* __tstate = wxPyBeginAllowThreads();
1609 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1610
1611 wxPyEndAllowThreads(__tstate);
1612 if (PyErr_Occurred()) SWIG_fail;
1613 }
1614 {
1615 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1616 }
1617 {
1618 if (temp7)
1619 delete arg7;
1620 }
1621 return resultobj;
1622 fail:
1623 {
1624 if (temp7)
1625 delete arg7;
1626 }
1627 return NULL;
1628}
1629
1630
c32bde28 1631static PyObject *_wrap_Panel_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
1632 PyObject *resultobj;
1633 wxPanel *arg1 = (wxPanel *) 0 ;
1634 PyObject * obj0 = 0 ;
1635 char *kwnames[] = {
1636 (char *) "self", NULL
1637 };
1638
1639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
1640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1642 {
1643 PyThreadState* __tstate = wxPyBeginAllowThreads();
1644 (arg1)->InitDialog();
1645
1646 wxPyEndAllowThreads(__tstate);
1647 if (PyErr_Occurred()) SWIG_fail;
1648 }
1649 Py_INCREF(Py_None); resultobj = Py_None;
1650 return resultobj;
1651 fail:
1652 return NULL;
1653}
1654
1655
c32bde28 1656static PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f
RD
1657 PyObject *resultobj;
1658 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
1659 wxVisualAttributes result;
1660 PyObject * obj0 = 0 ;
1661 char *kwnames[] = {
1662 (char *) "variant", NULL
1663 };
1664
1665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
1666 if (obj0) {
c32bde28 1667 arg1 = (int)SWIG_As_int(obj0);
f20a2e1f
RD
1668 if (PyErr_Occurred()) SWIG_fail;
1669 }
1670 {
0439c23b 1671 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
1672 PyThreadState* __tstate = wxPyBeginAllowThreads();
1673 result = wxPanel::GetClassDefaultAttributes((wxWindowVariant )arg1);
1674
1675 wxPyEndAllowThreads(__tstate);
110da5b0 1676 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
1677 }
1678 {
1679 wxVisualAttributes * resultptr;
1680 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
1681 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
1682 }
1683 return resultobj;
1684 fail:
1685 return NULL;
1686}
1687
1688
c32bde28 1689static PyObject * Panel_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
1690 PyObject *obj;
1691 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1692 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
1693 Py_INCREF(obj);
1694 return Py_BuildValue((char *)"");
1695}
c32bde28 1696static PyObject *_wrap_new_ScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
1697 PyObject *resultobj;
1698 wxWindow *arg1 = (wxWindow *) 0 ;
1699 int arg2 = (int) (int)-1 ;
1700 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1701 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1702 wxSize const &arg4_defvalue = wxDefaultSize ;
1703 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1704 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
1705 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1706 wxString *arg6 = (wxString *) &arg6_defvalue ;
1707 wxScrolledWindow *result;
1708 wxPoint temp3 ;
1709 wxSize temp4 ;
1710 bool temp6 = False ;
1711 PyObject * obj0 = 0 ;
1712 PyObject * obj1 = 0 ;
1713 PyObject * obj2 = 0 ;
1714 PyObject * obj3 = 0 ;
1715 PyObject * obj4 = 0 ;
1716 PyObject * obj5 = 0 ;
1717 char *kwnames[] = {
1718 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1719 };
1720
1721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1724 if (obj1) {
c32bde28 1725 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
1726 if (PyErr_Occurred()) SWIG_fail;
1727 }
1728 if (obj2) {
1729 {
1730 arg3 = &temp3;
1731 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1732 }
1733 }
1734 if (obj3) {
1735 {
1736 arg4 = &temp4;
1737 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1738 }
1739 }
1740 if (obj4) {
c32bde28 1741 arg5 = (long)SWIG_As_long(obj4);
d55e5bfc
RD
1742 if (PyErr_Occurred()) SWIG_fail;
1743 }
1744 if (obj5) {
1745 {
1746 arg6 = wxString_in_helper(obj5);
1747 if (arg6 == NULL) SWIG_fail;
1748 temp6 = True;
1749 }
1750 }
1751 {
0439c23b 1752 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
1753 PyThreadState* __tstate = wxPyBeginAllowThreads();
1754 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1755
1756 wxPyEndAllowThreads(__tstate);
110da5b0 1757 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 1758 }
b0f7404b 1759 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
d55e5bfc
RD
1760 {
1761 if (temp6)
1762 delete arg6;
1763 }
1764 return resultobj;
1765 fail:
1766 {
1767 if (temp6)
1768 delete arg6;
1769 }
1770 return NULL;
1771}
1772
1773
c32bde28 1774static PyObject *_wrap_new_PreScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
1775 PyObject *resultobj;
1776 wxScrolledWindow *result;
1777 char *kwnames[] = {
1778 NULL
1779 };
1780
1781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
1782 {
0439c23b 1783 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
1784 PyThreadState* __tstate = wxPyBeginAllowThreads();
1785 result = (wxScrolledWindow *)new wxScrolledWindow();
1786
1787 wxPyEndAllowThreads(__tstate);
110da5b0 1788 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 1789 }
b0f7404b 1790 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
d55e5bfc
RD
1791 return resultobj;
1792 fail:
1793 return NULL;
1794}
1795
1796
c32bde28 1797static PyObject *_wrap_ScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
1798 PyObject *resultobj;
1799 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1800 wxWindow *arg2 = (wxWindow *) 0 ;
1801 int arg3 = (int) (int)-1 ;
1802 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1803 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1804 wxSize const &arg5_defvalue = wxDefaultSize ;
1805 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1806 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
1807 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1808 wxString *arg7 = (wxString *) &arg7_defvalue ;
1809 bool result;
1810 wxPoint temp4 ;
1811 wxSize temp5 ;
1812 bool temp7 = False ;
1813 PyObject * obj0 = 0 ;
1814 PyObject * obj1 = 0 ;
1815 PyObject * obj2 = 0 ;
1816 PyObject * obj3 = 0 ;
1817 PyObject * obj4 = 0 ;
1818 PyObject * obj5 = 0 ;
1819 PyObject * obj6 = 0 ;
1820 char *kwnames[] = {
1821 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1822 };
1823
1824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1827 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1829 if (obj2) {
c32bde28 1830 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
1831 if (PyErr_Occurred()) SWIG_fail;
1832 }
1833 if (obj3) {
1834 {
1835 arg4 = &temp4;
1836 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1837 }
1838 }
1839 if (obj4) {
1840 {
1841 arg5 = &temp5;
1842 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1843 }
1844 }
1845 if (obj5) {
c32bde28 1846 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
1847 if (PyErr_Occurred()) SWIG_fail;
1848 }
1849 if (obj6) {
1850 {
1851 arg7 = wxString_in_helper(obj6);
1852 if (arg7 == NULL) SWIG_fail;
1853 temp7 = True;
1854 }
1855 }
1856 {
1857 PyThreadState* __tstate = wxPyBeginAllowThreads();
1858 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1859
1860 wxPyEndAllowThreads(__tstate);
1861 if (PyErr_Occurred()) SWIG_fail;
1862 }
1863 {
1864 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1865 }
1866 {
1867 if (temp7)
1868 delete arg7;
1869 }
1870 return resultobj;
1871 fail:
1872 {
1873 if (temp7)
1874 delete arg7;
1875 }
1876 return NULL;
1877}
1878
1879
c32bde28 1880static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
1881 PyObject *resultobj;
1882 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1883 int arg2 ;
1884 int arg3 ;
1885 int arg4 ;
1886 int arg5 ;
1887 int arg6 = (int) 0 ;
1888 int arg7 = (int) 0 ;
1889 bool arg8 = (bool) False ;
1890 PyObject * obj0 = 0 ;
1891 PyObject * obj1 = 0 ;
1892 PyObject * obj2 = 0 ;
1893 PyObject * obj3 = 0 ;
1894 PyObject * obj4 = 0 ;
1895 PyObject * obj5 = 0 ;
1896 PyObject * obj6 = 0 ;
1897 PyObject * obj7 = 0 ;
1898 char *kwnames[] = {
1899 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1900 };
1901
1902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 1905 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 1906 if (PyErr_Occurred()) SWIG_fail;
c32bde28 1907 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc 1908 if (PyErr_Occurred()) SWIG_fail;
c32bde28 1909 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc 1910 if (PyErr_Occurred()) SWIG_fail;
c32bde28 1911 arg5 = (int)SWIG_As_int(obj4);
d55e5bfc
RD
1912 if (PyErr_Occurred()) SWIG_fail;
1913 if (obj5) {
c32bde28 1914 arg6 = (int)SWIG_As_int(obj5);
d55e5bfc
RD
1915 if (PyErr_Occurred()) SWIG_fail;
1916 }
1917 if (obj6) {
c32bde28 1918 arg7 = (int)SWIG_As_int(obj6);
d55e5bfc
RD
1919 if (PyErr_Occurred()) SWIG_fail;
1920 }
1921 if (obj7) {
c32bde28 1922 arg8 = (bool)SWIG_As_bool(obj7);
d55e5bfc
RD
1923 if (PyErr_Occurred()) SWIG_fail;
1924 }
1925 {
1926 PyThreadState* __tstate = wxPyBeginAllowThreads();
1927 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1928
1929 wxPyEndAllowThreads(__tstate);
1930 if (PyErr_Occurred()) SWIG_fail;
1931 }
1932 Py_INCREF(Py_None); resultobj = Py_None;
1933 return resultobj;
1934 fail:
1935 return NULL;
1936}
1937
1938
c32bde28 1939static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
1940 PyObject *resultobj;
1941 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1942 int arg2 ;
1943 int arg3 ;
1944 PyObject * obj0 = 0 ;
1945 PyObject * obj1 = 0 ;
1946 PyObject * obj2 = 0 ;
1947 char *kwnames[] = {
1948 (char *) "self",(char *) "x",(char *) "y", NULL
1949 };
1950
1951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
1952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 1954 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 1955 if (PyErr_Occurred()) SWIG_fail;
c32bde28 1956 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
1957 if (PyErr_Occurred()) SWIG_fail;
1958 {
1959 PyThreadState* __tstate = wxPyBeginAllowThreads();
1960 (arg1)->Scroll(arg2,arg3);
1961
1962 wxPyEndAllowThreads(__tstate);
1963 if (PyErr_Occurred()) SWIG_fail;
1964 }
1965 Py_INCREF(Py_None); resultobj = Py_None;
1966 return resultobj;
1967 fail:
1968 return NULL;
1969}
1970
1971
c32bde28 1972static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
1973 PyObject *resultobj;
1974 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1975 int arg2 ;
1976 int result;
1977 PyObject * obj0 = 0 ;
1978 PyObject * obj1 = 0 ;
1979 char *kwnames[] = {
1980 (char *) "self",(char *) "orient", NULL
1981 };
1982
1983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail;
1984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 1986 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
1987 if (PyErr_Occurred()) SWIG_fail;
1988 {
1989 PyThreadState* __tstate = wxPyBeginAllowThreads();
1990 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
1991
1992 wxPyEndAllowThreads(__tstate);
1993 if (PyErr_Occurred()) SWIG_fail;
1994 }
c32bde28 1995 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
1996 return resultobj;
1997 fail:
1998 return NULL;
1999}
2000
2001
c32bde28 2002static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2003 PyObject *resultobj;
2004 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2005 int arg2 ;
2006 int arg3 ;
2007 PyObject * obj0 = 0 ;
2008 PyObject * obj1 = 0 ;
2009 PyObject * obj2 = 0 ;
2010 char *kwnames[] = {
2011 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
2012 };
2013
2014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 2017 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 2018 if (PyErr_Occurred()) SWIG_fail;
c32bde28 2019 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
2020 if (PyErr_Occurred()) SWIG_fail;
2021 {
2022 PyThreadState* __tstate = wxPyBeginAllowThreads();
2023 (arg1)->SetScrollPageSize(arg2,arg3);
2024
2025 wxPyEndAllowThreads(__tstate);
2026 if (PyErr_Occurred()) SWIG_fail;
2027 }
2028 Py_INCREF(Py_None); resultobj = Py_None;
2029 return resultobj;
2030 fail:
2031 return NULL;
2032}
2033
2034
c32bde28 2035static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2036 PyObject *resultobj;
2037 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2038 int arg2 ;
2039 int arg3 ;
2040 PyObject * obj0 = 0 ;
2041 PyObject * obj1 = 0 ;
2042 PyObject * obj2 = 0 ;
2043 char *kwnames[] = {
2044 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
2045 };
2046
2047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail;
2048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 2050 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 2051 if (PyErr_Occurred()) SWIG_fail;
c32bde28 2052 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
2053 if (PyErr_Occurred()) SWIG_fail;
2054 {
2055 PyThreadState* __tstate = wxPyBeginAllowThreads();
2056 (arg1)->SetScrollRate(arg2,arg3);
2057
2058 wxPyEndAllowThreads(__tstate);
2059 if (PyErr_Occurred()) SWIG_fail;
2060 }
2061 Py_INCREF(Py_None); resultobj = Py_None;
2062 return resultobj;
2063 fail:
2064 return NULL;
2065}
2066
2067
c32bde28 2068static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2069 PyObject *resultobj;
2070 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2071 int *arg2 = (int *) 0 ;
2072 int *arg3 = (int *) 0 ;
2073 int temp2 ;
c32bde28 2074 int res2 = 0 ;
d55e5bfc 2075 int temp3 ;
c32bde28 2076 int res3 = 0 ;
d55e5bfc
RD
2077 PyObject * obj0 = 0 ;
2078 char *kwnames[] = {
2079 (char *) "self", NULL
2080 };
2081
c32bde28
RD
2082 arg2 = &temp2; res2 = SWIG_NEWOBJ;
2083 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc
RD
2084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
2085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2087 {
2088 PyThreadState* __tstate = wxPyBeginAllowThreads();
2089 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
2090
2091 wxPyEndAllowThreads(__tstate);
2092 if (PyErr_Occurred()) SWIG_fail;
2093 }
2094 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
2095 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
2096 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
2097 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
2098 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
2099 return resultobj;
2100 fail:
2101 return NULL;
2102}
2103
2104
c32bde28 2105static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2106 PyObject *resultobj;
2107 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2108 bool arg2 ;
2109 bool arg3 ;
2110 PyObject * obj0 = 0 ;
2111 PyObject * obj1 = 0 ;
2112 PyObject * obj2 = 0 ;
2113 char *kwnames[] = {
2114 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
2115 };
2116
2117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
2118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 2120 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc 2121 if (PyErr_Occurred()) SWIG_fail;
c32bde28 2122 arg3 = (bool)SWIG_As_bool(obj2);
d55e5bfc
RD
2123 if (PyErr_Occurred()) SWIG_fail;
2124 {
2125 PyThreadState* __tstate = wxPyBeginAllowThreads();
2126 (arg1)->EnableScrolling(arg2,arg3);
2127
2128 wxPyEndAllowThreads(__tstate);
2129 if (PyErr_Occurred()) SWIG_fail;
2130 }
2131 Py_INCREF(Py_None); resultobj = Py_None;
2132 return resultobj;
2133 fail:
2134 return NULL;
2135}
2136
2137
c32bde28 2138static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2139 PyObject *resultobj;
2140 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2141 int *arg2 = (int *) 0 ;
2142 int *arg3 = (int *) 0 ;
2143 int temp2 ;
c32bde28 2144 int res2 = 0 ;
d55e5bfc 2145 int temp3 ;
c32bde28 2146 int res3 = 0 ;
d55e5bfc
RD
2147 PyObject * obj0 = 0 ;
2148 char *kwnames[] = {
2149 (char *) "self", NULL
2150 };
2151
c32bde28
RD
2152 arg2 = &temp2; res2 = SWIG_NEWOBJ;
2153 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc
RD
2154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
2155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2157 {
2158 PyThreadState* __tstate = wxPyBeginAllowThreads();
2159 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
2160
2161 wxPyEndAllowThreads(__tstate);
2162 if (PyErr_Occurred()) SWIG_fail;
2163 }
2164 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
2165 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
2166 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
2167 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
2168 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
2169 return resultobj;
2170 fail:
2171 return NULL;
2172}
2173
2174
c32bde28 2175static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2176 PyObject *resultobj;
2177 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2178 double arg2 ;
2179 double arg3 ;
2180 PyObject * obj0 = 0 ;
2181 PyObject * obj1 = 0 ;
2182 PyObject * obj2 = 0 ;
2183 char *kwnames[] = {
2184 (char *) "self",(char *) "xs",(char *) "ys", NULL
2185 };
2186
2187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
2188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 2190 arg2 = (double)SWIG_As_double(obj1);
d55e5bfc 2191 if (PyErr_Occurred()) SWIG_fail;
c32bde28 2192 arg3 = (double)SWIG_As_double(obj2);
d55e5bfc
RD
2193 if (PyErr_Occurred()) SWIG_fail;
2194 {
2195 PyThreadState* __tstate = wxPyBeginAllowThreads();
2196 (arg1)->SetScale(arg2,arg3);
2197
2198 wxPyEndAllowThreads(__tstate);
2199 if (PyErr_Occurred()) SWIG_fail;
2200 }
2201 Py_INCREF(Py_None); resultobj = Py_None;
2202 return resultobj;
2203 fail:
2204 return NULL;
2205}
2206
2207
c32bde28 2208static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2209 PyObject *resultobj;
2210 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2211 double result;
2212 PyObject * obj0 = 0 ;
2213 char *kwnames[] = {
2214 (char *) "self", NULL
2215 };
2216
2217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
2218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2220 {
2221 PyThreadState* __tstate = wxPyBeginAllowThreads();
2222 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
2223
2224 wxPyEndAllowThreads(__tstate);
2225 if (PyErr_Occurred()) SWIG_fail;
2226 }
c32bde28 2227 resultobj = SWIG_From_double((double)result);
d55e5bfc
RD
2228 return resultobj;
2229 fail:
2230 return NULL;
2231}
2232
2233
c32bde28 2234static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2235 PyObject *resultobj;
2236 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2237 double result;
2238 PyObject * obj0 = 0 ;
2239 char *kwnames[] = {
2240 (char *) "self", NULL
2241 };
2242
2243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
2244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2246 {
2247 PyThreadState* __tstate = wxPyBeginAllowThreads();
2248 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
2249
2250 wxPyEndAllowThreads(__tstate);
2251 if (PyErr_Occurred()) SWIG_fail;
2252 }
c32bde28 2253 resultobj = SWIG_From_double((double)result);
d55e5bfc
RD
2254 return resultobj;
2255 fail:
2256 return NULL;
2257}
2258
2259
c32bde28 2260static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
2261 PyObject *resultobj;
2262 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2263 wxPoint *arg2 = 0 ;
2264 wxPoint result;
2265 wxPoint temp2 ;
2266 PyObject * obj0 = 0 ;
2267 PyObject * obj1 = 0 ;
2268
2269 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
2270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2272 {
2273 arg2 = &temp2;
2274 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2275 }
2276 {
2277 PyThreadState* __tstate = wxPyBeginAllowThreads();
2278 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
2279
2280 wxPyEndAllowThreads(__tstate);
2281 if (PyErr_Occurred()) SWIG_fail;
2282 }
2283 {
2284 wxPoint * resultptr;
2285 resultptr = new wxPoint((wxPoint &) result);
2286 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2287 }
2288 return resultobj;
2289 fail:
2290 return NULL;
2291}
2292
2293
c32bde28 2294static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
2295 PyObject *resultobj;
2296 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2297 int arg2 ;
2298 int arg3 ;
2299 int *arg4 = (int *) 0 ;
2300 int *arg5 = (int *) 0 ;
2301 int temp4 ;
c32bde28 2302 int res4 = 0 ;
d55e5bfc 2303 int temp5 ;
c32bde28 2304 int res5 = 0 ;
d55e5bfc
RD
2305 PyObject * obj0 = 0 ;
2306 PyObject * obj1 = 0 ;
2307 PyObject * obj2 = 0 ;
2308
c32bde28
RD
2309 arg4 = &temp4; res4 = SWIG_NEWOBJ;
2310 arg5 = &temp5; res5 = SWIG_NEWOBJ;
d55e5bfc
RD
2311 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 2314 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 2315 if (PyErr_Occurred()) SWIG_fail;
c32bde28 2316 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
2317 if (PyErr_Occurred()) SWIG_fail;
2318 {
2319 PyThreadState* __tstate = wxPyBeginAllowThreads();
2320 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
2321
2322 wxPyEndAllowThreads(__tstate);
2323 if (PyErr_Occurred()) SWIG_fail;
2324 }
2325 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
2326 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
2327 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
2328 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
2329 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
2330 return resultobj;
2331 fail:
2332 return NULL;
2333}
2334
2335
2336static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
2337 int argc;
2338 PyObject *argv[4];
2339 int ii;
2340
2341 argc = PyObject_Length(args);
2342 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2343 argv[ii] = PyTuple_GetItem(args,ii);
2344 }
2345 if (argc == 2) {
2346 int _v;
2347 {
2348 void *ptr;
2349 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2350 _v = 0;
2351 PyErr_Clear();
2352 } else {
2353 _v = 1;
2354 }
2355 }
2356 if (_v) {
2357 {
2358 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2359 }
2360 if (_v) {
2361 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
2362 }
2363 }
2364 }
2365 if (argc == 3) {
2366 int _v;
2367 {
2368 void *ptr;
2369 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2370 _v = 0;
2371 PyErr_Clear();
2372 } else {
2373 _v = 1;
2374 }
2375 }
2376 if (_v) {
c32bde28 2377 _v = SWIG_Check_int(argv[1]);
d55e5bfc 2378 if (_v) {
c32bde28 2379 _v = SWIG_Check_int(argv[2]);
d55e5bfc
RD
2380 if (_v) {
2381 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
2382 }
2383 }
2384 }
2385 }
2386
2387 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2388 return NULL;
2389}
2390
2391
c32bde28 2392static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
2393 PyObject *resultobj;
2394 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2395 wxPoint *arg2 = 0 ;
2396 wxPoint result;
2397 wxPoint temp2 ;
2398 PyObject * obj0 = 0 ;
2399 PyObject * obj1 = 0 ;
2400
2401 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
2402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2404 {
2405 arg2 = &temp2;
2406 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2407 }
2408 {
2409 PyThreadState* __tstate = wxPyBeginAllowThreads();
2410 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
2411
2412 wxPyEndAllowThreads(__tstate);
2413 if (PyErr_Occurred()) SWIG_fail;
2414 }
2415 {
2416 wxPoint * resultptr;
2417 resultptr = new wxPoint((wxPoint &) result);
2418 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2419 }
2420 return resultobj;
2421 fail:
2422 return NULL;
2423}
2424
2425
c32bde28 2426static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
2427 PyObject *resultobj;
2428 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2429 int arg2 ;
2430 int arg3 ;
2431 int *arg4 = (int *) 0 ;
2432 int *arg5 = (int *) 0 ;
2433 int temp4 ;
c32bde28 2434 int res4 = 0 ;
d55e5bfc 2435 int temp5 ;
c32bde28 2436 int res5 = 0 ;
d55e5bfc
RD
2437 PyObject * obj0 = 0 ;
2438 PyObject * obj1 = 0 ;
2439 PyObject * obj2 = 0 ;
2440
c32bde28
RD
2441 arg4 = &temp4; res4 = SWIG_NEWOBJ;
2442 arg5 = &temp5; res5 = SWIG_NEWOBJ;
d55e5bfc
RD
2443 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 2446 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 2447 if (PyErr_Occurred()) SWIG_fail;
c32bde28 2448 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
2449 if (PyErr_Occurred()) SWIG_fail;
2450 {
2451 PyThreadState* __tstate = wxPyBeginAllowThreads();
2452 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
2453
2454 wxPyEndAllowThreads(__tstate);
2455 if (PyErr_Occurred()) SWIG_fail;
2456 }
2457 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
2458 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
2459 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
2460 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
2461 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
2462 return resultobj;
2463 fail:
2464 return NULL;
2465}
2466
2467
2468static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
2469 int argc;
2470 PyObject *argv[4];
2471 int ii;
2472
2473 argc = PyObject_Length(args);
2474 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2475 argv[ii] = PyTuple_GetItem(args,ii);
2476 }
2477 if (argc == 2) {
2478 int _v;
2479 {
2480 void *ptr;
2481 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2482 _v = 0;
2483 PyErr_Clear();
2484 } else {
2485 _v = 1;
2486 }
2487 }
2488 if (_v) {
2489 {
2490 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2491 }
2492 if (_v) {
2493 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
2494 }
2495 }
2496 }
2497 if (argc == 3) {
2498 int _v;
2499 {
2500 void *ptr;
2501 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2502 _v = 0;
2503 PyErr_Clear();
2504 } else {
2505 _v = 1;
2506 }
2507 }
2508 if (_v) {
c32bde28 2509 _v = SWIG_Check_int(argv[1]);
d55e5bfc 2510 if (_v) {
c32bde28 2511 _v = SWIG_Check_int(argv[2]);
d55e5bfc
RD
2512 if (_v) {
2513 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
2514 }
2515 }
2516 }
2517 }
2518
2519 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2520 return NULL;
2521}
2522
2523
c32bde28 2524static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2525 PyObject *resultobj;
2526 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2527 PyObject * obj0 = 0 ;
2528 char *kwnames[] = {
2529 (char *) "self", NULL
2530 };
2531
2532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
2533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2535 {
2536 PyThreadState* __tstate = wxPyBeginAllowThreads();
2537 (arg1)->AdjustScrollbars();
2538
2539 wxPyEndAllowThreads(__tstate);
2540 if (PyErr_Occurred()) SWIG_fail;
2541 }
2542 Py_INCREF(Py_None); resultobj = Py_None;
2543 return resultobj;
2544 fail:
2545 return NULL;
2546}
2547
2548
c32bde28 2549static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2550 PyObject *resultobj;
2551 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2552 wxScrollWinEvent *arg2 = 0 ;
2553 int result;
2554 PyObject * obj0 = 0 ;
2555 PyObject * obj1 = 0 ;
2556 char *kwnames[] = {
2557 (char *) "self",(char *) "event", NULL
2558 };
2559
2560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
2561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2563 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollWinEvent,
2564 SWIG_POINTER_EXCEPTION | 0)) == -1)
2565 SWIG_fail;
2566 if (arg2 == NULL) {
2567 PyErr_SetString(PyExc_TypeError,"null reference");
2568 SWIG_fail;
2569 }
2570 {
2571 PyThreadState* __tstate = wxPyBeginAllowThreads();
2572 result = (int)(arg1)->CalcScrollInc(*arg2);
2573
2574 wxPyEndAllowThreads(__tstate);
2575 if (PyErr_Occurred()) SWIG_fail;
2576 }
c32bde28 2577 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
2578 return resultobj;
2579 fail:
2580 return NULL;
2581}
2582
2583
c32bde28 2584static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2585 PyObject *resultobj;
2586 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2587 wxWindow *arg2 = (wxWindow *) 0 ;
2588 PyObject * obj0 = 0 ;
2589 PyObject * obj1 = 0 ;
2590 char *kwnames[] = {
2591 (char *) "self",(char *) "target", NULL
2592 };
2593
2594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
2595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2597 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2599 {
2600 PyThreadState* __tstate = wxPyBeginAllowThreads();
2601 (arg1)->SetTargetWindow(arg2);
2602
2603 wxPyEndAllowThreads(__tstate);
2604 if (PyErr_Occurred()) SWIG_fail;
2605 }
2606 Py_INCREF(Py_None); resultobj = Py_None;
2607 return resultobj;
2608 fail:
2609 return NULL;
2610}
2611
2612
c32bde28 2613static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2614 PyObject *resultobj;
2615 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2616 wxWindow *result;
2617 PyObject * obj0 = 0 ;
2618 char *kwnames[] = {
2619 (char *) "self", NULL
2620 };
2621
2622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
2623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2625 {
2626 PyThreadState* __tstate = wxPyBeginAllowThreads();
2627 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
2628
2629 wxPyEndAllowThreads(__tstate);
2630 if (PyErr_Occurred()) SWIG_fail;
2631 }
2632 {
412d302d 2633 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
2634 }
2635 return resultobj;
2636 fail:
2637 return NULL;
2638}
2639
2640
c32bde28 2641static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2642 PyObject *resultobj;
2643 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2644 wxRect *arg2 = 0 ;
2645 wxRect temp2 ;
2646 PyObject * obj0 = 0 ;
2647 PyObject * obj1 = 0 ;
2648 char *kwnames[] = {
2649 (char *) "self",(char *) "rect", NULL
2650 };
2651
2652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail;
2653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2655 {
2656 arg2 = &temp2;
2657 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2658 }
2659 {
2660 PyThreadState* __tstate = wxPyBeginAllowThreads();
2661 (arg1)->SetTargetRect((wxRect const &)*arg2);
2662
2663 wxPyEndAllowThreads(__tstate);
2664 if (PyErr_Occurred()) SWIG_fail;
2665 }
2666 Py_INCREF(Py_None); resultobj = Py_None;
2667 return resultobj;
2668 fail:
2669 return NULL;
2670}
2671
2672
c32bde28 2673static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2674 PyObject *resultobj;
2675 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2676 wxRect result;
2677 PyObject * obj0 = 0 ;
2678 char *kwnames[] = {
2679 (char *) "self", NULL
2680 };
2681
2682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail;
2683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2685 {
2686 PyThreadState* __tstate = wxPyBeginAllowThreads();
2687 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
2688
2689 wxPyEndAllowThreads(__tstate);
2690 if (PyErr_Occurred()) SWIG_fail;
2691 }
2692 {
2693 wxRect * resultptr;
2694 resultptr = new wxRect((wxRect &) result);
2695 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
2696 }
2697 return resultobj;
2698 fail:
2699 return NULL;
2700}
2701
2702
c32bde28 2703static PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *, PyObject *args, PyObject *kwargs) {
f5b96ee1
RD
2704 PyObject *resultobj;
2705 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2706 wxDC *arg2 = 0 ;
2707 PyObject * obj0 = 0 ;
2708 PyObject * obj1 = 0 ;
2709 char *kwnames[] = {
2710 (char *) "self",(char *) "dc", NULL
2711 };
2712
2713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) goto fail;
2714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2716 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
2717 SWIG_POINTER_EXCEPTION | 0)) == -1)
2718 SWIG_fail;
2719 if (arg2 == NULL) {
2720 PyErr_SetString(PyExc_TypeError,"null reference");
2721 SWIG_fail;
2722 }
2723 {
2724 PyThreadState* __tstate = wxPyBeginAllowThreads();
2725 (arg1)->DoPrepareDC(*arg2);
2726
2727 wxPyEndAllowThreads(__tstate);
2728 if (PyErr_Occurred()) SWIG_fail;
2729 }
2730 Py_INCREF(Py_None); resultobj = Py_None;
2731 return resultobj;
2732 fail:
2733 return NULL;
2734}
2735
2736
c32bde28 2737static PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f
RD
2738 PyObject *resultobj;
2739 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
2740 wxVisualAttributes result;
2741 PyObject * obj0 = 0 ;
2742 char *kwnames[] = {
2743 (char *) "variant", NULL
2744 };
2745
2746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2747 if (obj0) {
c32bde28 2748 arg1 = (int)SWIG_As_int(obj0);
f20a2e1f
RD
2749 if (PyErr_Occurred()) SWIG_fail;
2750 }
2751 {
0439c23b 2752 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
2753 PyThreadState* __tstate = wxPyBeginAllowThreads();
2754 result = wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
2755
2756 wxPyEndAllowThreads(__tstate);
110da5b0 2757 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
2758 }
2759 {
2760 wxVisualAttributes * resultptr;
2761 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
2762 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2763 }
2764 return resultobj;
2765 fail:
2766 return NULL;
2767}
2768
2769
c32bde28 2770static PyObject * ScrolledWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
2771 PyObject *obj;
2772 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2773 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2774 Py_INCREF(obj);
2775 return Py_BuildValue((char *)"");
2776}
c32bde28 2777static int _wrap_FrameNameStr_set(PyObject *) {
d55e5bfc
RD
2778 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
2779 return 1;
2780}
2781
2782
2783static PyObject *_wrap_FrameNameStr_get() {
2784 PyObject *pyobj;
2785
2786 {
2787#if wxUSE_UNICODE
2788 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2789#else
2790 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2791#endif
2792 }
2793 return pyobj;
2794}
2795
2796
c32bde28 2797static int _wrap_DialogNameStr_set(PyObject *) {
d55e5bfc
RD
2798 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
2799 return 1;
2800}
2801
2802
2803static PyObject *_wrap_DialogNameStr_get() {
2804 PyObject *pyobj;
2805
2806 {
2807#if wxUSE_UNICODE
2808 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2809#else
2810 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2811#endif
2812 }
2813 return pyobj;
2814}
2815
2816
c32bde28 2817static int _wrap_StatusLineNameStr_set(PyObject *) {
d55e5bfc
RD
2818 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
2819 return 1;
2820}
2821
2822
2823static PyObject *_wrap_StatusLineNameStr_get() {
2824 PyObject *pyobj;
2825
2826 {
2827#if wxUSE_UNICODE
2828 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2829#else
2830 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2831#endif
2832 }
2833 return pyobj;
2834}
2835
2836
c32bde28 2837static int _wrap_ToolBarNameStr_set(PyObject *) {
d55e5bfc
RD
2838 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
2839 return 1;
2840}
2841
2842
2843static PyObject *_wrap_ToolBarNameStr_get() {
2844 PyObject *pyobj;
2845
2846 {
2847#if wxUSE_UNICODE
2848 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2849#else
2850 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2851#endif
2852 }
2853 return pyobj;
2854}
2855
2856
c32bde28 2857static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2858 PyObject *resultobj;
2859 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2860 bool arg2 = (bool) True ;
2861 PyObject * obj0 = 0 ;
2862 PyObject * obj1 = 0 ;
2863 char *kwnames[] = {
2864 (char *) "self",(char *) "maximize", NULL
2865 };
2866
2867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
2868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2870 if (obj1) {
c32bde28 2871 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
2872 if (PyErr_Occurred()) SWIG_fail;
2873 }
2874 {
2875 PyThreadState* __tstate = wxPyBeginAllowThreads();
2876 (arg1)->Maximize(arg2);
2877
2878 wxPyEndAllowThreads(__tstate);
2879 if (PyErr_Occurred()) SWIG_fail;
2880 }
2881 Py_INCREF(Py_None); resultobj = Py_None;
2882 return resultobj;
2883 fail:
2884 return NULL;
2885}
2886
2887
c32bde28 2888static PyObject *_wrap_TopLevelWindow_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2889 PyObject *resultobj;
2890 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2891 PyObject * obj0 = 0 ;
2892 char *kwnames[] = {
2893 (char *) "self", NULL
2894 };
2895
2896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
2897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2899 {
2900 PyThreadState* __tstate = wxPyBeginAllowThreads();
2901 (arg1)->Restore();
2902
2903 wxPyEndAllowThreads(__tstate);
2904 if (PyErr_Occurred()) SWIG_fail;
2905 }
2906 Py_INCREF(Py_None); resultobj = Py_None;
2907 return resultobj;
2908 fail:
2909 return NULL;
2910}
2911
2912
c32bde28 2913static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2914 PyObject *resultobj;
2915 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2916 bool arg2 = (bool) True ;
2917 PyObject * obj0 = 0 ;
2918 PyObject * obj1 = 0 ;
2919 char *kwnames[] = {
2920 (char *) "self",(char *) "iconize", NULL
2921 };
2922
2923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
2924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2926 if (obj1) {
c32bde28 2927 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
2928 if (PyErr_Occurred()) SWIG_fail;
2929 }
2930 {
2931 PyThreadState* __tstate = wxPyBeginAllowThreads();
2932 (arg1)->Iconize(arg2);
2933
2934 wxPyEndAllowThreads(__tstate);
2935 if (PyErr_Occurred()) SWIG_fail;
2936 }
2937 Py_INCREF(Py_None); resultobj = Py_None;
2938 return resultobj;
2939 fail:
2940 return NULL;
2941}
2942
2943
c32bde28 2944static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2945 PyObject *resultobj;
2946 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2947 bool result;
2948 PyObject * obj0 = 0 ;
2949 char *kwnames[] = {
2950 (char *) "self", NULL
2951 };
2952
2953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
2954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2956 {
2957 PyThreadState* __tstate = wxPyBeginAllowThreads();
2958 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2959
2960 wxPyEndAllowThreads(__tstate);
2961 if (PyErr_Occurred()) SWIG_fail;
2962 }
2963 {
2964 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2965 }
2966 return resultobj;
2967 fail:
2968 return NULL;
2969}
2970
2971
c32bde28 2972static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2973 PyObject *resultobj;
2974 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2975 bool result;
2976 PyObject * obj0 = 0 ;
2977 char *kwnames[] = {
2978 (char *) "self", NULL
2979 };
2980
2981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
2982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2984 {
2985 PyThreadState* __tstate = wxPyBeginAllowThreads();
2986 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2987
2988 wxPyEndAllowThreads(__tstate);
2989 if (PyErr_Occurred()) SWIG_fail;
2990 }
2991 {
2992 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2993 }
2994 return resultobj;
2995 fail:
2996 return NULL;
2997}
2998
2999
c32bde28 3000static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3001 PyObject *resultobj;
3002 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3003 wxIcon result;
3004 PyObject * obj0 = 0 ;
3005 char *kwnames[] = {
3006 (char *) "self", NULL
3007 };
3008
3009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
3010 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3012 {
3013 PyThreadState* __tstate = wxPyBeginAllowThreads();
3014 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
3015
3016 wxPyEndAllowThreads(__tstate);
3017 if (PyErr_Occurred()) SWIG_fail;
3018 }
3019 {
3020 wxIcon * resultptr;
3021 resultptr = new wxIcon((wxIcon &) result);
3022 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
3023 }
3024 return resultobj;
3025 fail:
3026 return NULL;
3027}
3028
3029
c32bde28 3030static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3031 PyObject *resultobj;
3032 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3033 wxIcon *arg2 = 0 ;
3034 PyObject * obj0 = 0 ;
3035 PyObject * obj1 = 0 ;
3036 char *kwnames[] = {
3037 (char *) "self",(char *) "icon", NULL
3038 };
3039
3040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
3041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3043 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
3044 SWIG_POINTER_EXCEPTION | 0)) == -1)
3045 SWIG_fail;
3046 if (arg2 == NULL) {
3047 PyErr_SetString(PyExc_TypeError,"null reference");
3048 SWIG_fail;
3049 }
3050 {
3051 PyThreadState* __tstate = wxPyBeginAllowThreads();
3052 (arg1)->SetIcon((wxIcon const &)*arg2);
3053
3054 wxPyEndAllowThreads(__tstate);
3055 if (PyErr_Occurred()) SWIG_fail;
3056 }
3057 Py_INCREF(Py_None); resultobj = Py_None;
3058 return resultobj;
3059 fail:
3060 return NULL;
3061}
3062
3063
c32bde28 3064static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3065 PyObject *resultobj;
3066 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3067 wxIconBundle *arg2 = 0 ;
3068 PyObject * obj0 = 0 ;
3069 PyObject * obj1 = 0 ;
3070 char *kwnames[] = {
3071 (char *) "self",(char *) "icons", NULL
3072 };
3073
3074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
3075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3077 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIconBundle,
3078 SWIG_POINTER_EXCEPTION | 0)) == -1)
3079 SWIG_fail;
3080 if (arg2 == NULL) {
3081 PyErr_SetString(PyExc_TypeError,"null reference");
3082 SWIG_fail;
3083 }
3084 {
3085 PyThreadState* __tstate = wxPyBeginAllowThreads();
3086 (arg1)->SetIcons((wxIconBundle const &)*arg2);
3087
3088 wxPyEndAllowThreads(__tstate);
3089 if (PyErr_Occurred()) SWIG_fail;
3090 }
3091 Py_INCREF(Py_None); resultobj = Py_None;
3092 return resultobj;
3093 fail:
3094 return NULL;
3095}
3096
3097
c32bde28 3098static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3099 PyObject *resultobj;
3100 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3101 bool arg2 ;
3102 long arg3 = (long) wxFULLSCREEN_ALL ;
3103 bool result;
3104 PyObject * obj0 = 0 ;
3105 PyObject * obj1 = 0 ;
3106 PyObject * obj2 = 0 ;
3107 char *kwnames[] = {
3108 (char *) "self",(char *) "show",(char *) "style", NULL
3109 };
3110
3111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
3112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 3114 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
3115 if (PyErr_Occurred()) SWIG_fail;
3116 if (obj2) {
c32bde28 3117 arg3 = (long)SWIG_As_long(obj2);
d55e5bfc
RD
3118 if (PyErr_Occurred()) SWIG_fail;
3119 }
3120 {
3121 PyThreadState* __tstate = wxPyBeginAllowThreads();
3122 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
3123
3124 wxPyEndAllowThreads(__tstate);
3125 if (PyErr_Occurred()) SWIG_fail;
3126 }
3127 {
3128 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3129 }
3130 return resultobj;
3131 fail:
3132 return NULL;
3133}
3134
3135
c32bde28 3136static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3137 PyObject *resultobj;
3138 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3139 bool result;
3140 PyObject * obj0 = 0 ;
3141 char *kwnames[] = {
3142 (char *) "self", NULL
3143 };
3144
3145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
3146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3148 {
3149 PyThreadState* __tstate = wxPyBeginAllowThreads();
3150 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
3151
3152 wxPyEndAllowThreads(__tstate);
3153 if (PyErr_Occurred()) SWIG_fail;
3154 }
3155 {
3156 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3157 }
3158 return resultobj;
3159 fail:
3160 return NULL;
3161}
3162
3163
c32bde28 3164static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3165 PyObject *resultobj;
3166 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3167 wxString *arg2 = 0 ;
3168 bool temp2 = False ;
3169 PyObject * obj0 = 0 ;
3170 PyObject * obj1 = 0 ;
3171 char *kwnames[] = {
3172 (char *) "self",(char *) "title", NULL
3173 };
3174
3175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
3176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3178 {
3179 arg2 = wxString_in_helper(obj1);
3180 if (arg2 == NULL) SWIG_fail;
3181 temp2 = True;
3182 }
3183 {
3184 PyThreadState* __tstate = wxPyBeginAllowThreads();
3185 (arg1)->SetTitle((wxString const &)*arg2);
3186
3187 wxPyEndAllowThreads(__tstate);
3188 if (PyErr_Occurred()) SWIG_fail;
3189 }
3190 Py_INCREF(Py_None); resultobj = Py_None;
3191 {
3192 if (temp2)
3193 delete arg2;
3194 }
3195 return resultobj;
3196 fail:
3197 {
3198 if (temp2)
3199 delete arg2;
3200 }
3201 return NULL;
3202}
3203
3204
c32bde28 3205static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3206 PyObject *resultobj;
3207 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3208 wxString result;
3209 PyObject * obj0 = 0 ;
3210 char *kwnames[] = {
3211 (char *) "self", NULL
3212 };
3213
3214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
3215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3217 {
3218 PyThreadState* __tstate = wxPyBeginAllowThreads();
3219 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
3220
3221 wxPyEndAllowThreads(__tstate);
3222 if (PyErr_Occurred()) SWIG_fail;
3223 }
3224 {
3225#if wxUSE_UNICODE
3226 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3227#else
3228 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3229#endif
3230 }
3231 return resultobj;
3232 fail:
3233 return NULL;
3234}
3235
3236
c32bde28 3237static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3238 PyObject *resultobj;
3239 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3240 wxRegion *arg2 = 0 ;
3241 bool result;
3242 PyObject * obj0 = 0 ;
3243 PyObject * obj1 = 0 ;
3244 char *kwnames[] = {
3245 (char *) "self",(char *) "region", NULL
3246 };
3247
3248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
3249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3251 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion,
3252 SWIG_POINTER_EXCEPTION | 0)) == -1)
3253 SWIG_fail;
3254 if (arg2 == NULL) {
3255 PyErr_SetString(PyExc_TypeError,"null reference");
3256 SWIG_fail;
3257 }
3258 {
3259 PyThreadState* __tstate = wxPyBeginAllowThreads();
3260 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
3261
3262 wxPyEndAllowThreads(__tstate);
3263 if (PyErr_Occurred()) SWIG_fail;
3264 }
3265 {
3266 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3267 }
3268 return resultobj;
3269 fail:
3270 return NULL;
3271}
3272
3273
c32bde28
RD
3274static PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *, PyObject *args, PyObject *kwargs) {
3275 PyObject *resultobj;
3276 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3277 int arg2 = (int) wxUSER_ATTENTION_INFO ;
3278 PyObject * obj0 = 0 ;
3279 PyObject * obj1 = 0 ;
3280 char *kwnames[] = {
3281 (char *) "self",(char *) "flags", NULL
3282 };
3283
3284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) goto fail;
3285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3287 if (obj1) {
3288 arg2 = (int)SWIG_As_int(obj1);
3289 if (PyErr_Occurred()) SWIG_fail;
3290 }
3291 {
3292 PyThreadState* __tstate = wxPyBeginAllowThreads();
3293 (arg1)->RequestUserAttention(arg2);
3294
3295 wxPyEndAllowThreads(__tstate);
3296 if (PyErr_Occurred()) SWIG_fail;
3297 }
3298 Py_INCREF(Py_None); resultobj = Py_None;
3299 return resultobj;
3300 fail:
3301 return NULL;
3302}
3303
3304
3305static PyObject * TopLevelWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
3306 PyObject *obj;
3307 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3308 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
3309 Py_INCREF(obj);
3310 return Py_BuildValue((char *)"");
3311}
c32bde28 3312static PyObject *_wrap_new_Frame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3313 PyObject *resultobj;
3314 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
3315 int arg2 = (int) (int)-1 ;
3316 wxString const &arg3_defvalue = wxPyEmptyString ;
3317 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
3318 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3319 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3320 wxSize const &arg5_defvalue = wxDefaultSize ;
3321 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3322 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
3323 wxString const &arg7_defvalue = wxPyFrameNameStr ;
3324 wxString *arg7 = (wxString *) &arg7_defvalue ;
3325 wxFrame *result;
3326 bool temp3 = False ;
3327 wxPoint temp4 ;
3328 wxSize temp5 ;
3329 bool temp7 = False ;
3330 PyObject * obj0 = 0 ;
3331 PyObject * obj1 = 0 ;
3332 PyObject * obj2 = 0 ;
3333 PyObject * obj3 = 0 ;
3334 PyObject * obj4 = 0 ;
3335 PyObject * obj5 = 0 ;
3336 PyObject * obj6 = 0 ;
3337 char *kwnames[] = {
3338 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3339 };
3340
248ed943 3341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d55e5bfc
RD
3342 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 3344 if (obj1) {
c32bde28 3345 arg2 = (int)SWIG_As_int(obj1);
248ed943
RD
3346 if (PyErr_Occurred()) SWIG_fail;
3347 }
3348 if (obj2) {
3349 {
3350 arg3 = wxString_in_helper(obj2);
3351 if (arg3 == NULL) SWIG_fail;
3352 temp3 = True;
3353 }
d55e5bfc
RD
3354 }
3355 if (obj3) {
3356 {
3357 arg4 = &temp4;
3358 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3359 }
3360 }
3361 if (obj4) {
3362 {
3363 arg5 = &temp5;
3364 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3365 }
3366 }
3367 if (obj5) {
c32bde28 3368 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
3369 if (PyErr_Occurred()) SWIG_fail;
3370 }
3371 if (obj6) {
3372 {
3373 arg7 = wxString_in_helper(obj6);
3374 if (arg7 == NULL) SWIG_fail;
3375 temp7 = True;
3376 }
3377 }
3378 {
0439c23b 3379 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3380 PyThreadState* __tstate = wxPyBeginAllowThreads();
3381 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3382
3383 wxPyEndAllowThreads(__tstate);
110da5b0 3384 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 3385 }
b0f7404b 3386 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
d55e5bfc
RD
3387 {
3388 if (temp3)
3389 delete arg3;
3390 }
3391 {
3392 if (temp7)
3393 delete arg7;
3394 }
3395 return resultobj;
3396 fail:
3397 {
3398 if (temp3)
3399 delete arg3;
3400 }
3401 {
3402 if (temp7)
3403 delete arg7;
3404 }
3405 return NULL;
3406}
3407
3408
c32bde28 3409static PyObject *_wrap_new_PreFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3410 PyObject *resultobj;
3411 wxFrame *result;
3412 char *kwnames[] = {
3413 NULL
3414 };
3415
3416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
3417 {
0439c23b 3418 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3419 PyThreadState* __tstate = wxPyBeginAllowThreads();
3420 result = (wxFrame *)new wxFrame();
3421
3422 wxPyEndAllowThreads(__tstate);
110da5b0 3423 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 3424 }
b0f7404b 3425 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
d55e5bfc
RD
3426 return resultobj;
3427 fail:
3428 return NULL;
3429}
3430
3431
c32bde28 3432static PyObject *_wrap_Frame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3433 PyObject *resultobj;
3434 wxFrame *arg1 = (wxFrame *) 0 ;
3435 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
3436 int arg3 = (int) (int)-1 ;
3437 wxString const &arg4_defvalue = wxPyEmptyString ;
3438 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
3439 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3440 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3441 wxSize const &arg6_defvalue = wxDefaultSize ;
3442 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3443 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
3444 wxString const &arg8_defvalue = wxPyFrameNameStr ;
3445 wxString *arg8 = (wxString *) &arg8_defvalue ;
3446 bool result;
3447 bool temp4 = False ;
3448 wxPoint temp5 ;
3449 wxSize temp6 ;
3450 bool temp8 = False ;
3451 PyObject * obj0 = 0 ;
3452 PyObject * obj1 = 0 ;
3453 PyObject * obj2 = 0 ;
3454 PyObject * obj3 = 0 ;
3455 PyObject * obj4 = 0 ;
3456 PyObject * obj5 = 0 ;
3457 PyObject * obj6 = 0 ;
3458 PyObject * obj7 = 0 ;
3459 char *kwnames[] = {
3460 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3461 };
3462
248ed943 3463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d55e5bfc
RD
3464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3466 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 3468 if (obj2) {
c32bde28 3469 arg3 = (int)SWIG_As_int(obj2);
248ed943
RD
3470 if (PyErr_Occurred()) SWIG_fail;
3471 }
3472 if (obj3) {
3473 {
3474 arg4 = wxString_in_helper(obj3);
3475 if (arg4 == NULL) SWIG_fail;
3476 temp4 = True;
3477 }
d55e5bfc
RD
3478 }
3479 if (obj4) {
3480 {
3481 arg5 = &temp5;
3482 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3483 }
3484 }
3485 if (obj5) {
3486 {
3487 arg6 = &temp6;
3488 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3489 }
3490 }
3491 if (obj6) {
c32bde28 3492 arg7 = (long)SWIG_As_long(obj6);
d55e5bfc
RD
3493 if (PyErr_Occurred()) SWIG_fail;
3494 }
3495 if (obj7) {
3496 {
3497 arg8 = wxString_in_helper(obj7);
3498 if (arg8 == NULL) SWIG_fail;
3499 temp8 = True;
3500 }
3501 }
3502 {
3503 PyThreadState* __tstate = wxPyBeginAllowThreads();
3504 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3505
3506 wxPyEndAllowThreads(__tstate);
3507 if (PyErr_Occurred()) SWIG_fail;
3508 }
3509 {
3510 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3511 }
3512 {
3513 if (temp4)
3514 delete arg4;
3515 }
3516 {
3517 if (temp8)
3518 delete arg8;
3519 }
3520 return resultobj;
3521 fail:
3522 {
3523 if (temp4)
3524 delete arg4;
3525 }
3526 {
3527 if (temp8)
3528 delete arg8;
3529 }
3530 return NULL;
3531}
3532
3533
c32bde28 3534static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3535 PyObject *resultobj;
3536 wxFrame *arg1 = (wxFrame *) 0 ;
3537 wxPoint result;
3538 PyObject * obj0 = 0 ;
3539 char *kwnames[] = {
3540 (char *) "self", NULL
3541 };
3542
3543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
3544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3546 {
3547 PyThreadState* __tstate = wxPyBeginAllowThreads();
3548 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
3549
3550 wxPyEndAllowThreads(__tstate);
3551 if (PyErr_Occurred()) SWIG_fail;
3552 }
3553 {
3554 wxPoint * resultptr;
3555 resultptr = new wxPoint((wxPoint &) result);
3556 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3557 }
3558 return resultobj;
3559 fail:
3560 return NULL;
3561}
3562
3563
c32bde28 3564static PyObject *_wrap_Frame_SendSizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3565 PyObject *resultobj;
3566 wxFrame *arg1 = (wxFrame *) 0 ;
3567 PyObject * obj0 = 0 ;
3568 char *kwnames[] = {
3569 (char *) "self", NULL
3570 };
3571
3572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
3573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3575 {
3576 PyThreadState* __tstate = wxPyBeginAllowThreads();
3577 (arg1)->SendSizeEvent();
3578
3579 wxPyEndAllowThreads(__tstate);
3580 if (PyErr_Occurred()) SWIG_fail;
3581 }
3582 Py_INCREF(Py_None); resultobj = Py_None;
3583 return resultobj;
3584 fail:
3585 return NULL;
3586}
3587
3588
c32bde28 3589static PyObject *_wrap_Frame_SetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3590 PyObject *resultobj;
3591 wxFrame *arg1 = (wxFrame *) 0 ;
3592 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
3593 PyObject * obj0 = 0 ;
3594 PyObject * obj1 = 0 ;
3595 char *kwnames[] = {
3596 (char *) "self",(char *) "menubar", NULL
3597 };
3598
3599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
3600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3602 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBar,
3603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3604 {
3605 PyThreadState* __tstate = wxPyBeginAllowThreads();
3606 (arg1)->SetMenuBar(arg2);
3607
3608 wxPyEndAllowThreads(__tstate);
3609 if (PyErr_Occurred()) SWIG_fail;
3610 }
3611 Py_INCREF(Py_None); resultobj = Py_None;
3612 return resultobj;
3613 fail:
3614 return NULL;
3615}
3616
3617
c32bde28 3618static PyObject *_wrap_Frame_GetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3619 PyObject *resultobj;
3620 wxFrame *arg1 = (wxFrame *) 0 ;
3621 wxMenuBar *result;
3622 PyObject * obj0 = 0 ;
3623 char *kwnames[] = {
3624 (char *) "self", NULL
3625 };
3626
3627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
3628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3630 {
3631 PyThreadState* __tstate = wxPyBeginAllowThreads();
3632 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
3633
3634 wxPyEndAllowThreads(__tstate);
3635 if (PyErr_Occurred()) SWIG_fail;
3636 }
3637 {
412d302d 3638 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
3639 }
3640 return resultobj;
3641 fail:
3642 return NULL;
3643}
3644
3645
c32bde28 3646static PyObject *_wrap_Frame_ProcessCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3647 PyObject *resultobj;
3648 wxFrame *arg1 = (wxFrame *) 0 ;
3649 int arg2 ;
3650 bool result;
3651 PyObject * obj0 = 0 ;
3652 PyObject * obj1 = 0 ;
3653 char *kwnames[] = {
3654 (char *) "self",(char *) "winid", NULL
3655 };
3656
3657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
3658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 3660 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
3661 if (PyErr_Occurred()) SWIG_fail;
3662 {
3663 PyThreadState* __tstate = wxPyBeginAllowThreads();
3664 result = (bool)(arg1)->ProcessCommand(arg2);
3665
3666 wxPyEndAllowThreads(__tstate);
3667 if (PyErr_Occurred()) SWIG_fail;
3668 }
3669 {
3670 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3671 }
3672 return resultobj;
3673 fail:
3674 return NULL;
3675}
3676
3677
c32bde28 3678static PyObject *_wrap_Frame_CreateStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3679 PyObject *resultobj;
3680 wxFrame *arg1 = (wxFrame *) 0 ;
3681 int arg2 = (int) 1 ;
3682 long arg3 = (long) wxST_SIZEGRIP ;
3683 int arg4 = (int) 0 ;
3684 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
3685 wxString *arg5 = (wxString *) &arg5_defvalue ;
3686 wxStatusBar *result;
3687 bool temp5 = False ;
3688 PyObject * obj0 = 0 ;
3689 PyObject * obj1 = 0 ;
3690 PyObject * obj2 = 0 ;
3691 PyObject * obj3 = 0 ;
3692 PyObject * obj4 = 0 ;
3693 char *kwnames[] = {
3694 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3695 };
3696
3697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3700 if (obj1) {
c32bde28 3701 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
3702 if (PyErr_Occurred()) SWIG_fail;
3703 }
3704 if (obj2) {
c32bde28 3705 arg3 = (long)SWIG_As_long(obj2);
d55e5bfc
RD
3706 if (PyErr_Occurred()) SWIG_fail;
3707 }
3708 if (obj3) {
c32bde28 3709 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc
RD
3710 if (PyErr_Occurred()) SWIG_fail;
3711 }
3712 if (obj4) {
3713 {
3714 arg5 = wxString_in_helper(obj4);
3715 if (arg5 == NULL) SWIG_fail;
3716 temp5 = True;
3717 }
3718 }
3719 {
3720 PyThreadState* __tstate = wxPyBeginAllowThreads();
3721 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
3722
3723 wxPyEndAllowThreads(__tstate);
3724 if (PyErr_Occurred()) SWIG_fail;
3725 }
3726 {
412d302d 3727 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
3728 }
3729 {
3730 if (temp5)
3731 delete arg5;
3732 }
3733 return resultobj;
3734 fail:
3735 {
3736 if (temp5)
3737 delete arg5;
3738 }
3739 return NULL;
3740}
3741
3742
c32bde28 3743static PyObject *_wrap_Frame_GetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3744 PyObject *resultobj;
3745 wxFrame *arg1 = (wxFrame *) 0 ;
3746 wxStatusBar *result;
3747 PyObject * obj0 = 0 ;
3748 char *kwnames[] = {
3749 (char *) "self", NULL
3750 };
3751
3752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
3753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3755 {
3756 PyThreadState* __tstate = wxPyBeginAllowThreads();
3757 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
3758
3759 wxPyEndAllowThreads(__tstate);
3760 if (PyErr_Occurred()) SWIG_fail;
3761 }
3762 {
412d302d 3763 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
3764 }
3765 return resultobj;
3766 fail:
3767 return NULL;
3768}
3769
3770
c32bde28 3771static PyObject *_wrap_Frame_SetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3772 PyObject *resultobj;
3773 wxFrame *arg1 = (wxFrame *) 0 ;
3774 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
3775 PyObject * obj0 = 0 ;
3776 PyObject * obj1 = 0 ;
3777 char *kwnames[] = {
3778 (char *) "self",(char *) "statBar", NULL
3779 };
3780
3781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
3782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3784 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxStatusBar,
3785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3786 {
3787 PyThreadState* __tstate = wxPyBeginAllowThreads();
3788 (arg1)->SetStatusBar(arg2);
3789
3790 wxPyEndAllowThreads(__tstate);
3791 if (PyErr_Occurred()) SWIG_fail;
3792 }
3793 Py_INCREF(Py_None); resultobj = Py_None;
3794 return resultobj;
3795 fail:
3796 return NULL;
3797}
3798
3799
c32bde28 3800static PyObject *_wrap_Frame_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3801 PyObject *resultobj;
3802 wxFrame *arg1 = (wxFrame *) 0 ;
3803 wxString *arg2 = 0 ;
3804 int arg3 = (int) 0 ;
3805 bool temp2 = False ;
3806 PyObject * obj0 = 0 ;
3807 PyObject * obj1 = 0 ;
3808 PyObject * obj2 = 0 ;
3809 char *kwnames[] = {
3810 (char *) "self",(char *) "text",(char *) "number", NULL
3811 };
3812
3813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3816 {
3817 arg2 = wxString_in_helper(obj1);
3818 if (arg2 == NULL) SWIG_fail;
3819 temp2 = True;
3820 }
3821 if (obj2) {
c32bde28 3822 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
3823 if (PyErr_Occurred()) SWIG_fail;
3824 }
3825 {
3826 PyThreadState* __tstate = wxPyBeginAllowThreads();
3827 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
3828
3829 wxPyEndAllowThreads(__tstate);
3830 if (PyErr_Occurred()) SWIG_fail;
3831 }
3832 Py_INCREF(Py_None); resultobj = Py_None;
3833 {
3834 if (temp2)
3835 delete arg2;
3836 }
3837 return resultobj;
3838 fail:
3839 {
3840 if (temp2)
3841 delete arg2;
3842 }
3843 return NULL;
3844}
3845
3846
c32bde28 3847static PyObject *_wrap_Frame_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3848 PyObject *resultobj;
3849 wxFrame *arg1 = (wxFrame *) 0 ;
3850 int arg2 ;
3851 int *arg3 = (int *) 0 ;
3852 PyObject * obj0 = 0 ;
3853 PyObject * obj1 = 0 ;
3854 char *kwnames[] = {
3855 (char *) "self",(char *) "widths", NULL
3856 };
3857
3858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
3859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3861 {
3862 arg2 = PyList_Size(obj1);
3863 arg3 = int_LIST_helper(obj1);
3864 if (arg3 == NULL) SWIG_fail;
3865 }
3866 {
3867 PyThreadState* __tstate = wxPyBeginAllowThreads();
3868 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
3869
3870 wxPyEndAllowThreads(__tstate);
3871 if (PyErr_Occurred()) SWIG_fail;
3872 }
3873 Py_INCREF(Py_None); resultobj = Py_None;
3874 {
3875 if (arg3) delete [] arg3;
3876 }
3877 return resultobj;
3878 fail:
3879 {
3880 if (arg3) delete [] arg3;
3881 }
3882 return NULL;
3883}
3884
3885
c32bde28 3886static PyObject *_wrap_Frame_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3887 PyObject *resultobj;
3888 wxFrame *arg1 = (wxFrame *) 0 ;
3889 wxString *arg2 = 0 ;
3890 int arg3 = (int) 0 ;
3891 bool temp2 = False ;
3892 PyObject * obj0 = 0 ;
3893 PyObject * obj1 = 0 ;
3894 PyObject * obj2 = 0 ;
3895 char *kwnames[] = {
3896 (char *) "self",(char *) "text",(char *) "number", NULL
3897 };
3898
3899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3902 {
3903 arg2 = wxString_in_helper(obj1);
3904 if (arg2 == NULL) SWIG_fail;
3905 temp2 = True;
3906 }
3907 if (obj2) {
c32bde28 3908 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
3909 if (PyErr_Occurred()) SWIG_fail;
3910 }
3911 {
3912 PyThreadState* __tstate = wxPyBeginAllowThreads();
3913 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
3914
3915 wxPyEndAllowThreads(__tstate);
3916 if (PyErr_Occurred()) SWIG_fail;
3917 }
3918 Py_INCREF(Py_None); resultobj = Py_None;
3919 {
3920 if (temp2)
3921 delete arg2;
3922 }
3923 return resultobj;
3924 fail:
3925 {
3926 if (temp2)
3927 delete arg2;
3928 }
3929 return NULL;
3930}
3931
3932
c32bde28 3933static PyObject *_wrap_Frame_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3934 PyObject *resultobj;
3935 wxFrame *arg1 = (wxFrame *) 0 ;
3936 int arg2 = (int) 0 ;
3937 PyObject * obj0 = 0 ;
3938 PyObject * obj1 = 0 ;
3939 char *kwnames[] = {
3940 (char *) "self",(char *) "number", NULL
3941 };
3942
3943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
3944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3946 if (obj1) {
c32bde28 3947 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
3948 if (PyErr_Occurred()) SWIG_fail;
3949 }
3950 {
3951 PyThreadState* __tstate = wxPyBeginAllowThreads();
3952 (arg1)->PopStatusText(arg2);
3953
3954 wxPyEndAllowThreads(__tstate);
3955 if (PyErr_Occurred()) SWIG_fail;
3956 }
3957 Py_INCREF(Py_None); resultobj = Py_None;
3958 return resultobj;
3959 fail:
3960 return NULL;
3961}
3962
3963
c32bde28 3964static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3965 PyObject *resultobj;
3966 wxFrame *arg1 = (wxFrame *) 0 ;
3967 int arg2 ;
3968 PyObject * obj0 = 0 ;
3969 PyObject * obj1 = 0 ;
3970 char *kwnames[] = {
3971 (char *) "self",(char *) "n", NULL
3972 };
3973
3974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
3975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 3977 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
3978 if (PyErr_Occurred()) SWIG_fail;
3979 {
3980 PyThreadState* __tstate = wxPyBeginAllowThreads();
3981 (arg1)->SetStatusBarPane(arg2);
3982
3983 wxPyEndAllowThreads(__tstate);
3984 if (PyErr_Occurred()) SWIG_fail;
3985 }
3986 Py_INCREF(Py_None); resultobj = Py_None;
3987 return resultobj;
3988 fail:
3989 return NULL;
3990}
3991
3992
c32bde28 3993static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3994 PyObject *resultobj;
3995 wxFrame *arg1 = (wxFrame *) 0 ;
3996 int result;
3997 PyObject * obj0 = 0 ;
3998 char *kwnames[] = {
3999 (char *) "self", NULL
4000 };
4001
4002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
4003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4005 {
4006 PyThreadState* __tstate = wxPyBeginAllowThreads();
4007 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
4008
4009 wxPyEndAllowThreads(__tstate);
4010 if (PyErr_Occurred()) SWIG_fail;
4011 }
c32bde28 4012 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
4013 return resultobj;
4014 fail:
4015 return NULL;
4016}
4017
4018
c32bde28 4019static PyObject *_wrap_Frame_CreateToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4020 PyObject *resultobj;
4021 wxFrame *arg1 = (wxFrame *) 0 ;
4022 long arg2 = (long) -1 ;
4023 int arg3 = (int) -1 ;
4024 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
4025 wxString *arg4 = (wxString *) &arg4_defvalue ;
4026 wxToolBar *result;
4027 bool temp4 = False ;
4028 PyObject * obj0 = 0 ;
4029 PyObject * obj1 = 0 ;
4030 PyObject * obj2 = 0 ;
4031 PyObject * obj3 = 0 ;
4032 char *kwnames[] = {
4033 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
4034 };
4035
4036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4039 if (obj1) {
c32bde28 4040 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
4041 if (PyErr_Occurred()) SWIG_fail;
4042 }
4043 if (obj2) {
c32bde28 4044 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
4045 if (PyErr_Occurred()) SWIG_fail;
4046 }
4047 if (obj3) {
4048 {
4049 arg4 = wxString_in_helper(obj3);
4050 if (arg4 == NULL) SWIG_fail;
4051 temp4 = True;
4052 }
4053 }
4054 {
4055 PyThreadState* __tstate = wxPyBeginAllowThreads();
4056 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
4057
4058 wxPyEndAllowThreads(__tstate);
4059 if (PyErr_Occurred()) SWIG_fail;
4060 }
4061 {
412d302d 4062 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
4063 }
4064 {
4065 if (temp4)
4066 delete arg4;
4067 }
4068 return resultobj;
4069 fail:
4070 {
4071 if (temp4)
4072 delete arg4;
4073 }
4074 return NULL;
4075}
4076
4077
c32bde28 4078static PyObject *_wrap_Frame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4079 PyObject *resultobj;
4080 wxFrame *arg1 = (wxFrame *) 0 ;
4081 wxToolBar *result;
4082 PyObject * obj0 = 0 ;
4083 char *kwnames[] = {
4084 (char *) "self", NULL
4085 };
4086
4087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
4088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4090 {
4091 PyThreadState* __tstate = wxPyBeginAllowThreads();
4092 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
4093
4094 wxPyEndAllowThreads(__tstate);
4095 if (PyErr_Occurred()) SWIG_fail;
4096 }
4097 {
412d302d 4098 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
4099 }
4100 return resultobj;
4101 fail:
4102 return NULL;
4103}
4104
4105
c32bde28 4106static PyObject *_wrap_Frame_SetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4107 PyObject *resultobj;
4108 wxFrame *arg1 = (wxFrame *) 0 ;
4109 wxToolBar *arg2 = (wxToolBar *) 0 ;
4110 PyObject * obj0 = 0 ;
4111 PyObject * obj1 = 0 ;
4112 char *kwnames[] = {
4113 (char *) "self",(char *) "toolbar", NULL
4114 };
4115
4116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
4117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4119 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar,
4120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4121 {
4122 PyThreadState* __tstate = wxPyBeginAllowThreads();
4123 (arg1)->SetToolBar(arg2);
4124
4125 wxPyEndAllowThreads(__tstate);
4126 if (PyErr_Occurred()) SWIG_fail;
4127 }
4128 Py_INCREF(Py_None); resultobj = Py_None;
4129 return resultobj;
4130 fail:
4131 return NULL;
4132}
4133
4134
c32bde28 4135static PyObject *_wrap_Frame_DoGiveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4136 PyObject *resultobj;
4137 wxFrame *arg1 = (wxFrame *) 0 ;
4138 wxString *arg2 = 0 ;
4139 bool arg3 ;
4140 bool temp2 = False ;
4141 PyObject * obj0 = 0 ;
4142 PyObject * obj1 = 0 ;
4143 PyObject * obj2 = 0 ;
4144 char *kwnames[] = {
4145 (char *) "self",(char *) "text",(char *) "show", NULL
4146 };
4147
4148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
4149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4151 {
4152 arg2 = wxString_in_helper(obj1);
4153 if (arg2 == NULL) SWIG_fail;
4154 temp2 = True;
4155 }
c32bde28 4156 arg3 = (bool)SWIG_As_bool(obj2);
d55e5bfc
RD
4157 if (PyErr_Occurred()) SWIG_fail;
4158 {
4159 PyThreadState* __tstate = wxPyBeginAllowThreads();
4160 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
4161
4162 wxPyEndAllowThreads(__tstate);
4163 if (PyErr_Occurred()) SWIG_fail;
4164 }
4165 Py_INCREF(Py_None); resultobj = Py_None;
4166 {
4167 if (temp2)
4168 delete arg2;
4169 }
4170 return resultobj;
4171 fail:
4172 {
4173 if (temp2)
4174 delete arg2;
4175 }
4176 return NULL;
4177}
4178
4179
c32bde28 4180static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4181 PyObject *resultobj;
4182 wxFrame *arg1 = (wxFrame *) 0 ;
4183 wxMenu *arg2 = (wxMenu *) NULL ;
4184 PyObject * obj0 = 0 ;
4185 PyObject * obj1 = 0 ;
4186 char *kwnames[] = {
4187 (char *) "self",(char *) "menu", NULL
4188 };
4189
4190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
4191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4193 if (obj1) {
4194 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
4195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4196 }
4197 {
4198 PyThreadState* __tstate = wxPyBeginAllowThreads();
4199 (arg1)->DoMenuUpdates(arg2);
4200
4201 wxPyEndAllowThreads(__tstate);
4202 if (PyErr_Occurred()) SWIG_fail;
4203 }
4204 Py_INCREF(Py_None); resultobj = Py_None;
4205 return resultobj;
4206 fail:
4207 return NULL;
4208}
4209
4210
c32bde28 4211static PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f
RD
4212 PyObject *resultobj;
4213 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4214 wxVisualAttributes result;
4215 PyObject * obj0 = 0 ;
4216 char *kwnames[] = {
4217 (char *) "variant", NULL
4218 };
4219
4220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4221 if (obj0) {
c32bde28 4222 arg1 = (int)SWIG_As_int(obj0);
f20a2e1f
RD
4223 if (PyErr_Occurred()) SWIG_fail;
4224 }
4225 {
0439c23b 4226 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
4227 PyThreadState* __tstate = wxPyBeginAllowThreads();
4228 result = wxFrame::GetClassDefaultAttributes((wxWindowVariant )arg1);
4229
4230 wxPyEndAllowThreads(__tstate);
110da5b0 4231 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
4232 }
4233 {
4234 wxVisualAttributes * resultptr;
4235 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4236 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4237 }
4238 return resultobj;
4239 fail:
4240 return NULL;
4241}
4242
4243
c32bde28 4244static PyObject * Frame_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
4245 PyObject *obj;
4246 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4247 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
4248 Py_INCREF(obj);
4249 return Py_BuildValue((char *)"");
4250}
c32bde28 4251static PyObject *_wrap_new_Dialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4252 PyObject *resultobj;
4253 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
4254 int arg2 = (int) (int)-1 ;
4255 wxString const &arg3_defvalue = wxPyEmptyString ;
4256 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
4257 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4258 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4259 wxSize const &arg5_defvalue = wxDefaultSize ;
4260 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4261 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
4262 wxString const &arg7_defvalue = wxPyDialogNameStr ;
4263 wxString *arg7 = (wxString *) &arg7_defvalue ;
4264 wxDialog *result;
4265 bool temp3 = False ;
4266 wxPoint temp4 ;
4267 wxSize temp5 ;
4268 bool temp7 = False ;
4269 PyObject * obj0 = 0 ;
4270 PyObject * obj1 = 0 ;
4271 PyObject * obj2 = 0 ;
4272 PyObject * obj3 = 0 ;
4273 PyObject * obj4 = 0 ;
4274 PyObject * obj5 = 0 ;
4275 PyObject * obj6 = 0 ;
4276 char *kwnames[] = {
4277 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4278 };
4279
248ed943 4280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d55e5bfc
RD
4281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 4283 if (obj1) {
c32bde28 4284 arg2 = (int)SWIG_As_int(obj1);
248ed943
RD
4285 if (PyErr_Occurred()) SWIG_fail;
4286 }
4287 if (obj2) {
4288 {
4289 arg3 = wxString_in_helper(obj2);
4290 if (arg3 == NULL) SWIG_fail;
4291 temp3 = True;
4292 }
d55e5bfc
RD
4293 }
4294 if (obj3) {
4295 {
4296 arg4 = &temp4;
4297 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4298 }
4299 }
4300 if (obj4) {
4301 {
4302 arg5 = &temp5;
4303 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4304 }
4305 }
4306 if (obj5) {
c32bde28 4307 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
4308 if (PyErr_Occurred()) SWIG_fail;
4309 }
4310 if (obj6) {
4311 {
4312 arg7 = wxString_in_helper(obj6);
4313 if (arg7 == NULL) SWIG_fail;
4314 temp7 = True;
4315 }
4316 }
4317 {
0439c23b 4318 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4319 PyThreadState* __tstate = wxPyBeginAllowThreads();
4320 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4321
4322 wxPyEndAllowThreads(__tstate);
110da5b0 4323 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 4324 }
b0f7404b 4325 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
d55e5bfc
RD
4326 {
4327 if (temp3)
4328 delete arg3;
4329 }
4330 {
4331 if (temp7)
4332 delete arg7;
4333 }
4334 return resultobj;
4335 fail:
4336 {
4337 if (temp3)
4338 delete arg3;
4339 }
4340 {
4341 if (temp7)
4342 delete arg7;
4343 }
4344 return NULL;
4345}
4346
4347
c32bde28 4348static PyObject *_wrap_new_PreDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4349 PyObject *resultobj;
4350 wxDialog *result;
4351 char *kwnames[] = {
4352 NULL
4353 };
4354
4355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
4356 {
0439c23b 4357 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4358 PyThreadState* __tstate = wxPyBeginAllowThreads();
4359 result = (wxDialog *)new wxDialog();
4360
4361 wxPyEndAllowThreads(__tstate);
110da5b0 4362 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 4363 }
b0f7404b 4364 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
d55e5bfc
RD
4365 return resultobj;
4366 fail:
4367 return NULL;
4368}
4369
4370
c32bde28 4371static PyObject *_wrap_Dialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4372 PyObject *resultobj;
4373 wxDialog *arg1 = (wxDialog *) 0 ;
4374 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
4375 int arg3 = (int) (int)-1 ;
4376 wxString const &arg4_defvalue = wxPyEmptyString ;
4377 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
4378 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4379 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4380 wxSize const &arg6_defvalue = wxDefaultSize ;
4381 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4382 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
4383 wxString const &arg8_defvalue = wxPyDialogNameStr ;
4384 wxString *arg8 = (wxString *) &arg8_defvalue ;
4385 bool result;
4386 bool temp4 = False ;
4387 wxPoint temp5 ;
4388 wxSize temp6 ;
4389 bool temp8 = False ;
4390 PyObject * obj0 = 0 ;
4391 PyObject * obj1 = 0 ;
4392 PyObject * obj2 = 0 ;
4393 PyObject * obj3 = 0 ;
4394 PyObject * obj4 = 0 ;
4395 PyObject * obj5 = 0 ;
4396 PyObject * obj6 = 0 ;
4397 PyObject * obj7 = 0 ;
4398 char *kwnames[] = {
4399 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4400 };
4401
248ed943 4402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d55e5bfc
RD
4403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4405 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 4407 if (obj2) {
c32bde28 4408 arg3 = (int)SWIG_As_int(obj2);
248ed943
RD
4409 if (PyErr_Occurred()) SWIG_fail;
4410 }
4411 if (obj3) {
4412 {
4413 arg4 = wxString_in_helper(obj3);
4414 if (arg4 == NULL) SWIG_fail;
4415 temp4 = True;
4416 }
d55e5bfc
RD
4417 }
4418 if (obj4) {
4419 {
4420 arg5 = &temp5;
4421 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4422 }
4423 }
4424 if (obj5) {
4425 {
4426 arg6 = &temp6;
4427 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4428 }
4429 }
4430 if (obj6) {
c32bde28 4431 arg7 = (long)SWIG_As_long(obj6);
d55e5bfc
RD
4432 if (PyErr_Occurred()) SWIG_fail;
4433 }
4434 if (obj7) {
4435 {
4436 arg8 = wxString_in_helper(obj7);
4437 if (arg8 == NULL) SWIG_fail;
4438 temp8 = True;
4439 }
4440 }
4441 {
4442 PyThreadState* __tstate = wxPyBeginAllowThreads();
4443 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4444
4445 wxPyEndAllowThreads(__tstate);
4446 if (PyErr_Occurred()) SWIG_fail;
4447 }
4448 {
4449 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4450 }
4451 {
4452 if (temp4)
4453 delete arg4;
4454 }
4455 {
4456 if (temp8)
4457 delete arg8;
4458 }
4459 return resultobj;
4460 fail:
4461 {
4462 if (temp4)
4463 delete arg4;
4464 }
4465 {
4466 if (temp8)
4467 delete arg8;
4468 }
4469 return NULL;
4470}
4471
4472
c32bde28 4473static PyObject *_wrap_Dialog_SetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4474 PyObject *resultobj;
4475 wxDialog *arg1 = (wxDialog *) 0 ;
4476 int arg2 ;
4477 PyObject * obj0 = 0 ;
4478 PyObject * obj1 = 0 ;
4479 char *kwnames[] = {
4480 (char *) "self",(char *) "returnCode", NULL
4481 };
4482
4483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
4484 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 4486 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
4487 if (PyErr_Occurred()) SWIG_fail;
4488 {
4489 PyThreadState* __tstate = wxPyBeginAllowThreads();
4490 (arg1)->SetReturnCode(arg2);
4491
4492 wxPyEndAllowThreads(__tstate);
4493 if (PyErr_Occurred()) SWIG_fail;
4494 }
4495 Py_INCREF(Py_None); resultobj = Py_None;
4496 return resultobj;
4497 fail:
4498 return NULL;
4499}
4500
4501
c32bde28 4502static PyObject *_wrap_Dialog_GetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4503 PyObject *resultobj;
4504 wxDialog *arg1 = (wxDialog *) 0 ;
4505 int result;
4506 PyObject * obj0 = 0 ;
4507 char *kwnames[] = {
4508 (char *) "self", NULL
4509 };
4510
4511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
4512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4514 {
4515 PyThreadState* __tstate = wxPyBeginAllowThreads();
4516 result = (int)((wxDialog const *)arg1)->GetReturnCode();
4517
4518 wxPyEndAllowThreads(__tstate);
4519 if (PyErr_Occurred()) SWIG_fail;
4520 }
c32bde28 4521 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
4522 return resultobj;
4523 fail:
4524 return NULL;
4525}
4526
4527
c32bde28 4528static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4529 PyObject *resultobj;
4530 wxDialog *arg1 = (wxDialog *) 0 ;
4531 wxString *arg2 = 0 ;
4532 wxSizer *result;
4533 bool temp2 = False ;
4534 PyObject * obj0 = 0 ;
4535 PyObject * obj1 = 0 ;
4536 char *kwnames[] = {
4537 (char *) "self",(char *) "message", NULL
4538 };
4539
4540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
4541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4543 {
4544 arg2 = wxString_in_helper(obj1);
4545 if (arg2 == NULL) SWIG_fail;
4546 temp2 = True;
4547 }
4548 {
4549 PyThreadState* __tstate = wxPyBeginAllowThreads();
4550 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
4551
4552 wxPyEndAllowThreads(__tstate);
4553 if (PyErr_Occurred()) SWIG_fail;
4554 }
4555 {
412d302d 4556 resultobj = wxPyMake_wxSizer(result, 0);
d55e5bfc
RD
4557 }
4558 {
4559 if (temp2)
4560 delete arg2;
4561 }
4562 return resultobj;
4563 fail:
4564 {
4565 if (temp2)
4566 delete arg2;
4567 }
4568 return NULL;
4569}
4570
4571
c32bde28 4572static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4573 PyObject *resultobj;
4574 wxDialog *arg1 = (wxDialog *) 0 ;
4575 long arg2 ;
4576 wxSizer *result;
4577 PyObject * obj0 = 0 ;
4578 PyObject * obj1 = 0 ;
4579 char *kwnames[] = {
4580 (char *) "self",(char *) "flags", NULL
4581 };
4582
4583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail;
4584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 4586 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
4587 if (PyErr_Occurred()) SWIG_fail;
4588 {
4589 PyThreadState* __tstate = wxPyBeginAllowThreads();
4590 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
4591
4592 wxPyEndAllowThreads(__tstate);
4593 if (PyErr_Occurred()) SWIG_fail;
4594 }
4595 {
412d302d 4596 resultobj = wxPyMake_wxSizer(result, 0);
d55e5bfc
RD
4597 }
4598 return resultobj;
4599 fail:
4600 return NULL;
4601}
4602
4603
c32bde28 4604static PyObject *_wrap_Dialog_IsModal(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4605 PyObject *resultobj;
4606 wxDialog *arg1 = (wxDialog *) 0 ;
4607 bool result;
4608 PyObject * obj0 = 0 ;
4609 char *kwnames[] = {
4610 (char *) "self", NULL
4611 };
4612
4613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
4614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4616 {
4617 PyThreadState* __tstate = wxPyBeginAllowThreads();
4618 result = (bool)((wxDialog const *)arg1)->IsModal();
4619
4620 wxPyEndAllowThreads(__tstate);
4621 if (PyErr_Occurred()) SWIG_fail;
4622 }
4623 {
4624 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4625 }
4626 return resultobj;
4627 fail:
4628 return NULL;
4629}
4630
4631
c32bde28 4632static PyObject *_wrap_Dialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4633 PyObject *resultobj;
4634 wxDialog *arg1 = (wxDialog *) 0 ;
4635 int result;
4636 PyObject * obj0 = 0 ;
4637 char *kwnames[] = {
4638 (char *) "self", NULL
4639 };
4640
4641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
4642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4644 {
4645 PyThreadState* __tstate = wxPyBeginAllowThreads();
4646 result = (int)(arg1)->ShowModal();
4647
4648 wxPyEndAllowThreads(__tstate);
4649 if (PyErr_Occurred()) SWIG_fail;
4650 }
c32bde28 4651 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
4652 return resultobj;
4653 fail:
4654 return NULL;
4655}
4656
4657
c32bde28 4658static PyObject *_wrap_Dialog_EndModal(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4659 PyObject *resultobj;
4660 wxDialog *arg1 = (wxDialog *) 0 ;
4661 int arg2 ;
4662 PyObject * obj0 = 0 ;
4663 PyObject * obj1 = 0 ;
4664 char *kwnames[] = {
4665 (char *) "self",(char *) "retCode", NULL
4666 };
4667
4668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
4669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 4671 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
4672 if (PyErr_Occurred()) SWIG_fail;
4673 {
4674 PyThreadState* __tstate = wxPyBeginAllowThreads();
4675 (arg1)->EndModal(arg2);
4676
4677 wxPyEndAllowThreads(__tstate);
4678 if (PyErr_Occurred()) SWIG_fail;
4679 }
4680 Py_INCREF(Py_None); resultobj = Py_None;
4681 return resultobj;
4682 fail:
4683 return NULL;
4684}
4685
4686
c32bde28 4687static PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f
RD
4688 PyObject *resultobj;
4689 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4690 wxVisualAttributes result;
4691 PyObject * obj0 = 0 ;
4692 char *kwnames[] = {
4693 (char *) "variant", NULL
4694 };
4695
4696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4697 if (obj0) {
c32bde28 4698 arg1 = (int)SWIG_As_int(obj0);
f20a2e1f
RD
4699 if (PyErr_Occurred()) SWIG_fail;
4700 }
4701 {
0439c23b 4702 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
4703 PyThreadState* __tstate = wxPyBeginAllowThreads();
4704 result = wxDialog::GetClassDefaultAttributes((wxWindowVariant )arg1);
4705
4706 wxPyEndAllowThreads(__tstate);
110da5b0 4707 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
4708 }
4709 {
4710 wxVisualAttributes * resultptr;
4711 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4712 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4713 }
4714 return resultobj;
4715 fail:
4716 return NULL;
4717}
4718
4719
c32bde28 4720static PyObject * Dialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
4721 PyObject *obj;
4722 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4723 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
4724 Py_INCREF(obj);
4725 return Py_BuildValue((char *)"");
4726}
c32bde28 4727static PyObject *_wrap_new_MiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4728 PyObject *resultobj;
4729 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
4730 int arg2 = (int) (int)-1 ;
4731 wxString const &arg3_defvalue = wxPyEmptyString ;
4732 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
4733 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4734 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4735 wxSize const &arg5_defvalue = wxDefaultSize ;
4736 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4737 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4738 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4739 wxString *arg7 = (wxString *) &arg7_defvalue ;
4740 wxMiniFrame *result;
4741 bool temp3 = False ;
4742 wxPoint temp4 ;
4743 wxSize temp5 ;
4744 bool temp7 = False ;
4745 PyObject * obj0 = 0 ;
4746 PyObject * obj1 = 0 ;
4747 PyObject * obj2 = 0 ;
4748 PyObject * obj3 = 0 ;
4749 PyObject * obj4 = 0 ;
4750 PyObject * obj5 = 0 ;
4751 PyObject * obj6 = 0 ;
4752 char *kwnames[] = {
4753 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4754 };
4755
248ed943 4756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d55e5bfc
RD
4757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 4759 if (obj1) {
c32bde28 4760 arg2 = (int)SWIG_As_int(obj1);
248ed943
RD
4761 if (PyErr_Occurred()) SWIG_fail;
4762 }
4763 if (obj2) {
4764 {
4765 arg3 = wxString_in_helper(obj2);
4766 if (arg3 == NULL) SWIG_fail;
4767 temp3 = True;
4768 }
d55e5bfc
RD
4769 }
4770 if (obj3) {
4771 {
4772 arg4 = &temp4;
4773 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4774 }
4775 }
4776 if (obj4) {
4777 {
4778 arg5 = &temp5;
4779 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4780 }
4781 }
4782 if (obj5) {
c32bde28 4783 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
4784 if (PyErr_Occurred()) SWIG_fail;
4785 }
4786 if (obj6) {
4787 {
4788 arg7 = wxString_in_helper(obj6);
4789 if (arg7 == NULL) SWIG_fail;
4790 temp7 = True;
4791 }
4792 }
4793 {
0439c23b 4794 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4795 PyThreadState* __tstate = wxPyBeginAllowThreads();
4796 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4797
4798 wxPyEndAllowThreads(__tstate);
110da5b0 4799 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4800 }
4801 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4802 {
4803 if (temp3)
4804 delete arg3;
4805 }
4806 {
4807 if (temp7)
4808 delete arg7;
4809 }
4810 return resultobj;
4811 fail:
4812 {
4813 if (temp3)
4814 delete arg3;
4815 }
4816 {
4817 if (temp7)
4818 delete arg7;
4819 }
4820 return NULL;
4821}
4822
4823
c32bde28 4824static PyObject *_wrap_new_PreMiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4825 PyObject *resultobj;
4826 wxMiniFrame *result;
4827 char *kwnames[] = {
4828 NULL
4829 };
4830
4831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
4832 {
0439c23b 4833 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4834 PyThreadState* __tstate = wxPyBeginAllowThreads();
4835 result = (wxMiniFrame *)new wxMiniFrame();
4836
4837 wxPyEndAllowThreads(__tstate);
110da5b0 4838 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4839 }
4840 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4841 return resultobj;
4842 fail:
4843 return NULL;
4844}
4845
4846
c32bde28 4847static PyObject *_wrap_MiniFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4848 PyObject *resultobj;
4849 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
4850 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
4851 int arg3 = (int) (int)-1 ;
4852 wxString const &arg4_defvalue = wxPyEmptyString ;
4853 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
4854 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4855 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4856 wxSize const &arg6_defvalue = wxDefaultSize ;
4857 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4858 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4859 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4860 wxString *arg8 = (wxString *) &arg8_defvalue ;
4861 bool result;
4862 bool temp4 = False ;
4863 wxPoint temp5 ;
4864 wxSize temp6 ;
4865 bool temp8 = False ;
4866 PyObject * obj0 = 0 ;
4867 PyObject * obj1 = 0 ;
4868 PyObject * obj2 = 0 ;
4869 PyObject * obj3 = 0 ;
4870 PyObject * obj4 = 0 ;
4871 PyObject * obj5 = 0 ;
4872 PyObject * obj6 = 0 ;
4873 PyObject * obj7 = 0 ;
4874 char *kwnames[] = {
4875 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4876 };
4877
248ed943 4878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d55e5bfc
RD
4879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMiniFrame,
4880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4881 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 4883 if (obj2) {
c32bde28 4884 arg3 = (int)SWIG_As_int(obj2);
248ed943
RD
4885 if (PyErr_Occurred()) SWIG_fail;
4886 }
4887 if (obj3) {
4888 {
4889 arg4 = wxString_in_helper(obj3);
4890 if (arg4 == NULL) SWIG_fail;
4891 temp4 = True;
4892 }
d55e5bfc
RD
4893 }
4894 if (obj4) {
4895 {
4896 arg5 = &temp5;
4897 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4898 }
4899 }
4900 if (obj5) {
4901 {
4902 arg6 = &temp6;
4903 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4904 }
4905 }
4906 if (obj6) {
c32bde28 4907 arg7 = (long)SWIG_As_long(obj6);
d55e5bfc
RD
4908 if (PyErr_Occurred()) SWIG_fail;
4909 }
4910 if (obj7) {
4911 {
4912 arg8 = wxString_in_helper(obj7);
4913 if (arg8 == NULL) SWIG_fail;
4914 temp8 = True;
4915 }
4916 }
4917 {
4918 PyThreadState* __tstate = wxPyBeginAllowThreads();
4919 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4920
4921 wxPyEndAllowThreads(__tstate);
4922 if (PyErr_Occurred()) SWIG_fail;
4923 }
4924 {
4925 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4926 }
4927 {
4928 if (temp4)
4929 delete arg4;
4930 }
4931 {
4932 if (temp8)
4933 delete arg8;
4934 }
4935 return resultobj;
4936 fail:
4937 {
4938 if (temp4)
4939 delete arg4;
4940 }
4941 {
4942 if (temp8)
4943 delete arg8;
4944 }
4945 return NULL;
4946}
4947
4948
c32bde28 4949static PyObject * MiniFrame_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
4950 PyObject *obj;
4951 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4952 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
4953 Py_INCREF(obj);
4954 return Py_BuildValue((char *)"");
4955}
c32bde28 4956static PyObject *_wrap_new_SplashScreenWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4957 PyObject *resultobj;
4958 wxBitmap *arg1 = 0 ;
4959 wxWindow *arg2 = (wxWindow *) 0 ;
4960 int arg3 ;
4961 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4962 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4963 wxSize const &arg5_defvalue = wxDefaultSize ;
4964 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4965 long arg6 = (long) wxNO_BORDER ;
4966 wxSplashScreenWindow *result;
4967 wxPoint temp4 ;
4968 wxSize temp5 ;
4969 PyObject * obj0 = 0 ;
4970 PyObject * obj1 = 0 ;
4971 PyObject * obj2 = 0 ;
4972 PyObject * obj3 = 0 ;
4973 PyObject * obj4 = 0 ;
4974 PyObject * obj5 = 0 ;
4975 char *kwnames[] = {
4976 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4977 };
4978
4979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
4980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4981 SWIG_POINTER_EXCEPTION | 0)) == -1)
4982 SWIG_fail;
4983 if (arg1 == NULL) {
4984 PyErr_SetString(PyExc_TypeError,"null reference");
4985 SWIG_fail;
4986 }
4987 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 4989 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
4990 if (PyErr_Occurred()) SWIG_fail;
4991 if (obj3) {
4992 {
4993 arg4 = &temp4;
4994 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4995 }
4996 }
4997 if (obj4) {
4998 {
4999 arg5 = &temp5;
5000 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5001 }
5002 }
5003 if (obj5) {
c32bde28 5004 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
5005 if (PyErr_Occurred()) SWIG_fail;
5006 }
5007 {
0439c23b 5008 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5009 PyThreadState* __tstate = wxPyBeginAllowThreads();
5010 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
5011
5012 wxPyEndAllowThreads(__tstate);
110da5b0 5013 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5014 }
5015 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
5016 return resultobj;
5017 fail:
5018 return NULL;
5019}
5020
5021
c32bde28 5022static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5023 PyObject *resultobj;
5024 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
5025 wxBitmap *arg2 = 0 ;
5026 PyObject * obj0 = 0 ;
5027 PyObject * obj1 = 0 ;
5028 char *kwnames[] = {
5029 (char *) "self",(char *) "bitmap", NULL
5030 };
5031
5032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
5033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
5034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5035 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
5036 SWIG_POINTER_EXCEPTION | 0)) == -1)
5037 SWIG_fail;
5038 if (arg2 == NULL) {
5039 PyErr_SetString(PyExc_TypeError,"null reference");
5040 SWIG_fail;
5041 }
5042 {
5043 PyThreadState* __tstate = wxPyBeginAllowThreads();
5044 (arg1)->SetBitmap((wxBitmap const &)*arg2);
5045
5046 wxPyEndAllowThreads(__tstate);
5047 if (PyErr_Occurred()) SWIG_fail;
5048 }
5049 Py_INCREF(Py_None); resultobj = Py_None;
5050 return resultobj;
5051 fail:
5052 return NULL;
5053}
5054
5055
c32bde28 5056static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5057 PyObject *resultobj;
5058 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
5059 wxBitmap *result;
5060 PyObject * obj0 = 0 ;
5061 char *kwnames[] = {
5062 (char *) "self", NULL
5063 };
5064
5065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
5066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
5067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5068 {
5069 PyThreadState* __tstate = wxPyBeginAllowThreads();
5070 {
5071 wxBitmap &_result_ref = (arg1)->GetBitmap();
5072 result = (wxBitmap *) &_result_ref;
5073 }
5074
5075 wxPyEndAllowThreads(__tstate);
5076 if (PyErr_Occurred()) SWIG_fail;
5077 }
5078 {
5079 wxBitmap* resultptr = new wxBitmap(*result);
5080 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
5081 }
5082 return resultobj;
5083 fail:
5084 return NULL;
5085}
5086
5087
c32bde28 5088static PyObject * SplashScreenWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
5089 PyObject *obj;
5090 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5091 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
5092 Py_INCREF(obj);
5093 return Py_BuildValue((char *)"");
5094}
c32bde28 5095static PyObject *_wrap_new_SplashScreen(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5096 PyObject *resultobj;
5097 wxBitmap *arg1 = 0 ;
5098 long arg2 ;
5099 int arg3 ;
5100 wxWindow *arg4 = (wxWindow *) 0 ;
248ed943 5101 int arg5 = (int) -1 ;
d55e5bfc
RD
5102 wxPoint const &arg6_defvalue = wxDefaultPosition ;
5103 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
5104 wxSize const &arg7_defvalue = wxDefaultSize ;
5105 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
5106 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
5107 wxSplashScreen *result;
5108 wxPoint temp6 ;
5109 wxSize temp7 ;
5110 PyObject * obj0 = 0 ;
5111 PyObject * obj1 = 0 ;
5112 PyObject * obj2 = 0 ;
5113 PyObject * obj3 = 0 ;
5114 PyObject * obj4 = 0 ;
5115 PyObject * obj5 = 0 ;
5116 PyObject * obj6 = 0 ;
5117 PyObject * obj7 = 0 ;
5118 char *kwnames[] = {
5119 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
5120 };
5121
248ed943 5122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d55e5bfc
RD
5123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
5124 SWIG_POINTER_EXCEPTION | 0)) == -1)
5125 SWIG_fail;
5126 if (arg1 == NULL) {
5127 PyErr_SetString(PyExc_TypeError,"null reference");
5128 SWIG_fail;
5129 }
c32bde28 5130 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc 5131 if (PyErr_Occurred()) SWIG_fail;
c32bde28 5132 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
5133 if (PyErr_Occurred()) SWIG_fail;
5134 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
5135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 5136 if (obj4) {
c32bde28 5137 arg5 = (int)SWIG_As_int(obj4);
248ed943
RD
5138 if (PyErr_Occurred()) SWIG_fail;
5139 }
d55e5bfc
RD
5140 if (obj5) {
5141 {
5142 arg6 = &temp6;
5143 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
5144 }
5145 }
5146 if (obj6) {
5147 {
5148 arg7 = &temp7;
5149 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
5150 }
5151 }
5152 if (obj7) {
c32bde28 5153 arg8 = (long)SWIG_As_long(obj7);
d55e5bfc
RD
5154 if (PyErr_Occurred()) SWIG_fail;
5155 }
5156 {
0439c23b 5157 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5158 PyThreadState* __tstate = wxPyBeginAllowThreads();
5159 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
5160
5161 wxPyEndAllowThreads(__tstate);
110da5b0 5162 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5163 }
5164 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
5165 return resultobj;
5166 fail:
5167 return NULL;
5168}
5169
5170
c32bde28 5171static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5172 PyObject *resultobj;
5173 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
5174 long result;
5175 PyObject * obj0 = 0 ;
5176 char *kwnames[] = {
5177 (char *) "self", NULL
5178 };
5179
5180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
5181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
5182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5183 {
5184 PyThreadState* __tstate = wxPyBeginAllowThreads();
5185 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
5186
5187 wxPyEndAllowThreads(__tstate);
5188 if (PyErr_Occurred()) SWIG_fail;
5189 }
c32bde28 5190 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
5191 return resultobj;
5192 fail:
5193 return NULL;
5194}
5195
5196
c32bde28 5197static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5198 PyObject *resultobj;
5199 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
5200 wxSplashScreenWindow *result;
5201 PyObject * obj0 = 0 ;
5202 char *kwnames[] = {
5203 (char *) "self", NULL
5204 };
5205
5206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
5207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
5208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5209 {
5210 PyThreadState* __tstate = wxPyBeginAllowThreads();
5211 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
5212
5213 wxPyEndAllowThreads(__tstate);
5214 if (PyErr_Occurred()) SWIG_fail;
5215 }
5216 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
5217 return resultobj;
5218 fail:
5219 return NULL;
5220}
5221
5222
c32bde28 5223static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5224 PyObject *resultobj;
5225 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
5226 int result;
5227 PyObject * obj0 = 0 ;
5228 char *kwnames[] = {
5229 (char *) "self", NULL
5230 };
5231
5232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
5233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
5234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5235 {
5236 PyThreadState* __tstate = wxPyBeginAllowThreads();
5237 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
5238
5239 wxPyEndAllowThreads(__tstate);
5240 if (PyErr_Occurred()) SWIG_fail;
5241 }
c32bde28 5242 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
5243 return resultobj;
5244 fail:
5245 return NULL;
5246}
5247
5248
c32bde28 5249static PyObject * SplashScreen_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
5250 PyObject *obj;
5251 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5252 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
5253 Py_INCREF(obj);
5254 return Py_BuildValue((char *)"");
5255}
c32bde28 5256static PyObject *_wrap_new_StatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5257 PyObject *resultobj;
5258 wxWindow *arg1 = (wxWindow *) 0 ;
5259 int arg2 = (int) -1 ;
5260 long arg3 = (long) wxST_SIZEGRIP ;
5261 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
5262 wxString *arg4 = (wxString *) &arg4_defvalue ;
5263 wxStatusBar *result;
5264 bool temp4 = False ;
5265 PyObject * obj0 = 0 ;
5266 PyObject * obj1 = 0 ;
5267 PyObject * obj2 = 0 ;
5268 PyObject * obj3 = 0 ;
5269 char *kwnames[] = {
5270 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5271 };
5272
5273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5276 if (obj1) {
c32bde28 5277 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
5278 if (PyErr_Occurred()) SWIG_fail;
5279 }
5280 if (obj2) {
c32bde28 5281 arg3 = (long)SWIG_As_long(obj2);
d55e5bfc
RD
5282 if (PyErr_Occurred()) SWIG_fail;
5283 }
5284 if (obj3) {
5285 {
5286 arg4 = wxString_in_helper(obj3);
5287 if (arg4 == NULL) SWIG_fail;
5288 temp4 = True;
5289 }
5290 }
5291 {
0439c23b 5292 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5293 PyThreadState* __tstate = wxPyBeginAllowThreads();
5294 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
5295
5296 wxPyEndAllowThreads(__tstate);
110da5b0 5297 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 5298 }
b0f7404b 5299 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
d55e5bfc
RD
5300 {
5301 if (temp4)
5302 delete arg4;
5303 }
5304 return resultobj;
5305 fail:
5306 {
5307 if (temp4)
5308 delete arg4;
5309 }
5310 return NULL;
5311}
5312
5313
c32bde28 5314static PyObject *_wrap_new_PreStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5315 PyObject *resultobj;
5316 wxStatusBar *result;
5317 char *kwnames[] = {
5318 NULL
5319 };
5320
5321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
5322 {
0439c23b 5323 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5324 PyThreadState* __tstate = wxPyBeginAllowThreads();
5325 result = (wxStatusBar *)new wxStatusBar();
5326
5327 wxPyEndAllowThreads(__tstate);
110da5b0 5328 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 5329 }
b0f7404b 5330 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
d55e5bfc
RD
5331 return resultobj;
5332 fail:
5333 return NULL;
5334}
5335
5336
c32bde28 5337static PyObject *_wrap_StatusBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5338 PyObject *resultobj;
5339 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5340 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 5341 int arg3 = (int) -1 ;
d55e5bfc
RD
5342 long arg4 = (long) wxST_SIZEGRIP ;
5343 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
5344 wxString *arg5 = (wxString *) &arg5_defvalue ;
5345 bool result;
5346 bool temp5 = False ;
5347 PyObject * obj0 = 0 ;
5348 PyObject * obj1 = 0 ;
5349 PyObject * obj2 = 0 ;
5350 PyObject * obj3 = 0 ;
5351 PyObject * obj4 = 0 ;
5352 char *kwnames[] = {
5353 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5354 };
5355
248ed943 5356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
d55e5bfc
RD
5357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5359 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 5361 if (obj2) {
c32bde28 5362 arg3 = (int)SWIG_As_int(obj2);
248ed943
RD
5363 if (PyErr_Occurred()) SWIG_fail;
5364 }
d55e5bfc 5365 if (obj3) {
c32bde28 5366 arg4 = (long)SWIG_As_long(obj3);
d55e5bfc
RD
5367 if (PyErr_Occurred()) SWIG_fail;
5368 }
5369 if (obj4) {
5370 {
5371 arg5 = wxString_in_helper(obj4);
5372 if (arg5 == NULL) SWIG_fail;
5373 temp5 = True;
5374 }
5375 }
5376 {
5377 PyThreadState* __tstate = wxPyBeginAllowThreads();
5378 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
5379
5380 wxPyEndAllowThreads(__tstate);
5381 if (PyErr_Occurred()) SWIG_fail;
5382 }
5383 {
5384 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5385 }
5386 {
5387 if (temp5)
5388 delete arg5;
5389 }
5390 return resultobj;
5391 fail:
5392 {
5393 if (temp5)
5394 delete arg5;
5395 }
5396 return NULL;
5397}
5398
5399
c32bde28 5400static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5401 PyObject *resultobj;
5402 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5403 int arg2 = (int) 1 ;
5404 PyObject * obj0 = 0 ;
5405 PyObject * obj1 = 0 ;
5406 char *kwnames[] = {
5407 (char *) "self",(char *) "number", NULL
5408 };
5409
5410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
5411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5413 if (obj1) {
c32bde28 5414 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
5415 if (PyErr_Occurred()) SWIG_fail;
5416 }
5417 {
5418 PyThreadState* __tstate = wxPyBeginAllowThreads();
5419 (arg1)->SetFieldsCount(arg2);
5420
5421 wxPyEndAllowThreads(__tstate);
5422 if (PyErr_Occurred()) SWIG_fail;
5423 }
5424 Py_INCREF(Py_None); resultobj = Py_None;
5425 return resultobj;
5426 fail:
5427 return NULL;
5428}
5429
5430
c32bde28 5431static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5432 PyObject *resultobj;
5433 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5434 int result;
5435 PyObject * obj0 = 0 ;
5436 char *kwnames[] = {
5437 (char *) "self", NULL
5438 };
5439
5440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
5441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5443 {
5444 PyThreadState* __tstate = wxPyBeginAllowThreads();
5445 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
5446
5447 wxPyEndAllowThreads(__tstate);
5448 if (PyErr_Occurred()) SWIG_fail;
5449 }
c32bde28 5450 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
5451 return resultobj;
5452 fail:
5453 return NULL;
5454}
5455
5456
c32bde28 5457static PyObject *_wrap_StatusBar_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5458 PyObject *resultobj;
5459 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5460 wxString *arg2 = 0 ;
5461 int arg3 = (int) 0 ;
5462 bool temp2 = False ;
5463 PyObject * obj0 = 0 ;
5464 PyObject * obj1 = 0 ;
5465 PyObject * obj2 = 0 ;
5466 char *kwnames[] = {
5467 (char *) "self",(char *) "text",(char *) "number", NULL
5468 };
5469
5470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5473 {
5474 arg2 = wxString_in_helper(obj1);
5475 if (arg2 == NULL) SWIG_fail;
5476 temp2 = True;
5477 }
5478 if (obj2) {
c32bde28 5479 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
5480 if (PyErr_Occurred()) SWIG_fail;
5481 }
5482 {
5483 PyThreadState* __tstate = wxPyBeginAllowThreads();
5484 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
5485
5486 wxPyEndAllowThreads(__tstate);
5487 if (PyErr_Occurred()) SWIG_fail;
5488 }
5489 Py_INCREF(Py_None); resultobj = Py_None;
5490 {
5491 if (temp2)
5492 delete arg2;
5493 }
5494 return resultobj;
5495 fail:
5496 {
5497 if (temp2)
5498 delete arg2;
5499 }
5500 return NULL;
5501}
5502
5503
c32bde28 5504static PyObject *_wrap_StatusBar_GetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5505 PyObject *resultobj;
5506 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5507 int arg2 = (int) 0 ;
5508 wxString result;
5509 PyObject * obj0 = 0 ;
5510 PyObject * obj1 = 0 ;
5511 char *kwnames[] = {
5512 (char *) "self",(char *) "number", NULL
5513 };
5514
5515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
5516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5518 if (obj1) {
c32bde28 5519 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
5520 if (PyErr_Occurred()) SWIG_fail;
5521 }
5522 {
5523 PyThreadState* __tstate = wxPyBeginAllowThreads();
5524 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
5525
5526 wxPyEndAllowThreads(__tstate);
5527 if (PyErr_Occurred()) SWIG_fail;
5528 }
5529 {
5530#if wxUSE_UNICODE
5531 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5532#else
5533 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5534#endif
5535 }
5536 return resultobj;
5537 fail:
5538 return NULL;
5539}
5540
5541
c32bde28 5542static PyObject *_wrap_StatusBar_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5543 PyObject *resultobj;
5544 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5545 wxString *arg2 = 0 ;
5546 int arg3 = (int) 0 ;
5547 bool temp2 = False ;
5548 PyObject * obj0 = 0 ;
5549 PyObject * obj1 = 0 ;
5550 PyObject * obj2 = 0 ;
5551 char *kwnames[] = {
5552 (char *) "self",(char *) "text",(char *) "number", NULL
5553 };
5554
5555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5558 {
5559 arg2 = wxString_in_helper(obj1);
5560 if (arg2 == NULL) SWIG_fail;
5561 temp2 = True;
5562 }
5563 if (obj2) {
c32bde28 5564 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
5565 if (PyErr_Occurred()) SWIG_fail;
5566 }
5567 {
5568 PyThreadState* __tstate = wxPyBeginAllowThreads();
5569 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5570
5571 wxPyEndAllowThreads(__tstate);
5572 if (PyErr_Occurred()) SWIG_fail;
5573 }
5574 Py_INCREF(Py_None); resultobj = Py_None;
5575 {
5576 if (temp2)
5577 delete arg2;
5578 }
5579 return resultobj;
5580 fail:
5581 {
5582 if (temp2)
5583 delete arg2;
5584 }
5585 return NULL;
5586}
5587
5588
c32bde28 5589static PyObject *_wrap_StatusBar_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5590 PyObject *resultobj;
5591 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5592 int arg2 = (int) 0 ;
5593 PyObject * obj0 = 0 ;
5594 PyObject * obj1 = 0 ;
5595 char *kwnames[] = {
5596 (char *) "self",(char *) "number", NULL
5597 };
5598
5599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
5600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5602 if (obj1) {
c32bde28 5603 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
5604 if (PyErr_Occurred()) SWIG_fail;
5605 }
5606 {
5607 PyThreadState* __tstate = wxPyBeginAllowThreads();
5608 (arg1)->PopStatusText(arg2);
5609
5610 wxPyEndAllowThreads(__tstate);
5611 if (PyErr_Occurred()) SWIG_fail;
5612 }
5613 Py_INCREF(Py_None); resultobj = Py_None;
5614 return resultobj;
5615 fail:
5616 return NULL;
5617}
5618
5619
c32bde28 5620static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5621 PyObject *resultobj;
5622 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5623 int arg2 ;
5624 int *arg3 = (int *) 0 ;
5625 PyObject * obj0 = 0 ;
5626 PyObject * obj1 = 0 ;
5627 char *kwnames[] = {
5628 (char *) "self",(char *) "widths", NULL
5629 };
5630
5631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
5632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5634 {
5635 arg2 = PyList_Size(obj1);
5636 arg3 = int_LIST_helper(obj1);
5637 if (arg3 == NULL) SWIG_fail;
5638 }
5639 {
5640 PyThreadState* __tstate = wxPyBeginAllowThreads();
5641 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5642
5643 wxPyEndAllowThreads(__tstate);
5644 if (PyErr_Occurred()) SWIG_fail;
5645 }
5646 Py_INCREF(Py_None); resultobj = Py_None;
5647 {
5648 if (arg3) delete [] arg3;
5649 }
5650 return resultobj;
5651 fail:
5652 {
5653 if (arg3) delete [] arg3;
5654 }
5655 return NULL;
5656}
5657
5658
c32bde28 5659static PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *, PyObject *args, PyObject *kwargs) {
03837c5c
RD
5660 PyObject *resultobj;
5661 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5662 int arg2 ;
5663 int *arg3 = (int *) 0 ;
5664 PyObject * obj0 = 0 ;
5665 PyObject * obj1 = 0 ;
5666 char *kwnames[] = {
5667 (char *) "self",(char *) "styles", NULL
5668 };
5669
5670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) goto fail;
5671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5673 {
5674 arg2 = PyList_Size(obj1);
5675 arg3 = int_LIST_helper(obj1);
5676 if (arg3 == NULL) SWIG_fail;
5677 }
5678 {
5679 PyThreadState* __tstate = wxPyBeginAllowThreads();
5680 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
5681
5682 wxPyEndAllowThreads(__tstate);
5683 if (PyErr_Occurred()) SWIG_fail;
5684 }
5685 Py_INCREF(Py_None); resultobj = Py_None;
5686 {
5687 if (arg3) delete [] arg3;
5688 }
5689 return resultobj;
5690 fail:
5691 {
5692 if (arg3) delete [] arg3;
5693 }
5694 return NULL;
5695}
5696
5697
c32bde28 5698static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5699 PyObject *resultobj;
5700 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5701 int arg2 ;
5702 wxRect result;
5703 PyObject * obj0 = 0 ;
5704 PyObject * obj1 = 0 ;
5705 char *kwnames[] = {
5706 (char *) "self",(char *) "i", NULL
5707 };
5708
5709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
5710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 5712 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
5713 if (PyErr_Occurred()) SWIG_fail;
5714 {
5715 PyThreadState* __tstate = wxPyBeginAllowThreads();
5716 result = wxStatusBar_GetFieldRect(arg1,arg2);
5717
5718 wxPyEndAllowThreads(__tstate);
5719 if (PyErr_Occurred()) SWIG_fail;
5720 }
5721 {
5722 wxRect * resultptr;
5723 resultptr = new wxRect((wxRect &) result);
5724 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
5725 }
5726 return resultobj;
5727 fail:
5728 return NULL;
5729}
5730
5731
c32bde28 5732static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5733 PyObject *resultobj;
5734 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5735 int arg2 ;
5736 PyObject * obj0 = 0 ;
5737 PyObject * obj1 = 0 ;
5738 char *kwnames[] = {
5739 (char *) "self",(char *) "height", NULL
5740 };
5741
5742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
5743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 5745 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
5746 if (PyErr_Occurred()) SWIG_fail;
5747 {
5748 PyThreadState* __tstate = wxPyBeginAllowThreads();
5749 (arg1)->SetMinHeight(arg2);
5750
5751 wxPyEndAllowThreads(__tstate);
5752 if (PyErr_Occurred()) SWIG_fail;
5753 }
5754 Py_INCREF(Py_None); resultobj = Py_None;
5755 return resultobj;
5756 fail:
5757 return NULL;
5758}
5759
5760
c32bde28 5761static PyObject *_wrap_StatusBar_GetBorderX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5762 PyObject *resultobj;
5763 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5764 int result;
5765 PyObject * obj0 = 0 ;
5766 char *kwnames[] = {
5767 (char *) "self", NULL
5768 };
5769
5770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
5771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5773 {
5774 PyThreadState* __tstate = wxPyBeginAllowThreads();
5775 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
5776
5777 wxPyEndAllowThreads(__tstate);
5778 if (PyErr_Occurred()) SWIG_fail;
5779 }
c32bde28 5780 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
5781 return resultobj;
5782 fail:
5783 return NULL;
5784}
5785
5786
c32bde28 5787static PyObject *_wrap_StatusBar_GetBorderY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5788 PyObject *resultobj;
5789 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5790 int result;
5791 PyObject * obj0 = 0 ;
5792 char *kwnames[] = {
5793 (char *) "self", NULL
5794 };
5795
5796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
5797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5799 {
5800 PyThreadState* __tstate = wxPyBeginAllowThreads();
5801 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
5802
5803 wxPyEndAllowThreads(__tstate);
5804 if (PyErr_Occurred()) SWIG_fail;
5805 }
c32bde28 5806 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
5807 return resultobj;
5808 fail:
5809 return NULL;
5810}
5811
5812
c32bde28 5813static PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f
RD
5814 PyObject *resultobj;
5815 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
5816 wxVisualAttributes result;
5817 PyObject * obj0 = 0 ;
5818 char *kwnames[] = {
5819 (char *) "variant", NULL
5820 };
5821
5822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5823 if (obj0) {
c32bde28 5824 arg1 = (int)SWIG_As_int(obj0);
f20a2e1f
RD
5825 if (PyErr_Occurred()) SWIG_fail;
5826 }
5827 {
0439c23b 5828 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
5829 PyThreadState* __tstate = wxPyBeginAllowThreads();
5830 result = wxStatusBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
5831
5832 wxPyEndAllowThreads(__tstate);
110da5b0 5833 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
5834 }
5835 {
5836 wxVisualAttributes * resultptr;
5837 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
5838 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5839 }
5840 return resultobj;
5841 fail:
5842 return NULL;
5843}
5844
5845
c32bde28 5846static PyObject * StatusBar_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
5847 PyObject *obj;
5848 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5849 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
5850 Py_INCREF(obj);
5851 return Py_BuildValue((char *)"");
5852}
c32bde28 5853static int _wrap_SplitterNameStr_set(PyObject *) {
d55e5bfc
RD
5854 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
5855 return 1;
5856}
5857
5858
5859static PyObject *_wrap_SplitterNameStr_get() {
5860 PyObject *pyobj;
5861
5862 {
5863#if wxUSE_UNICODE
5864 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5865#else
5866 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5867#endif
5868 }
5869 return pyobj;
5870}
5871
5872
c32bde28 5873static PyObject *_wrap_new_SplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5874 PyObject *resultobj;
5875 wxWindow *arg1 = (wxWindow *) 0 ;
5876 int arg2 = (int) -1 ;
5877 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5878 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5879 wxSize const &arg4_defvalue = wxDefaultSize ;
5880 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5881 long arg5 = (long) wxSP_3D ;
5882 wxString const &arg6_defvalue = wxPySplitterNameStr ;
5883 wxString *arg6 = (wxString *) &arg6_defvalue ;
5884 wxSplitterWindow *result;
5885 wxPoint temp3 ;
5886 wxSize temp4 ;
5887 bool temp6 = False ;
5888 PyObject * obj0 = 0 ;
5889 PyObject * obj1 = 0 ;
5890 PyObject * obj2 = 0 ;
5891 PyObject * obj3 = 0 ;
5892 PyObject * obj4 = 0 ;
5893 PyObject * obj5 = 0 ;
5894 char *kwnames[] = {
5895 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5896 };
5897
5898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
5899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5901 if (obj1) {
c32bde28 5902 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
5903 if (PyErr_Occurred()) SWIG_fail;
5904 }
5905 if (obj2) {
5906 {
5907 arg3 = &temp3;
5908 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5909 }
5910 }
5911 if (obj3) {
5912 {
5913 arg4 = &temp4;
5914 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5915 }
5916 }
5917 if (obj4) {
c32bde28 5918 arg5 = (long)SWIG_As_long(obj4);
d55e5bfc
RD
5919 if (PyErr_Occurred()) SWIG_fail;
5920 }
5921 if (obj5) {
5922 {
5923 arg6 = wxString_in_helper(obj5);
5924 if (arg6 == NULL) SWIG_fail;
5925 temp6 = True;
5926 }
5927 }
5928 {
0439c23b 5929 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5930 PyThreadState* __tstate = wxPyBeginAllowThreads();
5931 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5932
5933 wxPyEndAllowThreads(__tstate);
110da5b0 5934 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5935 }
5936 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5937 {
5938 if (temp6)
5939 delete arg6;
5940 }
5941 return resultobj;
5942 fail:
5943 {
5944 if (temp6)
5945 delete arg6;
5946 }
5947 return NULL;
5948}
5949
5950
c32bde28 5951static PyObject *_wrap_new_PreSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5952 PyObject *resultobj;
5953 wxSplitterWindow *result;
5954 char *kwnames[] = {
5955 NULL
5956 };
5957
5958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
5959 {
0439c23b 5960 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5961 PyThreadState* __tstate = wxPyBeginAllowThreads();
5962 result = (wxSplitterWindow *)new wxSplitterWindow();
5963
5964 wxPyEndAllowThreads(__tstate);
110da5b0 5965 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5966 }
5967 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5968 return resultobj;
5969 fail:
5970 return NULL;
5971}
5972
5973
c32bde28 5974static PyObject *_wrap_SplitterWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5975 PyObject *resultobj;
5976 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5977 wxWindow *arg2 = (wxWindow *) 0 ;
5978 int arg3 = (int) -1 ;
5979 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5980 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5981 wxSize const &arg5_defvalue = wxDefaultSize ;
5982 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5983 long arg6 = (long) wxSP_3D ;
5984 wxString const &arg7_defvalue = wxPySplitterNameStr ;
5985 wxString *arg7 = (wxString *) &arg7_defvalue ;
5986 bool result;
5987 wxPoint temp4 ;
5988 wxSize temp5 ;
5989 bool temp7 = False ;
5990 PyObject * obj0 = 0 ;
5991 PyObject * obj1 = 0 ;
5992 PyObject * obj2 = 0 ;
5993 PyObject * obj3 = 0 ;
5994 PyObject * obj4 = 0 ;
5995 PyObject * obj5 = 0 ;
5996 PyObject * obj6 = 0 ;
5997 char *kwnames[] = {
5998 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5999 };
6000
6001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6004 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6006 if (obj2) {
c32bde28 6007 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
6008 if (PyErr_Occurred()) SWIG_fail;
6009 }
6010 if (obj3) {
6011 {
6012 arg4 = &temp4;
6013 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6014 }
6015 }
6016 if (obj4) {
6017 {
6018 arg5 = &temp5;
6019 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6020 }
6021 }
6022 if (obj5) {
c32bde28 6023 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
6024 if (PyErr_Occurred()) SWIG_fail;
6025 }
6026 if (obj6) {
6027 {
6028 arg7 = wxString_in_helper(obj6);
6029 if (arg7 == NULL) SWIG_fail;
6030 temp7 = True;
6031 }
6032 }
6033 {
6034 PyThreadState* __tstate = wxPyBeginAllowThreads();
6035 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6036
6037 wxPyEndAllowThreads(__tstate);
6038 if (PyErr_Occurred()) SWIG_fail;
6039 }
6040 {
6041 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6042 }
6043 {
6044 if (temp7)
6045 delete arg7;
6046 }
6047 return resultobj;
6048 fail:
6049 {
6050 if (temp7)
6051 delete arg7;
6052 }
6053 return NULL;
6054}
6055
6056
c32bde28 6057static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6058 PyObject *resultobj;
6059 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6060 wxWindow *result;
6061 PyObject * obj0 = 0 ;
6062 char *kwnames[] = {
6063 (char *) "self", NULL
6064 };
6065
6066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
6067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6069 {
6070 PyThreadState* __tstate = wxPyBeginAllowThreads();
6071 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
6072
6073 wxPyEndAllowThreads(__tstate);
6074 if (PyErr_Occurred()) SWIG_fail;
6075 }
6076 {
412d302d 6077 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
6078 }
6079 return resultobj;
6080 fail:
6081 return NULL;
6082}
6083
6084
c32bde28 6085static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6086 PyObject *resultobj;
6087 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6088 wxWindow *result;
6089 PyObject * obj0 = 0 ;
6090 char *kwnames[] = {
6091 (char *) "self", NULL
6092 };
6093
6094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
6095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6097 {
6098 PyThreadState* __tstate = wxPyBeginAllowThreads();
6099 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
6100
6101 wxPyEndAllowThreads(__tstate);
6102 if (PyErr_Occurred()) SWIG_fail;
6103 }
6104 {
412d302d 6105 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
6106 }
6107 return resultobj;
6108 fail:
6109 return NULL;
6110}
6111
6112
c32bde28 6113static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6114 PyObject *resultobj;
6115 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6116 int arg2 ;
6117 PyObject * obj0 = 0 ;
6118 PyObject * obj1 = 0 ;
6119 char *kwnames[] = {
6120 (char *) "self",(char *) "mode", NULL
6121 };
6122
6123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
6124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6126 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
6127 if (PyErr_Occurred()) SWIG_fail;
6128 {
6129 PyThreadState* __tstate = wxPyBeginAllowThreads();
6130 (arg1)->SetSplitMode(arg2);
6131
6132 wxPyEndAllowThreads(__tstate);
6133 if (PyErr_Occurred()) SWIG_fail;
6134 }
6135 Py_INCREF(Py_None); resultobj = Py_None;
6136 return resultobj;
6137 fail:
6138 return NULL;
6139}
6140
6141
c32bde28 6142static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6143 PyObject *resultobj;
6144 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6145 int result;
6146 PyObject * obj0 = 0 ;
6147 char *kwnames[] = {
6148 (char *) "self", NULL
6149 };
6150
6151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
6152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6154 {
6155 PyThreadState* __tstate = wxPyBeginAllowThreads();
6156 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
6157
6158 wxPyEndAllowThreads(__tstate);
6159 if (PyErr_Occurred()) SWIG_fail;
6160 }
c32bde28 6161 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
6162 return resultobj;
6163 fail:
6164 return NULL;
6165}
6166
6167
c32bde28 6168static PyObject *_wrap_SplitterWindow_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6169 PyObject *resultobj;
6170 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6171 wxWindow *arg2 = (wxWindow *) 0 ;
6172 PyObject * obj0 = 0 ;
6173 PyObject * obj1 = 0 ;
6174 char *kwnames[] = {
6175 (char *) "self",(char *) "window", NULL
6176 };
6177
6178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
6179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6181 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6183 {
6184 PyThreadState* __tstate = wxPyBeginAllowThreads();
6185 (arg1)->Initialize(arg2);
6186
6187 wxPyEndAllowThreads(__tstate);
6188 if (PyErr_Occurred()) SWIG_fail;
6189 }
6190 Py_INCREF(Py_None); resultobj = Py_None;
6191 return resultobj;
6192 fail:
6193 return NULL;
6194}
6195
6196
c32bde28 6197static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6198 PyObject *resultobj;
6199 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6200 wxWindow *arg2 = (wxWindow *) 0 ;
6201 wxWindow *arg3 = (wxWindow *) 0 ;
6202 int arg4 = (int) 0 ;
6203 bool result;
6204 PyObject * obj0 = 0 ;
6205 PyObject * obj1 = 0 ;
6206 PyObject * obj2 = 0 ;
6207 PyObject * obj3 = 0 ;
6208 char *kwnames[] = {
6209 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6210 };
6211
6212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6215 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6217 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6219 if (obj3) {
c32bde28 6220 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc
RD
6221 if (PyErr_Occurred()) SWIG_fail;
6222 }
6223 {
6224 PyThreadState* __tstate = wxPyBeginAllowThreads();
6225 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
6226
6227 wxPyEndAllowThreads(__tstate);
6228 if (PyErr_Occurred()) SWIG_fail;
6229 }
6230 {
6231 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6232 }
6233 return resultobj;
6234 fail:
6235 return NULL;
6236}
6237
6238
c32bde28 6239static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6240 PyObject *resultobj;
6241 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6242 wxWindow *arg2 = (wxWindow *) 0 ;
6243 wxWindow *arg3 = (wxWindow *) 0 ;
6244 int arg4 = (int) 0 ;
6245 bool result;
6246 PyObject * obj0 = 0 ;
6247 PyObject * obj1 = 0 ;
6248 PyObject * obj2 = 0 ;
6249 PyObject * obj3 = 0 ;
6250 char *kwnames[] = {
6251 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6252 };
6253
6254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6257 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6259 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6261 if (obj3) {
c32bde28 6262 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc
RD
6263 if (PyErr_Occurred()) SWIG_fail;
6264 }
6265 {
6266 PyThreadState* __tstate = wxPyBeginAllowThreads();
6267 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
6268
6269 wxPyEndAllowThreads(__tstate);
6270 if (PyErr_Occurred()) SWIG_fail;
6271 }
6272 {
6273 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6274 }
6275 return resultobj;
6276 fail:
6277 return NULL;
6278}
6279
6280
c32bde28 6281static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6282 PyObject *resultobj;
6283 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6284 wxWindow *arg2 = (wxWindow *) NULL ;
6285 bool result;
6286 PyObject * obj0 = 0 ;
6287 PyObject * obj1 = 0 ;
6288 char *kwnames[] = {
6289 (char *) "self",(char *) "toRemove", NULL
6290 };
6291
6292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
6293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6295 if (obj1) {
6296 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6298 }
6299 {
6300 PyThreadState* __tstate = wxPyBeginAllowThreads();
6301 result = (bool)(arg1)->Unsplit(arg2);
6302
6303 wxPyEndAllowThreads(__tstate);
6304 if (PyErr_Occurred()) SWIG_fail;
6305 }
6306 {
6307 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6308 }
6309 return resultobj;
6310 fail:
6311 return NULL;
6312}
6313
6314
c32bde28 6315static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6316 PyObject *resultobj;
6317 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6318 wxWindow *arg2 = (wxWindow *) 0 ;
6319 wxWindow *arg3 = (wxWindow *) 0 ;
6320 bool result;
6321 PyObject * obj0 = 0 ;
6322 PyObject * obj1 = 0 ;
6323 PyObject * obj2 = 0 ;
6324 char *kwnames[] = {
6325 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
6326 };
6327
6328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
6329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6331 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6333 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6335 {
6336 PyThreadState* __tstate = wxPyBeginAllowThreads();
6337 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
6338
6339 wxPyEndAllowThreads(__tstate);
6340 if (PyErr_Occurred()) SWIG_fail;
6341 }
6342 {
6343 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6344 }
6345 return resultobj;
6346 fail:
6347 return NULL;
6348}
6349
6350
c32bde28 6351static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6352 PyObject *resultobj;
6353 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6354 PyObject * obj0 = 0 ;
6355 char *kwnames[] = {
6356 (char *) "self", NULL
6357 };
6358
6359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail;
6360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6362 {
6363 PyThreadState* __tstate = wxPyBeginAllowThreads();
6364 (arg1)->UpdateSize();
6365
6366 wxPyEndAllowThreads(__tstate);
6367 if (PyErr_Occurred()) SWIG_fail;
6368 }
6369 Py_INCREF(Py_None); resultobj = Py_None;
6370 return resultobj;
6371 fail:
6372 return NULL;
6373}
6374
6375
c32bde28 6376static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6377 PyObject *resultobj;
6378 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6379 bool result;
6380 PyObject * obj0 = 0 ;
6381 char *kwnames[] = {
6382 (char *) "self", NULL
6383 };
6384
6385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
6386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6388 {
6389 PyThreadState* __tstate = wxPyBeginAllowThreads();
6390 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
6391
6392 wxPyEndAllowThreads(__tstate);
6393 if (PyErr_Occurred()) SWIG_fail;
6394 }
6395 {
6396 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6397 }
6398 return resultobj;
6399 fail:
6400 return NULL;
6401}
6402
6403
c32bde28 6404static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6405 PyObject *resultobj;
6406 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6407 int arg2 ;
6408 PyObject * obj0 = 0 ;
6409 PyObject * obj1 = 0 ;
6410 char *kwnames[] = {
6411 (char *) "self",(char *) "width", NULL
6412 };
6413
6414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
6415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6417 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
6418 if (PyErr_Occurred()) SWIG_fail;
6419 {
6420 PyThreadState* __tstate = wxPyBeginAllowThreads();
6421 (arg1)->SetSashSize(arg2);
6422
6423 wxPyEndAllowThreads(__tstate);
6424 if (PyErr_Occurred()) SWIG_fail;
6425 }
6426 Py_INCREF(Py_None); resultobj = Py_None;
6427 return resultobj;
6428 fail:
6429 return NULL;
6430}
6431
6432
c32bde28 6433static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6434 PyObject *resultobj;
6435 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6436 int arg2 ;
6437 PyObject * obj0 = 0 ;
6438 PyObject * obj1 = 0 ;
6439 char *kwnames[] = {
6440 (char *) "self",(char *) "width", NULL
6441 };
6442
6443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
6444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6446 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
6447 if (PyErr_Occurred()) SWIG_fail;
6448 {
6449 PyThreadState* __tstate = wxPyBeginAllowThreads();
6450 (arg1)->SetBorderSize(arg2);
6451
6452 wxPyEndAllowThreads(__tstate);
6453 if (PyErr_Occurred()) SWIG_fail;
6454 }
6455 Py_INCREF(Py_None); resultobj = Py_None;
6456 return resultobj;
6457 fail:
6458 return NULL;
6459}
6460
6461
c32bde28 6462static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6463 PyObject *resultobj;
6464 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6465 int result;
6466 PyObject * obj0 = 0 ;
6467 char *kwnames[] = {
6468 (char *) "self", NULL
6469 };
6470
6471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
6472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6474 {
6475 PyThreadState* __tstate = wxPyBeginAllowThreads();
6476 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
6477
6478 wxPyEndAllowThreads(__tstate);
6479 if (PyErr_Occurred()) SWIG_fail;
6480 }
c32bde28 6481 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
6482 return resultobj;
6483 fail:
6484 return NULL;
6485}
6486
6487
c32bde28 6488static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6489 PyObject *resultobj;
6490 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6491 int result;
6492 PyObject * obj0 = 0 ;
6493 char *kwnames[] = {
6494 (char *) "self", NULL
6495 };
6496
6497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
6498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6500 {
6501 PyThreadState* __tstate = wxPyBeginAllowThreads();
6502 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
6503
6504 wxPyEndAllowThreads(__tstate);
6505 if (PyErr_Occurred()) SWIG_fail;
6506 }
c32bde28 6507 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
6508 return resultobj;
6509 fail:
6510 return NULL;
6511}
6512
6513
c32bde28 6514static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6515 PyObject *resultobj;
6516 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6517 int arg2 ;
6518 bool arg3 = (bool) True ;
6519 PyObject * obj0 = 0 ;
6520 PyObject * obj1 = 0 ;
6521 PyObject * obj2 = 0 ;
6522 char *kwnames[] = {
6523 (char *) "self",(char *) "position",(char *) "redraw", NULL
6524 };
6525
6526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
6527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6529 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
6530 if (PyErr_Occurred()) SWIG_fail;
6531 if (obj2) {
c32bde28 6532 arg3 = (bool)SWIG_As_bool(obj2);
d55e5bfc
RD
6533 if (PyErr_Occurred()) SWIG_fail;
6534 }
6535 {
6536 PyThreadState* __tstate = wxPyBeginAllowThreads();
6537 (arg1)->SetSashPosition(arg2,arg3);
6538
6539 wxPyEndAllowThreads(__tstate);
6540 if (PyErr_Occurred()) SWIG_fail;
6541 }
6542 Py_INCREF(Py_None); resultobj = Py_None;
6543 return resultobj;
6544 fail:
6545 return NULL;
6546}
6547
6548
c32bde28 6549static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6550 PyObject *resultobj;
6551 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6552 int result;
6553 PyObject * obj0 = 0 ;
6554 char *kwnames[] = {
6555 (char *) "self", NULL
6556 };
6557
6558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
6559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6561 {
6562 PyThreadState* __tstate = wxPyBeginAllowThreads();
6563 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
6564
6565 wxPyEndAllowThreads(__tstate);
6566 if (PyErr_Occurred()) SWIG_fail;
6567 }
c32bde28 6568 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
6569 return resultobj;
6570 fail:
6571 return NULL;
6572}
6573
6574
c32bde28 6575static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6576 PyObject *resultobj;
6577 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6578 int arg2 ;
6579 PyObject * obj0 = 0 ;
6580 PyObject * obj1 = 0 ;
6581 char *kwnames[] = {
6582 (char *) "self",(char *) "min", NULL
6583 };
6584
6585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
6586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6588 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
6589 if (PyErr_Occurred()) SWIG_fail;
6590 {
6591 PyThreadState* __tstate = wxPyBeginAllowThreads();
6592 (arg1)->SetMinimumPaneSize(arg2);
6593
6594 wxPyEndAllowThreads(__tstate);
6595 if (PyErr_Occurred()) SWIG_fail;
6596 }
6597 Py_INCREF(Py_None); resultobj = Py_None;
6598 return resultobj;
6599 fail:
6600 return NULL;
6601}
6602
6603
c32bde28 6604static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6605 PyObject *resultobj;
6606 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6607 int result;
6608 PyObject * obj0 = 0 ;
6609 char *kwnames[] = {
6610 (char *) "self", NULL
6611 };
6612
6613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
6614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6616 {
6617 PyThreadState* __tstate = wxPyBeginAllowThreads();
6618 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
6619
6620 wxPyEndAllowThreads(__tstate);
6621 if (PyErr_Occurred()) SWIG_fail;
6622 }
c32bde28 6623 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
6624 return resultobj;
6625 fail:
6626 return NULL;
6627}
6628
6629
c32bde28 6630static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6631 PyObject *resultobj;
6632 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6633 int arg2 ;
6634 int arg3 ;
6635 int arg4 = (int) 5 ;
6636 bool result;
6637 PyObject * obj0 = 0 ;
6638 PyObject * obj1 = 0 ;
6639 PyObject * obj2 = 0 ;
6640 PyObject * obj3 = 0 ;
6641 char *kwnames[] = {
6642 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6643 };
6644
6645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6648 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 6649 if (PyErr_Occurred()) SWIG_fail;
c32bde28 6650 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
6651 if (PyErr_Occurred()) SWIG_fail;
6652 if (obj3) {
c32bde28 6653 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc
RD
6654 if (PyErr_Occurred()) SWIG_fail;
6655 }
6656 {
6657 PyThreadState* __tstate = wxPyBeginAllowThreads();
6658 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
6659
6660 wxPyEndAllowThreads(__tstate);
6661 if (PyErr_Occurred()) SWIG_fail;
6662 }
6663 {
6664 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6665 }
6666 return resultobj;
6667 fail:
6668 return NULL;
6669}
6670
6671
c32bde28 6672static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6673 PyObject *resultobj;
6674 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6675 PyObject * obj0 = 0 ;
6676 char *kwnames[] = {
6677 (char *) "self", NULL
6678 };
6679
6680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
6681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6683 {
6684 PyThreadState* __tstate = wxPyBeginAllowThreads();
6685 (arg1)->SizeWindows();
6686
6687 wxPyEndAllowThreads(__tstate);
6688 if (PyErr_Occurred()) SWIG_fail;
6689 }
6690 Py_INCREF(Py_None); resultobj = Py_None;
6691 return resultobj;
6692 fail:
6693 return NULL;
6694}
6695
6696
c32bde28 6697static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6698 PyObject *resultobj;
6699 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6700 bool arg2 ;
6701 PyObject * obj0 = 0 ;
6702 PyObject * obj1 = 0 ;
6703 char *kwnames[] = {
6704 (char *) "self",(char *) "needUpdating", NULL
6705 };
6706
6707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
6708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6710 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
6711 if (PyErr_Occurred()) SWIG_fail;
6712 {
6713 PyThreadState* __tstate = wxPyBeginAllowThreads();
6714 (arg1)->SetNeedUpdating(arg2);
6715
6716 wxPyEndAllowThreads(__tstate);
6717 if (PyErr_Occurred()) SWIG_fail;
6718 }
6719 Py_INCREF(Py_None); resultobj = Py_None;
6720 return resultobj;
6721 fail:
6722 return NULL;
6723}
6724
6725
c32bde28 6726static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6727 PyObject *resultobj;
6728 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6729 bool result;
6730 PyObject * obj0 = 0 ;
6731 char *kwnames[] = {
6732 (char *) "self", NULL
6733 };
6734
6735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
6736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6738 {
6739 PyThreadState* __tstate = wxPyBeginAllowThreads();
6740 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
6741
6742 wxPyEndAllowThreads(__tstate);
6743 if (PyErr_Occurred()) SWIG_fail;
6744 }
6745 {
6746 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6747 }
6748 return resultobj;
6749 fail:
6750 return NULL;
6751}
6752
6753
c32bde28 6754static PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f
RD
6755 PyObject *resultobj;
6756 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
6757 wxVisualAttributes result;
6758 PyObject * obj0 = 0 ;
6759 char *kwnames[] = {
6760 (char *) "variant", NULL
6761 };
6762
6763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6764 if (obj0) {
c32bde28 6765 arg1 = (int)SWIG_As_int(obj0);
f20a2e1f
RD
6766 if (PyErr_Occurred()) SWIG_fail;
6767 }
6768 {
0439c23b 6769 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
6770 PyThreadState* __tstate = wxPyBeginAllowThreads();
6771 result = wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
6772
6773 wxPyEndAllowThreads(__tstate);
110da5b0 6774 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
6775 }
6776 {
6777 wxVisualAttributes * resultptr;
6778 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
6779 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6780 }
6781 return resultobj;
6782 fail:
6783 return NULL;
6784}
6785
6786
c32bde28 6787static PyObject * SplitterWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6788 PyObject *obj;
6789 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6790 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
6791 Py_INCREF(obj);
6792 return Py_BuildValue((char *)"");
6793}
c32bde28 6794static PyObject *_wrap_new_SplitterEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6795 PyObject *resultobj;
6796 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
6797 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
6798 wxSplitterEvent *result;
6799 PyObject * obj0 = 0 ;
6800 PyObject * obj1 = 0 ;
6801 char *kwnames[] = {
6802 (char *) "type",(char *) "splitter", NULL
6803 };
6804
6805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
6806 if (obj0) {
c32bde28 6807 arg1 = (wxEventType)SWIG_As_int(obj0);
d55e5bfc
RD
6808 if (PyErr_Occurred()) SWIG_fail;
6809 }
6810 if (obj1) {
6811 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSplitterWindow,
6812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6813 }
6814 {
6815 PyThreadState* __tstate = wxPyBeginAllowThreads();
6816 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
6817
6818 wxPyEndAllowThreads(__tstate);
6819 if (PyErr_Occurred()) SWIG_fail;
6820 }
6821 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
6822 return resultobj;
6823 fail:
6824 return NULL;
6825}
6826
6827
c32bde28 6828static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6829 PyObject *resultobj;
6830 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6831 int arg2 ;
6832 PyObject * obj0 = 0 ;
6833 PyObject * obj1 = 0 ;
6834 char *kwnames[] = {
6835 (char *) "self",(char *) "pos", NULL
6836 };
6837
6838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
6839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6841 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
6842 if (PyErr_Occurred()) SWIG_fail;
6843 {
6844 PyThreadState* __tstate = wxPyBeginAllowThreads();
6845 (arg1)->SetSashPosition(arg2);
6846
6847 wxPyEndAllowThreads(__tstate);
6848 if (PyErr_Occurred()) SWIG_fail;
6849 }
6850 Py_INCREF(Py_None); resultobj = Py_None;
6851 return resultobj;
6852 fail:
6853 return NULL;
6854}
6855
6856
c32bde28 6857static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6858 PyObject *resultobj;
6859 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6860 int result;
6861 PyObject * obj0 = 0 ;
6862 char *kwnames[] = {
6863 (char *) "self", NULL
6864 };
6865
6866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
6867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6869 {
6870 PyThreadState* __tstate = wxPyBeginAllowThreads();
6871 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
6872
6873 wxPyEndAllowThreads(__tstate);
6874 if (PyErr_Occurred()) SWIG_fail;
6875 }
c32bde28 6876 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
6877 return resultobj;
6878 fail:
6879 return NULL;
6880}
6881
6882
c32bde28 6883static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6884 PyObject *resultobj;
6885 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6886 wxWindow *result;
6887 PyObject * obj0 = 0 ;
6888 char *kwnames[] = {
6889 (char *) "self", NULL
6890 };
6891
6892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
6893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6895 {
6896 PyThreadState* __tstate = wxPyBeginAllowThreads();
6897 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
6898
6899 wxPyEndAllowThreads(__tstate);
6900 if (PyErr_Occurred()) SWIG_fail;
6901 }
6902 {
412d302d 6903 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
6904 }
6905 return resultobj;
6906 fail:
6907 return NULL;
6908}
6909
6910
c32bde28 6911static PyObject *_wrap_SplitterEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6912 PyObject *resultobj;
6913 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6914 int result;
6915 PyObject * obj0 = 0 ;
6916 char *kwnames[] = {
6917 (char *) "self", NULL
6918 };
6919
6920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
6921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6923 {
6924 PyThreadState* __tstate = wxPyBeginAllowThreads();
6925 result = (int)((wxSplitterEvent const *)arg1)->GetX();
6926
6927 wxPyEndAllowThreads(__tstate);
6928 if (PyErr_Occurred()) SWIG_fail;
6929 }
c32bde28 6930 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
6931 return resultobj;
6932 fail:
6933 return NULL;
6934}
6935
6936
c32bde28 6937static PyObject *_wrap_SplitterEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6938 PyObject *resultobj;
6939 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6940 int result;
6941 PyObject * obj0 = 0 ;
6942 char *kwnames[] = {
6943 (char *) "self", NULL
6944 };
6945
6946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
6947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6949 {
6950 PyThreadState* __tstate = wxPyBeginAllowThreads();
6951 result = (int)((wxSplitterEvent const *)arg1)->GetY();
6952
6953 wxPyEndAllowThreads(__tstate);
6954 if (PyErr_Occurred()) SWIG_fail;
6955 }
c32bde28 6956 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
6957 return resultobj;
6958 fail:
6959 return NULL;
6960}
6961
6962
c32bde28 6963static PyObject * SplitterEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6964 PyObject *obj;
6965 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6966 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
6967 Py_INCREF(obj);
6968 return Py_BuildValue((char *)"");
6969}
c32bde28 6970static int _wrap_SashNameStr_set(PyObject *) {
d55e5bfc
RD
6971 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
6972 return 1;
6973}
6974
6975
6976static PyObject *_wrap_SashNameStr_get() {
6977 PyObject *pyobj;
6978
6979 {
6980#if wxUSE_UNICODE
6981 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6982#else
6983 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6984#endif
6985 }
6986 return pyobj;
6987}
6988
6989
c32bde28 6990static int _wrap_SashLayoutNameStr_set(PyObject *) {
d55e5bfc
RD
6991 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
6992 return 1;
6993}
6994
6995
6996static PyObject *_wrap_SashLayoutNameStr_get() {
6997 PyObject *pyobj;
6998
6999 {
7000#if wxUSE_UNICODE
7001 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
7002#else
7003 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
7004#endif
7005 }
7006 return pyobj;
7007}
7008
7009
c32bde28 7010static PyObject *_wrap_new_SashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7011 PyObject *resultobj;
7012 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 7013 int arg2 = (int) -1 ;
d55e5bfc
RD
7014 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7015 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7016 wxSize const &arg4_defvalue = wxDefaultSize ;
7017 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7018 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7019 wxString const &arg6_defvalue = wxPySashNameStr ;
7020 wxString *arg6 = (wxString *) &arg6_defvalue ;
7021 wxSashWindow *result;
7022 wxPoint temp3 ;
7023 wxSize temp4 ;
7024 bool temp6 = False ;
7025 PyObject * obj0 = 0 ;
7026 PyObject * obj1 = 0 ;
7027 PyObject * obj2 = 0 ;
7028 PyObject * obj3 = 0 ;
7029 PyObject * obj4 = 0 ;
7030 PyObject * obj5 = 0 ;
7031 char *kwnames[] = {
7032 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7033 };
7034
248ed943 7035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d55e5bfc
RD
7036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
7037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 7038 if (obj1) {
c32bde28 7039 arg2 = (int)SWIG_As_int(obj1);
248ed943
RD
7040 if (PyErr_Occurred()) SWIG_fail;
7041 }
d55e5bfc
RD
7042 if (obj2) {
7043 {
7044 arg3 = &temp3;
7045 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7046 }
7047 }
7048 if (obj3) {
7049 {
7050 arg4 = &temp4;
7051 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7052 }
7053 }
7054 if (obj4) {
c32bde28 7055 arg5 = (long)SWIG_As_long(obj4);
d55e5bfc
RD
7056 if (PyErr_Occurred()) SWIG_fail;
7057 }
7058 if (obj5) {
7059 {
7060 arg6 = wxString_in_helper(obj5);
7061 if (arg6 == NULL) SWIG_fail;
7062 temp6 = True;
7063 }
7064 }
7065 {
0439c23b 7066 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
7067 PyThreadState* __tstate = wxPyBeginAllowThreads();
7068 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7069
7070 wxPyEndAllowThreads(__tstate);
110da5b0 7071 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
7072 }
7073 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
7074 {
7075 if (temp6)
7076 delete arg6;
7077 }
7078 return resultobj;
7079 fail:
7080 {
7081 if (temp6)
7082 delete arg6;
7083 }
7084 return NULL;
7085}
7086
7087
c32bde28 7088static PyObject *_wrap_new_PreSashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7089 PyObject *resultobj;
7090 wxSashWindow *result;
7091 char *kwnames[] = {
7092 NULL
7093 };
7094
7095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
7096 {
0439c23b 7097 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
7098 PyThreadState* __tstate = wxPyBeginAllowThreads();
7099 result = (wxSashWindow *)new wxSashWindow();
7100
7101 wxPyEndAllowThreads(__tstate);
110da5b0 7102 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
7103 }
7104 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
7105 return resultobj;
7106 fail:
7107 return NULL;
7108}
7109
7110
c32bde28 7111static PyObject *_wrap_SashWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7112 PyObject *resultobj;
7113 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7114 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 7115 int arg3 = (int) -1 ;
d55e5bfc
RD
7116 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7117 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7118 wxSize const &arg5_defvalue = wxDefaultSize ;
7119 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7120 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7121 wxString const &arg7_defvalue = wxPySashNameStr ;
7122 wxString *arg7 = (wxString *) &arg7_defvalue ;
7123 bool result;
7124 wxPoint temp4 ;
7125 wxSize temp5 ;
7126 bool temp7 = False ;
7127 PyObject * obj0 = 0 ;
7128 PyObject * obj1 = 0 ;
7129 PyObject * obj2 = 0 ;
7130 PyObject * obj3 = 0 ;
7131 PyObject * obj4 = 0 ;
7132 PyObject * obj5 = 0 ;
7133 PyObject * obj6 = 0 ;
7134 char *kwnames[] = {
7135 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7136 };
7137
248ed943 7138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d55e5bfc
RD
7139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7141 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
7142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 7143 if (obj2) {
c32bde28 7144 arg3 = (int)SWIG_As_int(obj2);
248ed943
RD
7145 if (PyErr_Occurred()) SWIG_fail;
7146 }
d55e5bfc
RD
7147 if (obj3) {
7148 {
7149 arg4 = &temp4;
7150 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7151 }
7152 }
7153 if (obj4) {
7154 {
7155 arg5 = &temp5;
7156 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7157 }
7158 }
7159 if (obj5) {
c32bde28 7160 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
7161 if (PyErr_Occurred()) SWIG_fail;
7162 }
7163 if (obj6) {
7164 {
7165 arg7 = wxString_in_helper(obj6);
7166 if (arg7 == NULL) SWIG_fail;
7167 temp7 = True;
7168 }
7169 }
7170 {
7171 PyThreadState* __tstate = wxPyBeginAllowThreads();
7172 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7173
7174 wxPyEndAllowThreads(__tstate);
7175 if (PyErr_Occurred()) SWIG_fail;
7176 }
7177 {
7178 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7179 }
7180 {
7181 if (temp7)
7182 delete arg7;
7183 }
7184 return resultobj;
7185 fail:
7186 {
7187 if (temp7)
7188 delete arg7;
7189 }
7190 return NULL;
7191}
7192
7193
c32bde28 7194static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7195 PyObject *resultobj;
7196 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7197 int arg2 ;
7198 bool arg3 ;
7199 PyObject * obj0 = 0 ;
7200 PyObject * obj1 = 0 ;
7201 PyObject * obj2 = 0 ;
7202 char *kwnames[] = {
7203 (char *) "self",(char *) "edge",(char *) "sash", NULL
7204 };
7205
7206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
7207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7209 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 7210 if (PyErr_Occurred()) SWIG_fail;
c32bde28 7211 arg3 = (bool)SWIG_As_bool(obj2);
d55e5bfc
RD
7212 if (PyErr_Occurred()) SWIG_fail;
7213 {
7214 PyThreadState* __tstate = wxPyBeginAllowThreads();
7215 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
7216
7217 wxPyEndAllowThreads(__tstate);
7218 if (PyErr_Occurred()) SWIG_fail;
7219 }
7220 Py_INCREF(Py_None); resultobj = Py_None;
7221 return resultobj;
7222 fail:
7223 return NULL;
7224}
7225
7226
c32bde28 7227static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7228 PyObject *resultobj;
7229 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7230 int arg2 ;
7231 bool result;
7232 PyObject * obj0 = 0 ;
7233 PyObject * obj1 = 0 ;
7234 char *kwnames[] = {
7235 (char *) "self",(char *) "edge", NULL
7236 };
7237
7238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
7239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7241 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
7242 if (PyErr_Occurred()) SWIG_fail;
7243 {
7244 PyThreadState* __tstate = wxPyBeginAllowThreads();
7245 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
7246
7247 wxPyEndAllowThreads(__tstate);
7248 if (PyErr_Occurred()) SWIG_fail;
7249 }
7250 {
7251 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7252 }
7253 return resultobj;
7254 fail:
7255 return NULL;
7256}
7257
7258
c32bde28 7259static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7260 PyObject *resultobj;
7261 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7262 int arg2 ;
7263 bool arg3 ;
7264 PyObject * obj0 = 0 ;
7265 PyObject * obj1 = 0 ;
7266 PyObject * obj2 = 0 ;
7267 char *kwnames[] = {
7268 (char *) "self",(char *) "edge",(char *) "border", NULL
7269 };
7270
7271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
7272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7274 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 7275 if (PyErr_Occurred()) SWIG_fail;
c32bde28 7276 arg3 = (bool)SWIG_As_bool(obj2);
d55e5bfc
RD
7277 if (PyErr_Occurred()) SWIG_fail;
7278 {
7279 PyThreadState* __tstate = wxPyBeginAllowThreads();
7280 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
7281
7282 wxPyEndAllowThreads(__tstate);
7283 if (PyErr_Occurred()) SWIG_fail;
7284 }
7285 Py_INCREF(Py_None); resultobj = Py_None;
7286 return resultobj;
7287 fail:
7288 return NULL;
7289}
7290
7291
c32bde28 7292static PyObject *_wrap_SashWindow_HasBorder(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7293 PyObject *resultobj;
7294 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7295 int arg2 ;
7296 bool result;
7297 PyObject * obj0 = 0 ;
7298 PyObject * obj1 = 0 ;
7299 char *kwnames[] = {
7300 (char *) "self",(char *) "edge", NULL
7301 };
7302
7303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
7304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7306 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
7307 if (PyErr_Occurred()) SWIG_fail;
7308 {
7309 PyThreadState* __tstate = wxPyBeginAllowThreads();
7310 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
7311
7312 wxPyEndAllowThreads(__tstate);
7313 if (PyErr_Occurred()) SWIG_fail;
7314 }
7315 {
7316 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7317 }
7318 return resultobj;
7319 fail:
7320 return NULL;
7321}
7322
7323
c32bde28 7324static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7325 PyObject *resultobj;
7326 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7327 int arg2 ;
7328 int result;
7329 PyObject * obj0 = 0 ;
7330 PyObject * obj1 = 0 ;
7331 char *kwnames[] = {
7332 (char *) "self",(char *) "edge", NULL
7333 };
7334
7335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
7336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7338 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
7339 if (PyErr_Occurred()) SWIG_fail;
7340 {
7341 PyThreadState* __tstate = wxPyBeginAllowThreads();
7342 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
7343
7344 wxPyEndAllowThreads(__tstate);
7345 if (PyErr_Occurred()) SWIG_fail;
7346 }
c32bde28 7347 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
7348 return resultobj;
7349 fail:
7350 return NULL;
7351}
7352
7353
c32bde28 7354static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7355 PyObject *resultobj;
7356 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7357 int arg2 ;
7358 PyObject * obj0 = 0 ;
7359 PyObject * obj1 = 0 ;
7360 char *kwnames[] = {
7361 (char *) "self",(char *) "width", NULL
7362 };
7363
7364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
7365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7367 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
7368 if (PyErr_Occurred()) SWIG_fail;
7369 {
7370 PyThreadState* __tstate = wxPyBeginAllowThreads();
7371 (arg1)->SetDefaultBorderSize(arg2);
7372
7373 wxPyEndAllowThreads(__tstate);
7374 if (PyErr_Occurred()) SWIG_fail;
7375 }
7376 Py_INCREF(Py_None); resultobj = Py_None;
7377 return resultobj;
7378 fail:
7379 return NULL;
7380}
7381
7382
c32bde28 7383static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7384 PyObject *resultobj;
7385 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7386 int result;
7387 PyObject * obj0 = 0 ;
7388 char *kwnames[] = {
7389 (char *) "self", NULL
7390 };
7391
7392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
7393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7395 {
7396 PyThreadState* __tstate = wxPyBeginAllowThreads();
7397 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
7398
7399 wxPyEndAllowThreads(__tstate);
7400 if (PyErr_Occurred()) SWIG_fail;
7401 }
c32bde28 7402 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
7403 return resultobj;
7404 fail:
7405 return NULL;
7406}
7407
7408
c32bde28 7409static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7410 PyObject *resultobj;
7411 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7412 int arg2 ;
7413 PyObject * obj0 = 0 ;
7414 PyObject * obj1 = 0 ;
7415 char *kwnames[] = {
7416 (char *) "self",(char *) "width", NULL
7417 };
7418
7419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
7420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7422 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
7423 if (PyErr_Occurred()) SWIG_fail;
7424 {
7425 PyThreadState* __tstate = wxPyBeginAllowThreads();
7426 (arg1)->SetExtraBorderSize(arg2);
7427
7428 wxPyEndAllowThreads(__tstate);
7429 if (PyErr_Occurred()) SWIG_fail;
7430 }
7431 Py_INCREF(Py_None); resultobj = Py_None;
7432 return resultobj;
7433 fail:
7434 return NULL;
7435}
7436
7437
c32bde28 7438static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7439 PyObject *resultobj;
7440 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7441 int result;
7442 PyObject * obj0 = 0 ;
7443 char *kwnames[] = {
7444 (char *) "self", NULL
7445 };
7446
7447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
7448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7450 {
7451 PyThreadState* __tstate = wxPyBeginAllowThreads();
7452 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
7453
7454 wxPyEndAllowThreads(__tstate);
7455 if (PyErr_Occurred()) SWIG_fail;
7456 }
c32bde28 7457 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
7458 return resultobj;
7459 fail:
7460 return NULL;
7461}
7462
7463
c32bde28 7464static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7465 PyObject *resultobj;
7466 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7467 int arg2 ;
7468 PyObject * obj0 = 0 ;
7469 PyObject * obj1 = 0 ;
7470 char *kwnames[] = {
7471 (char *) "self",(char *) "min", NULL
7472 };
7473
7474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
7475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7477 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
7478 if (PyErr_Occurred()) SWIG_fail;
7479 {
7480 PyThreadState* __tstate = wxPyBeginAllowThreads();
7481 (arg1)->SetMinimumSizeX(arg2);
7482
7483 wxPyEndAllowThreads(__tstate);
7484 if (PyErr_Occurred()) SWIG_fail;
7485 }
7486 Py_INCREF(Py_None); resultobj = Py_None;
7487 return resultobj;
7488 fail:
7489 return NULL;
7490}
7491
7492
c32bde28 7493static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7494 PyObject *resultobj;
7495 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7496 int arg2 ;
7497 PyObject * obj0 = 0 ;
7498 PyObject * obj1 = 0 ;
7499 char *kwnames[] = {
7500 (char *) "self",(char *) "min", NULL
7501 };
7502
7503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
7504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7506 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
7507 if (PyErr_Occurred()) SWIG_fail;
7508 {
7509 PyThreadState* __tstate = wxPyBeginAllowThreads();
7510 (arg1)->SetMinimumSizeY(arg2);
7511
7512 wxPyEndAllowThreads(__tstate);
7513 if (PyErr_Occurred()) SWIG_fail;
7514 }
7515 Py_INCREF(Py_None); resultobj = Py_None;
7516 return resultobj;
7517 fail:
7518 return NULL;
7519}
7520
7521
c32bde28 7522static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7523 PyObject *resultobj;
7524 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7525 int result;
7526 PyObject * obj0 = 0 ;
7527 char *kwnames[] = {
7528 (char *) "self", NULL
7529 };
7530
7531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
7532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7534 {
7535 PyThreadState* __tstate = wxPyBeginAllowThreads();
7536 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
7537
7538 wxPyEndAllowThreads(__tstate);
7539 if (PyErr_Occurred()) SWIG_fail;
7540 }
c32bde28 7541 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
7542 return resultobj;
7543 fail:
7544 return NULL;
7545}
7546
7547
c32bde28 7548static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7549 PyObject *resultobj;
7550 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7551 int result;
7552 PyObject * obj0 = 0 ;
7553 char *kwnames[] = {
7554 (char *) "self", NULL
7555 };
7556
7557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
7558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7560 {
7561 PyThreadState* __tstate = wxPyBeginAllowThreads();
7562 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
7563
7564 wxPyEndAllowThreads(__tstate);
7565 if (PyErr_Occurred()) SWIG_fail;
7566 }
c32bde28 7567 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
7568 return resultobj;
7569 fail:
7570 return NULL;
7571}
7572
7573
c32bde28 7574static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7575 PyObject *resultobj;
7576 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7577 int arg2 ;
7578 PyObject * obj0 = 0 ;
7579 PyObject * obj1 = 0 ;
7580 char *kwnames[] = {
7581 (char *) "self",(char *) "max", NULL
7582 };
7583
7584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
7585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7587 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
7588 if (PyErr_Occurred()) SWIG_fail;
7589 {
7590 PyThreadState* __tstate = wxPyBeginAllowThreads();
7591 (arg1)->SetMaximumSizeX(arg2);
7592
7593 wxPyEndAllowThreads(__tstate);
7594 if (PyErr_Occurred()) SWIG_fail;
7595 }
7596 Py_INCREF(Py_None); resultobj = Py_None;
7597 return resultobj;
7598 fail:
7599 return NULL;
7600}
7601
7602
c32bde28 7603static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7604 PyObject *resultobj;
7605 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7606 int arg2 ;
7607 PyObject * obj0 = 0 ;
7608 PyObject * obj1 = 0 ;
7609 char *kwnames[] = {
7610 (char *) "self",(char *) "max", NULL
7611 };
7612
7613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
7614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7616 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
7617 if (PyErr_Occurred()) SWIG_fail;
7618 {
7619 PyThreadState* __tstate = wxPyBeginAllowThreads();
7620 (arg1)->SetMaximumSizeY(arg2);
7621
7622 wxPyEndAllowThreads(__tstate);
7623 if (PyErr_Occurred()) SWIG_fail;
7624 }
7625 Py_INCREF(Py_None); resultobj = Py_None;
7626 return resultobj;
7627 fail:
7628 return NULL;
7629}
7630
7631
c32bde28 7632static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7633 PyObject *resultobj;
7634 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7635 int result;
7636 PyObject * obj0 = 0 ;
7637 char *kwnames[] = {
7638 (char *) "self", NULL
7639 };
7640
7641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
7642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7644 {
7645 PyThreadState* __tstate = wxPyBeginAllowThreads();
7646 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
7647
7648 wxPyEndAllowThreads(__tstate);
7649 if (PyErr_Occurred()) SWIG_fail;
7650 }
c32bde28 7651 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
7652 return resultobj;
7653 fail:
7654 return NULL;
7655}
7656
7657
c32bde28 7658static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7659 PyObject *resultobj;
7660 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7661 int result;
7662 PyObject * obj0 = 0 ;
7663 char *kwnames[] = {
7664 (char *) "self", NULL
7665 };
7666
7667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
7668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7670 {
7671 PyThreadState* __tstate = wxPyBeginAllowThreads();
7672 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
7673
7674 wxPyEndAllowThreads(__tstate);
7675 if (PyErr_Occurred()) SWIG_fail;
7676 }
c32bde28 7677 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
7678 return resultobj;
7679 fail:
7680 return NULL;
7681}
7682
7683
c32bde28 7684static PyObject *_wrap_SashWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7685 PyObject *resultobj;
7686 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7687 int arg2 ;
7688 int arg3 ;
7689 int arg4 = (int) 2 ;
7690 int result;
7691 PyObject * obj0 = 0 ;
7692 PyObject * obj1 = 0 ;
7693 PyObject * obj2 = 0 ;
7694 PyObject * obj3 = 0 ;
7695 char *kwnames[] = {
7696 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7697 };
7698
7699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7702 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 7703 if (PyErr_Occurred()) SWIG_fail;
c32bde28 7704 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
7705 if (PyErr_Occurred()) SWIG_fail;
7706 if (obj3) {
c32bde28 7707 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc
RD
7708 if (PyErr_Occurred()) SWIG_fail;
7709 }
7710 {
7711 PyThreadState* __tstate = wxPyBeginAllowThreads();
7712 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
7713
7714 wxPyEndAllowThreads(__tstate);
7715 if (PyErr_Occurred()) SWIG_fail;
7716 }
c32bde28 7717 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
7718 return resultobj;
7719 fail:
7720 return NULL;
7721}
7722
7723
c32bde28 7724static PyObject *_wrap_SashWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7725 PyObject *resultobj;
7726 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7727 PyObject * obj0 = 0 ;
7728 char *kwnames[] = {
7729 (char *) "self", NULL
7730 };
7731
7732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
7733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7735 {
7736 PyThreadState* __tstate = wxPyBeginAllowThreads();
7737 (arg1)->SizeWindows();
7738
7739 wxPyEndAllowThreads(__tstate);
7740 if (PyErr_Occurred()) SWIG_fail;
7741 }
7742 Py_INCREF(Py_None); resultobj = Py_None;
7743 return resultobj;
7744 fail:
7745 return NULL;
7746}
7747
7748
c32bde28 7749static PyObject * SashWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
7750 PyObject *obj;
7751 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7752 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
7753 Py_INCREF(obj);
7754 return Py_BuildValue((char *)"");
7755}
c32bde28 7756static PyObject *_wrap_new_SashEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7757 PyObject *resultobj;
7758 int arg1 = (int) 0 ;
7759 int arg2 = (int) wxSASH_NONE ;
7760 wxSashEvent *result;
7761 PyObject * obj0 = 0 ;
7762 PyObject * obj1 = 0 ;
7763 char *kwnames[] = {
7764 (char *) "id",(char *) "edge", NULL
7765 };
7766
7767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
7768 if (obj0) {
c32bde28 7769 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
7770 if (PyErr_Occurred()) SWIG_fail;
7771 }
7772 if (obj1) {
c32bde28 7773 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
7774 if (PyErr_Occurred()) SWIG_fail;
7775 }
7776 {
7777 PyThreadState* __tstate = wxPyBeginAllowThreads();
7778 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
7779
7780 wxPyEndAllowThreads(__tstate);
7781 if (PyErr_Occurred()) SWIG_fail;
7782 }
7783 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
7784 return resultobj;
7785 fail:
7786 return NULL;
7787}
7788
7789
c32bde28 7790static PyObject *_wrap_SashEvent_SetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7791 PyObject *resultobj;
7792 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7793 int arg2 ;
7794 PyObject * obj0 = 0 ;
7795 PyObject * obj1 = 0 ;
7796 char *kwnames[] = {
7797 (char *) "self",(char *) "edge", NULL
7798 };
7799
7800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
7801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7803 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
7804 if (PyErr_Occurred()) SWIG_fail;
7805 {
7806 PyThreadState* __tstate = wxPyBeginAllowThreads();
7807 (arg1)->SetEdge((wxSashEdgePosition )arg2);
7808
7809 wxPyEndAllowThreads(__tstate);
7810 if (PyErr_Occurred()) SWIG_fail;
7811 }
7812 Py_INCREF(Py_None); resultobj = Py_None;
7813 return resultobj;
7814 fail:
7815 return NULL;
7816}
7817
7818
c32bde28 7819static PyObject *_wrap_SashEvent_GetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7820 PyObject *resultobj;
7821 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7822 int result;
7823 PyObject * obj0 = 0 ;
7824 char *kwnames[] = {
7825 (char *) "self", NULL
7826 };
7827
7828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
7829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7831 {
7832 PyThreadState* __tstate = wxPyBeginAllowThreads();
7833 result = (int)((wxSashEvent const *)arg1)->GetEdge();
7834
7835 wxPyEndAllowThreads(__tstate);
7836 if (PyErr_Occurred()) SWIG_fail;
7837 }
c32bde28 7838 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
7839 return resultobj;
7840 fail:
7841 return NULL;
7842}
7843
7844
c32bde28 7845static PyObject *_wrap_SashEvent_SetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7846 PyObject *resultobj;
7847 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7848 wxRect *arg2 = 0 ;
7849 wxRect temp2 ;
7850 PyObject * obj0 = 0 ;
7851 PyObject * obj1 = 0 ;
7852 char *kwnames[] = {
7853 (char *) "self",(char *) "rect", NULL
7854 };
7855
7856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
7857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7859 {
7860 arg2 = &temp2;
7861 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7862 }
7863 {
7864 PyThreadState* __tstate = wxPyBeginAllowThreads();
7865 (arg1)->SetDragRect((wxRect const &)*arg2);
7866
7867 wxPyEndAllowThreads(__tstate);
7868 if (PyErr_Occurred()) SWIG_fail;
7869 }
7870 Py_INCREF(Py_None); resultobj = Py_None;
7871 return resultobj;
7872 fail:
7873 return NULL;
7874}
7875
7876
c32bde28 7877static PyObject *_wrap_SashEvent_GetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7878 PyObject *resultobj;
7879 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7880 wxRect result;
7881 PyObject * obj0 = 0 ;
7882 char *kwnames[] = {
7883 (char *) "self", NULL
7884 };
7885
7886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
7887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7889 {
7890 PyThreadState* __tstate = wxPyBeginAllowThreads();
7891 result = ((wxSashEvent const *)arg1)->GetDragRect();
7892
7893 wxPyEndAllowThreads(__tstate);
7894 if (PyErr_Occurred()) SWIG_fail;
7895 }
7896 {
7897 wxRect * resultptr;
7898 resultptr = new wxRect((wxRect &) result);
7899 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7900 }
7901 return resultobj;
7902 fail:
7903 return NULL;
7904}
7905
7906
c32bde28 7907static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7908 PyObject *resultobj;
7909 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7910 int arg2 ;
7911 PyObject * obj0 = 0 ;
7912 PyObject * obj1 = 0 ;
7913 char *kwnames[] = {
7914 (char *) "self",(char *) "status", NULL
7915 };
7916
7917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
7918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7920 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
7921 if (PyErr_Occurred()) SWIG_fail;
7922 {
7923 PyThreadState* __tstate = wxPyBeginAllowThreads();
7924 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
7925
7926 wxPyEndAllowThreads(__tstate);
7927 if (PyErr_Occurred()) SWIG_fail;
7928 }
7929 Py_INCREF(Py_None); resultobj = Py_None;
7930 return resultobj;
7931 fail:
7932 return NULL;
7933}
7934
7935
c32bde28 7936static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7937 PyObject *resultobj;
7938 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7939 int result;
7940 PyObject * obj0 = 0 ;
7941 char *kwnames[] = {
7942 (char *) "self", NULL
7943 };
7944
7945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
7946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7948 {
7949 PyThreadState* __tstate = wxPyBeginAllowThreads();
7950 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
7951
7952 wxPyEndAllowThreads(__tstate);
7953 if (PyErr_Occurred()) SWIG_fail;
7954 }
c32bde28 7955 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
7956 return resultobj;
7957 fail:
7958 return NULL;
7959}
7960
7961
c32bde28 7962static PyObject * SashEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
7963 PyObject *obj;
7964 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7965 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
7966 Py_INCREF(obj);
7967 return Py_BuildValue((char *)"");
7968}
c32bde28 7969static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7970 PyObject *resultobj;
7971 int arg1 = (int) 0 ;
7972 wxQueryLayoutInfoEvent *result;
7973 PyObject * obj0 = 0 ;
7974 char *kwnames[] = {
7975 (char *) "id", NULL
7976 };
7977
7978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
7979 if (obj0) {
c32bde28 7980 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
7981 if (PyErr_Occurred()) SWIG_fail;
7982 }
7983 {
7984 PyThreadState* __tstate = wxPyBeginAllowThreads();
7985 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
7986
7987 wxPyEndAllowThreads(__tstate);
7988 if (PyErr_Occurred()) SWIG_fail;
7989 }
7990 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
7991 return resultobj;
7992 fail:
7993 return NULL;
7994}
7995
7996
c32bde28 7997static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7998 PyObject *resultobj;
7999 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8000 int arg2 ;
8001 PyObject * obj0 = 0 ;
8002 PyObject * obj1 = 0 ;
8003 char *kwnames[] = {
8004 (char *) "self",(char *) "length", NULL
8005 };
8006
8007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
8008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 8010 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
8011 if (PyErr_Occurred()) SWIG_fail;
8012 {
8013 PyThreadState* __tstate = wxPyBeginAllowThreads();
8014 (arg1)->SetRequestedLength(arg2);
8015
8016 wxPyEndAllowThreads(__tstate);
8017 if (PyErr_Occurred()) SWIG_fail;
8018 }
8019 Py_INCREF(Py_None); resultobj = Py_None;
8020 return resultobj;
8021 fail:
8022 return NULL;
8023}
8024
8025
c32bde28 8026static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8027 PyObject *resultobj;
8028 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8029 int result;
8030 PyObject * obj0 = 0 ;
8031 char *kwnames[] = {
8032 (char *) "self", NULL
8033 };
8034
8035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
8036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8038 {
8039 PyThreadState* __tstate = wxPyBeginAllowThreads();
8040 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
8041
8042 wxPyEndAllowThreads(__tstate);
8043 if (PyErr_Occurred()) SWIG_fail;
8044 }
c32bde28 8045 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
8046 return resultobj;
8047 fail:
8048 return NULL;
8049}
8050
8051
c32bde28 8052static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8053 PyObject *resultobj;
8054 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8055 int arg2 ;
8056 PyObject * obj0 = 0 ;
8057 PyObject * obj1 = 0 ;
8058 char *kwnames[] = {
8059 (char *) "self",(char *) "flags", NULL
8060 };
8061
8062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
8063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 8065 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
8066 if (PyErr_Occurred()) SWIG_fail;
8067 {
8068 PyThreadState* __tstate = wxPyBeginAllowThreads();
8069 (arg1)->SetFlags(arg2);
8070
8071 wxPyEndAllowThreads(__tstate);
8072 if (PyErr_Occurred()) SWIG_fail;
8073 }
8074 Py_INCREF(Py_None); resultobj = Py_None;
8075 return resultobj;
8076 fail:
8077 return NULL;
8078}
8079
8080
c32bde28 8081static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8082 PyObject *resultobj;
8083 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8084 int result;
8085 PyObject * obj0 = 0 ;
8086 char *kwnames[] = {
8087 (char *) "self", NULL
8088 };
8089
8090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
8091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8093 {
8094 PyThreadState* __tstate = wxPyBeginAllowThreads();
8095 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
8096
8097 wxPyEndAllowThreads(__tstate);
8098 if (PyErr_Occurred()) SWIG_fail;
8099 }
c32bde28 8100 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
8101 return resultobj;
8102 fail:
8103 return NULL;
8104}
8105
8106
c32bde28 8107static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8108 PyObject *resultobj;
8109 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8110 wxSize *arg2 = 0 ;
8111 wxSize temp2 ;
8112 PyObject * obj0 = 0 ;
8113 PyObject * obj1 = 0 ;
8114 char *kwnames[] = {
8115 (char *) "self",(char *) "size", NULL
8116 };
8117
8118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
8119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8121 {
8122 arg2 = &temp2;
8123 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
8124 }
8125 {
8126 PyThreadState* __tstate = wxPyBeginAllowThreads();
8127 (arg1)->SetSize((wxSize const &)*arg2);
8128
8129 wxPyEndAllowThreads(__tstate);
8130 if (PyErr_Occurred()) SWIG_fail;
8131 }
8132 Py_INCREF(Py_None); resultobj = Py_None;
8133 return resultobj;
8134 fail:
8135 return NULL;
8136}
8137
8138
c32bde28 8139static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8140 PyObject *resultobj;
8141 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8142 wxSize result;
8143 PyObject * obj0 = 0 ;
8144 char *kwnames[] = {
8145 (char *) "self", NULL
8146 };
8147
8148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
8149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8151 {
8152 PyThreadState* __tstate = wxPyBeginAllowThreads();
8153 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
8154
8155 wxPyEndAllowThreads(__tstate);
8156 if (PyErr_Occurred()) SWIG_fail;
8157 }
8158 {
8159 wxSize * resultptr;
8160 resultptr = new wxSize((wxSize &) result);
8161 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
8162 }
8163 return resultobj;
8164 fail:
8165 return NULL;
8166}
8167
8168
c32bde28 8169static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8170 PyObject *resultobj;
8171 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8172 int arg2 ;
8173 PyObject * obj0 = 0 ;
8174 PyObject * obj1 = 0 ;
8175 char *kwnames[] = {
8176 (char *) "self",(char *) "orient", NULL
8177 };
8178
8179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
8180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 8182 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
8183 if (PyErr_Occurred()) SWIG_fail;
8184 {
8185 PyThreadState* __tstate = wxPyBeginAllowThreads();
8186 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8187
8188 wxPyEndAllowThreads(__tstate);
8189 if (PyErr_Occurred()) SWIG_fail;
8190 }
8191 Py_INCREF(Py_None); resultobj = Py_None;
8192 return resultobj;
8193 fail:
8194 return NULL;
8195}
8196
8197
c32bde28 8198static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8199 PyObject *resultobj;
8200 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8201 int result;
8202 PyObject * obj0 = 0 ;
8203 char *kwnames[] = {
8204 (char *) "self", NULL
8205 };
8206
8207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
8208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8210 {
8211 PyThreadState* __tstate = wxPyBeginAllowThreads();
8212 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
8213
8214 wxPyEndAllowThreads(__tstate);
8215 if (PyErr_Occurred()) SWIG_fail;
8216 }
c32bde28 8217 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
8218 return resultobj;
8219 fail:
8220 return NULL;
8221}
8222
8223
c32bde28 8224static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8225 PyObject *resultobj;
8226 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8227 int arg2 ;
8228 PyObject * obj0 = 0 ;
8229 PyObject * obj1 = 0 ;
8230 char *kwnames[] = {
8231 (char *) "self",(char *) "align", NULL
8232 };
8233
8234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 8237 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
8238 if (PyErr_Occurred()) SWIG_fail;
8239 {
8240 PyThreadState* __tstate = wxPyBeginAllowThreads();
8241 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
8242
8243 wxPyEndAllowThreads(__tstate);
8244 if (PyErr_Occurred()) SWIG_fail;
8245 }
8246 Py_INCREF(Py_None); resultobj = Py_None;
8247 return resultobj;
8248 fail:
8249 return NULL;
8250}
8251
8252
c32bde28 8253static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8254 PyObject *resultobj;
8255 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8256 int result;
8257 PyObject * obj0 = 0 ;
8258 char *kwnames[] = {
8259 (char *) "self", NULL
8260 };
8261
8262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
8263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8265 {
8266 PyThreadState* __tstate = wxPyBeginAllowThreads();
8267 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
8268
8269 wxPyEndAllowThreads(__tstate);
8270 if (PyErr_Occurred()) SWIG_fail;
8271 }
c32bde28 8272 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
8273 return resultobj;
8274 fail:
8275 return NULL;
8276}
8277
8278
c32bde28 8279static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8280 PyObject *obj;
8281 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8282 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
8283 Py_INCREF(obj);
8284 return Py_BuildValue((char *)"");
8285}
c32bde28 8286static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8287 PyObject *resultobj;
8288 int arg1 = (int) 0 ;
8289 wxCalculateLayoutEvent *result;
8290 PyObject * obj0 = 0 ;
8291 char *kwnames[] = {
8292 (char *) "id", NULL
8293 };
8294
8295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
8296 if (obj0) {
c32bde28 8297 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
8298 if (PyErr_Occurred()) SWIG_fail;
8299 }
8300 {
8301 PyThreadState* __tstate = wxPyBeginAllowThreads();
8302 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
8303
8304 wxPyEndAllowThreads(__tstate);
8305 if (PyErr_Occurred()) SWIG_fail;
8306 }
8307 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
8308 return resultobj;
8309 fail:
8310 return NULL;
8311}
8312
8313
c32bde28 8314static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8315 PyObject *resultobj;
8316 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8317 int arg2 ;
8318 PyObject * obj0 = 0 ;
8319 PyObject * obj1 = 0 ;
8320 char *kwnames[] = {
8321 (char *) "self",(char *) "flags", NULL
8322 };
8323
8324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
8325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 8327 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
8328 if (PyErr_Occurred()) SWIG_fail;
8329 {
8330 PyThreadState* __tstate = wxPyBeginAllowThreads();
8331 (arg1)->SetFlags(arg2);
8332
8333 wxPyEndAllowThreads(__tstate);
8334 if (PyErr_Occurred()) SWIG_fail;
8335 }
8336 Py_INCREF(Py_None); resultobj = Py_None;
8337 return resultobj;
8338 fail:
8339 return NULL;
8340}
8341
8342
c32bde28 8343static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8344 PyObject *resultobj;
8345 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8346 int result;
8347 PyObject * obj0 = 0 ;
8348 char *kwnames[] = {
8349 (char *) "self", NULL
8350 };
8351
8352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
8353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8355 {
8356 PyThreadState* __tstate = wxPyBeginAllowThreads();
8357 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
8358
8359 wxPyEndAllowThreads(__tstate);
8360 if (PyErr_Occurred()) SWIG_fail;
8361 }
c32bde28 8362 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
8363 return resultobj;
8364 fail:
8365 return NULL;
8366}
8367
8368
c32bde28 8369static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8370 PyObject *resultobj;
8371 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8372 wxRect *arg2 = 0 ;
8373 wxRect temp2 ;
8374 PyObject * obj0 = 0 ;
8375 PyObject * obj1 = 0 ;
8376 char *kwnames[] = {
8377 (char *) "self",(char *) "rect", NULL
8378 };
8379
8380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
8381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8383 {
8384 arg2 = &temp2;
8385 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8386 }
8387 {
8388 PyThreadState* __tstate = wxPyBeginAllowThreads();
8389 (arg1)->SetRect((wxRect const &)*arg2);
8390
8391 wxPyEndAllowThreads(__tstate);
8392 if (PyErr_Occurred()) SWIG_fail;
8393 }
8394 Py_INCREF(Py_None); resultobj = Py_None;
8395 return resultobj;
8396 fail:
8397 return NULL;
8398}
8399
8400
c32bde28 8401static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8402 PyObject *resultobj;
8403 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8404 wxRect result;
8405 PyObject * obj0 = 0 ;
8406 char *kwnames[] = {
8407 (char *) "self", NULL
8408 };
8409
8410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
8411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8413 {
8414 PyThreadState* __tstate = wxPyBeginAllowThreads();
8415 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
8416
8417 wxPyEndAllowThreads(__tstate);
8418 if (PyErr_Occurred()) SWIG_fail;
8419 }
8420 {
8421 wxRect * resultptr;
8422 resultptr = new wxRect((wxRect &) result);
8423 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
8424 }
8425 return resultobj;
8426 fail:
8427 return NULL;
8428}
8429
8430
c32bde28 8431static PyObject * CalculateLayoutEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8432 PyObject *obj;
8433 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8434 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
8435 Py_INCREF(obj);
8436 return Py_BuildValue((char *)"");
8437}
c32bde28 8438static PyObject *_wrap_new_SashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8439 PyObject *resultobj;
8440 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 8441 int arg2 = (int) -1 ;
d55e5bfc
RD
8442 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8443 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8444 wxSize const &arg4_defvalue = wxDefaultSize ;
8445 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8446 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8447 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
8448 wxString *arg6 = (wxString *) &arg6_defvalue ;
8449 wxSashLayoutWindow *result;
8450 wxPoint temp3 ;
8451 wxSize temp4 ;
8452 bool temp6 = False ;
8453 PyObject * obj0 = 0 ;
8454 PyObject * obj1 = 0 ;
8455 PyObject * obj2 = 0 ;
8456 PyObject * obj3 = 0 ;
8457 PyObject * obj4 = 0 ;
8458 PyObject * obj5 = 0 ;
8459 char *kwnames[] = {
8460 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8461 };
8462
248ed943 8463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d55e5bfc
RD
8464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 8466 if (obj1) {
c32bde28 8467 arg2 = (int)SWIG_As_int(obj1);
248ed943
RD
8468 if (PyErr_Occurred()) SWIG_fail;
8469 }
d55e5bfc
RD
8470 if (obj2) {
8471 {
8472 arg3 = &temp3;
8473 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8474 }
8475 }
8476 if (obj3) {
8477 {
8478 arg4 = &temp4;
8479 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8480 }
8481 }
8482 if (obj4) {
c32bde28 8483 arg5 = (long)SWIG_As_long(obj4);
d55e5bfc
RD
8484 if (PyErr_Occurred()) SWIG_fail;
8485 }
8486 if (obj5) {
8487 {
8488 arg6 = wxString_in_helper(obj5);
8489 if (arg6 == NULL) SWIG_fail;
8490 temp6 = True;
8491 }
8492 }
8493 {
0439c23b 8494 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
8495 PyThreadState* __tstate = wxPyBeginAllowThreads();
8496 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8497
8498 wxPyEndAllowThreads(__tstate);
110da5b0 8499 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
8500 }
8501 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
8502 {
8503 if (temp6)
8504 delete arg6;
8505 }
8506 return resultobj;
8507 fail:
8508 {
8509 if (temp6)
8510 delete arg6;
8511 }
8512 return NULL;
8513}
8514
8515
c32bde28 8516static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8517 PyObject *resultobj;
8518 wxSashLayoutWindow *result;
8519 char *kwnames[] = {
8520 NULL
8521 };
8522
8523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
8524 {
0439c23b 8525 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
8526 PyThreadState* __tstate = wxPyBeginAllowThreads();
8527 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
8528
8529 wxPyEndAllowThreads(__tstate);
110da5b0 8530 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
8531 }
8532 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
8533 return resultobj;
8534 fail:
8535 return NULL;
8536}
8537
8538
c32bde28 8539static PyObject *_wrap_SashLayoutWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8540 PyObject *resultobj;
8541 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8542 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 8543 int arg3 = (int) -1 ;
d55e5bfc
RD
8544 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8545 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8546 wxSize const &arg5_defvalue = wxDefaultSize ;
8547 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8548 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8549 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
8550 wxString *arg7 = (wxString *) &arg7_defvalue ;
8551 bool result;
8552 wxPoint temp4 ;
8553 wxSize temp5 ;
8554 bool temp7 = False ;
8555 PyObject * obj0 = 0 ;
8556 PyObject * obj1 = 0 ;
8557 PyObject * obj2 = 0 ;
8558 PyObject * obj3 = 0 ;
8559 PyObject * obj4 = 0 ;
8560 PyObject * obj5 = 0 ;
8561 PyObject * obj6 = 0 ;
8562 char *kwnames[] = {
8563 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8564 };
8565
248ed943 8566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d55e5bfc
RD
8567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8569 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 8571 if (obj2) {
c32bde28 8572 arg3 = (int)SWIG_As_int(obj2);
248ed943
RD
8573 if (PyErr_Occurred()) SWIG_fail;
8574 }
d55e5bfc
RD
8575 if (obj3) {
8576 {
8577 arg4 = &temp4;
8578 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8579 }
8580 }
8581 if (obj4) {
8582 {
8583 arg5 = &temp5;
8584 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8585 }
8586 }
8587 if (obj5) {
c32bde28 8588 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
8589 if (PyErr_Occurred()) SWIG_fail;
8590 }
8591 if (obj6) {
8592 {
8593 arg7 = wxString_in_helper(obj6);
8594 if (arg7 == NULL) SWIG_fail;
8595 temp7 = True;
8596 }
8597 }
8598 {
8599 PyThreadState* __tstate = wxPyBeginAllowThreads();
8600 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8601
8602 wxPyEndAllowThreads(__tstate);
8603 if (PyErr_Occurred()) SWIG_fail;
8604 }
8605 {
8606 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8607 }
8608 {
8609 if (temp7)
8610 delete arg7;
8611 }
8612 return resultobj;
8613 fail:
8614 {
8615 if (temp7)
8616 delete arg7;
8617 }
8618 return NULL;
8619}
8620
8621
c32bde28 8622static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8623 PyObject *resultobj;
8624 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8625 int result;
8626 PyObject * obj0 = 0 ;
8627 char *kwnames[] = {
8628 (char *) "self", NULL
8629 };
8630
8631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
8632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8634 {
8635 PyThreadState* __tstate = wxPyBeginAllowThreads();
8636 result = (int)(arg1)->GetAlignment();
8637
8638 wxPyEndAllowThreads(__tstate);
8639 if (PyErr_Occurred()) SWIG_fail;
8640 }
c32bde28 8641 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
8642 return resultobj;
8643 fail:
8644 return NULL;
8645}
8646
8647
c32bde28 8648static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8649 PyObject *resultobj;
8650 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8651 int result;
8652 PyObject * obj0 = 0 ;
8653 char *kwnames[] = {
8654 (char *) "self", NULL
8655 };
8656
8657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
8658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8660 {
8661 PyThreadState* __tstate = wxPyBeginAllowThreads();
8662 result = (int)(arg1)->GetOrientation();
8663
8664 wxPyEndAllowThreads(__tstate);
8665 if (PyErr_Occurred()) SWIG_fail;
8666 }
c32bde28 8667 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
8668 return resultobj;
8669 fail:
8670 return NULL;
8671}
8672
8673
c32bde28 8674static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8675 PyObject *resultobj;
8676 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8677 int arg2 ;
8678 PyObject * obj0 = 0 ;
8679 PyObject * obj1 = 0 ;
8680 char *kwnames[] = {
8681 (char *) "self",(char *) "alignment", NULL
8682 };
8683
8684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 8687 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
8688 if (PyErr_Occurred()) SWIG_fail;
8689 {
8690 PyThreadState* __tstate = wxPyBeginAllowThreads();
8691 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
8692
8693 wxPyEndAllowThreads(__tstate);
8694 if (PyErr_Occurred()) SWIG_fail;
8695 }
8696 Py_INCREF(Py_None); resultobj = Py_None;
8697 return resultobj;
8698 fail:
8699 return NULL;
8700}
8701
8702
c32bde28 8703static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8704 PyObject *resultobj;
8705 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8706 wxSize *arg2 = 0 ;
8707 wxSize temp2 ;
8708 PyObject * obj0 = 0 ;
8709 PyObject * obj1 = 0 ;
8710 char *kwnames[] = {
8711 (char *) "self",(char *) "size", NULL
8712 };
8713
8714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
8715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8717 {
8718 arg2 = &temp2;
8719 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
8720 }
8721 {
8722 PyThreadState* __tstate = wxPyBeginAllowThreads();
8723 (arg1)->SetDefaultSize((wxSize const &)*arg2);
8724
8725 wxPyEndAllowThreads(__tstate);
8726 if (PyErr_Occurred()) SWIG_fail;
8727 }
8728 Py_INCREF(Py_None); resultobj = Py_None;
8729 return resultobj;
8730 fail:
8731 return NULL;
8732}
8733
8734
c32bde28 8735static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8736 PyObject *resultobj;
8737 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8738 int arg2 ;
8739 PyObject * obj0 = 0 ;
8740 PyObject * obj1 = 0 ;
8741 char *kwnames[] = {
8742 (char *) "self",(char *) "orientation", NULL
8743 };
8744
8745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
8746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 8748 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
8749 if (PyErr_Occurred()) SWIG_fail;
8750 {
8751 PyThreadState* __tstate = wxPyBeginAllowThreads();
8752 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8753
8754 wxPyEndAllowThreads(__tstate);
8755 if (PyErr_Occurred()) SWIG_fail;
8756 }
8757 Py_INCREF(Py_None); resultobj = Py_None;
8758 return resultobj;
8759 fail:
8760 return NULL;
8761}
8762
8763
c32bde28 8764static PyObject * SashLayoutWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8765 PyObject *obj;
8766 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8767 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
8768 Py_INCREF(obj);
8769 return Py_BuildValue((char *)"");
8770}
c32bde28 8771static PyObject *_wrap_new_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8772 PyObject *resultobj;
8773 wxLayoutAlgorithm *result;
8774 char *kwnames[] = {
8775 NULL
8776 };
8777
8778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
8779 {
8780 PyThreadState* __tstate = wxPyBeginAllowThreads();
8781 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
8782
8783 wxPyEndAllowThreads(__tstate);
8784 if (PyErr_Occurred()) SWIG_fail;
8785 }
8786 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
8787 return resultobj;
8788 fail:
8789 return NULL;
8790}
8791
8792
c32bde28 8793static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8794 PyObject *resultobj;
8795 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8796 PyObject * obj0 = 0 ;
8797 char *kwnames[] = {
8798 (char *) "self", NULL
8799 };
8800
8801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
8802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8804 {
8805 PyThreadState* __tstate = wxPyBeginAllowThreads();
8806 delete arg1;
8807
8808 wxPyEndAllowThreads(__tstate);
8809 if (PyErr_Occurred()) SWIG_fail;
8810 }
8811 Py_INCREF(Py_None); resultobj = Py_None;
8812 return resultobj;
8813 fail:
8814 return NULL;
8815}
8816
8817
c32bde28 8818static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8819 PyObject *resultobj;
8820 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8821 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
8822 wxRect *arg3 = (wxRect *) NULL ;
8823 bool result;
8824 PyObject * obj0 = 0 ;
8825 PyObject * obj1 = 0 ;
8826 PyObject * obj2 = 0 ;
8827 char *kwnames[] = {
8828 (char *) "self",(char *) "frame",(char *) "rect", NULL
8829 };
8830
8831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8834 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
8835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8836 if (obj2) {
8837 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect,
8838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8839 }
8840 {
8841 PyThreadState* __tstate = wxPyBeginAllowThreads();
8842 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
8843
8844 wxPyEndAllowThreads(__tstate);
8845 if (PyErr_Occurred()) SWIG_fail;
8846 }
8847 {
8848 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8849 }
8850 return resultobj;
8851 fail:
8852 return NULL;
8853}
8854
8855
c32bde28 8856static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8857 PyObject *resultobj;
8858 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8859 wxFrame *arg2 = (wxFrame *) 0 ;
8860 wxWindow *arg3 = (wxWindow *) NULL ;
8861 bool result;
8862 PyObject * obj0 = 0 ;
8863 PyObject * obj1 = 0 ;
8864 PyObject * obj2 = 0 ;
8865 char *kwnames[] = {
8866 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8867 };
8868
8869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8872 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
8873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8874 if (obj2) {
8875 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8877 }
8878 {
8879 PyThreadState* __tstate = wxPyBeginAllowThreads();
8880 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
8881
8882 wxPyEndAllowThreads(__tstate);
8883 if (PyErr_Occurred()) SWIG_fail;
8884 }
8885 {
8886 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8887 }
8888 return resultobj;
8889 fail:
8890 return NULL;
8891}
8892
8893
c32bde28 8894static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8895 PyObject *resultobj;
8896 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8897 wxWindow *arg2 = (wxWindow *) 0 ;
8898 wxWindow *arg3 = (wxWindow *) NULL ;
8899 bool result;
8900 PyObject * obj0 = 0 ;
8901 PyObject * obj1 = 0 ;
8902 PyObject * obj2 = 0 ;
8903 char *kwnames[] = {
8904 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8905 };
8906
8907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
8908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8910 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8912 if (obj2) {
8913 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8915 }
8916 {
8917 PyThreadState* __tstate = wxPyBeginAllowThreads();
8918 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
8919
8920 wxPyEndAllowThreads(__tstate);
8921 if (PyErr_Occurred()) SWIG_fail;
8922 }
8923 {
8924 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8925 }
8926 return resultobj;
8927 fail:
8928 return NULL;
8929}
8930
8931
c32bde28 8932static PyObject * LayoutAlgorithm_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8933 PyObject *obj;
8934 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8935 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
8936 Py_INCREF(obj);
8937 return Py_BuildValue((char *)"");
8938}
c32bde28 8939static PyObject *_wrap_new_PopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8940 PyObject *resultobj;
8941 wxWindow *arg1 = (wxWindow *) 0 ;
8942 int arg2 = (int) wxBORDER_NONE ;
8943 wxPopupWindow *result;
8944 PyObject * obj0 = 0 ;
8945 PyObject * obj1 = 0 ;
8946 char *kwnames[] = {
8947 (char *) "parent",(char *) "flags", NULL
8948 };
8949
8950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
8951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8953 if (obj1) {
c32bde28 8954 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
8955 if (PyErr_Occurred()) SWIG_fail;
8956 }
8957 {
0439c23b 8958 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
8959 PyThreadState* __tstate = wxPyBeginAllowThreads();
8960 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
8961
8962 wxPyEndAllowThreads(__tstate);
110da5b0 8963 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
8964 }
8965 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8966 return resultobj;
8967 fail:
8968 return NULL;
8969}
8970
8971
c32bde28 8972static PyObject *_wrap_new_PrePopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8973 PyObject *resultobj;
8974 wxPopupWindow *result;
8975 char *kwnames[] = {
8976 NULL
8977 };
8978
8979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
8980 {
0439c23b 8981 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
8982 PyThreadState* __tstate = wxPyBeginAllowThreads();
8983 result = (wxPopupWindow *)new wxPopupWindow();
8984
8985 wxPyEndAllowThreads(__tstate);
110da5b0 8986 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
8987 }
8988 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8989 return resultobj;
8990 fail:
8991 return NULL;
8992}
8993
8994
c32bde28 8995static PyObject *_wrap_PopupWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8996 PyObject *resultobj;
8997 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
8998 wxWindow *arg2 = (wxWindow *) 0 ;
8999 int arg3 = (int) wxBORDER_NONE ;
9000 bool result;
9001 PyObject * obj0 = 0 ;
9002 PyObject * obj1 = 0 ;
9003 PyObject * obj2 = 0 ;
9004 char *kwnames[] = {
9005 (char *) "self",(char *) "parent",(char *) "flags", NULL
9006 };
9007
9008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
9009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow,
9010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9011 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9013 if (obj2) {
c32bde28 9014 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
9015 if (PyErr_Occurred()) SWIG_fail;
9016 }
9017 {
9018 PyThreadState* __tstate = wxPyBeginAllowThreads();
9019 result = (bool)(arg1)->Create(arg2,arg3);
9020
9021 wxPyEndAllowThreads(__tstate);
9022 if (PyErr_Occurred()) SWIG_fail;
9023 }
9024 {
9025 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9026 }
9027 return resultobj;
9028 fail:
9029 return NULL;
9030}
9031
9032
c32bde28 9033static PyObject *_wrap_PopupWindow_Position(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9034 PyObject *resultobj;
9035 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
9036 wxPoint *arg2 = 0 ;
9037 wxSize *arg3 = 0 ;
9038 wxPoint temp2 ;
9039 wxSize temp3 ;
9040 PyObject * obj0 = 0 ;
9041 PyObject * obj1 = 0 ;
9042 PyObject * obj2 = 0 ;
9043 char *kwnames[] = {
9044 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
9045 };
9046
9047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail;
9048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow,
9049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9050 {
9051 arg2 = &temp2;
9052 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9053 }
9054 {
9055 arg3 = &temp3;
9056 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
9057 }
9058 {
9059 PyThreadState* __tstate = wxPyBeginAllowThreads();
9060 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
9061
9062 wxPyEndAllowThreads(__tstate);
9063 if (PyErr_Occurred()) SWIG_fail;
9064 }
9065 Py_INCREF(Py_None); resultobj = Py_None;
9066 return resultobj;
9067 fail:
9068 return NULL;
9069}
9070
9071
c32bde28 9072static PyObject * PopupWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
9073 PyObject *obj;
9074 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9075 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
9076 Py_INCREF(obj);
9077 return Py_BuildValue((char *)"");
9078}
c32bde28 9079static PyObject *_wrap_new_PopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9080 PyObject *resultobj;
9081 wxWindow *arg1 = (wxWindow *) 0 ;
9082 int arg2 = (int) wxBORDER_NONE ;
9083 wxPyPopupTransientWindow *result;
9084 PyObject * obj0 = 0 ;
9085 PyObject * obj1 = 0 ;
9086 char *kwnames[] = {
9087 (char *) "parent",(char *) "style", NULL
9088 };
9089
9090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
9091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9093 if (obj1) {
c32bde28 9094 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
9095 if (PyErr_Occurred()) SWIG_fail;
9096 }
9097 {
0439c23b 9098 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
9099 PyThreadState* __tstate = wxPyBeginAllowThreads();
9100 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
9101
9102 wxPyEndAllowThreads(__tstate);
110da5b0 9103 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
9104 }
9105 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
9106 return resultobj;
9107 fail:
9108 return NULL;
9109}
9110
9111
c32bde28 9112static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9113 PyObject *resultobj;
9114 wxPyPopupTransientWindow *result;
9115 char *kwnames[] = {
9116 NULL
9117 };
9118
9119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
9120 {
0439c23b 9121 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
9122 PyThreadState* __tstate = wxPyBeginAllowThreads();
9123 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
9124
9125 wxPyEndAllowThreads(__tstate);
110da5b0 9126 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
9127 }
9128 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
9129 return resultobj;
9130 fail:
9131 return NULL;
9132}
9133
9134
c32bde28 9135static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9136 PyObject *resultobj;
9137 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
9138 PyObject *arg2 = (PyObject *) 0 ;
9139 PyObject *arg3 = (PyObject *) 0 ;
9140 PyObject * obj0 = 0 ;
9141 PyObject * obj1 = 0 ;
9142 PyObject * obj2 = 0 ;
9143 char *kwnames[] = {
9144 (char *) "self",(char *) "self",(char *) "_class", NULL
9145 };
9146
9147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
9149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9150 arg2 = obj1;
9151 arg3 = obj2;
9152 {
9153 PyThreadState* __tstate = wxPyBeginAllowThreads();
9154 (arg1)->_setCallbackInfo(arg2,arg3);
9155
9156 wxPyEndAllowThreads(__tstate);
9157 if (PyErr_Occurred()) SWIG_fail;
9158 }
9159 Py_INCREF(Py_None); resultobj = Py_None;
9160 return resultobj;
9161 fail:
9162 return NULL;
9163}
9164
9165
c32bde28 9166static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9167 PyObject *resultobj;
9168 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
9169 wxWindow *arg2 = (wxWindow *) NULL ;
9170 PyObject * obj0 = 0 ;
9171 PyObject * obj1 = 0 ;
9172 char *kwnames[] = {
9173 (char *) "self",(char *) "focus", NULL
9174 };
9175
9176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail;
9177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
9178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9179 if (obj1) {
9180 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9182 }
9183 {
9184 PyThreadState* __tstate = wxPyBeginAllowThreads();
9185 (arg1)->Popup(arg2);
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_Dismiss(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9198 PyObject *resultobj;
9199 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
9200 PyObject * obj0 = 0 ;
9201 char *kwnames[] = {
9202 (char *) "self", NULL
9203 };
9204
9205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail;
9206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
9207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9208 {
9209 PyThreadState* __tstate = wxPyBeginAllowThreads();
9210 (arg1)->Dismiss();
9211
9212 wxPyEndAllowThreads(__tstate);
9213 if (PyErr_Occurred()) SWIG_fail;
9214 }
9215 Py_INCREF(Py_None); resultobj = Py_None;
9216 return resultobj;
9217 fail:
9218 return NULL;
9219}
9220
9221
c32bde28 9222static PyObject * PopupTransientWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
9223 PyObject *obj;
9224 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9225 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
9226 Py_INCREF(obj);
9227 return Py_BuildValue((char *)"");
9228}
c32bde28 9229static PyObject *_wrap_new_TipWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9230 PyObject *resultobj;
9231 wxWindow *arg1 = (wxWindow *) 0 ;
9232 wxString *arg2 = 0 ;
9233 int arg3 = (int) 100 ;
9234 wxRect *arg4 = (wxRect *) NULL ;
9235 wxTipWindow *result;
9236 bool temp2 = False ;
9237 PyObject * obj0 = 0 ;
9238 PyObject * obj1 = 0 ;
9239 PyObject * obj2 = 0 ;
9240 PyObject * obj3 = 0 ;
9241 char *kwnames[] = {
9242 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
9243 };
9244
9245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9248 {
9249 arg2 = wxString_in_helper(obj1);
9250 if (arg2 == NULL) SWIG_fail;
9251 temp2 = True;
9252 }
9253 if (obj2) {
c32bde28 9254 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
9255 if (PyErr_Occurred()) SWIG_fail;
9256 }
9257 if (obj3) {
9258 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect,
9259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9260 }
9261 {
0439c23b 9262 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
9263 PyThreadState* __tstate = wxPyBeginAllowThreads();
9264 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
9265
9266 wxPyEndAllowThreads(__tstate);
110da5b0 9267 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
9268 }
9269 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
9270 {
9271 if (temp2)
9272 delete arg2;
9273 }
9274 return resultobj;
9275 fail:
9276 {
9277 if (temp2)
9278 delete arg2;
9279 }
9280 return NULL;
9281}
9282
9283
c32bde28 9284static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9285 PyObject *resultobj;
9286 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
9287 wxRect *arg2 = 0 ;
9288 wxRect temp2 ;
9289 PyObject * obj0 = 0 ;
9290 PyObject * obj1 = 0 ;
9291 char *kwnames[] = {
9292 (char *) "self",(char *) "rectBound", NULL
9293 };
9294
9295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
9296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
9297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9298 {
9299 arg2 = &temp2;
9300 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
9301 }
9302 {
9303 PyThreadState* __tstate = wxPyBeginAllowThreads();
9304 (arg1)->SetBoundingRect((wxRect const &)*arg2);
9305
9306 wxPyEndAllowThreads(__tstate);
9307 if (PyErr_Occurred()) SWIG_fail;
9308 }
9309 Py_INCREF(Py_None); resultobj = Py_None;
9310 return resultobj;
9311 fail:
9312 return NULL;
9313}
9314
9315
c32bde28 9316static PyObject *_wrap_TipWindow_Close(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9317 PyObject *resultobj;
9318 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
9319 PyObject * obj0 = 0 ;
9320 char *kwnames[] = {
9321 (char *) "self", NULL
9322 };
9323
9324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
9325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
9326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9327 {
9328 PyThreadState* __tstate = wxPyBeginAllowThreads();
9329 (arg1)->Close();
9330
9331 wxPyEndAllowThreads(__tstate);
9332 if (PyErr_Occurred()) SWIG_fail;
9333 }
9334 Py_INCREF(Py_None); resultobj = Py_None;
9335 return resultobj;
9336 fail:
9337 return NULL;
9338}
9339
9340
c32bde28 9341static PyObject * TipWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
9342 PyObject *obj;
9343 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9344 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
9345 Py_INCREF(obj);
9346 return Py_BuildValue((char *)"");
9347}
c32bde28 9348static PyObject *_wrap_new_VScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9349 PyObject *resultobj;
9350 wxWindow *arg1 = (wxWindow *) 0 ;
9351 int arg2 = (int) wxID_ANY ;
9352 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9353 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9354 wxSize const &arg4_defvalue = wxDefaultSize ;
9355 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9356 long arg5 = (long) 0 ;
9357 wxString const &arg6_defvalue = wxPyPanelNameStr ;
9358 wxString *arg6 = (wxString *) &arg6_defvalue ;
9359 wxPyVScrolledWindow *result;
9360 wxPoint temp3 ;
9361 wxSize temp4 ;
9362 bool temp6 = False ;
9363 PyObject * obj0 = 0 ;
9364 PyObject * obj1 = 0 ;
9365 PyObject * obj2 = 0 ;
9366 PyObject * obj3 = 0 ;
9367 PyObject * obj4 = 0 ;
9368 PyObject * obj5 = 0 ;
9369 char *kwnames[] = {
9370 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9371 };
9372
9373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9376 if (obj1) {
c32bde28 9377 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
9378 if (PyErr_Occurred()) SWIG_fail;
9379 }
9380 if (obj2) {
9381 {
9382 arg3 = &temp3;
9383 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9384 }
9385 }
9386 if (obj3) {
9387 {
9388 arg4 = &temp4;
9389 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9390 }
9391 }
9392 if (obj4) {
c32bde28 9393 arg5 = (long)SWIG_As_long(obj4);
d55e5bfc
RD
9394 if (PyErr_Occurred()) SWIG_fail;
9395 }
9396 if (obj5) {
9397 {
9398 arg6 = wxString_in_helper(obj5);
9399 if (arg6 == NULL) SWIG_fail;
9400 temp6 = True;
9401 }
9402 }
9403 {
0439c23b 9404 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
9405 PyThreadState* __tstate = wxPyBeginAllowThreads();
9406 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9407
9408 wxPyEndAllowThreads(__tstate);
110da5b0 9409 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
9410 }
9411 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
9412 {
9413 if (temp6)
9414 delete arg6;
9415 }
9416 return resultobj;
9417 fail:
9418 {
9419 if (temp6)
9420 delete arg6;
9421 }
9422 return NULL;
9423}
9424
9425
c32bde28 9426static PyObject *_wrap_new_PreVScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9427 PyObject *resultobj;
9428 wxPyVScrolledWindow *result;
9429 char *kwnames[] = {
9430 NULL
9431 };
9432
9433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
9434 {
0439c23b 9435 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
9436 PyThreadState* __tstate = wxPyBeginAllowThreads();
9437 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
9438
9439 wxPyEndAllowThreads(__tstate);
110da5b0 9440 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
9441 }
9442 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
9443 return resultobj;
9444 fail:
9445 return NULL;
9446}
9447
9448
c32bde28 9449static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9450 PyObject *resultobj;
9451 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9452 PyObject *arg2 = (PyObject *) 0 ;
9453 PyObject *arg3 = (PyObject *) 0 ;
9454 PyObject * obj0 = 0 ;
9455 PyObject * obj1 = 0 ;
9456 PyObject * obj2 = 0 ;
9457 char *kwnames[] = {
9458 (char *) "self",(char *) "self",(char *) "_class", NULL
9459 };
9460
9461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9464 arg2 = obj1;
9465 arg3 = obj2;
9466 {
9467 PyThreadState* __tstate = wxPyBeginAllowThreads();
9468 (arg1)->_setCallbackInfo(arg2,arg3);
9469
9470 wxPyEndAllowThreads(__tstate);
9471 if (PyErr_Occurred()) SWIG_fail;
9472 }
9473 Py_INCREF(Py_None); resultobj = Py_None;
9474 return resultobj;
9475 fail:
9476 return NULL;
9477}
9478
9479
c32bde28 9480static PyObject *_wrap_VScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9481 PyObject *resultobj;
9482 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9483 wxWindow *arg2 = (wxWindow *) 0 ;
9484 int arg3 = (int) wxID_ANY ;
9485 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9486 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9487 wxSize const &arg5_defvalue = wxDefaultSize ;
9488 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9489 long arg6 = (long) 0 ;
9490 wxString const &arg7_defvalue = wxPyPanelNameStr ;
9491 wxString *arg7 = (wxString *) &arg7_defvalue ;
9492 bool result;
9493 wxPoint temp4 ;
9494 wxSize temp5 ;
9495 bool temp7 = False ;
9496 PyObject * obj0 = 0 ;
9497 PyObject * obj1 = 0 ;
9498 PyObject * obj2 = 0 ;
9499 PyObject * obj3 = 0 ;
9500 PyObject * obj4 = 0 ;
9501 PyObject * obj5 = 0 ;
9502 PyObject * obj6 = 0 ;
9503 char *kwnames[] = {
9504 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9505 };
9506
9507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9510 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9512 if (obj2) {
c32bde28 9513 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
9514 if (PyErr_Occurred()) SWIG_fail;
9515 }
9516 if (obj3) {
9517 {
9518 arg4 = &temp4;
9519 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9520 }
9521 }
9522 if (obj4) {
9523 {
9524 arg5 = &temp5;
9525 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9526 }
9527 }
9528 if (obj5) {
c32bde28 9529 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
9530 if (PyErr_Occurred()) SWIG_fail;
9531 }
9532 if (obj6) {
9533 {
9534 arg7 = wxString_in_helper(obj6);
9535 if (arg7 == NULL) SWIG_fail;
9536 temp7 = True;
9537 }
9538 }
9539 {
9540 PyThreadState* __tstate = wxPyBeginAllowThreads();
9541 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9542
9543 wxPyEndAllowThreads(__tstate);
9544 if (PyErr_Occurred()) SWIG_fail;
9545 }
9546 {
9547 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9548 }
9549 {
9550 if (temp7)
9551 delete arg7;
9552 }
9553 return resultobj;
9554 fail:
9555 {
9556 if (temp7)
9557 delete arg7;
9558 }
9559 return NULL;
9560}
9561
9562
c32bde28 9563static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9564 PyObject *resultobj;
9565 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9566 size_t arg2 ;
9567 PyObject * obj0 = 0 ;
9568 PyObject * obj1 = 0 ;
9569 char *kwnames[] = {
9570 (char *) "self",(char *) "count", NULL
9571 };
9572
9573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
9574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9576 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
d55e5bfc
RD
9577 if (PyErr_Occurred()) SWIG_fail;
9578 {
9579 PyThreadState* __tstate = wxPyBeginAllowThreads();
9580 (arg1)->SetLineCount(arg2);
9581
9582 wxPyEndAllowThreads(__tstate);
9583 if (PyErr_Occurred()) SWIG_fail;
9584 }
9585 Py_INCREF(Py_None); resultobj = Py_None;
9586 return resultobj;
9587 fail:
9588 return NULL;
9589}
9590
9591
c32bde28 9592static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9593 PyObject *resultobj;
9594 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9595 size_t arg2 ;
9596 bool result;
9597 PyObject * obj0 = 0 ;
9598 PyObject * obj1 = 0 ;
9599 char *kwnames[] = {
9600 (char *) "self",(char *) "line", NULL
9601 };
9602
9603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
9604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9606 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
d55e5bfc
RD
9607 if (PyErr_Occurred()) SWIG_fail;
9608 {
9609 PyThreadState* __tstate = wxPyBeginAllowThreads();
9610 result = (bool)(arg1)->ScrollToLine(arg2);
9611
9612 wxPyEndAllowThreads(__tstate);
9613 if (PyErr_Occurred()) SWIG_fail;
9614 }
9615 {
9616 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9617 }
9618 return resultobj;
9619 fail:
9620 return NULL;
9621}
9622
9623
c32bde28 9624static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9625 PyObject *resultobj;
9626 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9627 int arg2 ;
9628 bool result;
9629 PyObject * obj0 = 0 ;
9630 PyObject * obj1 = 0 ;
9631 char *kwnames[] = {
9632 (char *) "self",(char *) "lines", NULL
9633 };
9634
9635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
9636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9638 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
9639 if (PyErr_Occurred()) SWIG_fail;
9640 {
9641 PyThreadState* __tstate = wxPyBeginAllowThreads();
9642 result = (bool)(arg1)->ScrollLines(arg2);
9643
9644 wxPyEndAllowThreads(__tstate);
9645 if (PyErr_Occurred()) SWIG_fail;
9646 }
9647 {
9648 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9649 }
9650 return resultobj;
9651 fail:
9652 return NULL;
9653}
9654
9655
c32bde28 9656static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9657 PyObject *resultobj;
9658 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9659 int arg2 ;
9660 bool result;
9661 PyObject * obj0 = 0 ;
9662 PyObject * obj1 = 0 ;
9663 char *kwnames[] = {
9664 (char *) "self",(char *) "pages", NULL
9665 };
9666
9667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
9668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9670 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
9671 if (PyErr_Occurred()) SWIG_fail;
9672 {
9673 PyThreadState* __tstate = wxPyBeginAllowThreads();
9674 result = (bool)(arg1)->ScrollPages(arg2);
9675
9676 wxPyEndAllowThreads(__tstate);
9677 if (PyErr_Occurred()) SWIG_fail;
9678 }
9679 {
9680 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9681 }
9682 return resultobj;
9683 fail:
9684 return NULL;
9685}
9686
9687
c32bde28 9688static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9689 PyObject *resultobj;
9690 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9691 size_t arg2 ;
9692 PyObject * obj0 = 0 ;
9693 PyObject * obj1 = 0 ;
9694 char *kwnames[] = {
9695 (char *) "self",(char *) "line", NULL
9696 };
9697
9698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
9699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9701 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
d55e5bfc
RD
9702 if (PyErr_Occurred()) SWIG_fail;
9703 {
9704 PyThreadState* __tstate = wxPyBeginAllowThreads();
9705 (arg1)->RefreshLine(arg2);
9706
9707 wxPyEndAllowThreads(__tstate);
9708 if (PyErr_Occurred()) SWIG_fail;
9709 }
9710 Py_INCREF(Py_None); resultobj = Py_None;
9711 return resultobj;
9712 fail:
9713 return NULL;
9714}
9715
9716
c32bde28 9717static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9718 PyObject *resultobj;
9719 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9720 size_t arg2 ;
9721 size_t arg3 ;
9722 PyObject * obj0 = 0 ;
9723 PyObject * obj1 = 0 ;
9724 PyObject * obj2 = 0 ;
9725 char *kwnames[] = {
9726 (char *) "self",(char *) "from",(char *) "to", NULL
9727 };
9728
9729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
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);
d55e5bfc 9733 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9734 arg3 = (size_t)SWIG_As_unsigned_SS_long(obj2);
d55e5bfc
RD
9735 if (PyErr_Occurred()) SWIG_fail;
9736 {
9737 PyThreadState* __tstate = wxPyBeginAllowThreads();
9738 (arg1)->RefreshLines(arg2,arg3);
9739
9740 wxPyEndAllowThreads(__tstate);
9741 if (PyErr_Occurred()) SWIG_fail;
9742 }
9743 Py_INCREF(Py_None); resultobj = Py_None;
9744 return resultobj;
9745 fail:
9746 return NULL;
9747}
9748
9749
c32bde28 9750static PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9751 PyObject *resultobj;
9752 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9753 int arg2 ;
9754 int arg3 ;
9755 int result;
9756 PyObject * obj0 = 0 ;
9757 PyObject * obj1 = 0 ;
9758 PyObject * obj2 = 0 ;
9759 char *kwnames[] = {
9760 (char *) "self",(char *) "x",(char *) "y", NULL
9761 };
9762
354693ff 9763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
d55e5bfc
RD
9764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9766 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 9767 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9768 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
9769 if (PyErr_Occurred()) SWIG_fail;
9770 {
9771 PyThreadState* __tstate = wxPyBeginAllowThreads();
9772 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
9773
9774 wxPyEndAllowThreads(__tstate);
9775 if (PyErr_Occurred()) SWIG_fail;
9776 }
c32bde28 9777 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
9778 return resultobj;
9779 fail:
9780 return NULL;
9781}
9782
9783
c32bde28 9784static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9785 PyObject *resultobj;
9786 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9787 wxPoint *arg2 = 0 ;
9788 int result;
9789 wxPoint temp2 ;
9790 PyObject * obj0 = 0 ;
9791 PyObject * obj1 = 0 ;
9792 char *kwnames[] = {
9793 (char *) "self",(char *) "pt", NULL
9794 };
9795
9796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
9797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9799 {
9800 arg2 = &temp2;
9801 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9802 }
9803 {
9804 PyThreadState* __tstate = wxPyBeginAllowThreads();
9805 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
9806
9807 wxPyEndAllowThreads(__tstate);
9808 if (PyErr_Occurred()) SWIG_fail;
9809 }
c32bde28 9810 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
9811 return resultobj;
9812 fail:
9813 return NULL;
9814}
9815
9816
c32bde28 9817static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9818 PyObject *resultobj;
9819 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9820 PyObject * obj0 = 0 ;
9821 char *kwnames[] = {
9822 (char *) "self", NULL
9823 };
9824
9825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
9826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9828 {
9829 PyThreadState* __tstate = wxPyBeginAllowThreads();
9830 (arg1)->RefreshAll();
9831
9832 wxPyEndAllowThreads(__tstate);
9833 if (PyErr_Occurred()) SWIG_fail;
9834 }
9835 Py_INCREF(Py_None); resultobj = Py_None;
9836 return resultobj;
9837 fail:
9838 return NULL;
9839}
9840
9841
c32bde28 9842static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9843 PyObject *resultobj;
9844 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9845 size_t result;
9846 PyObject * obj0 = 0 ;
9847 char *kwnames[] = {
9848 (char *) "self", NULL
9849 };
9850
9851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
9852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9854 {
9855 PyThreadState* __tstate = wxPyBeginAllowThreads();
9856 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
9857
9858 wxPyEndAllowThreads(__tstate);
9859 if (PyErr_Occurred()) SWIG_fail;
9860 }
c32bde28 9861 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
d55e5bfc
RD
9862 return resultobj;
9863 fail:
9864 return NULL;
9865}
9866
9867
c32bde28 9868static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9869 PyObject *resultobj;
9870 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9871 size_t result;
9872 PyObject * obj0 = 0 ;
9873 char *kwnames[] = {
9874 (char *) "self", NULL
9875 };
9876
9877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
9878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9880 {
9881 PyThreadState* __tstate = wxPyBeginAllowThreads();
9882 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
9883
9884 wxPyEndAllowThreads(__tstate);
9885 if (PyErr_Occurred()) SWIG_fail;
9886 }
c32bde28 9887 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
d55e5bfc
RD
9888 return resultobj;
9889 fail:
9890 return NULL;
9891}
9892
9893
c32bde28 9894static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9895 PyObject *resultobj;
9896 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9897 size_t result;
9898 PyObject * obj0 = 0 ;
9899 char *kwnames[] = {
9900 (char *) "self", NULL
9901 };
9902
9903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
9904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9906 {
9907 PyThreadState* __tstate = wxPyBeginAllowThreads();
9908 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
9909
9910 wxPyEndAllowThreads(__tstate);
9911 if (PyErr_Occurred()) SWIG_fail;
9912 }
c32bde28 9913 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
d55e5bfc
RD
9914 return resultobj;
9915 fail:
9916 return NULL;
9917}
9918
9919
c32bde28 9920static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9921 PyObject *resultobj;
9922 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9923 size_t arg2 ;
9924 bool result;
9925 PyObject * obj0 = 0 ;
9926 PyObject * obj1 = 0 ;
9927 char *kwnames[] = {
9928 (char *) "self",(char *) "line", NULL
9929 };
9930
9931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
9932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9934 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
d55e5bfc
RD
9935 if (PyErr_Occurred()) SWIG_fail;
9936 {
9937 PyThreadState* __tstate = wxPyBeginAllowThreads();
9938 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
9939
9940 wxPyEndAllowThreads(__tstate);
9941 if (PyErr_Occurred()) SWIG_fail;
9942 }
9943 {
9944 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9945 }
9946 return resultobj;
9947 fail:
9948 return NULL;
9949}
9950
9951
c32bde28 9952static PyObject * VScrolledWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
9953 PyObject *obj;
9954 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9955 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
9956 Py_INCREF(obj);
9957 return Py_BuildValue((char *)"");
9958}
c32bde28 9959static int _wrap_VListBoxNameStr_set(PyObject *) {
d55e5bfc
RD
9960 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
9961 return 1;
9962}
9963
9964
9965static PyObject *_wrap_VListBoxNameStr_get() {
9966 PyObject *pyobj;
9967
9968 {
9969#if wxUSE_UNICODE
9970 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9971#else
9972 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9973#endif
9974 }
9975 return pyobj;
9976}
9977
9978
c32bde28 9979static PyObject *_wrap_new_VListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9980 PyObject *resultobj;
9981 wxWindow *arg1 = (wxWindow *) 0 ;
9982 int arg2 = (int) wxID_ANY ;
9983 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9984 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9985 wxSize const &arg4_defvalue = wxDefaultSize ;
9986 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9987 long arg5 = (long) 0 ;
9988 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
9989 wxString *arg6 = (wxString *) &arg6_defvalue ;
9990 wxPyVListBox *result;
9991 wxPoint temp3 ;
9992 wxSize temp4 ;
9993 bool temp6 = False ;
9994 PyObject * obj0 = 0 ;
9995 PyObject * obj1 = 0 ;
9996 PyObject * obj2 = 0 ;
9997 PyObject * obj3 = 0 ;
9998 PyObject * obj4 = 0 ;
9999 PyObject * obj5 = 0 ;
10000 char *kwnames[] = {
10001 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10002 };
10003
10004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10007 if (obj1) {
c32bde28 10008 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
10009 if (PyErr_Occurred()) SWIG_fail;
10010 }
10011 if (obj2) {
10012 {
10013 arg3 = &temp3;
10014 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10015 }
10016 }
10017 if (obj3) {
10018 {
10019 arg4 = &temp4;
10020 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10021 }
10022 }
10023 if (obj4) {
c32bde28 10024 arg5 = (long)SWIG_As_long(obj4);
d55e5bfc
RD
10025 if (PyErr_Occurred()) SWIG_fail;
10026 }
10027 if (obj5) {
10028 {
10029 arg6 = wxString_in_helper(obj5);
10030 if (arg6 == NULL) SWIG_fail;
10031 temp6 = True;
10032 }
10033 }
10034 {
0439c23b 10035 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
10036 PyThreadState* __tstate = wxPyBeginAllowThreads();
10037 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10038
10039 wxPyEndAllowThreads(__tstate);
110da5b0 10040 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
10041 }
10042 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
10043 {
10044 if (temp6)
10045 delete arg6;
10046 }
10047 return resultobj;
10048 fail:
10049 {
10050 if (temp6)
10051 delete arg6;
10052 }
10053 return NULL;
10054}
10055
10056
c32bde28 10057static PyObject *_wrap_new_PreVListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10058 PyObject *resultobj;
10059 wxPyVListBox *result;
10060 char *kwnames[] = {
10061 NULL
10062 };
10063
10064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
10065 {
0439c23b 10066 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
10067 PyThreadState* __tstate = wxPyBeginAllowThreads();
10068 result = (wxPyVListBox *)new wxPyVListBox();
10069
10070 wxPyEndAllowThreads(__tstate);
110da5b0 10071 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
10072 }
10073 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
10074 return resultobj;
10075 fail:
10076 return NULL;
10077}
10078
10079
c32bde28 10080static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10081 PyObject *resultobj;
10082 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10083 PyObject *arg2 = (PyObject *) 0 ;
10084 PyObject *arg3 = (PyObject *) 0 ;
10085 PyObject * obj0 = 0 ;
10086 PyObject * obj1 = 0 ;
10087 PyObject * obj2 = 0 ;
10088 char *kwnames[] = {
10089 (char *) "self",(char *) "self",(char *) "_class", NULL
10090 };
10091
10092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10095 arg2 = obj1;
10096 arg3 = obj2;
10097 {
10098 PyThreadState* __tstate = wxPyBeginAllowThreads();
10099 (arg1)->_setCallbackInfo(arg2,arg3);
10100
10101 wxPyEndAllowThreads(__tstate);
10102 if (PyErr_Occurred()) SWIG_fail;
10103 }
10104 Py_INCREF(Py_None); resultobj = Py_None;
10105 return resultobj;
10106 fail:
10107 return NULL;
10108}
10109
10110
c32bde28 10111static PyObject *_wrap_VListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10112 PyObject *resultobj;
10113 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10114 wxWindow *arg2 = (wxWindow *) 0 ;
10115 int arg3 = (int) wxID_ANY ;
10116 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10117 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10118 wxSize const &arg5_defvalue = wxDefaultSize ;
10119 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10120 long arg6 = (long) 0 ;
10121 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
10122 wxString *arg7 = (wxString *) &arg7_defvalue ;
10123 bool result;
10124 wxPoint temp4 ;
10125 wxSize temp5 ;
10126 bool temp7 = False ;
10127 PyObject * obj0 = 0 ;
10128 PyObject * obj1 = 0 ;
10129 PyObject * obj2 = 0 ;
10130 PyObject * obj3 = 0 ;
10131 PyObject * obj4 = 0 ;
10132 PyObject * obj5 = 0 ;
10133 PyObject * obj6 = 0 ;
10134 char *kwnames[] = {
10135 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10136 };
10137
10138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10141 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10143 if (obj2) {
c32bde28 10144 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
10145 if (PyErr_Occurred()) SWIG_fail;
10146 }
10147 if (obj3) {
10148 {
10149 arg4 = &temp4;
10150 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10151 }
10152 }
10153 if (obj4) {
10154 {
10155 arg5 = &temp5;
10156 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10157 }
10158 }
10159 if (obj5) {
c32bde28 10160 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
10161 if (PyErr_Occurred()) SWIG_fail;
10162 }
10163 if (obj6) {
10164 {
10165 arg7 = wxString_in_helper(obj6);
10166 if (arg7 == NULL) SWIG_fail;
10167 temp7 = True;
10168 }
10169 }
10170 {
10171 PyThreadState* __tstate = wxPyBeginAllowThreads();
10172 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10173
10174 wxPyEndAllowThreads(__tstate);
10175 if (PyErr_Occurred()) SWIG_fail;
10176 }
10177 {
10178 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10179 }
10180 {
10181 if (temp7)
10182 delete arg7;
10183 }
10184 return resultobj;
10185 fail:
10186 {
10187 if (temp7)
10188 delete arg7;
10189 }
10190 return NULL;
10191}
10192
10193
c32bde28 10194static PyObject *_wrap_VListBox_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10195 PyObject *resultobj;
10196 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10197 size_t result;
10198 PyObject * obj0 = 0 ;
10199 char *kwnames[] = {
10200 (char *) "self", NULL
10201 };
10202
10203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
10204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10206 {
10207 PyThreadState* __tstate = wxPyBeginAllowThreads();
10208 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
10209
10210 wxPyEndAllowThreads(__tstate);
10211 if (PyErr_Occurred()) SWIG_fail;
10212 }
c32bde28 10213 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
d55e5bfc
RD
10214 return resultobj;
10215 fail:
10216 return NULL;
10217}
10218
10219
c32bde28 10220static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10221 PyObject *resultobj;
10222 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10223 bool result;
10224 PyObject * obj0 = 0 ;
10225 char *kwnames[] = {
10226 (char *) "self", NULL
10227 };
10228
10229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
10230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10232 {
10233 PyThreadState* __tstate = wxPyBeginAllowThreads();
10234 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
10235
10236 wxPyEndAllowThreads(__tstate);
10237 if (PyErr_Occurred()) SWIG_fail;
10238 }
10239 {
10240 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10241 }
10242 return resultobj;
10243 fail:
10244 return NULL;
10245}
10246
10247
c32bde28 10248static PyObject *_wrap_VListBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10249 PyObject *resultobj;
10250 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10251 int result;
10252 PyObject * obj0 = 0 ;
10253 char *kwnames[] = {
10254 (char *) "self", NULL
10255 };
10256
10257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
10258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10260 {
10261 PyThreadState* __tstate = wxPyBeginAllowThreads();
10262 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
10263
10264 wxPyEndAllowThreads(__tstate);
10265 if (PyErr_Occurred()) SWIG_fail;
10266 }
c32bde28 10267 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
10268 return resultobj;
10269 fail:
10270 return NULL;
10271}
10272
10273
c32bde28 10274static PyObject *_wrap_VListBox_IsCurrent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10275 PyObject *resultobj;
10276 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10277 size_t arg2 ;
10278 bool result;
10279 PyObject * obj0 = 0 ;
10280 PyObject * obj1 = 0 ;
10281 char *kwnames[] = {
10282 (char *) "self",(char *) "item", NULL
10283 };
10284
10285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
10286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10288 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
d55e5bfc
RD
10289 if (PyErr_Occurred()) SWIG_fail;
10290 {
10291 PyThreadState* __tstate = wxPyBeginAllowThreads();
10292 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
10293
10294 wxPyEndAllowThreads(__tstate);
10295 if (PyErr_Occurred()) SWIG_fail;
10296 }
10297 {
10298 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10299 }
10300 return resultobj;
10301 fail:
10302 return NULL;
10303}
10304
10305
c32bde28 10306static PyObject *_wrap_VListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10307 PyObject *resultobj;
10308 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10309 size_t arg2 ;
10310 bool result;
10311 PyObject * obj0 = 0 ;
10312 PyObject * obj1 = 0 ;
10313 char *kwnames[] = {
10314 (char *) "self",(char *) "item", NULL
10315 };
10316
10317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
10318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10320 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
d55e5bfc
RD
10321 if (PyErr_Occurred()) SWIG_fail;
10322 {
10323 PyThreadState* __tstate = wxPyBeginAllowThreads();
10324 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
10325
10326 wxPyEndAllowThreads(__tstate);
10327 if (PyErr_Occurred()) SWIG_fail;
10328 }
10329 {
10330 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10331 }
10332 return resultobj;
10333 fail:
10334 return NULL;
10335}
10336
10337
c32bde28 10338static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10339 PyObject *resultobj;
10340 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10341 size_t result;
10342 PyObject * obj0 = 0 ;
10343 char *kwnames[] = {
10344 (char *) "self", NULL
10345 };
10346
10347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
10348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10350 {
10351 PyThreadState* __tstate = wxPyBeginAllowThreads();
10352 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
10353
10354 wxPyEndAllowThreads(__tstate);
10355 if (PyErr_Occurred()) SWIG_fail;
10356 }
c32bde28 10357 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
d55e5bfc
RD
10358 return resultobj;
10359 fail:
10360 return NULL;
10361}
10362
10363
c32bde28 10364static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10365 PyObject *resultobj;
10366 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
09c21d3b 10367 PyObject *result;
d55e5bfc 10368 PyObject * obj0 = 0 ;
d55e5bfc 10369 char *kwnames[] = {
09c21d3b 10370 (char *) "self", NULL
d55e5bfc
RD
10371 };
10372
09c21d3b 10373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetFirstSelected",kwnames,&obj0)) goto fail;
d55e5bfc
RD
10374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d55e5bfc
RD
10376 {
10377 PyThreadState* __tstate = wxPyBeginAllowThreads();
09c21d3b 10378 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
d55e5bfc
RD
10379
10380 wxPyEndAllowThreads(__tstate);
10381 if (PyErr_Occurred()) SWIG_fail;
10382 }
09c21d3b 10383 resultobj = result;
d55e5bfc
RD
10384 return resultobj;
10385 fail:
10386 return NULL;
10387}
10388
10389
c32bde28 10390static PyObject *_wrap_VListBox_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10391 PyObject *resultobj;
10392 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
09c21d3b
RD
10393 unsigned long arg2 ;
10394 PyObject *result;
d55e5bfc
RD
10395 PyObject * obj0 = 0 ;
10396 PyObject * obj1 = 0 ;
10397 char *kwnames[] = {
10398 (char *) "self",(char *) "cookie", NULL
10399 };
10400
10401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
10402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10404 arg2 = (unsigned long)SWIG_As_unsigned_SS_long(obj1);
09c21d3b 10405 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
10406 {
10407 PyThreadState* __tstate = wxPyBeginAllowThreads();
09c21d3b 10408 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
d55e5bfc
RD
10409
10410 wxPyEndAllowThreads(__tstate);
10411 if (PyErr_Occurred()) SWIG_fail;
10412 }
09c21d3b 10413 resultobj = result;
d55e5bfc
RD
10414 return resultobj;
10415 fail:
10416 return NULL;
10417}
10418
10419
c32bde28 10420static PyObject *_wrap_VListBox_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10421 PyObject *resultobj;
10422 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10423 wxPoint result;
10424 PyObject * obj0 = 0 ;
10425 char *kwnames[] = {
10426 (char *) "self", NULL
10427 };
10428
10429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
10430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10432 {
10433 PyThreadState* __tstate = wxPyBeginAllowThreads();
10434 result = ((wxPyVListBox const *)arg1)->GetMargins();
10435
10436 wxPyEndAllowThreads(__tstate);
10437 if (PyErr_Occurred()) SWIG_fail;
10438 }
10439 {
10440 wxPoint * resultptr;
10441 resultptr = new wxPoint((wxPoint &) result);
10442 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
10443 }
10444 return resultobj;
10445 fail:
10446 return NULL;
10447}
10448
10449
c32bde28 10450static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10451 PyObject *resultobj;
10452 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10453 wxColour *result;
10454 PyObject * obj0 = 0 ;
10455 char *kwnames[] = {
10456 (char *) "self", NULL
10457 };
10458
10459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
10460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10462 {
10463 PyThreadState* __tstate = wxPyBeginAllowThreads();
10464 {
10465 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
10466 result = (wxColour *) &_result_ref;
10467 }
10468
10469 wxPyEndAllowThreads(__tstate);
10470 if (PyErr_Occurred()) SWIG_fail;
10471 }
10472 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
10473 return resultobj;
10474 fail:
10475 return NULL;
10476}
10477
10478
c32bde28 10479static PyObject *_wrap_VListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10480 PyObject *resultobj;
10481 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10482 size_t arg2 ;
10483 PyObject * obj0 = 0 ;
10484 PyObject * obj1 = 0 ;
10485 char *kwnames[] = {
10486 (char *) "self",(char *) "count", NULL
10487 };
10488
10489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
10490 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10492 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
d55e5bfc
RD
10493 if (PyErr_Occurred()) SWIG_fail;
10494 {
10495 PyThreadState* __tstate = wxPyBeginAllowThreads();
10496 (arg1)->SetItemCount(arg2);
10497
10498 wxPyEndAllowThreads(__tstate);
10499 if (PyErr_Occurred()) SWIG_fail;
10500 }
10501 Py_INCREF(Py_None); resultobj = Py_None;
10502 return resultobj;
10503 fail:
10504 return NULL;
10505}
10506
10507
c32bde28 10508static PyObject *_wrap_VListBox_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10509 PyObject *resultobj;
10510 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10511 PyObject * obj0 = 0 ;
10512 char *kwnames[] = {
10513 (char *) "self", NULL
10514 };
10515
10516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
10517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10519 {
10520 PyThreadState* __tstate = wxPyBeginAllowThreads();
10521 (arg1)->Clear();
10522
10523 wxPyEndAllowThreads(__tstate);
10524 if (PyErr_Occurred()) SWIG_fail;
10525 }
10526 Py_INCREF(Py_None); resultobj = Py_None;
10527 return resultobj;
10528 fail:
10529 return NULL;
10530}
10531
10532
c32bde28 10533static PyObject *_wrap_VListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10534 PyObject *resultobj;
10535 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10536 int arg2 ;
10537 PyObject * obj0 = 0 ;
10538 PyObject * obj1 = 0 ;
10539 char *kwnames[] = {
10540 (char *) "self",(char *) "selection", NULL
10541 };
10542
10543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
10544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10546 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
10547 if (PyErr_Occurred()) SWIG_fail;
10548 {
10549 PyThreadState* __tstate = wxPyBeginAllowThreads();
10550 (arg1)->SetSelection(arg2);
10551
10552 wxPyEndAllowThreads(__tstate);
10553 if (PyErr_Occurred()) SWIG_fail;
10554 }
10555 Py_INCREF(Py_None); resultobj = Py_None;
10556 return resultobj;
10557 fail:
10558 return NULL;
10559}
10560
10561
c32bde28 10562static PyObject *_wrap_VListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10563 PyObject *resultobj;
10564 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10565 size_t arg2 ;
10566 bool arg3 = (bool) True ;
10567 bool result;
10568 PyObject * obj0 = 0 ;
10569 PyObject * obj1 = 0 ;
10570 PyObject * obj2 = 0 ;
10571 char *kwnames[] = {
10572 (char *) "self",(char *) "item",(char *) "select", NULL
10573 };
10574
10575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
10576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10578 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
d55e5bfc
RD
10579 if (PyErr_Occurred()) SWIG_fail;
10580 if (obj2) {
c32bde28 10581 arg3 = (bool)SWIG_As_bool(obj2);
d55e5bfc
RD
10582 if (PyErr_Occurred()) SWIG_fail;
10583 }
10584 {
10585 PyThreadState* __tstate = wxPyBeginAllowThreads();
10586 result = (bool)(arg1)->Select(arg2,arg3);
10587
10588 wxPyEndAllowThreads(__tstate);
10589 if (PyErr_Occurred()) SWIG_fail;
10590 }
10591 {
10592 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10593 }
10594 return resultobj;
10595 fail:
10596 return NULL;
10597}
10598
10599
c32bde28 10600static PyObject *_wrap_VListBox_SelectRange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10601 PyObject *resultobj;
10602 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10603 size_t arg2 ;
10604 size_t arg3 ;
10605 bool result;
10606 PyObject * obj0 = 0 ;
10607 PyObject * obj1 = 0 ;
10608 PyObject * obj2 = 0 ;
10609 char *kwnames[] = {
10610 (char *) "self",(char *) "from",(char *) "to", NULL
10611 };
10612
10613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10616 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
d55e5bfc 10617 if (PyErr_Occurred()) SWIG_fail;
c32bde28 10618 arg3 = (size_t)SWIG_As_unsigned_SS_long(obj2);
d55e5bfc
RD
10619 if (PyErr_Occurred()) SWIG_fail;
10620 {
10621 PyThreadState* __tstate = wxPyBeginAllowThreads();
10622 result = (bool)(arg1)->SelectRange(arg2,arg3);
10623
10624 wxPyEndAllowThreads(__tstate);
10625 if (PyErr_Occurred()) SWIG_fail;
10626 }
10627 {
10628 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10629 }
10630 return resultobj;
10631 fail:
10632 return NULL;
10633}
10634
10635
c32bde28 10636static PyObject *_wrap_VListBox_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10637 PyObject *resultobj;
10638 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10639 size_t arg2 ;
10640 PyObject * obj0 = 0 ;
10641 PyObject * obj1 = 0 ;
10642 char *kwnames[] = {
10643 (char *) "self",(char *) "item", NULL
10644 };
10645
10646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
10647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10649 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
d55e5bfc
RD
10650 if (PyErr_Occurred()) SWIG_fail;
10651 {
10652 PyThreadState* __tstate = wxPyBeginAllowThreads();
10653 (arg1)->Toggle(arg2);
10654
10655 wxPyEndAllowThreads(__tstate);
10656 if (PyErr_Occurred()) SWIG_fail;
10657 }
10658 Py_INCREF(Py_None); resultobj = Py_None;
10659 return resultobj;
10660 fail:
10661 return NULL;
10662}
10663
10664
c32bde28 10665static PyObject *_wrap_VListBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10666 PyObject *resultobj;
10667 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10668 bool result;
10669 PyObject * obj0 = 0 ;
10670 char *kwnames[] = {
10671 (char *) "self", NULL
10672 };
10673
10674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
10675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10677 {
10678 PyThreadState* __tstate = wxPyBeginAllowThreads();
10679 result = (bool)(arg1)->SelectAll();
10680
10681 wxPyEndAllowThreads(__tstate);
10682 if (PyErr_Occurred()) SWIG_fail;
10683 }
10684 {
10685 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10686 }
10687 return resultobj;
10688 fail:
10689 return NULL;
10690}
10691
10692
c32bde28 10693static PyObject *_wrap_VListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10694 PyObject *resultobj;
10695 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10696 bool result;
10697 PyObject * obj0 = 0 ;
10698 char *kwnames[] = {
10699 (char *) "self", NULL
10700 };
10701
10702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
10703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10705 {
10706 PyThreadState* __tstate = wxPyBeginAllowThreads();
10707 result = (bool)(arg1)->DeselectAll();
10708
10709 wxPyEndAllowThreads(__tstate);
10710 if (PyErr_Occurred()) SWIG_fail;
10711 }
10712 {
10713 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10714 }
10715 return resultobj;
10716 fail:
10717 return NULL;
10718}
10719
10720
c32bde28 10721static PyObject *_wrap_VListBox_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10722 PyObject *resultobj;
10723 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10724 wxPoint *arg2 = 0 ;
10725 wxPoint temp2 ;
10726 PyObject * obj0 = 0 ;
10727 PyObject * obj1 = 0 ;
10728 char *kwnames[] = {
10729 (char *) "self",(char *) "pt", NULL
10730 };
10731
10732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
10733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10735 {
10736 arg2 = &temp2;
10737 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10738 }
10739 {
10740 PyThreadState* __tstate = wxPyBeginAllowThreads();
10741 (arg1)->SetMargins((wxPoint const &)*arg2);
10742
10743 wxPyEndAllowThreads(__tstate);
10744 if (PyErr_Occurred()) SWIG_fail;
10745 }
10746 Py_INCREF(Py_None); resultobj = Py_None;
10747 return resultobj;
10748 fail:
10749 return NULL;
10750}
10751
10752
c32bde28 10753static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10754 PyObject *resultobj;
10755 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10756 int arg2 ;
10757 int arg3 ;
10758 PyObject * obj0 = 0 ;
10759 PyObject * obj1 = 0 ;
10760 PyObject * obj2 = 0 ;
10761 char *kwnames[] = {
10762 (char *) "self",(char *) "x",(char *) "y", NULL
10763 };
10764
10765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
10766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10768 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 10769 if (PyErr_Occurred()) SWIG_fail;
c32bde28 10770 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
10771 if (PyErr_Occurred()) SWIG_fail;
10772 {
10773 PyThreadState* __tstate = wxPyBeginAllowThreads();
10774 (arg1)->SetMargins(arg2,arg3);
10775
10776 wxPyEndAllowThreads(__tstate);
10777 if (PyErr_Occurred()) SWIG_fail;
10778 }
10779 Py_INCREF(Py_None); resultobj = Py_None;
10780 return resultobj;
10781 fail:
10782 return NULL;
10783}
10784
10785
c32bde28 10786static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10787 PyObject *resultobj;
10788 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10789 wxColour *arg2 = 0 ;
10790 wxColour temp2 ;
10791 PyObject * obj0 = 0 ;
10792 PyObject * obj1 = 0 ;
10793 char *kwnames[] = {
10794 (char *) "self",(char *) "col", NULL
10795 };
10796
10797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
10798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10800 {
10801 arg2 = &temp2;
10802 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10803 }
10804 {
10805 PyThreadState* __tstate = wxPyBeginAllowThreads();
10806 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
10807
10808 wxPyEndAllowThreads(__tstate);
10809 if (PyErr_Occurred()) SWIG_fail;
10810 }
10811 Py_INCREF(Py_None); resultobj = Py_None;
10812 return resultobj;
10813 fail:
10814 return NULL;
10815}
10816
10817
c32bde28 10818static PyObject * VListBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
10819 PyObject *obj;
10820 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10821 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
10822 Py_INCREF(obj);
10823 return Py_BuildValue((char *)"");
10824}
c32bde28 10825static PyObject *_wrap_new_HtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10826 PyObject *resultobj;
10827 wxWindow *arg1 = (wxWindow *) 0 ;
10828 int arg2 = (int) wxID_ANY ;
10829 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10830 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10831 wxSize const &arg4_defvalue = wxDefaultSize ;
10832 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10833 long arg5 = (long) 0 ;
10834 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
10835 wxString *arg6 = (wxString *) &arg6_defvalue ;
10836 wxPyHtmlListBox *result;
10837 wxPoint temp3 ;
10838 wxSize temp4 ;
10839 bool temp6 = False ;
10840 PyObject * obj0 = 0 ;
10841 PyObject * obj1 = 0 ;
10842 PyObject * obj2 = 0 ;
10843 PyObject * obj3 = 0 ;
10844 PyObject * obj4 = 0 ;
10845 PyObject * obj5 = 0 ;
10846 char *kwnames[] = {
10847 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10848 };
10849
10850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10853 if (obj1) {
c32bde28 10854 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
10855 if (PyErr_Occurred()) SWIG_fail;
10856 }
10857 if (obj2) {
10858 {
10859 arg3 = &temp3;
10860 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10861 }
10862 }
10863 if (obj3) {
10864 {
10865 arg4 = &temp4;
10866 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10867 }
10868 }
10869 if (obj4) {
c32bde28 10870 arg5 = (long)SWIG_As_long(obj4);
d55e5bfc
RD
10871 if (PyErr_Occurred()) SWIG_fail;
10872 }
10873 if (obj5) {
10874 {
10875 arg6 = wxString_in_helper(obj5);
10876 if (arg6 == NULL) SWIG_fail;
10877 temp6 = True;
10878 }
10879 }
10880 {
0439c23b 10881 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
10882 PyThreadState* __tstate = wxPyBeginAllowThreads();
10883 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10884
10885 wxPyEndAllowThreads(__tstate);
110da5b0 10886 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
10887 }
10888 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10889 {
10890 if (temp6)
10891 delete arg6;
10892 }
10893 return resultobj;
10894 fail:
10895 {
10896 if (temp6)
10897 delete arg6;
10898 }
10899 return NULL;
10900}
10901
10902
c32bde28 10903static PyObject *_wrap_new_PreHtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10904 PyObject *resultobj;
10905 wxPyHtmlListBox *result;
10906 char *kwnames[] = {
10907 NULL
10908 };
10909
10910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
10911 {
0439c23b 10912 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
10913 PyThreadState* __tstate = wxPyBeginAllowThreads();
10914 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
10915
10916 wxPyEndAllowThreads(__tstate);
110da5b0 10917 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
10918 }
10919 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10920 return resultobj;
10921 fail:
10922 return NULL;
10923}
10924
10925
c32bde28 10926static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10927 PyObject *resultobj;
10928 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10929 PyObject *arg2 = (PyObject *) 0 ;
10930 PyObject *arg3 = (PyObject *) 0 ;
10931 PyObject * obj0 = 0 ;
10932 PyObject * obj1 = 0 ;
10933 PyObject * obj2 = 0 ;
10934 char *kwnames[] = {
10935 (char *) "self",(char *) "self",(char *) "_class", NULL
10936 };
10937
10938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10941 arg2 = obj1;
10942 arg3 = obj2;
10943 {
10944 PyThreadState* __tstate = wxPyBeginAllowThreads();
10945 (arg1)->_setCallbackInfo(arg2,arg3);
10946
10947 wxPyEndAllowThreads(__tstate);
10948 if (PyErr_Occurred()) SWIG_fail;
10949 }
10950 Py_INCREF(Py_None); resultobj = Py_None;
10951 return resultobj;
10952 fail:
10953 return NULL;
10954}
10955
10956
c32bde28 10957static PyObject *_wrap_HtmlListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10958 PyObject *resultobj;
10959 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10960 wxWindow *arg2 = (wxWindow *) 0 ;
10961 int arg3 = (int) wxID_ANY ;
10962 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10963 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10964 wxSize const &arg5_defvalue = wxDefaultSize ;
10965 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10966 long arg6 = (long) 0 ;
10967 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
10968 wxString *arg7 = (wxString *) &arg7_defvalue ;
10969 bool result;
10970 wxPoint temp4 ;
10971 wxSize temp5 ;
10972 bool temp7 = False ;
10973 PyObject * obj0 = 0 ;
10974 PyObject * obj1 = 0 ;
10975 PyObject * obj2 = 0 ;
10976 PyObject * obj3 = 0 ;
10977 PyObject * obj4 = 0 ;
10978 PyObject * obj5 = 0 ;
10979 PyObject * obj6 = 0 ;
10980 char *kwnames[] = {
10981 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10982 };
10983
10984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10987 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10989 if (obj2) {
c32bde28 10990 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
10991 if (PyErr_Occurred()) SWIG_fail;
10992 }
10993 if (obj3) {
10994 {
10995 arg4 = &temp4;
10996 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10997 }
10998 }
10999 if (obj4) {
11000 {
11001 arg5 = &temp5;
11002 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11003 }
11004 }
11005 if (obj5) {
c32bde28 11006 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
11007 if (PyErr_Occurred()) SWIG_fail;
11008 }
11009 if (obj6) {
11010 {
11011 arg7 = wxString_in_helper(obj6);
11012 if (arg7 == NULL) SWIG_fail;
11013 temp7 = True;
11014 }
11015 }
11016 {
11017 PyThreadState* __tstate = wxPyBeginAllowThreads();
11018 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11019
11020 wxPyEndAllowThreads(__tstate);
11021 if (PyErr_Occurred()) SWIG_fail;
11022 }
11023 {
11024 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11025 }
11026 {
11027 if (temp7)
11028 delete arg7;
11029 }
11030 return resultobj;
11031 fail:
11032 {
11033 if (temp7)
11034 delete arg7;
11035 }
11036 return NULL;
11037}
11038
11039
c32bde28 11040static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11041 PyObject *resultobj;
11042 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
11043 PyObject * obj0 = 0 ;
11044 char *kwnames[] = {
11045 (char *) "self", NULL
11046 };
11047
11048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
11049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
11050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11051 {
11052 PyThreadState* __tstate = wxPyBeginAllowThreads();
11053 (arg1)->RefreshAll();
11054
11055 wxPyEndAllowThreads(__tstate);
11056 if (PyErr_Occurred()) SWIG_fail;
11057 }
11058 Py_INCREF(Py_None); resultobj = Py_None;
11059 return resultobj;
11060 fail:
11061 return NULL;
11062}
11063
11064
c32bde28 11065static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11066 PyObject *resultobj;
11067 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
11068 size_t arg2 ;
11069 PyObject * obj0 = 0 ;
11070 PyObject * obj1 = 0 ;
11071 char *kwnames[] = {
11072 (char *) "self",(char *) "count", NULL
11073 };
11074
11075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
11076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
11077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11078 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
d55e5bfc
RD
11079 if (PyErr_Occurred()) SWIG_fail;
11080 {
11081 PyThreadState* __tstate = wxPyBeginAllowThreads();
11082 (arg1)->SetItemCount(arg2);
11083
11084 wxPyEndAllowThreads(__tstate);
11085 if (PyErr_Occurred()) SWIG_fail;
11086 }
11087 Py_INCREF(Py_None); resultobj = Py_None;
11088 return resultobj;
11089 fail:
11090 return NULL;
11091}
11092
11093
c32bde28 11094static PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *, PyObject *args, PyObject *kwargs) {
c24da6d6
RD
11095 PyObject *resultobj;
11096 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
11097 wxFileSystem *result;
11098 PyObject * obj0 = 0 ;
11099 char *kwnames[] = {
11100 (char *) "self", NULL
11101 };
11102
11103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_GetFileSystem",kwnames,&obj0)) goto fail;
11104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
11105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11106 {
11107 PyThreadState* __tstate = wxPyBeginAllowThreads();
11108 {
11109 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
11110 result = (wxFileSystem *) &_result_ref;
11111 }
11112
11113 wxPyEndAllowThreads(__tstate);
11114 if (PyErr_Occurred()) SWIG_fail;
11115 }
11116 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileSystem, 0);
11117 return resultobj;
11118 fail:
11119 return NULL;
11120}
11121
11122
c32bde28 11123static PyObject * HtmlListBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
11124 PyObject *obj;
11125 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11126 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
11127 Py_INCREF(obj);
11128 return Py_BuildValue((char *)"");
11129}
c32bde28 11130static PyObject *_wrap_new_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11131 PyObject *resultobj;
11132 wxTaskBarIcon *result;
11133 char *kwnames[] = {
11134 NULL
11135 };
11136
11137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
11138 {
0439c23b 11139 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11140 PyThreadState* __tstate = wxPyBeginAllowThreads();
11141 result = (wxTaskBarIcon *)new wxTaskBarIcon();
11142
11143 wxPyEndAllowThreads(__tstate);
110da5b0 11144 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11145 }
11146 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIcon, 1);
11147 return resultobj;
11148 fail:
11149 return NULL;
11150}
11151
11152
c32bde28 11153static PyObject *_wrap_delete_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11154 PyObject *resultobj;
11155 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
11156 PyObject * obj0 = 0 ;
11157 char *kwnames[] = {
11158 (char *) "self", NULL
11159 };
11160
11161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
11162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
11163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11164 {
11165 PyThreadState* __tstate = wxPyBeginAllowThreads();
11166 delete arg1;
11167
11168 wxPyEndAllowThreads(__tstate);
11169 if (PyErr_Occurred()) SWIG_fail;
11170 }
11171 Py_INCREF(Py_None); resultobj = Py_None;
11172 return resultobj;
11173 fail:
11174 return NULL;
11175}
11176
11177
c32bde28 11178static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11179 PyObject *resultobj;
11180 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
11181 PyObject * obj0 = 0 ;
11182 char *kwnames[] = {
11183 (char *) "self", NULL
11184 };
11185
11186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail;
11187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
11188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11189 {
11190 PyThreadState* __tstate = wxPyBeginAllowThreads();
11191 wxTaskBarIcon_Destroy(arg1);
11192
11193 wxPyEndAllowThreads(__tstate);
11194 if (PyErr_Occurred()) SWIG_fail;
11195 }
11196 Py_INCREF(Py_None); resultobj = Py_None;
11197 return resultobj;
11198 fail:
11199 return NULL;
11200}
11201
11202
c32bde28 11203static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11204 PyObject *resultobj;
11205 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
11206 bool result;
11207 PyObject * obj0 = 0 ;
11208 char *kwnames[] = {
11209 (char *) "self", NULL
11210 };
11211
11212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
11213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
11214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11215 {
11216 PyThreadState* __tstate = wxPyBeginAllowThreads();
11217 result = (bool)((wxTaskBarIcon const *)arg1)->IsOk();
11218
11219 wxPyEndAllowThreads(__tstate);
11220 if (PyErr_Occurred()) SWIG_fail;
11221 }
11222 {
11223 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11224 }
11225 return resultobj;
11226 fail:
11227 return NULL;
11228}
11229
11230
c32bde28 11231static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11232 PyObject *resultobj;
11233 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
11234 bool result;
11235 PyObject * obj0 = 0 ;
11236 char *kwnames[] = {
11237 (char *) "self", NULL
11238 };
11239
11240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
11241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
11242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11243 {
11244 PyThreadState* __tstate = wxPyBeginAllowThreads();
11245 result = (bool)((wxTaskBarIcon const *)arg1)->IsIconInstalled();
11246
11247 wxPyEndAllowThreads(__tstate);
11248 if (PyErr_Occurred()) SWIG_fail;
11249 }
11250 {
11251 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11252 }
11253 return resultobj;
11254 fail:
11255 return NULL;
11256}
11257
11258
c32bde28 11259static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11260 PyObject *resultobj;
11261 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
11262 wxIcon *arg2 = 0 ;
11263 wxString const &arg3_defvalue = wxPyEmptyString ;
11264 wxString *arg3 = (wxString *) &arg3_defvalue ;
11265 bool result;
11266 bool temp3 = False ;
11267 PyObject * obj0 = 0 ;
11268 PyObject * obj1 = 0 ;
11269 PyObject * obj2 = 0 ;
11270 char *kwnames[] = {
11271 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
11272 };
11273
11274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
11275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
11276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11277 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
11278 SWIG_POINTER_EXCEPTION | 0)) == -1)
11279 SWIG_fail;
11280 if (arg2 == NULL) {
11281 PyErr_SetString(PyExc_TypeError,"null reference");
11282 SWIG_fail;
11283 }
11284 if (obj2) {
11285 {
11286 arg3 = wxString_in_helper(obj2);
11287 if (arg3 == NULL) SWIG_fail;
11288 temp3 = True;
11289 }
11290 }
11291 {
11292 PyThreadState* __tstate = wxPyBeginAllowThreads();
11293 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
11294
11295 wxPyEndAllowThreads(__tstate);
11296 if (PyErr_Occurred()) SWIG_fail;
11297 }
11298 {
11299 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11300 }
11301 {
11302 if (temp3)
11303 delete arg3;
11304 }
11305 return resultobj;
11306 fail:
11307 {
11308 if (temp3)
11309 delete arg3;
11310 }
11311 return NULL;
11312}
11313
11314
c32bde28 11315static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11316 PyObject *resultobj;
11317 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
11318 bool result;
11319 PyObject * obj0 = 0 ;
11320 char *kwnames[] = {
11321 (char *) "self", NULL
11322 };
11323
11324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
11325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
11326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11327 {
11328 PyThreadState* __tstate = wxPyBeginAllowThreads();
11329 result = (bool)(arg1)->RemoveIcon();
11330
11331 wxPyEndAllowThreads(__tstate);
11332 if (PyErr_Occurred()) SWIG_fail;
11333 }
11334 {
11335 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11336 }
11337 return resultobj;
11338 fail:
11339 return NULL;
11340}
11341
11342
c32bde28 11343static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11344 PyObject *resultobj;
11345 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
11346 wxMenu *arg2 = (wxMenu *) 0 ;
11347 bool result;
11348 PyObject * obj0 = 0 ;
11349 PyObject * obj1 = 0 ;
11350 char *kwnames[] = {
11351 (char *) "self",(char *) "menu", NULL
11352 };
11353
11354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
11355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
11356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11357 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
11358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11359 {
11360 PyThreadState* __tstate = wxPyBeginAllowThreads();
11361 result = (bool)(arg1)->PopupMenu(arg2);
11362
11363 wxPyEndAllowThreads(__tstate);
11364 if (PyErr_Occurred()) SWIG_fail;
11365 }
11366 {
11367 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11368 }
11369 return resultobj;
11370 fail:
11371 return NULL;
11372}
11373
11374
c32bde28 11375static PyObject * TaskBarIcon_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
11376 PyObject *obj;
11377 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11378 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj);
11379 Py_INCREF(obj);
11380 return Py_BuildValue((char *)"");
11381}
c32bde28 11382static PyObject *_wrap_new_TaskBarIconEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11383 PyObject *resultobj;
11384 wxEventType arg1 ;
11385 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
11386 wxTaskBarIconEvent *result;
11387 PyObject * obj0 = 0 ;
11388 PyObject * obj1 = 0 ;
11389 char *kwnames[] = {
11390 (char *) "evtType",(char *) "tbIcon", NULL
11391 };
11392
11393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
c32bde28 11394 arg1 = (wxEventType)SWIG_As_int(obj0);
d55e5bfc
RD
11395 if (PyErr_Occurred()) SWIG_fail;
11396 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTaskBarIcon,
11397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11398 {
11399 PyThreadState* __tstate = wxPyBeginAllowThreads();
11400 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
11401
11402 wxPyEndAllowThreads(__tstate);
11403 if (PyErr_Occurred()) SWIG_fail;
11404 }
11405 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
11406 return resultobj;
11407 fail:
11408 return NULL;
11409}
11410
11411
c32bde28 11412static PyObject * TaskBarIconEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
11413 PyObject *obj;
11414 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11415 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
11416 Py_INCREF(obj);
11417 return Py_BuildValue((char *)"");
11418}
c32bde28 11419static int _wrap_FileSelectorPromptStr_set(PyObject *) {
d55e5bfc
RD
11420 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
11421 return 1;
11422}
11423
11424
11425static PyObject *_wrap_FileSelectorPromptStr_get() {
11426 PyObject *pyobj;
11427
11428 {
11429#if wxUSE_UNICODE
11430 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
11431#else
11432 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
11433#endif
11434 }
11435 return pyobj;
11436}
11437
11438
c32bde28 11439static int _wrap_DirSelectorPromptStr_set(PyObject *) {
d55e5bfc
RD
11440 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
11441 return 1;
11442}
11443
11444
11445static PyObject *_wrap_DirSelectorPromptStr_get() {
11446 PyObject *pyobj;
11447
11448 {
11449#if wxUSE_UNICODE
11450 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
11451#else
11452 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
11453#endif
11454 }
11455 return pyobj;
11456}
11457
11458
c32bde28 11459static int _wrap_DirDialogNameStr_set(PyObject *) {
d55e5bfc
RD
11460 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
11461 return 1;
11462}
11463
11464
11465static PyObject *_wrap_DirDialogNameStr_get() {
11466 PyObject *pyobj;
11467
11468 {
11469#if wxUSE_UNICODE
11470 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
11471#else
11472 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
11473#endif
11474 }
11475 return pyobj;
11476}
11477
11478
c32bde28 11479static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) {
d55e5bfc
RD
11480 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
11481 return 1;
11482}
11483
11484
11485static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
11486 PyObject *pyobj;
11487
11488 {
11489#if wxUSE_UNICODE
11490 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
11491#else
11492 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
11493#endif
11494 }
11495 return pyobj;
11496}
11497
11498
c32bde28 11499static int _wrap_GetTextFromUserPromptStr_set(PyObject *) {
d55e5bfc
RD
11500 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
11501 return 1;
11502}
11503
11504
11505static PyObject *_wrap_GetTextFromUserPromptStr_get() {
11506 PyObject *pyobj;
11507
11508 {
11509#if wxUSE_UNICODE
11510 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
11511#else
11512 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
11513#endif
11514 }
11515 return pyobj;
11516}
11517
11518
c32bde28 11519static int _wrap_MessageBoxCaptionStr_set(PyObject *) {
d55e5bfc
RD
11520 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
11521 return 1;
11522}
11523
11524
11525static PyObject *_wrap_MessageBoxCaptionStr_get() {
11526 PyObject *pyobj;
11527
11528 {
11529#if wxUSE_UNICODE
11530 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
11531#else
11532 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
11533#endif
11534 }
11535 return pyobj;
11536}
11537
11538
c32bde28 11539static PyObject *_wrap_new_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11540 PyObject *resultobj;
11541 wxColourData *result;
11542 char *kwnames[] = {
11543 NULL
11544 };
11545
11546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
11547 {
11548 PyThreadState* __tstate = wxPyBeginAllowThreads();
11549 result = (wxColourData *)new wxColourData();
11550
11551 wxPyEndAllowThreads(__tstate);
11552 if (PyErr_Occurred()) SWIG_fail;
11553 }
11554 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
11555 return resultobj;
11556 fail:
11557 return NULL;
11558}
11559
11560
c32bde28 11561static PyObject *_wrap_delete_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11562 PyObject *resultobj;
11563 wxColourData *arg1 = (wxColourData *) 0 ;
11564 PyObject * obj0 = 0 ;
11565 char *kwnames[] = {
11566 (char *) "self", NULL
11567 };
11568
11569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
11570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11572 {
11573 PyThreadState* __tstate = wxPyBeginAllowThreads();
11574 delete arg1;
11575
11576 wxPyEndAllowThreads(__tstate);
11577 if (PyErr_Occurred()) SWIG_fail;
11578 }
11579 Py_INCREF(Py_None); resultobj = Py_None;
11580 return resultobj;
11581 fail:
11582 return NULL;
11583}
11584
11585
c32bde28 11586static PyObject *_wrap_ColourData_GetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11587 PyObject *resultobj;
11588 wxColourData *arg1 = (wxColourData *) 0 ;
11589 bool result;
11590 PyObject * obj0 = 0 ;
11591 char *kwnames[] = {
11592 (char *) "self", NULL
11593 };
11594
11595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
11596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11598 {
11599 PyThreadState* __tstate = wxPyBeginAllowThreads();
11600 result = (bool)(arg1)->GetChooseFull();
11601
11602 wxPyEndAllowThreads(__tstate);
11603 if (PyErr_Occurred()) SWIG_fail;
11604 }
11605 {
11606 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11607 }
11608 return resultobj;
11609 fail:
11610 return NULL;
11611}
11612
11613
c32bde28 11614static PyObject *_wrap_ColourData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11615 PyObject *resultobj;
11616 wxColourData *arg1 = (wxColourData *) 0 ;
11617 wxColour result;
11618 PyObject * obj0 = 0 ;
11619 char *kwnames[] = {
11620 (char *) "self", NULL
11621 };
11622
11623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
11624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11626 {
11627 PyThreadState* __tstate = wxPyBeginAllowThreads();
11628 result = (arg1)->GetColour();
11629
11630 wxPyEndAllowThreads(__tstate);
11631 if (PyErr_Occurred()) SWIG_fail;
11632 }
11633 {
11634 wxColour * resultptr;
11635 resultptr = new wxColour((wxColour &) result);
11636 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11637 }
11638 return resultobj;
11639 fail:
11640 return NULL;
11641}
11642
11643
c32bde28 11644static PyObject *_wrap_ColourData_GetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11645 PyObject *resultobj;
11646 wxColourData *arg1 = (wxColourData *) 0 ;
11647 int arg2 ;
11648 wxColour result;
11649 PyObject * obj0 = 0 ;
11650 PyObject * obj1 = 0 ;
11651 char *kwnames[] = {
11652 (char *) "self",(char *) "i", NULL
11653 };
11654
11655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
11656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11658 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
11659 if (PyErr_Occurred()) SWIG_fail;
11660 {
11661 PyThreadState* __tstate = wxPyBeginAllowThreads();
11662 result = (arg1)->GetCustomColour(arg2);
11663
11664 wxPyEndAllowThreads(__tstate);
11665 if (PyErr_Occurred()) SWIG_fail;
11666 }
11667 {
11668 wxColour * resultptr;
11669 resultptr = new wxColour((wxColour &) result);
11670 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11671 }
11672 return resultobj;
11673 fail:
11674 return NULL;
11675}
11676
11677
c32bde28 11678static PyObject *_wrap_ColourData_SetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11679 PyObject *resultobj;
11680 wxColourData *arg1 = (wxColourData *) 0 ;
11681 int arg2 ;
11682 PyObject * obj0 = 0 ;
11683 PyObject * obj1 = 0 ;
11684 char *kwnames[] = {
11685 (char *) "self",(char *) "flag", NULL
11686 };
11687
11688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
11689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11691 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
11692 if (PyErr_Occurred()) SWIG_fail;
11693 {
11694 PyThreadState* __tstate = wxPyBeginAllowThreads();
11695 (arg1)->SetChooseFull(arg2);
11696
11697 wxPyEndAllowThreads(__tstate);
11698 if (PyErr_Occurred()) SWIG_fail;
11699 }
11700 Py_INCREF(Py_None); resultobj = Py_None;
11701 return resultobj;
11702 fail:
11703 return NULL;
11704}
11705
11706
c32bde28 11707static PyObject *_wrap_ColourData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11708 PyObject *resultobj;
11709 wxColourData *arg1 = (wxColourData *) 0 ;
11710 wxColour *arg2 = 0 ;
11711 wxColour temp2 ;
11712 PyObject * obj0 = 0 ;
11713 PyObject * obj1 = 0 ;
11714 char *kwnames[] = {
11715 (char *) "self",(char *) "colour", NULL
11716 };
11717
11718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
11719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11721 {
11722 arg2 = &temp2;
11723 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
11724 }
11725 {
11726 PyThreadState* __tstate = wxPyBeginAllowThreads();
11727 (arg1)->SetColour((wxColour const &)*arg2);
11728
11729 wxPyEndAllowThreads(__tstate);
11730 if (PyErr_Occurred()) SWIG_fail;
11731 }
11732 Py_INCREF(Py_None); resultobj = Py_None;
11733 return resultobj;
11734 fail:
11735 return NULL;
11736}
11737
11738
c32bde28 11739static PyObject *_wrap_ColourData_SetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11740 PyObject *resultobj;
11741 wxColourData *arg1 = (wxColourData *) 0 ;
11742 int arg2 ;
11743 wxColour *arg3 = 0 ;
11744 wxColour temp3 ;
11745 PyObject * obj0 = 0 ;
11746 PyObject * obj1 = 0 ;
11747 PyObject * obj2 = 0 ;
11748 char *kwnames[] = {
11749 (char *) "self",(char *) "i",(char *) "colour", NULL
11750 };
11751
11752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
11753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11755 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
11756 if (PyErr_Occurred()) SWIG_fail;
11757 {
11758 arg3 = &temp3;
11759 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
11760 }
11761 {
11762 PyThreadState* __tstate = wxPyBeginAllowThreads();
11763 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
11764
11765 wxPyEndAllowThreads(__tstate);
11766 if (PyErr_Occurred()) SWIG_fail;
11767 }
11768 Py_INCREF(Py_None); resultobj = Py_None;
11769 return resultobj;
11770 fail:
11771 return NULL;
11772}
11773
11774
c32bde28 11775static PyObject * ColourData_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
11776 PyObject *obj;
11777 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11778 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
11779 Py_INCREF(obj);
11780 return Py_BuildValue((char *)"");
11781}
c32bde28 11782static PyObject *_wrap_new_ColourDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11783 PyObject *resultobj;
11784 wxWindow *arg1 = (wxWindow *) 0 ;
11785 wxColourData *arg2 = (wxColourData *) NULL ;
11786 wxColourDialog *result;
11787 PyObject * obj0 = 0 ;
11788 PyObject * obj1 = 0 ;
11789 char *kwnames[] = {
11790 (char *) "parent",(char *) "data", NULL
11791 };
11792
11793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
11794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11796 if (obj1) {
11797 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColourData,
11798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11799 }
11800 {
0439c23b 11801 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11802 PyThreadState* __tstate = wxPyBeginAllowThreads();
11803 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
11804
11805 wxPyEndAllowThreads(__tstate);
110da5b0 11806 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11807 }
11808 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
11809 return resultobj;
11810 fail:
11811 return NULL;
11812}
11813
11814
c32bde28 11815static PyObject *_wrap_ColourDialog_GetColourData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11816 PyObject *resultobj;
11817 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
11818 wxColourData *result;
11819 PyObject * obj0 = 0 ;
11820 char *kwnames[] = {
11821 (char *) "self", NULL
11822 };
11823
11824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
11825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDialog,
11826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11827 {
11828 PyThreadState* __tstate = wxPyBeginAllowThreads();
11829 {
11830 wxColourData &_result_ref = (arg1)->GetColourData();
11831 result = (wxColourData *) &_result_ref;
11832 }
11833
11834 wxPyEndAllowThreads(__tstate);
11835 if (PyErr_Occurred()) SWIG_fail;
11836 }
11837 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
11838 return resultobj;
11839 fail:
11840 return NULL;
11841}
11842
11843
c32bde28 11844static PyObject * ColourDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
11845 PyObject *obj;
11846 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11847 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
11848 Py_INCREF(obj);
11849 return Py_BuildValue((char *)"");
11850}
c32bde28 11851static PyObject *_wrap_new_DirDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11852 PyObject *resultobj;
11853 wxWindow *arg1 = (wxWindow *) 0 ;
11854 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
11855 wxString *arg2 = (wxString *) &arg2_defvalue ;
11856 wxString const &arg3_defvalue = wxPyEmptyString ;
11857 wxString *arg3 = (wxString *) &arg3_defvalue ;
11858 long arg4 = (long) 0 ;
11859 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11860 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11861 wxSize const &arg6_defvalue = wxDefaultSize ;
11862 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11863 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
11864 wxString *arg7 = (wxString *) &arg7_defvalue ;
11865 wxDirDialog *result;
11866 bool temp2 = False ;
11867 bool temp3 = False ;
11868 wxPoint temp5 ;
11869 wxSize temp6 ;
11870 bool temp7 = False ;
11871 PyObject * obj0 = 0 ;
11872 PyObject * obj1 = 0 ;
11873 PyObject * obj2 = 0 ;
11874 PyObject * obj3 = 0 ;
11875 PyObject * obj4 = 0 ;
11876 PyObject * obj5 = 0 ;
11877 PyObject * obj6 = 0 ;
11878 char *kwnames[] = {
11879 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11880 };
11881
11882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11885 if (obj1) {
11886 {
11887 arg2 = wxString_in_helper(obj1);
11888 if (arg2 == NULL) SWIG_fail;
11889 temp2 = True;
11890 }
11891 }
11892 if (obj2) {
11893 {
11894 arg3 = wxString_in_helper(obj2);
11895 if (arg3 == NULL) SWIG_fail;
11896 temp3 = True;
11897 }
11898 }
11899 if (obj3) {
c32bde28 11900 arg4 = (long)SWIG_As_long(obj3);
d55e5bfc
RD
11901 if (PyErr_Occurred()) SWIG_fail;
11902 }
11903 if (obj4) {
11904 {
11905 arg5 = &temp5;
11906 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11907 }
11908 }
11909 if (obj5) {
11910 {
11911 arg6 = &temp6;
11912 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11913 }
11914 }
11915 if (obj6) {
11916 {
11917 arg7 = wxString_in_helper(obj6);
11918 if (arg7 == NULL) SWIG_fail;
11919 temp7 = True;
11920 }
11921 }
11922 {
0439c23b 11923 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11924 PyThreadState* __tstate = wxPyBeginAllowThreads();
11925 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
11926
11927 wxPyEndAllowThreads(__tstate);
110da5b0 11928 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11929 }
11930 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
11931 {
11932 if (temp2)
11933 delete arg2;
11934 }
11935 {
11936 if (temp3)
11937 delete arg3;
11938 }
11939 {
11940 if (temp7)
11941 delete arg7;
11942 }
11943 return resultobj;
11944 fail:
11945 {
11946 if (temp2)
11947 delete arg2;
11948 }
11949 {
11950 if (temp3)
11951 delete arg3;
11952 }
11953 {
11954 if (temp7)
11955 delete arg7;
11956 }
11957 return NULL;
11958}
11959
11960
c32bde28 11961static PyObject *_wrap_DirDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11962 PyObject *resultobj;
11963 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11964 wxString result;
11965 PyObject * obj0 = 0 ;
11966 char *kwnames[] = {
11967 (char *) "self", NULL
11968 };
11969
11970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
11971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11973 {
11974 PyThreadState* __tstate = wxPyBeginAllowThreads();
11975 result = (arg1)->GetPath();
11976
11977 wxPyEndAllowThreads(__tstate);
11978 if (PyErr_Occurred()) SWIG_fail;
11979 }
11980 {
11981#if wxUSE_UNICODE
11982 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11983#else
11984 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11985#endif
11986 }
11987 return resultobj;
11988 fail:
11989 return NULL;
11990}
11991
11992
c32bde28 11993static PyObject *_wrap_DirDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11994 PyObject *resultobj;
11995 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11996 wxString result;
11997 PyObject * obj0 = 0 ;
11998 char *kwnames[] = {
11999 (char *) "self", NULL
12000 };
12001
12002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
12003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
12004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12005 {
12006 PyThreadState* __tstate = wxPyBeginAllowThreads();
12007 result = (arg1)->GetMessage();
12008
12009 wxPyEndAllowThreads(__tstate);
12010 if (PyErr_Occurred()) SWIG_fail;
12011 }
12012 {
12013#if wxUSE_UNICODE
12014 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12015#else
12016 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12017#endif
12018 }
12019 return resultobj;
12020 fail:
12021 return NULL;
12022}
12023
12024
c32bde28 12025static PyObject *_wrap_DirDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12026 PyObject *resultobj;
12027 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
12028 long result;
12029 PyObject * obj0 = 0 ;
12030 char *kwnames[] = {
12031 (char *) "self", NULL
12032 };
12033
12034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
12035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
12036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12037 {
12038 PyThreadState* __tstate = wxPyBeginAllowThreads();
12039 result = (long)(arg1)->GetStyle();
12040
12041 wxPyEndAllowThreads(__tstate);
12042 if (PyErr_Occurred()) SWIG_fail;
12043 }
c32bde28 12044 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
12045 return resultobj;
12046 fail:
12047 return NULL;
12048}
12049
12050
c32bde28 12051static PyObject *_wrap_DirDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12052 PyObject *resultobj;
12053 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
12054 wxString *arg2 = 0 ;
12055 bool temp2 = False ;
12056 PyObject * obj0 = 0 ;
12057 PyObject * obj1 = 0 ;
12058 char *kwnames[] = {
12059 (char *) "self",(char *) "message", NULL
12060 };
12061
12062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
12063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
12064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12065 {
12066 arg2 = wxString_in_helper(obj1);
12067 if (arg2 == NULL) SWIG_fail;
12068 temp2 = True;
12069 }
12070 {
12071 PyThreadState* __tstate = wxPyBeginAllowThreads();
12072 (arg1)->SetMessage((wxString const &)*arg2);
12073
12074 wxPyEndAllowThreads(__tstate);
12075 if (PyErr_Occurred()) SWIG_fail;
12076 }
12077 Py_INCREF(Py_None); resultobj = Py_None;
12078 {
12079 if (temp2)
12080 delete arg2;
12081 }
12082 return resultobj;
12083 fail:
12084 {
12085 if (temp2)
12086 delete arg2;
12087 }
12088 return NULL;
12089}
12090
12091
c32bde28 12092static PyObject *_wrap_DirDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12093 PyObject *resultobj;
12094 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
12095 wxString *arg2 = 0 ;
12096 bool temp2 = False ;
12097 PyObject * obj0 = 0 ;
12098 PyObject * obj1 = 0 ;
12099 char *kwnames[] = {
12100 (char *) "self",(char *) "path", NULL
12101 };
12102
12103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
12104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
12105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12106 {
12107 arg2 = wxString_in_helper(obj1);
12108 if (arg2 == NULL) SWIG_fail;
12109 temp2 = True;
12110 }
12111 {
12112 PyThreadState* __tstate = wxPyBeginAllowThreads();
12113 (arg1)->SetPath((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 * DirDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
12134 PyObject *obj;
12135 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12136 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
12137 Py_INCREF(obj);
12138 return Py_BuildValue((char *)"");
12139}
c32bde28 12140static PyObject *_wrap_new_FileDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12141 PyObject *resultobj;
12142 wxWindow *arg1 = (wxWindow *) 0 ;
12143 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
12144 wxString *arg2 = (wxString *) &arg2_defvalue ;
12145 wxString const &arg3_defvalue = wxPyEmptyString ;
12146 wxString *arg3 = (wxString *) &arg3_defvalue ;
12147 wxString const &arg4_defvalue = wxPyEmptyString ;
12148 wxString *arg4 = (wxString *) &arg4_defvalue ;
12149 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
12150 wxString *arg5 = (wxString *) &arg5_defvalue ;
12151 long arg6 = (long) 0 ;
12152 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12153 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12154 wxFileDialog *result;
12155 bool temp2 = False ;
12156 bool temp3 = False ;
12157 bool temp4 = False ;
12158 bool temp5 = False ;
12159 wxPoint temp7 ;
12160 PyObject * obj0 = 0 ;
12161 PyObject * obj1 = 0 ;
12162 PyObject * obj2 = 0 ;
12163 PyObject * obj3 = 0 ;
12164 PyObject * obj4 = 0 ;
12165 PyObject * obj5 = 0 ;
12166 PyObject * obj6 = 0 ;
12167 char *kwnames[] = {
12168 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
12169 };
12170
12171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
12172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12174 if (obj1) {
12175 {
12176 arg2 = wxString_in_helper(obj1);
12177 if (arg2 == NULL) SWIG_fail;
12178 temp2 = True;
12179 }
12180 }
12181 if (obj2) {
12182 {
12183 arg3 = wxString_in_helper(obj2);
12184 if (arg3 == NULL) SWIG_fail;
12185 temp3 = True;
12186 }
12187 }
12188 if (obj3) {
12189 {
12190 arg4 = wxString_in_helper(obj3);
12191 if (arg4 == NULL) SWIG_fail;
12192 temp4 = True;
12193 }
12194 }
12195 if (obj4) {
12196 {
12197 arg5 = wxString_in_helper(obj4);
12198 if (arg5 == NULL) SWIG_fail;
12199 temp5 = True;
12200 }
12201 }
12202 if (obj5) {
c32bde28 12203 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
12204 if (PyErr_Occurred()) SWIG_fail;
12205 }
12206 if (obj6) {
12207 {
12208 arg7 = &temp7;
12209 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
12210 }
12211 }
12212 {
0439c23b 12213 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12214 PyThreadState* __tstate = wxPyBeginAllowThreads();
12215 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
12216
12217 wxPyEndAllowThreads(__tstate);
110da5b0 12218 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12219 }
12220 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
12221 {
12222 if (temp2)
12223 delete arg2;
12224 }
12225 {
12226 if (temp3)
12227 delete arg3;
12228 }
12229 {
12230 if (temp4)
12231 delete arg4;
12232 }
12233 {
12234 if (temp5)
12235 delete arg5;
12236 }
12237 return resultobj;
12238 fail:
12239 {
12240 if (temp2)
12241 delete arg2;
12242 }
12243 {
12244 if (temp3)
12245 delete arg3;
12246 }
12247 {
12248 if (temp4)
12249 delete arg4;
12250 }
12251 {
12252 if (temp5)
12253 delete arg5;
12254 }
12255 return NULL;
12256}
12257
12258
c32bde28 12259static PyObject *_wrap_FileDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12260 PyObject *resultobj;
12261 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12262 wxString *arg2 = 0 ;
12263 bool temp2 = False ;
12264 PyObject * obj0 = 0 ;
12265 PyObject * obj1 = 0 ;
12266 char *kwnames[] = {
12267 (char *) "self",(char *) "message", NULL
12268 };
12269
12270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
12271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12273 {
12274 arg2 = wxString_in_helper(obj1);
12275 if (arg2 == NULL) SWIG_fail;
12276 temp2 = True;
12277 }
12278 {
12279 PyThreadState* __tstate = wxPyBeginAllowThreads();
12280 (arg1)->SetMessage((wxString const &)*arg2);
12281
12282 wxPyEndAllowThreads(__tstate);
12283 if (PyErr_Occurred()) SWIG_fail;
12284 }
12285 Py_INCREF(Py_None); resultobj = Py_None;
12286 {
12287 if (temp2)
12288 delete arg2;
12289 }
12290 return resultobj;
12291 fail:
12292 {
12293 if (temp2)
12294 delete arg2;
12295 }
12296 return NULL;
12297}
12298
12299
c32bde28 12300static PyObject *_wrap_FileDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12301 PyObject *resultobj;
12302 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12303 wxString *arg2 = 0 ;
12304 bool temp2 = False ;
12305 PyObject * obj0 = 0 ;
12306 PyObject * obj1 = 0 ;
12307 char *kwnames[] = {
12308 (char *) "self",(char *) "path", NULL
12309 };
12310
12311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
12312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12314 {
12315 arg2 = wxString_in_helper(obj1);
12316 if (arg2 == NULL) SWIG_fail;
12317 temp2 = True;
12318 }
12319 {
12320 PyThreadState* __tstate = wxPyBeginAllowThreads();
12321 (arg1)->SetPath((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_SetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12342 PyObject *resultobj;
12343 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12344 wxString *arg2 = 0 ;
12345 bool temp2 = False ;
12346 PyObject * obj0 = 0 ;
12347 PyObject * obj1 = 0 ;
12348 char *kwnames[] = {
12349 (char *) "self",(char *) "dir", NULL
12350 };
12351
12352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
12353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12355 {
12356 arg2 = wxString_in_helper(obj1);
12357 if (arg2 == NULL) SWIG_fail;
12358 temp2 = True;
12359 }
12360 {
12361 PyThreadState* __tstate = wxPyBeginAllowThreads();
12362 (arg1)->SetDirectory((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_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12383 PyObject *resultobj;
12384 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12385 wxString *arg2 = 0 ;
12386 bool temp2 = False ;
12387 PyObject * obj0 = 0 ;
12388 PyObject * obj1 = 0 ;
12389 char *kwnames[] = {
12390 (char *) "self",(char *) "name", NULL
12391 };
12392
12393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
12394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12396 {
12397 arg2 = wxString_in_helper(obj1);
12398 if (arg2 == NULL) SWIG_fail;
12399 temp2 = True;
12400 }
12401 {
12402 PyThreadState* __tstate = wxPyBeginAllowThreads();
12403 (arg1)->SetFilename((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_SetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12424 PyObject *resultobj;
12425 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12426 wxString *arg2 = 0 ;
12427 bool temp2 = False ;
12428 PyObject * obj0 = 0 ;
12429 PyObject * obj1 = 0 ;
12430 char *kwnames[] = {
12431 (char *) "self",(char *) "wildCard", NULL
12432 };
12433
12434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
12435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12437 {
12438 arg2 = wxString_in_helper(obj1);
12439 if (arg2 == NULL) SWIG_fail;
12440 temp2 = True;
12441 }
12442 {
12443 PyThreadState* __tstate = wxPyBeginAllowThreads();
12444 (arg1)->SetWildcard((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_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12465 PyObject *resultobj;
12466 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12467 long arg2 ;
12468 PyObject * obj0 = 0 ;
12469 PyObject * obj1 = 0 ;
12470 char *kwnames[] = {
12471 (char *) "self",(char *) "style", NULL
12472 };
12473
12474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
12475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 12477 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
12478 if (PyErr_Occurred()) SWIG_fail;
12479 {
12480 PyThreadState* __tstate = wxPyBeginAllowThreads();
12481 (arg1)->SetStyle(arg2);
12482
12483 wxPyEndAllowThreads(__tstate);
12484 if (PyErr_Occurred()) SWIG_fail;
12485 }
12486 Py_INCREF(Py_None); resultobj = Py_None;
12487 return resultobj;
12488 fail:
12489 return NULL;
12490}
12491
12492
c32bde28 12493static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12494 PyObject *resultobj;
12495 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12496 int arg2 ;
12497 PyObject * obj0 = 0 ;
12498 PyObject * obj1 = 0 ;
12499 char *kwnames[] = {
12500 (char *) "self",(char *) "filterIndex", NULL
12501 };
12502
12503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
12504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 12506 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
12507 if (PyErr_Occurred()) SWIG_fail;
12508 {
12509 PyThreadState* __tstate = wxPyBeginAllowThreads();
12510 (arg1)->SetFilterIndex(arg2);
12511
12512 wxPyEndAllowThreads(__tstate);
12513 if (PyErr_Occurred()) SWIG_fail;
12514 }
12515 Py_INCREF(Py_None); resultobj = Py_None;
12516 return resultobj;
12517 fail:
12518 return NULL;
12519}
12520
12521
c32bde28 12522static PyObject *_wrap_FileDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12523 PyObject *resultobj;
12524 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12525 wxString result;
12526 PyObject * obj0 = 0 ;
12527 char *kwnames[] = {
12528 (char *) "self", NULL
12529 };
12530
12531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
12532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12534 {
12535 PyThreadState* __tstate = wxPyBeginAllowThreads();
12536 result = ((wxFileDialog const *)arg1)->GetMessage();
12537
12538 wxPyEndAllowThreads(__tstate);
12539 if (PyErr_Occurred()) SWIG_fail;
12540 }
12541 {
12542#if wxUSE_UNICODE
12543 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12544#else
12545 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12546#endif
12547 }
12548 return resultobj;
12549 fail:
12550 return NULL;
12551}
12552
12553
c32bde28 12554static PyObject *_wrap_FileDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12555 PyObject *resultobj;
12556 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12557 wxString result;
12558 PyObject * obj0 = 0 ;
12559 char *kwnames[] = {
12560 (char *) "self", NULL
12561 };
12562
12563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
12564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12566 {
12567 PyThreadState* __tstate = wxPyBeginAllowThreads();
12568 result = ((wxFileDialog const *)arg1)->GetPath();
12569
12570 wxPyEndAllowThreads(__tstate);
12571 if (PyErr_Occurred()) SWIG_fail;
12572 }
12573 {
12574#if wxUSE_UNICODE
12575 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12576#else
12577 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12578#endif
12579 }
12580 return resultobj;
12581 fail:
12582 return NULL;
12583}
12584
12585
c32bde28 12586static PyObject *_wrap_FileDialog_GetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12587 PyObject *resultobj;
12588 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12589 wxString result;
12590 PyObject * obj0 = 0 ;
12591 char *kwnames[] = {
12592 (char *) "self", NULL
12593 };
12594
12595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
12596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12598 {
12599 PyThreadState* __tstate = wxPyBeginAllowThreads();
12600 result = ((wxFileDialog const *)arg1)->GetDirectory();
12601
12602 wxPyEndAllowThreads(__tstate);
12603 if (PyErr_Occurred()) SWIG_fail;
12604 }
12605 {
12606#if wxUSE_UNICODE
12607 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12608#else
12609 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12610#endif
12611 }
12612 return resultobj;
12613 fail:
12614 return NULL;
12615}
12616
12617
c32bde28 12618static PyObject *_wrap_FileDialog_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12619 PyObject *resultobj;
12620 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12621 wxString result;
12622 PyObject * obj0 = 0 ;
12623 char *kwnames[] = {
12624 (char *) "self", NULL
12625 };
12626
12627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
12628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12630 {
12631 PyThreadState* __tstate = wxPyBeginAllowThreads();
12632 result = ((wxFileDialog const *)arg1)->GetFilename();
12633
12634 wxPyEndAllowThreads(__tstate);
12635 if (PyErr_Occurred()) SWIG_fail;
12636 }
12637 {
12638#if wxUSE_UNICODE
12639 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12640#else
12641 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12642#endif
12643 }
12644 return resultobj;
12645 fail:
12646 return NULL;
12647}
12648
12649
c32bde28 12650static PyObject *_wrap_FileDialog_GetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12651 PyObject *resultobj;
12652 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12653 wxString result;
12654 PyObject * obj0 = 0 ;
12655 char *kwnames[] = {
12656 (char *) "self", NULL
12657 };
12658
12659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
12660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12662 {
12663 PyThreadState* __tstate = wxPyBeginAllowThreads();
12664 result = ((wxFileDialog const *)arg1)->GetWildcard();
12665
12666 wxPyEndAllowThreads(__tstate);
12667 if (PyErr_Occurred()) SWIG_fail;
12668 }
12669 {
12670#if wxUSE_UNICODE
12671 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12672#else
12673 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12674#endif
12675 }
12676 return resultobj;
12677 fail:
12678 return NULL;
12679}
12680
12681
c32bde28 12682static PyObject *_wrap_FileDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12683 PyObject *resultobj;
12684 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12685 long result;
12686 PyObject * obj0 = 0 ;
12687 char *kwnames[] = {
12688 (char *) "self", NULL
12689 };
12690
12691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
12692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12694 {
12695 PyThreadState* __tstate = wxPyBeginAllowThreads();
12696 result = (long)((wxFileDialog const *)arg1)->GetStyle();
12697
12698 wxPyEndAllowThreads(__tstate);
12699 if (PyErr_Occurred()) SWIG_fail;
12700 }
c32bde28 12701 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
12702 return resultobj;
12703 fail:
12704 return NULL;
12705}
12706
12707
c32bde28 12708static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12709 PyObject *resultobj;
12710 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12711 int result;
12712 PyObject * obj0 = 0 ;
12713 char *kwnames[] = {
12714 (char *) "self", NULL
12715 };
12716
12717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
12718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12720 {
12721 PyThreadState* __tstate = wxPyBeginAllowThreads();
12722 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
12723
12724 wxPyEndAllowThreads(__tstate);
12725 if (PyErr_Occurred()) SWIG_fail;
12726 }
c32bde28 12727 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
12728 return resultobj;
12729 fail:
12730 return NULL;
12731}
12732
12733
c32bde28 12734static PyObject *_wrap_FileDialog_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12735 PyObject *resultobj;
12736 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12737 PyObject *result;
12738 PyObject * obj0 = 0 ;
12739 char *kwnames[] = {
12740 (char *) "self", NULL
12741 };
12742
12743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
12744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12746 {
12747 PyThreadState* __tstate = wxPyBeginAllowThreads();
12748 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
12749
12750 wxPyEndAllowThreads(__tstate);
12751 if (PyErr_Occurred()) SWIG_fail;
12752 }
12753 resultobj = result;
12754 return resultobj;
12755 fail:
12756 return NULL;
12757}
12758
12759
c32bde28 12760static PyObject *_wrap_FileDialog_GetPaths(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12761 PyObject *resultobj;
12762 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12763 PyObject *result;
12764 PyObject * obj0 = 0 ;
12765 char *kwnames[] = {
12766 (char *) "self", NULL
12767 };
12768
12769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
12770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12772 {
12773 PyThreadState* __tstate = wxPyBeginAllowThreads();
12774 result = (PyObject *)wxFileDialog_GetPaths(arg1);
12775
12776 wxPyEndAllowThreads(__tstate);
12777 if (PyErr_Occurred()) SWIG_fail;
12778 }
12779 resultobj = result;
12780 return resultobj;
12781 fail:
12782 return NULL;
12783}
12784
12785
c32bde28 12786static PyObject * FileDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
12787 PyObject *obj;
12788 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12789 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
12790 Py_INCREF(obj);
12791 return Py_BuildValue((char *)"");
12792}
c32bde28 12793static PyObject *_wrap_new_MultiChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12794 PyObject *resultobj;
12795 wxWindow *arg1 = (wxWindow *) 0 ;
12796 wxString *arg2 = 0 ;
12797 wxString *arg3 = 0 ;
12798 int arg4 = (int) 0 ;
248ed943 12799 wxString *arg5 = (wxString *) NULL ;
d55e5bfc
RD
12800 long arg6 = (long) wxCHOICEDLG_STYLE ;
12801 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12802 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12803 wxMultiChoiceDialog *result;
12804 bool temp2 = False ;
12805 bool temp3 = False ;
12806 wxPoint temp6 ;
12807 PyObject * obj0 = 0 ;
12808 PyObject * obj1 = 0 ;
12809 PyObject * obj2 = 0 ;
12810 PyObject * obj3 = 0 ;
12811 PyObject * obj4 = 0 ;
12812 PyObject * obj5 = 0 ;
12813 char *kwnames[] = {
12814 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12815 };
12816
12817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12820 {
12821 arg2 = wxString_in_helper(obj1);
12822 if (arg2 == NULL) SWIG_fail;
12823 temp2 = True;
12824 }
12825 {
12826 arg3 = wxString_in_helper(obj2);
12827 if (arg3 == NULL) SWIG_fail;
12828 temp3 = True;
12829 }
12830 if (obj3) {
12831 {
12832 arg4 = PyList_Size(obj3);
12833 arg5 = wxString_LIST_helper(obj3);
12834 if (arg5 == NULL) SWIG_fail;
12835 }
12836 }
12837 if (obj4) {
c32bde28 12838 arg6 = (long)SWIG_As_long(obj4);
d55e5bfc
RD
12839 if (PyErr_Occurred()) SWIG_fail;
12840 }
12841 if (obj5) {
12842 {
12843 arg7 = &temp6;
12844 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12845 }
12846 }
12847 {
0439c23b 12848 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12849 PyThreadState* __tstate = wxPyBeginAllowThreads();
12850 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12851
12852 wxPyEndAllowThreads(__tstate);
110da5b0 12853 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12854 }
12855 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
12856 {
12857 if (temp2)
12858 delete arg2;
12859 }
12860 {
12861 if (temp3)
12862 delete arg3;
12863 }
12864 {
12865 if (arg5) delete [] arg5;
12866 }
12867 return resultobj;
12868 fail:
12869 {
12870 if (temp2)
12871 delete arg2;
12872 }
12873 {
12874 if (temp3)
12875 delete arg3;
12876 }
12877 {
12878 if (arg5) delete [] arg5;
12879 }
12880 return NULL;
12881}
12882
12883
c32bde28 12884static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12885 PyObject *resultobj;
12886 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12887 wxArrayInt *arg2 = 0 ;
12888 bool temp2 = False ;
12889 PyObject * obj0 = 0 ;
12890 PyObject * obj1 = 0 ;
12891 char *kwnames[] = {
12892 (char *) "self",(char *) "selections", NULL
12893 };
12894
12895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
12896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12898 {
12899 if (! PySequence_Check(obj1)) {
12900 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
12901 SWIG_fail;
12902 }
12903 arg2 = new wxArrayInt;
12904 temp2 = True;
12905 int i, len=PySequence_Length(obj1);
12906 for (i=0; i<len; i++) {
12907 PyObject* item = PySequence_GetItem(obj1, i);
12908 PyObject* number = PyNumber_Int(item);
12909 arg2->Add(PyInt_AS_LONG(number));
12910 Py_DECREF(item);
12911 Py_DECREF(number);
12912 }
12913 }
12914 {
12915 PyThreadState* __tstate = wxPyBeginAllowThreads();
12916 (arg1)->SetSelections((wxArrayInt const &)*arg2);
12917
12918 wxPyEndAllowThreads(__tstate);
12919 if (PyErr_Occurred()) SWIG_fail;
12920 }
12921 Py_INCREF(Py_None); resultobj = Py_None;
12922 {
12923 if (temp2) delete arg2;
12924 }
12925 return resultobj;
12926 fail:
12927 {
12928 if (temp2) delete arg2;
12929 }
12930 return NULL;
12931}
12932
12933
c32bde28 12934static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12935 PyObject *resultobj;
12936 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12937 PyObject *result;
12938 PyObject * obj0 = 0 ;
12939 char *kwnames[] = {
12940 (char *) "self", NULL
12941 };
12942
12943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
12944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12946 {
12947 PyThreadState* __tstate = wxPyBeginAllowThreads();
12948 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
12949
12950 wxPyEndAllowThreads(__tstate);
12951 if (PyErr_Occurred()) SWIG_fail;
12952 }
12953 resultobj = result;
12954 return resultobj;
12955 fail:
12956 return NULL;
12957}
12958
12959
c32bde28 12960static PyObject * MultiChoiceDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
12961 PyObject *obj;
12962 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12963 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
12964 Py_INCREF(obj);
12965 return Py_BuildValue((char *)"");
12966}
c32bde28 12967static PyObject *_wrap_new_SingleChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12968 PyObject *resultobj;
12969 wxWindow *arg1 = (wxWindow *) 0 ;
12970 wxString *arg2 = 0 ;
12971 wxString *arg3 = 0 ;
12972 int arg4 ;
12973 wxString *arg5 = (wxString *) 0 ;
12974 long arg6 = (long) wxCHOICEDLG_STYLE ;
12975 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12976 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12977 wxSingleChoiceDialog *result;
12978 bool temp2 = False ;
12979 bool temp3 = False ;
12980 wxPoint temp6 ;
12981 PyObject * obj0 = 0 ;
12982 PyObject * obj1 = 0 ;
12983 PyObject * obj2 = 0 ;
12984 PyObject * obj3 = 0 ;
12985 PyObject * obj4 = 0 ;
12986 PyObject * obj5 = 0 ;
12987 char *kwnames[] = {
12988 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12989 };
12990
12991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12994 {
12995 arg2 = wxString_in_helper(obj1);
12996 if (arg2 == NULL) SWIG_fail;
12997 temp2 = True;
12998 }
12999 {
13000 arg3 = wxString_in_helper(obj2);
13001 if (arg3 == NULL) SWIG_fail;
13002 temp3 = True;
13003 }
13004 {
13005 arg4 = PyList_Size(obj3);
13006 arg5 = wxString_LIST_helper(obj3);
13007 if (arg5 == NULL) SWIG_fail;
13008 }
13009 if (obj4) {
c32bde28 13010 arg6 = (long)SWIG_As_long(obj4);
d55e5bfc
RD
13011 if (PyErr_Occurred()) SWIG_fail;
13012 }
13013 if (obj5) {
13014 {
13015 arg7 = &temp6;
13016 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
13017 }
13018 }
13019 {
0439c23b 13020 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13021 PyThreadState* __tstate = wxPyBeginAllowThreads();
13022 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
13023
13024 wxPyEndAllowThreads(__tstate);
110da5b0 13025 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13026 }
13027 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
13028 {
13029 if (temp2)
13030 delete arg2;
13031 }
13032 {
13033 if (temp3)
13034 delete arg3;
13035 }
13036 {
13037 if (arg5) delete [] arg5;
13038 }
13039 return resultobj;
13040 fail:
13041 {
13042 if (temp2)
13043 delete arg2;
13044 }
13045 {
13046 if (temp3)
13047 delete arg3;
13048 }
13049 {
13050 if (arg5) delete [] arg5;
13051 }
13052 return NULL;
13053}
13054
13055
c32bde28 13056static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13057 PyObject *resultobj;
13058 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
13059 int result;
13060 PyObject * obj0 = 0 ;
13061 char *kwnames[] = {
13062 (char *) "self", NULL
13063 };
13064
13065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
13066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
13067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13068 {
13069 PyThreadState* __tstate = wxPyBeginAllowThreads();
13070 result = (int)(arg1)->GetSelection();
13071
13072 wxPyEndAllowThreads(__tstate);
13073 if (PyErr_Occurred()) SWIG_fail;
13074 }
c32bde28 13075 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
13076 return resultobj;
13077 fail:
13078 return NULL;
13079}
13080
13081
c32bde28 13082static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13083 PyObject *resultobj;
13084 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
13085 wxString result;
13086 PyObject * obj0 = 0 ;
13087 char *kwnames[] = {
13088 (char *) "self", NULL
13089 };
13090
13091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
13092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
13093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13094 {
13095 PyThreadState* __tstate = wxPyBeginAllowThreads();
13096 result = (arg1)->GetStringSelection();
13097
13098 wxPyEndAllowThreads(__tstate);
13099 if (PyErr_Occurred()) SWIG_fail;
13100 }
13101 {
13102#if wxUSE_UNICODE
13103 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13104#else
13105 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13106#endif
13107 }
13108 return resultobj;
13109 fail:
13110 return NULL;
13111}
13112
13113
c32bde28 13114static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13115 PyObject *resultobj;
13116 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
13117 int arg2 ;
13118 PyObject * obj0 = 0 ;
13119 PyObject * obj1 = 0 ;
13120 char *kwnames[] = {
13121 (char *) "self",(char *) "sel", NULL
13122 };
13123
13124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
13125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
13126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13127 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
13128 if (PyErr_Occurred()) SWIG_fail;
13129 {
13130 PyThreadState* __tstate = wxPyBeginAllowThreads();
13131 (arg1)->SetSelection(arg2);
13132
13133 wxPyEndAllowThreads(__tstate);
13134 if (PyErr_Occurred()) SWIG_fail;
13135 }
13136 Py_INCREF(Py_None); resultobj = Py_None;
13137 return resultobj;
13138 fail:
13139 return NULL;
13140}
13141
13142
c32bde28 13143static PyObject * SingleChoiceDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13144 PyObject *obj;
13145 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13146 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
13147 Py_INCREF(obj);
13148 return Py_BuildValue((char *)"");
13149}
c32bde28 13150static PyObject *_wrap_new_TextEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13151 PyObject *resultobj;
13152 wxWindow *arg1 = (wxWindow *) 0 ;
13153 wxString *arg2 = 0 ;
13154 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
13155 wxString *arg3 = (wxString *) &arg3_defvalue ;
13156 wxString const &arg4_defvalue = wxPyEmptyString ;
13157 wxString *arg4 = (wxString *) &arg4_defvalue ;
13158 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
13159 wxPoint const &arg6_defvalue = wxDefaultPosition ;
13160 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
13161 wxTextEntryDialog *result;
13162 bool temp2 = False ;
13163 bool temp3 = False ;
13164 bool temp4 = False ;
13165 wxPoint temp6 ;
13166 PyObject * obj0 = 0 ;
13167 PyObject * obj1 = 0 ;
13168 PyObject * obj2 = 0 ;
13169 PyObject * obj3 = 0 ;
13170 PyObject * obj4 = 0 ;
13171 PyObject * obj5 = 0 ;
13172 char *kwnames[] = {
13173 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
13174 };
13175
13176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13179 {
13180 arg2 = wxString_in_helper(obj1);
13181 if (arg2 == NULL) SWIG_fail;
13182 temp2 = True;
13183 }
13184 if (obj2) {
13185 {
13186 arg3 = wxString_in_helper(obj2);
13187 if (arg3 == NULL) SWIG_fail;
13188 temp3 = True;
13189 }
13190 }
13191 if (obj3) {
13192 {
13193 arg4 = wxString_in_helper(obj3);
13194 if (arg4 == NULL) SWIG_fail;
13195 temp4 = True;
13196 }
13197 }
13198 if (obj4) {
c32bde28 13199 arg5 = (long)SWIG_As_long(obj4);
d55e5bfc
RD
13200 if (PyErr_Occurred()) SWIG_fail;
13201 }
13202 if (obj5) {
13203 {
13204 arg6 = &temp6;
13205 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
13206 }
13207 }
13208 {
0439c23b 13209 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13210 PyThreadState* __tstate = wxPyBeginAllowThreads();
13211 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
13212
13213 wxPyEndAllowThreads(__tstate);
110da5b0 13214 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13215 }
13216 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
13217 {
13218 if (temp2)
13219 delete arg2;
13220 }
13221 {
13222 if (temp3)
13223 delete arg3;
13224 }
13225 {
13226 if (temp4)
13227 delete arg4;
13228 }
13229 return resultobj;
13230 fail:
13231 {
13232 if (temp2)
13233 delete arg2;
13234 }
13235 {
13236 if (temp3)
13237 delete arg3;
13238 }
13239 {
13240 if (temp4)
13241 delete arg4;
13242 }
13243 return NULL;
13244}
13245
13246
c32bde28 13247static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13248 PyObject *resultobj;
13249 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
13250 wxString result;
13251 PyObject * obj0 = 0 ;
13252 char *kwnames[] = {
13253 (char *) "self", NULL
13254 };
13255
13256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
13257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
13258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13259 {
13260 PyThreadState* __tstate = wxPyBeginAllowThreads();
13261 result = (arg1)->GetValue();
13262
13263 wxPyEndAllowThreads(__tstate);
13264 if (PyErr_Occurred()) SWIG_fail;
13265 }
13266 {
13267#if wxUSE_UNICODE
13268 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13269#else
13270 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13271#endif
13272 }
13273 return resultobj;
13274 fail:
13275 return NULL;
13276}
13277
13278
c32bde28 13279static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13280 PyObject *resultobj;
13281 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
13282 wxString *arg2 = 0 ;
13283 bool temp2 = False ;
13284 PyObject * obj0 = 0 ;
13285 PyObject * obj1 = 0 ;
13286 char *kwnames[] = {
13287 (char *) "self",(char *) "value", NULL
13288 };
13289
13290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
13291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
13292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13293 {
13294 arg2 = wxString_in_helper(obj1);
13295 if (arg2 == NULL) SWIG_fail;
13296 temp2 = True;
13297 }
13298 {
13299 PyThreadState* __tstate = wxPyBeginAllowThreads();
13300 (arg1)->SetValue((wxString const &)*arg2);
13301
13302 wxPyEndAllowThreads(__tstate);
13303 if (PyErr_Occurred()) SWIG_fail;
13304 }
13305 Py_INCREF(Py_None); resultobj = Py_None;
13306 {
13307 if (temp2)
13308 delete arg2;
13309 }
13310 return resultobj;
13311 fail:
13312 {
13313 if (temp2)
13314 delete arg2;
13315 }
13316 return NULL;
13317}
13318
13319
c32bde28 13320static PyObject * TextEntryDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13321 PyObject *obj;
13322 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13323 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
13324 Py_INCREF(obj);
13325 return Py_BuildValue((char *)"");
13326}
c32bde28 13327static PyObject *_wrap_new_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13328 PyObject *resultobj;
13329 wxFontData *result;
13330 char *kwnames[] = {
13331 NULL
13332 };
13333
13334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
13335 {
13336 PyThreadState* __tstate = wxPyBeginAllowThreads();
13337 result = (wxFontData *)new wxFontData();
13338
13339 wxPyEndAllowThreads(__tstate);
13340 if (PyErr_Occurred()) SWIG_fail;
13341 }
13342 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
13343 return resultobj;
13344 fail:
13345 return NULL;
13346}
13347
13348
c32bde28 13349static PyObject *_wrap_delete_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13350 PyObject *resultobj;
13351 wxFontData *arg1 = (wxFontData *) 0 ;
13352 PyObject * obj0 = 0 ;
13353 char *kwnames[] = {
13354 (char *) "self", NULL
13355 };
13356
13357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
13358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13360 {
13361 PyThreadState* __tstate = wxPyBeginAllowThreads();
13362 delete arg1;
13363
13364 wxPyEndAllowThreads(__tstate);
13365 if (PyErr_Occurred()) SWIG_fail;
13366 }
13367 Py_INCREF(Py_None); resultobj = Py_None;
13368 return resultobj;
13369 fail:
13370 return NULL;
13371}
13372
13373
c32bde28 13374static PyObject *_wrap_FontData_EnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13375 PyObject *resultobj;
13376 wxFontData *arg1 = (wxFontData *) 0 ;
13377 bool arg2 ;
13378 PyObject * obj0 = 0 ;
13379 PyObject * obj1 = 0 ;
13380 char *kwnames[] = {
13381 (char *) "self",(char *) "enable", NULL
13382 };
13383
13384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
13385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13387 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
13388 if (PyErr_Occurred()) SWIG_fail;
13389 {
13390 PyThreadState* __tstate = wxPyBeginAllowThreads();
13391 (arg1)->EnableEffects(arg2);
13392
13393 wxPyEndAllowThreads(__tstate);
13394 if (PyErr_Occurred()) SWIG_fail;
13395 }
13396 Py_INCREF(Py_None); resultobj = Py_None;
13397 return resultobj;
13398 fail:
13399 return NULL;
13400}
13401
13402
c32bde28 13403static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13404 PyObject *resultobj;
13405 wxFontData *arg1 = (wxFontData *) 0 ;
13406 bool result;
13407 PyObject * obj0 = 0 ;
13408 char *kwnames[] = {
13409 (char *) "self", NULL
13410 };
13411
13412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
13413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13415 {
13416 PyThreadState* __tstate = wxPyBeginAllowThreads();
13417 result = (bool)(arg1)->GetAllowSymbols();
13418
13419 wxPyEndAllowThreads(__tstate);
13420 if (PyErr_Occurred()) SWIG_fail;
13421 }
13422 {
13423 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13424 }
13425 return resultobj;
13426 fail:
13427 return NULL;
13428}
13429
13430
c32bde28 13431static PyObject *_wrap_FontData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13432 PyObject *resultobj;
13433 wxFontData *arg1 = (wxFontData *) 0 ;
13434 wxColour result;
13435 PyObject * obj0 = 0 ;
13436 char *kwnames[] = {
13437 (char *) "self", NULL
13438 };
13439
13440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
13441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13443 {
13444 PyThreadState* __tstate = wxPyBeginAllowThreads();
13445 result = (arg1)->GetColour();
13446
13447 wxPyEndAllowThreads(__tstate);
13448 if (PyErr_Occurred()) SWIG_fail;
13449 }
13450 {
13451 wxColour * resultptr;
13452 resultptr = new wxColour((wxColour &) result);
13453 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13454 }
13455 return resultobj;
13456 fail:
13457 return NULL;
13458}
13459
13460
c32bde28 13461static PyObject *_wrap_FontData_GetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13462 PyObject *resultobj;
13463 wxFontData *arg1 = (wxFontData *) 0 ;
13464 wxFont result;
13465 PyObject * obj0 = 0 ;
13466 char *kwnames[] = {
13467 (char *) "self", NULL
13468 };
13469
13470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
13471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13473 {
13474 PyThreadState* __tstate = wxPyBeginAllowThreads();
13475 result = (arg1)->GetChosenFont();
13476
13477 wxPyEndAllowThreads(__tstate);
13478 if (PyErr_Occurred()) SWIG_fail;
13479 }
13480 {
13481 wxFont * resultptr;
13482 resultptr = new wxFont((wxFont &) result);
13483 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
13484 }
13485 return resultobj;
13486 fail:
13487 return NULL;
13488}
13489
13490
c32bde28 13491static PyObject *_wrap_FontData_GetEnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13492 PyObject *resultobj;
13493 wxFontData *arg1 = (wxFontData *) 0 ;
13494 bool result;
13495 PyObject * obj0 = 0 ;
13496 char *kwnames[] = {
13497 (char *) "self", NULL
13498 };
13499
13500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
13501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13503 {
13504 PyThreadState* __tstate = wxPyBeginAllowThreads();
13505 result = (bool)(arg1)->GetEnableEffects();
13506
13507 wxPyEndAllowThreads(__tstate);
13508 if (PyErr_Occurred()) SWIG_fail;
13509 }
13510 {
13511 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13512 }
13513 return resultobj;
13514 fail:
13515 return NULL;
13516}
13517
13518
c32bde28 13519static PyObject *_wrap_FontData_GetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13520 PyObject *resultobj;
13521 wxFontData *arg1 = (wxFontData *) 0 ;
13522 wxFont result;
13523 PyObject * obj0 = 0 ;
13524 char *kwnames[] = {
13525 (char *) "self", NULL
13526 };
13527
13528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
13529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13531 {
13532 PyThreadState* __tstate = wxPyBeginAllowThreads();
13533 result = (arg1)->GetInitialFont();
13534
13535 wxPyEndAllowThreads(__tstate);
13536 if (PyErr_Occurred()) SWIG_fail;
13537 }
13538 {
13539 wxFont * resultptr;
13540 resultptr = new wxFont((wxFont &) result);
13541 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
13542 }
13543 return resultobj;
13544 fail:
13545 return NULL;
13546}
13547
13548
c32bde28 13549static PyObject *_wrap_FontData_GetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13550 PyObject *resultobj;
13551 wxFontData *arg1 = (wxFontData *) 0 ;
13552 bool result;
13553 PyObject * obj0 = 0 ;
13554 char *kwnames[] = {
13555 (char *) "self", NULL
13556 };
13557
13558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
13559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13561 {
13562 PyThreadState* __tstate = wxPyBeginAllowThreads();
13563 result = (bool)(arg1)->GetShowHelp();
13564
13565 wxPyEndAllowThreads(__tstate);
13566 if (PyErr_Occurred()) SWIG_fail;
13567 }
13568 {
13569 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13570 }
13571 return resultobj;
13572 fail:
13573 return NULL;
13574}
13575
13576
c32bde28 13577static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13578 PyObject *resultobj;
13579 wxFontData *arg1 = (wxFontData *) 0 ;
13580 bool arg2 ;
13581 PyObject * obj0 = 0 ;
13582 PyObject * obj1 = 0 ;
13583 char *kwnames[] = {
13584 (char *) "self",(char *) "allowSymbols", NULL
13585 };
13586
13587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
13588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13590 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
13591 if (PyErr_Occurred()) SWIG_fail;
13592 {
13593 PyThreadState* __tstate = wxPyBeginAllowThreads();
13594 (arg1)->SetAllowSymbols(arg2);
13595
13596 wxPyEndAllowThreads(__tstate);
13597 if (PyErr_Occurred()) SWIG_fail;
13598 }
13599 Py_INCREF(Py_None); resultobj = Py_None;
13600 return resultobj;
13601 fail:
13602 return NULL;
13603}
13604
13605
c32bde28 13606static PyObject *_wrap_FontData_SetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13607 PyObject *resultobj;
13608 wxFontData *arg1 = (wxFontData *) 0 ;
13609 wxFont *arg2 = 0 ;
13610 PyObject * obj0 = 0 ;
13611 PyObject * obj1 = 0 ;
13612 char *kwnames[] = {
13613 (char *) "self",(char *) "font", NULL
13614 };
13615
13616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
13617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13619 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13620 SWIG_POINTER_EXCEPTION | 0)) == -1)
13621 SWIG_fail;
13622 if (arg2 == NULL) {
13623 PyErr_SetString(PyExc_TypeError,"null reference");
13624 SWIG_fail;
13625 }
13626 {
13627 PyThreadState* __tstate = wxPyBeginAllowThreads();
13628 (arg1)->SetChosenFont((wxFont const &)*arg2);
13629
13630 wxPyEndAllowThreads(__tstate);
13631 if (PyErr_Occurred()) SWIG_fail;
13632 }
13633 Py_INCREF(Py_None); resultobj = Py_None;
13634 return resultobj;
13635 fail:
13636 return NULL;
13637}
13638
13639
c32bde28 13640static PyObject *_wrap_FontData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13641 PyObject *resultobj;
13642 wxFontData *arg1 = (wxFontData *) 0 ;
13643 wxColour *arg2 = 0 ;
13644 wxColour temp2 ;
13645 PyObject * obj0 = 0 ;
13646 PyObject * obj1 = 0 ;
13647 char *kwnames[] = {
13648 (char *) "self",(char *) "colour", NULL
13649 };
13650
13651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
13652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13654 {
13655 arg2 = &temp2;
13656 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13657 }
13658 {
13659 PyThreadState* __tstate = wxPyBeginAllowThreads();
13660 (arg1)->SetColour((wxColour const &)*arg2);
13661
13662 wxPyEndAllowThreads(__tstate);
13663 if (PyErr_Occurred()) SWIG_fail;
13664 }
13665 Py_INCREF(Py_None); resultobj = Py_None;
13666 return resultobj;
13667 fail:
13668 return NULL;
13669}
13670
13671
c32bde28 13672static PyObject *_wrap_FontData_SetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13673 PyObject *resultobj;
13674 wxFontData *arg1 = (wxFontData *) 0 ;
13675 wxFont *arg2 = 0 ;
13676 PyObject * obj0 = 0 ;
13677 PyObject * obj1 = 0 ;
13678 char *kwnames[] = {
13679 (char *) "self",(char *) "font", NULL
13680 };
13681
13682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
13683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13685 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13686 SWIG_POINTER_EXCEPTION | 0)) == -1)
13687 SWIG_fail;
13688 if (arg2 == NULL) {
13689 PyErr_SetString(PyExc_TypeError,"null reference");
13690 SWIG_fail;
13691 }
13692 {
13693 PyThreadState* __tstate = wxPyBeginAllowThreads();
13694 (arg1)->SetInitialFont((wxFont const &)*arg2);
13695
13696 wxPyEndAllowThreads(__tstate);
13697 if (PyErr_Occurred()) SWIG_fail;
13698 }
13699 Py_INCREF(Py_None); resultobj = Py_None;
13700 return resultobj;
13701 fail:
13702 return NULL;
13703}
13704
13705
c32bde28 13706static PyObject *_wrap_FontData_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13707 PyObject *resultobj;
13708 wxFontData *arg1 = (wxFontData *) 0 ;
13709 int arg2 ;
13710 int arg3 ;
13711 PyObject * obj0 = 0 ;
13712 PyObject * obj1 = 0 ;
13713 PyObject * obj2 = 0 ;
13714 char *kwnames[] = {
13715 (char *) "self",(char *) "min",(char *) "max", NULL
13716 };
13717
13718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
13719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13721 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 13722 if (PyErr_Occurred()) SWIG_fail;
c32bde28 13723 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
13724 if (PyErr_Occurred()) SWIG_fail;
13725 {
13726 PyThreadState* __tstate = wxPyBeginAllowThreads();
13727 (arg1)->SetRange(arg2,arg3);
13728
13729 wxPyEndAllowThreads(__tstate);
13730 if (PyErr_Occurred()) SWIG_fail;
13731 }
13732 Py_INCREF(Py_None); resultobj = Py_None;
13733 return resultobj;
13734 fail:
13735 return NULL;
13736}
13737
13738
c32bde28 13739static PyObject *_wrap_FontData_SetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13740 PyObject *resultobj;
13741 wxFontData *arg1 = (wxFontData *) 0 ;
13742 bool arg2 ;
13743 PyObject * obj0 = 0 ;
13744 PyObject * obj1 = 0 ;
13745 char *kwnames[] = {
13746 (char *) "self",(char *) "showHelp", NULL
13747 };
13748
13749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
13750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13752 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
13753 if (PyErr_Occurred()) SWIG_fail;
13754 {
13755 PyThreadState* __tstate = wxPyBeginAllowThreads();
13756 (arg1)->SetShowHelp(arg2);
13757
13758 wxPyEndAllowThreads(__tstate);
13759 if (PyErr_Occurred()) SWIG_fail;
13760 }
13761 Py_INCREF(Py_None); resultobj = Py_None;
13762 return resultobj;
13763 fail:
13764 return NULL;
13765}
13766
13767
c32bde28 13768static PyObject * FontData_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13769 PyObject *obj;
13770 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13771 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
13772 Py_INCREF(obj);
13773 return Py_BuildValue((char *)"");
13774}
c32bde28 13775static PyObject *_wrap_new_FontDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13776 PyObject *resultobj;
13777 wxWindow *arg1 = (wxWindow *) 0 ;
13778 wxFontData *arg2 = 0 ;
13779 wxFontDialog *result;
13780 PyObject * obj0 = 0 ;
13781 PyObject * obj1 = 0 ;
13782 char *kwnames[] = {
13783 (char *) "parent",(char *) "data", NULL
13784 };
13785
13786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
13787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13789 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFontData,
13790 SWIG_POINTER_EXCEPTION | 0)) == -1)
13791 SWIG_fail;
13792 if (arg2 == NULL) {
13793 PyErr_SetString(PyExc_TypeError,"null reference");
13794 SWIG_fail;
13795 }
13796 {
0439c23b 13797 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13798 PyThreadState* __tstate = wxPyBeginAllowThreads();
13799 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
13800
13801 wxPyEndAllowThreads(__tstate);
110da5b0 13802 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13803 }
13804 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
13805 return resultobj;
13806 fail:
13807 return NULL;
13808}
13809
13810
c32bde28 13811static PyObject *_wrap_FontDialog_GetFontData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13812 PyObject *resultobj;
13813 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
13814 wxFontData *result;
13815 PyObject * obj0 = 0 ;
13816 char *kwnames[] = {
13817 (char *) "self", NULL
13818 };
13819
13820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
13821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontDialog,
13822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13823 {
13824 PyThreadState* __tstate = wxPyBeginAllowThreads();
13825 {
13826 wxFontData &_result_ref = (arg1)->GetFontData();
13827 result = (wxFontData *) &_result_ref;
13828 }
13829
13830 wxPyEndAllowThreads(__tstate);
13831 if (PyErr_Occurred()) SWIG_fail;
13832 }
13833 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
13834 return resultobj;
13835 fail:
13836 return NULL;
13837}
13838
13839
c32bde28 13840static PyObject * FontDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13841 PyObject *obj;
13842 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13843 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
13844 Py_INCREF(obj);
13845 return Py_BuildValue((char *)"");
13846}
c32bde28 13847static PyObject *_wrap_new_MessageDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13848 PyObject *resultobj;
13849 wxWindow *arg1 = (wxWindow *) 0 ;
13850 wxString *arg2 = 0 ;
13851 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
13852 wxString *arg3 = (wxString *) &arg3_defvalue ;
13853 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
13854 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13855 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13856 wxMessageDialog *result;
13857 bool temp2 = False ;
13858 bool temp3 = False ;
13859 wxPoint temp5 ;
13860 PyObject * obj0 = 0 ;
13861 PyObject * obj1 = 0 ;
13862 PyObject * obj2 = 0 ;
13863 PyObject * obj3 = 0 ;
13864 PyObject * obj4 = 0 ;
13865 char *kwnames[] = {
13866 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13867 };
13868
13869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13872 {
13873 arg2 = wxString_in_helper(obj1);
13874 if (arg2 == NULL) SWIG_fail;
13875 temp2 = True;
13876 }
13877 if (obj2) {
13878 {
13879 arg3 = wxString_in_helper(obj2);
13880 if (arg3 == NULL) SWIG_fail;
13881 temp3 = True;
13882 }
13883 }
13884 if (obj3) {
c32bde28 13885 arg4 = (long)SWIG_As_long(obj3);
d55e5bfc
RD
13886 if (PyErr_Occurred()) SWIG_fail;
13887 }
13888 if (obj4) {
13889 {
13890 arg5 = &temp5;
13891 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13892 }
13893 }
13894 {
0439c23b 13895 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13896 PyThreadState* __tstate = wxPyBeginAllowThreads();
13897 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
13898
13899 wxPyEndAllowThreads(__tstate);
110da5b0 13900 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13901 }
13902 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
13903 {
13904 if (temp2)
13905 delete arg2;
13906 }
13907 {
13908 if (temp3)
13909 delete arg3;
13910 }
13911 return resultobj;
13912 fail:
13913 {
13914 if (temp2)
13915 delete arg2;
13916 }
13917 {
13918 if (temp3)
13919 delete arg3;
13920 }
13921 return NULL;
13922}
13923
13924
c32bde28 13925static PyObject * MessageDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13926 PyObject *obj;
13927 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13928 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
13929 Py_INCREF(obj);
13930 return Py_BuildValue((char *)"");
13931}
c32bde28 13932static PyObject *_wrap_new_ProgressDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13933 PyObject *resultobj;
13934 wxString *arg1 = 0 ;
13935 wxString *arg2 = 0 ;
13936 int arg3 = (int) 100 ;
13937 wxWindow *arg4 = (wxWindow *) NULL ;
13938 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
13939 wxProgressDialog *result;
13940 bool temp1 = False ;
13941 bool temp2 = False ;
13942 PyObject * obj0 = 0 ;
13943 PyObject * obj1 = 0 ;
13944 PyObject * obj2 = 0 ;
13945 PyObject * obj3 = 0 ;
13946 PyObject * obj4 = 0 ;
13947 char *kwnames[] = {
13948 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13949 };
13950
13951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13952 {
13953 arg1 = wxString_in_helper(obj0);
13954 if (arg1 == NULL) SWIG_fail;
13955 temp1 = True;
13956 }
13957 {
13958 arg2 = wxString_in_helper(obj1);
13959 if (arg2 == NULL) SWIG_fail;
13960 temp2 = True;
13961 }
13962 if (obj2) {
c32bde28 13963 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
13964 if (PyErr_Occurred()) SWIG_fail;
13965 }
13966 if (obj3) {
13967 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
13968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13969 }
13970 if (obj4) {
c32bde28 13971 arg5 = (int)SWIG_As_int(obj4);
d55e5bfc
RD
13972 if (PyErr_Occurred()) SWIG_fail;
13973 }
13974 {
0439c23b 13975 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13976 PyThreadState* __tstate = wxPyBeginAllowThreads();
13977 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
13978
13979 wxPyEndAllowThreads(__tstate);
110da5b0 13980 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13981 }
13982 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
13983 {
13984 if (temp1)
13985 delete arg1;
13986 }
13987 {
13988 if (temp2)
13989 delete arg2;
13990 }
13991 return resultobj;
13992 fail:
13993 {
13994 if (temp1)
13995 delete arg1;
13996 }
13997 {
13998 if (temp2)
13999 delete arg2;
14000 }
14001 return NULL;
14002}
14003
14004
c32bde28 14005static PyObject *_wrap_ProgressDialog_Update(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14006 PyObject *resultobj;
14007 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
14008 int arg2 ;
14009 wxString const &arg3_defvalue = wxPyEmptyString ;
14010 wxString *arg3 = (wxString *) &arg3_defvalue ;
14011 bool result;
14012 bool temp3 = False ;
14013 PyObject * obj0 = 0 ;
14014 PyObject * obj1 = 0 ;
14015 PyObject * obj2 = 0 ;
14016 char *kwnames[] = {
14017 (char *) "self",(char *) "value",(char *) "newmsg", NULL
14018 };
14019
14020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
14021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
14022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 14023 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
14024 if (PyErr_Occurred()) SWIG_fail;
14025 if (obj2) {
14026 {
14027 arg3 = wxString_in_helper(obj2);
14028 if (arg3 == NULL) SWIG_fail;
14029 temp3 = True;
14030 }
14031 }
14032 {
14033 PyThreadState* __tstate = wxPyBeginAllowThreads();
14034 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
14035
14036 wxPyEndAllowThreads(__tstate);
14037 if (PyErr_Occurred()) SWIG_fail;
14038 }
14039 {
14040 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14041 }
14042 {
14043 if (temp3)
14044 delete arg3;
14045 }
14046 return resultobj;
14047 fail:
14048 {
14049 if (temp3)
14050 delete arg3;
14051 }
14052 return NULL;
14053}
14054
14055
c32bde28 14056static PyObject *_wrap_ProgressDialog_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14057 PyObject *resultobj;
14058 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
14059 PyObject * obj0 = 0 ;
14060 char *kwnames[] = {
14061 (char *) "self", NULL
14062 };
14063
14064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
14065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
14066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14067 {
14068 PyThreadState* __tstate = wxPyBeginAllowThreads();
14069 (arg1)->Resume();
14070
14071 wxPyEndAllowThreads(__tstate);
14072 if (PyErr_Occurred()) SWIG_fail;
14073 }
14074 Py_INCREF(Py_None); resultobj = Py_None;
14075 return resultobj;
14076 fail:
14077 return NULL;
14078}
14079
14080
c32bde28 14081static PyObject * ProgressDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14082 PyObject *obj;
14083 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14084 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
14085 Py_INCREF(obj);
14086 return Py_BuildValue((char *)"");
14087}
c32bde28 14088static PyObject *_wrap_new_FindDialogEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14089 PyObject *resultobj;
14090 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14091 int arg2 = (int) 0 ;
14092 wxFindDialogEvent *result;
14093 PyObject * obj0 = 0 ;
14094 PyObject * obj1 = 0 ;
14095 char *kwnames[] = {
14096 (char *) "commandType",(char *) "id", NULL
14097 };
14098
14099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
14100 if (obj0) {
c32bde28 14101 arg1 = (wxEventType)SWIG_As_int(obj0);
d55e5bfc
RD
14102 if (PyErr_Occurred()) SWIG_fail;
14103 }
14104 if (obj1) {
c32bde28 14105 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
14106 if (PyErr_Occurred()) SWIG_fail;
14107 }
14108 {
14109 PyThreadState* __tstate = wxPyBeginAllowThreads();
14110 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
14111
14112 wxPyEndAllowThreads(__tstate);
14113 if (PyErr_Occurred()) SWIG_fail;
14114 }
14115 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
14116 return resultobj;
14117 fail:
14118 return NULL;
14119}
14120
14121
c32bde28 14122static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14123 PyObject *resultobj;
14124 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14125 int result;
14126 PyObject * obj0 = 0 ;
14127 char *kwnames[] = {
14128 (char *) "self", NULL
14129 };
14130
14131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
14132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14134 {
14135 PyThreadState* __tstate = wxPyBeginAllowThreads();
14136 result = (int)(arg1)->GetFlags();
14137
14138 wxPyEndAllowThreads(__tstate);
14139 if (PyErr_Occurred()) SWIG_fail;
14140 }
c32bde28 14141 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
14142 return resultobj;
14143 fail:
14144 return NULL;
14145}
14146
14147
c32bde28 14148static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14149 PyObject *resultobj;
14150 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14151 wxString *result;
14152 PyObject * obj0 = 0 ;
14153 char *kwnames[] = {
14154 (char *) "self", NULL
14155 };
14156
14157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
14158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14160 {
14161 PyThreadState* __tstate = wxPyBeginAllowThreads();
14162 {
14163 wxString const &_result_ref = (arg1)->GetFindString();
14164 result = (wxString *) &_result_ref;
14165 }
14166
14167 wxPyEndAllowThreads(__tstate);
14168 if (PyErr_Occurred()) SWIG_fail;
14169 }
14170 {
14171#if wxUSE_UNICODE
14172 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14173#else
14174 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14175#endif
14176 }
14177 return resultobj;
14178 fail:
14179 return NULL;
14180}
14181
14182
c32bde28 14183static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14184 PyObject *resultobj;
14185 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14186 wxString *result;
14187 PyObject * obj0 = 0 ;
14188 char *kwnames[] = {
14189 (char *) "self", NULL
14190 };
14191
14192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
14193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14195 {
14196 PyThreadState* __tstate = wxPyBeginAllowThreads();
14197 {
14198 wxString const &_result_ref = (arg1)->GetReplaceString();
14199 result = (wxString *) &_result_ref;
14200 }
14201
14202 wxPyEndAllowThreads(__tstate);
14203 if (PyErr_Occurred()) SWIG_fail;
14204 }
14205 {
14206#if wxUSE_UNICODE
14207 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14208#else
14209 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14210#endif
14211 }
14212 return resultobj;
14213 fail:
14214 return NULL;
14215}
14216
14217
c32bde28 14218static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14219 PyObject *resultobj;
14220 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14221 wxFindReplaceDialog *result;
14222 PyObject * obj0 = 0 ;
14223 char *kwnames[] = {
14224 (char *) "self", NULL
14225 };
14226
14227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
14228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14230 {
14231 PyThreadState* __tstate = wxPyBeginAllowThreads();
14232 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
14233
14234 wxPyEndAllowThreads(__tstate);
14235 if (PyErr_Occurred()) SWIG_fail;
14236 }
14237 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
14238 return resultobj;
14239 fail:
14240 return NULL;
14241}
14242
14243
c32bde28 14244static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14245 PyObject *resultobj;
14246 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14247 int arg2 ;
14248 PyObject * obj0 = 0 ;
14249 PyObject * obj1 = 0 ;
14250 char *kwnames[] = {
14251 (char *) "self",(char *) "flags", NULL
14252 };
14253
14254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
14255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 14257 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
14258 if (PyErr_Occurred()) SWIG_fail;
14259 {
14260 PyThreadState* __tstate = wxPyBeginAllowThreads();
14261 (arg1)->SetFlags(arg2);
14262
14263 wxPyEndAllowThreads(__tstate);
14264 if (PyErr_Occurred()) SWIG_fail;
14265 }
14266 Py_INCREF(Py_None); resultobj = Py_None;
14267 return resultobj;
14268 fail:
14269 return NULL;
14270}
14271
14272
c32bde28 14273static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14274 PyObject *resultobj;
14275 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14276 wxString *arg2 = 0 ;
14277 bool temp2 = False ;
14278 PyObject * obj0 = 0 ;
14279 PyObject * obj1 = 0 ;
14280 char *kwnames[] = {
14281 (char *) "self",(char *) "str", NULL
14282 };
14283
14284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
14285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14287 {
14288 arg2 = wxString_in_helper(obj1);
14289 if (arg2 == NULL) SWIG_fail;
14290 temp2 = True;
14291 }
14292 {
14293 PyThreadState* __tstate = wxPyBeginAllowThreads();
14294 (arg1)->SetFindString((wxString const &)*arg2);
14295
14296 wxPyEndAllowThreads(__tstate);
14297 if (PyErr_Occurred()) SWIG_fail;
14298 }
14299 Py_INCREF(Py_None); resultobj = Py_None;
14300 {
14301 if (temp2)
14302 delete arg2;
14303 }
14304 return resultobj;
14305 fail:
14306 {
14307 if (temp2)
14308 delete arg2;
14309 }
14310 return NULL;
14311}
14312
14313
c32bde28 14314static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14315 PyObject *resultobj;
14316 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14317 wxString *arg2 = 0 ;
14318 bool temp2 = False ;
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_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
14326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14328 {
14329 arg2 = wxString_in_helper(obj1);
14330 if (arg2 == NULL) SWIG_fail;
14331 temp2 = True;
14332 }
14333 {
14334 PyThreadState* __tstate = wxPyBeginAllowThreads();
14335 (arg1)->SetReplaceString((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 * FindDialogEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14356 PyObject *obj;
14357 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14358 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
14359 Py_INCREF(obj);
14360 return Py_BuildValue((char *)"");
14361}
c32bde28 14362static PyObject *_wrap_new_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14363 PyObject *resultobj;
14364 int arg1 = (int) 0 ;
14365 wxFindReplaceData *result;
14366 PyObject * obj0 = 0 ;
14367 char *kwnames[] = {
14368 (char *) "flags", NULL
14369 };
14370
14371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
14372 if (obj0) {
c32bde28 14373 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
14374 if (PyErr_Occurred()) SWIG_fail;
14375 }
14376 {
14377 PyThreadState* __tstate = wxPyBeginAllowThreads();
14378 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
14379
14380 wxPyEndAllowThreads(__tstate);
14381 if (PyErr_Occurred()) SWIG_fail;
14382 }
14383 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
14384 return resultobj;
14385 fail:
14386 return NULL;
14387}
14388
14389
c32bde28 14390static PyObject *_wrap_delete_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14391 PyObject *resultobj;
14392 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14393 PyObject * obj0 = 0 ;
14394 char *kwnames[] = {
14395 (char *) "self", NULL
14396 };
14397
14398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
14399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14401 {
14402 PyThreadState* __tstate = wxPyBeginAllowThreads();
14403 delete arg1;
14404
14405 wxPyEndAllowThreads(__tstate);
14406 if (PyErr_Occurred()) SWIG_fail;
14407 }
14408 Py_INCREF(Py_None); resultobj = Py_None;
14409 return resultobj;
14410 fail:
14411 return NULL;
14412}
14413
14414
c32bde28 14415static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14416 PyObject *resultobj;
14417 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14418 wxString *result;
14419 PyObject * obj0 = 0 ;
14420 char *kwnames[] = {
14421 (char *) "self", NULL
14422 };
14423
14424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
14425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14427 {
14428 PyThreadState* __tstate = wxPyBeginAllowThreads();
14429 {
14430 wxString const &_result_ref = (arg1)->GetFindString();
14431 result = (wxString *) &_result_ref;
14432 }
14433
14434 wxPyEndAllowThreads(__tstate);
14435 if (PyErr_Occurred()) SWIG_fail;
14436 }
14437 {
14438#if wxUSE_UNICODE
14439 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14440#else
14441 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14442#endif
14443 }
14444 return resultobj;
14445 fail:
14446 return NULL;
14447}
14448
14449
c32bde28 14450static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14451 PyObject *resultobj;
14452 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14453 wxString *result;
14454 PyObject * obj0 = 0 ;
14455 char *kwnames[] = {
14456 (char *) "self", NULL
14457 };
14458
14459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
14460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14462 {
14463 PyThreadState* __tstate = wxPyBeginAllowThreads();
14464 {
14465 wxString const &_result_ref = (arg1)->GetReplaceString();
14466 result = (wxString *) &_result_ref;
14467 }
14468
14469 wxPyEndAllowThreads(__tstate);
14470 if (PyErr_Occurred()) SWIG_fail;
14471 }
14472 {
14473#if wxUSE_UNICODE
14474 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14475#else
14476 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14477#endif
14478 }
14479 return resultobj;
14480 fail:
14481 return NULL;
14482}
14483
14484
c32bde28 14485static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14486 PyObject *resultobj;
14487 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14488 int result;
14489 PyObject * obj0 = 0 ;
14490 char *kwnames[] = {
14491 (char *) "self", NULL
14492 };
14493
14494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
14495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14497 {
14498 PyThreadState* __tstate = wxPyBeginAllowThreads();
14499 result = (int)(arg1)->GetFlags();
14500
14501 wxPyEndAllowThreads(__tstate);
14502 if (PyErr_Occurred()) SWIG_fail;
14503 }
c32bde28 14504 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
14505 return resultobj;
14506 fail:
14507 return NULL;
14508}
14509
14510
c32bde28 14511static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14512 PyObject *resultobj;
14513 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14514 int arg2 ;
14515 PyObject * obj0 = 0 ;
14516 PyObject * obj1 = 0 ;
14517 char *kwnames[] = {
14518 (char *) "self",(char *) "flags", NULL
14519 };
14520
14521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
14522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 14524 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
14525 if (PyErr_Occurred()) SWIG_fail;
14526 {
14527 PyThreadState* __tstate = wxPyBeginAllowThreads();
14528 (arg1)->SetFlags(arg2);
14529
14530 wxPyEndAllowThreads(__tstate);
14531 if (PyErr_Occurred()) SWIG_fail;
14532 }
14533 Py_INCREF(Py_None); resultobj = Py_None;
14534 return resultobj;
14535 fail:
14536 return NULL;
14537}
14538
14539
c32bde28 14540static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14541 PyObject *resultobj;
14542 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14543 wxString *arg2 = 0 ;
14544 bool temp2 = False ;
14545 PyObject * obj0 = 0 ;
14546 PyObject * obj1 = 0 ;
14547 char *kwnames[] = {
14548 (char *) "self",(char *) "str", NULL
14549 };
14550
14551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
14552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14554 {
14555 arg2 = wxString_in_helper(obj1);
14556 if (arg2 == NULL) SWIG_fail;
14557 temp2 = True;
14558 }
14559 {
14560 PyThreadState* __tstate = wxPyBeginAllowThreads();
14561 (arg1)->SetFindString((wxString const &)*arg2);
14562
14563 wxPyEndAllowThreads(__tstate);
14564 if (PyErr_Occurred()) SWIG_fail;
14565 }
14566 Py_INCREF(Py_None); resultobj = Py_None;
14567 {
14568 if (temp2)
14569 delete arg2;
14570 }
14571 return resultobj;
14572 fail:
14573 {
14574 if (temp2)
14575 delete arg2;
14576 }
14577 return NULL;
14578}
14579
14580
c32bde28 14581static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14582 PyObject *resultobj;
14583 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14584 wxString *arg2 = 0 ;
14585 bool temp2 = False ;
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_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
14593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14595 {
14596 arg2 = wxString_in_helper(obj1);
14597 if (arg2 == NULL) SWIG_fail;
14598 temp2 = True;
14599 }
14600 {
14601 PyThreadState* __tstate = wxPyBeginAllowThreads();
14602 (arg1)->SetReplaceString((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 * FindReplaceData_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14623 PyObject *obj;
14624 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14625 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
14626 Py_INCREF(obj);
14627 return Py_BuildValue((char *)"");
14628}
c32bde28 14629static PyObject *_wrap_new_FindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14630 PyObject *resultobj;
14631 wxWindow *arg1 = (wxWindow *) 0 ;
14632 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14633 wxString *arg3 = 0 ;
14634 int arg4 = (int) 0 ;
14635 wxFindReplaceDialog *result;
14636 bool temp3 = False ;
14637 PyObject * obj0 = 0 ;
14638 PyObject * obj1 = 0 ;
14639 PyObject * obj2 = 0 ;
14640 PyObject * obj3 = 0 ;
14641 char *kwnames[] = {
14642 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14643 };
14644
14645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14648 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14650 {
14651 arg3 = wxString_in_helper(obj2);
14652 if (arg3 == NULL) SWIG_fail;
14653 temp3 = True;
14654 }
14655 if (obj3) {
c32bde28 14656 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc
RD
14657 if (PyErr_Occurred()) SWIG_fail;
14658 }
14659 {
0439c23b 14660 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14661 PyThreadState* __tstate = wxPyBeginAllowThreads();
14662 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
14663
14664 wxPyEndAllowThreads(__tstate);
110da5b0 14665 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14666 }
14667 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
14668 {
14669 if (temp3)
14670 delete arg3;
14671 }
14672 return resultobj;
14673 fail:
14674 {
14675 if (temp3)
14676 delete arg3;
14677 }
14678 return NULL;
14679}
14680
14681
c32bde28 14682static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14683 PyObject *resultobj;
14684 wxFindReplaceDialog *result;
14685 char *kwnames[] = {
14686 NULL
14687 };
14688
14689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
14690 {
0439c23b 14691 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14692 PyThreadState* __tstate = wxPyBeginAllowThreads();
14693 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
14694
14695 wxPyEndAllowThreads(__tstate);
110da5b0 14696 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14697 }
14698 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
14699 return resultobj;
14700 fail:
14701 return NULL;
14702}
14703
14704
c32bde28 14705static PyObject *_wrap_FindReplaceDialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14706 PyObject *resultobj;
14707 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14708 wxWindow *arg2 = (wxWindow *) 0 ;
14709 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
14710 wxString *arg4 = 0 ;
14711 int arg5 = (int) 0 ;
14712 bool result;
14713 bool temp4 = False ;
14714 PyObject * obj0 = 0 ;
14715 PyObject * obj1 = 0 ;
14716 PyObject * obj2 = 0 ;
14717 PyObject * obj3 = 0 ;
14718 PyObject * obj4 = 0 ;
14719 char *kwnames[] = {
14720 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14721 };
14722
14723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14726 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14728 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFindReplaceData,
14729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14730 {
14731 arg4 = wxString_in_helper(obj3);
14732 if (arg4 == NULL) SWIG_fail;
14733 temp4 = True;
14734 }
14735 if (obj4) {
c32bde28 14736 arg5 = (int)SWIG_As_int(obj4);
d55e5bfc
RD
14737 if (PyErr_Occurred()) SWIG_fail;
14738 }
14739 {
14740 PyThreadState* __tstate = wxPyBeginAllowThreads();
14741 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
14742
14743 wxPyEndAllowThreads(__tstate);
14744 if (PyErr_Occurred()) SWIG_fail;
14745 }
14746 {
14747 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14748 }
14749 {
14750 if (temp4)
14751 delete arg4;
14752 }
14753 return resultobj;
14754 fail:
14755 {
14756 if (temp4)
14757 delete arg4;
14758 }
14759 return NULL;
14760}
14761
14762
c32bde28 14763static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14764 PyObject *resultobj;
14765 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14766 wxFindReplaceData *result;
14767 PyObject * obj0 = 0 ;
14768 char *kwnames[] = {
14769 (char *) "self", NULL
14770 };
14771
14772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
14773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14775 {
14776 PyThreadState* __tstate = wxPyBeginAllowThreads();
14777 result = (wxFindReplaceData *)(arg1)->GetData();
14778
14779 wxPyEndAllowThreads(__tstate);
14780 if (PyErr_Occurred()) SWIG_fail;
14781 }
14782 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
14783 return resultobj;
14784 fail:
14785 return NULL;
14786}
14787
14788
c32bde28 14789static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14790 PyObject *resultobj;
14791 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14792 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14793 PyObject * obj0 = 0 ;
14794 PyObject * obj1 = 0 ;
14795 char *kwnames[] = {
14796 (char *) "self",(char *) "data", NULL
14797 };
14798
14799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
14800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14802 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14804 {
14805 PyThreadState* __tstate = wxPyBeginAllowThreads();
14806 (arg1)->SetData(arg2);
14807
14808 wxPyEndAllowThreads(__tstate);
14809 if (PyErr_Occurred()) SWIG_fail;
14810 }
14811 Py_INCREF(Py_None); resultobj = Py_None;
14812 return resultobj;
14813 fail:
14814 return NULL;
14815}
14816
14817
c32bde28 14818static PyObject * FindReplaceDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14819 PyObject *obj;
14820 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14821 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
14822 Py_INCREF(obj);
14823 return Py_BuildValue((char *)"");
14824}
c32bde28 14825static PyObject *_wrap_new_MDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14826 PyObject *resultobj;
14827 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
14828 int arg2 = (int) (int)-1 ;
14829 wxString const &arg3_defvalue = wxPyEmptyString ;
14830 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
14831 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14832 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14833 wxSize const &arg5_defvalue = wxDefaultSize ;
14834 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14835 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14836 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14837 wxString *arg7 = (wxString *) &arg7_defvalue ;
14838 wxMDIParentFrame *result;
14839 bool temp3 = False ;
14840 wxPoint temp4 ;
14841 wxSize temp5 ;
14842 bool temp7 = False ;
14843 PyObject * obj0 = 0 ;
14844 PyObject * obj1 = 0 ;
14845 PyObject * obj2 = 0 ;
14846 PyObject * obj3 = 0 ;
14847 PyObject * obj4 = 0 ;
14848 PyObject * obj5 = 0 ;
14849 PyObject * obj6 = 0 ;
14850 char *kwnames[] = {
14851 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14852 };
14853
248ed943 14854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d55e5bfc
RD
14855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 14857 if (obj1) {
c32bde28 14858 arg2 = (int)SWIG_As_int(obj1);
248ed943
RD
14859 if (PyErr_Occurred()) SWIG_fail;
14860 }
14861 if (obj2) {
14862 {
14863 arg3 = wxString_in_helper(obj2);
14864 if (arg3 == NULL) SWIG_fail;
14865 temp3 = True;
14866 }
d55e5bfc
RD
14867 }
14868 if (obj3) {
14869 {
14870 arg4 = &temp4;
14871 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14872 }
14873 }
14874 if (obj4) {
14875 {
14876 arg5 = &temp5;
14877 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14878 }
14879 }
14880 if (obj5) {
c32bde28 14881 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
14882 if (PyErr_Occurred()) SWIG_fail;
14883 }
14884 if (obj6) {
14885 {
14886 arg7 = wxString_in_helper(obj6);
14887 if (arg7 == NULL) SWIG_fail;
14888 temp7 = True;
14889 }
14890 }
14891 {
0439c23b 14892 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14893 PyThreadState* __tstate = wxPyBeginAllowThreads();
14894 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14895
14896 wxPyEndAllowThreads(__tstate);
110da5b0 14897 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14898 }
14899 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14900 {
14901 if (temp3)
14902 delete arg3;
14903 }
14904 {
14905 if (temp7)
14906 delete arg7;
14907 }
14908 return resultobj;
14909 fail:
14910 {
14911 if (temp3)
14912 delete arg3;
14913 }
14914 {
14915 if (temp7)
14916 delete arg7;
14917 }
14918 return NULL;
14919}
14920
14921
c32bde28 14922static PyObject *_wrap_new_PreMDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14923 PyObject *resultobj;
14924 wxMDIParentFrame *result;
14925 char *kwnames[] = {
14926 NULL
14927 };
14928
14929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
14930 {
0439c23b 14931 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14932 PyThreadState* __tstate = wxPyBeginAllowThreads();
14933 result = (wxMDIParentFrame *)new wxMDIParentFrame();
14934
14935 wxPyEndAllowThreads(__tstate);
110da5b0 14936 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14937 }
14938 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14939 return resultobj;
14940 fail:
14941 return NULL;
14942}
14943
14944
c32bde28 14945static PyObject *_wrap_MDIParentFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14946 PyObject *resultobj;
14947 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14948 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
14949 int arg3 = (int) (int)-1 ;
14950 wxString const &arg4_defvalue = wxPyEmptyString ;
14951 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
14952 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14953 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14954 wxSize const &arg6_defvalue = wxDefaultSize ;
14955 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14956 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14957 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14958 wxString *arg8 = (wxString *) &arg8_defvalue ;
14959 bool result;
14960 bool temp4 = False ;
14961 wxPoint temp5 ;
14962 wxSize temp6 ;
14963 bool temp8 = False ;
14964 PyObject * obj0 = 0 ;
14965 PyObject * obj1 = 0 ;
14966 PyObject * obj2 = 0 ;
14967 PyObject * obj3 = 0 ;
14968 PyObject * obj4 = 0 ;
14969 PyObject * obj5 = 0 ;
14970 PyObject * obj6 = 0 ;
14971 PyObject * obj7 = 0 ;
14972 char *kwnames[] = {
14973 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14974 };
14975
248ed943 14976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d55e5bfc
RD
14977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14979 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 14981 if (obj2) {
c32bde28 14982 arg3 = (int)SWIG_As_int(obj2);
248ed943
RD
14983 if (PyErr_Occurred()) SWIG_fail;
14984 }
14985 if (obj3) {
14986 {
14987 arg4 = wxString_in_helper(obj3);
14988 if (arg4 == NULL) SWIG_fail;
14989 temp4 = True;
14990 }
d55e5bfc
RD
14991 }
14992 if (obj4) {
14993 {
14994 arg5 = &temp5;
14995 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14996 }
14997 }
14998 if (obj5) {
14999 {
15000 arg6 = &temp6;
15001 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
15002 }
15003 }
15004 if (obj6) {
c32bde28 15005 arg7 = (long)SWIG_As_long(obj6);
d55e5bfc
RD
15006 if (PyErr_Occurred()) SWIG_fail;
15007 }
15008 if (obj7) {
15009 {
15010 arg8 = wxString_in_helper(obj7);
15011 if (arg8 == NULL) SWIG_fail;
15012 temp8 = True;
15013 }
15014 }
15015 {
15016 PyThreadState* __tstate = wxPyBeginAllowThreads();
15017 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
15018
15019 wxPyEndAllowThreads(__tstate);
15020 if (PyErr_Occurred()) SWIG_fail;
15021 }
15022 {
15023 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15024 }
15025 {
15026 if (temp4)
15027 delete arg4;
15028 }
15029 {
15030 if (temp8)
15031 delete arg8;
15032 }
15033 return resultobj;
15034 fail:
15035 {
15036 if (temp4)
15037 delete arg4;
15038 }
15039 {
15040 if (temp8)
15041 delete arg8;
15042 }
15043 return NULL;
15044}
15045
15046
c32bde28 15047static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15048 PyObject *resultobj;
15049 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15050 PyObject * obj0 = 0 ;
15051 char *kwnames[] = {
15052 (char *) "self", NULL
15053 };
15054
15055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
15056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15058 {
15059 PyThreadState* __tstate = wxPyBeginAllowThreads();
15060 (arg1)->ActivateNext();
15061
15062 wxPyEndAllowThreads(__tstate);
15063 if (PyErr_Occurred()) SWIG_fail;
15064 }
15065 Py_INCREF(Py_None); resultobj = Py_None;
15066 return resultobj;
15067 fail:
15068 return NULL;
15069}
15070
15071
c32bde28 15072static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15073 PyObject *resultobj;
15074 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15075 PyObject * obj0 = 0 ;
15076 char *kwnames[] = {
15077 (char *) "self", NULL
15078 };
15079
15080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
15081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15083 {
15084 PyThreadState* __tstate = wxPyBeginAllowThreads();
15085 (arg1)->ActivatePrevious();
15086
15087 wxPyEndAllowThreads(__tstate);
15088 if (PyErr_Occurred()) SWIG_fail;
15089 }
15090 Py_INCREF(Py_None); resultobj = Py_None;
15091 return resultobj;
15092 fail:
15093 return NULL;
15094}
15095
15096
c32bde28 15097static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15098 PyObject *resultobj;
15099 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15100 PyObject * obj0 = 0 ;
15101 char *kwnames[] = {
15102 (char *) "self", NULL
15103 };
15104
15105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
15106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15108 {
15109 PyThreadState* __tstate = wxPyBeginAllowThreads();
15110 (arg1)->ArrangeIcons();
15111
15112 wxPyEndAllowThreads(__tstate);
15113 if (PyErr_Occurred()) SWIG_fail;
15114 }
15115 Py_INCREF(Py_None); resultobj = Py_None;
15116 return resultobj;
15117 fail:
15118 return NULL;
15119}
15120
15121
c32bde28 15122static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15123 PyObject *resultobj;
15124 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15125 PyObject * obj0 = 0 ;
15126 char *kwnames[] = {
15127 (char *) "self", NULL
15128 };
15129
15130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
15131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15133 {
15134 PyThreadState* __tstate = wxPyBeginAllowThreads();
15135 (arg1)->Cascade();
15136
15137 wxPyEndAllowThreads(__tstate);
15138 if (PyErr_Occurred()) SWIG_fail;
15139 }
15140 Py_INCREF(Py_None); resultobj = Py_None;
15141 return resultobj;
15142 fail:
15143 return NULL;
15144}
15145
15146
c32bde28 15147static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15148 PyObject *resultobj;
15149 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15150 wxMDIChildFrame *result;
15151 PyObject * obj0 = 0 ;
15152 char *kwnames[] = {
15153 (char *) "self", NULL
15154 };
15155
15156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
15157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15159 {
15160 PyThreadState* __tstate = wxPyBeginAllowThreads();
15161 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
15162
15163 wxPyEndAllowThreads(__tstate);
15164 if (PyErr_Occurred()) SWIG_fail;
15165 }
15166 {
412d302d 15167 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
15168 }
15169 return resultobj;
15170 fail:
15171 return NULL;
15172}
15173
15174
c32bde28 15175static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15176 PyObject *resultobj;
15177 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15178 wxMDIClientWindow *result;
15179 PyObject * obj0 = 0 ;
15180 char *kwnames[] = {
15181 (char *) "self", NULL
15182 };
15183
15184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
15185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15187 {
15188 PyThreadState* __tstate = wxPyBeginAllowThreads();
15189 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
15190
15191 wxPyEndAllowThreads(__tstate);
15192 if (PyErr_Occurred()) SWIG_fail;
15193 }
15194 {
412d302d 15195 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
15196 }
15197 return resultobj;
15198 fail:
15199 return NULL;
15200}
15201
15202
c32bde28 15203static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15204 PyObject *resultobj;
15205 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15206 wxWindow *result;
15207 PyObject * obj0 = 0 ;
15208 char *kwnames[] = {
15209 (char *) "self", NULL
15210 };
15211
15212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
15213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15215 {
15216 PyThreadState* __tstate = wxPyBeginAllowThreads();
15217 result = (wxWindow *)(arg1)->GetToolBar();
15218
15219 wxPyEndAllowThreads(__tstate);
15220 if (PyErr_Occurred()) SWIG_fail;
15221 }
15222 {
412d302d 15223 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
15224 }
15225 return resultobj;
15226 fail:
15227 return NULL;
15228}
15229
15230
c32bde28 15231static PyObject *_wrap_MDIParentFrame_GetWindowMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15232 PyObject *resultobj;
15233 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15234 wxMenu *result;
15235 PyObject * obj0 = 0 ;
15236 char *kwnames[] = {
15237 (char *) "self", NULL
15238 };
15239
15240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetWindowMenu",kwnames,&obj0)) goto fail;
15241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15243 {
15244 PyThreadState* __tstate = wxPyBeginAllowThreads();
15245 result = (wxMenu *)(arg1)->GetWindowMenu();
15246
15247 wxPyEndAllowThreads(__tstate);
15248 if (PyErr_Occurred()) SWIG_fail;
15249 }
15250 {
412d302d 15251 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
15252 }
15253 return resultobj;
15254 fail:
15255 return NULL;
15256}
15257
15258
c32bde28 15259static PyObject *_wrap_MDIParentFrame_SetWindowMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15260 PyObject *resultobj;
15261 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15262 wxMenu *arg2 = (wxMenu *) 0 ;
15263 PyObject * obj0 = 0 ;
15264 PyObject * obj1 = 0 ;
15265 char *kwnames[] = {
15266 (char *) "self",(char *) "menu", NULL
15267 };
15268
15269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames,&obj0,&obj1)) goto fail;
15270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15272 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
15273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15274 {
15275 PyThreadState* __tstate = wxPyBeginAllowThreads();
15276 (arg1)->SetWindowMenu(arg2);
15277
15278 wxPyEndAllowThreads(__tstate);
15279 if (PyErr_Occurred()) SWIG_fail;
15280 }
15281 Py_INCREF(Py_None); resultobj = Py_None;
15282 return resultobj;
15283 fail:
15284 return NULL;
15285}
15286
15287
c32bde28 15288static PyObject *_wrap_MDIParentFrame_SetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15289 PyObject *resultobj;
15290 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15291 wxToolBar *arg2 = (wxToolBar *) 0 ;
15292 PyObject * obj0 = 0 ;
15293 PyObject * obj1 = 0 ;
15294 char *kwnames[] = {
15295 (char *) "self",(char *) "toolbar", NULL
15296 };
15297
15298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
15299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15301 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar,
15302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15303 {
15304 PyThreadState* __tstate = wxPyBeginAllowThreads();
15305 (arg1)->SetToolBar(arg2);
15306
15307 wxPyEndAllowThreads(__tstate);
15308 if (PyErr_Occurred()) SWIG_fail;
15309 }
15310 Py_INCREF(Py_None); resultobj = Py_None;
15311 return resultobj;
15312 fail:
15313 return NULL;
15314}
15315
15316
c32bde28 15317static PyObject *_wrap_MDIParentFrame_Tile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15318 PyObject *resultobj;
15319 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15320 PyObject * obj0 = 0 ;
15321 char *kwnames[] = {
15322 (char *) "self", NULL
15323 };
15324
15325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
15326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15328 {
15329 PyThreadState* __tstate = wxPyBeginAllowThreads();
15330 (arg1)->Tile();
15331
15332 wxPyEndAllowThreads(__tstate);
15333 if (PyErr_Occurred()) SWIG_fail;
15334 }
15335 Py_INCREF(Py_None); resultobj = Py_None;
15336 return resultobj;
15337 fail:
15338 return NULL;
15339}
15340
15341
c32bde28 15342static PyObject * MDIParentFrame_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
15343 PyObject *obj;
15344 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15345 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
15346 Py_INCREF(obj);
15347 return Py_BuildValue((char *)"");
15348}
c32bde28 15349static PyObject *_wrap_new_MDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15350 PyObject *resultobj;
15351 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
248ed943
RD
15352 int arg2 = (int) (int)-1 ;
15353 wxString const &arg3_defvalue = wxPyEmptyString ;
15354 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
15355 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15356 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15357 wxSize const &arg5_defvalue = wxDefaultSize ;
15358 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15359 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
15360 wxString const &arg7_defvalue = wxPyFrameNameStr ;
15361 wxString *arg7 = (wxString *) &arg7_defvalue ;
15362 wxMDIChildFrame *result;
15363 bool temp3 = False ;
15364 wxPoint temp4 ;
15365 wxSize temp5 ;
15366 bool temp7 = False ;
15367 PyObject * obj0 = 0 ;
15368 PyObject * obj1 = 0 ;
15369 PyObject * obj2 = 0 ;
15370 PyObject * obj3 = 0 ;
15371 PyObject * obj4 = 0 ;
15372 PyObject * obj5 = 0 ;
15373 PyObject * obj6 = 0 ;
15374 char *kwnames[] = {
15375 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15376 };
15377
248ed943 15378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d55e5bfc
RD
15379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 15381 if (obj1) {
c32bde28 15382 arg2 = (int)SWIG_As_int(obj1);
248ed943
RD
15383 if (PyErr_Occurred()) SWIG_fail;
15384 }
15385 if (obj2) {
15386 {
15387 arg3 = wxString_in_helper(obj2);
15388 if (arg3 == NULL) SWIG_fail;
15389 temp3 = True;
15390 }
d55e5bfc
RD
15391 }
15392 if (obj3) {
15393 {
15394 arg4 = &temp4;
15395 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15396 }
15397 }
15398 if (obj4) {
15399 {
15400 arg5 = &temp5;
15401 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15402 }
15403 }
15404 if (obj5) {
c32bde28 15405 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
15406 if (PyErr_Occurred()) SWIG_fail;
15407 }
15408 if (obj6) {
15409 {
15410 arg7 = wxString_in_helper(obj6);
15411 if (arg7 == NULL) SWIG_fail;
15412 temp7 = True;
15413 }
15414 }
15415 {
0439c23b 15416 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15417 PyThreadState* __tstate = wxPyBeginAllowThreads();
15418 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15419
15420 wxPyEndAllowThreads(__tstate);
110da5b0 15421 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 15422 }
b0f7404b 15423 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
d55e5bfc
RD
15424 {
15425 if (temp3)
15426 delete arg3;
15427 }
15428 {
15429 if (temp7)
15430 delete arg7;
15431 }
15432 return resultobj;
15433 fail:
15434 {
15435 if (temp3)
15436 delete arg3;
15437 }
15438 {
15439 if (temp7)
15440 delete arg7;
15441 }
15442 return NULL;
15443}
15444
15445
c32bde28 15446static PyObject *_wrap_new_PreMDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15447 PyObject *resultobj;
15448 wxMDIChildFrame *result;
15449 char *kwnames[] = {
15450 NULL
15451 };
15452
15453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
15454 {
0439c23b 15455 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15456 PyThreadState* __tstate = wxPyBeginAllowThreads();
15457 result = (wxMDIChildFrame *)new wxMDIChildFrame();
15458
15459 wxPyEndAllowThreads(__tstate);
110da5b0 15460 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 15461 }
b0f7404b 15462 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
d55e5bfc
RD
15463 return resultobj;
15464 fail:
15465 return NULL;
15466}
15467
15468
c32bde28 15469static PyObject *_wrap_MDIChildFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15470 PyObject *resultobj;
15471 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15472 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
248ed943
RD
15473 int arg3 = (int) (int)-1 ;
15474 wxString const &arg4_defvalue = wxPyEmptyString ;
15475 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
15476 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15477 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15478 wxSize const &arg6_defvalue = wxDefaultSize ;
15479 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
15480 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
15481 wxString const &arg8_defvalue = wxPyFrameNameStr ;
15482 wxString *arg8 = (wxString *) &arg8_defvalue ;
15483 bool result;
15484 bool temp4 = False ;
15485 wxPoint temp5 ;
15486 wxSize temp6 ;
15487 bool temp8 = False ;
15488 PyObject * obj0 = 0 ;
15489 PyObject * obj1 = 0 ;
15490 PyObject * obj2 = 0 ;
15491 PyObject * obj3 = 0 ;
15492 PyObject * obj4 = 0 ;
15493 PyObject * obj5 = 0 ;
15494 PyObject * obj6 = 0 ;
15495 PyObject * obj7 = 0 ;
15496 char *kwnames[] = {
15497 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15498 };
15499
248ed943 15500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d55e5bfc
RD
15501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15503 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
15504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 15505 if (obj2) {
c32bde28 15506 arg3 = (int)SWIG_As_int(obj2);
248ed943
RD
15507 if (PyErr_Occurred()) SWIG_fail;
15508 }
15509 if (obj3) {
15510 {
15511 arg4 = wxString_in_helper(obj3);
15512 if (arg4 == NULL) SWIG_fail;
15513 temp4 = True;
15514 }
d55e5bfc
RD
15515 }
15516 if (obj4) {
15517 {
15518 arg5 = &temp5;
15519 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15520 }
15521 }
15522 if (obj5) {
15523 {
15524 arg6 = &temp6;
15525 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
15526 }
15527 }
15528 if (obj6) {
c32bde28 15529 arg7 = (long)SWIG_As_long(obj6);
d55e5bfc
RD
15530 if (PyErr_Occurred()) SWIG_fail;
15531 }
15532 if (obj7) {
15533 {
15534 arg8 = wxString_in_helper(obj7);
15535 if (arg8 == NULL) SWIG_fail;
15536 temp8 = True;
15537 }
15538 }
15539 {
15540 PyThreadState* __tstate = wxPyBeginAllowThreads();
15541 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
15542
15543 wxPyEndAllowThreads(__tstate);
15544 if (PyErr_Occurred()) SWIG_fail;
15545 }
15546 {
15547 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15548 }
15549 {
15550 if (temp4)
15551 delete arg4;
15552 }
15553 {
15554 if (temp8)
15555 delete arg8;
15556 }
15557 return resultobj;
15558 fail:
15559 {
15560 if (temp4)
15561 delete arg4;
15562 }
15563 {
15564 if (temp8)
15565 delete arg8;
15566 }
15567 return NULL;
15568}
15569
15570
c32bde28 15571static PyObject *_wrap_MDIChildFrame_Activate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15572 PyObject *resultobj;
15573 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15574 PyObject * obj0 = 0 ;
15575 char *kwnames[] = {
15576 (char *) "self", NULL
15577 };
15578
15579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
15580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15582 {
15583 PyThreadState* __tstate = wxPyBeginAllowThreads();
15584 (arg1)->Activate();
15585
15586 wxPyEndAllowThreads(__tstate);
15587 if (PyErr_Occurred()) SWIG_fail;
15588 }
15589 Py_INCREF(Py_None); resultobj = Py_None;
15590 return resultobj;
15591 fail:
15592 return NULL;
15593}
15594
15595
c32bde28 15596static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15597 PyObject *resultobj;
15598 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15599 bool arg2 ;
15600 PyObject * obj0 = 0 ;
15601 PyObject * obj1 = 0 ;
15602 char *kwnames[] = {
15603 (char *) "self",(char *) "maximize", NULL
15604 };
15605
15606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
15607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 15609 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
15610 if (PyErr_Occurred()) SWIG_fail;
15611 {
15612 PyThreadState* __tstate = wxPyBeginAllowThreads();
15613 (arg1)->Maximize(arg2);
15614
15615 wxPyEndAllowThreads(__tstate);
15616 if (PyErr_Occurred()) SWIG_fail;
15617 }
15618 Py_INCREF(Py_None); resultobj = Py_None;
15619 return resultobj;
15620 fail:
15621 return NULL;
15622}
15623
15624
c32bde28 15625static PyObject *_wrap_MDIChildFrame_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15626 PyObject *resultobj;
15627 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15628 PyObject * obj0 = 0 ;
15629 char *kwnames[] = {
15630 (char *) "self", NULL
15631 };
15632
15633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
15634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15636 {
15637 PyThreadState* __tstate = wxPyBeginAllowThreads();
15638 (arg1)->Restore();
15639
15640 wxPyEndAllowThreads(__tstate);
15641 if (PyErr_Occurred()) SWIG_fail;
15642 }
15643 Py_INCREF(Py_None); resultobj = Py_None;
15644 return resultobj;
15645 fail:
15646 return NULL;
15647}
15648
15649
c32bde28 15650static PyObject * MDIChildFrame_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
15651 PyObject *obj;
15652 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15653 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
15654 Py_INCREF(obj);
15655 return Py_BuildValue((char *)"");
15656}
c32bde28 15657static PyObject *_wrap_new_MDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15658 PyObject *resultobj;
15659 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15660 long arg2 = (long) 0 ;
15661 wxMDIClientWindow *result;
15662 PyObject * obj0 = 0 ;
15663 PyObject * obj1 = 0 ;
15664 char *kwnames[] = {
15665 (char *) "parent",(char *) "style", NULL
15666 };
15667
15668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
15669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15671 if (obj1) {
c32bde28 15672 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
15673 if (PyErr_Occurred()) SWIG_fail;
15674 }
15675 {
0439c23b 15676 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15677 PyThreadState* __tstate = wxPyBeginAllowThreads();
15678 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
15679
15680 wxPyEndAllowThreads(__tstate);
110da5b0 15681 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 15682 }
b0f7404b 15683 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
d55e5bfc
RD
15684 return resultobj;
15685 fail:
15686 return NULL;
15687}
15688
15689
c32bde28 15690static PyObject *_wrap_new_PreMDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15691 PyObject *resultobj;
15692 wxMDIClientWindow *result;
15693 char *kwnames[] = {
15694 NULL
15695 };
15696
15697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
15698 {
0439c23b 15699 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15700 PyThreadState* __tstate = wxPyBeginAllowThreads();
15701 result = (wxMDIClientWindow *)new wxMDIClientWindow();
15702
15703 wxPyEndAllowThreads(__tstate);
110da5b0 15704 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 15705 }
b0f7404b 15706 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
d55e5bfc
RD
15707 return resultobj;
15708 fail:
15709 return NULL;
15710}
15711
15712
c32bde28 15713static PyObject *_wrap_MDIClientWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15714 PyObject *resultobj;
15715 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
15716 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
15717 long arg3 = (long) 0 ;
15718 bool result;
15719 PyObject * obj0 = 0 ;
15720 PyObject * obj1 = 0 ;
15721 PyObject * obj2 = 0 ;
15722 char *kwnames[] = {
15723 (char *) "self",(char *) "parent",(char *) "style", NULL
15724 };
15725
15726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
15727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIClientWindow,
15728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15729 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
15730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15731 if (obj2) {
c32bde28 15732 arg3 = (long)SWIG_As_long(obj2);
d55e5bfc
RD
15733 if (PyErr_Occurred()) SWIG_fail;
15734 }
15735 {
15736 PyThreadState* __tstate = wxPyBeginAllowThreads();
15737 result = (bool)(arg1)->Create(arg2,arg3);
15738
15739 wxPyEndAllowThreads(__tstate);
15740 if (PyErr_Occurred()) SWIG_fail;
15741 }
15742 {
15743 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15744 }
15745 return resultobj;
15746 fail:
15747 return NULL;
15748}
15749
15750
c32bde28 15751static PyObject * MDIClientWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
15752 PyObject *obj;
15753 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15754 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
15755 Py_INCREF(obj);
15756 return Py_BuildValue((char *)"");
15757}
c32bde28 15758static PyObject *_wrap_new_PyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15759 PyObject *resultobj;
15760 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 15761 int arg2 = (int) (int)-1 ;
d55e5bfc
RD
15762 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15763 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15764 wxSize const &arg4_defvalue = wxDefaultSize ;
15765 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15766 long arg5 = (long) 0 ;
15767 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15768 wxString *arg6 = (wxString *) &arg6_defvalue ;
15769 wxPyWindow *result;
15770 wxPoint temp3 ;
15771 wxSize temp4 ;
15772 bool temp6 = False ;
15773 PyObject * obj0 = 0 ;
15774 PyObject * obj1 = 0 ;
15775 PyObject * obj2 = 0 ;
15776 PyObject * obj3 = 0 ;
15777 PyObject * obj4 = 0 ;
15778 PyObject * obj5 = 0 ;
15779 char *kwnames[] = {
15780 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15781 };
15782
248ed943 15783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d55e5bfc
RD
15784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 15786 if (obj1) {
c32bde28 15787 arg2 = (int)SWIG_As_int(obj1);
248ed943
RD
15788 if (PyErr_Occurred()) SWIG_fail;
15789 }
d55e5bfc
RD
15790 if (obj2) {
15791 {
15792 arg3 = &temp3;
15793 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15794 }
15795 }
15796 if (obj3) {
15797 {
15798 arg4 = &temp4;
15799 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15800 }
15801 }
15802 if (obj4) {
c32bde28 15803 arg5 = (long)SWIG_As_long(obj4);
d55e5bfc
RD
15804 if (PyErr_Occurred()) SWIG_fail;
15805 }
15806 if (obj5) {
15807 {
15808 arg6 = wxString_in_helper(obj5);
15809 if (arg6 == NULL) SWIG_fail;
15810 temp6 = True;
15811 }
15812 }
15813 {
0439c23b 15814 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15815 PyThreadState* __tstate = wxPyBeginAllowThreads();
15816 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15817
15818 wxPyEndAllowThreads(__tstate);
110da5b0 15819 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
15820 }
15821 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15822 {
15823 if (temp6)
15824 delete arg6;
15825 }
15826 return resultobj;
15827 fail:
15828 {
15829 if (temp6)
15830 delete arg6;
15831 }
15832 return NULL;
15833}
15834
15835
c32bde28 15836static PyObject *_wrap_new_PrePyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15837 PyObject *resultobj;
15838 wxPyWindow *result;
15839 char *kwnames[] = {
15840 NULL
15841 };
15842
15843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail;
15844 {
0439c23b 15845 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15846 PyThreadState* __tstate = wxPyBeginAllowThreads();
15847 result = (wxPyWindow *)new wxPyWindow();
15848
15849 wxPyEndAllowThreads(__tstate);
110da5b0 15850 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
15851 }
15852 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15853 return resultobj;
15854 fail:
15855 return NULL;
15856}
15857
15858
c32bde28 15859static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15860 PyObject *resultobj;
15861 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15862 PyObject *arg2 = (PyObject *) 0 ;
15863 PyObject *arg3 = (PyObject *) 0 ;
15864 PyObject * obj0 = 0 ;
15865 PyObject * obj1 = 0 ;
15866 PyObject * obj2 = 0 ;
15867 char *kwnames[] = {
15868 (char *) "self",(char *) "self",(char *) "_class", NULL
15869 };
15870
15871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15872 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15874 arg2 = obj1;
15875 arg3 = obj2;
15876 {
15877 PyThreadState* __tstate = wxPyBeginAllowThreads();
15878 (arg1)->_setCallbackInfo(arg2,arg3);
15879
15880 wxPyEndAllowThreads(__tstate);
15881 if (PyErr_Occurred()) SWIG_fail;
15882 }
15883 Py_INCREF(Py_None); resultobj = Py_None;
15884 return resultobj;
15885 fail:
15886 return NULL;
15887}
15888
15889
c32bde28 15890static PyObject *_wrap_PyWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
caef1a4d
RD
15891 PyObject *resultobj;
15892 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15893 wxSize *arg2 = 0 ;
15894 wxSize temp2 ;
15895 PyObject * obj0 = 0 ;
15896 PyObject * obj1 = 0 ;
15897 char *kwnames[] = {
15898 (char *) "self",(char *) "size", NULL
15899 };
15900
15901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
15902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15904 {
15905 arg2 = &temp2;
15906 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15907 }
15908 {
15909 PyThreadState* __tstate = wxPyBeginAllowThreads();
15910 (arg1)->SetBestSize((wxSize const &)*arg2);
15911
15912 wxPyEndAllowThreads(__tstate);
15913 if (PyErr_Occurred()) SWIG_fail;
15914 }
15915 Py_INCREF(Py_None); resultobj = Py_None;
15916 return resultobj;
15917 fail:
15918 return NULL;
15919}
15920
15921
c32bde28 15922static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15923 PyObject *resultobj;
15924 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15925 int arg2 ;
15926 int arg3 ;
15927 int arg4 ;
15928 int arg5 ;
15929 PyObject * obj0 = 0 ;
15930 PyObject * obj1 = 0 ;
15931 PyObject * obj2 = 0 ;
15932 PyObject * obj3 = 0 ;
15933 PyObject * obj4 = 0 ;
15934 char *kwnames[] = {
15935 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15936 };
15937
15938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 15941 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 15942 if (PyErr_Occurred()) SWIG_fail;
c32bde28 15943 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc 15944 if (PyErr_Occurred()) SWIG_fail;
c32bde28 15945 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc 15946 if (PyErr_Occurred()) SWIG_fail;
c32bde28 15947 arg5 = (int)SWIG_As_int(obj4);
d55e5bfc
RD
15948 if (PyErr_Occurred()) SWIG_fail;
15949 {
15950 PyThreadState* __tstate = wxPyBeginAllowThreads();
15951 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
15952
15953 wxPyEndAllowThreads(__tstate);
15954 if (PyErr_Occurred()) SWIG_fail;
15955 }
15956 Py_INCREF(Py_None); resultobj = Py_None;
15957 return resultobj;
15958 fail:
15959 return NULL;
15960}
15961
15962
c32bde28 15963static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15964 PyObject *resultobj;
15965 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15966 int arg2 ;
15967 int arg3 ;
15968 int arg4 ;
15969 int arg5 ;
15970 int arg6 = (int) wxSIZE_AUTO ;
15971 PyObject * obj0 = 0 ;
15972 PyObject * obj1 = 0 ;
15973 PyObject * obj2 = 0 ;
15974 PyObject * obj3 = 0 ;
15975 PyObject * obj4 = 0 ;
15976 PyObject * obj5 = 0 ;
15977 char *kwnames[] = {
15978 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15979 };
15980
15981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 15984 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 15985 if (PyErr_Occurred()) SWIG_fail;
c32bde28 15986 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc 15987 if (PyErr_Occurred()) SWIG_fail;
c32bde28 15988 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc 15989 if (PyErr_Occurred()) SWIG_fail;
c32bde28 15990 arg5 = (int)SWIG_As_int(obj4);
d55e5bfc
RD
15991 if (PyErr_Occurred()) SWIG_fail;
15992 if (obj5) {
c32bde28 15993 arg6 = (int)SWIG_As_int(obj5);
d55e5bfc
RD
15994 if (PyErr_Occurred()) SWIG_fail;
15995 }
15996 {
15997 PyThreadState* __tstate = wxPyBeginAllowThreads();
15998 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
15999
16000 wxPyEndAllowThreads(__tstate);
16001 if (PyErr_Occurred()) SWIG_fail;
16002 }
16003 Py_INCREF(Py_None); resultobj = Py_None;
16004 return resultobj;
16005 fail:
16006 return NULL;
16007}
16008
16009
c32bde28 16010static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16011 PyObject *resultobj;
16012 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16013 int arg2 ;
16014 int arg3 ;
16015 PyObject * obj0 = 0 ;
16016 PyObject * obj1 = 0 ;
16017 PyObject * obj2 = 0 ;
16018 char *kwnames[] = {
16019 (char *) "self",(char *) "width",(char *) "height", NULL
16020 };
16021
16022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16025 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 16026 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16027 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
16028 if (PyErr_Occurred()) SWIG_fail;
16029 {
16030 PyThreadState* __tstate = wxPyBeginAllowThreads();
16031 (arg1)->base_DoSetClientSize(arg2,arg3);
16032
16033 wxPyEndAllowThreads(__tstate);
16034 if (PyErr_Occurred()) SWIG_fail;
16035 }
16036 Py_INCREF(Py_None); resultobj = Py_None;
16037 return resultobj;
16038 fail:
16039 return NULL;
16040}
16041
16042
c32bde28 16043static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16044 PyObject *resultobj;
16045 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16046 int arg2 ;
16047 int arg3 ;
16048 PyObject * obj0 = 0 ;
16049 PyObject * obj1 = 0 ;
16050 PyObject * obj2 = 0 ;
16051 char *kwnames[] = {
16052 (char *) "self",(char *) "x",(char *) "y", NULL
16053 };
16054
16055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16058 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 16059 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16060 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
16061 if (PyErr_Occurred()) SWIG_fail;
16062 {
16063 PyThreadState* __tstate = wxPyBeginAllowThreads();
16064 (arg1)->base_DoSetVirtualSize(arg2,arg3);
16065
16066 wxPyEndAllowThreads(__tstate);
16067 if (PyErr_Occurred()) SWIG_fail;
16068 }
16069 Py_INCREF(Py_None); resultobj = Py_None;
16070 return resultobj;
16071 fail:
16072 return NULL;
16073}
16074
16075
c32bde28 16076static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16077 PyObject *resultobj;
16078 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16079 int *arg2 = (int *) 0 ;
16080 int *arg3 = (int *) 0 ;
16081 int temp2 ;
c32bde28 16082 int res2 = 0 ;
d55e5bfc 16083 int temp3 ;
c32bde28 16084 int res3 = 0 ;
d55e5bfc
RD
16085 PyObject * obj0 = 0 ;
16086 char *kwnames[] = {
16087 (char *) "self", NULL
16088 };
16089
c32bde28
RD
16090 arg2 = &temp2; res2 = SWIG_NEWOBJ;
16091 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc
RD
16092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
16093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16095 {
16096 PyThreadState* __tstate = wxPyBeginAllowThreads();
16097 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
16098
16099 wxPyEndAllowThreads(__tstate);
16100 if (PyErr_Occurred()) SWIG_fail;
16101 }
16102 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
16103 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
16104 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
16105 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16106 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
16107 return resultobj;
16108 fail:
16109 return NULL;
16110}
16111
16112
c32bde28 16113static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16114 PyObject *resultobj;
16115 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16116 int *arg2 = (int *) 0 ;
16117 int *arg3 = (int *) 0 ;
16118 int temp2 ;
c32bde28 16119 int res2 = 0 ;
d55e5bfc 16120 int temp3 ;
c32bde28 16121 int res3 = 0 ;
d55e5bfc
RD
16122 PyObject * obj0 = 0 ;
16123 char *kwnames[] = {
16124 (char *) "self", NULL
16125 };
16126
c32bde28
RD
16127 arg2 = &temp2; res2 = SWIG_NEWOBJ;
16128 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc
RD
16129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
16130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16132 {
16133 PyThreadState* __tstate = wxPyBeginAllowThreads();
16134 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
16135
16136 wxPyEndAllowThreads(__tstate);
16137 if (PyErr_Occurred()) SWIG_fail;
16138 }
16139 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
16140 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
16141 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
16142 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16143 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
16144 return resultobj;
16145 fail:
16146 return NULL;
16147}
16148
16149
c32bde28 16150static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16151 PyObject *resultobj;
16152 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16153 int *arg2 = (int *) 0 ;
16154 int *arg3 = (int *) 0 ;
16155 int temp2 ;
c32bde28 16156 int res2 = 0 ;
d55e5bfc 16157 int temp3 ;
c32bde28 16158 int res3 = 0 ;
d55e5bfc
RD
16159 PyObject * obj0 = 0 ;
16160 char *kwnames[] = {
16161 (char *) "self", NULL
16162 };
16163
c32bde28
RD
16164 arg2 = &temp2; res2 = SWIG_NEWOBJ;
16165 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc
RD
16166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
16167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16169 {
16170 PyThreadState* __tstate = wxPyBeginAllowThreads();
16171 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
16172
16173 wxPyEndAllowThreads(__tstate);
16174 if (PyErr_Occurred()) SWIG_fail;
16175 }
16176 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
16177 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
16178 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
16179 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16180 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
16181 return resultobj;
16182 fail:
16183 return NULL;
16184}
16185
16186
c32bde28 16187static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16188 PyObject *resultobj;
16189 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16190 wxSize result;
16191 PyObject * obj0 = 0 ;
16192 char *kwnames[] = {
16193 (char *) "self", NULL
16194 };
16195
16196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
16197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16199 {
16200 PyThreadState* __tstate = wxPyBeginAllowThreads();
16201 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
16202
16203 wxPyEndAllowThreads(__tstate);
16204 if (PyErr_Occurred()) SWIG_fail;
16205 }
16206 {
16207 wxSize * resultptr;
16208 resultptr = new wxSize((wxSize &) result);
16209 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16210 }
16211 return resultobj;
16212 fail:
16213 return NULL;
16214}
16215
16216
c32bde28 16217static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16218 PyObject *resultobj;
16219 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16220 wxSize result;
16221 PyObject * obj0 = 0 ;
16222 char *kwnames[] = {
16223 (char *) "self", NULL
16224 };
16225
16226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
16227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16229 {
16230 PyThreadState* __tstate = wxPyBeginAllowThreads();
16231 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
16232
16233 wxPyEndAllowThreads(__tstate);
16234 if (PyErr_Occurred()) SWIG_fail;
16235 }
16236 {
16237 wxSize * resultptr;
16238 resultptr = new wxSize((wxSize &) result);
16239 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16240 }
16241 return resultobj;
16242 fail:
16243 return NULL;
16244}
16245
16246
c32bde28 16247static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16248 PyObject *resultobj;
16249 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16250 PyObject * obj0 = 0 ;
16251 char *kwnames[] = {
16252 (char *) "self", NULL
16253 };
16254
16255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
16256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16258 {
16259 PyThreadState* __tstate = wxPyBeginAllowThreads();
16260 (arg1)->base_InitDialog();
16261
16262 wxPyEndAllowThreads(__tstate);
16263 if (PyErr_Occurred()) SWIG_fail;
16264 }
16265 Py_INCREF(Py_None); resultobj = Py_None;
16266 return resultobj;
16267 fail:
16268 return NULL;
16269}
16270
16271
c32bde28 16272static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16273 PyObject *resultobj;
16274 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16275 bool result;
16276 PyObject * obj0 = 0 ;
16277 char *kwnames[] = {
16278 (char *) "self", NULL
16279 };
16280
16281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
16282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16284 {
16285 PyThreadState* __tstate = wxPyBeginAllowThreads();
16286 result = (bool)(arg1)->base_TransferDataToWindow();
16287
16288 wxPyEndAllowThreads(__tstate);
16289 if (PyErr_Occurred()) SWIG_fail;
16290 }
16291 {
16292 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16293 }
16294 return resultobj;
16295 fail:
16296 return NULL;
16297}
16298
16299
c32bde28 16300static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16301 PyObject *resultobj;
16302 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16303 bool result;
16304 PyObject * obj0 = 0 ;
16305 char *kwnames[] = {
16306 (char *) "self", NULL
16307 };
16308
16309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
16310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16312 {
16313 PyThreadState* __tstate = wxPyBeginAllowThreads();
16314 result = (bool)(arg1)->base_TransferDataFromWindow();
16315
16316 wxPyEndAllowThreads(__tstate);
16317 if (PyErr_Occurred()) SWIG_fail;
16318 }
16319 {
16320 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16321 }
16322 return resultobj;
16323 fail:
16324 return NULL;
16325}
16326
16327
c32bde28 16328static PyObject *_wrap_PyWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16329 PyObject *resultobj;
16330 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16331 bool result;
16332 PyObject * obj0 = 0 ;
16333 char *kwnames[] = {
16334 (char *) "self", NULL
16335 };
16336
16337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
16338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16340 {
16341 PyThreadState* __tstate = wxPyBeginAllowThreads();
16342 result = (bool)(arg1)->base_Validate();
16343
16344 wxPyEndAllowThreads(__tstate);
16345 if (PyErr_Occurred()) SWIG_fail;
16346 }
16347 {
16348 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16349 }
16350 return resultobj;
16351 fail:
16352 return NULL;
16353}
16354
16355
c32bde28 16356static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16357 PyObject *resultobj;
16358 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16359 bool result;
16360 PyObject * obj0 = 0 ;
16361 char *kwnames[] = {
16362 (char *) "self", NULL
16363 };
16364
16365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
16366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16368 {
16369 PyThreadState* __tstate = wxPyBeginAllowThreads();
16370 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
16371
16372 wxPyEndAllowThreads(__tstate);
16373 if (PyErr_Occurred()) SWIG_fail;
16374 }
16375 {
16376 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16377 }
16378 return resultobj;
16379 fail:
16380 return NULL;
16381}
16382
16383
c32bde28 16384static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16385 PyObject *resultobj;
16386 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16387 bool result;
16388 PyObject * obj0 = 0 ;
16389 char *kwnames[] = {
16390 (char *) "self", NULL
16391 };
16392
16393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
16394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16396 {
16397 PyThreadState* __tstate = wxPyBeginAllowThreads();
16398 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
16399
16400 wxPyEndAllowThreads(__tstate);
16401 if (PyErr_Occurred()) SWIG_fail;
16402 }
16403 {
16404 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16405 }
16406 return resultobj;
16407 fail:
16408 return NULL;
16409}
16410
16411
c32bde28 16412static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16413 PyObject *resultobj;
16414 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16415 wxSize result;
16416 PyObject * obj0 = 0 ;
16417 char *kwnames[] = {
16418 (char *) "self", NULL
16419 };
16420
16421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
16422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16424 {
16425 PyThreadState* __tstate = wxPyBeginAllowThreads();
16426 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
16427
16428 wxPyEndAllowThreads(__tstate);
16429 if (PyErr_Occurred()) SWIG_fail;
16430 }
16431 {
16432 wxSize * resultptr;
16433 resultptr = new wxSize((wxSize &) result);
16434 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16435 }
16436 return resultobj;
16437 fail:
16438 return NULL;
16439}
16440
16441
c32bde28 16442static PyObject *_wrap_PyWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16443 PyObject *resultobj;
16444 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16445 wxWindow *arg2 = (wxWindow *) 0 ;
16446 PyObject * obj0 = 0 ;
16447 PyObject * obj1 = 0 ;
16448 char *kwnames[] = {
16449 (char *) "self",(char *) "child", NULL
16450 };
16451
16452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
16453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16455 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16457 {
16458 PyThreadState* __tstate = wxPyBeginAllowThreads();
16459 (arg1)->base_AddChild(arg2);
16460
16461 wxPyEndAllowThreads(__tstate);
16462 if (PyErr_Occurred()) SWIG_fail;
16463 }
16464 Py_INCREF(Py_None); resultobj = Py_None;
16465 return resultobj;
16466 fail:
16467 return NULL;
16468}
16469
16470
c32bde28 16471static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16472 PyObject *resultobj;
16473 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16474 wxWindow *arg2 = (wxWindow *) 0 ;
16475 PyObject * obj0 = 0 ;
16476 PyObject * obj1 = 0 ;
16477 char *kwnames[] = {
16478 (char *) "self",(char *) "child", NULL
16479 };
16480
16481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
16482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16484 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16486 {
16487 PyThreadState* __tstate = wxPyBeginAllowThreads();
16488 (arg1)->base_RemoveChild(arg2);
16489
16490 wxPyEndAllowThreads(__tstate);
16491 if (PyErr_Occurred()) SWIG_fail;
16492 }
16493 Py_INCREF(Py_None); resultobj = Py_None;
16494 return resultobj;
16495 fail:
16496 return NULL;
16497}
16498
16499
c32bde28 16500static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16501 PyObject *resultobj;
16502 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16503 bool result;
16504 PyObject * obj0 = 0 ;
16505 char *kwnames[] = {
16506 (char *) "self", NULL
16507 };
16508
16509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
16510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16512 {
16513 PyThreadState* __tstate = wxPyBeginAllowThreads();
caef1a4d 16514 result = (bool)((wxPyWindow const *)arg1)->base_ShouldInheritColours();
d55e5bfc
RD
16515
16516 wxPyEndAllowThreads(__tstate);
16517 if (PyErr_Occurred()) SWIG_fail;
16518 }
16519 {
16520 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16521 }
16522 return resultobj;
16523 fail:
16524 return NULL;
16525}
16526
16527
c32bde28 16528static PyObject *_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16529 PyObject *resultobj;
16530 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16531 wxColour *arg2 = 0 ;
16532 wxColour temp2 ;
16533 PyObject * obj0 = 0 ;
16534 PyObject * obj1 = 0 ;
16535 char *kwnames[] = {
16536 (char *) "self",(char *) "c", NULL
16537 };
16538
16539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
16540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16542 {
16543 arg2 = &temp2;
16544 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16545 }
16546 {
16547 PyThreadState* __tstate = wxPyBeginAllowThreads();
16548 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
16549
16550 wxPyEndAllowThreads(__tstate);
16551 if (PyErr_Occurred()) SWIG_fail;
16552 }
16553 Py_INCREF(Py_None); resultobj = Py_None;
16554 return resultobj;
16555 fail:
16556 return NULL;
16557}
16558
16559
c32bde28 16560static PyObject *_wrap_PyWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
caef1a4d
RD
16561 PyObject *resultobj;
16562 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16563 wxVisualAttributes result;
16564 PyObject * obj0 = 0 ;
16565 char *kwnames[] = {
16566 (char *) "self", NULL
16567 };
16568
16569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
16570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16572 {
16573 PyThreadState* __tstate = wxPyBeginAllowThreads();
16574 result = (arg1)->base_GetDefaultAttributes();
16575
16576 wxPyEndAllowThreads(__tstate);
16577 if (PyErr_Occurred()) SWIG_fail;
16578 }
16579 {
16580 wxVisualAttributes * resultptr;
16581 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
16582 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16583 }
16584 return resultobj;
16585 fail:
16586 return NULL;
16587}
16588
16589
c32bde28 16590static PyObject * PyWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
16591 PyObject *obj;
16592 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16593 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
16594 Py_INCREF(obj);
16595 return Py_BuildValue((char *)"");
16596}
c32bde28 16597static PyObject *_wrap_new_PyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16598 PyObject *resultobj;
16599 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 16600 int arg2 = (int) (int)-1 ;
d55e5bfc
RD
16601 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16602 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16603 wxSize const &arg4_defvalue = wxDefaultSize ;
16604 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16605 long arg5 = (long) 0 ;
16606 wxString const &arg6_defvalue = wxPyPanelNameStr ;
16607 wxString *arg6 = (wxString *) &arg6_defvalue ;
16608 wxPyPanel *result;
16609 wxPoint temp3 ;
16610 wxSize temp4 ;
16611 bool temp6 = False ;
16612 PyObject * obj0 = 0 ;
16613 PyObject * obj1 = 0 ;
16614 PyObject * obj2 = 0 ;
16615 PyObject * obj3 = 0 ;
16616 PyObject * obj4 = 0 ;
16617 PyObject * obj5 = 0 ;
16618 char *kwnames[] = {
16619 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16620 };
16621
248ed943 16622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d55e5bfc
RD
16623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
16624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 16625 if (obj1) {
c32bde28 16626 arg2 = (int)SWIG_As_int(obj1);
248ed943
RD
16627 if (PyErr_Occurred()) SWIG_fail;
16628 }
d55e5bfc
RD
16629 if (obj2) {
16630 {
16631 arg3 = &temp3;
16632 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16633 }
16634 }
16635 if (obj3) {
16636 {
16637 arg4 = &temp4;
16638 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16639 }
16640 }
16641 if (obj4) {
c32bde28 16642 arg5 = (long)SWIG_As_long(obj4);
d55e5bfc
RD
16643 if (PyErr_Occurred()) SWIG_fail;
16644 }
16645 if (obj5) {
16646 {
16647 arg6 = wxString_in_helper(obj5);
16648 if (arg6 == NULL) SWIG_fail;
16649 temp6 = True;
16650 }
16651 }
16652 {
0439c23b 16653 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
16654 PyThreadState* __tstate = wxPyBeginAllowThreads();
16655 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
16656
16657 wxPyEndAllowThreads(__tstate);
110da5b0 16658 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
16659 }
16660 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
16661 {
16662 if (temp6)
16663 delete arg6;
16664 }
16665 return resultobj;
16666 fail:
16667 {
16668 if (temp6)
16669 delete arg6;
16670 }
16671 return NULL;
16672}
16673
16674
c32bde28 16675static PyObject *_wrap_new_PrePyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16676 PyObject *resultobj;
16677 wxPyPanel *result;
16678 char *kwnames[] = {
16679 NULL
16680 };
16681
16682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail;
16683 {
0439c23b 16684 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
16685 PyThreadState* __tstate = wxPyBeginAllowThreads();
16686 result = (wxPyPanel *)new wxPyPanel();
16687
16688 wxPyEndAllowThreads(__tstate);
110da5b0 16689 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
16690 }
16691 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
16692 return resultobj;
16693 fail:
16694 return NULL;
16695}
16696
16697
c32bde28 16698static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16699 PyObject *resultobj;
16700 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16701 PyObject *arg2 = (PyObject *) 0 ;
16702 PyObject *arg3 = (PyObject *) 0 ;
16703 PyObject * obj0 = 0 ;
16704 PyObject * obj1 = 0 ;
16705 PyObject * obj2 = 0 ;
16706 char *kwnames[] = {
16707 (char *) "self",(char *) "self",(char *) "_class", NULL
16708 };
16709
16710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
16711 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16713 arg2 = obj1;
16714 arg3 = obj2;
16715 {
16716 PyThreadState* __tstate = wxPyBeginAllowThreads();
16717 (arg1)->_setCallbackInfo(arg2,arg3);
16718
16719 wxPyEndAllowThreads(__tstate);
16720 if (PyErr_Occurred()) SWIG_fail;
16721 }
16722 Py_INCREF(Py_None); resultobj = Py_None;
16723 return resultobj;
16724 fail:
16725 return NULL;
16726}
16727
16728
c32bde28 16729static PyObject *_wrap_PyPanel_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
caef1a4d
RD
16730 PyObject *resultobj;
16731 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16732 wxSize *arg2 = 0 ;
16733 wxSize temp2 ;
16734 PyObject * obj0 = 0 ;
16735 PyObject * obj1 = 0 ;
16736 char *kwnames[] = {
16737 (char *) "self",(char *) "size", NULL
16738 };
16739
16740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
16741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16743 {
16744 arg2 = &temp2;
16745 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16746 }
16747 {
16748 PyThreadState* __tstate = wxPyBeginAllowThreads();
16749 (arg1)->SetBestSize((wxSize const &)*arg2);
16750
16751 wxPyEndAllowThreads(__tstate);
16752 if (PyErr_Occurred()) SWIG_fail;
16753 }
16754 Py_INCREF(Py_None); resultobj = Py_None;
16755 return resultobj;
16756 fail:
16757 return NULL;
16758}
16759
16760
c32bde28 16761static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16762 PyObject *resultobj;
16763 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16764 int arg2 ;
16765 int arg3 ;
16766 int arg4 ;
16767 int arg5 ;
16768 PyObject * obj0 = 0 ;
16769 PyObject * obj1 = 0 ;
16770 PyObject * obj2 = 0 ;
16771 PyObject * obj3 = 0 ;
16772 PyObject * obj4 = 0 ;
16773 char *kwnames[] = {
16774 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16775 };
16776
16777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16780 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 16781 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16782 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc 16783 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16784 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc 16785 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16786 arg5 = (int)SWIG_As_int(obj4);
d55e5bfc
RD
16787 if (PyErr_Occurred()) SWIG_fail;
16788 {
16789 PyThreadState* __tstate = wxPyBeginAllowThreads();
16790 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
16791
16792 wxPyEndAllowThreads(__tstate);
16793 if (PyErr_Occurred()) SWIG_fail;
16794 }
16795 Py_INCREF(Py_None); resultobj = Py_None;
16796 return resultobj;
16797 fail:
16798 return NULL;
16799}
16800
16801
c32bde28 16802static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16803 PyObject *resultobj;
16804 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16805 int arg2 ;
16806 int arg3 ;
16807 int arg4 ;
16808 int arg5 ;
16809 int arg6 = (int) wxSIZE_AUTO ;
16810 PyObject * obj0 = 0 ;
16811 PyObject * obj1 = 0 ;
16812 PyObject * obj2 = 0 ;
16813 PyObject * obj3 = 0 ;
16814 PyObject * obj4 = 0 ;
16815 PyObject * obj5 = 0 ;
16816 char *kwnames[] = {
16817 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16818 };
16819
16820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16823 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 16824 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16825 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc 16826 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16827 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc 16828 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16829 arg5 = (int)SWIG_As_int(obj4);
d55e5bfc
RD
16830 if (PyErr_Occurred()) SWIG_fail;
16831 if (obj5) {
c32bde28 16832 arg6 = (int)SWIG_As_int(obj5);
d55e5bfc
RD
16833 if (PyErr_Occurred()) SWIG_fail;
16834 }
16835 {
16836 PyThreadState* __tstate = wxPyBeginAllowThreads();
16837 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
16838
16839 wxPyEndAllowThreads(__tstate);
16840 if (PyErr_Occurred()) SWIG_fail;
16841 }
16842 Py_INCREF(Py_None); resultobj = Py_None;
16843 return resultobj;
16844 fail:
16845 return NULL;
16846}
16847
16848
c32bde28 16849static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16850 PyObject *resultobj;
16851 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16852 int arg2 ;
16853 int arg3 ;
16854 PyObject * obj0 = 0 ;
16855 PyObject * obj1 = 0 ;
16856 PyObject * obj2 = 0 ;
16857 char *kwnames[] = {
16858 (char *) "self",(char *) "width",(char *) "height", NULL
16859 };
16860
16861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16864 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 16865 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16866 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
16867 if (PyErr_Occurred()) SWIG_fail;
16868 {
16869 PyThreadState* __tstate = wxPyBeginAllowThreads();
16870 (arg1)->base_DoSetClientSize(arg2,arg3);
16871
16872 wxPyEndAllowThreads(__tstate);
16873 if (PyErr_Occurred()) SWIG_fail;
16874 }
16875 Py_INCREF(Py_None); resultobj = Py_None;
16876 return resultobj;
16877 fail:
16878 return NULL;
16879}
16880
16881
c32bde28 16882static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16883 PyObject *resultobj;
16884 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16885 int arg2 ;
16886 int arg3 ;
16887 PyObject * obj0 = 0 ;
16888 PyObject * obj1 = 0 ;
16889 PyObject * obj2 = 0 ;
16890 char *kwnames[] = {
16891 (char *) "self",(char *) "x",(char *) "y", NULL
16892 };
16893
16894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16897 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 16898 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16899 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
16900 if (PyErr_Occurred()) SWIG_fail;
16901 {
16902 PyThreadState* __tstate = wxPyBeginAllowThreads();
16903 (arg1)->base_DoSetVirtualSize(arg2,arg3);
16904
16905 wxPyEndAllowThreads(__tstate);
16906 if (PyErr_Occurred()) SWIG_fail;
16907 }
16908 Py_INCREF(Py_None); resultobj = Py_None;
16909 return resultobj;
16910 fail:
16911 return NULL;
16912}
16913
16914
c32bde28 16915static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16916 PyObject *resultobj;
16917 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16918 int *arg2 = (int *) 0 ;
16919 int *arg3 = (int *) 0 ;
16920 int temp2 ;
c32bde28 16921 int res2 = 0 ;
d55e5bfc 16922 int temp3 ;
c32bde28 16923 int res3 = 0 ;
d55e5bfc
RD
16924 PyObject * obj0 = 0 ;
16925 char *kwnames[] = {
16926 (char *) "self", NULL
16927 };
16928
c32bde28
RD
16929 arg2 = &temp2; res2 = SWIG_NEWOBJ;
16930 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc
RD
16931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
16932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16934 {
16935 PyThreadState* __tstate = wxPyBeginAllowThreads();
16936 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
16937
16938 wxPyEndAllowThreads(__tstate);
16939 if (PyErr_Occurred()) SWIG_fail;
16940 }
16941 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
16942 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
16943 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
16944 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16945 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
16946 return resultobj;
16947 fail:
16948 return NULL;
16949}
16950
16951
c32bde28 16952static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16953 PyObject *resultobj;
16954 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16955 int *arg2 = (int *) 0 ;
16956 int *arg3 = (int *) 0 ;
16957 int temp2 ;
c32bde28 16958 int res2 = 0 ;
d55e5bfc 16959 int temp3 ;
c32bde28 16960 int res3 = 0 ;
d55e5bfc
RD
16961 PyObject * obj0 = 0 ;
16962 char *kwnames[] = {
16963 (char *) "self", NULL
16964 };
16965
c32bde28
RD
16966 arg2 = &temp2; res2 = SWIG_NEWOBJ;
16967 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc
RD
16968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
16969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16971 {
16972 PyThreadState* __tstate = wxPyBeginAllowThreads();
16973 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
16974
16975 wxPyEndAllowThreads(__tstate);
16976 if (PyErr_Occurred()) SWIG_fail;
16977 }
16978 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
16979 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
16980 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
16981 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16982 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
16983 return resultobj;
16984 fail:
16985 return NULL;
16986}
16987
16988
c32bde28 16989static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16990 PyObject *resultobj;
16991 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16992 int *arg2 = (int *) 0 ;
16993 int *arg3 = (int *) 0 ;
16994 int temp2 ;
c32bde28 16995 int res2 = 0 ;
d55e5bfc 16996 int temp3 ;
c32bde28 16997 int res3 = 0 ;
d55e5bfc
RD
16998 PyObject * obj0 = 0 ;
16999 char *kwnames[] = {
17000 (char *) "self", NULL
17001 };
17002
c32bde28
RD
17003 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17004 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc
RD
17005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
17006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17008 {
17009 PyThreadState* __tstate = wxPyBeginAllowThreads();
17010 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
17011
17012 wxPyEndAllowThreads(__tstate);
17013 if (PyErr_Occurred()) SWIG_fail;
17014 }
17015 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
17016 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17017 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17018 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17019 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
17020 return resultobj;
17021 fail:
17022 return NULL;
17023}
17024
17025
c32bde28 17026static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17027 PyObject *resultobj;
17028 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17029 wxSize result;
17030 PyObject * obj0 = 0 ;
17031 char *kwnames[] = {
17032 (char *) "self", NULL
17033 };
17034
17035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
17036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17038 {
17039 PyThreadState* __tstate = wxPyBeginAllowThreads();
17040 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
17041
17042 wxPyEndAllowThreads(__tstate);
17043 if (PyErr_Occurred()) SWIG_fail;
17044 }
17045 {
17046 wxSize * resultptr;
17047 resultptr = new wxSize((wxSize &) result);
17048 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17049 }
17050 return resultobj;
17051 fail:
17052 return NULL;
17053}
17054
17055
c32bde28 17056static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17057 PyObject *resultobj;
17058 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17059 wxSize result;
17060 PyObject * obj0 = 0 ;
17061 char *kwnames[] = {
17062 (char *) "self", NULL
17063 };
17064
17065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
17066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17068 {
17069 PyThreadState* __tstate = wxPyBeginAllowThreads();
17070 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
17071
17072 wxPyEndAllowThreads(__tstate);
17073 if (PyErr_Occurred()) SWIG_fail;
17074 }
17075 {
17076 wxSize * resultptr;
17077 resultptr = new wxSize((wxSize &) result);
17078 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17079 }
17080 return resultobj;
17081 fail:
17082 return NULL;
17083}
17084
17085
c32bde28 17086static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17087 PyObject *resultobj;
17088 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17089 PyObject * obj0 = 0 ;
17090 char *kwnames[] = {
17091 (char *) "self", NULL
17092 };
17093
17094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
17095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17097 {
17098 PyThreadState* __tstate = wxPyBeginAllowThreads();
17099 (arg1)->base_InitDialog();
17100
17101 wxPyEndAllowThreads(__tstate);
17102 if (PyErr_Occurred()) SWIG_fail;
17103 }
17104 Py_INCREF(Py_None); resultobj = Py_None;
17105 return resultobj;
17106 fail:
17107 return NULL;
17108}
17109
17110
c32bde28 17111static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17112 PyObject *resultobj;
17113 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17114 bool result;
17115 PyObject * obj0 = 0 ;
17116 char *kwnames[] = {
17117 (char *) "self", NULL
17118 };
17119
17120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
17121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17123 {
17124 PyThreadState* __tstate = wxPyBeginAllowThreads();
17125 result = (bool)(arg1)->base_TransferDataToWindow();
17126
17127 wxPyEndAllowThreads(__tstate);
17128 if (PyErr_Occurred()) SWIG_fail;
17129 }
17130 {
17131 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17132 }
17133 return resultobj;
17134 fail:
17135 return NULL;
17136}
17137
17138
c32bde28 17139static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17140 PyObject *resultobj;
17141 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17142 bool result;
17143 PyObject * obj0 = 0 ;
17144 char *kwnames[] = {
17145 (char *) "self", NULL
17146 };
17147
17148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
17149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17151 {
17152 PyThreadState* __tstate = wxPyBeginAllowThreads();
17153 result = (bool)(arg1)->base_TransferDataFromWindow();
17154
17155 wxPyEndAllowThreads(__tstate);
17156 if (PyErr_Occurred()) SWIG_fail;
17157 }
17158 {
17159 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17160 }
17161 return resultobj;
17162 fail:
17163 return NULL;
17164}
17165
17166
c32bde28 17167static PyObject *_wrap_PyPanel_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17168 PyObject *resultobj;
17169 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17170 bool result;
17171 PyObject * obj0 = 0 ;
17172 char *kwnames[] = {
17173 (char *) "self", NULL
17174 };
17175
17176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
17177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17179 {
17180 PyThreadState* __tstate = wxPyBeginAllowThreads();
17181 result = (bool)(arg1)->base_Validate();
17182
17183 wxPyEndAllowThreads(__tstate);
17184 if (PyErr_Occurred()) SWIG_fail;
17185 }
17186 {
17187 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17188 }
17189 return resultobj;
17190 fail:
17191 return NULL;
17192}
17193
17194
c32bde28 17195static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17196 PyObject *resultobj;
17197 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17198 bool result;
17199 PyObject * obj0 = 0 ;
17200 char *kwnames[] = {
17201 (char *) "self", NULL
17202 };
17203
17204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
17205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17207 {
17208 PyThreadState* __tstate = wxPyBeginAllowThreads();
17209 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
17210
17211 wxPyEndAllowThreads(__tstate);
17212 if (PyErr_Occurred()) SWIG_fail;
17213 }
17214 {
17215 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17216 }
17217 return resultobj;
17218 fail:
17219 return NULL;
17220}
17221
17222
c32bde28 17223static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17224 PyObject *resultobj;
17225 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17226 bool result;
17227 PyObject * obj0 = 0 ;
17228 char *kwnames[] = {
17229 (char *) "self", NULL
17230 };
17231
17232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
17233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17235 {
17236 PyThreadState* __tstate = wxPyBeginAllowThreads();
17237 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
17238
17239 wxPyEndAllowThreads(__tstate);
17240 if (PyErr_Occurred()) SWIG_fail;
17241 }
17242 {
17243 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17244 }
17245 return resultobj;
17246 fail:
17247 return NULL;
17248}
17249
17250
c32bde28 17251static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17252 PyObject *resultobj;
17253 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17254 wxSize result;
17255 PyObject * obj0 = 0 ;
17256 char *kwnames[] = {
17257 (char *) "self", NULL
17258 };
17259
17260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
17261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17263 {
17264 PyThreadState* __tstate = wxPyBeginAllowThreads();
17265 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
17266
17267 wxPyEndAllowThreads(__tstate);
17268 if (PyErr_Occurred()) SWIG_fail;
17269 }
17270 {
17271 wxSize * resultptr;
17272 resultptr = new wxSize((wxSize &) result);
17273 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17274 }
17275 return resultobj;
17276 fail:
17277 return NULL;
17278}
17279
17280
c32bde28 17281static PyObject *_wrap_PyPanel_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17282 PyObject *resultobj;
17283 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17284 wxWindow *arg2 = (wxWindow *) 0 ;
17285 PyObject * obj0 = 0 ;
17286 PyObject * obj1 = 0 ;
17287 char *kwnames[] = {
17288 (char *) "self",(char *) "child", NULL
17289 };
17290
17291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
17292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17294 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17296 {
17297 PyThreadState* __tstate = wxPyBeginAllowThreads();
17298 (arg1)->base_AddChild(arg2);
17299
17300 wxPyEndAllowThreads(__tstate);
17301 if (PyErr_Occurred()) SWIG_fail;
17302 }
17303 Py_INCREF(Py_None); resultobj = Py_None;
17304 return resultobj;
17305 fail:
17306 return NULL;
17307}
17308
17309
c32bde28 17310static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17311 PyObject *resultobj;
17312 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17313 wxWindow *arg2 = (wxWindow *) 0 ;
17314 PyObject * obj0 = 0 ;
17315 PyObject * obj1 = 0 ;
17316 char *kwnames[] = {
17317 (char *) "self",(char *) "child", NULL
17318 };
17319
17320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
17321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17323 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17325 {
17326 PyThreadState* __tstate = wxPyBeginAllowThreads();
17327 (arg1)->base_RemoveChild(arg2);
17328
17329 wxPyEndAllowThreads(__tstate);
17330 if (PyErr_Occurred()) SWIG_fail;
17331 }
17332 Py_INCREF(Py_None); resultobj = Py_None;
17333 return resultobj;
17334 fail:
17335 return NULL;
17336}
17337
17338
c32bde28 17339static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17340 PyObject *resultobj;
17341 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17342 bool result;
17343 PyObject * obj0 = 0 ;
17344 char *kwnames[] = {
17345 (char *) "self", NULL
17346 };
17347
17348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
17349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17351 {
17352 PyThreadState* __tstate = wxPyBeginAllowThreads();
caef1a4d 17353 result = (bool)((wxPyPanel const *)arg1)->base_ShouldInheritColours();
d55e5bfc
RD
17354
17355 wxPyEndAllowThreads(__tstate);
17356 if (PyErr_Occurred()) SWIG_fail;
17357 }
17358 {
17359 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17360 }
17361 return resultobj;
17362 fail:
17363 return NULL;
17364}
17365
17366
c32bde28 17367static PyObject *_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17368 PyObject *resultobj;
17369 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17370 wxColour *arg2 = 0 ;
17371 wxColour temp2 ;
17372 PyObject * obj0 = 0 ;
17373 PyObject * obj1 = 0 ;
17374 char *kwnames[] = {
17375 (char *) "self",(char *) "c", NULL
17376 };
17377
17378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
17379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17381 {
17382 arg2 = &temp2;
17383 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17384 }
17385 {
17386 PyThreadState* __tstate = wxPyBeginAllowThreads();
17387 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
17388
17389 wxPyEndAllowThreads(__tstate);
17390 if (PyErr_Occurred()) SWIG_fail;
17391 }
17392 Py_INCREF(Py_None); resultobj = Py_None;
17393 return resultobj;
17394 fail:
17395 return NULL;
17396}
17397
17398
c32bde28 17399static PyObject *_wrap_PyPanel_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
caef1a4d
RD
17400 PyObject *resultobj;
17401 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17402 wxVisualAttributes result;
17403 PyObject * obj0 = 0 ;
17404 char *kwnames[] = {
17405 (char *) "self", NULL
17406 };
17407
17408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
17409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17411 {
17412 PyThreadState* __tstate = wxPyBeginAllowThreads();
17413 result = (arg1)->base_GetDefaultAttributes();
17414
17415 wxPyEndAllowThreads(__tstate);
17416 if (PyErr_Occurred()) SWIG_fail;
17417 }
17418 {
17419 wxVisualAttributes * resultptr;
17420 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
17421 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
17422 }
17423 return resultobj;
17424 fail:
17425 return NULL;
17426}
17427
17428
c32bde28 17429static PyObject * PyPanel_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17430 PyObject *obj;
17431 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17432 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
17433 Py_INCREF(obj);
17434 return Py_BuildValue((char *)"");
17435}
c32bde28 17436static PyObject *_wrap_new_PyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17437 PyObject *resultobj;
17438 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 17439 int arg2 = (int) (int)-1 ;
d55e5bfc
RD
17440 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17441 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17442 wxSize const &arg4_defvalue = wxDefaultSize ;
17443 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17444 long arg5 = (long) 0 ;
17445 wxString const &arg6_defvalue = wxPyPanelNameStr ;
17446 wxString *arg6 = (wxString *) &arg6_defvalue ;
17447 wxPyScrolledWindow *result;
17448 wxPoint temp3 ;
17449 wxSize temp4 ;
17450 bool temp6 = False ;
17451 PyObject * obj0 = 0 ;
17452 PyObject * obj1 = 0 ;
17453 PyObject * obj2 = 0 ;
17454 PyObject * obj3 = 0 ;
17455 PyObject * obj4 = 0 ;
17456 PyObject * obj5 = 0 ;
17457 char *kwnames[] = {
17458 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17459 };
17460
248ed943 17461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d55e5bfc
RD
17462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
17463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 17464 if (obj1) {
c32bde28 17465 arg2 = (int)SWIG_As_int(obj1);
248ed943
RD
17466 if (PyErr_Occurred()) SWIG_fail;
17467 }
d55e5bfc
RD
17468 if (obj2) {
17469 {
17470 arg3 = &temp3;
17471 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17472 }
17473 }
17474 if (obj3) {
17475 {
17476 arg4 = &temp4;
17477 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17478 }
17479 }
17480 if (obj4) {
c32bde28 17481 arg5 = (long)SWIG_As_long(obj4);
d55e5bfc
RD
17482 if (PyErr_Occurred()) SWIG_fail;
17483 }
17484 if (obj5) {
17485 {
17486 arg6 = wxString_in_helper(obj5);
17487 if (arg6 == NULL) SWIG_fail;
17488 temp6 = True;
17489 }
17490 }
17491 {
0439c23b 17492 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17493 PyThreadState* __tstate = wxPyBeginAllowThreads();
17494 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17495
17496 wxPyEndAllowThreads(__tstate);
110da5b0 17497 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
17498 }
17499 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
17500 {
17501 if (temp6)
17502 delete arg6;
17503 }
17504 return resultobj;
17505 fail:
17506 {
17507 if (temp6)
17508 delete arg6;
17509 }
17510 return NULL;
17511}
17512
17513
c32bde28 17514static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17515 PyObject *resultobj;
17516 wxPyScrolledWindow *result;
17517 char *kwnames[] = {
17518 NULL
17519 };
17520
17521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail;
17522 {
0439c23b 17523 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17524 PyThreadState* __tstate = wxPyBeginAllowThreads();
17525 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
17526
17527 wxPyEndAllowThreads(__tstate);
110da5b0 17528 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
17529 }
17530 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
17531 return resultobj;
17532 fail:
17533 return NULL;
17534}
17535
17536
c32bde28 17537static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17538 PyObject *resultobj;
17539 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17540 PyObject *arg2 = (PyObject *) 0 ;
17541 PyObject *arg3 = (PyObject *) 0 ;
17542 PyObject * obj0 = 0 ;
17543 PyObject * obj1 = 0 ;
17544 PyObject * obj2 = 0 ;
17545 char *kwnames[] = {
17546 (char *) "self",(char *) "self",(char *) "_class", NULL
17547 };
17548
17549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17552 arg2 = obj1;
17553 arg3 = obj2;
17554 {
17555 PyThreadState* __tstate = wxPyBeginAllowThreads();
17556 (arg1)->_setCallbackInfo(arg2,arg3);
17557
17558 wxPyEndAllowThreads(__tstate);
17559 if (PyErr_Occurred()) SWIG_fail;
17560 }
17561 Py_INCREF(Py_None); resultobj = Py_None;
17562 return resultobj;
17563 fail:
17564 return NULL;
17565}
17566
17567
c32bde28 17568static PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
caef1a4d
RD
17569 PyObject *resultobj;
17570 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17571 wxSize *arg2 = 0 ;
17572 wxSize temp2 ;
17573 PyObject * obj0 = 0 ;
17574 PyObject * obj1 = 0 ;
17575 char *kwnames[] = {
17576 (char *) "self",(char *) "size", NULL
17577 };
17578
17579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
17580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17582 {
17583 arg2 = &temp2;
17584 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17585 }
17586 {
17587 PyThreadState* __tstate = wxPyBeginAllowThreads();
17588 (arg1)->SetBestSize((wxSize const &)*arg2);
17589
17590 wxPyEndAllowThreads(__tstate);
17591 if (PyErr_Occurred()) SWIG_fail;
17592 }
17593 Py_INCREF(Py_None); resultobj = Py_None;
17594 return resultobj;
17595 fail:
17596 return NULL;
17597}
17598
17599
c32bde28 17600static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17601 PyObject *resultobj;
17602 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17603 int arg2 ;
17604 int arg3 ;
17605 int arg4 ;
17606 int arg5 ;
17607 PyObject * obj0 = 0 ;
17608 PyObject * obj1 = 0 ;
17609 PyObject * obj2 = 0 ;
17610 PyObject * obj3 = 0 ;
17611 PyObject * obj4 = 0 ;
17612 char *kwnames[] = {
17613 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17614 };
17615
17616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
17617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 17619 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 17620 if (PyErr_Occurred()) SWIG_fail;
c32bde28 17621 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc 17622 if (PyErr_Occurred()) SWIG_fail;
c32bde28 17623 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc 17624 if (PyErr_Occurred()) SWIG_fail;
c32bde28 17625 arg5 = (int)SWIG_As_int(obj4);
d55e5bfc
RD
17626 if (PyErr_Occurred()) SWIG_fail;
17627 {
17628 PyThreadState* __tstate = wxPyBeginAllowThreads();
17629 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
17630
17631 wxPyEndAllowThreads(__tstate);
17632 if (PyErr_Occurred()) SWIG_fail;
17633 }
17634 Py_INCREF(Py_None); resultobj = Py_None;
17635 return resultobj;
17636 fail:
17637 return NULL;
17638}
17639
17640
c32bde28 17641static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17642 PyObject *resultobj;
17643 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17644 int arg2 ;
17645 int arg3 ;
17646 int arg4 ;
17647 int arg5 ;
17648 int arg6 = (int) wxSIZE_AUTO ;
17649 PyObject * obj0 = 0 ;
17650 PyObject * obj1 = 0 ;
17651 PyObject * obj2 = 0 ;
17652 PyObject * obj3 = 0 ;
17653 PyObject * obj4 = 0 ;
17654 PyObject * obj5 = 0 ;
17655 char *kwnames[] = {
17656 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17657 };
17658
17659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 17662 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 17663 if (PyErr_Occurred()) SWIG_fail;
c32bde28 17664 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc 17665 if (PyErr_Occurred()) SWIG_fail;
c32bde28 17666 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc 17667 if (PyErr_Occurred()) SWIG_fail;
c32bde28 17668 arg5 = (int)SWIG_As_int(obj4);
d55e5bfc
RD
17669 if (PyErr_Occurred()) SWIG_fail;
17670 if (obj5) {
c32bde28 17671 arg6 = (int)SWIG_As_int(obj5);
d55e5bfc
RD
17672 if (PyErr_Occurred()) SWIG_fail;
17673 }
17674 {
17675 PyThreadState* __tstate = wxPyBeginAllowThreads();
17676 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
17677
17678 wxPyEndAllowThreads(__tstate);
17679 if (PyErr_Occurred()) SWIG_fail;
17680 }
17681 Py_INCREF(Py_None); resultobj = Py_None;
17682 return resultobj;
17683 fail:
17684 return NULL;
17685}
17686
17687
c32bde28 17688static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17689 PyObject *resultobj;
17690 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17691 int arg2 ;
17692 int arg3 ;
17693 PyObject * obj0 = 0 ;
17694 PyObject * obj1 = 0 ;
17695 PyObject * obj2 = 0 ;
17696 char *kwnames[] = {
17697 (char *) "self",(char *) "width",(char *) "height", NULL
17698 };
17699
17700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 17703 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 17704 if (PyErr_Occurred()) SWIG_fail;
c32bde28 17705 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
17706 if (PyErr_Occurred()) SWIG_fail;
17707 {
17708 PyThreadState* __tstate = wxPyBeginAllowThreads();
17709 (arg1)->base_DoSetClientSize(arg2,arg3);
17710
17711 wxPyEndAllowThreads(__tstate);
17712 if (PyErr_Occurred()) SWIG_fail;
17713 }
17714 Py_INCREF(Py_None); resultobj = Py_None;
17715 return resultobj;
17716 fail:
17717 return NULL;
17718}
17719
17720
c32bde28 17721static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17722 PyObject *resultobj;
17723 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17724 int arg2 ;
17725 int arg3 ;
17726 PyObject * obj0 = 0 ;
17727 PyObject * obj1 = 0 ;
17728 PyObject * obj2 = 0 ;
17729 char *kwnames[] = {
17730 (char *) "self",(char *) "x",(char *) "y", NULL
17731 };
17732
17733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 17736 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 17737 if (PyErr_Occurred()) SWIG_fail;
c32bde28 17738 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
17739 if (PyErr_Occurred()) SWIG_fail;
17740 {
17741 PyThreadState* __tstate = wxPyBeginAllowThreads();
17742 (arg1)->base_DoSetVirtualSize(arg2,arg3);
17743
17744 wxPyEndAllowThreads(__tstate);
17745 if (PyErr_Occurred()) SWIG_fail;
17746 }
17747 Py_INCREF(Py_None); resultobj = Py_None;
17748 return resultobj;
17749 fail:
17750 return NULL;
17751}
17752
17753
c32bde28 17754static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17755 PyObject *resultobj;
17756 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17757 int *arg2 = (int *) 0 ;
17758 int *arg3 = (int *) 0 ;
17759 int temp2 ;
c32bde28 17760 int res2 = 0 ;
d55e5bfc 17761 int temp3 ;
c32bde28 17762 int res3 = 0 ;
d55e5bfc
RD
17763 PyObject * obj0 = 0 ;
17764 char *kwnames[] = {
17765 (char *) "self", NULL
17766 };
17767
c32bde28
RD
17768 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17769 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc
RD
17770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
17771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17773 {
17774 PyThreadState* __tstate = wxPyBeginAllowThreads();
17775 ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3);
17776
17777 wxPyEndAllowThreads(__tstate);
17778 if (PyErr_Occurred()) SWIG_fail;
17779 }
17780 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
17781 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17782 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17783 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17784 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
17785 return resultobj;
17786 fail:
17787 return NULL;
17788}
17789
17790
c32bde28 17791static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17792 PyObject *resultobj;
17793 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17794 int *arg2 = (int *) 0 ;
17795 int *arg3 = (int *) 0 ;
17796 int temp2 ;
c32bde28 17797 int res2 = 0 ;
d55e5bfc 17798 int temp3 ;
c32bde28 17799 int res3 = 0 ;
d55e5bfc
RD
17800 PyObject * obj0 = 0 ;
17801 char *kwnames[] = {
17802 (char *) "self", NULL
17803 };
17804
c32bde28
RD
17805 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17806 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc
RD
17807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
17808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17810 {
17811 PyThreadState* __tstate = wxPyBeginAllowThreads();
17812 ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
17813
17814 wxPyEndAllowThreads(__tstate);
17815 if (PyErr_Occurred()) SWIG_fail;
17816 }
17817 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
17818 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17819 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17820 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17821 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
17822 return resultobj;
17823 fail:
17824 return NULL;
17825}
17826
17827
c32bde28 17828static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17829 PyObject *resultobj;
17830 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17831 int *arg2 = (int *) 0 ;
17832 int *arg3 = (int *) 0 ;
17833 int temp2 ;
c32bde28 17834 int res2 = 0 ;
d55e5bfc 17835 int temp3 ;
c32bde28 17836 int res3 = 0 ;
d55e5bfc
RD
17837 PyObject * obj0 = 0 ;
17838 char *kwnames[] = {
17839 (char *) "self", NULL
17840 };
17841
c32bde28
RD
17842 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17843 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc
RD
17844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
17845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17847 {
17848 PyThreadState* __tstate = wxPyBeginAllowThreads();
17849 ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
17850
17851 wxPyEndAllowThreads(__tstate);
17852 if (PyErr_Occurred()) SWIG_fail;
17853 }
17854 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
17855 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17856 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17857 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17858 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
17859 return resultobj;
17860 fail:
17861 return NULL;
17862}
17863
17864
c32bde28 17865static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17866 PyObject *resultobj;
17867 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17868 wxSize result;
17869 PyObject * obj0 = 0 ;
17870 char *kwnames[] = {
17871 (char *) "self", NULL
17872 };
17873
17874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
17875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17877 {
17878 PyThreadState* __tstate = wxPyBeginAllowThreads();
17879 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize();
17880
17881 wxPyEndAllowThreads(__tstate);
17882 if (PyErr_Occurred()) SWIG_fail;
17883 }
17884 {
17885 wxSize * resultptr;
17886 resultptr = new wxSize((wxSize &) result);
17887 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17888 }
17889 return resultobj;
17890 fail:
17891 return NULL;
17892}
17893
17894
c32bde28 17895static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17896 PyObject *resultobj;
17897 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17898 wxSize result;
17899 PyObject * obj0 = 0 ;
17900 char *kwnames[] = {
17901 (char *) "self", NULL
17902 };
17903
17904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
17905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17907 {
17908 PyThreadState* __tstate = wxPyBeginAllowThreads();
17909 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize();
17910
17911 wxPyEndAllowThreads(__tstate);
17912 if (PyErr_Occurred()) SWIG_fail;
17913 }
17914 {
17915 wxSize * resultptr;
17916 resultptr = new wxSize((wxSize &) result);
17917 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17918 }
17919 return resultobj;
17920 fail:
17921 return NULL;
17922}
17923
17924
c32bde28 17925static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17926 PyObject *resultobj;
17927 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17928 PyObject * obj0 = 0 ;
17929 char *kwnames[] = {
17930 (char *) "self", NULL
17931 };
17932
17933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail;
17934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17936 {
17937 PyThreadState* __tstate = wxPyBeginAllowThreads();
17938 (arg1)->base_InitDialog();
17939
17940 wxPyEndAllowThreads(__tstate);
17941 if (PyErr_Occurred()) SWIG_fail;
17942 }
17943 Py_INCREF(Py_None); resultobj = Py_None;
17944 return resultobj;
17945 fail:
17946 return NULL;
17947}
17948
17949
c32bde28 17950static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17951 PyObject *resultobj;
17952 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17953 bool result;
17954 PyObject * obj0 = 0 ;
17955 char *kwnames[] = {
17956 (char *) "self", NULL
17957 };
17958
17959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
17960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17962 {
17963 PyThreadState* __tstate = wxPyBeginAllowThreads();
17964 result = (bool)(arg1)->base_TransferDataToWindow();
17965
17966 wxPyEndAllowThreads(__tstate);
17967 if (PyErr_Occurred()) SWIG_fail;
17968 }
17969 {
17970 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17971 }
17972 return resultobj;
17973 fail:
17974 return NULL;
17975}
17976
17977
c32bde28 17978static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17979 PyObject *resultobj;
17980 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17981 bool result;
17982 PyObject * obj0 = 0 ;
17983 char *kwnames[] = {
17984 (char *) "self", NULL
17985 };
17986
17987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
17988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17990 {
17991 PyThreadState* __tstate = wxPyBeginAllowThreads();
17992 result = (bool)(arg1)->base_TransferDataFromWindow();
17993
17994 wxPyEndAllowThreads(__tstate);
17995 if (PyErr_Occurred()) SWIG_fail;
17996 }
17997 {
17998 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17999 }
18000 return resultobj;
18001 fail:
18002 return NULL;
18003}
18004
18005
c32bde28 18006static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18007 PyObject *resultobj;
18008 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18009 bool result;
18010 PyObject * obj0 = 0 ;
18011 char *kwnames[] = {
18012 (char *) "self", NULL
18013 };
18014
18015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail;
18016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18018 {
18019 PyThreadState* __tstate = wxPyBeginAllowThreads();
18020 result = (bool)(arg1)->base_Validate();
18021
18022 wxPyEndAllowThreads(__tstate);
18023 if (PyErr_Occurred()) SWIG_fail;
18024 }
18025 {
18026 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18027 }
18028 return resultobj;
18029 fail:
18030 return NULL;
18031}
18032
18033
c32bde28 18034static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18035 PyObject *resultobj;
18036 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18037 bool result;
18038 PyObject * obj0 = 0 ;
18039 char *kwnames[] = {
18040 (char *) "self", NULL
18041 };
18042
18043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
18044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18046 {
18047 PyThreadState* __tstate = wxPyBeginAllowThreads();
18048 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus();
18049
18050 wxPyEndAllowThreads(__tstate);
18051 if (PyErr_Occurred()) SWIG_fail;
18052 }
18053 {
18054 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18055 }
18056 return resultobj;
18057 fail:
18058 return NULL;
18059}
18060
18061
c32bde28 18062static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18063 PyObject *resultobj;
18064 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18065 bool result;
18066 PyObject * obj0 = 0 ;
18067 char *kwnames[] = {
18068 (char *) "self", NULL
18069 };
18070
18071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
18072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18074 {
18075 PyThreadState* __tstate = wxPyBeginAllowThreads();
18076 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
18077
18078 wxPyEndAllowThreads(__tstate);
18079 if (PyErr_Occurred()) SWIG_fail;
18080 }
18081 {
18082 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18083 }
18084 return resultobj;
18085 fail:
18086 return NULL;
18087}
18088
18089
c32bde28 18090static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18091 PyObject *resultobj;
18092 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18093 wxSize result;
18094 PyObject * obj0 = 0 ;
18095 char *kwnames[] = {
18096 (char *) "self", NULL
18097 };
18098
18099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
18100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18102 {
18103 PyThreadState* __tstate = wxPyBeginAllowThreads();
18104 result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize();
18105
18106 wxPyEndAllowThreads(__tstate);
18107 if (PyErr_Occurred()) SWIG_fail;
18108 }
18109 {
18110 wxSize * resultptr;
18111 resultptr = new wxSize((wxSize &) result);
18112 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18113 }
18114 return resultobj;
18115 fail:
18116 return NULL;
18117}
18118
18119
c32bde28 18120static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18121 PyObject *resultobj;
18122 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18123 wxWindow *arg2 = (wxWindow *) 0 ;
18124 PyObject * obj0 = 0 ;
18125 PyObject * obj1 = 0 ;
18126 char *kwnames[] = {
18127 (char *) "self",(char *) "child", NULL
18128 };
18129
18130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
18131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18133 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18135 {
18136 PyThreadState* __tstate = wxPyBeginAllowThreads();
18137 (arg1)->base_AddChild(arg2);
18138
18139 wxPyEndAllowThreads(__tstate);
18140 if (PyErr_Occurred()) SWIG_fail;
18141 }
18142 Py_INCREF(Py_None); resultobj = Py_None;
18143 return resultobj;
18144 fail:
18145 return NULL;
18146}
18147
18148
c32bde28 18149static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18150 PyObject *resultobj;
18151 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18152 wxWindow *arg2 = (wxWindow *) 0 ;
18153 PyObject * obj0 = 0 ;
18154 PyObject * obj1 = 0 ;
18155 char *kwnames[] = {
18156 (char *) "self",(char *) "child", NULL
18157 };
18158
18159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
18160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18162 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18164 {
18165 PyThreadState* __tstate = wxPyBeginAllowThreads();
18166 (arg1)->base_RemoveChild(arg2);
18167
18168 wxPyEndAllowThreads(__tstate);
18169 if (PyErr_Occurred()) SWIG_fail;
18170 }
18171 Py_INCREF(Py_None); resultobj = Py_None;
18172 return resultobj;
18173 fail:
18174 return NULL;
18175}
18176
18177
c32bde28 18178static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18179 PyObject *resultobj;
18180 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18181 bool result;
18182 PyObject * obj0 = 0 ;
18183 char *kwnames[] = {
18184 (char *) "self", NULL
18185 };
18186
18187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
18188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18190 {
18191 PyThreadState* __tstate = wxPyBeginAllowThreads();
caef1a4d 18192 result = (bool)((wxPyScrolledWindow const *)arg1)->base_ShouldInheritColours();
d55e5bfc
RD
18193
18194 wxPyEndAllowThreads(__tstate);
18195 if (PyErr_Occurred()) SWIG_fail;
18196 }
18197 {
18198 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18199 }
18200 return resultobj;
18201 fail:
18202 return NULL;
18203}
18204
18205
c32bde28 18206static PyObject *_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18207 PyObject *resultobj;
18208 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18209 wxColour *arg2 = 0 ;
18210 wxColour temp2 ;
18211 PyObject * obj0 = 0 ;
18212 PyObject * obj1 = 0 ;
18213 char *kwnames[] = {
18214 (char *) "self",(char *) "c", NULL
18215 };
18216
18217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
18218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18220 {
18221 arg2 = &temp2;
18222 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18223 }
18224 {
18225 PyThreadState* __tstate = wxPyBeginAllowThreads();
18226 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
18227
18228 wxPyEndAllowThreads(__tstate);
18229 if (PyErr_Occurred()) SWIG_fail;
18230 }
18231 Py_INCREF(Py_None); resultobj = Py_None;
18232 return resultobj;
18233 fail:
18234 return NULL;
18235}
18236
18237
c32bde28 18238static PyObject *_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
caef1a4d
RD
18239 PyObject *resultobj;
18240 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18241 wxVisualAttributes result;
18242 PyObject * obj0 = 0 ;
18243 char *kwnames[] = {
18244 (char *) "self", NULL
18245 };
18246
18247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
18248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18250 {
18251 PyThreadState* __tstate = wxPyBeginAllowThreads();
18252 result = (arg1)->base_GetDefaultAttributes();
18253
18254 wxPyEndAllowThreads(__tstate);
18255 if (PyErr_Occurred()) SWIG_fail;
18256 }
18257 {
18258 wxVisualAttributes * resultptr;
18259 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
18260 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
18261 }
18262 return resultobj;
18263 fail:
18264 return NULL;
18265}
18266
18267
c32bde28 18268static PyObject * PyScrolledWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
18269 PyObject *obj;
18270 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18271 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj);
18272 Py_INCREF(obj);
18273 return Py_BuildValue((char *)"");
18274}
c32bde28 18275static int _wrap_PrintoutTitleStr_set(PyObject *) {
d55e5bfc
RD
18276 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
18277 return 1;
18278}
18279
18280
18281static PyObject *_wrap_PrintoutTitleStr_get() {
18282 PyObject *pyobj;
18283
18284 {
18285#if wxUSE_UNICODE
18286 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
18287#else
18288 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
18289#endif
18290 }
18291 return pyobj;
18292}
18293
18294
c32bde28 18295static int _wrap_PreviewCanvasNameStr_set(PyObject *) {
d55e5bfc
RD
18296 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
18297 return 1;
18298}
18299
18300
18301static PyObject *_wrap_PreviewCanvasNameStr_get() {
18302 PyObject *pyobj;
18303
18304 {
18305#if wxUSE_UNICODE
18306 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
18307#else
18308 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
18309#endif
18310 }
18311 return pyobj;
18312}
18313
18314
c32bde28 18315static PyObject *_wrap_new_PrintData__SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
18316 PyObject *resultobj;
18317 wxPrintData *result;
d55e5bfc 18318
09c21d3b 18319 if(!PyArg_ParseTuple(args,(char *)":new_PrintData")) goto fail;
d55e5bfc
RD
18320 {
18321 PyThreadState* __tstate = wxPyBeginAllowThreads();
18322 result = (wxPrintData *)new wxPrintData();
18323
18324 wxPyEndAllowThreads(__tstate);
18325 if (PyErr_Occurred()) SWIG_fail;
18326 }
18327 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
18328 return resultobj;
18329 fail:
18330 return NULL;
18331}
18332
18333
c32bde28 18334static PyObject *_wrap_new_PrintData__SWIG_1(PyObject *, PyObject *args) {
09c21d3b
RD
18335 PyObject *resultobj;
18336 wxPrintData *arg1 = 0 ;
18337 wxPrintData *result;
18338 PyObject * obj0 = 0 ;
18339
18340 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintData",&obj0)) goto fail;
18341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18342 SWIG_POINTER_EXCEPTION | 0)) == -1)
18343 SWIG_fail;
18344 if (arg1 == NULL) {
18345 PyErr_SetString(PyExc_TypeError,"null reference");
18346 SWIG_fail;
18347 }
18348 {
18349 PyThreadState* __tstate = wxPyBeginAllowThreads();
18350 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
18351
18352 wxPyEndAllowThreads(__tstate);
18353 if (PyErr_Occurred()) SWIG_fail;
18354 }
18355 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
18356 return resultobj;
18357 fail:
18358 return NULL;
18359}
18360
18361
18362static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
18363 int argc;
18364 PyObject *argv[2];
18365 int ii;
18366
18367 argc = PyObject_Length(args);
18368 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
18369 argv[ii] = PyTuple_GetItem(args,ii);
18370 }
18371 if (argc == 0) {
18372 return _wrap_new_PrintData__SWIG_0(self,args);
18373 }
18374 if (argc == 1) {
18375 int _v;
18376 {
18377 void *ptr;
18378 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
18379 _v = 0;
18380 PyErr_Clear();
18381 } else {
18382 _v = 1;
18383 }
18384 }
18385 if (_v) {
18386 return _wrap_new_PrintData__SWIG_1(self,args);
18387 }
18388 }
18389
18390 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintData'");
18391 return NULL;
18392}
18393
18394
c32bde28 18395static PyObject *_wrap_delete_PrintData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18396 PyObject *resultobj;
18397 wxPrintData *arg1 = (wxPrintData *) 0 ;
18398 PyObject * obj0 = 0 ;
18399 char *kwnames[] = {
18400 (char *) "self", NULL
18401 };
18402
18403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
18404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18406 {
18407 PyThreadState* __tstate = wxPyBeginAllowThreads();
18408 delete arg1;
18409
18410 wxPyEndAllowThreads(__tstate);
18411 if (PyErr_Occurred()) SWIG_fail;
18412 }
18413 Py_INCREF(Py_None); resultobj = Py_None;
18414 return resultobj;
18415 fail:
18416 return NULL;
18417}
18418
18419
c32bde28 18420static PyObject *_wrap_PrintData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18421 PyObject *resultobj;
18422 wxPrintData *arg1 = (wxPrintData *) 0 ;
18423 int result;
18424 PyObject * obj0 = 0 ;
18425 char *kwnames[] = {
18426 (char *) "self", NULL
18427 };
18428
18429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
18430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18432 {
18433 PyThreadState* __tstate = wxPyBeginAllowThreads();
18434 result = (int)(arg1)->GetNoCopies();
18435
18436 wxPyEndAllowThreads(__tstate);
18437 if (PyErr_Occurred()) SWIG_fail;
18438 }
c32bde28 18439 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
18440 return resultobj;
18441 fail:
18442 return NULL;
18443}
18444
18445
c32bde28 18446static PyObject *_wrap_PrintData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18447 PyObject *resultobj;
18448 wxPrintData *arg1 = (wxPrintData *) 0 ;
18449 bool result;
18450 PyObject * obj0 = 0 ;
18451 char *kwnames[] = {
18452 (char *) "self", NULL
18453 };
18454
18455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
18456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18458 {
18459 PyThreadState* __tstate = wxPyBeginAllowThreads();
18460 result = (bool)(arg1)->GetCollate();
18461
18462 wxPyEndAllowThreads(__tstate);
18463 if (PyErr_Occurred()) SWIG_fail;
18464 }
18465 {
18466 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18467 }
18468 return resultobj;
18469 fail:
18470 return NULL;
18471}
18472
18473
c32bde28 18474static PyObject *_wrap_PrintData_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18475 PyObject *resultobj;
18476 wxPrintData *arg1 = (wxPrintData *) 0 ;
18477 int result;
18478 PyObject * obj0 = 0 ;
18479 char *kwnames[] = {
18480 (char *) "self", NULL
18481 };
18482
18483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
18484 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18486 {
18487 PyThreadState* __tstate = wxPyBeginAllowThreads();
18488 result = (int)(arg1)->GetOrientation();
18489
18490 wxPyEndAllowThreads(__tstate);
18491 if (PyErr_Occurred()) SWIG_fail;
18492 }
c32bde28 18493 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
18494 return resultobj;
18495 fail:
18496 return NULL;
18497}
18498
18499
c32bde28 18500static PyObject *_wrap_PrintData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18501 PyObject *resultobj;
18502 wxPrintData *arg1 = (wxPrintData *) 0 ;
18503 bool result;
18504 PyObject * obj0 = 0 ;
18505 char *kwnames[] = {
18506 (char *) "self", NULL
18507 };
18508
18509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
18510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18512 {
18513 PyThreadState* __tstate = wxPyBeginAllowThreads();
18514 result = (bool)(arg1)->Ok();
18515
18516 wxPyEndAllowThreads(__tstate);
18517 if (PyErr_Occurred()) SWIG_fail;
18518 }
18519 {
18520 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18521 }
18522 return resultobj;
18523 fail:
18524 return NULL;
18525}
18526
18527
c32bde28 18528static PyObject *_wrap_PrintData_GetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18529 PyObject *resultobj;
18530 wxPrintData *arg1 = (wxPrintData *) 0 ;
18531 wxString *result;
18532 PyObject * obj0 = 0 ;
18533 char *kwnames[] = {
18534 (char *) "self", NULL
18535 };
18536
18537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
18538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18540 {
18541 PyThreadState* __tstate = wxPyBeginAllowThreads();
18542 {
18543 wxString const &_result_ref = (arg1)->GetPrinterName();
18544 result = (wxString *) &_result_ref;
18545 }
18546
18547 wxPyEndAllowThreads(__tstate);
18548 if (PyErr_Occurred()) SWIG_fail;
18549 }
18550 {
18551#if wxUSE_UNICODE
18552 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18553#else
18554 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18555#endif
18556 }
18557 return resultobj;
18558 fail:
18559 return NULL;
18560}
18561
18562
c32bde28 18563static PyObject *_wrap_PrintData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18564 PyObject *resultobj;
18565 wxPrintData *arg1 = (wxPrintData *) 0 ;
18566 bool result;
18567 PyObject * obj0 = 0 ;
18568 char *kwnames[] = {
18569 (char *) "self", NULL
18570 };
18571
18572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
18573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18575 {
18576 PyThreadState* __tstate = wxPyBeginAllowThreads();
18577 result = (bool)(arg1)->GetColour();
18578
18579 wxPyEndAllowThreads(__tstate);
18580 if (PyErr_Occurred()) SWIG_fail;
18581 }
18582 {
18583 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18584 }
18585 return resultobj;
18586 fail:
18587 return NULL;
18588}
18589
18590
c32bde28 18591static PyObject *_wrap_PrintData_GetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18592 PyObject *resultobj;
18593 wxPrintData *arg1 = (wxPrintData *) 0 ;
18594 int result;
18595 PyObject * obj0 = 0 ;
18596 char *kwnames[] = {
18597 (char *) "self", NULL
18598 };
18599
18600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
18601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18603 {
18604 PyThreadState* __tstate = wxPyBeginAllowThreads();
18605 result = (int)(arg1)->GetDuplex();
18606
18607 wxPyEndAllowThreads(__tstate);
18608 if (PyErr_Occurred()) SWIG_fail;
18609 }
c32bde28 18610 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
18611 return resultobj;
18612 fail:
18613 return NULL;
18614}
18615
18616
c32bde28 18617static PyObject *_wrap_PrintData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18618 PyObject *resultobj;
18619 wxPrintData *arg1 = (wxPrintData *) 0 ;
18620 int result;
18621 PyObject * obj0 = 0 ;
18622 char *kwnames[] = {
18623 (char *) "self", NULL
18624 };
18625
18626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
18627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18629 {
18630 PyThreadState* __tstate = wxPyBeginAllowThreads();
18631 result = (int)(arg1)->GetPaperId();
18632
18633 wxPyEndAllowThreads(__tstate);
18634 if (PyErr_Occurred()) SWIG_fail;
18635 }
c32bde28 18636 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
18637 return resultobj;
18638 fail:
18639 return NULL;
18640}
18641
18642
c32bde28 18643static PyObject *_wrap_PrintData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18644 PyObject *resultobj;
18645 wxPrintData *arg1 = (wxPrintData *) 0 ;
18646 wxSize *result;
18647 PyObject * obj0 = 0 ;
18648 char *kwnames[] = {
18649 (char *) "self", NULL
18650 };
18651
18652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
18653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18655 {
18656 PyThreadState* __tstate = wxPyBeginAllowThreads();
18657 {
18658 wxSize const &_result_ref = (arg1)->GetPaperSize();
18659 result = (wxSize *) &_result_ref;
18660 }
18661
18662 wxPyEndAllowThreads(__tstate);
18663 if (PyErr_Occurred()) SWIG_fail;
18664 }
18665 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
18666 return resultobj;
18667 fail:
18668 return NULL;
18669}
18670
18671
c32bde28 18672static PyObject *_wrap_PrintData_GetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18673 PyObject *resultobj;
18674 wxPrintData *arg1 = (wxPrintData *) 0 ;
18675 int result;
18676 PyObject * obj0 = 0 ;
18677 char *kwnames[] = {
18678 (char *) "self", NULL
18679 };
18680
18681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
18682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18684 {
18685 PyThreadState* __tstate = wxPyBeginAllowThreads();
18686 result = (int)(arg1)->GetQuality();
18687
18688 wxPyEndAllowThreads(__tstate);
18689 if (PyErr_Occurred()) SWIG_fail;
18690 }
c32bde28 18691 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
18692 return resultobj;
18693 fail:
18694 return NULL;
18695}
18696
18697
c32bde28 18698static PyObject *_wrap_PrintData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18699 PyObject *resultobj;
18700 wxPrintData *arg1 = (wxPrintData *) 0 ;
18701 int arg2 ;
18702 PyObject * obj0 = 0 ;
18703 PyObject * obj1 = 0 ;
18704 char *kwnames[] = {
18705 (char *) "self",(char *) "v", NULL
18706 };
18707
18708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
18709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18711 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
18712 if (PyErr_Occurred()) SWIG_fail;
18713 {
18714 PyThreadState* __tstate = wxPyBeginAllowThreads();
18715 (arg1)->SetNoCopies(arg2);
18716
18717 wxPyEndAllowThreads(__tstate);
18718 if (PyErr_Occurred()) SWIG_fail;
18719 }
18720 Py_INCREF(Py_None); resultobj = Py_None;
18721 return resultobj;
18722 fail:
18723 return NULL;
18724}
18725
18726
c32bde28 18727static PyObject *_wrap_PrintData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18728 PyObject *resultobj;
18729 wxPrintData *arg1 = (wxPrintData *) 0 ;
18730 bool arg2 ;
18731 PyObject * obj0 = 0 ;
18732 PyObject * obj1 = 0 ;
18733 char *kwnames[] = {
18734 (char *) "self",(char *) "flag", NULL
18735 };
18736
18737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
18738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18740 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
18741 if (PyErr_Occurred()) SWIG_fail;
18742 {
18743 PyThreadState* __tstate = wxPyBeginAllowThreads();
18744 (arg1)->SetCollate(arg2);
18745
18746 wxPyEndAllowThreads(__tstate);
18747 if (PyErr_Occurred()) SWIG_fail;
18748 }
18749 Py_INCREF(Py_None); resultobj = Py_None;
18750 return resultobj;
18751 fail:
18752 return NULL;
18753}
18754
18755
c32bde28 18756static PyObject *_wrap_PrintData_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18757 PyObject *resultobj;
18758 wxPrintData *arg1 = (wxPrintData *) 0 ;
18759 int arg2 ;
18760 PyObject * obj0 = 0 ;
18761 PyObject * obj1 = 0 ;
18762 char *kwnames[] = {
18763 (char *) "self",(char *) "orient", NULL
18764 };
18765
18766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
18767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18769 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
18770 if (PyErr_Occurred()) SWIG_fail;
18771 {
18772 PyThreadState* __tstate = wxPyBeginAllowThreads();
18773 (arg1)->SetOrientation(arg2);
18774
18775 wxPyEndAllowThreads(__tstate);
18776 if (PyErr_Occurred()) SWIG_fail;
18777 }
18778 Py_INCREF(Py_None); resultobj = Py_None;
18779 return resultobj;
18780 fail:
18781 return NULL;
18782}
18783
18784
c32bde28 18785static PyObject *_wrap_PrintData_SetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18786 PyObject *resultobj;
18787 wxPrintData *arg1 = (wxPrintData *) 0 ;
18788 wxString *arg2 = 0 ;
18789 bool temp2 = False ;
18790 PyObject * obj0 = 0 ;
18791 PyObject * obj1 = 0 ;
18792 char *kwnames[] = {
18793 (char *) "self",(char *) "name", NULL
18794 };
18795
18796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
18797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18799 {
18800 arg2 = wxString_in_helper(obj1);
18801 if (arg2 == NULL) SWIG_fail;
18802 temp2 = True;
18803 }
18804 {
18805 PyThreadState* __tstate = wxPyBeginAllowThreads();
18806 (arg1)->SetPrinterName((wxString const &)*arg2);
18807
18808 wxPyEndAllowThreads(__tstate);
18809 if (PyErr_Occurred()) SWIG_fail;
18810 }
18811 Py_INCREF(Py_None); resultobj = Py_None;
18812 {
18813 if (temp2)
18814 delete arg2;
18815 }
18816 return resultobj;
18817 fail:
18818 {
18819 if (temp2)
18820 delete arg2;
18821 }
18822 return NULL;
18823}
18824
18825
c32bde28 18826static PyObject *_wrap_PrintData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18827 PyObject *resultobj;
18828 wxPrintData *arg1 = (wxPrintData *) 0 ;
18829 bool arg2 ;
18830 PyObject * obj0 = 0 ;
18831 PyObject * obj1 = 0 ;
18832 char *kwnames[] = {
18833 (char *) "self",(char *) "colour", NULL
18834 };
18835
18836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
18837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18839 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
18840 if (PyErr_Occurred()) SWIG_fail;
18841 {
18842 PyThreadState* __tstate = wxPyBeginAllowThreads();
18843 (arg1)->SetColour(arg2);
18844
18845 wxPyEndAllowThreads(__tstate);
18846 if (PyErr_Occurred()) SWIG_fail;
18847 }
18848 Py_INCREF(Py_None); resultobj = Py_None;
18849 return resultobj;
18850 fail:
18851 return NULL;
18852}
18853
18854
c32bde28 18855static PyObject *_wrap_PrintData_SetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18856 PyObject *resultobj;
18857 wxPrintData *arg1 = (wxPrintData *) 0 ;
18858 int arg2 ;
18859 PyObject * obj0 = 0 ;
18860 PyObject * obj1 = 0 ;
18861 char *kwnames[] = {
18862 (char *) "self",(char *) "duplex", NULL
18863 };
18864
18865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
18866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18868 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
18869 if (PyErr_Occurred()) SWIG_fail;
18870 {
18871 PyThreadState* __tstate = wxPyBeginAllowThreads();
18872 (arg1)->SetDuplex((wxDuplexMode )arg2);
18873
18874 wxPyEndAllowThreads(__tstate);
18875 if (PyErr_Occurred()) SWIG_fail;
18876 }
18877 Py_INCREF(Py_None); resultobj = Py_None;
18878 return resultobj;
18879 fail:
18880 return NULL;
18881}
18882
18883
c32bde28 18884static PyObject *_wrap_PrintData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18885 PyObject *resultobj;
18886 wxPrintData *arg1 = (wxPrintData *) 0 ;
18887 int arg2 ;
18888 PyObject * obj0 = 0 ;
18889 PyObject * obj1 = 0 ;
18890 char *kwnames[] = {
18891 (char *) "self",(char *) "sizeId", NULL
18892 };
18893
18894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
18895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18897 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
18898 if (PyErr_Occurred()) SWIG_fail;
18899 {
18900 PyThreadState* __tstate = wxPyBeginAllowThreads();
18901 (arg1)->SetPaperId((wxPaperSize )arg2);
18902
18903 wxPyEndAllowThreads(__tstate);
18904 if (PyErr_Occurred()) SWIG_fail;
18905 }
18906 Py_INCREF(Py_None); resultobj = Py_None;
18907 return resultobj;
18908 fail:
18909 return NULL;
18910}
18911
18912
c32bde28 18913static PyObject *_wrap_PrintData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18914 PyObject *resultobj;
18915 wxPrintData *arg1 = (wxPrintData *) 0 ;
18916 wxSize *arg2 = 0 ;
18917 wxSize temp2 ;
18918 PyObject * obj0 = 0 ;
18919 PyObject * obj1 = 0 ;
18920 char *kwnames[] = {
18921 (char *) "self",(char *) "sz", NULL
18922 };
18923
18924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
18925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18927 {
18928 arg2 = &temp2;
18929 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18930 }
18931 {
18932 PyThreadState* __tstate = wxPyBeginAllowThreads();
18933 (arg1)->SetPaperSize((wxSize const &)*arg2);
18934
18935 wxPyEndAllowThreads(__tstate);
18936 if (PyErr_Occurred()) SWIG_fail;
18937 }
18938 Py_INCREF(Py_None); resultobj = Py_None;
18939 return resultobj;
18940 fail:
18941 return NULL;
18942}
18943
18944
c32bde28 18945static PyObject *_wrap_PrintData_SetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18946 PyObject *resultobj;
18947 wxPrintData *arg1 = (wxPrintData *) 0 ;
18948 int arg2 ;
18949 PyObject * obj0 = 0 ;
18950 PyObject * obj1 = 0 ;
18951 char *kwnames[] = {
18952 (char *) "self",(char *) "quality", NULL
18953 };
18954
18955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
18956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18958 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
18959 if (PyErr_Occurred()) SWIG_fail;
18960 {
18961 PyThreadState* __tstate = wxPyBeginAllowThreads();
18962 (arg1)->SetQuality(arg2);
18963
18964 wxPyEndAllowThreads(__tstate);
18965 if (PyErr_Occurred()) SWIG_fail;
18966 }
18967 Py_INCREF(Py_None); resultobj = Py_None;
18968 return resultobj;
18969 fail:
18970 return NULL;
18971}
18972
18973
c32bde28 18974static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18975 PyObject *resultobj;
18976 wxPrintData *arg1 = (wxPrintData *) 0 ;
18977 wxString *result;
18978 PyObject * obj0 = 0 ;
18979 char *kwnames[] = {
18980 (char *) "self", NULL
18981 };
18982
18983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
18984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18986 {
18987 PyThreadState* __tstate = wxPyBeginAllowThreads();
18988 {
18989 wxString const &_result_ref = (arg1)->GetPrinterCommand();
18990 result = (wxString *) &_result_ref;
18991 }
18992
18993 wxPyEndAllowThreads(__tstate);
18994 if (PyErr_Occurred()) SWIG_fail;
18995 }
18996 {
18997#if wxUSE_UNICODE
18998 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18999#else
19000 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19001#endif
19002 }
19003 return resultobj;
19004 fail:
19005 return NULL;
19006}
19007
19008
c32bde28 19009static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19010 PyObject *resultobj;
19011 wxPrintData *arg1 = (wxPrintData *) 0 ;
19012 wxString *result;
19013 PyObject * obj0 = 0 ;
19014 char *kwnames[] = {
19015 (char *) "self", NULL
19016 };
19017
19018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
19019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19021 {
19022 PyThreadState* __tstate = wxPyBeginAllowThreads();
19023 {
19024 wxString const &_result_ref = (arg1)->GetPrinterOptions();
19025 result = (wxString *) &_result_ref;
19026 }
19027
19028 wxPyEndAllowThreads(__tstate);
19029 if (PyErr_Occurred()) SWIG_fail;
19030 }
19031 {
19032#if wxUSE_UNICODE
19033 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19034#else
19035 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19036#endif
19037 }
19038 return resultobj;
19039 fail:
19040 return NULL;
19041}
19042
19043
c32bde28 19044static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19045 PyObject *resultobj;
19046 wxPrintData *arg1 = (wxPrintData *) 0 ;
19047 wxString *result;
19048 PyObject * obj0 = 0 ;
19049 char *kwnames[] = {
19050 (char *) "self", NULL
19051 };
19052
19053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
19054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19056 {
19057 PyThreadState* __tstate = wxPyBeginAllowThreads();
19058 {
19059 wxString const &_result_ref = (arg1)->GetPreviewCommand();
19060 result = (wxString *) &_result_ref;
19061 }
19062
19063 wxPyEndAllowThreads(__tstate);
19064 if (PyErr_Occurred()) SWIG_fail;
19065 }
19066 {
19067#if wxUSE_UNICODE
19068 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19069#else
19070 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19071#endif
19072 }
19073 return resultobj;
19074 fail:
19075 return NULL;
19076}
19077
19078
c32bde28 19079static PyObject *_wrap_PrintData_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19080 PyObject *resultobj;
19081 wxPrintData *arg1 = (wxPrintData *) 0 ;
19082 wxString *result;
19083 PyObject * obj0 = 0 ;
19084 char *kwnames[] = {
19085 (char *) "self", NULL
19086 };
19087
19088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
19089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19091 {
19092 PyThreadState* __tstate = wxPyBeginAllowThreads();
19093 {
19094 wxString const &_result_ref = (arg1)->GetFilename();
19095 result = (wxString *) &_result_ref;
19096 }
19097
19098 wxPyEndAllowThreads(__tstate);
19099 if (PyErr_Occurred()) SWIG_fail;
19100 }
19101 {
19102#if wxUSE_UNICODE
19103 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19104#else
19105 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19106#endif
19107 }
19108 return resultobj;
19109 fail:
19110 return NULL;
19111}
19112
19113
c32bde28 19114static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19115 PyObject *resultobj;
19116 wxPrintData *arg1 = (wxPrintData *) 0 ;
19117 wxString *result;
19118 PyObject * obj0 = 0 ;
19119 char *kwnames[] = {
19120 (char *) "self", NULL
19121 };
19122
19123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
19124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19126 {
19127 PyThreadState* __tstate = wxPyBeginAllowThreads();
19128 {
19129 wxString const &_result_ref = (arg1)->GetFontMetricPath();
19130 result = (wxString *) &_result_ref;
19131 }
19132
19133 wxPyEndAllowThreads(__tstate);
19134 if (PyErr_Occurred()) SWIG_fail;
19135 }
19136 {
19137#if wxUSE_UNICODE
19138 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19139#else
19140 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19141#endif
19142 }
19143 return resultobj;
19144 fail:
19145 return NULL;
19146}
19147
19148
c32bde28 19149static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19150 PyObject *resultobj;
19151 wxPrintData *arg1 = (wxPrintData *) 0 ;
19152 double result;
19153 PyObject * obj0 = 0 ;
19154 char *kwnames[] = {
19155 (char *) "self", NULL
19156 };
19157
19158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
19159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19161 {
19162 PyThreadState* __tstate = wxPyBeginAllowThreads();
19163 result = (double)(arg1)->GetPrinterScaleX();
19164
19165 wxPyEndAllowThreads(__tstate);
19166 if (PyErr_Occurred()) SWIG_fail;
19167 }
c32bde28 19168 resultobj = SWIG_From_double((double)result);
d55e5bfc
RD
19169 return resultobj;
19170 fail:
19171 return NULL;
19172}
19173
19174
c32bde28 19175static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19176 PyObject *resultobj;
19177 wxPrintData *arg1 = (wxPrintData *) 0 ;
19178 double result;
19179 PyObject * obj0 = 0 ;
19180 char *kwnames[] = {
19181 (char *) "self", NULL
19182 };
19183
19184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
19185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19187 {
19188 PyThreadState* __tstate = wxPyBeginAllowThreads();
19189 result = (double)(arg1)->GetPrinterScaleY();
19190
19191 wxPyEndAllowThreads(__tstate);
19192 if (PyErr_Occurred()) SWIG_fail;
19193 }
c32bde28 19194 resultobj = SWIG_From_double((double)result);
d55e5bfc
RD
19195 return resultobj;
19196 fail:
19197 return NULL;
19198}
19199
19200
c32bde28 19201static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19202 PyObject *resultobj;
19203 wxPrintData *arg1 = (wxPrintData *) 0 ;
19204 long result;
19205 PyObject * obj0 = 0 ;
19206 char *kwnames[] = {
19207 (char *) "self", NULL
19208 };
19209
19210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
19211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19213 {
19214 PyThreadState* __tstate = wxPyBeginAllowThreads();
19215 result = (long)(arg1)->GetPrinterTranslateX();
19216
19217 wxPyEndAllowThreads(__tstate);
19218 if (PyErr_Occurred()) SWIG_fail;
19219 }
c32bde28 19220 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
19221 return resultobj;
19222 fail:
19223 return NULL;
19224}
19225
19226
c32bde28 19227static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19228 PyObject *resultobj;
19229 wxPrintData *arg1 = (wxPrintData *) 0 ;
19230 long result;
19231 PyObject * obj0 = 0 ;
19232 char *kwnames[] = {
19233 (char *) "self", NULL
19234 };
19235
19236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
19237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19239 {
19240 PyThreadState* __tstate = wxPyBeginAllowThreads();
19241 result = (long)(arg1)->GetPrinterTranslateY();
19242
19243 wxPyEndAllowThreads(__tstate);
19244 if (PyErr_Occurred()) SWIG_fail;
19245 }
c32bde28 19246 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
19247 return resultobj;
19248 fail:
19249 return NULL;
19250}
19251
19252
c32bde28 19253static PyObject *_wrap_PrintData_GetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19254 PyObject *resultobj;
19255 wxPrintData *arg1 = (wxPrintData *) 0 ;
19256 int result;
19257 PyObject * obj0 = 0 ;
19258 char *kwnames[] = {
19259 (char *) "self", NULL
19260 };
19261
19262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
19263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19265 {
19266 PyThreadState* __tstate = wxPyBeginAllowThreads();
19267 result = (int)(arg1)->GetPrintMode();
19268
19269 wxPyEndAllowThreads(__tstate);
19270 if (PyErr_Occurred()) SWIG_fail;
19271 }
c32bde28 19272 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
19273 return resultobj;
19274 fail:
19275 return NULL;
19276}
19277
19278
c32bde28 19279static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19280 PyObject *resultobj;
19281 wxPrintData *arg1 = (wxPrintData *) 0 ;
19282 wxString *arg2 = 0 ;
19283 bool temp2 = False ;
19284 PyObject * obj0 = 0 ;
19285 PyObject * obj1 = 0 ;
19286 char *kwnames[] = {
19287 (char *) "self",(char *) "command", NULL
19288 };
19289
19290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
19291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19293 {
19294 arg2 = wxString_in_helper(obj1);
19295 if (arg2 == NULL) SWIG_fail;
19296 temp2 = True;
19297 }
19298 {
19299 PyThreadState* __tstate = wxPyBeginAllowThreads();
19300 (arg1)->SetPrinterCommand((wxString const &)*arg2);
19301
19302 wxPyEndAllowThreads(__tstate);
19303 if (PyErr_Occurred()) SWIG_fail;
19304 }
19305 Py_INCREF(Py_None); resultobj = Py_None;
19306 {
19307 if (temp2)
19308 delete arg2;
19309 }
19310 return resultobj;
19311 fail:
19312 {
19313 if (temp2)
19314 delete arg2;
19315 }
19316 return NULL;
19317}
19318
19319
c32bde28 19320static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19321 PyObject *resultobj;
19322 wxPrintData *arg1 = (wxPrintData *) 0 ;
19323 wxString *arg2 = 0 ;
19324 bool temp2 = False ;
19325 PyObject * obj0 = 0 ;
19326 PyObject * obj1 = 0 ;
19327 char *kwnames[] = {
19328 (char *) "self",(char *) "options", NULL
19329 };
19330
19331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
19332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19334 {
19335 arg2 = wxString_in_helper(obj1);
19336 if (arg2 == NULL) SWIG_fail;
19337 temp2 = True;
19338 }
19339 {
19340 PyThreadState* __tstate = wxPyBeginAllowThreads();
19341 (arg1)->SetPrinterOptions((wxString const &)*arg2);
19342
19343 wxPyEndAllowThreads(__tstate);
19344 if (PyErr_Occurred()) SWIG_fail;
19345 }
19346 Py_INCREF(Py_None); resultobj = Py_None;
19347 {
19348 if (temp2)
19349 delete arg2;
19350 }
19351 return resultobj;
19352 fail:
19353 {
19354 if (temp2)
19355 delete arg2;
19356 }
19357 return NULL;
19358}
19359
19360
c32bde28 19361static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19362 PyObject *resultobj;
19363 wxPrintData *arg1 = (wxPrintData *) 0 ;
19364 wxString *arg2 = 0 ;
19365 bool temp2 = False ;
19366 PyObject * obj0 = 0 ;
19367 PyObject * obj1 = 0 ;
19368 char *kwnames[] = {
19369 (char *) "self",(char *) "command", NULL
19370 };
19371
19372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
19373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19375 {
19376 arg2 = wxString_in_helper(obj1);
19377 if (arg2 == NULL) SWIG_fail;
19378 temp2 = True;
19379 }
19380 {
19381 PyThreadState* __tstate = wxPyBeginAllowThreads();
19382 (arg1)->SetPreviewCommand((wxString const &)*arg2);
19383
19384 wxPyEndAllowThreads(__tstate);
19385 if (PyErr_Occurred()) SWIG_fail;
19386 }
19387 Py_INCREF(Py_None); resultobj = Py_None;
19388 {
19389 if (temp2)
19390 delete arg2;
19391 }
19392 return resultobj;
19393 fail:
19394 {
19395 if (temp2)
19396 delete arg2;
19397 }
19398 return NULL;
19399}
19400
19401
c32bde28 19402static PyObject *_wrap_PrintData_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19403 PyObject *resultobj;
19404 wxPrintData *arg1 = (wxPrintData *) 0 ;
19405 wxString *arg2 = 0 ;
19406 bool temp2 = False ;
19407 PyObject * obj0 = 0 ;
19408 PyObject * obj1 = 0 ;
19409 char *kwnames[] = {
19410 (char *) "self",(char *) "filename", NULL
19411 };
19412
19413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
19414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19416 {
19417 arg2 = wxString_in_helper(obj1);
19418 if (arg2 == NULL) SWIG_fail;
19419 temp2 = True;
19420 }
19421 {
19422 PyThreadState* __tstate = wxPyBeginAllowThreads();
19423 (arg1)->SetFilename((wxString const &)*arg2);
19424
19425 wxPyEndAllowThreads(__tstate);
19426 if (PyErr_Occurred()) SWIG_fail;
19427 }
19428 Py_INCREF(Py_None); resultobj = Py_None;
19429 {
19430 if (temp2)
19431 delete arg2;
19432 }
19433 return resultobj;
19434 fail:
19435 {
19436 if (temp2)
19437 delete arg2;
19438 }
19439 return NULL;
19440}
19441
19442
c32bde28 19443static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19444 PyObject *resultobj;
19445 wxPrintData *arg1 = (wxPrintData *) 0 ;
19446 wxString *arg2 = 0 ;
19447 bool temp2 = False ;
19448 PyObject * obj0 = 0 ;
19449 PyObject * obj1 = 0 ;
19450 char *kwnames[] = {
19451 (char *) "self",(char *) "path", NULL
19452 };
19453
19454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
19455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19457 {
19458 arg2 = wxString_in_helper(obj1);
19459 if (arg2 == NULL) SWIG_fail;
19460 temp2 = True;
19461 }
19462 {
19463 PyThreadState* __tstate = wxPyBeginAllowThreads();
19464 (arg1)->SetFontMetricPath((wxString const &)*arg2);
19465
19466 wxPyEndAllowThreads(__tstate);
19467 if (PyErr_Occurred()) SWIG_fail;
19468 }
19469 Py_INCREF(Py_None); resultobj = Py_None;
19470 {
19471 if (temp2)
19472 delete arg2;
19473 }
19474 return resultobj;
19475 fail:
19476 {
19477 if (temp2)
19478 delete arg2;
19479 }
19480 return NULL;
19481}
19482
19483
c32bde28 19484static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19485 PyObject *resultobj;
19486 wxPrintData *arg1 = (wxPrintData *) 0 ;
19487 double arg2 ;
19488 PyObject * obj0 = 0 ;
19489 PyObject * obj1 = 0 ;
19490 char *kwnames[] = {
19491 (char *) "self",(char *) "x", NULL
19492 };
19493
19494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail;
19495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19497 arg2 = (double)SWIG_As_double(obj1);
d55e5bfc
RD
19498 if (PyErr_Occurred()) SWIG_fail;
19499 {
19500 PyThreadState* __tstate = wxPyBeginAllowThreads();
19501 (arg1)->SetPrinterScaleX(arg2);
19502
19503 wxPyEndAllowThreads(__tstate);
19504 if (PyErr_Occurred()) SWIG_fail;
19505 }
19506 Py_INCREF(Py_None); resultobj = Py_None;
19507 return resultobj;
19508 fail:
19509 return NULL;
19510}
19511
19512
c32bde28 19513static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19514 PyObject *resultobj;
19515 wxPrintData *arg1 = (wxPrintData *) 0 ;
19516 double arg2 ;
19517 PyObject * obj0 = 0 ;
19518 PyObject * obj1 = 0 ;
19519 char *kwnames[] = {
19520 (char *) "self",(char *) "y", NULL
19521 };
19522
19523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail;
19524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19526 arg2 = (double)SWIG_As_double(obj1);
d55e5bfc
RD
19527 if (PyErr_Occurred()) SWIG_fail;
19528 {
19529 PyThreadState* __tstate = wxPyBeginAllowThreads();
19530 (arg1)->SetPrinterScaleY(arg2);
19531
19532 wxPyEndAllowThreads(__tstate);
19533 if (PyErr_Occurred()) SWIG_fail;
19534 }
19535 Py_INCREF(Py_None); resultobj = Py_None;
19536 return resultobj;
19537 fail:
19538 return NULL;
19539}
19540
19541
c32bde28 19542static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19543 PyObject *resultobj;
19544 wxPrintData *arg1 = (wxPrintData *) 0 ;
19545 double arg2 ;
19546 double arg3 ;
19547 PyObject * obj0 = 0 ;
19548 PyObject * obj1 = 0 ;
19549 PyObject * obj2 = 0 ;
19550 char *kwnames[] = {
19551 (char *) "self",(char *) "x",(char *) "y", NULL
19552 };
19553
19554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail;
19555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19557 arg2 = (double)SWIG_As_double(obj1);
d55e5bfc 19558 if (PyErr_Occurred()) SWIG_fail;
c32bde28 19559 arg3 = (double)SWIG_As_double(obj2);
d55e5bfc
RD
19560 if (PyErr_Occurred()) SWIG_fail;
19561 {
19562 PyThreadState* __tstate = wxPyBeginAllowThreads();
19563 (arg1)->SetPrinterScaling(arg2,arg3);
19564
19565 wxPyEndAllowThreads(__tstate);
19566 if (PyErr_Occurred()) SWIG_fail;
19567 }
19568 Py_INCREF(Py_None); resultobj = Py_None;
19569 return resultobj;
19570 fail:
19571 return NULL;
19572}
19573
19574
c32bde28 19575static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19576 PyObject *resultobj;
19577 wxPrintData *arg1 = (wxPrintData *) 0 ;
19578 long arg2 ;
19579 PyObject * obj0 = 0 ;
19580 PyObject * obj1 = 0 ;
19581 char *kwnames[] = {
19582 (char *) "self",(char *) "x", NULL
19583 };
19584
19585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail;
19586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19588 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
19589 if (PyErr_Occurred()) SWIG_fail;
19590 {
19591 PyThreadState* __tstate = wxPyBeginAllowThreads();
19592 (arg1)->SetPrinterTranslateX(arg2);
19593
19594 wxPyEndAllowThreads(__tstate);
19595 if (PyErr_Occurred()) SWIG_fail;
19596 }
19597 Py_INCREF(Py_None); resultobj = Py_None;
19598 return resultobj;
19599 fail:
19600 return NULL;
19601}
19602
19603
c32bde28 19604static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19605 PyObject *resultobj;
19606 wxPrintData *arg1 = (wxPrintData *) 0 ;
19607 long arg2 ;
19608 PyObject * obj0 = 0 ;
19609 PyObject * obj1 = 0 ;
19610 char *kwnames[] = {
19611 (char *) "self",(char *) "y", NULL
19612 };
19613
19614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail;
19615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19617 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
19618 if (PyErr_Occurred()) SWIG_fail;
19619 {
19620 PyThreadState* __tstate = wxPyBeginAllowThreads();
19621 (arg1)->SetPrinterTranslateY(arg2);
19622
19623 wxPyEndAllowThreads(__tstate);
19624 if (PyErr_Occurred()) SWIG_fail;
19625 }
19626 Py_INCREF(Py_None); resultobj = Py_None;
19627 return resultobj;
19628 fail:
19629 return NULL;
19630}
19631
19632
c32bde28 19633static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19634 PyObject *resultobj;
19635 wxPrintData *arg1 = (wxPrintData *) 0 ;
19636 long arg2 ;
19637 long arg3 ;
19638 PyObject * obj0 = 0 ;
19639 PyObject * obj1 = 0 ;
19640 PyObject * obj2 = 0 ;
19641 char *kwnames[] = {
19642 (char *) "self",(char *) "x",(char *) "y", NULL
19643 };
19644
19645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail;
19646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19648 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc 19649 if (PyErr_Occurred()) SWIG_fail;
c32bde28 19650 arg3 = (long)SWIG_As_long(obj2);
d55e5bfc
RD
19651 if (PyErr_Occurred()) SWIG_fail;
19652 {
19653 PyThreadState* __tstate = wxPyBeginAllowThreads();
19654 (arg1)->SetPrinterTranslation(arg2,arg3);
19655
19656 wxPyEndAllowThreads(__tstate);
19657 if (PyErr_Occurred()) SWIG_fail;
19658 }
19659 Py_INCREF(Py_None); resultobj = Py_None;
19660 return resultobj;
19661 fail:
19662 return NULL;
19663}
19664
19665
c32bde28 19666static PyObject *_wrap_PrintData_SetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19667 PyObject *resultobj;
19668 wxPrintData *arg1 = (wxPrintData *) 0 ;
19669 int arg2 ;
19670 PyObject * obj0 = 0 ;
19671 PyObject * obj1 = 0 ;
19672 char *kwnames[] = {
19673 (char *) "self",(char *) "printMode", NULL
19674 };
19675
19676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
19677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19679 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
19680 if (PyErr_Occurred()) SWIG_fail;
19681 {
19682 PyThreadState* __tstate = wxPyBeginAllowThreads();
19683 (arg1)->SetPrintMode((wxPrintMode )arg2);
19684
19685 wxPyEndAllowThreads(__tstate);
19686 if (PyErr_Occurred()) SWIG_fail;
19687 }
19688 Py_INCREF(Py_None); resultobj = Py_None;
19689 return resultobj;
19690 fail:
19691 return NULL;
19692}
19693
19694
c32bde28 19695static PyObject *_wrap_PrintData_GetOutputStream(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19696 PyObject *resultobj;
19697 wxPrintData *arg1 = (wxPrintData *) 0 ;
19698 wxOutputStream *result;
19699 PyObject * obj0 = 0 ;
19700 char *kwnames[] = {
19701 (char *) "self", NULL
19702 };
19703
19704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOutputStream",kwnames,&obj0)) goto fail;
19705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19707 {
19708 PyThreadState* __tstate = wxPyBeginAllowThreads();
19709 result = (wxOutputStream *)(arg1)->GetOutputStream();
19710
19711 wxPyEndAllowThreads(__tstate);
19712 if (PyErr_Occurred()) SWIG_fail;
19713 }
19714 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0);
19715 return resultobj;
19716 fail:
19717 return NULL;
19718}
19719
19720
c32bde28 19721static PyObject *_wrap_PrintData_SetOutputStream(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19722 PyObject *resultobj;
19723 wxPrintData *arg1 = (wxPrintData *) 0 ;
19724 wxOutputStream *arg2 = (wxOutputStream *) 0 ;
19725 PyObject * obj0 = 0 ;
19726 PyObject * obj1 = 0 ;
19727 char *kwnames[] = {
19728 (char *) "self",(char *) "outputstream", NULL
19729 };
19730
19731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOutputStream",kwnames,&obj0,&obj1)) goto fail;
19732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19734 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxOutputStream,
19735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19736 {
19737 PyThreadState* __tstate = wxPyBeginAllowThreads();
19738 (arg1)->SetOutputStream(arg2);
19739
19740 wxPyEndAllowThreads(__tstate);
19741 if (PyErr_Occurred()) SWIG_fail;
19742 }
19743 Py_INCREF(Py_None); resultobj = Py_None;
19744 return resultobj;
19745 fail:
19746 return NULL;
19747}
19748
19749
c32bde28 19750static PyObject * PrintData_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
19751 PyObject *obj;
19752 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19753 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
19754 Py_INCREF(obj);
19755 return Py_BuildValue((char *)"");
19756}
c32bde28 19757static PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
19758 PyObject *resultobj;
19759 wxPageSetupDialogData *result;
d55e5bfc 19760
09c21d3b 19761 if(!PyArg_ParseTuple(args,(char *)":new_PageSetupDialogData")) goto fail;
d55e5bfc
RD
19762 {
19763 PyThreadState* __tstate = wxPyBeginAllowThreads();
19764 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
19765
19766 wxPyEndAllowThreads(__tstate);
19767 if (PyErr_Occurred()) SWIG_fail;
19768 }
19769 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
19770 return resultobj;
19771 fail:
19772 return NULL;
19773}
19774
19775
c32bde28 19776static PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *, PyObject *args) {
09c21d3b
RD
19777 PyObject *resultobj;
19778 wxPageSetupDialogData *arg1 = 0 ;
19779 wxPageSetupDialogData *result;
19780 PyObject * obj0 = 0 ;
19781
19782 if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail;
19783 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19784 SWIG_POINTER_EXCEPTION | 0)) == -1)
19785 SWIG_fail;
19786 if (arg1 == NULL) {
19787 PyErr_SetString(PyExc_TypeError,"null reference");
19788 SWIG_fail;
19789 }
19790 {
19791 PyThreadState* __tstate = wxPyBeginAllowThreads();
19792 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
19793
19794 wxPyEndAllowThreads(__tstate);
19795 if (PyErr_Occurred()) SWIG_fail;
19796 }
19797 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
19798 return resultobj;
19799 fail:
19800 return NULL;
19801}
19802
19803
19804static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
19805 int argc;
19806 PyObject *argv[2];
19807 int ii;
19808
19809 argc = PyObject_Length(args);
19810 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
19811 argv[ii] = PyTuple_GetItem(args,ii);
19812 }
19813 if (argc == 0) {
19814 return _wrap_new_PageSetupDialogData__SWIG_0(self,args);
19815 }
19816 if (argc == 1) {
19817 int _v;
19818 {
19819 void *ptr;
19820 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPageSetupDialogData, 0) == -1) {
19821 _v = 0;
19822 PyErr_Clear();
19823 } else {
19824 _v = 1;
19825 }
19826 }
19827 if (_v) {
19828 return _wrap_new_PageSetupDialogData__SWIG_1(self,args);
19829 }
19830 }
19831
19832 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PageSetupDialogData'");
19833 return NULL;
19834}
19835
19836
c32bde28 19837static PyObject *_wrap_delete_PageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19838 PyObject *resultobj;
19839 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19840 PyObject * obj0 = 0 ;
19841 char *kwnames[] = {
19842 (char *) "self", NULL
19843 };
19844
19845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
19846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19848 {
19849 PyThreadState* __tstate = wxPyBeginAllowThreads();
19850 delete arg1;
19851
19852 wxPyEndAllowThreads(__tstate);
19853 if (PyErr_Occurred()) SWIG_fail;
19854 }
19855 Py_INCREF(Py_None); resultobj = Py_None;
19856 return resultobj;
19857 fail:
19858 return NULL;
19859}
19860
19861
c32bde28 19862static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19863 PyObject *resultobj;
19864 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19865 bool arg2 ;
19866 PyObject * obj0 = 0 ;
19867 PyObject * obj1 = 0 ;
19868 char *kwnames[] = {
19869 (char *) "self",(char *) "flag", NULL
19870 };
19871
19872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
19873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19875 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
19876 if (PyErr_Occurred()) SWIG_fail;
19877 {
19878 PyThreadState* __tstate = wxPyBeginAllowThreads();
19879 (arg1)->EnableHelp(arg2);
19880
19881 wxPyEndAllowThreads(__tstate);
19882 if (PyErr_Occurred()) SWIG_fail;
19883 }
19884 Py_INCREF(Py_None); resultobj = Py_None;
19885 return resultobj;
19886 fail:
19887 return NULL;
19888}
19889
19890
c32bde28 19891static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19892 PyObject *resultobj;
19893 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19894 bool arg2 ;
19895 PyObject * obj0 = 0 ;
19896 PyObject * obj1 = 0 ;
19897 char *kwnames[] = {
19898 (char *) "self",(char *) "flag", NULL
19899 };
19900
19901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
19902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19904 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
19905 if (PyErr_Occurred()) SWIG_fail;
19906 {
19907 PyThreadState* __tstate = wxPyBeginAllowThreads();
19908 (arg1)->EnableMargins(arg2);
19909
19910 wxPyEndAllowThreads(__tstate);
19911 if (PyErr_Occurred()) SWIG_fail;
19912 }
19913 Py_INCREF(Py_None); resultobj = Py_None;
19914 return resultobj;
19915 fail:
19916 return NULL;
19917}
19918
19919
c32bde28 19920static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19921 PyObject *resultobj;
19922 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19923 bool arg2 ;
19924 PyObject * obj0 = 0 ;
19925 PyObject * obj1 = 0 ;
19926 char *kwnames[] = {
19927 (char *) "self",(char *) "flag", NULL
19928 };
19929
19930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
19931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19933 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
19934 if (PyErr_Occurred()) SWIG_fail;
19935 {
19936 PyThreadState* __tstate = wxPyBeginAllowThreads();
19937 (arg1)->EnableOrientation(arg2);
19938
19939 wxPyEndAllowThreads(__tstate);
19940 if (PyErr_Occurred()) SWIG_fail;
19941 }
19942 Py_INCREF(Py_None); resultobj = Py_None;
19943 return resultobj;
19944 fail:
19945 return NULL;
19946}
19947
19948
c32bde28 19949static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19950 PyObject *resultobj;
19951 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19952 bool arg2 ;
19953 PyObject * obj0 = 0 ;
19954 PyObject * obj1 = 0 ;
19955 char *kwnames[] = {
19956 (char *) "self",(char *) "flag", NULL
19957 };
19958
19959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
19960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19962 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
19963 if (PyErr_Occurred()) SWIG_fail;
19964 {
19965 PyThreadState* __tstate = wxPyBeginAllowThreads();
19966 (arg1)->EnablePaper(arg2);
19967
19968 wxPyEndAllowThreads(__tstate);
19969 if (PyErr_Occurred()) SWIG_fail;
19970 }
19971 Py_INCREF(Py_None); resultobj = Py_None;
19972 return resultobj;
19973 fail:
19974 return NULL;
19975}
19976
19977
c32bde28 19978static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19979 PyObject *resultobj;
19980 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19981 bool arg2 ;
19982 PyObject * obj0 = 0 ;
19983 PyObject * obj1 = 0 ;
19984 char *kwnames[] = {
19985 (char *) "self",(char *) "flag", NULL
19986 };
19987
19988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
19989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19991 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
19992 if (PyErr_Occurred()) SWIG_fail;
19993 {
19994 PyThreadState* __tstate = wxPyBeginAllowThreads();
19995 (arg1)->EnablePrinter(arg2);
19996
19997 wxPyEndAllowThreads(__tstate);
19998 if (PyErr_Occurred()) SWIG_fail;
19999 }
20000 Py_INCREF(Py_None); resultobj = Py_None;
20001 return resultobj;
20002 fail:
20003 return NULL;
20004}
20005
20006
c32bde28 20007static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20008 PyObject *resultobj;
20009 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20010 bool result;
20011 PyObject * obj0 = 0 ;
20012 char *kwnames[] = {
20013 (char *) "self", NULL
20014 };
20015
20016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
20017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20019 {
20020 PyThreadState* __tstate = wxPyBeginAllowThreads();
20021 result = (bool)(arg1)->GetDefaultMinMargins();
20022
20023 wxPyEndAllowThreads(__tstate);
20024 if (PyErr_Occurred()) SWIG_fail;
20025 }
20026 {
20027 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20028 }
20029 return resultobj;
20030 fail:
20031 return NULL;
20032}
20033
20034
c32bde28 20035static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20036 PyObject *resultobj;
20037 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20038 bool result;
20039 PyObject * obj0 = 0 ;
20040 char *kwnames[] = {
20041 (char *) "self", NULL
20042 };
20043
20044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
20045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20047 {
20048 PyThreadState* __tstate = wxPyBeginAllowThreads();
20049 result = (bool)(arg1)->GetEnableMargins();
20050
20051 wxPyEndAllowThreads(__tstate);
20052 if (PyErr_Occurred()) SWIG_fail;
20053 }
20054 {
20055 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20056 }
20057 return resultobj;
20058 fail:
20059 return NULL;
20060}
20061
20062
c32bde28 20063static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20064 PyObject *resultobj;
20065 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20066 bool result;
20067 PyObject * obj0 = 0 ;
20068 char *kwnames[] = {
20069 (char *) "self", NULL
20070 };
20071
20072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
20073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20075 {
20076 PyThreadState* __tstate = wxPyBeginAllowThreads();
20077 result = (bool)(arg1)->GetEnableOrientation();
20078
20079 wxPyEndAllowThreads(__tstate);
20080 if (PyErr_Occurred()) SWIG_fail;
20081 }
20082 {
20083 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20084 }
20085 return resultobj;
20086 fail:
20087 return NULL;
20088}
20089
20090
c32bde28 20091static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20092 PyObject *resultobj;
20093 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20094 bool result;
20095 PyObject * obj0 = 0 ;
20096 char *kwnames[] = {
20097 (char *) "self", NULL
20098 };
20099
20100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
20101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20103 {
20104 PyThreadState* __tstate = wxPyBeginAllowThreads();
20105 result = (bool)(arg1)->GetEnablePaper();
20106
20107 wxPyEndAllowThreads(__tstate);
20108 if (PyErr_Occurred()) SWIG_fail;
20109 }
20110 {
20111 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20112 }
20113 return resultobj;
20114 fail:
20115 return NULL;
20116}
20117
20118
c32bde28 20119static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20120 PyObject *resultobj;
20121 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20122 bool result;
20123 PyObject * obj0 = 0 ;
20124 char *kwnames[] = {
20125 (char *) "self", NULL
20126 };
20127
20128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
20129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20131 {
20132 PyThreadState* __tstate = wxPyBeginAllowThreads();
20133 result = (bool)(arg1)->GetEnablePrinter();
20134
20135 wxPyEndAllowThreads(__tstate);
20136 if (PyErr_Occurred()) SWIG_fail;
20137 }
20138 {
20139 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20140 }
20141 return resultobj;
20142 fail:
20143 return NULL;
20144}
20145
20146
c32bde28 20147static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20148 PyObject *resultobj;
20149 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20150 bool result;
20151 PyObject * obj0 = 0 ;
20152 char *kwnames[] = {
20153 (char *) "self", NULL
20154 };
20155
20156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
20157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20159 {
20160 PyThreadState* __tstate = wxPyBeginAllowThreads();
20161 result = (bool)(arg1)->GetEnableHelp();
20162
20163 wxPyEndAllowThreads(__tstate);
20164 if (PyErr_Occurred()) SWIG_fail;
20165 }
20166 {
20167 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20168 }
20169 return resultobj;
20170 fail:
20171 return NULL;
20172}
20173
20174
c32bde28 20175static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20176 PyObject *resultobj;
20177 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20178 bool result;
20179 PyObject * obj0 = 0 ;
20180 char *kwnames[] = {
20181 (char *) "self", NULL
20182 };
20183
20184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
20185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20187 {
20188 PyThreadState* __tstate = wxPyBeginAllowThreads();
20189 result = (bool)(arg1)->GetDefaultInfo();
20190
20191 wxPyEndAllowThreads(__tstate);
20192 if (PyErr_Occurred()) SWIG_fail;
20193 }
20194 {
20195 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20196 }
20197 return resultobj;
20198 fail:
20199 return NULL;
20200}
20201
20202
c32bde28 20203static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20204 PyObject *resultobj;
20205 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20206 wxPoint result;
20207 PyObject * obj0 = 0 ;
20208 char *kwnames[] = {
20209 (char *) "self", NULL
20210 };
20211
20212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
20213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20215 {
20216 PyThreadState* __tstate = wxPyBeginAllowThreads();
20217 result = (arg1)->GetMarginTopLeft();
20218
20219 wxPyEndAllowThreads(__tstate);
20220 if (PyErr_Occurred()) SWIG_fail;
20221 }
20222 {
20223 wxPoint * resultptr;
20224 resultptr = new wxPoint((wxPoint &) result);
20225 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20226 }
20227 return resultobj;
20228 fail:
20229 return NULL;
20230}
20231
20232
c32bde28 20233static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20234 PyObject *resultobj;
20235 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20236 wxPoint result;
20237 PyObject * obj0 = 0 ;
20238 char *kwnames[] = {
20239 (char *) "self", NULL
20240 };
20241
20242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
20243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20245 {
20246 PyThreadState* __tstate = wxPyBeginAllowThreads();
20247 result = (arg1)->GetMarginBottomRight();
20248
20249 wxPyEndAllowThreads(__tstate);
20250 if (PyErr_Occurred()) SWIG_fail;
20251 }
20252 {
20253 wxPoint * resultptr;
20254 resultptr = new wxPoint((wxPoint &) result);
20255 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20256 }
20257 return resultobj;
20258 fail:
20259 return NULL;
20260}
20261
20262
c32bde28 20263static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20264 PyObject *resultobj;
20265 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20266 wxPoint result;
20267 PyObject * obj0 = 0 ;
20268 char *kwnames[] = {
20269 (char *) "self", NULL
20270 };
20271
20272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
20273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20275 {
20276 PyThreadState* __tstate = wxPyBeginAllowThreads();
20277 result = (arg1)->GetMinMarginTopLeft();
20278
20279 wxPyEndAllowThreads(__tstate);
20280 if (PyErr_Occurred()) SWIG_fail;
20281 }
20282 {
20283 wxPoint * resultptr;
20284 resultptr = new wxPoint((wxPoint &) result);
20285 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20286 }
20287 return resultobj;
20288 fail:
20289 return NULL;
20290}
20291
20292
c32bde28 20293static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20294 PyObject *resultobj;
20295 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20296 wxPoint result;
20297 PyObject * obj0 = 0 ;
20298 char *kwnames[] = {
20299 (char *) "self", NULL
20300 };
20301
20302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
20303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20305 {
20306 PyThreadState* __tstate = wxPyBeginAllowThreads();
20307 result = (arg1)->GetMinMarginBottomRight();
20308
20309 wxPyEndAllowThreads(__tstate);
20310 if (PyErr_Occurred()) SWIG_fail;
20311 }
20312 {
20313 wxPoint * resultptr;
20314 resultptr = new wxPoint((wxPoint &) result);
20315 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20316 }
20317 return resultobj;
20318 fail:
20319 return NULL;
20320}
20321
20322
c32bde28 20323static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20324 PyObject *resultobj;
20325 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20326 int result;
20327 PyObject * obj0 = 0 ;
20328 char *kwnames[] = {
20329 (char *) "self", NULL
20330 };
20331
20332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
20333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20335 {
20336 PyThreadState* __tstate = wxPyBeginAllowThreads();
20337 result = (int)(arg1)->GetPaperId();
20338
20339 wxPyEndAllowThreads(__tstate);
20340 if (PyErr_Occurred()) SWIG_fail;
20341 }
c32bde28 20342 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
20343 return resultobj;
20344 fail:
20345 return NULL;
20346}
20347
20348
c32bde28 20349static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20350 PyObject *resultobj;
20351 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20352 wxSize result;
20353 PyObject * obj0 = 0 ;
20354 char *kwnames[] = {
20355 (char *) "self", NULL
20356 };
20357
20358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
20359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20361 {
20362 PyThreadState* __tstate = wxPyBeginAllowThreads();
20363 result = (arg1)->GetPaperSize();
20364
20365 wxPyEndAllowThreads(__tstate);
20366 if (PyErr_Occurred()) SWIG_fail;
20367 }
20368 {
20369 wxSize * resultptr;
20370 resultptr = new wxSize((wxSize &) result);
20371 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20372 }
20373 return resultobj;
20374 fail:
20375 return NULL;
20376}
20377
20378
c32bde28 20379static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20380 PyObject *resultobj;
20381 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20382 wxPrintData *result;
20383 PyObject * obj0 = 0 ;
20384 char *kwnames[] = {
20385 (char *) "self", NULL
20386 };
20387
20388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
20389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20391 {
20392 PyThreadState* __tstate = wxPyBeginAllowThreads();
20393 {
20394 wxPrintData &_result_ref = (arg1)->GetPrintData();
20395 result = (wxPrintData *) &_result_ref;
20396 }
20397
20398 wxPyEndAllowThreads(__tstate);
20399 if (PyErr_Occurred()) SWIG_fail;
20400 }
20401 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
20402 return resultobj;
20403 fail:
20404 return NULL;
20405}
20406
20407
c32bde28 20408static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20409 PyObject *resultobj;
20410 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20411 bool result;
20412 PyObject * obj0 = 0 ;
20413 char *kwnames[] = {
20414 (char *) "self", NULL
20415 };
20416
20417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
20418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20420 {
20421 PyThreadState* __tstate = wxPyBeginAllowThreads();
20422 result = (bool)(arg1)->Ok();
20423
20424 wxPyEndAllowThreads(__tstate);
20425 if (PyErr_Occurred()) SWIG_fail;
20426 }
20427 {
20428 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20429 }
20430 return resultobj;
20431 fail:
20432 return NULL;
20433}
20434
20435
c32bde28 20436static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20437 PyObject *resultobj;
20438 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20439 bool arg2 ;
20440 PyObject * obj0 = 0 ;
20441 PyObject * obj1 = 0 ;
20442 char *kwnames[] = {
20443 (char *) "self",(char *) "flag", NULL
20444 };
20445
20446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
20447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 20449 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
20450 if (PyErr_Occurred()) SWIG_fail;
20451 {
20452 PyThreadState* __tstate = wxPyBeginAllowThreads();
20453 (arg1)->SetDefaultInfo(arg2);
20454
20455 wxPyEndAllowThreads(__tstate);
20456 if (PyErr_Occurred()) SWIG_fail;
20457 }
20458 Py_INCREF(Py_None); resultobj = Py_None;
20459 return resultobj;
20460 fail:
20461 return NULL;
20462}
20463
20464
c32bde28 20465static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20466 PyObject *resultobj;
20467 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20468 bool arg2 ;
20469 PyObject * obj0 = 0 ;
20470 PyObject * obj1 = 0 ;
20471 char *kwnames[] = {
20472 (char *) "self",(char *) "flag", NULL
20473 };
20474
20475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
20476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 20478 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
20479 if (PyErr_Occurred()) SWIG_fail;
20480 {
20481 PyThreadState* __tstate = wxPyBeginAllowThreads();
20482 (arg1)->SetDefaultMinMargins(arg2);
20483
20484 wxPyEndAllowThreads(__tstate);
20485 if (PyErr_Occurred()) SWIG_fail;
20486 }
20487 Py_INCREF(Py_None); resultobj = Py_None;
20488 return resultobj;
20489 fail:
20490 return NULL;
20491}
20492
20493
c32bde28 20494static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20495 PyObject *resultobj;
20496 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20497 wxPoint *arg2 = 0 ;
20498 wxPoint temp2 ;
20499 PyObject * obj0 = 0 ;
20500 PyObject * obj1 = 0 ;
20501 char *kwnames[] = {
20502 (char *) "self",(char *) "pt", NULL
20503 };
20504
20505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
20506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20508 {
20509 arg2 = &temp2;
20510 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20511 }
20512 {
20513 PyThreadState* __tstate = wxPyBeginAllowThreads();
20514 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
20515
20516 wxPyEndAllowThreads(__tstate);
20517 if (PyErr_Occurred()) SWIG_fail;
20518 }
20519 Py_INCREF(Py_None); resultobj = Py_None;
20520 return resultobj;
20521 fail:
20522 return NULL;
20523}
20524
20525
c32bde28 20526static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20527 PyObject *resultobj;
20528 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20529 wxPoint *arg2 = 0 ;
20530 wxPoint temp2 ;
20531 PyObject * obj0 = 0 ;
20532 PyObject * obj1 = 0 ;
20533 char *kwnames[] = {
20534 (char *) "self",(char *) "pt", NULL
20535 };
20536
20537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
20538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20540 {
20541 arg2 = &temp2;
20542 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20543 }
20544 {
20545 PyThreadState* __tstate = wxPyBeginAllowThreads();
20546 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
20547
20548 wxPyEndAllowThreads(__tstate);
20549 if (PyErr_Occurred()) SWIG_fail;
20550 }
20551 Py_INCREF(Py_None); resultobj = Py_None;
20552 return resultobj;
20553 fail:
20554 return NULL;
20555}
20556
20557
c32bde28 20558static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20559 PyObject *resultobj;
20560 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20561 wxPoint *arg2 = 0 ;
20562 wxPoint temp2 ;
20563 PyObject * obj0 = 0 ;
20564 PyObject * obj1 = 0 ;
20565 char *kwnames[] = {
20566 (char *) "self",(char *) "pt", NULL
20567 };
20568
20569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
20570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20572 {
20573 arg2 = &temp2;
20574 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20575 }
20576 {
20577 PyThreadState* __tstate = wxPyBeginAllowThreads();
20578 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
20579
20580 wxPyEndAllowThreads(__tstate);
20581 if (PyErr_Occurred()) SWIG_fail;
20582 }
20583 Py_INCREF(Py_None); resultobj = Py_None;
20584 return resultobj;
20585 fail:
20586 return NULL;
20587}
20588
20589
c32bde28 20590static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20591 PyObject *resultobj;
20592 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20593 wxPoint *arg2 = 0 ;
20594 wxPoint temp2 ;
20595 PyObject * obj0 = 0 ;
20596 PyObject * obj1 = 0 ;
20597 char *kwnames[] = {
20598 (char *) "self",(char *) "pt", NULL
20599 };
20600
20601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
20602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20604 {
20605 arg2 = &temp2;
20606 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20607 }
20608 {
20609 PyThreadState* __tstate = wxPyBeginAllowThreads();
20610 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
20611
20612 wxPyEndAllowThreads(__tstate);
20613 if (PyErr_Occurred()) SWIG_fail;
20614 }
20615 Py_INCREF(Py_None); resultobj = Py_None;
20616 return resultobj;
20617 fail:
20618 return NULL;
20619}
20620
20621
c32bde28 20622static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20623 PyObject *resultobj;
20624 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20625 int arg2 ;
20626 PyObject * obj0 = 0 ;
20627 PyObject * obj1 = 0 ;
20628 char *kwnames[] = {
20629 (char *) "self",(char *) "id", NULL
20630 };
20631
20632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
20633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 20635 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
20636 if (PyErr_Occurred()) SWIG_fail;
20637 {
20638 PyThreadState* __tstate = wxPyBeginAllowThreads();
20639 (arg1)->SetPaperId((wxPaperSize )arg2);
20640
20641 wxPyEndAllowThreads(__tstate);
20642 if (PyErr_Occurred()) SWIG_fail;
20643 }
20644 Py_INCREF(Py_None); resultobj = Py_None;
20645 return resultobj;
20646 fail:
20647 return NULL;
20648}
20649
20650
c32bde28 20651static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20652 PyObject *resultobj;
20653 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20654 wxSize *arg2 = 0 ;
20655 wxSize temp2 ;
20656 PyObject * obj0 = 0 ;
20657 PyObject * obj1 = 0 ;
20658 char *kwnames[] = {
20659 (char *) "self",(char *) "size", NULL
20660 };
20661
20662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
20663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20665 {
20666 arg2 = &temp2;
20667 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20668 }
20669 {
20670 PyThreadState* __tstate = wxPyBeginAllowThreads();
20671 (arg1)->SetPaperSize((wxSize const &)*arg2);
20672
20673 wxPyEndAllowThreads(__tstate);
20674 if (PyErr_Occurred()) SWIG_fail;
20675 }
20676 Py_INCREF(Py_None); resultobj = Py_None;
20677 return resultobj;
20678 fail:
20679 return NULL;
20680}
20681
20682
c32bde28 20683static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20684 PyObject *resultobj;
20685 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20686 wxPrintData *arg2 = 0 ;
20687 PyObject * obj0 = 0 ;
20688 PyObject * obj1 = 0 ;
20689 char *kwnames[] = {
20690 (char *) "self",(char *) "printData", NULL
20691 };
20692
20693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
20694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20696 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
20697 SWIG_POINTER_EXCEPTION | 0)) == -1)
20698 SWIG_fail;
20699 if (arg2 == NULL) {
20700 PyErr_SetString(PyExc_TypeError,"null reference");
20701 SWIG_fail;
20702 }
20703 {
20704 PyThreadState* __tstate = wxPyBeginAllowThreads();
20705 (arg1)->SetPrintData((wxPrintData const &)*arg2);
20706
20707 wxPyEndAllowThreads(__tstate);
20708 if (PyErr_Occurred()) SWIG_fail;
20709 }
20710 Py_INCREF(Py_None); resultobj = Py_None;
20711 return resultobj;
20712 fail:
20713 return NULL;
20714}
20715
20716
c32bde28 20717static PyObject * PageSetupDialogData_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
20718 PyObject *obj;
20719 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20720 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
20721 Py_INCREF(obj);
20722 return Py_BuildValue((char *)"");
20723}
c32bde28 20724static PyObject *_wrap_new_PageSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20725 PyObject *resultobj;
20726 wxWindow *arg1 = (wxWindow *) 0 ;
20727 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
20728 wxPageSetupDialog *result;
20729 PyObject * obj0 = 0 ;
20730 PyObject * obj1 = 0 ;
20731 char *kwnames[] = {
20732 (char *) "parent",(char *) "data", NULL
20733 };
20734
20735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
20736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
20737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20738 if (obj1) {
20739 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPageSetupDialogData,
20740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20741 }
20742 {
0439c23b 20743 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
20744 PyThreadState* __tstate = wxPyBeginAllowThreads();
20745 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
20746
20747 wxPyEndAllowThreads(__tstate);
110da5b0 20748 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
20749 }
20750 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
20751 return resultobj;
20752 fail:
20753 return NULL;
20754}
20755
20756
c32bde28 20757static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20758 PyObject *resultobj;
20759 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
20760 wxPageSetupDialogData *result;
20761 PyObject * obj0 = 0 ;
20762 char *kwnames[] = {
20763 (char *) "self", NULL
20764 };
20765
20766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
20767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
20768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20769 {
20770 PyThreadState* __tstate = wxPyBeginAllowThreads();
20771 {
20772 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
20773 result = (wxPageSetupDialogData *) &_result_ref;
20774 }
20775
20776 wxPyEndAllowThreads(__tstate);
20777 if (PyErr_Occurred()) SWIG_fail;
20778 }
20779 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
20780 return resultobj;
20781 fail:
20782 return NULL;
20783}
20784
20785
c32bde28 20786static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20787 PyObject *resultobj;
20788 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
20789 int result;
20790 PyObject * obj0 = 0 ;
20791 char *kwnames[] = {
20792 (char *) "self", NULL
20793 };
20794
20795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
20796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
20797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20798 {
20799 PyThreadState* __tstate = wxPyBeginAllowThreads();
20800 result = (int)(arg1)->ShowModal();
20801
20802 wxPyEndAllowThreads(__tstate);
20803 if (PyErr_Occurred()) SWIG_fail;
20804 }
c32bde28 20805 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
20806 return resultobj;
20807 fail:
20808 return NULL;
20809}
20810
20811
c32bde28 20812static PyObject * PageSetupDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
20813 PyObject *obj;
20814 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20815 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
20816 Py_INCREF(obj);
20817 return Py_BuildValue((char *)"");
20818}
c32bde28 20819static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
20820 PyObject *resultobj;
20821 wxPrintDialogData *result;
20822
20823 if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail;
20824 {
20825 PyThreadState* __tstate = wxPyBeginAllowThreads();
20826 result = (wxPrintDialogData *)new wxPrintDialogData();
20827
20828 wxPyEndAllowThreads(__tstate);
20829 if (PyErr_Occurred()) SWIG_fail;
20830 }
20831 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
20832 return resultobj;
20833 fail:
20834 return NULL;
20835}
20836
20837
c32bde28 20838static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
20839 PyObject *resultobj;
20840 wxPrintData *arg1 = 0 ;
20841 wxPrintDialogData *result;
20842 PyObject * obj0 = 0 ;
20843
20844 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
20845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
20846 SWIG_POINTER_EXCEPTION | 0)) == -1)
20847 SWIG_fail;
20848 if (arg1 == NULL) {
20849 PyErr_SetString(PyExc_TypeError,"null reference");
20850 SWIG_fail;
20851 }
20852 {
20853 PyThreadState* __tstate = wxPyBeginAllowThreads();
20854 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
20855
20856 wxPyEndAllowThreads(__tstate);
20857 if (PyErr_Occurred()) SWIG_fail;
20858 }
20859 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
20860 return resultobj;
20861 fail:
20862 return NULL;
20863}
20864
20865
20866static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
20867 int argc;
20868 PyObject *argv[2];
20869 int ii;
20870
20871 argc = PyObject_Length(args);
20872 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
20873 argv[ii] = PyTuple_GetItem(args,ii);
20874 }
20875 if (argc == 0) {
20876 return _wrap_new_PrintDialogData__SWIG_0(self,args);
20877 }
20878 if (argc == 1) {
20879 int _v;
20880 {
20881 void *ptr;
20882 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
20883 _v = 0;
20884 PyErr_Clear();
20885 } else {
20886 _v = 1;
20887 }
20888 }
20889 if (_v) {
20890 return _wrap_new_PrintDialogData__SWIG_1(self,args);
20891 }
20892 }
20893
20894 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintDialogData'");
20895 return NULL;
20896}
20897
20898
c32bde28 20899static PyObject *_wrap_delete_PrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20900 PyObject *resultobj;
20901 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20902 PyObject * obj0 = 0 ;
20903 char *kwnames[] = {
20904 (char *) "self", NULL
20905 };
20906
20907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
20908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20910 {
20911 PyThreadState* __tstate = wxPyBeginAllowThreads();
20912 delete arg1;
20913
20914 wxPyEndAllowThreads(__tstate);
20915 if (PyErr_Occurred()) SWIG_fail;
20916 }
20917 Py_INCREF(Py_None); resultobj = Py_None;
20918 return resultobj;
20919 fail:
20920 return NULL;
20921}
20922
20923
c32bde28 20924static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20925 PyObject *resultobj;
20926 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20927 int result;
20928 PyObject * obj0 = 0 ;
20929 char *kwnames[] = {
20930 (char *) "self", NULL
20931 };
20932
20933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
20934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20936 {
20937 PyThreadState* __tstate = wxPyBeginAllowThreads();
20938 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
20939
20940 wxPyEndAllowThreads(__tstate);
20941 if (PyErr_Occurred()) SWIG_fail;
20942 }
c32bde28 20943 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
20944 return resultobj;
20945 fail:
20946 return NULL;
20947}
20948
20949
c32bde28 20950static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20951 PyObject *resultobj;
20952 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20953 int result;
20954 PyObject * obj0 = 0 ;
20955 char *kwnames[] = {
20956 (char *) "self", NULL
20957 };
20958
20959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
20960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20962 {
20963 PyThreadState* __tstate = wxPyBeginAllowThreads();
20964 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
20965
20966 wxPyEndAllowThreads(__tstate);
20967 if (PyErr_Occurred()) SWIG_fail;
20968 }
c32bde28 20969 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
20970 return resultobj;
20971 fail:
20972 return NULL;
20973}
20974
20975
c32bde28 20976static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20977 PyObject *resultobj;
20978 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20979 int result;
20980 PyObject * obj0 = 0 ;
20981 char *kwnames[] = {
20982 (char *) "self", NULL
20983 };
20984
20985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
20986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20988 {
20989 PyThreadState* __tstate = wxPyBeginAllowThreads();
20990 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
20991
20992 wxPyEndAllowThreads(__tstate);
20993 if (PyErr_Occurred()) SWIG_fail;
20994 }
c32bde28 20995 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
20996 return resultobj;
20997 fail:
20998 return NULL;
20999}
21000
21001
c32bde28 21002static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21003 PyObject *resultobj;
21004 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21005 int result;
21006 PyObject * obj0 = 0 ;
21007 char *kwnames[] = {
21008 (char *) "self", NULL
21009 };
21010
21011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
21012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21014 {
21015 PyThreadState* __tstate = wxPyBeginAllowThreads();
21016 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
21017
21018 wxPyEndAllowThreads(__tstate);
21019 if (PyErr_Occurred()) SWIG_fail;
21020 }
c32bde28 21021 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
21022 return resultobj;
21023 fail:
21024 return NULL;
21025}
21026
21027
c32bde28 21028static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21029 PyObject *resultobj;
21030 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21031 int result;
21032 PyObject * obj0 = 0 ;
21033 char *kwnames[] = {
21034 (char *) "self", NULL
21035 };
21036
21037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
21038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21040 {
21041 PyThreadState* __tstate = wxPyBeginAllowThreads();
21042 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
21043
21044 wxPyEndAllowThreads(__tstate);
21045 if (PyErr_Occurred()) SWIG_fail;
21046 }
c32bde28 21047 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
21048 return resultobj;
21049 fail:
21050 return NULL;
21051}
21052
21053
c32bde28 21054static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21055 PyObject *resultobj;
21056 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21057 bool result;
21058 PyObject * obj0 = 0 ;
21059 char *kwnames[] = {
21060 (char *) "self", NULL
21061 };
21062
21063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
21064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21066 {
21067 PyThreadState* __tstate = wxPyBeginAllowThreads();
21068 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
21069
21070 wxPyEndAllowThreads(__tstate);
21071 if (PyErr_Occurred()) SWIG_fail;
21072 }
21073 {
21074 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21075 }
21076 return resultobj;
21077 fail:
21078 return NULL;
21079}
21080
21081
c32bde28 21082static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21083 PyObject *resultobj;
21084 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21085 bool result;
21086 PyObject * obj0 = 0 ;
21087 char *kwnames[] = {
21088 (char *) "self", NULL
21089 };
21090
21091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
21092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21094 {
21095 PyThreadState* __tstate = wxPyBeginAllowThreads();
21096 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
21097
21098 wxPyEndAllowThreads(__tstate);
21099 if (PyErr_Occurred()) SWIG_fail;
21100 }
21101 {
21102 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21103 }
21104 return resultobj;
21105 fail:
21106 return NULL;
21107}
21108
21109
c32bde28 21110static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21111 PyObject *resultobj;
21112 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21113 bool result;
21114 PyObject * obj0 = 0 ;
21115 char *kwnames[] = {
21116 (char *) "self", NULL
21117 };
21118
21119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
21120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21122 {
21123 PyThreadState* __tstate = wxPyBeginAllowThreads();
21124 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
21125
21126 wxPyEndAllowThreads(__tstate);
21127 if (PyErr_Occurred()) SWIG_fail;
21128 }
21129 {
21130 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21131 }
21132 return resultobj;
21133 fail:
21134 return NULL;
21135}
21136
21137
c32bde28 21138static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21139 PyObject *resultobj;
21140 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21141 bool result;
21142 PyObject * obj0 = 0 ;
21143 char *kwnames[] = {
21144 (char *) "self", NULL
21145 };
21146
21147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
21148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21150 {
21151 PyThreadState* __tstate = wxPyBeginAllowThreads();
21152 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
21153
21154 wxPyEndAllowThreads(__tstate);
21155 if (PyErr_Occurred()) SWIG_fail;
21156 }
21157 {
21158 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21159 }
21160 return resultobj;
21161 fail:
21162 return NULL;
21163}
21164
21165
c32bde28 21166static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21167 PyObject *resultobj;
21168 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21169 bool result;
21170 PyObject * obj0 = 0 ;
21171 char *kwnames[] = {
21172 (char *) "self", NULL
21173 };
21174
21175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
21176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21178 {
21179 PyThreadState* __tstate = wxPyBeginAllowThreads();
21180 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
21181
21182 wxPyEndAllowThreads(__tstate);
21183 if (PyErr_Occurred()) SWIG_fail;
21184 }
21185 {
21186 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21187 }
21188 return resultobj;
21189 fail:
21190 return NULL;
21191}
21192
21193
c32bde28 21194static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21195 PyObject *resultobj;
21196 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21197 int arg2 ;
21198 PyObject * obj0 = 0 ;
21199 PyObject * obj1 = 0 ;
21200 char *kwnames[] = {
21201 (char *) "self",(char *) "v", NULL
21202 };
21203
21204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
21205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21207 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
21208 if (PyErr_Occurred()) SWIG_fail;
21209 {
21210 PyThreadState* __tstate = wxPyBeginAllowThreads();
21211 (arg1)->SetFromPage(arg2);
21212
21213 wxPyEndAllowThreads(__tstate);
21214 if (PyErr_Occurred()) SWIG_fail;
21215 }
21216 Py_INCREF(Py_None); resultobj = Py_None;
21217 return resultobj;
21218 fail:
21219 return NULL;
21220}
21221
21222
c32bde28 21223static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21224 PyObject *resultobj;
21225 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21226 int arg2 ;
21227 PyObject * obj0 = 0 ;
21228 PyObject * obj1 = 0 ;
21229 char *kwnames[] = {
21230 (char *) "self",(char *) "v", NULL
21231 };
21232
21233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
21234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21236 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
21237 if (PyErr_Occurred()) SWIG_fail;
21238 {
21239 PyThreadState* __tstate = wxPyBeginAllowThreads();
21240 (arg1)->SetToPage(arg2);
21241
21242 wxPyEndAllowThreads(__tstate);
21243 if (PyErr_Occurred()) SWIG_fail;
21244 }
21245 Py_INCREF(Py_None); resultobj = Py_None;
21246 return resultobj;
21247 fail:
21248 return NULL;
21249}
21250
21251
c32bde28 21252static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21253 PyObject *resultobj;
21254 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21255 int arg2 ;
21256 PyObject * obj0 = 0 ;
21257 PyObject * obj1 = 0 ;
21258 char *kwnames[] = {
21259 (char *) "self",(char *) "v", NULL
21260 };
21261
21262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
21263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21265 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
21266 if (PyErr_Occurred()) SWIG_fail;
21267 {
21268 PyThreadState* __tstate = wxPyBeginAllowThreads();
21269 (arg1)->SetMinPage(arg2);
21270
21271 wxPyEndAllowThreads(__tstate);
21272 if (PyErr_Occurred()) SWIG_fail;
21273 }
21274 Py_INCREF(Py_None); resultobj = Py_None;
21275 return resultobj;
21276 fail:
21277 return NULL;
21278}
21279
21280
c32bde28 21281static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21282 PyObject *resultobj;
21283 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21284 int arg2 ;
21285 PyObject * obj0 = 0 ;
21286 PyObject * obj1 = 0 ;
21287 char *kwnames[] = {
21288 (char *) "self",(char *) "v", NULL
21289 };
21290
21291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
21292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21294 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
21295 if (PyErr_Occurred()) SWIG_fail;
21296 {
21297 PyThreadState* __tstate = wxPyBeginAllowThreads();
21298 (arg1)->SetMaxPage(arg2);
21299
21300 wxPyEndAllowThreads(__tstate);
21301 if (PyErr_Occurred()) SWIG_fail;
21302 }
21303 Py_INCREF(Py_None); resultobj = Py_None;
21304 return resultobj;
21305 fail:
21306 return NULL;
21307}
21308
21309
c32bde28 21310static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21311 PyObject *resultobj;
21312 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21313 int arg2 ;
21314 PyObject * obj0 = 0 ;
21315 PyObject * obj1 = 0 ;
21316 char *kwnames[] = {
21317 (char *) "self",(char *) "v", NULL
21318 };
21319
21320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
21321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21323 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
21324 if (PyErr_Occurred()) SWIG_fail;
21325 {
21326 PyThreadState* __tstate = wxPyBeginAllowThreads();
21327 (arg1)->SetNoCopies(arg2);
21328
21329 wxPyEndAllowThreads(__tstate);
21330 if (PyErr_Occurred()) SWIG_fail;
21331 }
21332 Py_INCREF(Py_None); resultobj = Py_None;
21333 return resultobj;
21334 fail:
21335 return NULL;
21336}
21337
21338
c32bde28 21339static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21340 PyObject *resultobj;
21341 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21342 bool arg2 ;
21343 PyObject * obj0 = 0 ;
21344 PyObject * obj1 = 0 ;
21345 char *kwnames[] = {
21346 (char *) "self",(char *) "flag", NULL
21347 };
21348
21349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
21350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21352 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
21353 if (PyErr_Occurred()) SWIG_fail;
21354 {
21355 PyThreadState* __tstate = wxPyBeginAllowThreads();
21356 (arg1)->SetAllPages(arg2);
21357
21358 wxPyEndAllowThreads(__tstate);
21359 if (PyErr_Occurred()) SWIG_fail;
21360 }
21361 Py_INCREF(Py_None); resultobj = Py_None;
21362 return resultobj;
21363 fail:
21364 return NULL;
21365}
21366
21367
c32bde28 21368static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21369 PyObject *resultobj;
21370 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21371 bool arg2 ;
21372 PyObject * obj0 = 0 ;
21373 PyObject * obj1 = 0 ;
21374 char *kwnames[] = {
21375 (char *) "self",(char *) "flag", NULL
21376 };
21377
21378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
21379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21381 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
21382 if (PyErr_Occurred()) SWIG_fail;
21383 {
21384 PyThreadState* __tstate = wxPyBeginAllowThreads();
21385 (arg1)->SetSelection(arg2);
21386
21387 wxPyEndAllowThreads(__tstate);
21388 if (PyErr_Occurred()) SWIG_fail;
21389 }
21390 Py_INCREF(Py_None); resultobj = Py_None;
21391 return resultobj;
21392 fail:
21393 return NULL;
21394}
21395
21396
c32bde28 21397static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21398 PyObject *resultobj;
21399 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21400 bool arg2 ;
21401 PyObject * obj0 = 0 ;
21402 PyObject * obj1 = 0 ;
21403 char *kwnames[] = {
21404 (char *) "self",(char *) "flag", NULL
21405 };
21406
21407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
21408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21410 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
21411 if (PyErr_Occurred()) SWIG_fail;
21412 {
21413 PyThreadState* __tstate = wxPyBeginAllowThreads();
21414 (arg1)->SetCollate(arg2);
21415
21416 wxPyEndAllowThreads(__tstate);
21417 if (PyErr_Occurred()) SWIG_fail;
21418 }
21419 Py_INCREF(Py_None); resultobj = Py_None;
21420 return resultobj;
21421 fail:
21422 return NULL;
21423}
21424
21425
c32bde28 21426static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21427 PyObject *resultobj;
21428 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21429 bool arg2 ;
21430 PyObject * obj0 = 0 ;
21431 PyObject * obj1 = 0 ;
21432 char *kwnames[] = {
21433 (char *) "self",(char *) "flag", NULL
21434 };
21435
21436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
21437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21439 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
21440 if (PyErr_Occurred()) SWIG_fail;
21441 {
21442 PyThreadState* __tstate = wxPyBeginAllowThreads();
21443 (arg1)->SetPrintToFile(arg2);
21444
21445 wxPyEndAllowThreads(__tstate);
21446 if (PyErr_Occurred()) SWIG_fail;
21447 }
21448 Py_INCREF(Py_None); resultobj = Py_None;
21449 return resultobj;
21450 fail:
21451 return NULL;
21452}
21453
21454
c32bde28 21455static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21456 PyObject *resultobj;
21457 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21458 bool arg2 ;
21459 PyObject * obj0 = 0 ;
21460 PyObject * obj1 = 0 ;
21461 char *kwnames[] = {
21462 (char *) "self",(char *) "flag", NULL
21463 };
21464
21465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
21466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21468 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
21469 if (PyErr_Occurred()) SWIG_fail;
21470 {
21471 PyThreadState* __tstate = wxPyBeginAllowThreads();
21472 (arg1)->SetSetupDialog(arg2);
21473
21474 wxPyEndAllowThreads(__tstate);
21475 if (PyErr_Occurred()) SWIG_fail;
21476 }
21477 Py_INCREF(Py_None); resultobj = Py_None;
21478 return resultobj;
21479 fail:
21480 return NULL;
21481}
21482
21483
c32bde28 21484static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21485 PyObject *resultobj;
21486 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21487 bool arg2 ;
21488 PyObject * obj0 = 0 ;
21489 PyObject * obj1 = 0 ;
21490 char *kwnames[] = {
21491 (char *) "self",(char *) "flag", NULL
21492 };
21493
21494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
21495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21497 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
21498 if (PyErr_Occurred()) SWIG_fail;
21499 {
21500 PyThreadState* __tstate = wxPyBeginAllowThreads();
21501 (arg1)->EnablePrintToFile(arg2);
21502
21503 wxPyEndAllowThreads(__tstate);
21504 if (PyErr_Occurred()) SWIG_fail;
21505 }
21506 Py_INCREF(Py_None); resultobj = Py_None;
21507 return resultobj;
21508 fail:
21509 return NULL;
21510}
21511
21512
c32bde28 21513static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21514 PyObject *resultobj;
21515 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21516 bool arg2 ;
21517 PyObject * obj0 = 0 ;
21518 PyObject * obj1 = 0 ;
21519 char *kwnames[] = {
21520 (char *) "self",(char *) "flag", NULL
21521 };
21522
21523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
21524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21526 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
21527 if (PyErr_Occurred()) SWIG_fail;
21528 {
21529 PyThreadState* __tstate = wxPyBeginAllowThreads();
21530 (arg1)->EnableSelection(arg2);
21531
21532 wxPyEndAllowThreads(__tstate);
21533 if (PyErr_Occurred()) SWIG_fail;
21534 }
21535 Py_INCREF(Py_None); resultobj = Py_None;
21536 return resultobj;
21537 fail:
21538 return NULL;
21539}
21540
21541
c32bde28 21542static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21543 PyObject *resultobj;
21544 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21545 bool arg2 ;
21546 PyObject * obj0 = 0 ;
21547 PyObject * obj1 = 0 ;
21548 char *kwnames[] = {
21549 (char *) "self",(char *) "flag", NULL
21550 };
21551
21552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
21553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21555 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
21556 if (PyErr_Occurred()) SWIG_fail;
21557 {
21558 PyThreadState* __tstate = wxPyBeginAllowThreads();
21559 (arg1)->EnablePageNumbers(arg2);
21560
21561 wxPyEndAllowThreads(__tstate);
21562 if (PyErr_Occurred()) SWIG_fail;
21563 }
21564 Py_INCREF(Py_None); resultobj = Py_None;
21565 return resultobj;
21566 fail:
21567 return NULL;
21568}
21569
21570
c32bde28 21571static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21572 PyObject *resultobj;
21573 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21574 bool arg2 ;
21575 PyObject * obj0 = 0 ;
21576 PyObject * obj1 = 0 ;
21577 char *kwnames[] = {
21578 (char *) "self",(char *) "flag", NULL
21579 };
21580
21581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
21582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21584 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
21585 if (PyErr_Occurred()) SWIG_fail;
21586 {
21587 PyThreadState* __tstate = wxPyBeginAllowThreads();
21588 (arg1)->EnableHelp(arg2);
21589
21590 wxPyEndAllowThreads(__tstate);
21591 if (PyErr_Occurred()) SWIG_fail;
21592 }
21593 Py_INCREF(Py_None); resultobj = Py_None;
21594 return resultobj;
21595 fail:
21596 return NULL;
21597}
21598
21599
c32bde28 21600static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21601 PyObject *resultobj;
21602 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21603 bool result;
21604 PyObject * obj0 = 0 ;
21605 char *kwnames[] = {
21606 (char *) "self", NULL
21607 };
21608
21609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
21610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21612 {
21613 PyThreadState* __tstate = wxPyBeginAllowThreads();
21614 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
21615
21616 wxPyEndAllowThreads(__tstate);
21617 if (PyErr_Occurred()) SWIG_fail;
21618 }
21619 {
21620 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21621 }
21622 return resultobj;
21623 fail:
21624 return NULL;
21625}
21626
21627
c32bde28 21628static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21629 PyObject *resultobj;
21630 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21631 bool result;
21632 PyObject * obj0 = 0 ;
21633 char *kwnames[] = {
21634 (char *) "self", NULL
21635 };
21636
21637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
21638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21640 {
21641 PyThreadState* __tstate = wxPyBeginAllowThreads();
21642 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
21643
21644 wxPyEndAllowThreads(__tstate);
21645 if (PyErr_Occurred()) SWIG_fail;
21646 }
21647 {
21648 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21649 }
21650 return resultobj;
21651 fail:
21652 return NULL;
21653}
21654
21655
c32bde28 21656static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21657 PyObject *resultobj;
21658 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21659 bool result;
21660 PyObject * obj0 = 0 ;
21661 char *kwnames[] = {
21662 (char *) "self", NULL
21663 };
21664
21665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
21666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21668 {
21669 PyThreadState* __tstate = wxPyBeginAllowThreads();
21670 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
21671
21672 wxPyEndAllowThreads(__tstate);
21673 if (PyErr_Occurred()) SWIG_fail;
21674 }
21675 {
21676 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21677 }
21678 return resultobj;
21679 fail:
21680 return NULL;
21681}
21682
21683
c32bde28 21684static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21685 PyObject *resultobj;
21686 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21687 bool result;
21688 PyObject * obj0 = 0 ;
21689 char *kwnames[] = {
21690 (char *) "self", NULL
21691 };
21692
21693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
21694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21696 {
21697 PyThreadState* __tstate = wxPyBeginAllowThreads();
21698 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
21699
21700 wxPyEndAllowThreads(__tstate);
21701 if (PyErr_Occurred()) SWIG_fail;
21702 }
21703 {
21704 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21705 }
21706 return resultobj;
21707 fail:
21708 return NULL;
21709}
21710
21711
c32bde28 21712static PyObject *_wrap_PrintDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21713 PyObject *resultobj;
21714 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21715 bool result;
21716 PyObject * obj0 = 0 ;
21717 char *kwnames[] = {
21718 (char *) "self", NULL
21719 };
21720
21721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
21722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21724 {
21725 PyThreadState* __tstate = wxPyBeginAllowThreads();
21726 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
21727
21728 wxPyEndAllowThreads(__tstate);
21729 if (PyErr_Occurred()) SWIG_fail;
21730 }
21731 {
21732 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21733 }
21734 return resultobj;
21735 fail:
21736 return NULL;
21737}
21738
21739
c32bde28 21740static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21741 PyObject *resultobj;
21742 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21743 wxPrintData *result;
21744 PyObject * obj0 = 0 ;
21745 char *kwnames[] = {
21746 (char *) "self", NULL
21747 };
21748
21749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
21750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21752 {
21753 PyThreadState* __tstate = wxPyBeginAllowThreads();
21754 {
21755 wxPrintData &_result_ref = (arg1)->GetPrintData();
21756 result = (wxPrintData *) &_result_ref;
21757 }
21758
21759 wxPyEndAllowThreads(__tstate);
21760 if (PyErr_Occurred()) SWIG_fail;
21761 }
21762 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
21763 return resultobj;
21764 fail:
21765 return NULL;
21766}
21767
21768
c32bde28 21769static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21770 PyObject *resultobj;
21771 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21772 wxPrintData *arg2 = 0 ;
21773 PyObject * obj0 = 0 ;
21774 PyObject * obj1 = 0 ;
21775 char *kwnames[] = {
21776 (char *) "self",(char *) "printData", NULL
21777 };
21778
21779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
21780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21782 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
21783 SWIG_POINTER_EXCEPTION | 0)) == -1)
21784 SWIG_fail;
21785 if (arg2 == NULL) {
21786 PyErr_SetString(PyExc_TypeError,"null reference");
21787 SWIG_fail;
21788 }
21789 {
21790 PyThreadState* __tstate = wxPyBeginAllowThreads();
21791 (arg1)->SetPrintData((wxPrintData const &)*arg2);
21792
21793 wxPyEndAllowThreads(__tstate);
21794 if (PyErr_Occurred()) SWIG_fail;
21795 }
21796 Py_INCREF(Py_None); resultobj = Py_None;
21797 return resultobj;
21798 fail:
21799 return NULL;
21800}
21801
21802
c32bde28 21803static PyObject * PrintDialogData_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
21804 PyObject *obj;
21805 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21806 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
21807 Py_INCREF(obj);
21808 return Py_BuildValue((char *)"");
21809}
c32bde28 21810static PyObject *_wrap_new_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21811 PyObject *resultobj;
21812 wxWindow *arg1 = (wxWindow *) 0 ;
21813 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
21814 wxPrintDialog *result;
21815 PyObject * obj0 = 0 ;
21816 PyObject * obj1 = 0 ;
21817 char *kwnames[] = {
21818 (char *) "parent",(char *) "data", NULL
21819 };
21820
21821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
21822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21824 if (obj1) {
21825 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintDialogData,
21826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21827 }
21828 {
0439c23b 21829 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
21830 PyThreadState* __tstate = wxPyBeginAllowThreads();
21831 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
21832
21833 wxPyEndAllowThreads(__tstate);
110da5b0 21834 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
21835 }
21836 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
21837 return resultobj;
21838 fail:
21839 return NULL;
21840}
21841
21842
c32bde28 21843static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21844 PyObject *resultobj;
21845 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21846 wxPrintDialogData *result;
21847 PyObject * obj0 = 0 ;
21848 char *kwnames[] = {
21849 (char *) "self", NULL
21850 };
21851
21852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
21853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21855 {
21856 PyThreadState* __tstate = wxPyBeginAllowThreads();
21857 {
21858 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
21859 result = (wxPrintDialogData *) &_result_ref;
21860 }
21861
21862 wxPyEndAllowThreads(__tstate);
21863 if (PyErr_Occurred()) SWIG_fail;
21864 }
21865 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
21866 return resultobj;
21867 fail:
21868 return NULL;
21869}
21870
21871
c32bde28 21872static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21873 PyObject *resultobj;
21874 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21875 wxDC *result;
21876 PyObject * obj0 = 0 ;
21877 char *kwnames[] = {
21878 (char *) "self", NULL
21879 };
21880
21881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
21882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21884 {
21885 PyThreadState* __tstate = wxPyBeginAllowThreads();
21886 result = (wxDC *)(arg1)->GetPrintDC();
21887
21888 wxPyEndAllowThreads(__tstate);
21889 if (PyErr_Occurred()) SWIG_fail;
21890 }
21891 {
412d302d 21892 resultobj = wxPyMake_wxObject(result, 1);
d55e5bfc
RD
21893 }
21894 return resultobj;
21895 fail:
21896 return NULL;
21897}
21898
21899
c32bde28 21900static PyObject *_wrap_PrintDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21901 PyObject *resultobj;
21902 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21903 int result;
21904 PyObject * obj0 = 0 ;
21905 char *kwnames[] = {
21906 (char *) "self", NULL
21907 };
21908
21909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
21910 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21912 {
21913 PyThreadState* __tstate = wxPyBeginAllowThreads();
21914 result = (int)(arg1)->ShowModal();
21915
21916 wxPyEndAllowThreads(__tstate);
21917 if (PyErr_Occurred()) SWIG_fail;
21918 }
c32bde28 21919 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
21920 return resultobj;
21921 fail:
21922 return NULL;
21923}
21924
21925
c32bde28 21926static PyObject * PrintDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
21927 PyObject *obj;
21928 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21929 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
21930 Py_INCREF(obj);
21931 return Py_BuildValue((char *)"");
21932}
c32bde28 21933static PyObject *_wrap_new_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21934 PyObject *resultobj;
21935 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
21936 wxPrinter *result;
21937 PyObject * obj0 = 0 ;
21938 char *kwnames[] = {
21939 (char *) "data", NULL
21940 };
21941
21942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
21943 if (obj0) {
21944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21946 }
21947 {
0439c23b 21948 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
21949 PyThreadState* __tstate = wxPyBeginAllowThreads();
21950 result = (wxPrinter *)new wxPrinter(arg1);
21951
21952 wxPyEndAllowThreads(__tstate);
110da5b0 21953 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
21954 }
21955 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
21956 return resultobj;
21957 fail:
21958 return NULL;
21959}
21960
21961
c32bde28 21962static PyObject *_wrap_delete_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21963 PyObject *resultobj;
21964 wxPrinter *arg1 = (wxPrinter *) 0 ;
21965 PyObject * obj0 = 0 ;
21966 char *kwnames[] = {
21967 (char *) "self", NULL
21968 };
21969
21970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
21971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21973 {
21974 PyThreadState* __tstate = wxPyBeginAllowThreads();
21975 delete arg1;
21976
21977 wxPyEndAllowThreads(__tstate);
21978 if (PyErr_Occurred()) SWIG_fail;
21979 }
21980 Py_INCREF(Py_None); resultobj = Py_None;
21981 return resultobj;
21982 fail:
21983 return NULL;
21984}
21985
21986
c32bde28 21987static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21988 PyObject *resultobj;
21989 wxPrinter *arg1 = (wxPrinter *) 0 ;
21990 wxWindow *arg2 = (wxWindow *) 0 ;
21991 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21992 PyObject * obj0 = 0 ;
21993 PyObject * obj1 = 0 ;
21994 PyObject * obj2 = 0 ;
21995 char *kwnames[] = {
21996 (char *) "self",(char *) "parent",(char *) "printout", NULL
21997 };
21998
21999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
22000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22002 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22004 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
22005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22006 {
22007 PyThreadState* __tstate = wxPyBeginAllowThreads();
22008 (arg1)->CreateAbortWindow(arg2,arg3);
22009
22010 wxPyEndAllowThreads(__tstate);
22011 if (PyErr_Occurred()) SWIG_fail;
22012 }
22013 Py_INCREF(Py_None); resultobj = Py_None;
22014 return resultobj;
22015 fail:
22016 return NULL;
22017}
22018
22019
c32bde28 22020static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22021 PyObject *resultobj;
22022 wxPrinter *arg1 = (wxPrinter *) 0 ;
22023 wxPrintDialogData *result;
22024 PyObject * obj0 = 0 ;
22025 char *kwnames[] = {
22026 (char *) "self", NULL
22027 };
22028
22029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
22030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22032 {
22033 PyThreadState* __tstate = wxPyBeginAllowThreads();
22034 {
22035 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
22036 result = (wxPrintDialogData *) &_result_ref;
22037 }
22038
22039 wxPyEndAllowThreads(__tstate);
22040 if (PyErr_Occurred()) SWIG_fail;
22041 }
22042 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
22043 return resultobj;
22044 fail:
22045 return NULL;
22046}
22047
22048
c32bde28 22049static PyObject *_wrap_Printer_Print(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22050 PyObject *resultobj;
22051 wxPrinter *arg1 = (wxPrinter *) 0 ;
22052 wxWindow *arg2 = (wxWindow *) 0 ;
22053 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
22054 int arg4 = (int) True ;
22055 bool result;
22056 PyObject * obj0 = 0 ;
22057 PyObject * obj1 = 0 ;
22058 PyObject * obj2 = 0 ;
22059 PyObject * obj3 = 0 ;
22060 char *kwnames[] = {
22061 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
22062 };
22063
22064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22067 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22069 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
22070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22071 if (obj3) {
c32bde28 22072 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc
RD
22073 if (PyErr_Occurred()) SWIG_fail;
22074 }
22075 {
22076 PyThreadState* __tstate = wxPyBeginAllowThreads();
22077 result = (bool)(arg1)->Print(arg2,arg3,arg4);
22078
22079 wxPyEndAllowThreads(__tstate);
22080 if (PyErr_Occurred()) SWIG_fail;
22081 }
22082 {
22083 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22084 }
22085 return resultobj;
22086 fail:
22087 return NULL;
22088}
22089
22090
c32bde28 22091static PyObject *_wrap_Printer_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22092 PyObject *resultobj;
22093 wxPrinter *arg1 = (wxPrinter *) 0 ;
22094 wxWindow *arg2 = (wxWindow *) 0 ;
22095 wxDC *result;
22096 PyObject * obj0 = 0 ;
22097 PyObject * obj1 = 0 ;
22098 char *kwnames[] = {
22099 (char *) "self",(char *) "parent", NULL
22100 };
22101
22102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
22103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22105 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22107 {
22108 PyThreadState* __tstate = wxPyBeginAllowThreads();
22109 result = (wxDC *)(arg1)->PrintDialog(arg2);
22110
22111 wxPyEndAllowThreads(__tstate);
22112 if (PyErr_Occurred()) SWIG_fail;
22113 }
22114 {
412d302d 22115 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
22116 }
22117 return resultobj;
22118 fail:
22119 return NULL;
22120}
22121
22122
c32bde28 22123static PyObject *_wrap_Printer_ReportError(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22124 PyObject *resultobj;
22125 wxPrinter *arg1 = (wxPrinter *) 0 ;
22126 wxWindow *arg2 = (wxWindow *) 0 ;
22127 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
22128 wxString *arg4 = 0 ;
22129 bool temp4 = False ;
22130 PyObject * obj0 = 0 ;
22131 PyObject * obj1 = 0 ;
22132 PyObject * obj2 = 0 ;
22133 PyObject * obj3 = 0 ;
22134 char *kwnames[] = {
22135 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
22136 };
22137
22138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22141 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22143 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
22144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22145 {
22146 arg4 = wxString_in_helper(obj3);
22147 if (arg4 == NULL) SWIG_fail;
22148 temp4 = True;
22149 }
22150 {
22151 PyThreadState* __tstate = wxPyBeginAllowThreads();
22152 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
22153
22154 wxPyEndAllowThreads(__tstate);
22155 if (PyErr_Occurred()) SWIG_fail;
22156 }
22157 Py_INCREF(Py_None); resultobj = Py_None;
22158 {
22159 if (temp4)
22160 delete arg4;
22161 }
22162 return resultobj;
22163 fail:
22164 {
22165 if (temp4)
22166 delete arg4;
22167 }
22168 return NULL;
22169}
22170
22171
c32bde28 22172static PyObject *_wrap_Printer_Setup(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22173 PyObject *resultobj;
22174 wxPrinter *arg1 = (wxPrinter *) 0 ;
22175 wxWindow *arg2 = (wxWindow *) 0 ;
22176 bool result;
22177 PyObject * obj0 = 0 ;
22178 PyObject * obj1 = 0 ;
22179 char *kwnames[] = {
22180 (char *) "self",(char *) "parent", NULL
22181 };
22182
22183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
22184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22186 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22188 {
22189 PyThreadState* __tstate = wxPyBeginAllowThreads();
22190 result = (bool)(arg1)->Setup(arg2);
22191
22192 wxPyEndAllowThreads(__tstate);
22193 if (PyErr_Occurred()) SWIG_fail;
22194 }
22195 {
22196 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22197 }
22198 return resultobj;
22199 fail:
22200 return NULL;
22201}
22202
22203
c32bde28 22204static PyObject *_wrap_Printer_GetAbort(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22205 PyObject *resultobj;
22206 wxPrinter *arg1 = (wxPrinter *) 0 ;
22207 bool result;
22208 PyObject * obj0 = 0 ;
22209 char *kwnames[] = {
22210 (char *) "self", NULL
22211 };
22212
22213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
22214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22216 {
22217 PyThreadState* __tstate = wxPyBeginAllowThreads();
22218 result = (bool)(arg1)->GetAbort();
22219
22220 wxPyEndAllowThreads(__tstate);
22221 if (PyErr_Occurred()) SWIG_fail;
22222 }
22223 {
22224 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22225 }
22226 return resultobj;
22227 fail:
22228 return NULL;
22229}
22230
22231
c32bde28 22232static PyObject *_wrap_Printer_GetLastError(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22233 PyObject *resultobj;
22234 int result;
22235 char *kwnames[] = {
22236 NULL
22237 };
22238
22239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
22240 {
22241 PyThreadState* __tstate = wxPyBeginAllowThreads();
22242 result = (int)wxPrinter::GetLastError();
22243
22244 wxPyEndAllowThreads(__tstate);
22245 if (PyErr_Occurred()) SWIG_fail;
22246 }
c32bde28 22247 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
22248 return resultobj;
22249 fail:
22250 return NULL;
22251}
22252
22253
c32bde28 22254static PyObject * Printer_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
22255 PyObject *obj;
22256 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22257 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
22258 Py_INCREF(obj);
22259 return Py_BuildValue((char *)"");
22260}
c32bde28 22261static PyObject *_wrap_new_Printout(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22262 PyObject *resultobj;
22263 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
22264 wxString *arg1 = (wxString *) &arg1_defvalue ;
22265 wxPyPrintout *result;
22266 bool temp1 = False ;
22267 PyObject * obj0 = 0 ;
22268 char *kwnames[] = {
22269 (char *) "title", NULL
22270 };
22271
22272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
22273 if (obj0) {
22274 {
22275 arg1 = wxString_in_helper(obj0);
22276 if (arg1 == NULL) SWIG_fail;
22277 temp1 = True;
22278 }
22279 }
22280 {
0439c23b 22281 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
22282 PyThreadState* __tstate = wxPyBeginAllowThreads();
22283 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
22284
22285 wxPyEndAllowThreads(__tstate);
110da5b0 22286 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
22287 }
22288 {
412d302d 22289 resultobj = wxPyMake_wxObject(result, 1);
d55e5bfc
RD
22290 }
22291 {
22292 if (temp1)
22293 delete arg1;
22294 }
22295 return resultobj;
22296 fail:
22297 {
22298 if (temp1)
22299 delete arg1;
22300 }
22301 return NULL;
22302}
22303
22304
c32bde28 22305static PyObject *_wrap_Printout__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22306 PyObject *resultobj;
22307 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22308 PyObject *arg2 = (PyObject *) 0 ;
22309 PyObject *arg3 = (PyObject *) 0 ;
22310 PyObject * obj0 = 0 ;
22311 PyObject * obj1 = 0 ;
22312 PyObject * obj2 = 0 ;
22313 char *kwnames[] = {
22314 (char *) "self",(char *) "self",(char *) "_class", NULL
22315 };
22316
22317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22320 arg2 = obj1;
22321 arg3 = obj2;
22322 {
22323 PyThreadState* __tstate = wxPyBeginAllowThreads();
22324 (arg1)->_setCallbackInfo(arg2,arg3);
22325
22326 wxPyEndAllowThreads(__tstate);
22327 if (PyErr_Occurred()) SWIG_fail;
22328 }
22329 Py_INCREF(Py_None); resultobj = Py_None;
22330 return resultobj;
22331 fail:
22332 return NULL;
22333}
22334
22335
c32bde28 22336static PyObject *_wrap_Printout_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22337 PyObject *resultobj;
22338 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22339 wxString result;
22340 PyObject * obj0 = 0 ;
22341 char *kwnames[] = {
22342 (char *) "self", NULL
22343 };
22344
22345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
22346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22348 {
22349 PyThreadState* __tstate = wxPyBeginAllowThreads();
22350 result = ((wxPyPrintout const *)arg1)->GetTitle();
22351
22352 wxPyEndAllowThreads(__tstate);
22353 if (PyErr_Occurred()) SWIG_fail;
22354 }
22355 {
22356#if wxUSE_UNICODE
22357 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22358#else
22359 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22360#endif
22361 }
22362 return resultobj;
22363 fail:
22364 return NULL;
22365}
22366
22367
c32bde28 22368static PyObject *_wrap_Printout_GetDC(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22369 PyObject *resultobj;
22370 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22371 wxDC *result;
22372 PyObject * obj0 = 0 ;
22373 char *kwnames[] = {
22374 (char *) "self", NULL
22375 };
22376
22377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
22378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22380 {
22381 PyThreadState* __tstate = wxPyBeginAllowThreads();
22382 result = (wxDC *)(arg1)->GetDC();
22383
22384 wxPyEndAllowThreads(__tstate);
22385 if (PyErr_Occurred()) SWIG_fail;
22386 }
22387 {
412d302d 22388 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
22389 }
22390 return resultobj;
22391 fail:
22392 return NULL;
22393}
22394
22395
c32bde28 22396static PyObject *_wrap_Printout_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22397 PyObject *resultobj;
22398 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22399 wxDC *arg2 = (wxDC *) 0 ;
22400 PyObject * obj0 = 0 ;
22401 PyObject * obj1 = 0 ;
22402 char *kwnames[] = {
22403 (char *) "self",(char *) "dc", NULL
22404 };
22405
22406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
22407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22409 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22411 {
22412 PyThreadState* __tstate = wxPyBeginAllowThreads();
22413 (arg1)->SetDC(arg2);
22414
22415 wxPyEndAllowThreads(__tstate);
22416 if (PyErr_Occurred()) SWIG_fail;
22417 }
22418 Py_INCREF(Py_None); resultobj = Py_None;
22419 return resultobj;
22420 fail:
22421 return NULL;
22422}
22423
22424
c32bde28 22425static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22426 PyObject *resultobj;
22427 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22428 int arg2 ;
22429 int arg3 ;
22430 PyObject * obj0 = 0 ;
22431 PyObject * obj1 = 0 ;
22432 PyObject * obj2 = 0 ;
22433 char *kwnames[] = {
22434 (char *) "self",(char *) "w",(char *) "h", NULL
22435 };
22436
22437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
22438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22440 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 22441 if (PyErr_Occurred()) SWIG_fail;
c32bde28 22442 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
22443 if (PyErr_Occurred()) SWIG_fail;
22444 {
22445 PyThreadState* __tstate = wxPyBeginAllowThreads();
22446 (arg1)->SetPageSizePixels(arg2,arg3);
22447
22448 wxPyEndAllowThreads(__tstate);
22449 if (PyErr_Occurred()) SWIG_fail;
22450 }
22451 Py_INCREF(Py_None); resultobj = Py_None;
22452 return resultobj;
22453 fail:
22454 return NULL;
22455}
22456
22457
c32bde28 22458static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22459 PyObject *resultobj;
22460 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22461 int *arg2 = (int *) 0 ;
22462 int *arg3 = (int *) 0 ;
22463 int temp2 ;
c32bde28 22464 int res2 = 0 ;
d55e5bfc 22465 int temp3 ;
c32bde28 22466 int res3 = 0 ;
d55e5bfc
RD
22467 PyObject * obj0 = 0 ;
22468 char *kwnames[] = {
22469 (char *) "self", NULL
22470 };
22471
c32bde28
RD
22472 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22473 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc
RD
22474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
22475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22477 {
22478 PyThreadState* __tstate = wxPyBeginAllowThreads();
22479 (arg1)->GetPageSizePixels(arg2,arg3);
22480
22481 wxPyEndAllowThreads(__tstate);
22482 if (PyErr_Occurred()) SWIG_fail;
22483 }
22484 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
22485 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22486 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22487 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22488 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
22489 return resultobj;
22490 fail:
22491 return NULL;
22492}
22493
22494
c32bde28 22495static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22496 PyObject *resultobj;
22497 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22498 int arg2 ;
22499 int arg3 ;
22500 PyObject * obj0 = 0 ;
22501 PyObject * obj1 = 0 ;
22502 PyObject * obj2 = 0 ;
22503 char *kwnames[] = {
22504 (char *) "self",(char *) "w",(char *) "h", NULL
22505 };
22506
22507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
22508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22510 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 22511 if (PyErr_Occurred()) SWIG_fail;
c32bde28 22512 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
22513 if (PyErr_Occurred()) SWIG_fail;
22514 {
22515 PyThreadState* __tstate = wxPyBeginAllowThreads();
22516 (arg1)->SetPageSizeMM(arg2,arg3);
22517
22518 wxPyEndAllowThreads(__tstate);
22519 if (PyErr_Occurred()) SWIG_fail;
22520 }
22521 Py_INCREF(Py_None); resultobj = Py_None;
22522 return resultobj;
22523 fail:
22524 return NULL;
22525}
22526
22527
c32bde28 22528static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22529 PyObject *resultobj;
22530 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22531 int *arg2 = (int *) 0 ;
22532 int *arg3 = (int *) 0 ;
22533 int temp2 ;
c32bde28 22534 int res2 = 0 ;
d55e5bfc 22535 int temp3 ;
c32bde28 22536 int res3 = 0 ;
d55e5bfc
RD
22537 PyObject * obj0 = 0 ;
22538 char *kwnames[] = {
22539 (char *) "self", NULL
22540 };
22541
c32bde28
RD
22542 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22543 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc
RD
22544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
22545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22547 {
22548 PyThreadState* __tstate = wxPyBeginAllowThreads();
22549 (arg1)->GetPageSizeMM(arg2,arg3);
22550
22551 wxPyEndAllowThreads(__tstate);
22552 if (PyErr_Occurred()) SWIG_fail;
22553 }
22554 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
22555 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22556 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22557 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22558 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
22559 return resultobj;
22560 fail:
22561 return NULL;
22562}
22563
22564
c32bde28 22565static PyObject *_wrap_Printout_SetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22566 PyObject *resultobj;
22567 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22568 int arg2 ;
22569 int arg3 ;
22570 PyObject * obj0 = 0 ;
22571 PyObject * obj1 = 0 ;
22572 PyObject * obj2 = 0 ;
22573 char *kwnames[] = {
22574 (char *) "self",(char *) "x",(char *) "y", NULL
22575 };
22576
22577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
22578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22580 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 22581 if (PyErr_Occurred()) SWIG_fail;
c32bde28 22582 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
22583 if (PyErr_Occurred()) SWIG_fail;
22584 {
22585 PyThreadState* __tstate = wxPyBeginAllowThreads();
22586 (arg1)->SetPPIScreen(arg2,arg3);
22587
22588 wxPyEndAllowThreads(__tstate);
22589 if (PyErr_Occurred()) SWIG_fail;
22590 }
22591 Py_INCREF(Py_None); resultobj = Py_None;
22592 return resultobj;
22593 fail:
22594 return NULL;
22595}
22596
22597
c32bde28 22598static PyObject *_wrap_Printout_GetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22599 PyObject *resultobj;
22600 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22601 int *arg2 = (int *) 0 ;
22602 int *arg3 = (int *) 0 ;
22603 int temp2 ;
c32bde28 22604 int res2 = 0 ;
d55e5bfc 22605 int temp3 ;
c32bde28 22606 int res3 = 0 ;
d55e5bfc
RD
22607 PyObject * obj0 = 0 ;
22608 char *kwnames[] = {
22609 (char *) "self", NULL
22610 };
22611
c32bde28
RD
22612 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22613 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc
RD
22614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
22615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22617 {
22618 PyThreadState* __tstate = wxPyBeginAllowThreads();
22619 (arg1)->GetPPIScreen(arg2,arg3);
22620
22621 wxPyEndAllowThreads(__tstate);
22622 if (PyErr_Occurred()) SWIG_fail;
22623 }
22624 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
22625 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22626 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22627 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22628 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
22629 return resultobj;
22630 fail:
22631 return NULL;
22632}
22633
22634
c32bde28 22635static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22636 PyObject *resultobj;
22637 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22638 int arg2 ;
22639 int arg3 ;
22640 PyObject * obj0 = 0 ;
22641 PyObject * obj1 = 0 ;
22642 PyObject * obj2 = 0 ;
22643 char *kwnames[] = {
22644 (char *) "self",(char *) "x",(char *) "y", NULL
22645 };
22646
22647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
22648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22650 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 22651 if (PyErr_Occurred()) SWIG_fail;
c32bde28 22652 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
22653 if (PyErr_Occurred()) SWIG_fail;
22654 {
22655 PyThreadState* __tstate = wxPyBeginAllowThreads();
22656 (arg1)->SetPPIPrinter(arg2,arg3);
22657
22658 wxPyEndAllowThreads(__tstate);
22659 if (PyErr_Occurred()) SWIG_fail;
22660 }
22661 Py_INCREF(Py_None); resultobj = Py_None;
22662 return resultobj;
22663 fail:
22664 return NULL;
22665}
22666
22667
c32bde28 22668static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22669 PyObject *resultobj;
22670 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22671 int *arg2 = (int *) 0 ;
22672 int *arg3 = (int *) 0 ;
22673 int temp2 ;
c32bde28 22674 int res2 = 0 ;
d55e5bfc 22675 int temp3 ;
c32bde28 22676 int res3 = 0 ;
d55e5bfc
RD
22677 PyObject * obj0 = 0 ;
22678 char *kwnames[] = {
22679 (char *) "self", NULL
22680 };
22681
c32bde28
RD
22682 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22683 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc
RD
22684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
22685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22687 {
22688 PyThreadState* __tstate = wxPyBeginAllowThreads();
22689 (arg1)->GetPPIPrinter(arg2,arg3);
22690
22691 wxPyEndAllowThreads(__tstate);
22692 if (PyErr_Occurred()) SWIG_fail;
22693 }
22694 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
22695 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22696 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22697 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22698 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
22699 return resultobj;
22700 fail:
22701 return NULL;
22702}
22703
22704
c32bde28 22705static PyObject *_wrap_Printout_IsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22706 PyObject *resultobj;
22707 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22708 bool result;
22709 PyObject * obj0 = 0 ;
22710 char *kwnames[] = {
22711 (char *) "self", NULL
22712 };
22713
22714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
22715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22717 {
22718 PyThreadState* __tstate = wxPyBeginAllowThreads();
22719 result = (bool)(arg1)->IsPreview();
22720
22721 wxPyEndAllowThreads(__tstate);
22722 if (PyErr_Occurred()) SWIG_fail;
22723 }
22724 {
22725 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22726 }
22727 return resultobj;
22728 fail:
22729 return NULL;
22730}
22731
22732
c32bde28 22733static PyObject *_wrap_Printout_SetIsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22734 PyObject *resultobj;
22735 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22736 bool arg2 ;
22737 PyObject * obj0 = 0 ;
22738 PyObject * obj1 = 0 ;
22739 char *kwnames[] = {
22740 (char *) "self",(char *) "p", NULL
22741 };
22742
22743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
22744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22746 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
22747 if (PyErr_Occurred()) SWIG_fail;
22748 {
22749 PyThreadState* __tstate = wxPyBeginAllowThreads();
22750 (arg1)->SetIsPreview(arg2);
22751
22752 wxPyEndAllowThreads(__tstate);
22753 if (PyErr_Occurred()) SWIG_fail;
22754 }
22755 Py_INCREF(Py_None); resultobj = Py_None;
22756 return resultobj;
22757 fail:
22758 return NULL;
22759}
22760
22761
c32bde28 22762static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22763 PyObject *resultobj;
22764 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22765 int arg2 ;
22766 int arg3 ;
22767 bool result;
22768 PyObject * obj0 = 0 ;
22769 PyObject * obj1 = 0 ;
22770 PyObject * obj2 = 0 ;
22771 char *kwnames[] = {
22772 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
22773 };
22774
22775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
22776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22778 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 22779 if (PyErr_Occurred()) SWIG_fail;
c32bde28 22780 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
22781 if (PyErr_Occurred()) SWIG_fail;
22782 {
22783 PyThreadState* __tstate = wxPyBeginAllowThreads();
22784 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
22785
22786 wxPyEndAllowThreads(__tstate);
22787 if (PyErr_Occurred()) SWIG_fail;
22788 }
22789 {
22790 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22791 }
22792 return resultobj;
22793 fail:
22794 return NULL;
22795}
22796
22797
c32bde28 22798static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22799 PyObject *resultobj;
22800 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22801 PyObject * obj0 = 0 ;
22802 char *kwnames[] = {
22803 (char *) "self", NULL
22804 };
22805
22806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
22807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22809 {
22810 PyThreadState* __tstate = wxPyBeginAllowThreads();
22811 (arg1)->base_OnEndDocument();
22812
22813 wxPyEndAllowThreads(__tstate);
22814 if (PyErr_Occurred()) SWIG_fail;
22815 }
22816 Py_INCREF(Py_None); resultobj = Py_None;
22817 return resultobj;
22818 fail:
22819 return NULL;
22820}
22821
22822
c32bde28 22823static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22824 PyObject *resultobj;
22825 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22826 PyObject * obj0 = 0 ;
22827 char *kwnames[] = {
22828 (char *) "self", NULL
22829 };
22830
22831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
22832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22834 {
22835 PyThreadState* __tstate = wxPyBeginAllowThreads();
22836 (arg1)->base_OnBeginPrinting();
22837
22838 wxPyEndAllowThreads(__tstate);
22839 if (PyErr_Occurred()) SWIG_fail;
22840 }
22841 Py_INCREF(Py_None); resultobj = Py_None;
22842 return resultobj;
22843 fail:
22844 return NULL;
22845}
22846
22847
c32bde28 22848static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22849 PyObject *resultobj;
22850 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22851 PyObject * obj0 = 0 ;
22852 char *kwnames[] = {
22853 (char *) "self", NULL
22854 };
22855
22856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
22857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22859 {
22860 PyThreadState* __tstate = wxPyBeginAllowThreads();
22861 (arg1)->base_OnEndPrinting();
22862
22863 wxPyEndAllowThreads(__tstate);
22864 if (PyErr_Occurred()) SWIG_fail;
22865 }
22866 Py_INCREF(Py_None); resultobj = Py_None;
22867 return resultobj;
22868 fail:
22869 return NULL;
22870}
22871
22872
c32bde28 22873static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22874 PyObject *resultobj;
22875 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22876 PyObject * obj0 = 0 ;
22877 char *kwnames[] = {
22878 (char *) "self", NULL
22879 };
22880
22881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
22882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22884 {
22885 PyThreadState* __tstate = wxPyBeginAllowThreads();
22886 (arg1)->base_OnPreparePrinting();
22887
22888 wxPyEndAllowThreads(__tstate);
22889 if (PyErr_Occurred()) SWIG_fail;
22890 }
22891 Py_INCREF(Py_None); resultobj = Py_None;
22892 return resultobj;
22893 fail:
22894 return NULL;
22895}
22896
22897
c32bde28 22898static PyObject *_wrap_Printout_base_HasPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22899 PyObject *resultobj;
22900 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22901 int arg2 ;
22902 bool result;
22903 PyObject * obj0 = 0 ;
22904 PyObject * obj1 = 0 ;
22905 char *kwnames[] = {
22906 (char *) "self",(char *) "page", NULL
22907 };
22908
22909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
22910 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22912 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
22913 if (PyErr_Occurred()) SWIG_fail;
22914 {
22915 PyThreadState* __tstate = wxPyBeginAllowThreads();
22916 result = (bool)(arg1)->base_HasPage(arg2);
22917
22918 wxPyEndAllowThreads(__tstate);
22919 if (PyErr_Occurred()) SWIG_fail;
22920 }
22921 {
22922 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22923 }
22924 return resultobj;
22925 fail:
22926 return NULL;
22927}
22928
22929
c32bde28 22930static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22931 PyObject *resultobj;
22932 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22933 int *arg2 = (int *) 0 ;
22934 int *arg3 = (int *) 0 ;
22935 int *arg4 = (int *) 0 ;
22936 int *arg5 = (int *) 0 ;
22937 int temp2 ;
c32bde28 22938 int res2 = 0 ;
d55e5bfc 22939 int temp3 ;
c32bde28 22940 int res3 = 0 ;
d55e5bfc 22941 int temp4 ;
c32bde28 22942 int res4 = 0 ;
d55e5bfc 22943 int temp5 ;
c32bde28 22944 int res5 = 0 ;
d55e5bfc
RD
22945 PyObject * obj0 = 0 ;
22946 char *kwnames[] = {
22947 (char *) "self", NULL
22948 };
22949
c32bde28
RD
22950 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22951 arg3 = &temp3; res3 = SWIG_NEWOBJ;
22952 arg4 = &temp4; res4 = SWIG_NEWOBJ;
22953 arg5 = &temp5; res5 = SWIG_NEWOBJ;
d55e5bfc
RD
22954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
22955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22957 {
22958 PyThreadState* __tstate = wxPyBeginAllowThreads();
22959 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
22960
22961 wxPyEndAllowThreads(__tstate);
22962 if (PyErr_Occurred()) SWIG_fail;
22963 }
22964 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
22965 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22966 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22967 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22968 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
22969 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
22970 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
22971 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
22972 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
22973 return resultobj;
22974 fail:
22975 return NULL;
22976}
22977
22978
c32bde28 22979static PyObject * Printout_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
22980 PyObject *obj;
22981 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22982 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
22983 Py_INCREF(obj);
22984 return Py_BuildValue((char *)"");
22985}
c32bde28 22986static PyObject *_wrap_new_PreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22987 PyObject *resultobj;
22988 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22989 wxWindow *arg2 = (wxWindow *) 0 ;
22990 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22991 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22992 wxSize const &arg4_defvalue = wxDefaultSize ;
22993 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22994 long arg5 = (long) 0 ;
22995 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
22996 wxString *arg6 = (wxString *) &arg6_defvalue ;
22997 wxPreviewCanvas *result;
22998 wxPoint temp3 ;
22999 wxSize temp4 ;
23000 bool temp6 = False ;
23001 PyObject * obj0 = 0 ;
23002 PyObject * obj1 = 0 ;
23003 PyObject * obj2 = 0 ;
23004 PyObject * obj3 = 0 ;
23005 PyObject * obj4 = 0 ;
23006 PyObject * obj5 = 0 ;
23007 char *kwnames[] = {
23008 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23009 };
23010
23011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
23012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23014 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
23015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23016 if (obj2) {
23017 {
23018 arg3 = &temp3;
23019 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23020 }
23021 }
23022 if (obj3) {
23023 {
23024 arg4 = &temp4;
23025 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23026 }
23027 }
23028 if (obj4) {
c32bde28 23029 arg5 = (long)SWIG_As_long(obj4);
d55e5bfc
RD
23030 if (PyErr_Occurred()) SWIG_fail;
23031 }
23032 if (obj5) {
23033 {
23034 arg6 = wxString_in_helper(obj5);
23035 if (arg6 == NULL) SWIG_fail;
23036 temp6 = True;
23037 }
23038 }
23039 {
0439c23b 23040 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
23041 PyThreadState* __tstate = wxPyBeginAllowThreads();
23042 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
23043
23044 wxPyEndAllowThreads(__tstate);
110da5b0 23045 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
23046 }
23047 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
23048 {
23049 if (temp6)
23050 delete arg6;
23051 }
23052 return resultobj;
23053 fail:
23054 {
23055 if (temp6)
23056 delete arg6;
23057 }
23058 return NULL;
23059}
23060
23061
c32bde28 23062static PyObject * PreviewCanvas_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
23063 PyObject *obj;
23064 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23065 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
23066 Py_INCREF(obj);
23067 return Py_BuildValue((char *)"");
23068}
c32bde28 23069static PyObject *_wrap_new_PreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23070 PyObject *resultobj;
23071 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23072 wxFrame *arg2 = (wxFrame *) 0 ;
23073 wxString *arg3 = 0 ;
23074 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23075 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23076 wxSize const &arg5_defvalue = wxDefaultSize ;
23077 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23078 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
23079 wxString const &arg7_defvalue = wxPyFrameNameStr ;
23080 wxString *arg7 = (wxString *) &arg7_defvalue ;
23081 wxPreviewFrame *result;
23082 bool temp3 = False ;
23083 wxPoint temp4 ;
23084 wxSize temp5 ;
23085 bool temp7 = False ;
23086 PyObject * obj0 = 0 ;
23087 PyObject * obj1 = 0 ;
23088 PyObject * obj2 = 0 ;
23089 PyObject * obj3 = 0 ;
23090 PyObject * obj4 = 0 ;
23091 PyObject * obj5 = 0 ;
23092 PyObject * obj6 = 0 ;
23093 char *kwnames[] = {
23094 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23095 };
23096
23097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23100 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
23101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23102 {
23103 arg3 = wxString_in_helper(obj2);
23104 if (arg3 == NULL) SWIG_fail;
23105 temp3 = True;
23106 }
23107 if (obj3) {
23108 {
23109 arg4 = &temp4;
23110 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23111 }
23112 }
23113 if (obj4) {
23114 {
23115 arg5 = &temp5;
23116 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23117 }
23118 }
23119 if (obj5) {
c32bde28 23120 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
23121 if (PyErr_Occurred()) SWIG_fail;
23122 }
23123 if (obj6) {
23124 {
23125 arg7 = wxString_in_helper(obj6);
23126 if (arg7 == NULL) SWIG_fail;
23127 temp7 = True;
23128 }
23129 }
23130 {
0439c23b 23131 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
23132 PyThreadState* __tstate = wxPyBeginAllowThreads();
23133 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
23134
23135 wxPyEndAllowThreads(__tstate);
110da5b0 23136 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
23137 }
23138 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
23139 {
23140 if (temp3)
23141 delete arg3;
23142 }
23143 {
23144 if (temp7)
23145 delete arg7;
23146 }
23147 return resultobj;
23148 fail:
23149 {
23150 if (temp3)
23151 delete arg3;
23152 }
23153 {
23154 if (temp7)
23155 delete arg7;
23156 }
23157 return NULL;
23158}
23159
23160
c32bde28 23161static PyObject *_wrap_PreviewFrame_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23162 PyObject *resultobj;
23163 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
23164 PyObject * obj0 = 0 ;
23165 char *kwnames[] = {
23166 (char *) "self", NULL
23167 };
23168
23169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
23170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
23171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23172 {
23173 PyThreadState* __tstate = wxPyBeginAllowThreads();
23174 (arg1)->Initialize();
23175
23176 wxPyEndAllowThreads(__tstate);
23177 if (PyErr_Occurred()) SWIG_fail;
23178 }
23179 Py_INCREF(Py_None); resultobj = Py_None;
23180 return resultobj;
23181 fail:
23182 return NULL;
23183}
23184
23185
c32bde28 23186static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23187 PyObject *resultobj;
23188 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
23189 PyObject * obj0 = 0 ;
23190 char *kwnames[] = {
23191 (char *) "self", NULL
23192 };
23193
23194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
23195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
23196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23197 {
23198 PyThreadState* __tstate = wxPyBeginAllowThreads();
23199 (arg1)->CreateControlBar();
23200
23201 wxPyEndAllowThreads(__tstate);
23202 if (PyErr_Occurred()) SWIG_fail;
23203 }
23204 Py_INCREF(Py_None); resultobj = Py_None;
23205 return resultobj;
23206 fail:
23207 return NULL;
23208}
23209
23210
c32bde28 23211static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23212 PyObject *resultobj;
23213 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
23214 PyObject * obj0 = 0 ;
23215 char *kwnames[] = {
23216 (char *) "self", NULL
23217 };
23218
23219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
23220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
23221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23222 {
23223 PyThreadState* __tstate = wxPyBeginAllowThreads();
23224 (arg1)->CreateCanvas();
23225
23226 wxPyEndAllowThreads(__tstate);
23227 if (PyErr_Occurred()) SWIG_fail;
23228 }
23229 Py_INCREF(Py_None); resultobj = Py_None;
23230 return resultobj;
23231 fail:
23232 return NULL;
23233}
23234
23235
c32bde28 23236static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23237 PyObject *resultobj;
23238 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
23239 wxPreviewControlBar *result;
23240 PyObject * obj0 = 0 ;
23241 char *kwnames[] = {
23242 (char *) "self", NULL
23243 };
23244
23245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
23246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
23247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23248 {
23249 PyThreadState* __tstate = wxPyBeginAllowThreads();
23250 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
23251
23252 wxPyEndAllowThreads(__tstate);
23253 if (PyErr_Occurred()) SWIG_fail;
23254 }
23255 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
23256 return resultobj;
23257 fail:
23258 return NULL;
23259}
23260
23261
c32bde28 23262static PyObject * PreviewFrame_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
23263 PyObject *obj;
23264 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23265 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
23266 Py_INCREF(obj);
23267 return Py_BuildValue((char *)"");
23268}
c32bde28 23269static PyObject *_wrap_new_PreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23270 PyObject *resultobj;
23271 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23272 long arg2 ;
23273 wxWindow *arg3 = (wxWindow *) 0 ;
23274 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23275 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23276 wxSize const &arg5_defvalue = wxDefaultSize ;
23277 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23278 long arg6 = (long) wxTAB_TRAVERSAL ;
23279 wxString const &arg7_defvalue = wxPyPanelNameStr ;
23280 wxString *arg7 = (wxString *) &arg7_defvalue ;
23281 wxPreviewControlBar *result;
23282 wxPoint temp4 ;
23283 wxSize temp5 ;
23284 bool temp7 = False ;
23285 PyObject * obj0 = 0 ;
23286 PyObject * obj1 = 0 ;
23287 PyObject * obj2 = 0 ;
23288 PyObject * obj3 = 0 ;
23289 PyObject * obj4 = 0 ;
23290 PyObject * obj5 = 0 ;
23291 PyObject * obj6 = 0 ;
23292 char *kwnames[] = {
23293 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23294 };
23295
23296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 23299 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
23300 if (PyErr_Occurred()) SWIG_fail;
23301 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
23302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23303 if (obj3) {
23304 {
23305 arg4 = &temp4;
23306 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23307 }
23308 }
23309 if (obj4) {
23310 {
23311 arg5 = &temp5;
23312 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23313 }
23314 }
23315 if (obj5) {
c32bde28 23316 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
23317 if (PyErr_Occurred()) SWIG_fail;
23318 }
23319 if (obj6) {
23320 {
23321 arg7 = wxString_in_helper(obj6);
23322 if (arg7 == NULL) SWIG_fail;
23323 temp7 = True;
23324 }
23325 }
23326 {
0439c23b 23327 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
23328 PyThreadState* __tstate = wxPyBeginAllowThreads();
23329 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
23330
23331 wxPyEndAllowThreads(__tstate);
110da5b0 23332 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
23333 }
23334 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
23335 {
23336 if (temp7)
23337 delete arg7;
23338 }
23339 return resultobj;
23340 fail:
23341 {
23342 if (temp7)
23343 delete arg7;
23344 }
23345 return NULL;
23346}
23347
23348
c32bde28 23349static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23350 PyObject *resultobj;
23351 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23352 int result;
23353 PyObject * obj0 = 0 ;
23354 char *kwnames[] = {
23355 (char *) "self", NULL
23356 };
23357
23358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
23359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23361 {
23362 PyThreadState* __tstate = wxPyBeginAllowThreads();
23363 result = (int)(arg1)->GetZoomControl();
23364
23365 wxPyEndAllowThreads(__tstate);
23366 if (PyErr_Occurred()) SWIG_fail;
23367 }
c32bde28 23368 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
23369 return resultobj;
23370 fail:
23371 return NULL;
23372}
23373
23374
c32bde28 23375static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23376 PyObject *resultobj;
23377 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23378 int arg2 ;
23379 PyObject * obj0 = 0 ;
23380 PyObject * obj1 = 0 ;
23381 char *kwnames[] = {
23382 (char *) "self",(char *) "zoom", NULL
23383 };
23384
23385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
23386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 23388 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
23389 if (PyErr_Occurred()) SWIG_fail;
23390 {
23391 PyThreadState* __tstate = wxPyBeginAllowThreads();
23392 (arg1)->SetZoomControl(arg2);
23393
23394 wxPyEndAllowThreads(__tstate);
23395 if (PyErr_Occurred()) SWIG_fail;
23396 }
23397 Py_INCREF(Py_None); resultobj = Py_None;
23398 return resultobj;
23399 fail:
23400 return NULL;
23401}
23402
23403
c32bde28 23404static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23405 PyObject *resultobj;
23406 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23407 wxPrintPreview *result;
23408 PyObject * obj0 = 0 ;
23409 char *kwnames[] = {
23410 (char *) "self", NULL
23411 };
23412
23413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
23414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23416 {
23417 PyThreadState* __tstate = wxPyBeginAllowThreads();
23418 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
23419
23420 wxPyEndAllowThreads(__tstate);
23421 if (PyErr_Occurred()) SWIG_fail;
23422 }
23423 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
23424 return resultobj;
23425 fail:
23426 return NULL;
23427}
23428
23429
c32bde28 23430static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23431 PyObject *resultobj;
23432 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23433 PyObject * obj0 = 0 ;
23434 char *kwnames[] = {
23435 (char *) "self", NULL
23436 };
23437
23438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
23439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23441 {
23442 PyThreadState* __tstate = wxPyBeginAllowThreads();
23443 (arg1)->OnNext();
23444
23445 wxPyEndAllowThreads(__tstate);
23446 if (PyErr_Occurred()) SWIG_fail;
23447 }
23448 Py_INCREF(Py_None); resultobj = Py_None;
23449 return resultobj;
23450 fail:
23451 return NULL;
23452}
23453
23454
c32bde28 23455static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23456 PyObject *resultobj;
23457 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23458 PyObject * obj0 = 0 ;
23459 char *kwnames[] = {
23460 (char *) "self", NULL
23461 };
23462
23463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
23464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23466 {
23467 PyThreadState* __tstate = wxPyBeginAllowThreads();
23468 (arg1)->OnPrevious();
23469
23470 wxPyEndAllowThreads(__tstate);
23471 if (PyErr_Occurred()) SWIG_fail;
23472 }
23473 Py_INCREF(Py_None); resultobj = Py_None;
23474 return resultobj;
23475 fail:
23476 return NULL;
23477}
23478
23479
c32bde28 23480static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23481 PyObject *resultobj;
23482 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23483 PyObject * obj0 = 0 ;
23484 char *kwnames[] = {
23485 (char *) "self", NULL
23486 };
23487
23488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
23489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23491 {
23492 PyThreadState* __tstate = wxPyBeginAllowThreads();
23493 (arg1)->OnFirst();
23494
23495 wxPyEndAllowThreads(__tstate);
23496 if (PyErr_Occurred()) SWIG_fail;
23497 }
23498 Py_INCREF(Py_None); resultobj = Py_None;
23499 return resultobj;
23500 fail:
23501 return NULL;
23502}
23503
23504
c32bde28 23505static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23506 PyObject *resultobj;
23507 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23508 PyObject * obj0 = 0 ;
23509 char *kwnames[] = {
23510 (char *) "self", NULL
23511 };
23512
23513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
23514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23516 {
23517 PyThreadState* __tstate = wxPyBeginAllowThreads();
23518 (arg1)->OnLast();
23519
23520 wxPyEndAllowThreads(__tstate);
23521 if (PyErr_Occurred()) SWIG_fail;
23522 }
23523 Py_INCREF(Py_None); resultobj = Py_None;
23524 return resultobj;
23525 fail:
23526 return NULL;
23527}
23528
23529
c32bde28 23530static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23531 PyObject *resultobj;
23532 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23533 PyObject * obj0 = 0 ;
23534 char *kwnames[] = {
23535 (char *) "self", NULL
23536 };
23537
23538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
23539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23541 {
23542 PyThreadState* __tstate = wxPyBeginAllowThreads();
23543 (arg1)->OnGoto();
23544
23545 wxPyEndAllowThreads(__tstate);
23546 if (PyErr_Occurred()) SWIG_fail;
23547 }
23548 Py_INCREF(Py_None); resultobj = Py_None;
23549 return resultobj;
23550 fail:
23551 return NULL;
23552}
23553
23554
c32bde28 23555static PyObject * PreviewControlBar_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
23556 PyObject *obj;
23557 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23558 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
23559 Py_INCREF(obj);
23560 return Py_BuildValue((char *)"");
23561}
c32bde28 23562static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
23563 PyObject *resultobj;
23564 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23565 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23566 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
23567 wxPrintPreview *result;
23568 PyObject * obj0 = 0 ;
23569 PyObject * obj1 = 0 ;
23570 PyObject * obj2 = 0 ;
23571
23572 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
23573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23575 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23577 if (obj2) {
23578 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
23579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23580 }
23581 {
0439c23b 23582 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
23583 PyThreadState* __tstate = wxPyBeginAllowThreads();
23584 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
23585
23586 wxPyEndAllowThreads(__tstate);
110da5b0 23587 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
23588 }
23589 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
23590 return resultobj;
23591 fail:
23592 return NULL;
23593}
23594
23595
c32bde28 23596static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
23597 PyObject *resultobj;
23598 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23599 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23600 wxPrintData *arg3 = (wxPrintData *) 0 ;
23601 wxPrintPreview *result;
23602 PyObject * obj0 = 0 ;
23603 PyObject * obj1 = 0 ;
23604 PyObject * obj2 = 0 ;
23605
23606 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
23607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23609 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23611 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
23612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23613 {
0439c23b 23614 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
23615 PyThreadState* __tstate = wxPyBeginAllowThreads();
23616 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
23617
23618 wxPyEndAllowThreads(__tstate);
110da5b0 23619 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
23620 }
23621 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
23622 return resultobj;
23623 fail:
23624 return NULL;
23625}
23626
23627
23628static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
23629 int argc;
23630 PyObject *argv[4];
23631 int ii;
23632
23633 argc = PyObject_Length(args);
23634 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
23635 argv[ii] = PyTuple_GetItem(args,ii);
23636 }
23637 if ((argc >= 2) && (argc <= 3)) {
23638 int _v;
23639 {
23640 void *ptr;
23641 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23642 _v = 0;
23643 PyErr_Clear();
23644 } else {
23645 _v = 1;
23646 }
23647 }
23648 if (_v) {
23649 {
23650 void *ptr;
23651 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23652 _v = 0;
23653 PyErr_Clear();
23654 } else {
23655 _v = 1;
23656 }
23657 }
23658 if (_v) {
23659 if (argc <= 2) {
23660 return _wrap_new_PrintPreview__SWIG_0(self,args);
23661 }
23662 {
23663 void *ptr;
23664 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
23665 _v = 0;
23666 PyErr_Clear();
23667 } else {
23668 _v = 1;
23669 }
23670 }
23671 if (_v) {
23672 return _wrap_new_PrintPreview__SWIG_0(self,args);
23673 }
23674 }
23675 }
23676 }
23677 if (argc == 3) {
23678 int _v;
23679 {
23680 void *ptr;
23681 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23682 _v = 0;
23683 PyErr_Clear();
23684 } else {
23685 _v = 1;
23686 }
23687 }
23688 if (_v) {
23689 {
23690 void *ptr;
23691 if (SWIG_ConvertPtr(argv[1], &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[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
23702 _v = 0;
23703 PyErr_Clear();
23704 } else {
23705 _v = 1;
23706 }
23707 }
23708 if (_v) {
23709 return _wrap_new_PrintPreview__SWIG_1(self,args);
23710 }
23711 }
23712 }
23713 }
23714
23715 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintPreview'");
23716 return NULL;
23717}
23718
23719
c32bde28 23720static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23721 PyObject *resultobj;
23722 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23723 int arg2 ;
23724 bool result;
23725 PyObject * obj0 = 0 ;
23726 PyObject * obj1 = 0 ;
23727 char *kwnames[] = {
23728 (char *) "self",(char *) "pageNum", NULL
23729 };
23730
23731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
23732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 23734 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
23735 if (PyErr_Occurred()) SWIG_fail;
23736 {
23737 PyThreadState* __tstate = wxPyBeginAllowThreads();
23738 result = (bool)(arg1)->SetCurrentPage(arg2);
23739
23740 wxPyEndAllowThreads(__tstate);
23741 if (PyErr_Occurred()) SWIG_fail;
23742 }
23743 {
23744 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23745 }
23746 return resultobj;
23747 fail:
23748 return NULL;
23749}
23750
23751
c32bde28 23752static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23753 PyObject *resultobj;
23754 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23755 int result;
23756 PyObject * obj0 = 0 ;
23757 char *kwnames[] = {
23758 (char *) "self", NULL
23759 };
23760
23761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
23762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23764 {
23765 PyThreadState* __tstate = wxPyBeginAllowThreads();
23766 result = (int)(arg1)->GetCurrentPage();
23767
23768 wxPyEndAllowThreads(__tstate);
23769 if (PyErr_Occurred()) SWIG_fail;
23770 }
c32bde28 23771 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
23772 return resultobj;
23773 fail:
23774 return NULL;
23775}
23776
23777
c32bde28 23778static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23779 PyObject *resultobj;
23780 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23781 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23782 PyObject * obj0 = 0 ;
23783 PyObject * obj1 = 0 ;
23784 char *kwnames[] = {
23785 (char *) "self",(char *) "printout", NULL
23786 };
23787
23788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
23789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23791 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23793 {
23794 PyThreadState* __tstate = wxPyBeginAllowThreads();
23795 (arg1)->SetPrintout(arg2);
23796
23797 wxPyEndAllowThreads(__tstate);
23798 if (PyErr_Occurred()) SWIG_fail;
23799 }
23800 Py_INCREF(Py_None); resultobj = Py_None;
23801 return resultobj;
23802 fail:
23803 return NULL;
23804}
23805
23806
c32bde28 23807static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23808 PyObject *resultobj;
23809 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23810 wxPyPrintout *result;
23811 PyObject * obj0 = 0 ;
23812 char *kwnames[] = {
23813 (char *) "self", NULL
23814 };
23815
23816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
23817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23819 {
23820 PyThreadState* __tstate = wxPyBeginAllowThreads();
23821 result = (wxPyPrintout *)(arg1)->GetPrintout();
23822
23823 wxPyEndAllowThreads(__tstate);
23824 if (PyErr_Occurred()) SWIG_fail;
23825 }
23826 {
412d302d 23827 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
23828 }
23829 return resultobj;
23830 fail:
23831 return NULL;
23832}
23833
23834
c32bde28 23835static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23836 PyObject *resultobj;
23837 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23838 wxPyPrintout *result;
23839 PyObject * obj0 = 0 ;
23840 char *kwnames[] = {
23841 (char *) "self", NULL
23842 };
23843
23844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
23845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23847 {
23848 PyThreadState* __tstate = wxPyBeginAllowThreads();
23849 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
23850
23851 wxPyEndAllowThreads(__tstate);
23852 if (PyErr_Occurred()) SWIG_fail;
23853 }
23854 {
412d302d 23855 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
23856 }
23857 return resultobj;
23858 fail:
23859 return NULL;
23860}
23861
23862
c32bde28 23863static PyObject *_wrap_PrintPreview_SetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23864 PyObject *resultobj;
23865 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23866 wxFrame *arg2 = (wxFrame *) 0 ;
23867 PyObject * obj0 = 0 ;
23868 PyObject * obj1 = 0 ;
23869 char *kwnames[] = {
23870 (char *) "self",(char *) "frame", NULL
23871 };
23872
23873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
23874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23876 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
23877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23878 {
23879 PyThreadState* __tstate = wxPyBeginAllowThreads();
23880 (arg1)->SetFrame(arg2);
23881
23882 wxPyEndAllowThreads(__tstate);
23883 if (PyErr_Occurred()) SWIG_fail;
23884 }
23885 Py_INCREF(Py_None); resultobj = Py_None;
23886 return resultobj;
23887 fail:
23888 return NULL;
23889}
23890
23891
c32bde28 23892static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23893 PyObject *resultobj;
23894 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23895 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23896 PyObject * obj0 = 0 ;
23897 PyObject * obj1 = 0 ;
23898 char *kwnames[] = {
23899 (char *) "self",(char *) "canvas", NULL
23900 };
23901
23902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
23903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23905 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23907 {
23908 PyThreadState* __tstate = wxPyBeginAllowThreads();
23909 (arg1)->SetCanvas(arg2);
23910
23911 wxPyEndAllowThreads(__tstate);
23912 if (PyErr_Occurred()) SWIG_fail;
23913 }
23914 Py_INCREF(Py_None); resultobj = Py_None;
23915 return resultobj;
23916 fail:
23917 return NULL;
23918}
23919
23920
c32bde28 23921static PyObject *_wrap_PrintPreview_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23922 PyObject *resultobj;
23923 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23924 wxFrame *result;
23925 PyObject * obj0 = 0 ;
23926 char *kwnames[] = {
23927 (char *) "self", NULL
23928 };
23929
23930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
23931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23933 {
23934 PyThreadState* __tstate = wxPyBeginAllowThreads();
23935 result = (wxFrame *)(arg1)->GetFrame();
23936
23937 wxPyEndAllowThreads(__tstate);
23938 if (PyErr_Occurred()) SWIG_fail;
23939 }
23940 {
412d302d 23941 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
23942 }
23943 return resultobj;
23944 fail:
23945 return NULL;
23946}
23947
23948
c32bde28 23949static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23950 PyObject *resultobj;
23951 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23952 wxPreviewCanvas *result;
23953 PyObject * obj0 = 0 ;
23954 char *kwnames[] = {
23955 (char *) "self", NULL
23956 };
23957
23958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
23959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23961 {
23962 PyThreadState* __tstate = wxPyBeginAllowThreads();
23963 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
23964
23965 wxPyEndAllowThreads(__tstate);
23966 if (PyErr_Occurred()) SWIG_fail;
23967 }
23968 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
23969 return resultobj;
23970 fail:
23971 return NULL;
23972}
23973
23974
c32bde28 23975static PyObject *_wrap_PrintPreview_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23976 PyObject *resultobj;
23977 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23978 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23979 wxDC *arg3 = 0 ;
23980 bool result;
23981 PyObject * obj0 = 0 ;
23982 PyObject * obj1 = 0 ;
23983 PyObject * obj2 = 0 ;
23984 char *kwnames[] = {
23985 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23986 };
23987
23988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23991 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23993 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23994 SWIG_POINTER_EXCEPTION | 0)) == -1)
23995 SWIG_fail;
23996 if (arg3 == NULL) {
23997 PyErr_SetString(PyExc_TypeError,"null reference");
23998 SWIG_fail;
23999 }
24000 {
24001 PyThreadState* __tstate = wxPyBeginAllowThreads();
24002 result = (bool)(arg1)->PaintPage(arg2,*arg3);
24003
24004 wxPyEndAllowThreads(__tstate);
24005 if (PyErr_Occurred()) SWIG_fail;
24006 }
24007 {
24008 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24009 }
24010 return resultobj;
24011 fail:
24012 return NULL;
24013}
24014
24015
c32bde28 24016static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24017 PyObject *resultobj;
24018 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24019 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24020 wxDC *arg3 = 0 ;
24021 bool result;
24022 PyObject * obj0 = 0 ;
24023 PyObject * obj1 = 0 ;
24024 PyObject * obj2 = 0 ;
24025 char *kwnames[] = {
24026 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24027 };
24028
24029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24032 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24034 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
24035 SWIG_POINTER_EXCEPTION | 0)) == -1)
24036 SWIG_fail;
24037 if (arg3 == NULL) {
24038 PyErr_SetString(PyExc_TypeError,"null reference");
24039 SWIG_fail;
24040 }
24041 {
24042 PyThreadState* __tstate = wxPyBeginAllowThreads();
24043 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
24044
24045 wxPyEndAllowThreads(__tstate);
24046 if (PyErr_Occurred()) SWIG_fail;
24047 }
24048 {
24049 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24050 }
24051 return resultobj;
24052 fail:
24053 return NULL;
24054}
24055
24056
c32bde28 24057static PyObject *_wrap_PrintPreview_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24058 PyObject *resultobj;
24059 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24060 int arg2 ;
24061 bool result;
24062 PyObject * obj0 = 0 ;
24063 PyObject * obj1 = 0 ;
24064 char *kwnames[] = {
24065 (char *) "self",(char *) "pageNum", NULL
24066 };
24067
24068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
24069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24071 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
24072 if (PyErr_Occurred()) SWIG_fail;
24073 {
24074 PyThreadState* __tstate = wxPyBeginAllowThreads();
24075 result = (bool)(arg1)->RenderPage(arg2);
24076
24077 wxPyEndAllowThreads(__tstate);
24078 if (PyErr_Occurred()) SWIG_fail;
24079 }
24080 {
24081 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24082 }
24083 return resultobj;
24084 fail:
24085 return NULL;
24086}
24087
24088
c32bde28 24089static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24090 PyObject *resultobj;
24091 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24092 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24093 PyObject * obj0 = 0 ;
24094 PyObject * obj1 = 0 ;
24095 char *kwnames[] = {
24096 (char *) "self",(char *) "canvas", NULL
24097 };
24098
24099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
24100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24102 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24104 {
24105 PyThreadState* __tstate = wxPyBeginAllowThreads();
24106 (arg1)->AdjustScrollbars(arg2);
24107
24108 wxPyEndAllowThreads(__tstate);
24109 if (PyErr_Occurred()) SWIG_fail;
24110 }
24111 Py_INCREF(Py_None); resultobj = Py_None;
24112 return resultobj;
24113 fail:
24114 return NULL;
24115}
24116
24117
c32bde28 24118static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24119 PyObject *resultobj;
24120 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24121 wxPrintDialogData *result;
24122 PyObject * obj0 = 0 ;
24123 char *kwnames[] = {
24124 (char *) "self", NULL
24125 };
24126
24127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
24128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24130 {
24131 PyThreadState* __tstate = wxPyBeginAllowThreads();
24132 {
24133 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
24134 result = (wxPrintDialogData *) &_result_ref;
24135 }
24136
24137 wxPyEndAllowThreads(__tstate);
24138 if (PyErr_Occurred()) SWIG_fail;
24139 }
24140 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
24141 return resultobj;
24142 fail:
24143 return NULL;
24144}
24145
24146
c32bde28 24147static PyObject *_wrap_PrintPreview_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24148 PyObject *resultobj;
24149 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24150 int arg2 ;
24151 PyObject * obj0 = 0 ;
24152 PyObject * obj1 = 0 ;
24153 char *kwnames[] = {
24154 (char *) "self",(char *) "percent", NULL
24155 };
24156
24157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
24158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24160 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
24161 if (PyErr_Occurred()) SWIG_fail;
24162 {
24163 PyThreadState* __tstate = wxPyBeginAllowThreads();
24164 (arg1)->SetZoom(arg2);
24165
24166 wxPyEndAllowThreads(__tstate);
24167 if (PyErr_Occurred()) SWIG_fail;
24168 }
24169 Py_INCREF(Py_None); resultobj = Py_None;
24170 return resultobj;
24171 fail:
24172 return NULL;
24173}
24174
24175
c32bde28 24176static PyObject *_wrap_PrintPreview_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24177 PyObject *resultobj;
24178 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24179 int result;
24180 PyObject * obj0 = 0 ;
24181 char *kwnames[] = {
24182 (char *) "self", NULL
24183 };
24184
24185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
24186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24188 {
24189 PyThreadState* __tstate = wxPyBeginAllowThreads();
24190 result = (int)(arg1)->GetZoom();
24191
24192 wxPyEndAllowThreads(__tstate);
24193 if (PyErr_Occurred()) SWIG_fail;
24194 }
c32bde28 24195 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
24196 return resultobj;
24197 fail:
24198 return NULL;
24199}
24200
24201
c32bde28 24202static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24203 PyObject *resultobj;
24204 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24205 int result;
24206 PyObject * obj0 = 0 ;
24207 char *kwnames[] = {
24208 (char *) "self", NULL
24209 };
24210
24211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
24212 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24214 {
24215 PyThreadState* __tstate = wxPyBeginAllowThreads();
24216 result = (int)(arg1)->GetMaxPage();
24217
24218 wxPyEndAllowThreads(__tstate);
24219 if (PyErr_Occurred()) SWIG_fail;
24220 }
c32bde28 24221 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
24222 return resultobj;
24223 fail:
24224 return NULL;
24225}
24226
24227
c32bde28 24228static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24229 PyObject *resultobj;
24230 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24231 int result;
24232 PyObject * obj0 = 0 ;
24233 char *kwnames[] = {
24234 (char *) "self", NULL
24235 };
24236
24237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
24238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24240 {
24241 PyThreadState* __tstate = wxPyBeginAllowThreads();
24242 result = (int)(arg1)->GetMinPage();
24243
24244 wxPyEndAllowThreads(__tstate);
24245 if (PyErr_Occurred()) SWIG_fail;
24246 }
c32bde28 24247 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
24248 return resultobj;
24249 fail:
24250 return NULL;
24251}
24252
24253
c32bde28 24254static PyObject *_wrap_PrintPreview_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24255 PyObject *resultobj;
24256 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24257 bool result;
24258 PyObject * obj0 = 0 ;
24259 char *kwnames[] = {
24260 (char *) "self", NULL
24261 };
24262
24263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
24264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24266 {
24267 PyThreadState* __tstate = wxPyBeginAllowThreads();
24268 result = (bool)(arg1)->Ok();
24269
24270 wxPyEndAllowThreads(__tstate);
24271 if (PyErr_Occurred()) SWIG_fail;
24272 }
24273 {
24274 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24275 }
24276 return resultobj;
24277 fail:
24278 return NULL;
24279}
24280
24281
c32bde28 24282static PyObject *_wrap_PrintPreview_SetOk(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24283 PyObject *resultobj;
24284 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24285 bool arg2 ;
24286 PyObject * obj0 = 0 ;
24287 PyObject * obj1 = 0 ;
24288 char *kwnames[] = {
24289 (char *) "self",(char *) "ok", NULL
24290 };
24291
24292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
24293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24295 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
24296 if (PyErr_Occurred()) SWIG_fail;
24297 {
24298 PyThreadState* __tstate = wxPyBeginAllowThreads();
24299 (arg1)->SetOk(arg2);
24300
24301 wxPyEndAllowThreads(__tstate);
24302 if (PyErr_Occurred()) SWIG_fail;
24303 }
24304 Py_INCREF(Py_None); resultobj = Py_None;
24305 return resultobj;
24306 fail:
24307 return NULL;
24308}
24309
24310
c32bde28 24311static PyObject *_wrap_PrintPreview_Print(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24312 PyObject *resultobj;
24313 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24314 bool arg2 ;
24315 bool result;
24316 PyObject * obj0 = 0 ;
24317 PyObject * obj1 = 0 ;
24318 char *kwnames[] = {
24319 (char *) "self",(char *) "interactive", NULL
24320 };
24321
24322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
24323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24325 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
24326 if (PyErr_Occurred()) SWIG_fail;
24327 {
24328 PyThreadState* __tstate = wxPyBeginAllowThreads();
24329 result = (bool)(arg1)->Print(arg2);
24330
24331 wxPyEndAllowThreads(__tstate);
24332 if (PyErr_Occurred()) SWIG_fail;
24333 }
24334 {
24335 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24336 }
24337 return resultobj;
24338 fail:
24339 return NULL;
24340}
24341
24342
c32bde28 24343static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24344 PyObject *resultobj;
24345 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24346 PyObject * obj0 = 0 ;
24347 char *kwnames[] = {
24348 (char *) "self", NULL
24349 };
24350
24351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
24352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24354 {
24355 PyThreadState* __tstate = wxPyBeginAllowThreads();
24356 (arg1)->DetermineScaling();
24357
24358 wxPyEndAllowThreads(__tstate);
24359 if (PyErr_Occurred()) SWIG_fail;
24360 }
24361 Py_INCREF(Py_None); resultobj = Py_None;
24362 return resultobj;
24363 fail:
24364 return NULL;
24365}
24366
24367
c32bde28 24368static PyObject * PrintPreview_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
24369 PyObject *obj;
24370 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24371 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
24372 Py_INCREF(obj);
24373 return Py_BuildValue((char *)"");
24374}
c32bde28 24375static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
24376 PyObject *resultobj;
24377 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24378 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
24379 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
24380 wxPyPrintPreview *result;
24381 PyObject * obj0 = 0 ;
24382 PyObject * obj1 = 0 ;
24383 PyObject * obj2 = 0 ;
24384
24385 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
24386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
24387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24388 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
24389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24390 if (obj2) {
24391 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
24392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24393 }
24394 {
0439c23b 24395 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
24396 PyThreadState* __tstate = wxPyBeginAllowThreads();
24397 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
24398
24399 wxPyEndAllowThreads(__tstate);
110da5b0 24400 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
24401 }
24402 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
24403 return resultobj;
24404 fail:
24405 return NULL;
24406}
24407
24408
c32bde28 24409static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
24410 PyObject *resultobj;
24411 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24412 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
24413 wxPrintData *arg3 = (wxPrintData *) 0 ;
24414 wxPyPrintPreview *result;
24415 PyObject * obj0 = 0 ;
24416 PyObject * obj1 = 0 ;
24417 PyObject * obj2 = 0 ;
24418
24419 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
24420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
24421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24422 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
24423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24424 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
24425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24426 {
0439c23b 24427 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
24428 PyThreadState* __tstate = wxPyBeginAllowThreads();
24429 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
24430
24431 wxPyEndAllowThreads(__tstate);
110da5b0 24432 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
24433 }
24434 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
24435 return resultobj;
24436 fail:
24437 return NULL;
24438}
24439
24440
24441static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
24442 int argc;
24443 PyObject *argv[4];
24444 int ii;
24445
24446 argc = PyObject_Length(args);
24447 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
24448 argv[ii] = PyTuple_GetItem(args,ii);
24449 }
24450 if ((argc >= 2) && (argc <= 3)) {
24451 int _v;
24452 {
24453 void *ptr;
24454 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24455 _v = 0;
24456 PyErr_Clear();
24457 } else {
24458 _v = 1;
24459 }
24460 }
24461 if (_v) {
24462 {
24463 void *ptr;
24464 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24465 _v = 0;
24466 PyErr_Clear();
24467 } else {
24468 _v = 1;
24469 }
24470 }
24471 if (_v) {
24472 if (argc <= 2) {
24473 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
24474 }
24475 {
24476 void *ptr;
24477 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
24478 _v = 0;
24479 PyErr_Clear();
24480 } else {
24481 _v = 1;
24482 }
24483 }
24484 if (_v) {
24485 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
24486 }
24487 }
24488 }
24489 }
24490 if (argc == 3) {
24491 int _v;
24492 {
24493 void *ptr;
24494 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24495 _v = 0;
24496 PyErr_Clear();
24497 } else {
24498 _v = 1;
24499 }
24500 }
24501 if (_v) {
24502 {
24503 void *ptr;
24504 if (SWIG_ConvertPtr(argv[1], &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[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
24515 _v = 0;
24516 PyErr_Clear();
24517 } else {
24518 _v = 1;
24519 }
24520 }
24521 if (_v) {
24522 return _wrap_new_PyPrintPreview__SWIG_1(self,args);
24523 }
24524 }
24525 }
24526 }
24527
24528 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PyPrintPreview'");
24529 return NULL;
24530}
24531
24532
c32bde28 24533static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24534 PyObject *resultobj;
24535 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24536 PyObject *arg2 = (PyObject *) 0 ;
24537 PyObject *arg3 = (PyObject *) 0 ;
24538 PyObject * obj0 = 0 ;
24539 PyObject * obj1 = 0 ;
24540 PyObject * obj2 = 0 ;
24541 char *kwnames[] = {
24542 (char *) "self",(char *) "self",(char *) "_class", NULL
24543 };
24544
24545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24548 arg2 = obj1;
24549 arg3 = obj2;
24550 {
24551 PyThreadState* __tstate = wxPyBeginAllowThreads();
24552 (arg1)->_setCallbackInfo(arg2,arg3);
24553
24554 wxPyEndAllowThreads(__tstate);
24555 if (PyErr_Occurred()) SWIG_fail;
24556 }
24557 Py_INCREF(Py_None); resultobj = Py_None;
24558 return resultobj;
24559 fail:
24560 return NULL;
24561}
24562
24563
c32bde28 24564static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24565 PyObject *resultobj;
24566 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24567 int arg2 ;
24568 bool result;
24569 PyObject * obj0 = 0 ;
24570 PyObject * obj1 = 0 ;
24571 char *kwnames[] = {
24572 (char *) "self",(char *) "pageNum", NULL
24573 };
24574
24575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
24576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24578 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
24579 if (PyErr_Occurred()) SWIG_fail;
24580 {
24581 PyThreadState* __tstate = wxPyBeginAllowThreads();
24582 result = (bool)(arg1)->base_SetCurrentPage(arg2);
24583
24584 wxPyEndAllowThreads(__tstate);
24585 if (PyErr_Occurred()) SWIG_fail;
24586 }
24587 {
24588 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24589 }
24590 return resultobj;
24591 fail:
24592 return NULL;
24593}
24594
24595
c32bde28 24596static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24597 PyObject *resultobj;
24598 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24599 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24600 wxDC *arg3 = 0 ;
24601 bool result;
24602 PyObject * obj0 = 0 ;
24603 PyObject * obj1 = 0 ;
24604 PyObject * obj2 = 0 ;
24605 char *kwnames[] = {
24606 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24607 };
24608
24609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24612 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24614 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
24615 SWIG_POINTER_EXCEPTION | 0)) == -1)
24616 SWIG_fail;
24617 if (arg3 == NULL) {
24618 PyErr_SetString(PyExc_TypeError,"null reference");
24619 SWIG_fail;
24620 }
24621 {
24622 PyThreadState* __tstate = wxPyBeginAllowThreads();
24623 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
24624
24625 wxPyEndAllowThreads(__tstate);
24626 if (PyErr_Occurred()) SWIG_fail;
24627 }
24628 {
24629 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24630 }
24631 return resultobj;
24632 fail:
24633 return NULL;
24634}
24635
24636
c32bde28 24637static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24638 PyObject *resultobj;
24639 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24640 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24641 wxDC *arg3 = 0 ;
24642 bool result;
24643 PyObject * obj0 = 0 ;
24644 PyObject * obj1 = 0 ;
24645 PyObject * obj2 = 0 ;
24646 char *kwnames[] = {
24647 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24648 };
24649
24650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24653 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24655 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
24656 SWIG_POINTER_EXCEPTION | 0)) == -1)
24657 SWIG_fail;
24658 if (arg3 == NULL) {
24659 PyErr_SetString(PyExc_TypeError,"null reference");
24660 SWIG_fail;
24661 }
24662 {
24663 PyThreadState* __tstate = wxPyBeginAllowThreads();
24664 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
24665
24666 wxPyEndAllowThreads(__tstate);
24667 if (PyErr_Occurred()) SWIG_fail;
24668 }
24669 {
24670 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24671 }
24672 return resultobj;
24673 fail:
24674 return NULL;
24675}
24676
24677
c32bde28 24678static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24679 PyObject *resultobj;
24680 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24681 int arg2 ;
24682 bool result;
24683 PyObject * obj0 = 0 ;
24684 PyObject * obj1 = 0 ;
24685 char *kwnames[] = {
24686 (char *) "self",(char *) "pageNum", NULL
24687 };
24688
24689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
24690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24692 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
24693 if (PyErr_Occurred()) SWIG_fail;
24694 {
24695 PyThreadState* __tstate = wxPyBeginAllowThreads();
24696 result = (bool)(arg1)->base_RenderPage(arg2);
24697
24698 wxPyEndAllowThreads(__tstate);
24699 if (PyErr_Occurred()) SWIG_fail;
24700 }
24701 {
24702 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24703 }
24704 return resultobj;
24705 fail:
24706 return NULL;
24707}
24708
24709
c32bde28 24710static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24711 PyObject *resultobj;
24712 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24713 int arg2 ;
24714 PyObject * obj0 = 0 ;
24715 PyObject * obj1 = 0 ;
24716 char *kwnames[] = {
24717 (char *) "self",(char *) "percent", NULL
24718 };
24719
24720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
24721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24723 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
24724 if (PyErr_Occurred()) SWIG_fail;
24725 {
24726 PyThreadState* __tstate = wxPyBeginAllowThreads();
24727 (arg1)->base_SetZoom(arg2);
24728
24729 wxPyEndAllowThreads(__tstate);
24730 if (PyErr_Occurred()) SWIG_fail;
24731 }
24732 Py_INCREF(Py_None); resultobj = Py_None;
24733 return resultobj;
24734 fail:
24735 return NULL;
24736}
24737
24738
c32bde28 24739static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24740 PyObject *resultobj;
24741 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24742 bool arg2 ;
24743 bool result;
24744 PyObject * obj0 = 0 ;
24745 PyObject * obj1 = 0 ;
24746 char *kwnames[] = {
24747 (char *) "self",(char *) "interactive", NULL
24748 };
24749
24750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
24751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24753 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
24754 if (PyErr_Occurred()) SWIG_fail;
24755 {
24756 PyThreadState* __tstate = wxPyBeginAllowThreads();
24757 result = (bool)(arg1)->base_Print(arg2);
24758
24759 wxPyEndAllowThreads(__tstate);
24760 if (PyErr_Occurred()) SWIG_fail;
24761 }
24762 {
24763 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24764 }
24765 return resultobj;
24766 fail:
24767 return NULL;
24768}
24769
24770
c32bde28 24771static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24772 PyObject *resultobj;
24773 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24774 PyObject * obj0 = 0 ;
24775 char *kwnames[] = {
24776 (char *) "self", NULL
24777 };
24778
24779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
24780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24782 {
24783 PyThreadState* __tstate = wxPyBeginAllowThreads();
24784 (arg1)->base_DetermineScaling();
24785
24786 wxPyEndAllowThreads(__tstate);
24787 if (PyErr_Occurred()) SWIG_fail;
24788 }
24789 Py_INCREF(Py_None); resultobj = Py_None;
24790 return resultobj;
24791 fail:
24792 return NULL;
24793}
24794
24795
c32bde28 24796static PyObject * PyPrintPreview_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
24797 PyObject *obj;
24798 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24799 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
24800 Py_INCREF(obj);
24801 return Py_BuildValue((char *)"");
24802}
c32bde28 24803static PyObject *_wrap_new_PyPreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24804 PyObject *resultobj;
24805 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24806 wxFrame *arg2 = (wxFrame *) 0 ;
24807 wxString *arg3 = 0 ;
24808 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24809 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24810 wxSize const &arg5_defvalue = wxDefaultSize ;
24811 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24812 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
24813 wxString const &arg7_defvalue = wxPyFrameNameStr ;
24814 wxString *arg7 = (wxString *) &arg7_defvalue ;
24815 wxPyPreviewFrame *result;
24816 bool temp3 = False ;
24817 wxPoint temp4 ;
24818 wxSize temp5 ;
24819 bool temp7 = False ;
24820 PyObject * obj0 = 0 ;
24821 PyObject * obj1 = 0 ;
24822 PyObject * obj2 = 0 ;
24823 PyObject * obj3 = 0 ;
24824 PyObject * obj4 = 0 ;
24825 PyObject * obj5 = 0 ;
24826 PyObject * obj6 = 0 ;
24827 char *kwnames[] = {
24828 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24829 };
24830
24831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24834 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
24835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24836 {
24837 arg3 = wxString_in_helper(obj2);
24838 if (arg3 == NULL) SWIG_fail;
24839 temp3 = True;
24840 }
24841 if (obj3) {
24842 {
24843 arg4 = &temp4;
24844 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24845 }
24846 }
24847 if (obj4) {
24848 {
24849 arg5 = &temp5;
24850 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24851 }
24852 }
24853 if (obj5) {
c32bde28 24854 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
24855 if (PyErr_Occurred()) SWIG_fail;
24856 }
24857 if (obj6) {
24858 {
24859 arg7 = wxString_in_helper(obj6);
24860 if (arg7 == NULL) SWIG_fail;
24861 temp7 = True;
24862 }
24863 }
24864 {
0439c23b 24865 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
24866 PyThreadState* __tstate = wxPyBeginAllowThreads();
24867 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
24868
24869 wxPyEndAllowThreads(__tstate);
110da5b0 24870 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
24871 }
24872 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
24873 {
24874 if (temp3)
24875 delete arg3;
24876 }
24877 {
24878 if (temp7)
24879 delete arg7;
24880 }
24881 return resultobj;
24882 fail:
24883 {
24884 if (temp3)
24885 delete arg3;
24886 }
24887 {
24888 if (temp7)
24889 delete arg7;
24890 }
24891 return NULL;
24892}
24893
24894
c32bde28 24895static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24896 PyObject *resultobj;
24897 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24898 PyObject *arg2 = (PyObject *) 0 ;
24899 PyObject *arg3 = (PyObject *) 0 ;
24900 PyObject * obj0 = 0 ;
24901 PyObject * obj1 = 0 ;
24902 PyObject * obj2 = 0 ;
24903 char *kwnames[] = {
24904 (char *) "self",(char *) "self",(char *) "_class", NULL
24905 };
24906
24907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24910 arg2 = obj1;
24911 arg3 = obj2;
24912 {
24913 PyThreadState* __tstate = wxPyBeginAllowThreads();
24914 (arg1)->_setCallbackInfo(arg2,arg3);
24915
24916 wxPyEndAllowThreads(__tstate);
24917 if (PyErr_Occurred()) SWIG_fail;
24918 }
24919 Py_INCREF(Py_None); resultobj = Py_None;
24920 return resultobj;
24921 fail:
24922 return NULL;
24923}
24924
24925
c32bde28 24926static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24927 PyObject *resultobj;
24928 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24929 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24930 PyObject * obj0 = 0 ;
24931 PyObject * obj1 = 0 ;
24932 char *kwnames[] = {
24933 (char *) "self",(char *) "canvas", NULL
24934 };
24935
24936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
24937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24939 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24941 {
24942 PyThreadState* __tstate = wxPyBeginAllowThreads();
24943 (arg1)->SetPreviewCanvas(arg2);
24944
24945 wxPyEndAllowThreads(__tstate);
24946 if (PyErr_Occurred()) SWIG_fail;
24947 }
24948 Py_INCREF(Py_None); resultobj = Py_None;
24949 return resultobj;
24950 fail:
24951 return NULL;
24952}
24953
24954
c32bde28 24955static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24956 PyObject *resultobj;
24957 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24958 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
24959 PyObject * obj0 = 0 ;
24960 PyObject * obj1 = 0 ;
24961 char *kwnames[] = {
24962 (char *) "self",(char *) "bar", NULL
24963 };
24964
24965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
24966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24968 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewControlBar,
24969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24970 {
24971 PyThreadState* __tstate = wxPyBeginAllowThreads();
24972 (arg1)->SetControlBar(arg2);
24973
24974 wxPyEndAllowThreads(__tstate);
24975 if (PyErr_Occurred()) SWIG_fail;
24976 }
24977 Py_INCREF(Py_None); resultobj = Py_None;
24978 return resultobj;
24979 fail:
24980 return NULL;
24981}
24982
24983
c32bde28 24984static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24985 PyObject *resultobj;
24986 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24987 PyObject * obj0 = 0 ;
24988 char *kwnames[] = {
24989 (char *) "self", NULL
24990 };
24991
24992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
24993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24995 {
24996 PyThreadState* __tstate = wxPyBeginAllowThreads();
24997 (arg1)->base_Initialize();
24998
24999 wxPyEndAllowThreads(__tstate);
25000 if (PyErr_Occurred()) SWIG_fail;
25001 }
25002 Py_INCREF(Py_None); resultobj = Py_None;
25003 return resultobj;
25004 fail:
25005 return NULL;
25006}
25007
25008
c32bde28 25009static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25010 PyObject *resultobj;
25011 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
25012 PyObject * obj0 = 0 ;
25013 char *kwnames[] = {
25014 (char *) "self", NULL
25015 };
25016
25017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
25018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
25019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25020 {
25021 PyThreadState* __tstate = wxPyBeginAllowThreads();
25022 (arg1)->base_CreateCanvas();
25023
25024 wxPyEndAllowThreads(__tstate);
25025 if (PyErr_Occurred()) SWIG_fail;
25026 }
25027 Py_INCREF(Py_None); resultobj = Py_None;
25028 return resultobj;
25029 fail:
25030 return NULL;
25031}
25032
25033
c32bde28 25034static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25035 PyObject *resultobj;
25036 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
25037 PyObject * obj0 = 0 ;
25038 char *kwnames[] = {
25039 (char *) "self", NULL
25040 };
25041
25042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
25043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
25044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25045 {
25046 PyThreadState* __tstate = wxPyBeginAllowThreads();
25047 (arg1)->base_CreateControlBar();
25048
25049 wxPyEndAllowThreads(__tstate);
25050 if (PyErr_Occurred()) SWIG_fail;
25051 }
25052 Py_INCREF(Py_None); resultobj = Py_None;
25053 return resultobj;
25054 fail:
25055 return NULL;
25056}
25057
25058
c32bde28 25059static PyObject * PyPreviewFrame_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
25060 PyObject *obj;
25061 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25062 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
25063 Py_INCREF(obj);
25064 return Py_BuildValue((char *)"");
25065}
c32bde28 25066static PyObject *_wrap_new_PyPreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25067 PyObject *resultobj;
25068 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25069 long arg2 ;
25070 wxWindow *arg3 = (wxWindow *) 0 ;
25071 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25072 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25073 wxSize const &arg5_defvalue = wxDefaultSize ;
25074 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25075 long arg6 = (long) 0 ;
25076 wxString const &arg7_defvalue = wxPyPanelNameStr ;
25077 wxString *arg7 = (wxString *) &arg7_defvalue ;
25078 wxPyPreviewControlBar *result;
25079 wxPoint temp4 ;
25080 wxSize temp5 ;
25081 bool temp7 = False ;
25082 PyObject * obj0 = 0 ;
25083 PyObject * obj1 = 0 ;
25084 PyObject * obj2 = 0 ;
25085 PyObject * obj3 = 0 ;
25086 PyObject * obj4 = 0 ;
25087 PyObject * obj5 = 0 ;
25088 PyObject * obj6 = 0 ;
25089 char *kwnames[] = {
25090 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25091 };
25092
25093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
25095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 25096 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
25097 if (PyErr_Occurred()) SWIG_fail;
25098 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
25099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25100 if (obj3) {
25101 {
25102 arg4 = &temp4;
25103 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25104 }
25105 }
25106 if (obj4) {
25107 {
25108 arg5 = &temp5;
25109 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25110 }
25111 }
25112 if (obj5) {
c32bde28 25113 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
25114 if (PyErr_Occurred()) SWIG_fail;
25115 }
25116 if (obj6) {
25117 {
25118 arg7 = wxString_in_helper(obj6);
25119 if (arg7 == NULL) SWIG_fail;
25120 temp7 = True;
25121 }
25122 }
25123 {
0439c23b 25124 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
25125 PyThreadState* __tstate = wxPyBeginAllowThreads();
25126 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25127
25128 wxPyEndAllowThreads(__tstate);
110da5b0 25129 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
25130 }
25131 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
25132 {
25133 if (temp7)
25134 delete arg7;
25135 }
25136 return resultobj;
25137 fail:
25138 {
25139 if (temp7)
25140 delete arg7;
25141 }
25142 return NULL;
25143}
25144
25145
c32bde28 25146static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25147 PyObject *resultobj;
25148 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
25149 PyObject *arg2 = (PyObject *) 0 ;
25150 PyObject *arg3 = (PyObject *) 0 ;
25151 PyObject * obj0 = 0 ;
25152 PyObject * obj1 = 0 ;
25153 PyObject * obj2 = 0 ;
25154 char *kwnames[] = {
25155 (char *) "self",(char *) "self",(char *) "_class", NULL
25156 };
25157
25158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
25160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25161 arg2 = obj1;
25162 arg3 = obj2;
25163 {
25164 PyThreadState* __tstate = wxPyBeginAllowThreads();
25165 (arg1)->_setCallbackInfo(arg2,arg3);
25166
25167 wxPyEndAllowThreads(__tstate);
25168 if (PyErr_Occurred()) SWIG_fail;
25169 }
25170 Py_INCREF(Py_None); resultobj = Py_None;
25171 return resultobj;
25172 fail:
25173 return NULL;
25174}
25175
25176
c32bde28 25177static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25178 PyObject *resultobj;
25179 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
25180 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
25181 PyObject * obj0 = 0 ;
25182 PyObject * obj1 = 0 ;
25183 char *kwnames[] = {
25184 (char *) "self",(char *) "preview", NULL
25185 };
25186
25187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
25188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
25189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25190 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintPreview,
25191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25192 {
25193 PyThreadState* __tstate = wxPyBeginAllowThreads();
25194 (arg1)->SetPrintPreview(arg2);
25195
25196 wxPyEndAllowThreads(__tstate);
25197 if (PyErr_Occurred()) SWIG_fail;
25198 }
25199 Py_INCREF(Py_None); resultobj = Py_None;
25200 return resultobj;
25201 fail:
25202 return NULL;
25203}
25204
25205
c32bde28 25206static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25207 PyObject *resultobj;
25208 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
25209 PyObject * obj0 = 0 ;
25210 char *kwnames[] = {
25211 (char *) "self", NULL
25212 };
25213
25214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
25215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
25216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25217 {
25218 PyThreadState* __tstate = wxPyBeginAllowThreads();
25219 (arg1)->base_CreateButtons();
25220
25221 wxPyEndAllowThreads(__tstate);
25222 if (PyErr_Occurred()) SWIG_fail;
25223 }
25224 Py_INCREF(Py_None); resultobj = Py_None;
25225 return resultobj;
25226 fail:
25227 return NULL;
25228}
25229
25230
c32bde28 25231static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25232 PyObject *resultobj;
25233 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
25234 int arg2 ;
25235 PyObject * obj0 = 0 ;
25236 PyObject * obj1 = 0 ;
25237 char *kwnames[] = {
25238 (char *) "self",(char *) "zoom", NULL
25239 };
25240
25241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
25242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
25243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 25244 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
25245 if (PyErr_Occurred()) SWIG_fail;
25246 {
25247 PyThreadState* __tstate = wxPyBeginAllowThreads();
25248 (arg1)->base_SetZoomControl(arg2);
25249
25250 wxPyEndAllowThreads(__tstate);
25251 if (PyErr_Occurred()) SWIG_fail;
25252 }
25253 Py_INCREF(Py_None); resultobj = Py_None;
25254 return resultobj;
25255 fail:
25256 return NULL;
25257}
25258
25259
c32bde28 25260static PyObject * PyPreviewControlBar_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
25261 PyObject *obj;
25262 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25263 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
25264 Py_INCREF(obj);
25265 return Py_BuildValue((char *)"");
25266}
25267static PyMethodDef SwigMethods[] = {
c32bde28
RD
25268 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL },
25269 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS, NULL },
25270 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25271 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25272 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25273 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL },
25274 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25275 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25276 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25277 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL },
25278 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL },
25279 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
25280 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
25281 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL },
25282 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS, NULL },
25283 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL },
25284 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS, NULL },
25285 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL },
25286 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS, NULL },
25287 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS, NULL },
25288 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL },
25289 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL },
25290 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL },
25291 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL },
25292 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25293 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25294 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL },
25295 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL },
25296 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL },
25297 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25298 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL },
25299 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL },
25300 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS, NULL },
25301 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL },
25302 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS, NULL },
25303 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS, NULL },
25304 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25305 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25306 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL },
25307 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL },
25308 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS, NULL },
25309 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
25310 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
25311 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL },
25312 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL },
25313 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL },
25314 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL },
25315 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25316 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25317 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS, NULL },
25318 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25319 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL },
25320 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL },
25321 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL },
25322 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
25323 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
25324 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
25325 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25326 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL },
25327 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25328 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25329 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL },
25330 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL },
25331 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
25332 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
25333 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
25334 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25335 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL },
25336 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25337 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL },
25338 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL },
25339 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25340 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25341 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL },
25342 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL },
25343 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL },
25344 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL },
25345 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS, NULL },
25346 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL },
25347 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL },
25348 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25349 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL },
25350 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25351 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25352 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25353 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL },
25354 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25355 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
25356 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
25357 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL },
25358 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL },
25359 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS, NULL },
25360 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25361 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS, NULL },
25362 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL },
25363 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
25364 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
25365 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25366 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL },
25367 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL },
25368 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25369 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25370 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25371 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25372 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL },
25373 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL },
25374 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL },
25375 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL },
25376 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS, NULL },
25377 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS, NULL },
25378 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25379 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL },
25380 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25381 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25382 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25383 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS, NULL },
25384 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS, NULL },
25385 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL },
25386 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL },
25387 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL },
25388 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL },
25389 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL },
25390 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL },
25391 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25392 { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS, NULL },
25393 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS, NULL },
25394 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL },
25395 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25396 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS, NULL },
25397 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25398 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25399 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25400 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL },
25401 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL },
25402 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL },
25403 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL },
25404 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL },
25405 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL },
25406 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25407 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL },
25408 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25409 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25410 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25411 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS, NULL },
25412 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL },
25413 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL },
25414 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL },
25415 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25416 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25417 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25418 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL },
25419 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL },
25420 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL },
25421 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL },
25422 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL },
25423 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25424 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25425 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25426 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25427 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
25428 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
25429 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
25430 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
25431 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
25432 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
25433 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
25434 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
25435 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL },
25436 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL },
25437 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL },
25438 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25439 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL },
25440 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS, NULL },
25441 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL },
25442 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS, NULL },
25443 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL },
25444 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL },
25445 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL },
25446 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25447 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL },
25448 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL },
25449 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25450 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25451 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25452 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25453 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25454 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25455 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
25456 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
25457 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL },
25458 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25459 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25460 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25461 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL },
25462 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL },
25463 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL },
25464 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25465 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25466 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25467 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
25468 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25469 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
25470 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL },
25471 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25472 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL },
25473 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL },
25474 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL },
25475 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25476 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25477 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25478 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL },
25479 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25480 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25481 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25482 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS, NULL },
25483 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL },
25484 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25485 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25486 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25487 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS, NULL },
25488 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS, NULL },
25489 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL },
25490 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25491 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL },
25492 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS, NULL },
25493 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL },
25494 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25495 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25496 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25497 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25498 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL },
25499 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL },
25500 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS, NULL },
25501 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS, NULL },
25502 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL },
25503 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL },
25504 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL },
25505 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
25506 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL },
25507 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL },
25508 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL },
25509 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL },
25510 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL },
25511 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL },
25512 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL },
25513 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS, NULL },
25514 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25515 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25516 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
25517 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25518 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25519 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL },
25520 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL },
25521 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS, NULL },
25522 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL },
25523 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL },
25524 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25525 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25526 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
25527 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS, NULL },
25528 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25529 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL },
25530 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL },
25531 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL },
25532 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL },
25533 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL },
25534 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25535 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL },
25536 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25537 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL },
25538 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL },
25539 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL },
25540 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25541 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25542 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL },
25543 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
25544 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction) _wrap_HtmlListBox_GetFileSystem, METH_VARARGS | METH_KEYWORDS, NULL },
25545 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL },
25546 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25547 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25548 { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
25549 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS, NULL },
25550 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS, NULL },
25551 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25552 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25553 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL },
25554 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL },
25555 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25556 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL },
25557 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS, NULL },
25558 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS, NULL },
25559 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL },
25560 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25561 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL },
25562 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL },
25563 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25564 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL },
25565 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL },
25566 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25567 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS, NULL },
25568 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL },
25569 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25570 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL },
25571 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
25572 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
25573 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
25574 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL },
25575 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL },
25576 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25577 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
25578 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL },
25579 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL },
25580 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
25581 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL },
25582 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
25583 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL },
25584 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
25585 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL },
25586 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS, NULL },
25587 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
25588 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS, NULL },
25589 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
25590 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL },
25591 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS, NULL },
25592 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS, NULL },
25593 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL },
25594 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25595 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL },
25596 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL },
25597 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL },
25598 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25599 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25600 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25601 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25602 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL },
25603 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25604 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
25605 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
25606 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL },
25607 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS, NULL },
25608 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS, NULL },
25609 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL },
25610 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL },
25611 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25612 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL },
25613 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS, NULL },
25614 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL },
25615 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25616 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL },
25617 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL },
25618 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25619 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL },
25620 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL },
25621 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25622 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL },
25623 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25624 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS, NULL },
25625 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL },
25626 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25627 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL },
25628 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25629 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL },
25630 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS, NULL },
25631 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL },
25632 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25633 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25634 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
25635 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
25636 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25637 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25638 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
25639 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
25640 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL },
25641 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL },
25642 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL },
25643 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
25644 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
25645 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25646 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25647 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
25648 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
25649 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL },
25650 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25651 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25652 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25653 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
25654 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
25655 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL },
25656 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25657 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25658 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25659 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS, NULL },
25660 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS, NULL },
25661 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS, NULL },
25662 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS, NULL },
25663 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS, NULL },
25664 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25665 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
25666 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_GetWindowMenu, METH_VARARGS | METH_KEYWORDS, NULL },
25667 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_SetWindowMenu, METH_VARARGS | METH_KEYWORDS, NULL },
25668 { (char *)"MDIParentFrame_SetToolBar", (PyCFunction) _wrap_MDIParentFrame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
25669 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL },
25670 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL },
25671 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25672 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25673 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25674 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS, NULL },
25675 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS, NULL },
25676 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS, NULL },
25677 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL },
25678 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25679 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25680 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25681 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL },
25682 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25683 { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25684 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25685 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25686 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25687 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25688 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25689 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25690 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25691 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25692 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25693 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25694 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25695 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25696 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25697 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25698 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
25699 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
25700 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
25701 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
25702 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
25703 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
25704 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL },
25705 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25706 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25707 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL },
25708 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL },
25709 { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS, NULL },
25710 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25711 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25712 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25713 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25714 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25715 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25716 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25717 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25718 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25719 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25720 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25721 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25722 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25723 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25724 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
25725 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
25726 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
25727 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
25728 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
25729 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
25730 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL },
25731 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyPanel_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25732 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction) _wrap_PyPanel_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25733 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL },
25734 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25735 { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25736 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25737 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25738 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25739 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25740 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25741 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25742 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25743 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25744 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25745 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25746 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25747 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25748 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25749 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25750 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
25751 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
25752 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
25753 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
25754 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
25755 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
25756 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL },
25757 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25758 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyScrolledWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25759 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL },
25760 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL },
25761 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS, NULL },
25762 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
25763 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
25764 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25765 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
25766 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL },
25767 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25768 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS, NULL },
25769 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
25770 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
25771 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS, NULL },
25772 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
25773 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
25774 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25775 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL },
25776 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25777 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL },
25778 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
25779 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
25780 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL },
25781 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL },
25782 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL },
25783 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL },
25784 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
25785 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL },
25786 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL },
25787 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL },
25788 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL },
25789 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL },
25790 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL },
25791 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL },
25792 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL },
25793 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL },
25794 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
25795 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL },
25796 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL },
25797 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL },
25798 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS, NULL },
25799 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL },
25800 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL },
25801 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS, NULL },
25802 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL },
25803 { (char *)"PrintData_GetOutputStream", (PyCFunction) _wrap_PrintData_GetOutputStream, METH_VARARGS | METH_KEYWORDS, NULL },
25804 { (char *)"PrintData_SetOutputStream", (PyCFunction) _wrap_PrintData_SetOutputStream, METH_VARARGS | METH_KEYWORDS, NULL },
25805 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL },
25806 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL },
25807 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
25808 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25809 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25810 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25811 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL },
25812 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL },
25813 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25814 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25815 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25816 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS, NULL },
25817 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL },
25818 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25819 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25820 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
25821 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
25822 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
25823 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
25824 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
25825 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
25826 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
25827 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
25828 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25829 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25830 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
25831 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
25832 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
25833 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
25834 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
25835 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
25836 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
25837 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL },
25838 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25839 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL },
25840 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL },
25841 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL },
25842 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL },
25843 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
25844 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS, NULL },
25845 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS, NULL },
25846 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL },
25847 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL },
25848 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
25849 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS, NULL },
25850 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25851 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
25852 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
25853 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25854 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL },
25855 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL },
25856 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL },
25857 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL },
25858 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
25859 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL },
25860 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25861 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
25862 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
25863 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25864 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
25865 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25866 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL },
25867 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25868 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
25869 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25870 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL },
25871 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25872 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
25873 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
25874 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
25875 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL },
25876 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25877 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
25878 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS, NULL },
25879 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL },
25880 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL },
25881 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL },
25882 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS, NULL },
25883 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25884 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
25885 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL },
25886 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25887 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL },
25888 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL },
25889 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS, NULL },
25890 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS, NULL },
25891 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL },
25892 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL },
25893 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25894 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
25895 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS, NULL },
25896 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL },
25897 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL },
25898 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL },
25899 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL },
25900 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL },
25901 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL },
25902 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL },
25903 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL },
25904 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL },
25905 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS, NULL },
25906 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL },
25907 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL },
25908 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS, NULL },
25909 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS, NULL },
25910 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS, NULL },
25911 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS, NULL },
25912 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS, NULL },
25913 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25914 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL },
25915 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
25916 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL },
25917 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25918 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS, NULL },
25919 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
25920 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
25921 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
25922 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL },
25923 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
25924 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL },
25925 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL },
25926 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL },
25927 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS, NULL },
25928 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS, NULL },
25929 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS, NULL },
25930 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS, NULL },
25931 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS, NULL },
25932 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL },
25933 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL },
25934 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL },
25935 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL },
25936 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL },
25937 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS, NULL },
25938 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS, NULL },
25939 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25940 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
25941 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25942 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
25943 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL },
25944 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL },
25945 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL },
25946 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL },
25947 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
25948 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL },
25949 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS, NULL },
25950 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL },
25951 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL },
25952 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
25953 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL },
25954 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL },
25955 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL },
25956 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL },
25957 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL },
25958 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25959 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL },
25960 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL },
25961 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL },
25962 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL },
25963 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL },
25964 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS, NULL },
25965 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL },
25966 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL },
25967 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25968 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25969 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
25970 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
25971 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS, NULL },
25972 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
25973 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
25974 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL },
25975 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
25976 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25977 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL },
25978 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS, NULL },
25979 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL },
25980 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL },
25981 { NULL, NULL, 0, NULL }
d55e5bfc
RD
25982};
25983
25984
25985/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25986
25987static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
25988 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25989}
25990static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
25991 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
25992}
25993static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
25994 return (void *)((wxEvent *) ((wxMenuEvent *) x));
25995}
25996static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
25997 return (void *)((wxEvent *) ((wxCloseEvent *) x));
25998}
25999static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
26000 return (void *)((wxEvent *) ((wxMouseEvent *) x));
26001}
26002static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
26003 return (void *)((wxEvent *) ((wxEraseEvent *) x));
26004}
26005static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
26006 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
26007}
26008static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
26009 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
26010}
26011static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
26012 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
26013}
26014static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
26015 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
26016}
26017static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
26018 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
26019}
26020static void *_p_wxPyEventTo_p_wxEvent(void *x) {
26021 return (void *)((wxEvent *) ((wxPyEvent *) x));
26022}
26023static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
26024 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
26025}
26026static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
26027 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
26028}
26029static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
26030 return (void *)((wxEvent *) ((wxIdleEvent *) x));
26031}
26032static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
26033 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
26034}
26035static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
26036 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
26037}
26038static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
26039 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
26040}
26041static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
26042 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
26043}
26044static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
26045 return (void *)((wxEvent *) ((wxActivateEvent *) x));
26046}
26047static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
26048 return (void *)((wxEvent *) ((wxSizeEvent *) x));
26049}
26050static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
26051 return (void *)((wxEvent *) ((wxMoveEvent *) x));
26052}
26053static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
26054 return (void *)((wxEvent *) ((wxPaintEvent *) x));
26055}
26056static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
26057 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
26058}
26059static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
26060 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
26061}
26062static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
26063 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
26064}
26065static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
26066 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
26067}
26068static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
26069 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
26070}
26071static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
26072 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
26073}
26074static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
26075 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
26076}
26077static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
26078 return (void *)((wxEvent *) ((wxFocusEvent *) x));
26079}
26080static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
26081 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
26082}
26083static void *_p_wxSashEventTo_p_wxEvent(void *x) {
26084 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
26085}
26086static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
26087 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
26088}
26089static void *_p_wxShowEventTo_p_wxEvent(void *x) {
26090 return (void *)((wxEvent *) ((wxShowEvent *) x));
26091}
26092static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
26093 return (void *)((wxEvent *) ((wxCommandEvent *) x));
26094}
26095static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
26096 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
26097}
26098static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
26099 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26100}
26101static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
26102 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
26103}
26104static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
26105 return (void *)((wxEvent *) ((wxKeyEvent *) x));
26106}
26107static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
26108 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
26109}
26110static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
26111 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
26112}
26113static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
26114 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
26115}
26116static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
26117 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
26118}
26119static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
26120 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
26121}
26122static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
26123 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
26124}
26125static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
26126 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
26127}
26128static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
26129 return (void *)((wxEvtHandler *) ((wxValidator *) x));
26130}
26131static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
26132 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
26133}
26134static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
26135 return (void *)((wxEvtHandler *) ((wxMenu *) x));
26136}
26137static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
26138 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
26139}
26140static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
26141 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
26142}
26143static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
26144 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
26145}
26146static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
26147 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
26148}
26149static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
26150 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
26151}
26152static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
26153 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
26154}
26155static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
26156 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
26157}
26158static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
26159 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
26160}
26161static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
26162 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
26163}
26164static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
26165 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
26166}
26167static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
26168 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26169}
26170static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
26171 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26172}
26173static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
26174 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
26175}
26176static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
26177 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
26178}
26179static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
26180 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
26181}
26182static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
26183 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
26184}
26185static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
26186 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
26187}
26188static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
26189 return (void *)((wxEvtHandler *) ((wxWindow *) x));
26190}
26191static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
26192 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
26193}
26194static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
26195 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
26196}
26197static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
26198 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
26199}
26200static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
26201 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26202}
26203static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
26204 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
26205}
26206static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
26207 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
26208}
26209static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
26210 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26211}
26212static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
26213 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
26214}
26215static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
26216 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
26217}
26218static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
26219 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
26220}
26221static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
26222 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
26223}
26224static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
26225 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
26226}
26227static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
26228 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26229}
26230static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
26231 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26232}
26233static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
26234 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
26235}
26236static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
26237 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26238}
26239static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
26240 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
26241}
26242static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
26243 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
26244}
26245static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
26246 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
26247}
26248static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
26249 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
26250}
26251static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
26252 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
26253}
26254static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
26255 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
26256}
26257static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
26258 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
26259}
26260static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
26261 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
26262}
26263static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
26264 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
26265}
26266static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
26267 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
26268}
26269static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
26270 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
26271}
26272static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
26273 return (void *)((wxFrame *) ((wxProgressDialog *) x));
26274}
26275static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
26276 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
26277}
26278static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
26279 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26280}
26281static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
26282 return (void *)((wxFrame *) ((wxMiniFrame *) x));
26283}
26284static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
26285 return (void *)((wxFrame *) ((wxSplashScreen *) x));
26286}
26287static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
26288 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
26289}
26290static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
26291 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
26292}
26293static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
26294 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
26295}
26296static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
26297 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
26298}
26299static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
26300 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26301}
26302static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
26303 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
26304}
26305static void *_p_wxSizerItemTo_p_wxObject(void *x) {
26306 return (void *)((wxObject *) ((wxSizerItem *) x));
26307}
26308static void *_p_wxScrollEventTo_p_wxObject(void *x) {
26309 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
26310}
26311static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
26312 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
26313}
26314static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
26315 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
26316}
26317static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
26318 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
26319}
26320static void *_p_wxSizerTo_p_wxObject(void *x) {
26321 return (void *)((wxObject *) ((wxSizer *) x));
26322}
26323static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
26324 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
26325}
26326static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
26327 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
26328}
26329static void *_p_wxPyPanelTo_p_wxObject(void *x) {
26330 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
26331}
26332static void *_p_wxEventTo_p_wxObject(void *x) {
26333 return (void *)((wxObject *) ((wxEvent *) x));
26334}
26335static void *_p_wxFontDataTo_p_wxObject(void *x) {
26336 return (void *)((wxObject *) ((wxFontData *) x));
26337}
26338static void *_p_wxPrintDataTo_p_wxObject(void *x) {
26339 return (void *)((wxObject *) ((wxPrintData *) x));
26340}
26341static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
26342 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
26343}
26344static void *_p_wxGridSizerTo_p_wxObject(void *x) {
26345 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
26346}
26347static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
26348 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
26349}
26350static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
26351 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
26352}
26353static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
26354 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
26355}
26356static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
26357 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
26358}
26359static void *_p_wxPaintEventTo_p_wxObject(void *x) {
26360 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
26361}
26362static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
26363 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
26364}
26365static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
26366 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
26367}
26368static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
26369 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
26370}
26371static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
26372 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
26373}
26374static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
26375 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
26376}
26377static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
26378 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
26379}
26380static void *_p_wxControlTo_p_wxObject(void *x) {
26381 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
26382}
26383static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
26384 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
26385}
26386static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
26387 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
26388}
26389static void *_p_wxFSFileTo_p_wxObject(void *x) {
26390 return (void *)((wxObject *) ((wxFSFile *) x));
26391}
26392static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
26393 return (void *)((wxObject *) ((wxFindReplaceData *) x));
26394}
26395static void *_p_wxPySizerTo_p_wxObject(void *x) {
26396 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
26397}
26398static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
26399 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
26400}
26401static void *_p_wxColourDataTo_p_wxObject(void *x) {
26402 return (void *)((wxObject *) ((wxColourData *) x));
26403}
26404static void *_p_wxPyEventTo_p_wxObject(void *x) {
26405 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
26406}
26407static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
26408 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
26409}
26410static void *_p_wxPyWindowTo_p_wxObject(void *x) {
26411 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
26412}
26413static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
26414 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
26415}
26416static void *_p_wxFileDialogTo_p_wxObject(void *x) {
26417 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
26418}
26419static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
26420 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
26421}
26422static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
26423 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
26424}
26425static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
26426 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
26427}
26428static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
26429 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
26430}
26431static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
26432 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
26433}
26434static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
26435 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
26436}
26437static void *_p_wxShowEventTo_p_wxObject(void *x) {
26438 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
26439}
26440static void *_p_wxPrinterTo_p_wxObject(void *x) {
26441 return (void *)((wxObject *) ((wxPrinter *) x));
26442}
26443static void *_p_wxMenuItemTo_p_wxObject(void *x) {
26444 return (void *)((wxObject *) ((wxMenuItem *) x));
26445}
26446static void *_p_wxIdleEventTo_p_wxObject(void *x) {
26447 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
26448}
26449static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
26450 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
26451}
26452static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
26453 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
26454}
26455static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
26456 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
26457}
26458static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
26459 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
26460}
26461static void *_p_wxSizeEventTo_p_wxObject(void *x) {
26462 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
26463}
26464static void *_p_wxMoveEventTo_p_wxObject(void *x) {
26465 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
26466}
26467static void *_p_wxActivateEventTo_p_wxObject(void *x) {
26468 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
26469}
26470static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
26471 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
26472}
26473static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
26474 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
26475}
26476static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
26477 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
26478}
26479static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
26480 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
26481}
26482static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
26483 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
26484}
26485static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
26486 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
26487}
26488static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
26489 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
26490}
26491static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
26492 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
26493}
26494static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
26495 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
26496}
26497static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
26498 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
26499}
26500static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
26501 return (void *)((wxObject *) ((wxImageHandler *) x));
26502}
26503static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
26504 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
26505}
26506static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
26507 return (void *)((wxObject *) ((wxEvtHandler *) x));
26508}
26509static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
26510 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
26511}
26512static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
26513 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26514}
26515static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
26516 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26517}
26518static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
26519 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
26520}
26521static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
26522 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
26523}
26524static void *_p_wxImageTo_p_wxObject(void *x) {
26525 return (void *)((wxObject *) ((wxImage *) x));
26526}
26527static void *_p_wxFrameTo_p_wxObject(void *x) {
26528 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
26529}
26530static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
26531 return (void *)((wxObject *) ((wxPyPrintout *) x));
26532}
26533static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
26534 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
26535}
26536static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
26537 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
26538}
26539static void *_p_wxStatusBarTo_p_wxObject(void *x) {
26540 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
26541}
26542static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
26543 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
26544}
26545static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
26546 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26547}
26548static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
26549 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
26550}
26551static void *_p_wxKeyEventTo_p_wxObject(void *x) {
26552 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
26553}
26554static void *_p_wxWindowTo_p_wxObject(void *x) {
26555 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
26556}
26557static void *_p_wxMenuTo_p_wxObject(void *x) {
26558 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
26559}
26560static void *_p_wxMenuBarTo_p_wxObject(void *x) {
26561 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
26562}
26563static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
26564 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
26565}
26566static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
26567 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
26568}
26569static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
26570 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
26571}
26572static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
26573 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
26574}
26575static void *_p_wxSashWindowTo_p_wxObject(void *x) {
26576 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
26577}
26578static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
26579 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
26580}
26581static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
26582 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
26583}
26584static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
26585 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26586}
26587static void *_p_wxTipWindowTo_p_wxObject(void *x) {
26588 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26589}
26590static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
26591 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
26592}
26593static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
26594 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
26595}
26596static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
26597 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26598}
26599static void *_p_wxSashEventTo_p_wxObject(void *x) {
26600 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
26601}
26602static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
26603 return (void *)((wxObject *) ((wxPrintPreview *) x));
26604}
26605static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
26606 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
26607}
26608static void *_p_wxPanelTo_p_wxObject(void *x) {
26609 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
26610}
26611static void *_p_wxDialogTo_p_wxObject(void *x) {
26612 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
26613}
26614static void *_p_wxColourDialogTo_p_wxObject(void *x) {
26615 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
26616}
26617static void *_p_wxDirDialogTo_p_wxObject(void *x) {
26618 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
26619}
26620static void *_p_wxFontDialogTo_p_wxObject(void *x) {
26621 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
26622}
26623static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
26624 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
26625}
26626static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
26627 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
26628}
26629static void *_p_wxFileSystemTo_p_wxObject(void *x) {
26630 return (void *)((wxObject *) ((wxFileSystem *) x));
26631}
26632static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
26633 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
26634}
26635static void *_p_wxMenuEventTo_p_wxObject(void *x) {
26636 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
26637}
26638static void *_p_wxPyAppTo_p_wxObject(void *x) {
26639 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
26640}
26641static void *_p_wxCloseEventTo_p_wxObject(void *x) {
26642 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
26643}
26644static void *_p_wxMouseEventTo_p_wxObject(void *x) {
26645 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
26646}
26647static void *_p_wxEraseEventTo_p_wxObject(void *x) {
26648 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
26649}
26650static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
26651 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
26652}
26653static void *_p_wxCommandEventTo_p_wxObject(void *x) {
26654 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
26655}
26656static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
26657 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
26658}
26659static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
26660 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26661}
26662static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
26663 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
26664}
26665static void *_p_wxFocusEventTo_p_wxObject(void *x) {
26666 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
26667}
26668static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
26669 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
26670}
26671static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
26672 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
26673}
26674static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
26675 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
26676}
26677static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
26678 return (void *)((wxObject *) ((wxPrintDialogData *) x));
26679}
26680static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
26681 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
26682}
26683static void *_p_wxValidatorTo_p_wxObject(void *x) {
26684 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
26685}
26686static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
26687 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26688}
26689static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
26690 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
26691}
26692static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
26693 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26694}
26695static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
26696 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26697}
26698static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
26699 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26700}
26701static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
26702 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
26703}
26704static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
26705 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
26706}
26707static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
26708 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
26709}
26710static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
26711 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
26712}
26713static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
26714 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
26715}
26716static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
26717 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
26718}
26719static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
26720 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
26721}
26722static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
26723 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
26724}
26725static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
26726 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
26727}
26728static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
26729 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
26730}
26731static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
26732 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
26733}
26734static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
26735 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
26736}
26737static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
26738 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
26739}
26740static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
26741 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
26742}
26743static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
26744 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
26745}
26746static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
26747 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
26748}
26749static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
26750 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
26751}
26752static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
26753 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
26754}
26755static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
26756 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
26757}
26758static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
26759 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
26760}
26761static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
26762 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26763}
26764static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
26765 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
26766}
26767static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
26768 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
26769}
26770static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
26771 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
26772}
26773static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
26774 return (void *)((wxWindow *) ((wxMenuBar *) x));
26775}
26776static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
26777 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
26778}
26779static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
26780 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
26781}
26782static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
26783 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
26784}
26785static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
26786 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
26787}
26788static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
26789 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
26790}
26791static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
26792 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
26793}
26794static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
26795 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
26796}
26797static void *_p_wxPanelTo_p_wxWindow(void *x) {
26798 return (void *)((wxWindow *) ((wxPanel *) x));
26799}
26800static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
26801 return (void *)((wxWindow *) ((wxStatusBar *) x));
26802}
26803static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
26804 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
26805}
26806static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
26807 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
26808}
26809static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
26810 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26811}
26812static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
26813 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26814}
26815static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
26816 return (void *)((wxWindow *) ((wxPopupWindow *) x));
26817}
26818static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
26819 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
26820}
26821static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
26822 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
26823}
26824static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
26825 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
26826}
26827static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
26828 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
26829}
26830static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
26831 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
26832}
26833static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
26834 return (void *)((wxWindow *) ((wxSashWindow *) x));
26835}
26836static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
26837 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26838}
26839static void *_p_wxControlTo_p_wxWindow(void *x) {
26840 return (void *)((wxWindow *) ((wxControl *) x));
26841}
26842static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
26843 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
26844}
26845static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
26846 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26847}
26848static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
26849 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
26850}
26851static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
26852 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
26853}
26854static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
26855 return (void *)((wxWindow *) ((wxPyWindow *) x));
26856}
26857static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
26858 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
26859}
26860static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
26861 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26862}
26863static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
26864 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26865}
26866static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
26867 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
26868}
26869static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
26870 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26871}
26872static void *_p_wxFrameTo_p_wxWindow(void *x) {
26873 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
26874}
26875static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
26876 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
26877}
26878static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
26879 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
26880}
26881static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
26882 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
26883}
26884static void *_p_wxDialogTo_p_wxWindow(void *x) {
26885 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
26886}
26887static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
26888 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
26889}
26890static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
26891 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
26892}
26893static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
26894 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
26895}
26896static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
26897 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26898}
26899static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
26900 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
26901}
26902static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
26903 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
26904}
26905static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
26906 return (void *)((wxDialog *) ((wxColourDialog *) x));
26907}
26908static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
26909 return (void *)((wxDialog *) ((wxDirDialog *) x));
26910}
26911static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
26912 return (void *)((wxDialog *) ((wxFontDialog *) x));
26913}
26914static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
26915 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
26916}
26917static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
26918 return (void *)((wxDialog *) ((wxPrintDialog *) x));
26919}
26920static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
26921 return (void *)((wxDialog *) ((wxFileDialog *) x));
26922}
26923static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
26924 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
26925}
26926static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
26927 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
26928}
26929static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
26930 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
26931}
26932static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
26933 return (void *)((wxDialog *) ((wxMessageDialog *) x));
26934}
26935static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
26936 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
26937}
26938static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
26939 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
26940}
26941static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
26942 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
26943}
26944static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
26945 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26946}
26947static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
26948 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26949}
26950static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
26951 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26952}
26953static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
26954 return (void *)((wxPanel *) ((wxPyPanel *) x));
26955}
26956static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
26957 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
26958}
26959static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
26960 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
26961}
26962static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
26963 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26964}
26965static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
26966 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
26967}
26968static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
26969 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
26970}
26971static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
26972 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
26973}
26974static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
26975 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
26976}
26977static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
26978 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
26979}
26980static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
26981 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26982}
26983static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
26984 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
26985}
26986static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
26987 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
26988}
26989static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
26990 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
26991}
26992static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
26993 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
26994}
26995static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
26996 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
26997}
26998static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
26999 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
27000}
27001static 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}};
27002static 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}};
27003static 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}};
27004static 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}};
27005static 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}};
d55e5bfc
RD
27006static 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}};
27007static 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 27008static 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}};
d55e5bfc
RD
27009static 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}};
27010static 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}};
27011static 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}};
27012static 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}};
27013static 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}};
27014static 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}};
27015static 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}};
27016static 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}};
27017static 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}};
27018static 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}};
27019static 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}};
27020static 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}};
27021static 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}};
f20a2e1f 27022static 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}};
d55e5bfc
RD
27023static 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}};
27024static 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}};
27025static 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}};
27026static 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}};
27027static 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}};
27028static 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}};
27029static 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}};
27030static 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}};
27031static 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}};
27032static 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}};
27033static 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}};
27034static 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}};
27035static 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}};
27036static 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}};
27037static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27038static 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}};
27039static 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}};
27040static 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}};
27041static 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}};
27042static 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}};
27043static 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}};
27044static 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}};
27045static 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}};
27046static 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}};
27047static 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}};
27048static 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}};
27049static 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}};
27050static 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}};
27051static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27052static 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}};
d55e5bfc
RD
27053static 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}};
27054static 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}};
27055static 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}};
27056static 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}};
27057static 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}};
f20a2e1f 27058static 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}};
d55e5bfc
RD
27059static 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}};
27060static 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}};
27061static 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}};
27062static 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}};
27063static 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}};
27064static 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}};
27065static 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}};
d55e5bfc
RD
27066static 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}};
27067static 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}};
27068static 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}};
27069static 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}};
27070static 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}};
27071static 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}};
27072static 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}};
27073static 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}};
27074static 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}};
27075static 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}};
27076static 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}};
27077static 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}};
c24da6d6 27078static 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}};
d55e5bfc
RD
27079static 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}};
27080static 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}};
27081static 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}};
27082static 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}};
27083static 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}};
27084static 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}};
27085static 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}};
27086static 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}};
27087
27088static swig_type_info *swig_types_initial[] = {
27089_swigt__p_wxQueryLayoutInfoEvent,
27090_swigt__p_wxPreviewFrame,
27091_swigt__p_wxPyPreviewFrame,
27092_swigt__p_wxPyPanel,
27093_swigt__p_wxMenu,
d55e5bfc
RD
27094_swigt__p_wxFontData,
27095_swigt__p_wxEvent,
f5b96ee1 27096_swigt__p_wxPrintData,
d55e5bfc
RD
27097_swigt__p_wxTaskBarIcon,
27098_swigt__p_wxIconBundle,
27099_swigt__p_wxLayoutAlgorithm,
27100_swigt__p_wxFindDialogEvent,
27101_swigt__p_wxPreviewCanvas,
27102_swigt__p_wxFont,
27103_swigt__p_wxSplitterEvent,
27104_swigt__p_wxRegion,
27105_swigt__p_wxFindReplaceData,
27106_swigt__p_int,
27107_swigt__p_wxSize,
27108_swigt__p_wxDC,
27109_swigt__p_wxIcon,
f20a2e1f 27110_swigt__p_wxVisualAttributes,
d55e5bfc
RD
27111_swigt__p_wxMDIChildFrame,
27112_swigt__p_wxColourData,
27113_swigt__p_wxNotifyEvent,
27114_swigt__p_wxPyWindow,
27115_swigt__p_wxSplashScreen,
27116_swigt__p_wxFindReplaceDialog,
27117_swigt__p_wxProgressDialog,
27118_swigt__p_wxMessageDialog,
27119_swigt__p_wxTextEntryDialog,
27120_swigt__p_wxSingleChoiceDialog,
27121_swigt__p_wxMultiChoiceDialog,
27122_swigt__p_wxFileDialog,
27123_swigt__p_wxPrinter,
27124_swigt__p_wxArrayInt,
27125_swigt__p_wxEvtHandler,
27126_swigt__p_wxCalculateLayoutEvent,
27127_swigt__p_wxPyHtmlListBox,
27128_swigt__p_wxPyVListBox,
27129_swigt__p_wxRect,
27130_swigt__p_char,
27131_swigt__p_wxMiniFrame,
27132_swigt__p_wxFrame,
27133_swigt__p_wxPyPrintout,
27134_swigt__p_wxTaskBarIconEvent,
27135_swigt__p_wxScrollWinEvent,
27136_swigt__p_wxStatusBar,
27137_swigt__p_wxMDIParentFrame,
27138_swigt__p_wxPoint,
27139_swigt__p_wxObject,
27140_swigt__p_wxOutputStream,
d55e5bfc
RD
27141_swigt__p_wxPyScrolledWindow,
27142_swigt__p_wxMDIClientWindow,
27143_swigt__p_wxTipWindow,
27144_swigt__p_wxSashLayoutWindow,
27145_swigt__p_wxSplitterWindow,
f20a2e1f 27146_swigt__p_wxSplashScreenWindow,
d55e5bfc
RD
27147_swigt__p_wxPyVScrolledWindow,
27148_swigt__p_wxPyPopupTransientWindow,
27149_swigt__p_wxPopupWindow,
27150_swigt__p_wxSashWindow,
27151_swigt__p_wxTopLevelWindow,
27152_swigt__p_wxWindow,
27153_swigt__p_wxScrolledWindow,
d55e5bfc
RD
27154_swigt__p_wxMenuBar,
27155_swigt__p_wxPrintPreview,
27156_swigt__p_wxSashEvent,
27157_swigt__p_wxString,
27158_swigt__p_wxPyPrintPreview,
27159_swigt__p_wxFontDialog,
27160_swigt__p_wxDirDialog,
27161_swigt__p_wxColourDialog,
27162_swigt__p_wxDialog,
27163_swigt__p_wxPanel,
27164_swigt__p_wxPageSetupDialog,
27165_swigt__p_wxPrintDialog,
c24da6d6 27166_swigt__p_wxFileSystem,
d55e5bfc
RD
27167_swigt__p_wxBitmap,
27168_swigt__p_wxCommandEvent,
27169_swigt__p_wxPreviewControlBar,
27170_swigt__p_wxPyPreviewControlBar,
27171_swigt__p_wxColour,
27172_swigt__p_wxToolBar,
27173_swigt__p_wxPageSetupDialogData,
27174_swigt__p_wxPrintDialogData,
271750
27176};
27177
27178
27179/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
27180
27181static swig_const_info swig_const_table[] = {
c32bde28 27182{0, 0, 0, 0.0, 0, 0}};
d55e5bfc
RD
27183
27184#ifdef __cplusplus
27185}
27186#endif
27187
27188#ifdef __cplusplus
27189extern "C"
27190#endif
27191SWIGEXPORT(void) SWIG_init(void) {
27192 static PyObject *SWIG_globals = 0;
27193 static int typeinit = 0;
27194 PyObject *m, *d;
27195 int i;
27196 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
27197 m = Py_InitModule((char *) SWIG_name, SwigMethods);
27198 d = PyModule_GetDict(m);
27199
27200 if (!typeinit) {
27201 for (i = 0; swig_types_initial[i]; i++) {
27202 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
27203 }
27204 typeinit = 1;
27205 }
27206 SWIG_InstallConstants(d,swig_const_table);
27207
27208 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
27209 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
27210 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
27211 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
27212 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
c32bde28
RD
27213 PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_From_int((int)wxSTAY_ON_TOP));
27214 PyDict_SetItemString(d,"ICONIZE", SWIG_From_int((int)wxICONIZE));
27215 PyDict_SetItemString(d,"MINIMIZE", SWIG_From_int((int)wxMINIMIZE));
27216 PyDict_SetItemString(d,"MAXIMIZE", SWIG_From_int((int)wxMAXIMIZE));
27217 PyDict_SetItemString(d,"CLOSE_BOX", SWIG_From_int((int)wxCLOSE_BOX));
27218 PyDict_SetItemString(d,"THICK_FRAME", SWIG_From_int((int)wxTHICK_FRAME));
27219 PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_From_int((int)wxSYSTEM_MENU));
27220 PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_From_int((int)wxMINIMIZE_BOX));
27221 PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_From_int((int)wxMAXIMIZE_BOX));
27222 PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_From_int((int)wxTINY_CAPTION_HORIZ));
27223 PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_From_int((int)wxTINY_CAPTION_VERT));
27224 PyDict_SetItemString(d,"RESIZE_BOX", SWIG_From_int((int)wxRESIZE_BOX));
27225 PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_From_int((int)wxRESIZE_BORDER));
27226 PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_From_int((int)wxDIALOG_NO_PARENT));
27227 PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)wxDEFAULT_FRAME_STYLE));
27228 PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)wxDEFAULT_DIALOG_STYLE));
27229 PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_From_int((int)wxFRAME_TOOL_WINDOW));
27230 PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)wxFRAME_FLOAT_ON_PARENT));
27231 PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)wxFRAME_NO_WINDOW_MENU));
27232 PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_From_int((int)wxFRAME_NO_TASKBAR));
27233 PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_From_int((int)wxFRAME_SHAPED));
27234 PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_From_int((int)wxDIALOG_MODAL));
27235 PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_From_int((int)wxDIALOG_MODELESS));
27236 PyDict_SetItemString(d,"USER_COLOURS", SWIG_From_int((int)wxUSER_COLOURS));
27237 PyDict_SetItemString(d,"NO_3D", SWIG_From_int((int)wxNO_3D));
27238 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)wxFULLSCREEN_NOMENUBAR));
27239 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)wxFULLSCREEN_NOTOOLBAR));
27240 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)wxFULLSCREEN_NOSTATUSBAR));
27241 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_From_int((int)wxFULLSCREEN_NOBORDER));
27242 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)wxFULLSCREEN_NOCAPTION));
27243 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_From_int((int)wxFULLSCREEN_ALL));
27244 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)wxTOPLEVEL_EX_DIALOG));
27245 PyDict_SetItemString(d,"USER_ATTENTION_INFO", SWIG_From_int((int)wxUSER_ATTENTION_INFO));
27246 PyDict_SetItemString(d,"USER_ATTENTION_ERROR", SWIG_From_int((int)wxUSER_ATTENTION_ERROR));
27247 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)wxSPLASH_CENTRE_ON_PARENT));
27248 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)wxSPLASH_CENTRE_ON_SCREEN));
27249 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_From_int((int)wxSPLASH_NO_CENTRE));
27250 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_From_int((int)wxSPLASH_TIMEOUT));
27251 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)wxSPLASH_NO_TIMEOUT));
27252 PyDict_SetItemString(d,"SB_NORMAL", SWIG_From_int((int)wxSB_NORMAL));
27253 PyDict_SetItemString(d,"SB_FLAT", SWIG_From_int((int)wxSB_FLAT));
27254 PyDict_SetItemString(d,"SB_RAISED", SWIG_From_int((int)wxSB_RAISED));
d55e5bfc 27255 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
c32bde28
RD
27256 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_From_int((int)wxSP_NOBORDER));
27257 PyDict_SetItemString(d,"SP_NOSASH", SWIG_From_int((int)wxSP_NOSASH));
27258 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)wxSP_PERMIT_UNSPLIT));
27259 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_From_int((int)wxSP_LIVE_UPDATE));
27260 PyDict_SetItemString(d,"SP_3DSASH", SWIG_From_int((int)wxSP_3DSASH));
27261 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_From_int((int)wxSP_3DBORDER));
27262 PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_From_int((int)wxSP_NO_XP_THEME));
27263 PyDict_SetItemString(d,"SP_BORDER", SWIG_From_int((int)wxSP_BORDER));
27264 PyDict_SetItemString(d,"SP_3D", SWIG_From_int((int)wxSP_3D));
27265 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_From_int((int)wxSPLIT_HORIZONTAL));
27266 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_From_int((int)wxSPLIT_VERTICAL));
27267 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_From_int((int)wxSPLIT_DRAG_NONE));
27268 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)wxSPLIT_DRAG_DRAGGING));
27269 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSPLIT_DRAG_LEFT_DOWN));
d55e5bfc
RD
27270 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
27271 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
27272 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
27273 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
27274 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
27275 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
c32bde28
RD
27276 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_From_int((int)wxSASH_DRAG_NONE));
27277 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_From_int((int)wxSASH_DRAG_DRAGGING));
27278 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSASH_DRAG_LEFT_DOWN));
27279 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_From_int((int)wxSW_NOBORDER));
27280 PyDict_SetItemString(d,"SW_BORDER", SWIG_From_int((int)wxSW_BORDER));
27281 PyDict_SetItemString(d,"SW_3DSASH", SWIG_From_int((int)wxSW_3DSASH));
27282 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_From_int((int)wxSW_3DBORDER));
27283 PyDict_SetItemString(d,"SW_3D", SWIG_From_int((int)wxSW_3D));
27284 PyDict_SetItemString(d,"SASH_TOP", SWIG_From_int((int)wxSASH_TOP));
27285 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_From_int((int)wxSASH_RIGHT));
27286 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_From_int((int)wxSASH_BOTTOM));
27287 PyDict_SetItemString(d,"SASH_LEFT", SWIG_From_int((int)wxSASH_LEFT));
27288 PyDict_SetItemString(d,"SASH_NONE", SWIG_From_int((int)wxSASH_NONE));
27289 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_From_int((int)wxSASH_STATUS_OK));
27290 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)wxSASH_STATUS_OUT_OF_RANGE));
d55e5bfc 27291 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
c32bde28
RD
27292 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_From_int((int)wxLAYOUT_HORIZONTAL));
27293 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_From_int((int)wxLAYOUT_VERTICAL));
27294 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_From_int((int)wxLAYOUT_NONE));
27295 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_From_int((int)wxLAYOUT_TOP));
27296 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_From_int((int)wxLAYOUT_LEFT));
27297 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_From_int((int)wxLAYOUT_RIGHT));
27298 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_From_int((int)wxLAYOUT_BOTTOM));
27299 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_From_int((int)wxLAYOUT_LENGTH_Y));
27300 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_From_int((int)wxLAYOUT_LENGTH_X));
27301 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)wxLAYOUT_MRU_LENGTH));
27302 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_From_int((int)wxLAYOUT_QUERY));
d55e5bfc
RD
27303 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
27304 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
27305 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
27306
27307 // Map renamed classes back to their common name for OOR
27308 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
27309 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
27310 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
27311
27312 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
27313 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
27314 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
27315 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
27316 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
27317 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
27318 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
27319 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
27320 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
27321 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
27322 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
27323 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
27324 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
c32bde28
RD
27325 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_From_int((int)wxCHOICEDLG_STYLE));
27326 PyDict_SetItemString(d,"FR_DOWN", SWIG_From_int((int)wxFR_DOWN));
27327 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_From_int((int)wxFR_WHOLEWORD));
27328 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_From_int((int)wxFR_MATCHCASE));
27329 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_From_int((int)wxFR_REPLACEDIALOG));
27330 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_From_int((int)wxFR_NOUPDOWN));
27331 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_From_int((int)wxFR_NOMATCHCASE));
27332 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_From_int((int)wxFR_NOWHOLEWORD));
d55e5bfc
RD
27333 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
27334 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
27335 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
27336 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
27337 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
c32bde28
RD
27338 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_From_int((int)4001));
27339 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_From_int((int)4001));
27340 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_From_int((int)4002));
27341 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_From_int((int)4003));
27342 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_From_int((int)4004));
27343 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_From_int((int)4005));
27344 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_From_int((int)4100));
27345 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_From_int((int)4600));
d55e5bfc
RD
27346 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
27347 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
c32bde28
RD
27348 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_From_int((int)wxPRINT_MODE_NONE));
27349 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_From_int((int)wxPRINT_MODE_PREVIEW));
27350 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_From_int((int)wxPRINT_MODE_FILE));
27351 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_From_int((int)wxPRINT_MODE_PRINTER));
27352 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_From_int((int)wxPRINT_MODE_STREAM));
27353 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_From_int((int)wxPRINTER_NO_ERROR));
27354 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_From_int((int)wxPRINTER_CANCELLED));
27355 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_From_int((int)wxPRINTER_ERROR));
27356 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_From_int((int)wxPREVIEW_PRINT));
27357 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_From_int((int)wxPREVIEW_PREVIOUS));
27358 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_From_int((int)wxPREVIEW_NEXT));
27359 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_From_int((int)wxPREVIEW_ZOOM));
27360 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_From_int((int)wxPREVIEW_FIRST));
27361 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_From_int((int)wxPREVIEW_LAST));
27362 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_From_int((int)wxPREVIEW_GOTO));
27363 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_From_int((int)wxPREVIEW_DEFAULT));
27364 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_From_int((int)wxID_PREVIEW_CLOSE));
27365 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_From_int((int)wxID_PREVIEW_NEXT));
27366 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)wxID_PREVIEW_PREVIOUS));
27367 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_From_int((int)wxID_PREVIEW_PRINT));
27368 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_From_int((int)wxID_PREVIEW_ZOOM));
27369 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_From_int((int)wxID_PREVIEW_FIRST));
27370 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_From_int((int)wxID_PREVIEW_LAST));
27371 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_From_int((int)wxID_PREVIEW_GOTO));
d55e5bfc
RD
27372
27373 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
27374
27375}
27376