]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/_windows_wrap.cpp
reSWIGged
[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 219#define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
5e483524
RD
220#define SWIGTYPE_p_wxPyTaskBarIcon swig_types[9]
221#define SWIGTYPE_p_wxIconBundle swig_types[10]
222#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[11]
223#define SWIGTYPE_p_wxFindDialogEvent swig_types[12]
224#define SWIGTYPE_p_wxPreviewCanvas swig_types[13]
225#define SWIGTYPE_p_wxFont swig_types[14]
226#define SWIGTYPE_p_wxSplitterEvent swig_types[15]
227#define SWIGTYPE_p_wxRegion swig_types[16]
228#define SWIGTYPE_p_wxFindReplaceData swig_types[17]
229#define SWIGTYPE_p_int swig_types[18]
230#define SWIGTYPE_p_wxSize swig_types[19]
231#define SWIGTYPE_p_wxDC swig_types[20]
232#define SWIGTYPE_p_wxIcon swig_types[21]
233#define SWIGTYPE_p_wxVisualAttributes swig_types[22]
234#define SWIGTYPE_p_wxMDIChildFrame swig_types[23]
235#define SWIGTYPE_p_wxColourData swig_types[24]
236#define SWIGTYPE_p_wxNotifyEvent swig_types[25]
237#define SWIGTYPE_p_wxPyWindow swig_types[26]
238#define SWIGTYPE_p_wxSplashScreen swig_types[27]
239#define SWIGTYPE_p_wxFindReplaceDialog swig_types[28]
240#define SWIGTYPE_p_wxProgressDialog swig_types[29]
241#define SWIGTYPE_p_wxMessageDialog swig_types[30]
242#define SWIGTYPE_p_wxTextEntryDialog swig_types[31]
243#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[32]
244#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[33]
245#define SWIGTYPE_p_wxFileDialog swig_types[34]
246#define SWIGTYPE_p_wxPrinter swig_types[35]
247#define SWIGTYPE_p_wxArrayInt swig_types[36]
248#define SWIGTYPE_p_wxEvtHandler swig_types[37]
249#define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[38]
250#define SWIGTYPE_p_wxPyHtmlListBox swig_types[39]
251#define SWIGTYPE_p_wxPyVListBox swig_types[40]
252#define SWIGTYPE_p_wxRect swig_types[41]
253#define SWIGTYPE_p_char swig_types[42]
254#define SWIGTYPE_p_wxMiniFrame swig_types[43]
255#define SWIGTYPE_p_wxFrame swig_types[44]
256#define SWIGTYPE_p_wxPyPrintout swig_types[45]
257#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[46]
258#define SWIGTYPE_p_wxScrollWinEvent swig_types[47]
259#define SWIGTYPE_p_wxStatusBar swig_types[48]
260#define SWIGTYPE_p_wxMDIParentFrame swig_types[49]
261#define SWIGTYPE_p_wxPoint swig_types[50]
262#define SWIGTYPE_p_wxObject swig_types[51]
263#define SWIGTYPE_p_wxOutputStream swig_types[52]
09c21d3b
RD
264#define SWIGTYPE_p_wxMDIClientWindow swig_types[53]
265#define SWIGTYPE_p_wxTipWindow swig_types[54]
266#define SWIGTYPE_p_wxSashLayoutWindow swig_types[55]
267#define SWIGTYPE_p_wxSplitterWindow swig_types[56]
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]
5e483524
RD
277#define SWIGTYPE_p_wxPyScrolledWindow swig_types[66]
278#define SWIGTYPE_p_wxPrintPreview swig_types[67]
279#define SWIGTYPE_p_wxSashEvent swig_types[68]
280#define SWIGTYPE_p_wxString swig_types[69]
281#define SWIGTYPE_p_wxPyPrintPreview swig_types[70]
282#define SWIGTYPE_p_wxFontDialog swig_types[71]
283#define SWIGTYPE_p_wxDirDialog swig_types[72]
284#define SWIGTYPE_p_wxColourDialog swig_types[73]
285#define SWIGTYPE_p_wxDialog swig_types[74]
286#define SWIGTYPE_p_wxPanel swig_types[75]
287#define SWIGTYPE_p_wxPageSetupDialog swig_types[76]
288#define SWIGTYPE_p_wxPrintDialog swig_types[77]
289#define SWIGTYPE_p_wxFileSystem swig_types[78]
290#define SWIGTYPE_p_wxBitmap swig_types[79]
291#define SWIGTYPE_p_wxCommandEvent swig_types[80]
292#define SWIGTYPE_p_wxPreviewControlBar swig_types[81]
293#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[82]
294#define SWIGTYPE_p_wxColour swig_types[83]
295#define SWIGTYPE_p_wxToolBar swig_types[84]
296#define SWIGTYPE_p_wxPageSetupDialogData swig_types[85]
297#define SWIGTYPE_p_wxPrintDialogData swig_types[86]
298static swig_type_info *swig_types[88];
d55e5bfc
RD
299
300/* -------- TYPES TABLE (END) -------- */
301
302
303/*-----------------------------------------------
304 @(target):= _windows_.so
305 ------------------------------------------------*/
306#define SWIG_init init_windows_
307
308#define SWIG_name "_windows_"
309
c32bde28
RD
310/* Auxiliar swig macros that appear in the header */
311
312#define SWIG_OLDOBJ 1
313#define SWIG_NEWOBJ SWIG_OLDOBJ + 1
314#define SWIG_PYSTR SWIG_NEWOBJ + 1
d55e5bfc
RD
315
316#ifdef __cplusplus
317#define SWIGSTATICINLINE(a) static inline a
318#define SWIGSTATIC(a) static a
c32bde28
RD
319#define swig_new_array(size,Type) (new Type[(size)])
320#define swig_delete(cptr) delete cptr
d55e5bfc 321#define swig_delete_array(cptr) delete[] cptr
c32bde28
RD
322#define swig_const_cast(a,Type) const_cast<Type >(a)
323#define swig_static_cast(a,Type) static_cast<Type >(a)
324#define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a)
325#define swig_new_copy(ptr,Type) (new Type(*ptr))
326#define swig_numeric_cast(a,Type) static_cast<Type >(a)
d55e5bfc
RD
327
328#else /* C case */
329
330#define SWIGSTATICINLINE(a) static a
331#define SWIGSTATIC(a) static a
c32bde28
RD
332#define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type)))
333#define swig_delete(cptr) free((char*)cptr)
d55e5bfc 334#define swig_delete_array(cptr) free((char*)cptr)
c32bde28
RD
335#define swig_const_cast(a,Type) (Type)(a)
336#define swig_static_cast(a,Type) (Type)(a)
337#define swig_reinterpret_cast(a,Type) (Type)(a)
338#define swig_numeric_cast(a,Type) (Type)(a)
339#define swig_new_copy(ptr,Type) ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type)))
d55e5bfc
RD
340
341#endif /* __cplusplus */
342
343
c32bde28
RD
344/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
345#define SWIG_From_signed_SS_char PyInt_FromLong
346/*@@*/
347/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
348#define SWIG_From_unsigned_SS_char PyInt_FromLong
349/*@@*/
350/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
351#define SWIG_From_short PyInt_FromLong
352/*@@*/
353/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
354#define SWIG_From_unsigned_SS_short PyInt_FromLong
355/*@@*/
356/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
357#define SWIG_From_int PyInt_FromLong
358/*@@*/
359/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
360#define SWIG_From_long PyInt_FromLong
361/*@@*/
362/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
363#define SWIG_From_float PyFloat_FromDouble
364/*@@*/
365/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
366#define SWIG_From_double PyFloat_FromDouble
367/*@@*/
d55e5bfc
RD
368
369
370#include "wx/wxPython/wxPython.h"
371#include "wx/wxPython/pyclasses.h"
372
373
374 static const wxString wxPyEmptyString(wxEmptyString);
375 static const wxString wxPyPanelNameStr(wxPanelNameStr);
376
377
378
379#include <limits.h>
380
381
c32bde28
RD
382SWIGSTATICINLINE(int)
383 SWIG_CheckLongInRange(long value, long min_value, long max_value,
384 const char *errmsg)
d55e5bfc 385{
c32bde28
RD
386 if (value < min_value) {
387 if (errmsg) {
388 PyErr_Format(PyExc_OverflowError,
389 "value %ld is less than '%s' minimum %ld",
390 value, errmsg, min_value);
391 }
392 return 0;
393 } else if (value > max_value) {
394 if (errmsg) {
395 PyErr_Format(PyExc_OverflowError,
396 "value %ld is greater than '%s' maximum %ld",
397 value, errmsg, max_value);
d55e5bfc 398 }
c32bde28 399 return 0;
d55e5bfc 400 }
c32bde28 401 return 1;
d55e5bfc
RD
402}
403
404
c32bde28
RD
405// See my_fragments.i
406SWIGSTATICINLINE(int)
407SWIG_AsVal_long(PyObject* obj, long* val)
d55e5bfc 408{
c32bde28
RD
409 if (PyNumber_Check(obj)) {
410 if (val) *val = PyInt_AsLong(obj);
411 return 1;
412 }
d55e5bfc
RD
413 else {
414 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
415 obj->ob_type->tp_name);
416 PyErr_SetObject(PyExc_TypeError, errmsg);
417 Py_DECREF(errmsg);
d55e5bfc 418 }
c32bde28 419 return 0;
d55e5bfc
RD
420}
421
422
423#if INT_MAX != LONG_MAX
424SWIGSTATICINLINE(int)
c32bde28 425 SWIG_AsVal_int(PyObject *obj, int *val)
d55e5bfc 426{
c32bde28
RD
427 const char* errmsg = val ? "int" : 0;
428 long v;
429 if (SWIG_AsVal_long(obj, &v)) {
430 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
431 if (val) *val = swig_numeric_cast(v, int);
432 return 1;
433 } else {
434 return 0;
435 }
436 } else {
437 PyErr_Clear();
438 }
439 if (val) {
440 PyErr_SetString(PyExc_TypeError, "an int is expected");
441 }
442 return 0;
d55e5bfc
RD
443}
444#else
c32bde28
RD
445SWIGSTATICINLINE(int)
446 SWIG_AsVal_int(PyObject *obj, int *val)
447{
448 return SWIG_AsVal_long(obj,(long*)val);
449}
d55e5bfc
RD
450#endif
451
452
453SWIGSTATICINLINE(int)
c32bde28 454SWIG_As_int(PyObject* obj)
d55e5bfc 455{
c32bde28
RD
456 int v;
457 if (!SWIG_AsVal_int(obj, &v)) {
458 /*
459 this is needed to make valgrind/purify happier. the other
460 solution is throw an exception, but since this code should work
461 with plain C ....
462 */
463 memset((void*)&v, 0, sizeof(int));
d55e5bfc 464 }
c32bde28 465 return v;
d55e5bfc
RD
466}
467
468
c32bde28
RD
469SWIGSTATICINLINE(long)
470SWIG_As_long(PyObject* obj)
d55e5bfc 471{
c32bde28
RD
472 long v;
473 if (!SWIG_AsVal_long(obj, &v)) {
474 /*
475 this is needed to make valgrind/purify happier. the other
476 solution is throw an exception, but since this code should work
477 with plain C ....
478 */
479 memset((void*)&v, 0, sizeof(long));
d55e5bfc 480 }
c32bde28 481 return v;
d55e5bfc
RD
482}
483
c32bde28
RD
484
485SWIGSTATICINLINE(int)
486SWIG_Check_int(PyObject* obj)
487{
488 return SWIG_AsVal_int(obj, (int*)0);
489}
d55e5bfc 490
c32bde28
RD
491
492SWIGSTATICINLINE(int)
493SWIG_Check_long(PyObject* obj)
d55e5bfc 494{
c32bde28 495 return SWIG_AsVal_long(obj, (long*)0);
d55e5bfc
RD
496}
497
498
499SWIGSTATICINLINE(int)
c32bde28 500 SWIG_AsVal_bool(PyObject *obj, bool *val)
d55e5bfc 501{
c32bde28
RD
502 /* if (val) *val = PyObject_IsTrue(obj); return 1; */
503 if (obj == Py_True) {
504 if (val) *val = true;
505 return 1;
506 }
507 if (obj == Py_False) {
508 if (val) *val = false;
509 return 1;
510 }
511 int res = 0;
512 if (SWIG_AsVal_int(obj, &res)) {
513 if (val) *val = (bool)res;
d55e5bfc
RD
514 return 1;
515 }
c32bde28
RD
516 if (val) {
517 PyErr_SetString(PyExc_TypeError, "a bool is expected");
518 }
519 return 0;
520}
521
522
523SWIGSTATICINLINE(bool)
524SWIG_As_bool(PyObject* obj)
525{
526 bool v;
527 if (!SWIG_AsVal_bool(obj, &v)) {
528 /*
529 this is needed to make valgrind/purify happier. the other
530 solution is throw an exception, but since this code should work
531 with plain C ....
532 */
533 memset((void*)&v, 0, sizeof(bool));
534 }
535 return v;
d55e5bfc
RD
536}
537
c32bde28
RD
538
539SWIGSTATICINLINE(int)
540SWIG_Check_bool(PyObject* obj)
541{
542 return SWIG_AsVal_bool(obj, (bool*)0);
543}
d55e5bfc 544
c32bde28
RD
545
546 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
d55e5bfc
RD
547 PyObject* o2;
548 PyObject* o3;
c32bde28 549
d55e5bfc
RD
550 if (!target) {
551 target = o;
552 } else if (target == Py_None) {
553 Py_DECREF(Py_None);
554 target = o;
7e63a440
RD
555 } else {
556 if (!PyTuple_Check(target)) {
557 o2 = target;
558 target = PyTuple_New(1);
559 PyTuple_SetItem(target, 0, o2);
560 }
d55e5bfc
RD
561 o3 = PyTuple_New(1);
562 PyTuple_SetItem(o3, 0, o);
563
564 o2 = target;
565 target = PySequence_Concat(o2, o3);
566 Py_DECREF(o2);
567 Py_DECREF(o3);
568 }
569 return target;
7e63a440 570 }
d55e5bfc
RD
571
572
c32bde28
RD
573
574// See my_fragments.i
575SWIGSTATICINLINE(int)
576SWIG_AsVal_double(PyObject *obj, double* val)
d55e5bfc 577{
c32bde28
RD
578 if (PyNumber_Check(obj)) {
579 if (val) *val = PyFloat_AsDouble(obj);
580 return 1;
581 }
d55e5bfc
RD
582 else {
583 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
584 obj->ob_type->tp_name);
585 PyErr_SetObject(PyExc_TypeError, errmsg);
586 Py_DECREF(errmsg);
d55e5bfc 587 }
c32bde28 588 return 0;
d55e5bfc
RD
589}
590
591
c32bde28
RD
592SWIGSTATICINLINE(double)
593SWIG_As_double(PyObject* obj)
d55e5bfc 594{
c32bde28
RD
595 double v;
596 if (!SWIG_AsVal_double(obj, &v)) {
597 /*
598 this is needed to make valgrind/purify happier. the other
599 solution is throw an exception, but since this code should work
600 with plain C ....
601 */
602 memset((void*)&v, 0, sizeof(double));
d55e5bfc 603 }
c32bde28
RD
604 return v;
605}
606
607
608SWIGSTATICINLINE(int)
609SWIG_Check_double(PyObject* obj)
610{
611 return SWIG_AsVal_double(obj, (double*)0);
d55e5bfc
RD
612}
613
614 static const wxString wxPyFrameNameStr(wxFrameNameStr);
615 static const wxString wxPyDialogNameStr(wxDialogNameStr);
616 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
617 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
618
619
620wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
621 wxRect r;
622 self->GetFieldRect(i, r);
623 return r;
624 }
625 static const wxString wxPySplitterNameStr(wxT("splitter"));
626 static const wxString wxPySashNameStr(wxT("sashWindow"));
627 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
628
629#include <wx/popupwin.h>
630
631
632class wxPyPopupTransientWindow : public wxPopupTransientWindow
633{
634public:
635 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
636 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
637 : wxPopupTransientWindow(parent, style) {}
638
639 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
640 DEC_PYCALLBACK__(OnDismiss);
641 DEC_PYCALLBACK_BOOL_(CanDismiss);
642 PYPRIVATE;
643};
644
645
646IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
647IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
648IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
649
650
651#include <wx/tipwin.h>
652
653wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength,wxRect *rectBound){
654 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
655 }
656
657#include <wx/tipwin.h>
658
659
660#include <wx/vscroll.h>
661
662
663class wxPyVScrolledWindow : public wxVScrolledWindow
664{
665 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
666public:
667 wxPyVScrolledWindow() : wxVScrolledWindow() {}
668
669 wxPyVScrolledWindow(wxWindow *parent,
670 wxWindowID id = wxID_ANY,
671 const wxPoint& pos = wxDefaultPosition,
672 const wxSize& size = wxDefaultSize,
673 long style = 0,
674 const wxString& name = wxPyPanelNameStr)
675 : wxVScrolledWindow(parent, id, pos, size, style, name)
676 {}
677
678 // Overridable virtuals
679
680 // this function must be overridden in the derived class and it should
681 // return the height of the given line in pixels
682 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
683
684
685 // this function doesn't have to be overridden but it may be useful to do
686 // it if calculating the lines heights is a relatively expensive operation
687 // as it gives the user code a possibility to calculate several of them at
688 // once
689 //
690 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
691 // shouldn't rely on the latter being called for all lines in the interval
692 // specified here. It is also possible that OnGetLineHeight() will be
693 // called for the lines outside of this interval, so this is really just a
694 // hint, not a promise.
695 //
696 // finally note that lineMin is inclusive, while lineMax is exclusive, as
697 // usual
698 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
699
700
701 // when the number of lines changes, we try to estimate the total height
702 // of all lines which is a rather expensive operation in terms of lines
703 // access, so if the user code may estimate the average height
704 // better/faster than we do, it should override this function to implement
705 // its own logic
706 //
707 // this function should return the best guess for the total height it may
708 // make
709 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
710
711
712 // Also expose some other interesting protected methods
713
714
715 // find the index of the line we need to show at the top of the window such
716 // that the last (fully or partially) visible line is the given one
ae8162c8 717 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
d55e5bfc
RD
718 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
719
720 // get the total height of the lines between lineMin (inclusive) and
721 // lineMax (exclusive)
722 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
723 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
724
725
726 PYPRIVATE;
727};
728
729IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
730
731IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
732IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
733IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
734
735
c32bde28
RD
736// See my_fragments.i
737SWIGSTATICINLINE(int)
738SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
d55e5bfc 739{
c32bde28
RD
740 long v = 0;
741 if (SWIG_AsVal_long(obj, &v) && v < 0) {
742 PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type");
743 return 0;
d55e5bfc 744 }
c32bde28
RD
745 else if (val)
746 *val = (unsigned long)v;
747 return 1;
d55e5bfc
RD
748}
749
750
c32bde28
RD
751SWIGSTATICINLINE(unsigned long)
752SWIG_As_unsigned_SS_long(PyObject* obj)
d55e5bfc 753{
c32bde28
RD
754 unsigned long v;
755 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
756 /*
757 this is needed to make valgrind/purify happier. the other
758 solution is throw an exception, but since this code should work
759 with plain C ....
760 */
761 memset((void*)&v, 0, sizeof(unsigned long));
d55e5bfc 762 }
c32bde28
RD
763 return v;
764}
765
766
767SWIGSTATICINLINE(int)
768SWIG_Check_unsigned_SS_long(PyObject* obj)
769{
770 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
d55e5bfc
RD
771}
772
773
774SWIGSTATICINLINE(PyObject* )
c32bde28 775 SWIG_From_unsigned_SS_long(unsigned long value)
d55e5bfc
RD
776{
777 return (value > LONG_MAX) ?
778 PyLong_FromUnsignedLong(value)
c32bde28 779 : PyInt_FromLong(swig_numeric_cast(value,long));
d55e5bfc
RD
780}
781
782
783#include <wx/vlbox.h>
784
785 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
786
787class wxPyVListBox : public wxVListBox
788{
789 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
790public:
791 wxPyVListBox() : wxVListBox() {}
792
793 wxPyVListBox(wxWindow *parent,
794 wxWindowID id = wxID_ANY,
795 const wxPoint& pos = wxDefaultPosition,
796 const wxSize& size = wxDefaultSize,
797 long style = 0,
798 const wxString& name = wxPyVListBoxNameStr)
799 : wxVListBox(parent, id, pos, size, style, name)
800 {}
801
802 // Overridable virtuals
803
804 // the derived class must implement this function to actually draw the item
805 // with the given index on the provided DC
806 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
807 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
808
809
810 // the derived class must implement this method to return the height of the
811 // specified item
812 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
813 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
814
815
816 // this method may be used to draw separators between the lines; note that
817 // the rectangle may be modified, typically to deflate it a bit before
818 // passing to OnDrawItem()
819 //
820 // the base class version doesn't do anything
821 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
822 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
823
824
825 // this method is used to draw the items background and, maybe, a border
826 // around it
827 //
828 // the base class version implements a reasonable default behaviour which
829 // consists in drawing the selected item with the standard background
830 // colour and drawing a border around the item if it is either selected or
831 // current
832 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
833 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
834
835
836 PYPRIVATE;
837};
838
839IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
840
841IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
842IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
843IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
844IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
845
846
09c21d3b
RD
847PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
848 unsigned long cookie = 0;
849 int selected = self->GetFirstSelected(cookie);
850 bool blocked = wxPyBeginBlockThreads();
851 PyObject* tup = PyTuple_New(2);
852 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
853 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
854 wxPyEndBlockThreads(blocked);
855 return tup;
856 }
857PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
858 int selected = self->GetNextSelected(cookie);
859 bool blocked = wxPyBeginBlockThreads();
860 PyObject* tup = PyTuple_New(2);
861 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
862 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
863 wxPyEndBlockThreads(blocked);
864 return tup;
865 }
d55e5bfc
RD
866
867#include <wx/htmllbox.h>
868
869
870class wxPyHtmlListBox : public wxHtmlListBox
871{
872 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
873public:
874 wxPyHtmlListBox() : wxHtmlListBox() {}
875
876 wxPyHtmlListBox(wxWindow *parent,
877 wxWindowID id = wxID_ANY,
878 const wxPoint& pos = wxDefaultPosition,
879 const wxSize& size = wxDefaultSize,
880 long style = 0,
881 const wxString& name = wxPyVListBoxNameStr)
882 : wxHtmlListBox(parent, id, pos, size, style, name)
883 {}
884
885 // Overridable virtuals
886
887 // this method must be implemented in the derived class and should return
888 // the body (i.e. without <html>) of the HTML for the given item
889 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
890
891 // this function may be overridden to decorate HTML returned by OnGetItem()
892 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
893
894// TODO:
895// // this method allows to customize the selection appearance: it may be used
896// // to specify the colour of the text which normally has the given colour
897// // colFg when it is inside the selection
898// //
899// // by default, the original colour is not used at all and all text has the
900// // same (default for this system) colour inside selection
901// virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
902
903// // this is the same as GetSelectedTextColour() but allows to customize the
904// // background colour -- this is even more rarely used as you can change it
905// // globally using SetSelectionBackground()
906// virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
907
908
909 PYPRIVATE;
910};
911
912
913IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
914
915IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
916IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
917
918
919
920
921
ae8162c8
RD
922#ifndef wxHAS_TASK_BAR_ICON
923// implement dummy classes for platforms that don't have it
d55e5bfc
RD
924
925class wxTaskBarIcon : public wxEvtHandler
926{
927public:
928 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
929};
09c21d3b 930
d55e5bfc
RD
931
932class wxTaskBarIconEvent : public wxEvent
933{
934public:
935 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
936 { wxPyRaiseNotImplemented(); }
937 virtual wxEvent* Clone() const { return NULL; }
ae8162c8
RD
938 bool IsOk() const { return false; }
939 bool IsIconInstalled() const { return false; }
940 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
941 bool RemoveIcon() { return false; }
942 bool PopupMenu(wxMenu *menu) { return false; }
d55e5bfc
RD
943};
944
945enum {
946 wxEVT_TASKBAR_MOVE = 0,
947 wxEVT_TASKBAR_LEFT_DOWN = 0,
948 wxEVT_TASKBAR_LEFT_UP = 0,
949 wxEVT_TASKBAR_RIGHT_DOWN = 0,
950 wxEVT_TASKBAR_RIGHT_UP = 0,
951 wxEVT_TASKBAR_LEFT_DCLICK = 0,
952 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
953};
09c21d3b
RD
954
955
956#else
5e483524
RD
957// Otherwise make a class that can virtualize CreatePopupMenu
958class wxPyTaskBarIcon : public wxTaskBarIcon
959{
960 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon);
961public:
962 wxPyTaskBarIcon() : wxTaskBarIcon()
963 {}
964
965 wxMenu* CreatePopupMenu() {
966 wxMenu *rval = NULL;
967 bool found;
968 bool blocked = wxPyBeginBlockThreads();
969 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
970 PyObject* ro;
971 wxMenu* ptr;
972 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
973 if (ro) {
974 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
975 rval = ptr;
976 Py_DECREF(ro);
977 }
978 }
979 wxPyEndBlockThreads(blocked);
980 if (! found)
981 rval = wxTaskBarIcon::CreatePopupMenu();
982 return rval;
983 }
984
985 PYPRIVATE;
986};
987
988IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
09c21d3b 989
d55e5bfc
RD
990#endif
991
5e483524 992void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
d55e5bfc 993 self->RemoveIcon();
5e483524 994 delete self;
d55e5bfc
RD
995 }
996 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
997 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
998 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
999 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
1000 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
1001 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
1002PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
1003 wxArrayString arr;
1004 self->GetFilenames(arr);
1005 return wxArrayString2PyList_helper(arr);
1006 }
1007PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
1008 wxArrayString arr;
1009 self->GetPaths(arr);
1010 return wxArrayString2PyList_helper(arr);
1011 }
1012PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
1013 return wxArrayInt2PyList_helper(self->GetSelections());
1014 }
1015wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){
1016 return new wxSingleChoiceDialog(parent, message, caption,
1017 choices, choices_array, NULL, style, pos);
1018 }
1019
1020#include <wx/mdi.h>
1021
1022 // C++ version of Python aware wxWindow
1023class wxPyWindow : public wxWindow
1024{
1025 DECLARE_DYNAMIC_CLASS(wxPyWindow)
1026public:
1027 wxPyWindow() : wxWindow() {}
1028 wxPyWindow(wxWindow* parent, const wxWindowID id,
1029 const wxPoint& pos = wxDefaultPosition,
1030 const wxSize& size = wxDefaultSize,
1031 long style = 0,
1032 const wxString& name = wxPyPanelNameStr)
1033 : wxWindow(parent, id, pos, size, style, name) {}
1034
caef1a4d 1035 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
d55e5bfc
RD
1036
1037 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1038 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1039 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1040 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1041
1042 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1043 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1044 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1045
1046 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1047 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1048
1049 DEC_PYCALLBACK__(InitDialog);
1050 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1051 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1052 DEC_PYCALLBACK_BOOL_(Validate);
1053
1054 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1055 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1056 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1057
1058 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1059 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1060
caef1a4d 1061 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
d55e5bfc 1062 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
caef1a4d 1063 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc
RD
1064
1065 PYPRIVATE;
1066};
1067
1068IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
1069
1070IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
1071IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
1072IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
1073IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
1074
1075IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
1076IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
1077IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
1078
1079IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
1080IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
1081
1082IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
1083IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
1084IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
1085IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
1086
1087IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
1088IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
1089IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
1090
1091IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
1092IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
1093
caef1a4d 1094IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
d55e5bfc 1095IMP_PYCALLBACK__COLOUR(wxPyWindow, wxWindow, ApplyParentThemeBackground);
caef1a4d 1096IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
d55e5bfc
RD
1097
1098
1099 // C++ version of Python aware wxPanel
1100class wxPyPanel : public wxPanel
1101{
1102 DECLARE_DYNAMIC_CLASS(wxPyPanel)
1103public:
1104 wxPyPanel() : wxPanel() {}
1105 wxPyPanel(wxWindow* parent, const wxWindowID id,
1106 const wxPoint& pos = wxDefaultPosition,
1107 const wxSize& size = wxDefaultSize,
1108 long style = 0,
1109 const wxString& name = wxPyPanelNameStr)
1110 : wxPanel(parent, id, pos, size, style, name) {}
1111
caef1a4d
RD
1112 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
1113
d55e5bfc
RD
1114
1115 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1116 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1117 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1118 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1119
1120 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1121 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1122 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1123
1124 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1125 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1126
1127 DEC_PYCALLBACK__(InitDialog);
1128 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1129 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1130 DEC_PYCALLBACK_BOOL_(Validate);
1131
1132 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1133 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1134 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1135
1136 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1137 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1138
caef1a4d 1139 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
d55e5bfc 1140 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
caef1a4d 1141 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc
RD
1142
1143 PYPRIVATE;
1144};
1145
1146IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
1147
1148IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
1149IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
1150IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
1151IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
1152
1153IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
1154IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
1155IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
1156
1157IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
1158IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
1159
1160IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
1161IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
1162IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
1163IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
1164
1165IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
1166IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
1167IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
1168
1169IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
1170IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
1171
caef1a4d 1172IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
d55e5bfc 1173IMP_PYCALLBACK__COLOUR(wxPyPanel, wxPanel, ApplyParentThemeBackground);
caef1a4d 1174IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
d55e5bfc 1175
caef1a4d 1176
d55e5bfc
RD
1177 // C++ version of Python aware wxScrolledWindow
1178class wxPyScrolledWindow : public wxScrolledWindow
1179{
1180 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
1181public:
1182 wxPyScrolledWindow() : wxScrolledWindow() {}
1183 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
1184 const wxPoint& pos = wxDefaultPosition,
1185 const wxSize& size = wxDefaultSize,
1186 long style = 0,
1187 const wxString& name = wxPyPanelNameStr)
1188 : wxScrolledWindow(parent, id, pos, size, style, name) {}
1189
caef1a4d 1190 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
d55e5bfc
RD
1191
1192 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1193 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1194 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1195 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1196
1197 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1198 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1199 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1200
1201 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1202 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1203
1204 DEC_PYCALLBACK__(InitDialog);
1205 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1206 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1207 DEC_PYCALLBACK_BOOL_(Validate);
1208
1209 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1210 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1211 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1212
1213 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1214 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1215
caef1a4d 1216 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
d55e5bfc 1217 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
caef1a4d 1218 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc
RD
1219
1220 PYPRIVATE;
1221};
1222
1223IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
1224
1225IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
1226IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
1227IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
1228IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
1229
1230IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
1231IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
1232IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
1233
1234IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
1235IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
1236
1237IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
1238IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
1239IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
1240IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
1241
1242IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
1243IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
1244IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
1245
1246IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
1247IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
1248
caef1a4d 1249IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
d55e5bfc 1250IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow, wxScrolledWindow, ApplyParentThemeBackground);
caef1a4d
RD
1251IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
1252
d55e5bfc
RD
1253
1254
1255#include "wx/wxPython/printfw.h"
1256
1257
1258 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
1259 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1260
1261
1262
1263// Since this one would be tough and ugly to do with the Macros...
1264void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
ae8162c8 1265 bool hadErr = false;
d55e5bfc
RD
1266 bool found;
1267
1268 bool blocked = wxPyBeginBlockThreads();
1269 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
1270 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1271 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
1272 PyObject* val;
1273
1274 val = PyTuple_GetItem(result, 0);
1275 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
ae8162c8 1276 else hadErr = true;
d55e5bfc
RD
1277
1278 val = PyTuple_GetItem(result, 1);
1279 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
ae8162c8 1280 else hadErr = true;
d55e5bfc
RD
1281
1282 val = PyTuple_GetItem(result, 2);
1283 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
ae8162c8 1284 else hadErr = true;
d55e5bfc
RD
1285
1286 val = PyTuple_GetItem(result, 3);
1287 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
ae8162c8 1288 else hadErr = true;
d55e5bfc
RD
1289 }
1290 else
ae8162c8 1291 hadErr = true;
d55e5bfc
RD
1292
1293 if (hadErr) {
1294 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
1295 PyErr_Print();
1296 }
1297 Py_DECREF(result);
1298 }
1299 wxPyEndBlockThreads(blocked);
1300 if (! found)
1301 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1302}
1303
1304void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1305 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1306}
1307
1308
1309IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
1310IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
1311IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
1312IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
1313IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
1314IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
1315IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
1316
1317
1318
1319
1320
ae8162c8
RD
1321#define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1322 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
d55e5bfc
RD
1323 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1324
1325
ae8162c8
RD
1326#define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1327 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1328 bool rval=false; \
1329 bool found; \
1330 bool blocked = wxPyBeginBlockThreads(); \
1331 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1332 PyObject* win = wxPyMake_wxObject(a,false); \
1333 PyObject* dc = wxPyMake_wxObject(&b,false); \
1334 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
1335 Py_DECREF(win); \
1336 Py_DECREF(dc); \
1337 } \
1338 wxPyEndBlockThreads(blocked); \
1339 if (! found) \
1340 rval = PCLASS::CBNAME(a, b); \
1341 return rval; \
1342 } \
1343 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1344 return PCLASS::CBNAME(a, b); \
d55e5bfc
RD
1345 }
1346
1347
1348
1349
1350class wxPyPrintPreview : public wxPrintPreview
1351{
1352 DECLARE_CLASS(wxPyPrintPreview)
1353public:
1354 wxPyPrintPreview(wxPyPrintout* printout,
1355 wxPyPrintout* printoutForPrinting,
1356 wxPrintDialogData* data=NULL)
1357 : wxPrintPreview(printout, printoutForPrinting, data)
1358 {}
1359 wxPyPrintPreview(wxPyPrintout* printout,
1360 wxPyPrintout* printoutForPrinting,
1361 wxPrintData* data=NULL)
1362 : wxPrintPreview(printout, printoutForPrinting, data)
1363 {}
1364
1365 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
1366 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
1367 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
1368 DEC_PYCALLBACK_BOOL_INT(RenderPage);
1369 DEC_PYCALLBACK_VOID_INT(SetZoom);
1370 DEC_PYCALLBACK_BOOL_BOOL(Print);
1371 DEC_PYCALLBACK_VOID_(DetermineScaling);
1372
1373 PYPRIVATE;
1374};
1375
1376// Stupid renamed classes... Fix this in 2.5...
1377#if defined(__WXMSW__)
1378IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
1379#elif defined(__WXMAC__)
1380IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
1381#else
1382IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
1383#endif
1384
1385IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
1386IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
1387IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
1388IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
1389IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
1390IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
1391IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
1392
1393
1394class wxPyPreviewFrame : public wxPreviewFrame
1395{
1396 DECLARE_CLASS(wxPyPreviewFrame);
1397public:
1398 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
1399 const wxString& title,
1400 const wxPoint& pos = wxDefaultPosition,
1401 const wxSize& size = wxDefaultSize,
1402 long style = wxDEFAULT_FRAME_STYLE,
1403 const wxString& name = wxPyFrameNameStr)
1404 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
1405 {}
1406
1407 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
1408 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
1409
1410 DEC_PYCALLBACK_VOID_(Initialize);
1411 DEC_PYCALLBACK_VOID_(CreateCanvas);
1412 DEC_PYCALLBACK_VOID_(CreateControlBar);
1413
1414 PYPRIVATE;
1415};
1416
1417IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
1418
1419IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
1420IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
1421IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
1422
1423
1424class wxPyPreviewControlBar : public wxPreviewControlBar
1425{
1426 DECLARE_CLASS(wxPyPreviewControlBar);
1427public:
1428 wxPyPreviewControlBar(wxPrintPreview *preview,
1429 long buttons,
1430 wxWindow *parent,
1431 const wxPoint& pos = wxDefaultPosition,
1432 const wxSize& size = wxDefaultSize,
1433 long style = 0,
1434 const wxString& name = wxPyPanelNameStr)
1435 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
1436 {}
1437
1438 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
1439
1440 DEC_PYCALLBACK_VOID_(CreateButtons);
1441 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
1442
1443 PYPRIVATE;
1444};
1445
1446IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
1447IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
1448IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
1449
1450#ifdef __cplusplus
1451extern "C" {
1452#endif
c32bde28 1453static PyObject *_wrap_new_Panel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
1454 PyObject *resultobj;
1455 wxWindow *arg1 = (wxWindow *) 0 ;
1456 int arg2 = (int) (int)-1 ;
1457 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1458 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1459 wxSize const &arg4_defvalue = wxDefaultSize ;
1460 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1461 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1462 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1463 wxString *arg6 = (wxString *) &arg6_defvalue ;
1464 wxPanel *result;
1465 wxPoint temp3 ;
1466 wxSize temp4 ;
ae8162c8 1467 bool temp6 = false ;
d55e5bfc
RD
1468 PyObject * obj0 = 0 ;
1469 PyObject * obj1 = 0 ;
1470 PyObject * obj2 = 0 ;
1471 PyObject * obj3 = 0 ;
1472 PyObject * obj4 = 0 ;
1473 PyObject * obj5 = 0 ;
1474 char *kwnames[] = {
1475 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1476 };
1477
1478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1481 if (obj1) {
c32bde28 1482 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
1483 if (PyErr_Occurred()) SWIG_fail;
1484 }
1485 if (obj2) {
1486 {
1487 arg3 = &temp3;
1488 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1489 }
1490 }
1491 if (obj3) {
1492 {
1493 arg4 = &temp4;
1494 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1495 }
1496 }
1497 if (obj4) {
c32bde28 1498 arg5 = (long)SWIG_As_long(obj4);
d55e5bfc
RD
1499 if (PyErr_Occurred()) SWIG_fail;
1500 }
1501 if (obj5) {
1502 {
1503 arg6 = wxString_in_helper(obj5);
1504 if (arg6 == NULL) SWIG_fail;
ae8162c8 1505 temp6 = true;
d55e5bfc
RD
1506 }
1507 }
1508 {
0439c23b 1509 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
1510 PyThreadState* __tstate = wxPyBeginAllowThreads();
1511 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1512
1513 wxPyEndAllowThreads(__tstate);
110da5b0 1514 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 1515 }
b0f7404b 1516 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
d55e5bfc
RD
1517 {
1518 if (temp6)
1519 delete arg6;
1520 }
1521 return resultobj;
1522 fail:
1523 {
1524 if (temp6)
1525 delete arg6;
1526 }
1527 return NULL;
1528}
1529
1530
c32bde28 1531static PyObject *_wrap_new_PrePanel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
1532 PyObject *resultobj;
1533 wxPanel *result;
1534 char *kwnames[] = {
1535 NULL
1536 };
1537
1538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
1539 {
0439c23b 1540 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
1541 PyThreadState* __tstate = wxPyBeginAllowThreads();
1542 result = (wxPanel *)new wxPanel();
1543
1544 wxPyEndAllowThreads(__tstate);
110da5b0 1545 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 1546 }
b0f7404b 1547 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
d55e5bfc
RD
1548 return resultobj;
1549 fail:
1550 return NULL;
1551}
1552
1553
c32bde28 1554static PyObject *_wrap_Panel_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
1555 PyObject *resultobj;
1556 wxPanel *arg1 = (wxPanel *) 0 ;
1557 wxWindow *arg2 = (wxWindow *) 0 ;
1558 int arg3 = (int) (int)-1 ;
1559 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1560 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1561 wxSize const &arg5_defvalue = wxDefaultSize ;
1562 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1563 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1564 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1565 wxString *arg7 = (wxString *) &arg7_defvalue ;
1566 bool result;
1567 wxPoint temp4 ;
1568 wxSize temp5 ;
ae8162c8 1569 bool temp7 = false ;
d55e5bfc
RD
1570 PyObject * obj0 = 0 ;
1571 PyObject * obj1 = 0 ;
1572 PyObject * obj2 = 0 ;
1573 PyObject * obj3 = 0 ;
1574 PyObject * obj4 = 0 ;
1575 PyObject * obj5 = 0 ;
1576 PyObject * obj6 = 0 ;
1577 char *kwnames[] = {
1578 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1579 };
1580
1581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1584 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1586 if (obj2) {
c32bde28 1587 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
1588 if (PyErr_Occurred()) SWIG_fail;
1589 }
1590 if (obj3) {
1591 {
1592 arg4 = &temp4;
1593 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1594 }
1595 }
1596 if (obj4) {
1597 {
1598 arg5 = &temp5;
1599 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1600 }
1601 }
1602 if (obj5) {
c32bde28 1603 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
1604 if (PyErr_Occurred()) SWIG_fail;
1605 }
1606 if (obj6) {
1607 {
1608 arg7 = wxString_in_helper(obj6);
1609 if (arg7 == NULL) SWIG_fail;
ae8162c8 1610 temp7 = true;
d55e5bfc
RD
1611 }
1612 }
1613 {
1614 PyThreadState* __tstate = wxPyBeginAllowThreads();
1615 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1616
1617 wxPyEndAllowThreads(__tstate);
1618 if (PyErr_Occurred()) SWIG_fail;
1619 }
1620 {
1621 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1622 }
1623 {
1624 if (temp7)
1625 delete arg7;
1626 }
1627 return resultobj;
1628 fail:
1629 {
1630 if (temp7)
1631 delete arg7;
1632 }
1633 return NULL;
1634}
1635
1636
c32bde28 1637static PyObject *_wrap_Panel_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
1638 PyObject *resultobj;
1639 wxPanel *arg1 = (wxPanel *) 0 ;
1640 PyObject * obj0 = 0 ;
1641 char *kwnames[] = {
1642 (char *) "self", NULL
1643 };
1644
1645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
1646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1648 {
1649 PyThreadState* __tstate = wxPyBeginAllowThreads();
1650 (arg1)->InitDialog();
1651
1652 wxPyEndAllowThreads(__tstate);
1653 if (PyErr_Occurred()) SWIG_fail;
1654 }
1655 Py_INCREF(Py_None); resultobj = Py_None;
1656 return resultobj;
1657 fail:
1658 return NULL;
1659}
1660
1661
c32bde28 1662static PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f
RD
1663 PyObject *resultobj;
1664 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
1665 wxVisualAttributes result;
1666 PyObject * obj0 = 0 ;
1667 char *kwnames[] = {
1668 (char *) "variant", NULL
1669 };
1670
1671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
1672 if (obj0) {
c32bde28 1673 arg1 = (int)SWIG_As_int(obj0);
f20a2e1f
RD
1674 if (PyErr_Occurred()) SWIG_fail;
1675 }
1676 {
0439c23b 1677 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
1678 PyThreadState* __tstate = wxPyBeginAllowThreads();
1679 result = wxPanel::GetClassDefaultAttributes((wxWindowVariant )arg1);
1680
1681 wxPyEndAllowThreads(__tstate);
110da5b0 1682 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
1683 }
1684 {
1685 wxVisualAttributes * resultptr;
1686 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
1687 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
1688 }
1689 return resultobj;
1690 fail:
1691 return NULL;
1692}
1693
1694
c32bde28 1695static PyObject * Panel_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
1696 PyObject *obj;
1697 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1698 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
1699 Py_INCREF(obj);
1700 return Py_BuildValue((char *)"");
1701}
c32bde28 1702static PyObject *_wrap_new_ScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
1703 PyObject *resultobj;
1704 wxWindow *arg1 = (wxWindow *) 0 ;
1705 int arg2 = (int) (int)-1 ;
1706 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1707 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1708 wxSize const &arg4_defvalue = wxDefaultSize ;
1709 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1710 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
1711 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1712 wxString *arg6 = (wxString *) &arg6_defvalue ;
1713 wxScrolledWindow *result;
1714 wxPoint temp3 ;
1715 wxSize temp4 ;
ae8162c8 1716 bool temp6 = false ;
d55e5bfc
RD
1717 PyObject * obj0 = 0 ;
1718 PyObject * obj1 = 0 ;
1719 PyObject * obj2 = 0 ;
1720 PyObject * obj3 = 0 ;
1721 PyObject * obj4 = 0 ;
1722 PyObject * obj5 = 0 ;
1723 char *kwnames[] = {
1724 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1725 };
1726
1727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1730 if (obj1) {
c32bde28 1731 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
1732 if (PyErr_Occurred()) SWIG_fail;
1733 }
1734 if (obj2) {
1735 {
1736 arg3 = &temp3;
1737 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1738 }
1739 }
1740 if (obj3) {
1741 {
1742 arg4 = &temp4;
1743 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1744 }
1745 }
1746 if (obj4) {
c32bde28 1747 arg5 = (long)SWIG_As_long(obj4);
d55e5bfc
RD
1748 if (PyErr_Occurred()) SWIG_fail;
1749 }
1750 if (obj5) {
1751 {
1752 arg6 = wxString_in_helper(obj5);
1753 if (arg6 == NULL) SWIG_fail;
ae8162c8 1754 temp6 = true;
d55e5bfc
RD
1755 }
1756 }
1757 {
0439c23b 1758 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
1759 PyThreadState* __tstate = wxPyBeginAllowThreads();
1760 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1761
1762 wxPyEndAllowThreads(__tstate);
110da5b0 1763 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 1764 }
b0f7404b 1765 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
d55e5bfc
RD
1766 {
1767 if (temp6)
1768 delete arg6;
1769 }
1770 return resultobj;
1771 fail:
1772 {
1773 if (temp6)
1774 delete arg6;
1775 }
1776 return NULL;
1777}
1778
1779
c32bde28 1780static PyObject *_wrap_new_PreScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
1781 PyObject *resultobj;
1782 wxScrolledWindow *result;
1783 char *kwnames[] = {
1784 NULL
1785 };
1786
1787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
1788 {
0439c23b 1789 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
1790 PyThreadState* __tstate = wxPyBeginAllowThreads();
1791 result = (wxScrolledWindow *)new wxScrolledWindow();
1792
1793 wxPyEndAllowThreads(__tstate);
110da5b0 1794 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 1795 }
b0f7404b 1796 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
d55e5bfc
RD
1797 return resultobj;
1798 fail:
1799 return NULL;
1800}
1801
1802
c32bde28 1803static PyObject *_wrap_ScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
1804 PyObject *resultobj;
1805 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1806 wxWindow *arg2 = (wxWindow *) 0 ;
1807 int arg3 = (int) (int)-1 ;
1808 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1809 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1810 wxSize const &arg5_defvalue = wxDefaultSize ;
1811 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1812 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
1813 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1814 wxString *arg7 = (wxString *) &arg7_defvalue ;
1815 bool result;
1816 wxPoint temp4 ;
1817 wxSize temp5 ;
ae8162c8 1818 bool temp7 = false ;
d55e5bfc
RD
1819 PyObject * obj0 = 0 ;
1820 PyObject * obj1 = 0 ;
1821 PyObject * obj2 = 0 ;
1822 PyObject * obj3 = 0 ;
1823 PyObject * obj4 = 0 ;
1824 PyObject * obj5 = 0 ;
1825 PyObject * obj6 = 0 ;
1826 char *kwnames[] = {
1827 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1828 };
1829
1830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1833 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1835 if (obj2) {
c32bde28 1836 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
1837 if (PyErr_Occurred()) SWIG_fail;
1838 }
1839 if (obj3) {
1840 {
1841 arg4 = &temp4;
1842 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1843 }
1844 }
1845 if (obj4) {
1846 {
1847 arg5 = &temp5;
1848 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1849 }
1850 }
1851 if (obj5) {
c32bde28 1852 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
1853 if (PyErr_Occurred()) SWIG_fail;
1854 }
1855 if (obj6) {
1856 {
1857 arg7 = wxString_in_helper(obj6);
1858 if (arg7 == NULL) SWIG_fail;
ae8162c8 1859 temp7 = true;
d55e5bfc
RD
1860 }
1861 }
1862 {
1863 PyThreadState* __tstate = wxPyBeginAllowThreads();
1864 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1865
1866 wxPyEndAllowThreads(__tstate);
1867 if (PyErr_Occurred()) SWIG_fail;
1868 }
1869 {
1870 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1871 }
1872 {
1873 if (temp7)
1874 delete arg7;
1875 }
1876 return resultobj;
1877 fail:
1878 {
1879 if (temp7)
1880 delete arg7;
1881 }
1882 return NULL;
1883}
1884
1885
c32bde28 1886static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
1887 PyObject *resultobj;
1888 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1889 int arg2 ;
1890 int arg3 ;
1891 int arg4 ;
1892 int arg5 ;
1893 int arg6 = (int) 0 ;
1894 int arg7 = (int) 0 ;
ae8162c8 1895 bool arg8 = (bool) false ;
d55e5bfc
RD
1896 PyObject * obj0 = 0 ;
1897 PyObject * obj1 = 0 ;
1898 PyObject * obj2 = 0 ;
1899 PyObject * obj3 = 0 ;
1900 PyObject * obj4 = 0 ;
1901 PyObject * obj5 = 0 ;
1902 PyObject * obj6 = 0 ;
1903 PyObject * obj7 = 0 ;
1904 char *kwnames[] = {
1905 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1906 };
1907
1908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 1911 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 1912 if (PyErr_Occurred()) SWIG_fail;
c32bde28 1913 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc 1914 if (PyErr_Occurred()) SWIG_fail;
c32bde28 1915 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc 1916 if (PyErr_Occurred()) SWIG_fail;
c32bde28 1917 arg5 = (int)SWIG_As_int(obj4);
d55e5bfc
RD
1918 if (PyErr_Occurred()) SWIG_fail;
1919 if (obj5) {
c32bde28 1920 arg6 = (int)SWIG_As_int(obj5);
d55e5bfc
RD
1921 if (PyErr_Occurred()) SWIG_fail;
1922 }
1923 if (obj6) {
c32bde28 1924 arg7 = (int)SWIG_As_int(obj6);
d55e5bfc
RD
1925 if (PyErr_Occurred()) SWIG_fail;
1926 }
1927 if (obj7) {
c32bde28 1928 arg8 = (bool)SWIG_As_bool(obj7);
d55e5bfc
RD
1929 if (PyErr_Occurred()) SWIG_fail;
1930 }
1931 {
1932 PyThreadState* __tstate = wxPyBeginAllowThreads();
1933 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1934
1935 wxPyEndAllowThreads(__tstate);
1936 if (PyErr_Occurred()) SWIG_fail;
1937 }
1938 Py_INCREF(Py_None); resultobj = Py_None;
1939 return resultobj;
1940 fail:
1941 return NULL;
1942}
1943
1944
c32bde28 1945static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
1946 PyObject *resultobj;
1947 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1948 int arg2 ;
1949 int arg3 ;
1950 PyObject * obj0 = 0 ;
1951 PyObject * obj1 = 0 ;
1952 PyObject * obj2 = 0 ;
1953 char *kwnames[] = {
1954 (char *) "self",(char *) "x",(char *) "y", NULL
1955 };
1956
1957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
1958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 1960 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 1961 if (PyErr_Occurred()) SWIG_fail;
c32bde28 1962 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
1963 if (PyErr_Occurred()) SWIG_fail;
1964 {
1965 PyThreadState* __tstate = wxPyBeginAllowThreads();
1966 (arg1)->Scroll(arg2,arg3);
1967
1968 wxPyEndAllowThreads(__tstate);
1969 if (PyErr_Occurred()) SWIG_fail;
1970 }
1971 Py_INCREF(Py_None); resultobj = Py_None;
1972 return resultobj;
1973 fail:
1974 return NULL;
1975}
1976
1977
c32bde28 1978static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
1979 PyObject *resultobj;
1980 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1981 int arg2 ;
1982 int result;
1983 PyObject * obj0 = 0 ;
1984 PyObject * obj1 = 0 ;
1985 char *kwnames[] = {
1986 (char *) "self",(char *) "orient", NULL
1987 };
1988
1989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail;
1990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 1992 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
1993 if (PyErr_Occurred()) SWIG_fail;
1994 {
1995 PyThreadState* __tstate = wxPyBeginAllowThreads();
1996 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
1997
1998 wxPyEndAllowThreads(__tstate);
1999 if (PyErr_Occurred()) SWIG_fail;
2000 }
c32bde28 2001 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
2002 return resultobj;
2003 fail:
2004 return NULL;
2005}
2006
2007
c32bde28 2008static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2009 PyObject *resultobj;
2010 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2011 int arg2 ;
2012 int arg3 ;
2013 PyObject * obj0 = 0 ;
2014 PyObject * obj1 = 0 ;
2015 PyObject * obj2 = 0 ;
2016 char *kwnames[] = {
2017 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
2018 };
2019
2020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 2023 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 2024 if (PyErr_Occurred()) SWIG_fail;
c32bde28 2025 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
2026 if (PyErr_Occurred()) SWIG_fail;
2027 {
2028 PyThreadState* __tstate = wxPyBeginAllowThreads();
2029 (arg1)->SetScrollPageSize(arg2,arg3);
2030
2031 wxPyEndAllowThreads(__tstate);
2032 if (PyErr_Occurred()) SWIG_fail;
2033 }
2034 Py_INCREF(Py_None); resultobj = Py_None;
2035 return resultobj;
2036 fail:
2037 return NULL;
2038}
2039
2040
c32bde28 2041static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2042 PyObject *resultobj;
2043 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2044 int arg2 ;
2045 int arg3 ;
2046 PyObject * obj0 = 0 ;
2047 PyObject * obj1 = 0 ;
2048 PyObject * obj2 = 0 ;
2049 char *kwnames[] = {
2050 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
2051 };
2052
2053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail;
2054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 2056 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 2057 if (PyErr_Occurred()) SWIG_fail;
c32bde28 2058 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
2059 if (PyErr_Occurred()) SWIG_fail;
2060 {
2061 PyThreadState* __tstate = wxPyBeginAllowThreads();
2062 (arg1)->SetScrollRate(arg2,arg3);
2063
2064 wxPyEndAllowThreads(__tstate);
2065 if (PyErr_Occurred()) SWIG_fail;
2066 }
2067 Py_INCREF(Py_None); resultobj = Py_None;
2068 return resultobj;
2069 fail:
2070 return NULL;
2071}
2072
2073
c32bde28 2074static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2075 PyObject *resultobj;
2076 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2077 int *arg2 = (int *) 0 ;
2078 int *arg3 = (int *) 0 ;
2079 int temp2 ;
c32bde28 2080 int res2 = 0 ;
d55e5bfc 2081 int temp3 ;
c32bde28 2082 int res3 = 0 ;
d55e5bfc
RD
2083 PyObject * obj0 = 0 ;
2084 char *kwnames[] = {
2085 (char *) "self", NULL
2086 };
2087
c32bde28
RD
2088 arg2 = &temp2; res2 = SWIG_NEWOBJ;
2089 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc
RD
2090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
2091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2093 {
2094 PyThreadState* __tstate = wxPyBeginAllowThreads();
2095 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
2096
2097 wxPyEndAllowThreads(__tstate);
2098 if (PyErr_Occurred()) SWIG_fail;
2099 }
2100 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
2101 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
2102 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
2103 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
2104 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
2105 return resultobj;
2106 fail:
2107 return NULL;
2108}
2109
2110
c32bde28 2111static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2112 PyObject *resultobj;
2113 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2114 bool arg2 ;
2115 bool arg3 ;
2116 PyObject * obj0 = 0 ;
2117 PyObject * obj1 = 0 ;
2118 PyObject * obj2 = 0 ;
2119 char *kwnames[] = {
2120 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
2121 };
2122
2123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
2124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 2126 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc 2127 if (PyErr_Occurred()) SWIG_fail;
c32bde28 2128 arg3 = (bool)SWIG_As_bool(obj2);
d55e5bfc
RD
2129 if (PyErr_Occurred()) SWIG_fail;
2130 {
2131 PyThreadState* __tstate = wxPyBeginAllowThreads();
2132 (arg1)->EnableScrolling(arg2,arg3);
2133
2134 wxPyEndAllowThreads(__tstate);
2135 if (PyErr_Occurred()) SWIG_fail;
2136 }
2137 Py_INCREF(Py_None); resultobj = Py_None;
2138 return resultobj;
2139 fail:
2140 return NULL;
2141}
2142
2143
c32bde28 2144static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2145 PyObject *resultobj;
2146 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2147 int *arg2 = (int *) 0 ;
2148 int *arg3 = (int *) 0 ;
2149 int temp2 ;
c32bde28 2150 int res2 = 0 ;
d55e5bfc 2151 int temp3 ;
c32bde28 2152 int res3 = 0 ;
d55e5bfc
RD
2153 PyObject * obj0 = 0 ;
2154 char *kwnames[] = {
2155 (char *) "self", NULL
2156 };
2157
c32bde28
RD
2158 arg2 = &temp2; res2 = SWIG_NEWOBJ;
2159 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc
RD
2160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
2161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2163 {
2164 PyThreadState* __tstate = wxPyBeginAllowThreads();
2165 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
2166
2167 wxPyEndAllowThreads(__tstate);
2168 if (PyErr_Occurred()) SWIG_fail;
2169 }
2170 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
2171 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
2172 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
2173 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
2174 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
2175 return resultobj;
2176 fail:
2177 return NULL;
2178}
2179
2180
c32bde28 2181static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2182 PyObject *resultobj;
2183 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2184 double arg2 ;
2185 double arg3 ;
2186 PyObject * obj0 = 0 ;
2187 PyObject * obj1 = 0 ;
2188 PyObject * obj2 = 0 ;
2189 char *kwnames[] = {
2190 (char *) "self",(char *) "xs",(char *) "ys", NULL
2191 };
2192
2193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
2194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 2196 arg2 = (double)SWIG_As_double(obj1);
d55e5bfc 2197 if (PyErr_Occurred()) SWIG_fail;
c32bde28 2198 arg3 = (double)SWIG_As_double(obj2);
d55e5bfc
RD
2199 if (PyErr_Occurred()) SWIG_fail;
2200 {
2201 PyThreadState* __tstate = wxPyBeginAllowThreads();
2202 (arg1)->SetScale(arg2,arg3);
2203
2204 wxPyEndAllowThreads(__tstate);
2205 if (PyErr_Occurred()) SWIG_fail;
2206 }
2207 Py_INCREF(Py_None); resultobj = Py_None;
2208 return resultobj;
2209 fail:
2210 return NULL;
2211}
2212
2213
c32bde28 2214static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2215 PyObject *resultobj;
2216 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2217 double result;
2218 PyObject * obj0 = 0 ;
2219 char *kwnames[] = {
2220 (char *) "self", NULL
2221 };
2222
2223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
2224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2226 {
2227 PyThreadState* __tstate = wxPyBeginAllowThreads();
2228 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
2229
2230 wxPyEndAllowThreads(__tstate);
2231 if (PyErr_Occurred()) SWIG_fail;
2232 }
c32bde28 2233 resultobj = SWIG_From_double((double)result);
d55e5bfc
RD
2234 return resultobj;
2235 fail:
2236 return NULL;
2237}
2238
2239
c32bde28 2240static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2241 PyObject *resultobj;
2242 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2243 double result;
2244 PyObject * obj0 = 0 ;
2245 char *kwnames[] = {
2246 (char *) "self", NULL
2247 };
2248
2249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
2250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2252 {
2253 PyThreadState* __tstate = wxPyBeginAllowThreads();
2254 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
2255
2256 wxPyEndAllowThreads(__tstate);
2257 if (PyErr_Occurred()) SWIG_fail;
2258 }
c32bde28 2259 resultobj = SWIG_From_double((double)result);
d55e5bfc
RD
2260 return resultobj;
2261 fail:
2262 return NULL;
2263}
2264
2265
c32bde28 2266static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
2267 PyObject *resultobj;
2268 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2269 wxPoint *arg2 = 0 ;
2270 wxPoint result;
2271 wxPoint temp2 ;
2272 PyObject * obj0 = 0 ;
2273 PyObject * obj1 = 0 ;
2274
2275 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
2276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2278 {
2279 arg2 = &temp2;
2280 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2281 }
2282 {
2283 PyThreadState* __tstate = wxPyBeginAllowThreads();
2284 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
2285
2286 wxPyEndAllowThreads(__tstate);
2287 if (PyErr_Occurred()) SWIG_fail;
2288 }
2289 {
2290 wxPoint * resultptr;
2291 resultptr = new wxPoint((wxPoint &) result);
2292 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2293 }
2294 return resultobj;
2295 fail:
2296 return NULL;
2297}
2298
2299
c32bde28 2300static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
2301 PyObject *resultobj;
2302 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2303 int arg2 ;
2304 int arg3 ;
2305 int *arg4 = (int *) 0 ;
2306 int *arg5 = (int *) 0 ;
2307 int temp4 ;
c32bde28 2308 int res4 = 0 ;
d55e5bfc 2309 int temp5 ;
c32bde28 2310 int res5 = 0 ;
d55e5bfc
RD
2311 PyObject * obj0 = 0 ;
2312 PyObject * obj1 = 0 ;
2313 PyObject * obj2 = 0 ;
2314
c32bde28
RD
2315 arg4 = &temp4; res4 = SWIG_NEWOBJ;
2316 arg5 = &temp5; res5 = SWIG_NEWOBJ;
d55e5bfc
RD
2317 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 2320 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 2321 if (PyErr_Occurred()) SWIG_fail;
c32bde28 2322 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
2323 if (PyErr_Occurred()) SWIG_fail;
2324 {
2325 PyThreadState* __tstate = wxPyBeginAllowThreads();
2326 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
2327
2328 wxPyEndAllowThreads(__tstate);
2329 if (PyErr_Occurred()) SWIG_fail;
2330 }
2331 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
2332 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
2333 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
2334 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
2335 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
2336 return resultobj;
2337 fail:
2338 return NULL;
2339}
2340
2341
2342static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
2343 int argc;
2344 PyObject *argv[4];
2345 int ii;
2346
2347 argc = PyObject_Length(args);
2348 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2349 argv[ii] = PyTuple_GetItem(args,ii);
2350 }
2351 if (argc == 2) {
2352 int _v;
2353 {
2354 void *ptr;
2355 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2356 _v = 0;
2357 PyErr_Clear();
2358 } else {
2359 _v = 1;
2360 }
2361 }
2362 if (_v) {
2363 {
2364 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2365 }
2366 if (_v) {
2367 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
2368 }
2369 }
2370 }
2371 if (argc == 3) {
2372 int _v;
2373 {
2374 void *ptr;
2375 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2376 _v = 0;
2377 PyErr_Clear();
2378 } else {
2379 _v = 1;
2380 }
2381 }
2382 if (_v) {
c32bde28 2383 _v = SWIG_Check_int(argv[1]);
d55e5bfc 2384 if (_v) {
c32bde28 2385 _v = SWIG_Check_int(argv[2]);
d55e5bfc
RD
2386 if (_v) {
2387 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
2388 }
2389 }
2390 }
2391 }
2392
2393 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2394 return NULL;
2395}
2396
2397
c32bde28 2398static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
2399 PyObject *resultobj;
2400 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2401 wxPoint *arg2 = 0 ;
2402 wxPoint result;
2403 wxPoint temp2 ;
2404 PyObject * obj0 = 0 ;
2405 PyObject * obj1 = 0 ;
2406
2407 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
2408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2410 {
2411 arg2 = &temp2;
2412 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2413 }
2414 {
2415 PyThreadState* __tstate = wxPyBeginAllowThreads();
2416 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
2417
2418 wxPyEndAllowThreads(__tstate);
2419 if (PyErr_Occurred()) SWIG_fail;
2420 }
2421 {
2422 wxPoint * resultptr;
2423 resultptr = new wxPoint((wxPoint &) result);
2424 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2425 }
2426 return resultobj;
2427 fail:
2428 return NULL;
2429}
2430
2431
c32bde28 2432static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
2433 PyObject *resultobj;
2434 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2435 int arg2 ;
2436 int arg3 ;
2437 int *arg4 = (int *) 0 ;
2438 int *arg5 = (int *) 0 ;
2439 int temp4 ;
c32bde28 2440 int res4 = 0 ;
d55e5bfc 2441 int temp5 ;
c32bde28 2442 int res5 = 0 ;
d55e5bfc
RD
2443 PyObject * obj0 = 0 ;
2444 PyObject * obj1 = 0 ;
2445 PyObject * obj2 = 0 ;
2446
c32bde28
RD
2447 arg4 = &temp4; res4 = SWIG_NEWOBJ;
2448 arg5 = &temp5; res5 = SWIG_NEWOBJ;
d55e5bfc
RD
2449 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 2452 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 2453 if (PyErr_Occurred()) SWIG_fail;
c32bde28 2454 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
2455 if (PyErr_Occurred()) SWIG_fail;
2456 {
2457 PyThreadState* __tstate = wxPyBeginAllowThreads();
2458 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
2459
2460 wxPyEndAllowThreads(__tstate);
2461 if (PyErr_Occurred()) SWIG_fail;
2462 }
2463 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
2464 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
2465 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
2466 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
2467 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
2468 return resultobj;
2469 fail:
2470 return NULL;
2471}
2472
2473
2474static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
2475 int argc;
2476 PyObject *argv[4];
2477 int ii;
2478
2479 argc = PyObject_Length(args);
2480 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2481 argv[ii] = PyTuple_GetItem(args,ii);
2482 }
2483 if (argc == 2) {
2484 int _v;
2485 {
2486 void *ptr;
2487 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2488 _v = 0;
2489 PyErr_Clear();
2490 } else {
2491 _v = 1;
2492 }
2493 }
2494 if (_v) {
2495 {
2496 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2497 }
2498 if (_v) {
2499 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
2500 }
2501 }
2502 }
2503 if (argc == 3) {
2504 int _v;
2505 {
2506 void *ptr;
2507 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2508 _v = 0;
2509 PyErr_Clear();
2510 } else {
2511 _v = 1;
2512 }
2513 }
2514 if (_v) {
c32bde28 2515 _v = SWIG_Check_int(argv[1]);
d55e5bfc 2516 if (_v) {
c32bde28 2517 _v = SWIG_Check_int(argv[2]);
d55e5bfc
RD
2518 if (_v) {
2519 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
2520 }
2521 }
2522 }
2523 }
2524
2525 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2526 return NULL;
2527}
2528
2529
c32bde28 2530static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2531 PyObject *resultobj;
2532 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2533 PyObject * obj0 = 0 ;
2534 char *kwnames[] = {
2535 (char *) "self", NULL
2536 };
2537
2538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
2539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2541 {
2542 PyThreadState* __tstate = wxPyBeginAllowThreads();
2543 (arg1)->AdjustScrollbars();
2544
2545 wxPyEndAllowThreads(__tstate);
2546 if (PyErr_Occurred()) SWIG_fail;
2547 }
2548 Py_INCREF(Py_None); resultobj = Py_None;
2549 return resultobj;
2550 fail:
2551 return NULL;
2552}
2553
2554
c32bde28 2555static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2556 PyObject *resultobj;
2557 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2558 wxScrollWinEvent *arg2 = 0 ;
2559 int result;
2560 PyObject * obj0 = 0 ;
2561 PyObject * obj1 = 0 ;
2562 char *kwnames[] = {
2563 (char *) "self",(char *) "event", NULL
2564 };
2565
2566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
2567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2569 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollWinEvent,
2570 SWIG_POINTER_EXCEPTION | 0)) == -1)
2571 SWIG_fail;
2572 if (arg2 == NULL) {
2573 PyErr_SetString(PyExc_TypeError,"null reference");
2574 SWIG_fail;
2575 }
2576 {
2577 PyThreadState* __tstate = wxPyBeginAllowThreads();
2578 result = (int)(arg1)->CalcScrollInc(*arg2);
2579
2580 wxPyEndAllowThreads(__tstate);
2581 if (PyErr_Occurred()) SWIG_fail;
2582 }
c32bde28 2583 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
2584 return resultobj;
2585 fail:
2586 return NULL;
2587}
2588
2589
c32bde28 2590static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2591 PyObject *resultobj;
2592 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2593 wxWindow *arg2 = (wxWindow *) 0 ;
2594 PyObject * obj0 = 0 ;
2595 PyObject * obj1 = 0 ;
2596 char *kwnames[] = {
2597 (char *) "self",(char *) "target", NULL
2598 };
2599
2600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
2601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2603 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2605 {
2606 PyThreadState* __tstate = wxPyBeginAllowThreads();
2607 (arg1)->SetTargetWindow(arg2);
2608
2609 wxPyEndAllowThreads(__tstate);
2610 if (PyErr_Occurred()) SWIG_fail;
2611 }
2612 Py_INCREF(Py_None); resultobj = Py_None;
2613 return resultobj;
2614 fail:
2615 return NULL;
2616}
2617
2618
c32bde28 2619static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2620 PyObject *resultobj;
2621 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2622 wxWindow *result;
2623 PyObject * obj0 = 0 ;
2624 char *kwnames[] = {
2625 (char *) "self", NULL
2626 };
2627
2628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
2629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2631 {
2632 PyThreadState* __tstate = wxPyBeginAllowThreads();
2633 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
2634
2635 wxPyEndAllowThreads(__tstate);
2636 if (PyErr_Occurred()) SWIG_fail;
2637 }
2638 {
412d302d 2639 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
2640 }
2641 return resultobj;
2642 fail:
2643 return NULL;
2644}
2645
2646
c32bde28 2647static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2648 PyObject *resultobj;
2649 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2650 wxRect *arg2 = 0 ;
2651 wxRect temp2 ;
2652 PyObject * obj0 = 0 ;
2653 PyObject * obj1 = 0 ;
2654 char *kwnames[] = {
2655 (char *) "self",(char *) "rect", NULL
2656 };
2657
2658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail;
2659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2661 {
2662 arg2 = &temp2;
2663 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2664 }
2665 {
2666 PyThreadState* __tstate = wxPyBeginAllowThreads();
2667 (arg1)->SetTargetRect((wxRect const &)*arg2);
2668
2669 wxPyEndAllowThreads(__tstate);
2670 if (PyErr_Occurred()) SWIG_fail;
2671 }
2672 Py_INCREF(Py_None); resultobj = Py_None;
2673 return resultobj;
2674 fail:
2675 return NULL;
2676}
2677
2678
c32bde28 2679static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2680 PyObject *resultobj;
2681 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2682 wxRect result;
2683 PyObject * obj0 = 0 ;
2684 char *kwnames[] = {
2685 (char *) "self", NULL
2686 };
2687
2688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail;
2689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2691 {
2692 PyThreadState* __tstate = wxPyBeginAllowThreads();
2693 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
2694
2695 wxPyEndAllowThreads(__tstate);
2696 if (PyErr_Occurred()) SWIG_fail;
2697 }
2698 {
2699 wxRect * resultptr;
2700 resultptr = new wxRect((wxRect &) result);
2701 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
2702 }
2703 return resultobj;
2704 fail:
2705 return NULL;
2706}
2707
2708
c32bde28 2709static PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *, PyObject *args, PyObject *kwargs) {
f5b96ee1
RD
2710 PyObject *resultobj;
2711 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2712 wxDC *arg2 = 0 ;
2713 PyObject * obj0 = 0 ;
2714 PyObject * obj1 = 0 ;
2715 char *kwnames[] = {
2716 (char *) "self",(char *) "dc", NULL
2717 };
2718
2719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) goto fail;
2720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2722 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
2723 SWIG_POINTER_EXCEPTION | 0)) == -1)
2724 SWIG_fail;
2725 if (arg2 == NULL) {
2726 PyErr_SetString(PyExc_TypeError,"null reference");
2727 SWIG_fail;
2728 }
2729 {
2730 PyThreadState* __tstate = wxPyBeginAllowThreads();
2731 (arg1)->DoPrepareDC(*arg2);
2732
2733 wxPyEndAllowThreads(__tstate);
2734 if (PyErr_Occurred()) SWIG_fail;
2735 }
2736 Py_INCREF(Py_None); resultobj = Py_None;
2737 return resultobj;
2738 fail:
2739 return NULL;
2740}
2741
2742
c32bde28 2743static PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f
RD
2744 PyObject *resultobj;
2745 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
2746 wxVisualAttributes result;
2747 PyObject * obj0 = 0 ;
2748 char *kwnames[] = {
2749 (char *) "variant", NULL
2750 };
2751
2752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2753 if (obj0) {
c32bde28 2754 arg1 = (int)SWIG_As_int(obj0);
f20a2e1f
RD
2755 if (PyErr_Occurred()) SWIG_fail;
2756 }
2757 {
0439c23b 2758 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
2759 PyThreadState* __tstate = wxPyBeginAllowThreads();
2760 result = wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
2761
2762 wxPyEndAllowThreads(__tstate);
110da5b0 2763 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
2764 }
2765 {
2766 wxVisualAttributes * resultptr;
2767 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
2768 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2769 }
2770 return resultobj;
2771 fail:
2772 return NULL;
2773}
2774
2775
c32bde28 2776static PyObject * ScrolledWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
2777 PyObject *obj;
2778 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2779 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2780 Py_INCREF(obj);
2781 return Py_BuildValue((char *)"");
2782}
c32bde28 2783static int _wrap_FrameNameStr_set(PyObject *) {
d55e5bfc
RD
2784 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
2785 return 1;
2786}
2787
2788
2789static PyObject *_wrap_FrameNameStr_get() {
2790 PyObject *pyobj;
2791
2792 {
2793#if wxUSE_UNICODE
2794 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2795#else
2796 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2797#endif
2798 }
2799 return pyobj;
2800}
2801
2802
c32bde28 2803static int _wrap_DialogNameStr_set(PyObject *) {
d55e5bfc
RD
2804 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
2805 return 1;
2806}
2807
2808
2809static PyObject *_wrap_DialogNameStr_get() {
2810 PyObject *pyobj;
2811
2812 {
2813#if wxUSE_UNICODE
2814 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2815#else
2816 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2817#endif
2818 }
2819 return pyobj;
2820}
2821
2822
c32bde28 2823static int _wrap_StatusLineNameStr_set(PyObject *) {
d55e5bfc
RD
2824 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
2825 return 1;
2826}
2827
2828
2829static PyObject *_wrap_StatusLineNameStr_get() {
2830 PyObject *pyobj;
2831
2832 {
2833#if wxUSE_UNICODE
2834 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2835#else
2836 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2837#endif
2838 }
2839 return pyobj;
2840}
2841
2842
c32bde28 2843static int _wrap_ToolBarNameStr_set(PyObject *) {
d55e5bfc
RD
2844 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
2845 return 1;
2846}
2847
2848
2849static PyObject *_wrap_ToolBarNameStr_get() {
2850 PyObject *pyobj;
2851
2852 {
2853#if wxUSE_UNICODE
2854 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2855#else
2856 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2857#endif
2858 }
2859 return pyobj;
2860}
2861
2862
c32bde28 2863static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2864 PyObject *resultobj;
2865 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
ae8162c8 2866 bool arg2 = (bool) true ;
d55e5bfc
RD
2867 PyObject * obj0 = 0 ;
2868 PyObject * obj1 = 0 ;
2869 char *kwnames[] = {
2870 (char *) "self",(char *) "maximize", NULL
2871 };
2872
2873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
2874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2876 if (obj1) {
c32bde28 2877 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
2878 if (PyErr_Occurred()) SWIG_fail;
2879 }
2880 {
2881 PyThreadState* __tstate = wxPyBeginAllowThreads();
2882 (arg1)->Maximize(arg2);
2883
2884 wxPyEndAllowThreads(__tstate);
2885 if (PyErr_Occurred()) SWIG_fail;
2886 }
2887 Py_INCREF(Py_None); resultobj = Py_None;
2888 return resultobj;
2889 fail:
2890 return NULL;
2891}
2892
2893
c32bde28 2894static PyObject *_wrap_TopLevelWindow_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2895 PyObject *resultobj;
2896 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2897 PyObject * obj0 = 0 ;
2898 char *kwnames[] = {
2899 (char *) "self", NULL
2900 };
2901
2902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
2903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2905 {
2906 PyThreadState* __tstate = wxPyBeginAllowThreads();
2907 (arg1)->Restore();
2908
2909 wxPyEndAllowThreads(__tstate);
2910 if (PyErr_Occurred()) SWIG_fail;
2911 }
2912 Py_INCREF(Py_None); resultobj = Py_None;
2913 return resultobj;
2914 fail:
2915 return NULL;
2916}
2917
2918
c32bde28 2919static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2920 PyObject *resultobj;
2921 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
ae8162c8 2922 bool arg2 = (bool) true ;
d55e5bfc
RD
2923 PyObject * obj0 = 0 ;
2924 PyObject * obj1 = 0 ;
2925 char *kwnames[] = {
2926 (char *) "self",(char *) "iconize", NULL
2927 };
2928
2929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
2930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2932 if (obj1) {
c32bde28 2933 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
2934 if (PyErr_Occurred()) SWIG_fail;
2935 }
2936 {
2937 PyThreadState* __tstate = wxPyBeginAllowThreads();
2938 (arg1)->Iconize(arg2);
2939
2940 wxPyEndAllowThreads(__tstate);
2941 if (PyErr_Occurred()) SWIG_fail;
2942 }
2943 Py_INCREF(Py_None); resultobj = Py_None;
2944 return resultobj;
2945 fail:
2946 return NULL;
2947}
2948
2949
c32bde28 2950static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2951 PyObject *resultobj;
2952 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2953 bool result;
2954 PyObject * obj0 = 0 ;
2955 char *kwnames[] = {
2956 (char *) "self", NULL
2957 };
2958
2959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
2960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2962 {
2963 PyThreadState* __tstate = wxPyBeginAllowThreads();
2964 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2965
2966 wxPyEndAllowThreads(__tstate);
2967 if (PyErr_Occurred()) SWIG_fail;
2968 }
2969 {
2970 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2971 }
2972 return resultobj;
2973 fail:
2974 return NULL;
2975}
2976
2977
c32bde28 2978static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2979 PyObject *resultobj;
2980 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2981 bool result;
2982 PyObject * obj0 = 0 ;
2983 char *kwnames[] = {
2984 (char *) "self", NULL
2985 };
2986
2987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
2988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2990 {
2991 PyThreadState* __tstate = wxPyBeginAllowThreads();
2992 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2993
2994 wxPyEndAllowThreads(__tstate);
2995 if (PyErr_Occurred()) SWIG_fail;
2996 }
2997 {
2998 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2999 }
3000 return resultobj;
3001 fail:
3002 return NULL;
3003}
3004
3005
c32bde28 3006static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3007 PyObject *resultobj;
3008 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3009 wxIcon result;
3010 PyObject * obj0 = 0 ;
3011 char *kwnames[] = {
3012 (char *) "self", NULL
3013 };
3014
3015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
3016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3018 {
3019 PyThreadState* __tstate = wxPyBeginAllowThreads();
3020 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
3021
3022 wxPyEndAllowThreads(__tstate);
3023 if (PyErr_Occurred()) SWIG_fail;
3024 }
3025 {
3026 wxIcon * resultptr;
3027 resultptr = new wxIcon((wxIcon &) result);
3028 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
3029 }
3030 return resultobj;
3031 fail:
3032 return NULL;
3033}
3034
3035
c32bde28 3036static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3037 PyObject *resultobj;
3038 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3039 wxIcon *arg2 = 0 ;
3040 PyObject * obj0 = 0 ;
3041 PyObject * obj1 = 0 ;
3042 char *kwnames[] = {
3043 (char *) "self",(char *) "icon", NULL
3044 };
3045
3046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
3047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3049 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
3050 SWIG_POINTER_EXCEPTION | 0)) == -1)
3051 SWIG_fail;
3052 if (arg2 == NULL) {
3053 PyErr_SetString(PyExc_TypeError,"null reference");
3054 SWIG_fail;
3055 }
3056 {
3057 PyThreadState* __tstate = wxPyBeginAllowThreads();
3058 (arg1)->SetIcon((wxIcon const &)*arg2);
3059
3060 wxPyEndAllowThreads(__tstate);
3061 if (PyErr_Occurred()) SWIG_fail;
3062 }
3063 Py_INCREF(Py_None); resultobj = Py_None;
3064 return resultobj;
3065 fail:
3066 return NULL;
3067}
3068
3069
c32bde28 3070static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3071 PyObject *resultobj;
3072 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3073 wxIconBundle *arg2 = 0 ;
3074 PyObject * obj0 = 0 ;
3075 PyObject * obj1 = 0 ;
3076 char *kwnames[] = {
3077 (char *) "self",(char *) "icons", NULL
3078 };
3079
3080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
3081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3083 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIconBundle,
3084 SWIG_POINTER_EXCEPTION | 0)) == -1)
3085 SWIG_fail;
3086 if (arg2 == NULL) {
3087 PyErr_SetString(PyExc_TypeError,"null reference");
3088 SWIG_fail;
3089 }
3090 {
3091 PyThreadState* __tstate = wxPyBeginAllowThreads();
3092 (arg1)->SetIcons((wxIconBundle const &)*arg2);
3093
3094 wxPyEndAllowThreads(__tstate);
3095 if (PyErr_Occurred()) SWIG_fail;
3096 }
3097 Py_INCREF(Py_None); resultobj = Py_None;
3098 return resultobj;
3099 fail:
3100 return NULL;
3101}
3102
3103
c32bde28 3104static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3105 PyObject *resultobj;
3106 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3107 bool arg2 ;
3108 long arg3 = (long) wxFULLSCREEN_ALL ;
3109 bool result;
3110 PyObject * obj0 = 0 ;
3111 PyObject * obj1 = 0 ;
3112 PyObject * obj2 = 0 ;
3113 char *kwnames[] = {
3114 (char *) "self",(char *) "show",(char *) "style", NULL
3115 };
3116
3117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
3118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 3120 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
3121 if (PyErr_Occurred()) SWIG_fail;
3122 if (obj2) {
c32bde28 3123 arg3 = (long)SWIG_As_long(obj2);
d55e5bfc
RD
3124 if (PyErr_Occurred()) SWIG_fail;
3125 }
3126 {
3127 PyThreadState* __tstate = wxPyBeginAllowThreads();
3128 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
3129
3130 wxPyEndAllowThreads(__tstate);
3131 if (PyErr_Occurred()) SWIG_fail;
3132 }
3133 {
3134 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3135 }
3136 return resultobj;
3137 fail:
3138 return NULL;
3139}
3140
3141
c32bde28 3142static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3143 PyObject *resultobj;
3144 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3145 bool result;
3146 PyObject * obj0 = 0 ;
3147 char *kwnames[] = {
3148 (char *) "self", NULL
3149 };
3150
3151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
3152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3154 {
3155 PyThreadState* __tstate = wxPyBeginAllowThreads();
3156 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
3157
3158 wxPyEndAllowThreads(__tstate);
3159 if (PyErr_Occurred()) SWIG_fail;
3160 }
3161 {
3162 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3163 }
3164 return resultobj;
3165 fail:
3166 return NULL;
3167}
3168
3169
c32bde28 3170static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3171 PyObject *resultobj;
3172 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3173 wxString *arg2 = 0 ;
ae8162c8 3174 bool temp2 = false ;
d55e5bfc
RD
3175 PyObject * obj0 = 0 ;
3176 PyObject * obj1 = 0 ;
3177 char *kwnames[] = {
3178 (char *) "self",(char *) "title", NULL
3179 };
3180
3181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
3182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3184 {
3185 arg2 = wxString_in_helper(obj1);
3186 if (arg2 == NULL) SWIG_fail;
ae8162c8 3187 temp2 = true;
d55e5bfc
RD
3188 }
3189 {
3190 PyThreadState* __tstate = wxPyBeginAllowThreads();
3191 (arg1)->SetTitle((wxString const &)*arg2);
3192
3193 wxPyEndAllowThreads(__tstate);
3194 if (PyErr_Occurred()) SWIG_fail;
3195 }
3196 Py_INCREF(Py_None); resultobj = Py_None;
3197 {
3198 if (temp2)
3199 delete arg2;
3200 }
3201 return resultobj;
3202 fail:
3203 {
3204 if (temp2)
3205 delete arg2;
3206 }
3207 return NULL;
3208}
3209
3210
c32bde28 3211static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3212 PyObject *resultobj;
3213 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3214 wxString result;
3215 PyObject * obj0 = 0 ;
3216 char *kwnames[] = {
3217 (char *) "self", NULL
3218 };
3219
3220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
3221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3223 {
3224 PyThreadState* __tstate = wxPyBeginAllowThreads();
3225 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
3226
3227 wxPyEndAllowThreads(__tstate);
3228 if (PyErr_Occurred()) SWIG_fail;
3229 }
3230 {
3231#if wxUSE_UNICODE
3232 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3233#else
3234 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3235#endif
3236 }
3237 return resultobj;
3238 fail:
3239 return NULL;
3240}
3241
3242
c32bde28 3243static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3244 PyObject *resultobj;
3245 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3246 wxRegion *arg2 = 0 ;
3247 bool result;
3248 PyObject * obj0 = 0 ;
3249 PyObject * obj1 = 0 ;
3250 char *kwnames[] = {
3251 (char *) "self",(char *) "region", NULL
3252 };
3253
3254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
3255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3257 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion,
3258 SWIG_POINTER_EXCEPTION | 0)) == -1)
3259 SWIG_fail;
3260 if (arg2 == NULL) {
3261 PyErr_SetString(PyExc_TypeError,"null reference");
3262 SWIG_fail;
3263 }
3264 {
3265 PyThreadState* __tstate = wxPyBeginAllowThreads();
3266 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
3267
3268 wxPyEndAllowThreads(__tstate);
3269 if (PyErr_Occurred()) SWIG_fail;
3270 }
3271 {
3272 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3273 }
3274 return resultobj;
3275 fail:
3276 return NULL;
3277}
3278
3279
c32bde28
RD
3280static PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *, PyObject *args, PyObject *kwargs) {
3281 PyObject *resultobj;
3282 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3283 int arg2 = (int) wxUSER_ATTENTION_INFO ;
3284 PyObject * obj0 = 0 ;
3285 PyObject * obj1 = 0 ;
3286 char *kwnames[] = {
3287 (char *) "self",(char *) "flags", NULL
3288 };
3289
3290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) goto fail;
3291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3293 if (obj1) {
3294 arg2 = (int)SWIG_As_int(obj1);
3295 if (PyErr_Occurred()) SWIG_fail;
3296 }
3297 {
3298 PyThreadState* __tstate = wxPyBeginAllowThreads();
3299 (arg1)->RequestUserAttention(arg2);
3300
3301 wxPyEndAllowThreads(__tstate);
3302 if (PyErr_Occurred()) SWIG_fail;
3303 }
3304 Py_INCREF(Py_None); resultobj = Py_None;
3305 return resultobj;
3306 fail:
3307 return NULL;
3308}
3309
3310
5e483524
RD
3311static PyObject *_wrap_TopLevelWindow_IsActive(PyObject *, PyObject *args, PyObject *kwargs) {
3312 PyObject *resultobj;
3313 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3314 bool result;
3315 PyObject * obj0 = 0 ;
3316 char *kwnames[] = {
3317 (char *) "self", NULL
3318 };
3319
3320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsActive",kwnames,&obj0)) goto fail;
3321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3323 {
3324 PyThreadState* __tstate = wxPyBeginAllowThreads();
3325 result = (bool)(arg1)->IsActive();
3326
3327 wxPyEndAllowThreads(__tstate);
3328 if (PyErr_Occurred()) SWIG_fail;
3329 }
3330 {
3331 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3332 }
3333 return resultobj;
3334 fail:
3335 return NULL;
3336}
3337
3338
c32bde28 3339static PyObject * TopLevelWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
3340 PyObject *obj;
3341 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3342 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
3343 Py_INCREF(obj);
3344 return Py_BuildValue((char *)"");
3345}
c32bde28 3346static PyObject *_wrap_new_Frame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3347 PyObject *resultobj;
3348 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
3349 int arg2 = (int) (int)-1 ;
3350 wxString const &arg3_defvalue = wxPyEmptyString ;
3351 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
3352 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3353 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3354 wxSize const &arg5_defvalue = wxDefaultSize ;
3355 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3356 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
3357 wxString const &arg7_defvalue = wxPyFrameNameStr ;
3358 wxString *arg7 = (wxString *) &arg7_defvalue ;
3359 wxFrame *result;
ae8162c8 3360 bool temp3 = false ;
d55e5bfc
RD
3361 wxPoint temp4 ;
3362 wxSize temp5 ;
ae8162c8 3363 bool temp7 = false ;
d55e5bfc
RD
3364 PyObject * obj0 = 0 ;
3365 PyObject * obj1 = 0 ;
3366 PyObject * obj2 = 0 ;
3367 PyObject * obj3 = 0 ;
3368 PyObject * obj4 = 0 ;
3369 PyObject * obj5 = 0 ;
3370 PyObject * obj6 = 0 ;
3371 char *kwnames[] = {
3372 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3373 };
3374
248ed943 3375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d55e5bfc
RD
3376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 3378 if (obj1) {
c32bde28 3379 arg2 = (int)SWIG_As_int(obj1);
248ed943
RD
3380 if (PyErr_Occurred()) SWIG_fail;
3381 }
3382 if (obj2) {
3383 {
3384 arg3 = wxString_in_helper(obj2);
3385 if (arg3 == NULL) SWIG_fail;
ae8162c8 3386 temp3 = true;
248ed943 3387 }
d55e5bfc
RD
3388 }
3389 if (obj3) {
3390 {
3391 arg4 = &temp4;
3392 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3393 }
3394 }
3395 if (obj4) {
3396 {
3397 arg5 = &temp5;
3398 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3399 }
3400 }
3401 if (obj5) {
c32bde28 3402 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
3403 if (PyErr_Occurred()) SWIG_fail;
3404 }
3405 if (obj6) {
3406 {
3407 arg7 = wxString_in_helper(obj6);
3408 if (arg7 == NULL) SWIG_fail;
ae8162c8 3409 temp7 = true;
d55e5bfc
RD
3410 }
3411 }
3412 {
0439c23b 3413 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3414 PyThreadState* __tstate = wxPyBeginAllowThreads();
3415 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3416
3417 wxPyEndAllowThreads(__tstate);
110da5b0 3418 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 3419 }
b0f7404b 3420 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
d55e5bfc
RD
3421 {
3422 if (temp3)
3423 delete arg3;
3424 }
3425 {
3426 if (temp7)
3427 delete arg7;
3428 }
3429 return resultobj;
3430 fail:
3431 {
3432 if (temp3)
3433 delete arg3;
3434 }
3435 {
3436 if (temp7)
3437 delete arg7;
3438 }
3439 return NULL;
3440}
3441
3442
c32bde28 3443static PyObject *_wrap_new_PreFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3444 PyObject *resultobj;
3445 wxFrame *result;
3446 char *kwnames[] = {
3447 NULL
3448 };
3449
3450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
3451 {
0439c23b 3452 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3453 PyThreadState* __tstate = wxPyBeginAllowThreads();
3454 result = (wxFrame *)new wxFrame();
3455
3456 wxPyEndAllowThreads(__tstate);
110da5b0 3457 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 3458 }
b0f7404b 3459 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
d55e5bfc
RD
3460 return resultobj;
3461 fail:
3462 return NULL;
3463}
3464
3465
c32bde28 3466static PyObject *_wrap_Frame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3467 PyObject *resultobj;
3468 wxFrame *arg1 = (wxFrame *) 0 ;
3469 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
3470 int arg3 = (int) (int)-1 ;
3471 wxString const &arg4_defvalue = wxPyEmptyString ;
3472 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
3473 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3474 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3475 wxSize const &arg6_defvalue = wxDefaultSize ;
3476 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3477 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
3478 wxString const &arg8_defvalue = wxPyFrameNameStr ;
3479 wxString *arg8 = (wxString *) &arg8_defvalue ;
3480 bool result;
ae8162c8 3481 bool temp4 = false ;
d55e5bfc
RD
3482 wxPoint temp5 ;
3483 wxSize temp6 ;
ae8162c8 3484 bool temp8 = false ;
d55e5bfc
RD
3485 PyObject * obj0 = 0 ;
3486 PyObject * obj1 = 0 ;
3487 PyObject * obj2 = 0 ;
3488 PyObject * obj3 = 0 ;
3489 PyObject * obj4 = 0 ;
3490 PyObject * obj5 = 0 ;
3491 PyObject * obj6 = 0 ;
3492 PyObject * obj7 = 0 ;
3493 char *kwnames[] = {
3494 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3495 };
3496
248ed943 3497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d55e5bfc
RD
3498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3500 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 3502 if (obj2) {
c32bde28 3503 arg3 = (int)SWIG_As_int(obj2);
248ed943
RD
3504 if (PyErr_Occurred()) SWIG_fail;
3505 }
3506 if (obj3) {
3507 {
3508 arg4 = wxString_in_helper(obj3);
3509 if (arg4 == NULL) SWIG_fail;
ae8162c8 3510 temp4 = true;
248ed943 3511 }
d55e5bfc
RD
3512 }
3513 if (obj4) {
3514 {
3515 arg5 = &temp5;
3516 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3517 }
3518 }
3519 if (obj5) {
3520 {
3521 arg6 = &temp6;
3522 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3523 }
3524 }
3525 if (obj6) {
c32bde28 3526 arg7 = (long)SWIG_As_long(obj6);
d55e5bfc
RD
3527 if (PyErr_Occurred()) SWIG_fail;
3528 }
3529 if (obj7) {
3530 {
3531 arg8 = wxString_in_helper(obj7);
3532 if (arg8 == NULL) SWIG_fail;
ae8162c8 3533 temp8 = true;
d55e5bfc
RD
3534 }
3535 }
3536 {
3537 PyThreadState* __tstate = wxPyBeginAllowThreads();
3538 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3539
3540 wxPyEndAllowThreads(__tstate);
3541 if (PyErr_Occurred()) SWIG_fail;
3542 }
3543 {
3544 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3545 }
3546 {
3547 if (temp4)
3548 delete arg4;
3549 }
3550 {
3551 if (temp8)
3552 delete arg8;
3553 }
3554 return resultobj;
3555 fail:
3556 {
3557 if (temp4)
3558 delete arg4;
3559 }
3560 {
3561 if (temp8)
3562 delete arg8;
3563 }
3564 return NULL;
3565}
3566
3567
c32bde28 3568static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3569 PyObject *resultobj;
3570 wxFrame *arg1 = (wxFrame *) 0 ;
3571 wxPoint result;
3572 PyObject * obj0 = 0 ;
3573 char *kwnames[] = {
3574 (char *) "self", NULL
3575 };
3576
3577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
3578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3580 {
3581 PyThreadState* __tstate = wxPyBeginAllowThreads();
3582 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
3583
3584 wxPyEndAllowThreads(__tstate);
3585 if (PyErr_Occurred()) SWIG_fail;
3586 }
3587 {
3588 wxPoint * resultptr;
3589 resultptr = new wxPoint((wxPoint &) result);
3590 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3591 }
3592 return resultobj;
3593 fail:
3594 return NULL;
3595}
3596
3597
c32bde28 3598static PyObject *_wrap_Frame_SendSizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3599 PyObject *resultobj;
3600 wxFrame *arg1 = (wxFrame *) 0 ;
3601 PyObject * obj0 = 0 ;
3602 char *kwnames[] = {
3603 (char *) "self", NULL
3604 };
3605
3606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
3607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3609 {
3610 PyThreadState* __tstate = wxPyBeginAllowThreads();
3611 (arg1)->SendSizeEvent();
3612
3613 wxPyEndAllowThreads(__tstate);
3614 if (PyErr_Occurred()) SWIG_fail;
3615 }
3616 Py_INCREF(Py_None); resultobj = Py_None;
3617 return resultobj;
3618 fail:
3619 return NULL;
3620}
3621
3622
c32bde28 3623static PyObject *_wrap_Frame_SetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3624 PyObject *resultobj;
3625 wxFrame *arg1 = (wxFrame *) 0 ;
3626 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
3627 PyObject * obj0 = 0 ;
3628 PyObject * obj1 = 0 ;
3629 char *kwnames[] = {
3630 (char *) "self",(char *) "menubar", NULL
3631 };
3632
3633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
3634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3636 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBar,
3637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3638 {
3639 PyThreadState* __tstate = wxPyBeginAllowThreads();
3640 (arg1)->SetMenuBar(arg2);
3641
3642 wxPyEndAllowThreads(__tstate);
3643 if (PyErr_Occurred()) SWIG_fail;
3644 }
3645 Py_INCREF(Py_None); resultobj = Py_None;
3646 return resultobj;
3647 fail:
3648 return NULL;
3649}
3650
3651
c32bde28 3652static PyObject *_wrap_Frame_GetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3653 PyObject *resultobj;
3654 wxFrame *arg1 = (wxFrame *) 0 ;
3655 wxMenuBar *result;
3656 PyObject * obj0 = 0 ;
3657 char *kwnames[] = {
3658 (char *) "self", NULL
3659 };
3660
3661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
3662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3664 {
3665 PyThreadState* __tstate = wxPyBeginAllowThreads();
3666 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
3667
3668 wxPyEndAllowThreads(__tstate);
3669 if (PyErr_Occurred()) SWIG_fail;
3670 }
3671 {
412d302d 3672 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
3673 }
3674 return resultobj;
3675 fail:
3676 return NULL;
3677}
3678
3679
c32bde28 3680static PyObject *_wrap_Frame_ProcessCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3681 PyObject *resultobj;
3682 wxFrame *arg1 = (wxFrame *) 0 ;
3683 int arg2 ;
3684 bool result;
3685 PyObject * obj0 = 0 ;
3686 PyObject * obj1 = 0 ;
3687 char *kwnames[] = {
3688 (char *) "self",(char *) "winid", NULL
3689 };
3690
3691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
3692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 3694 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
3695 if (PyErr_Occurred()) SWIG_fail;
3696 {
3697 PyThreadState* __tstate = wxPyBeginAllowThreads();
3698 result = (bool)(arg1)->ProcessCommand(arg2);
3699
3700 wxPyEndAllowThreads(__tstate);
3701 if (PyErr_Occurred()) SWIG_fail;
3702 }
3703 {
3704 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3705 }
3706 return resultobj;
3707 fail:
3708 return NULL;
3709}
3710
3711
c32bde28 3712static PyObject *_wrap_Frame_CreateStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3713 PyObject *resultobj;
3714 wxFrame *arg1 = (wxFrame *) 0 ;
3715 int arg2 = (int) 1 ;
3716 long arg3 = (long) wxST_SIZEGRIP ;
3717 int arg4 = (int) 0 ;
3718 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
3719 wxString *arg5 = (wxString *) &arg5_defvalue ;
3720 wxStatusBar *result;
ae8162c8 3721 bool temp5 = false ;
d55e5bfc
RD
3722 PyObject * obj0 = 0 ;
3723 PyObject * obj1 = 0 ;
3724 PyObject * obj2 = 0 ;
3725 PyObject * obj3 = 0 ;
3726 PyObject * obj4 = 0 ;
3727 char *kwnames[] = {
3728 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3729 };
3730
3731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3734 if (obj1) {
c32bde28 3735 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
3736 if (PyErr_Occurred()) SWIG_fail;
3737 }
3738 if (obj2) {
c32bde28 3739 arg3 = (long)SWIG_As_long(obj2);
d55e5bfc
RD
3740 if (PyErr_Occurred()) SWIG_fail;
3741 }
3742 if (obj3) {
c32bde28 3743 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc
RD
3744 if (PyErr_Occurred()) SWIG_fail;
3745 }
3746 if (obj4) {
3747 {
3748 arg5 = wxString_in_helper(obj4);
3749 if (arg5 == NULL) SWIG_fail;
ae8162c8 3750 temp5 = true;
d55e5bfc
RD
3751 }
3752 }
3753 {
3754 PyThreadState* __tstate = wxPyBeginAllowThreads();
3755 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
3756
3757 wxPyEndAllowThreads(__tstate);
3758 if (PyErr_Occurred()) SWIG_fail;
3759 }
3760 {
412d302d 3761 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
3762 }
3763 {
3764 if (temp5)
3765 delete arg5;
3766 }
3767 return resultobj;
3768 fail:
3769 {
3770 if (temp5)
3771 delete arg5;
3772 }
3773 return NULL;
3774}
3775
3776
c32bde28 3777static PyObject *_wrap_Frame_GetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3778 PyObject *resultobj;
3779 wxFrame *arg1 = (wxFrame *) 0 ;
3780 wxStatusBar *result;
3781 PyObject * obj0 = 0 ;
3782 char *kwnames[] = {
3783 (char *) "self", NULL
3784 };
3785
3786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
3787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3789 {
3790 PyThreadState* __tstate = wxPyBeginAllowThreads();
3791 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
3792
3793 wxPyEndAllowThreads(__tstate);
3794 if (PyErr_Occurred()) SWIG_fail;
3795 }
3796 {
412d302d 3797 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
3798 }
3799 return resultobj;
3800 fail:
3801 return NULL;
3802}
3803
3804
c32bde28 3805static PyObject *_wrap_Frame_SetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3806 PyObject *resultobj;
3807 wxFrame *arg1 = (wxFrame *) 0 ;
3808 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
3809 PyObject * obj0 = 0 ;
3810 PyObject * obj1 = 0 ;
3811 char *kwnames[] = {
3812 (char *) "self",(char *) "statBar", NULL
3813 };
3814
3815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
3816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3818 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxStatusBar,
3819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3820 {
3821 PyThreadState* __tstate = wxPyBeginAllowThreads();
3822 (arg1)->SetStatusBar(arg2);
3823
3824 wxPyEndAllowThreads(__tstate);
3825 if (PyErr_Occurred()) SWIG_fail;
3826 }
3827 Py_INCREF(Py_None); resultobj = Py_None;
3828 return resultobj;
3829 fail:
3830 return NULL;
3831}
3832
3833
c32bde28 3834static PyObject *_wrap_Frame_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3835 PyObject *resultobj;
3836 wxFrame *arg1 = (wxFrame *) 0 ;
3837 wxString *arg2 = 0 ;
3838 int arg3 = (int) 0 ;
ae8162c8 3839 bool temp2 = false ;
d55e5bfc
RD
3840 PyObject * obj0 = 0 ;
3841 PyObject * obj1 = 0 ;
3842 PyObject * obj2 = 0 ;
3843 char *kwnames[] = {
3844 (char *) "self",(char *) "text",(char *) "number", NULL
3845 };
3846
3847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3850 {
3851 arg2 = wxString_in_helper(obj1);
3852 if (arg2 == NULL) SWIG_fail;
ae8162c8 3853 temp2 = true;
d55e5bfc
RD
3854 }
3855 if (obj2) {
c32bde28 3856 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
3857 if (PyErr_Occurred()) SWIG_fail;
3858 }
3859 {
3860 PyThreadState* __tstate = wxPyBeginAllowThreads();
3861 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
3862
3863 wxPyEndAllowThreads(__tstate);
3864 if (PyErr_Occurred()) SWIG_fail;
3865 }
3866 Py_INCREF(Py_None); resultobj = Py_None;
3867 {
3868 if (temp2)
3869 delete arg2;
3870 }
3871 return resultobj;
3872 fail:
3873 {
3874 if (temp2)
3875 delete arg2;
3876 }
3877 return NULL;
3878}
3879
3880
c32bde28 3881static PyObject *_wrap_Frame_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3882 PyObject *resultobj;
3883 wxFrame *arg1 = (wxFrame *) 0 ;
3884 int arg2 ;
3885 int *arg3 = (int *) 0 ;
3886 PyObject * obj0 = 0 ;
3887 PyObject * obj1 = 0 ;
3888 char *kwnames[] = {
3889 (char *) "self",(char *) "widths", NULL
3890 };
3891
3892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
3893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3895 {
3896 arg2 = PyList_Size(obj1);
3897 arg3 = int_LIST_helper(obj1);
3898 if (arg3 == NULL) SWIG_fail;
3899 }
3900 {
3901 PyThreadState* __tstate = wxPyBeginAllowThreads();
3902 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
3903
3904 wxPyEndAllowThreads(__tstate);
3905 if (PyErr_Occurred()) SWIG_fail;
3906 }
3907 Py_INCREF(Py_None); resultobj = Py_None;
3908 {
3909 if (arg3) delete [] arg3;
3910 }
3911 return resultobj;
3912 fail:
3913 {
3914 if (arg3) delete [] arg3;
3915 }
3916 return NULL;
3917}
3918
3919
c32bde28 3920static PyObject *_wrap_Frame_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3921 PyObject *resultobj;
3922 wxFrame *arg1 = (wxFrame *) 0 ;
3923 wxString *arg2 = 0 ;
3924 int arg3 = (int) 0 ;
ae8162c8 3925 bool temp2 = false ;
d55e5bfc
RD
3926 PyObject * obj0 = 0 ;
3927 PyObject * obj1 = 0 ;
3928 PyObject * obj2 = 0 ;
3929 char *kwnames[] = {
3930 (char *) "self",(char *) "text",(char *) "number", NULL
3931 };
3932
3933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3936 {
3937 arg2 = wxString_in_helper(obj1);
3938 if (arg2 == NULL) SWIG_fail;
ae8162c8 3939 temp2 = true;
d55e5bfc
RD
3940 }
3941 if (obj2) {
c32bde28 3942 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
3943 if (PyErr_Occurred()) SWIG_fail;
3944 }
3945 {
3946 PyThreadState* __tstate = wxPyBeginAllowThreads();
3947 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
3948
3949 wxPyEndAllowThreads(__tstate);
3950 if (PyErr_Occurred()) SWIG_fail;
3951 }
3952 Py_INCREF(Py_None); resultobj = Py_None;
3953 {
3954 if (temp2)
3955 delete arg2;
3956 }
3957 return resultobj;
3958 fail:
3959 {
3960 if (temp2)
3961 delete arg2;
3962 }
3963 return NULL;
3964}
3965
3966
c32bde28 3967static PyObject *_wrap_Frame_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3968 PyObject *resultobj;
3969 wxFrame *arg1 = (wxFrame *) 0 ;
3970 int arg2 = (int) 0 ;
3971 PyObject * obj0 = 0 ;
3972 PyObject * obj1 = 0 ;
3973 char *kwnames[] = {
3974 (char *) "self",(char *) "number", NULL
3975 };
3976
3977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
3978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3980 if (obj1) {
c32bde28 3981 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
3982 if (PyErr_Occurred()) SWIG_fail;
3983 }
3984 {
3985 PyThreadState* __tstate = wxPyBeginAllowThreads();
3986 (arg1)->PopStatusText(arg2);
3987
3988 wxPyEndAllowThreads(__tstate);
3989 if (PyErr_Occurred()) SWIG_fail;
3990 }
3991 Py_INCREF(Py_None); resultobj = Py_None;
3992 return resultobj;
3993 fail:
3994 return NULL;
3995}
3996
3997
c32bde28 3998static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3999 PyObject *resultobj;
4000 wxFrame *arg1 = (wxFrame *) 0 ;
4001 int arg2 ;
4002 PyObject * obj0 = 0 ;
4003 PyObject * obj1 = 0 ;
4004 char *kwnames[] = {
4005 (char *) "self",(char *) "n", NULL
4006 };
4007
4008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
4009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 4011 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
4012 if (PyErr_Occurred()) SWIG_fail;
4013 {
4014 PyThreadState* __tstate = wxPyBeginAllowThreads();
4015 (arg1)->SetStatusBarPane(arg2);
4016
4017 wxPyEndAllowThreads(__tstate);
4018 if (PyErr_Occurred()) SWIG_fail;
4019 }
4020 Py_INCREF(Py_None); resultobj = Py_None;
4021 return resultobj;
4022 fail:
4023 return NULL;
4024}
4025
4026
c32bde28 4027static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4028 PyObject *resultobj;
4029 wxFrame *arg1 = (wxFrame *) 0 ;
4030 int result;
4031 PyObject * obj0 = 0 ;
4032 char *kwnames[] = {
4033 (char *) "self", NULL
4034 };
4035
4036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
4037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4039 {
4040 PyThreadState* __tstate = wxPyBeginAllowThreads();
4041 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
4042
4043 wxPyEndAllowThreads(__tstate);
4044 if (PyErr_Occurred()) SWIG_fail;
4045 }
c32bde28 4046 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
4047 return resultobj;
4048 fail:
4049 return NULL;
4050}
4051
4052
c32bde28 4053static PyObject *_wrap_Frame_CreateToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4054 PyObject *resultobj;
4055 wxFrame *arg1 = (wxFrame *) 0 ;
4056 long arg2 = (long) -1 ;
4057 int arg3 = (int) -1 ;
4058 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
4059 wxString *arg4 = (wxString *) &arg4_defvalue ;
4060 wxToolBar *result;
ae8162c8 4061 bool temp4 = false ;
d55e5bfc
RD
4062 PyObject * obj0 = 0 ;
4063 PyObject * obj1 = 0 ;
4064 PyObject * obj2 = 0 ;
4065 PyObject * obj3 = 0 ;
4066 char *kwnames[] = {
4067 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
4068 };
4069
4070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4073 if (obj1) {
c32bde28 4074 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
4075 if (PyErr_Occurred()) SWIG_fail;
4076 }
4077 if (obj2) {
c32bde28 4078 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
4079 if (PyErr_Occurred()) SWIG_fail;
4080 }
4081 if (obj3) {
4082 {
4083 arg4 = wxString_in_helper(obj3);
4084 if (arg4 == NULL) SWIG_fail;
ae8162c8 4085 temp4 = true;
d55e5bfc
RD
4086 }
4087 }
4088 {
4089 PyThreadState* __tstate = wxPyBeginAllowThreads();
4090 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
4091
4092 wxPyEndAllowThreads(__tstate);
4093 if (PyErr_Occurred()) SWIG_fail;
4094 }
4095 {
412d302d 4096 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
4097 }
4098 {
4099 if (temp4)
4100 delete arg4;
4101 }
4102 return resultobj;
4103 fail:
4104 {
4105 if (temp4)
4106 delete arg4;
4107 }
4108 return NULL;
4109}
4110
4111
c32bde28 4112static PyObject *_wrap_Frame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4113 PyObject *resultobj;
4114 wxFrame *arg1 = (wxFrame *) 0 ;
4115 wxToolBar *result;
4116 PyObject * obj0 = 0 ;
4117 char *kwnames[] = {
4118 (char *) "self", NULL
4119 };
4120
4121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
4122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4124 {
4125 PyThreadState* __tstate = wxPyBeginAllowThreads();
4126 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
4127
4128 wxPyEndAllowThreads(__tstate);
4129 if (PyErr_Occurred()) SWIG_fail;
4130 }
4131 {
412d302d 4132 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
4133 }
4134 return resultobj;
4135 fail:
4136 return NULL;
4137}
4138
4139
c32bde28 4140static PyObject *_wrap_Frame_SetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4141 PyObject *resultobj;
4142 wxFrame *arg1 = (wxFrame *) 0 ;
4143 wxToolBar *arg2 = (wxToolBar *) 0 ;
4144 PyObject * obj0 = 0 ;
4145 PyObject * obj1 = 0 ;
4146 char *kwnames[] = {
4147 (char *) "self",(char *) "toolbar", NULL
4148 };
4149
4150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
4151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4153 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar,
4154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4155 {
4156 PyThreadState* __tstate = wxPyBeginAllowThreads();
4157 (arg1)->SetToolBar(arg2);
4158
4159 wxPyEndAllowThreads(__tstate);
4160 if (PyErr_Occurred()) SWIG_fail;
4161 }
4162 Py_INCREF(Py_None); resultobj = Py_None;
4163 return resultobj;
4164 fail:
4165 return NULL;
4166}
4167
4168
c32bde28 4169static PyObject *_wrap_Frame_DoGiveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4170 PyObject *resultobj;
4171 wxFrame *arg1 = (wxFrame *) 0 ;
4172 wxString *arg2 = 0 ;
4173 bool arg3 ;
ae8162c8 4174 bool temp2 = false ;
d55e5bfc
RD
4175 PyObject * obj0 = 0 ;
4176 PyObject * obj1 = 0 ;
4177 PyObject * obj2 = 0 ;
4178 char *kwnames[] = {
4179 (char *) "self",(char *) "text",(char *) "show", NULL
4180 };
4181
4182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
4183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4185 {
4186 arg2 = wxString_in_helper(obj1);
4187 if (arg2 == NULL) SWIG_fail;
ae8162c8 4188 temp2 = true;
d55e5bfc 4189 }
c32bde28 4190 arg3 = (bool)SWIG_As_bool(obj2);
d55e5bfc
RD
4191 if (PyErr_Occurred()) SWIG_fail;
4192 {
4193 PyThreadState* __tstate = wxPyBeginAllowThreads();
4194 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
4195
4196 wxPyEndAllowThreads(__tstate);
4197 if (PyErr_Occurred()) SWIG_fail;
4198 }
4199 Py_INCREF(Py_None); resultobj = Py_None;
4200 {
4201 if (temp2)
4202 delete arg2;
4203 }
4204 return resultobj;
4205 fail:
4206 {
4207 if (temp2)
4208 delete arg2;
4209 }
4210 return NULL;
4211}
4212
4213
c32bde28 4214static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4215 PyObject *resultobj;
4216 wxFrame *arg1 = (wxFrame *) 0 ;
4217 wxMenu *arg2 = (wxMenu *) NULL ;
4218 PyObject * obj0 = 0 ;
4219 PyObject * obj1 = 0 ;
4220 char *kwnames[] = {
4221 (char *) "self",(char *) "menu", NULL
4222 };
4223
4224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
4225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
4226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4227 if (obj1) {
4228 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
4229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4230 }
4231 {
4232 PyThreadState* __tstate = wxPyBeginAllowThreads();
4233 (arg1)->DoMenuUpdates(arg2);
4234
4235 wxPyEndAllowThreads(__tstate);
4236 if (PyErr_Occurred()) SWIG_fail;
4237 }
4238 Py_INCREF(Py_None); resultobj = Py_None;
4239 return resultobj;
4240 fail:
4241 return NULL;
4242}
4243
4244
c32bde28 4245static PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f
RD
4246 PyObject *resultobj;
4247 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4248 wxVisualAttributes result;
4249 PyObject * obj0 = 0 ;
4250 char *kwnames[] = {
4251 (char *) "variant", NULL
4252 };
4253
4254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4255 if (obj0) {
c32bde28 4256 arg1 = (int)SWIG_As_int(obj0);
f20a2e1f
RD
4257 if (PyErr_Occurred()) SWIG_fail;
4258 }
4259 {
0439c23b 4260 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
4261 PyThreadState* __tstate = wxPyBeginAllowThreads();
4262 result = wxFrame::GetClassDefaultAttributes((wxWindowVariant )arg1);
4263
4264 wxPyEndAllowThreads(__tstate);
110da5b0 4265 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
4266 }
4267 {
4268 wxVisualAttributes * resultptr;
4269 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4270 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4271 }
4272 return resultobj;
4273 fail:
4274 return NULL;
4275}
4276
4277
c32bde28 4278static PyObject * Frame_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
4279 PyObject *obj;
4280 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4281 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
4282 Py_INCREF(obj);
4283 return Py_BuildValue((char *)"");
4284}
c32bde28 4285static PyObject *_wrap_new_Dialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4286 PyObject *resultobj;
4287 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
4288 int arg2 = (int) (int)-1 ;
4289 wxString const &arg3_defvalue = wxPyEmptyString ;
4290 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
4291 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4292 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4293 wxSize const &arg5_defvalue = wxDefaultSize ;
4294 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4295 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
4296 wxString const &arg7_defvalue = wxPyDialogNameStr ;
4297 wxString *arg7 = (wxString *) &arg7_defvalue ;
4298 wxDialog *result;
ae8162c8 4299 bool temp3 = false ;
d55e5bfc
RD
4300 wxPoint temp4 ;
4301 wxSize temp5 ;
ae8162c8 4302 bool temp7 = false ;
d55e5bfc
RD
4303 PyObject * obj0 = 0 ;
4304 PyObject * obj1 = 0 ;
4305 PyObject * obj2 = 0 ;
4306 PyObject * obj3 = 0 ;
4307 PyObject * obj4 = 0 ;
4308 PyObject * obj5 = 0 ;
4309 PyObject * obj6 = 0 ;
4310 char *kwnames[] = {
4311 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4312 };
4313
248ed943 4314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d55e5bfc
RD
4315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 4317 if (obj1) {
c32bde28 4318 arg2 = (int)SWIG_As_int(obj1);
248ed943
RD
4319 if (PyErr_Occurred()) SWIG_fail;
4320 }
4321 if (obj2) {
4322 {
4323 arg3 = wxString_in_helper(obj2);
4324 if (arg3 == NULL) SWIG_fail;
ae8162c8 4325 temp3 = true;
248ed943 4326 }
d55e5bfc
RD
4327 }
4328 if (obj3) {
4329 {
4330 arg4 = &temp4;
4331 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4332 }
4333 }
4334 if (obj4) {
4335 {
4336 arg5 = &temp5;
4337 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4338 }
4339 }
4340 if (obj5) {
c32bde28 4341 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
4342 if (PyErr_Occurred()) SWIG_fail;
4343 }
4344 if (obj6) {
4345 {
4346 arg7 = wxString_in_helper(obj6);
4347 if (arg7 == NULL) SWIG_fail;
ae8162c8 4348 temp7 = true;
d55e5bfc
RD
4349 }
4350 }
4351 {
0439c23b 4352 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4353 PyThreadState* __tstate = wxPyBeginAllowThreads();
4354 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4355
4356 wxPyEndAllowThreads(__tstate);
110da5b0 4357 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 4358 }
b0f7404b 4359 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
d55e5bfc
RD
4360 {
4361 if (temp3)
4362 delete arg3;
4363 }
4364 {
4365 if (temp7)
4366 delete arg7;
4367 }
4368 return resultobj;
4369 fail:
4370 {
4371 if (temp3)
4372 delete arg3;
4373 }
4374 {
4375 if (temp7)
4376 delete arg7;
4377 }
4378 return NULL;
4379}
4380
4381
c32bde28 4382static PyObject *_wrap_new_PreDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4383 PyObject *resultobj;
4384 wxDialog *result;
4385 char *kwnames[] = {
4386 NULL
4387 };
4388
4389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
4390 {
0439c23b 4391 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4392 PyThreadState* __tstate = wxPyBeginAllowThreads();
4393 result = (wxDialog *)new wxDialog();
4394
4395 wxPyEndAllowThreads(__tstate);
110da5b0 4396 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 4397 }
b0f7404b 4398 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
d55e5bfc
RD
4399 return resultobj;
4400 fail:
4401 return NULL;
4402}
4403
4404
c32bde28 4405static PyObject *_wrap_Dialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4406 PyObject *resultobj;
4407 wxDialog *arg1 = (wxDialog *) 0 ;
4408 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
4409 int arg3 = (int) (int)-1 ;
4410 wxString const &arg4_defvalue = wxPyEmptyString ;
4411 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
4412 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4413 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4414 wxSize const &arg6_defvalue = wxDefaultSize ;
4415 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4416 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
4417 wxString const &arg8_defvalue = wxPyDialogNameStr ;
4418 wxString *arg8 = (wxString *) &arg8_defvalue ;
4419 bool result;
ae8162c8 4420 bool temp4 = false ;
d55e5bfc
RD
4421 wxPoint temp5 ;
4422 wxSize temp6 ;
ae8162c8 4423 bool temp8 = false ;
d55e5bfc
RD
4424 PyObject * obj0 = 0 ;
4425 PyObject * obj1 = 0 ;
4426 PyObject * obj2 = 0 ;
4427 PyObject * obj3 = 0 ;
4428 PyObject * obj4 = 0 ;
4429 PyObject * obj5 = 0 ;
4430 PyObject * obj6 = 0 ;
4431 PyObject * obj7 = 0 ;
4432 char *kwnames[] = {
4433 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4434 };
4435
248ed943 4436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d55e5bfc
RD
4437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4439 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 4441 if (obj2) {
c32bde28 4442 arg3 = (int)SWIG_As_int(obj2);
248ed943
RD
4443 if (PyErr_Occurred()) SWIG_fail;
4444 }
4445 if (obj3) {
4446 {
4447 arg4 = wxString_in_helper(obj3);
4448 if (arg4 == NULL) SWIG_fail;
ae8162c8 4449 temp4 = true;
248ed943 4450 }
d55e5bfc
RD
4451 }
4452 if (obj4) {
4453 {
4454 arg5 = &temp5;
4455 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4456 }
4457 }
4458 if (obj5) {
4459 {
4460 arg6 = &temp6;
4461 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4462 }
4463 }
4464 if (obj6) {
c32bde28 4465 arg7 = (long)SWIG_As_long(obj6);
d55e5bfc
RD
4466 if (PyErr_Occurred()) SWIG_fail;
4467 }
4468 if (obj7) {
4469 {
4470 arg8 = wxString_in_helper(obj7);
4471 if (arg8 == NULL) SWIG_fail;
ae8162c8 4472 temp8 = true;
d55e5bfc
RD
4473 }
4474 }
4475 {
4476 PyThreadState* __tstate = wxPyBeginAllowThreads();
4477 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4478
4479 wxPyEndAllowThreads(__tstate);
4480 if (PyErr_Occurred()) SWIG_fail;
4481 }
4482 {
4483 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4484 }
4485 {
4486 if (temp4)
4487 delete arg4;
4488 }
4489 {
4490 if (temp8)
4491 delete arg8;
4492 }
4493 return resultobj;
4494 fail:
4495 {
4496 if (temp4)
4497 delete arg4;
4498 }
4499 {
4500 if (temp8)
4501 delete arg8;
4502 }
4503 return NULL;
4504}
4505
4506
c32bde28 4507static PyObject *_wrap_Dialog_SetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4508 PyObject *resultobj;
4509 wxDialog *arg1 = (wxDialog *) 0 ;
4510 int arg2 ;
4511 PyObject * obj0 = 0 ;
4512 PyObject * obj1 = 0 ;
4513 char *kwnames[] = {
4514 (char *) "self",(char *) "returnCode", NULL
4515 };
4516
4517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
4518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 4520 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
4521 if (PyErr_Occurred()) SWIG_fail;
4522 {
4523 PyThreadState* __tstate = wxPyBeginAllowThreads();
4524 (arg1)->SetReturnCode(arg2);
4525
4526 wxPyEndAllowThreads(__tstate);
4527 if (PyErr_Occurred()) SWIG_fail;
4528 }
4529 Py_INCREF(Py_None); resultobj = Py_None;
4530 return resultobj;
4531 fail:
4532 return NULL;
4533}
4534
4535
c32bde28 4536static PyObject *_wrap_Dialog_GetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4537 PyObject *resultobj;
4538 wxDialog *arg1 = (wxDialog *) 0 ;
4539 int result;
4540 PyObject * obj0 = 0 ;
4541 char *kwnames[] = {
4542 (char *) "self", NULL
4543 };
4544
4545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
4546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4548 {
4549 PyThreadState* __tstate = wxPyBeginAllowThreads();
4550 result = (int)((wxDialog const *)arg1)->GetReturnCode();
4551
4552 wxPyEndAllowThreads(__tstate);
4553 if (PyErr_Occurred()) SWIG_fail;
4554 }
c32bde28 4555 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
4556 return resultobj;
4557 fail:
4558 return NULL;
4559}
4560
4561
c32bde28 4562static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4563 PyObject *resultobj;
4564 wxDialog *arg1 = (wxDialog *) 0 ;
4565 wxString *arg2 = 0 ;
4566 wxSizer *result;
ae8162c8 4567 bool temp2 = false ;
d55e5bfc
RD
4568 PyObject * obj0 = 0 ;
4569 PyObject * obj1 = 0 ;
4570 char *kwnames[] = {
4571 (char *) "self",(char *) "message", NULL
4572 };
4573
4574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
4575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4577 {
4578 arg2 = wxString_in_helper(obj1);
4579 if (arg2 == NULL) SWIG_fail;
ae8162c8 4580 temp2 = true;
d55e5bfc
RD
4581 }
4582 {
4583 PyThreadState* __tstate = wxPyBeginAllowThreads();
4584 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
4585
4586 wxPyEndAllowThreads(__tstate);
4587 if (PyErr_Occurred()) SWIG_fail;
4588 }
4589 {
412d302d 4590 resultobj = wxPyMake_wxSizer(result, 0);
d55e5bfc
RD
4591 }
4592 {
4593 if (temp2)
4594 delete arg2;
4595 }
4596 return resultobj;
4597 fail:
4598 {
4599 if (temp2)
4600 delete arg2;
4601 }
4602 return NULL;
4603}
4604
4605
c32bde28 4606static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4607 PyObject *resultobj;
4608 wxDialog *arg1 = (wxDialog *) 0 ;
4609 long arg2 ;
4610 wxSizer *result;
4611 PyObject * obj0 = 0 ;
4612 PyObject * obj1 = 0 ;
4613 char *kwnames[] = {
4614 (char *) "self",(char *) "flags", NULL
4615 };
4616
4617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail;
4618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 4620 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
4621 if (PyErr_Occurred()) SWIG_fail;
4622 {
4623 PyThreadState* __tstate = wxPyBeginAllowThreads();
4624 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
4625
4626 wxPyEndAllowThreads(__tstate);
4627 if (PyErr_Occurred()) SWIG_fail;
4628 }
4629 {
412d302d 4630 resultobj = wxPyMake_wxSizer(result, 0);
d55e5bfc
RD
4631 }
4632 return resultobj;
4633 fail:
4634 return NULL;
4635}
4636
4637
c32bde28 4638static PyObject *_wrap_Dialog_IsModal(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4639 PyObject *resultobj;
4640 wxDialog *arg1 = (wxDialog *) 0 ;
4641 bool result;
4642 PyObject * obj0 = 0 ;
4643 char *kwnames[] = {
4644 (char *) "self", NULL
4645 };
4646
4647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
4648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4650 {
4651 PyThreadState* __tstate = wxPyBeginAllowThreads();
4652 result = (bool)((wxDialog const *)arg1)->IsModal();
4653
4654 wxPyEndAllowThreads(__tstate);
4655 if (PyErr_Occurred()) SWIG_fail;
4656 }
4657 {
4658 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4659 }
4660 return resultobj;
4661 fail:
4662 return NULL;
4663}
4664
4665
c32bde28 4666static PyObject *_wrap_Dialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4667 PyObject *resultobj;
4668 wxDialog *arg1 = (wxDialog *) 0 ;
4669 int result;
4670 PyObject * obj0 = 0 ;
4671 char *kwnames[] = {
4672 (char *) "self", NULL
4673 };
4674
4675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
4676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4678 {
4679 PyThreadState* __tstate = wxPyBeginAllowThreads();
4680 result = (int)(arg1)->ShowModal();
4681
4682 wxPyEndAllowThreads(__tstate);
4683 if (PyErr_Occurred()) SWIG_fail;
4684 }
c32bde28 4685 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
4686 return resultobj;
4687 fail:
4688 return NULL;
4689}
4690
4691
c32bde28 4692static PyObject *_wrap_Dialog_EndModal(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4693 PyObject *resultobj;
4694 wxDialog *arg1 = (wxDialog *) 0 ;
4695 int arg2 ;
4696 PyObject * obj0 = 0 ;
4697 PyObject * obj1 = 0 ;
4698 char *kwnames[] = {
4699 (char *) "self",(char *) "retCode", NULL
4700 };
4701
4702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
4703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 4705 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
4706 if (PyErr_Occurred()) SWIG_fail;
4707 {
4708 PyThreadState* __tstate = wxPyBeginAllowThreads();
4709 (arg1)->EndModal(arg2);
4710
4711 wxPyEndAllowThreads(__tstate);
4712 if (PyErr_Occurred()) SWIG_fail;
4713 }
4714 Py_INCREF(Py_None); resultobj = Py_None;
4715 return resultobj;
4716 fail:
4717 return NULL;
4718}
4719
4720
c32bde28 4721static PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f
RD
4722 PyObject *resultobj;
4723 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4724 wxVisualAttributes result;
4725 PyObject * obj0 = 0 ;
4726 char *kwnames[] = {
4727 (char *) "variant", NULL
4728 };
4729
4730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4731 if (obj0) {
c32bde28 4732 arg1 = (int)SWIG_As_int(obj0);
f20a2e1f
RD
4733 if (PyErr_Occurred()) SWIG_fail;
4734 }
4735 {
0439c23b 4736 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
4737 PyThreadState* __tstate = wxPyBeginAllowThreads();
4738 result = wxDialog::GetClassDefaultAttributes((wxWindowVariant )arg1);
4739
4740 wxPyEndAllowThreads(__tstate);
110da5b0 4741 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
4742 }
4743 {
4744 wxVisualAttributes * resultptr;
4745 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4746 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4747 }
4748 return resultobj;
4749 fail:
4750 return NULL;
4751}
4752
4753
c32bde28 4754static PyObject * Dialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
4755 PyObject *obj;
4756 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4757 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
4758 Py_INCREF(obj);
4759 return Py_BuildValue((char *)"");
4760}
c32bde28 4761static PyObject *_wrap_new_MiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4762 PyObject *resultobj;
4763 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
4764 int arg2 = (int) (int)-1 ;
4765 wxString const &arg3_defvalue = wxPyEmptyString ;
4766 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
4767 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4768 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4769 wxSize const &arg5_defvalue = wxDefaultSize ;
4770 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4771 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4772 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4773 wxString *arg7 = (wxString *) &arg7_defvalue ;
4774 wxMiniFrame *result;
ae8162c8 4775 bool temp3 = false ;
d55e5bfc
RD
4776 wxPoint temp4 ;
4777 wxSize temp5 ;
ae8162c8 4778 bool temp7 = false ;
d55e5bfc
RD
4779 PyObject * obj0 = 0 ;
4780 PyObject * obj1 = 0 ;
4781 PyObject * obj2 = 0 ;
4782 PyObject * obj3 = 0 ;
4783 PyObject * obj4 = 0 ;
4784 PyObject * obj5 = 0 ;
4785 PyObject * obj6 = 0 ;
4786 char *kwnames[] = {
4787 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4788 };
4789
248ed943 4790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d55e5bfc
RD
4791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 4793 if (obj1) {
c32bde28 4794 arg2 = (int)SWIG_As_int(obj1);
248ed943
RD
4795 if (PyErr_Occurred()) SWIG_fail;
4796 }
4797 if (obj2) {
4798 {
4799 arg3 = wxString_in_helper(obj2);
4800 if (arg3 == NULL) SWIG_fail;
ae8162c8 4801 temp3 = true;
248ed943 4802 }
d55e5bfc
RD
4803 }
4804 if (obj3) {
4805 {
4806 arg4 = &temp4;
4807 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4808 }
4809 }
4810 if (obj4) {
4811 {
4812 arg5 = &temp5;
4813 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4814 }
4815 }
4816 if (obj5) {
c32bde28 4817 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
4818 if (PyErr_Occurred()) SWIG_fail;
4819 }
4820 if (obj6) {
4821 {
4822 arg7 = wxString_in_helper(obj6);
4823 if (arg7 == NULL) SWIG_fail;
ae8162c8 4824 temp7 = true;
d55e5bfc
RD
4825 }
4826 }
4827 {
0439c23b 4828 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4829 PyThreadState* __tstate = wxPyBeginAllowThreads();
4830 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4831
4832 wxPyEndAllowThreads(__tstate);
110da5b0 4833 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4834 }
4835 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4836 {
4837 if (temp3)
4838 delete arg3;
4839 }
4840 {
4841 if (temp7)
4842 delete arg7;
4843 }
4844 return resultobj;
4845 fail:
4846 {
4847 if (temp3)
4848 delete arg3;
4849 }
4850 {
4851 if (temp7)
4852 delete arg7;
4853 }
4854 return NULL;
4855}
4856
4857
c32bde28 4858static PyObject *_wrap_new_PreMiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4859 PyObject *resultobj;
4860 wxMiniFrame *result;
4861 char *kwnames[] = {
4862 NULL
4863 };
4864
4865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
4866 {
0439c23b 4867 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4868 PyThreadState* __tstate = wxPyBeginAllowThreads();
4869 result = (wxMiniFrame *)new wxMiniFrame();
4870
4871 wxPyEndAllowThreads(__tstate);
110da5b0 4872 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4873 }
4874 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4875 return resultobj;
4876 fail:
4877 return NULL;
4878}
4879
4880
c32bde28 4881static PyObject *_wrap_MiniFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4882 PyObject *resultobj;
4883 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
4884 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
4885 int arg3 = (int) (int)-1 ;
4886 wxString const &arg4_defvalue = wxPyEmptyString ;
4887 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
4888 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4889 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4890 wxSize const &arg6_defvalue = wxDefaultSize ;
4891 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4892 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4893 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4894 wxString *arg8 = (wxString *) &arg8_defvalue ;
4895 bool result;
ae8162c8 4896 bool temp4 = false ;
d55e5bfc
RD
4897 wxPoint temp5 ;
4898 wxSize temp6 ;
ae8162c8 4899 bool temp8 = false ;
d55e5bfc
RD
4900 PyObject * obj0 = 0 ;
4901 PyObject * obj1 = 0 ;
4902 PyObject * obj2 = 0 ;
4903 PyObject * obj3 = 0 ;
4904 PyObject * obj4 = 0 ;
4905 PyObject * obj5 = 0 ;
4906 PyObject * obj6 = 0 ;
4907 PyObject * obj7 = 0 ;
4908 char *kwnames[] = {
4909 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4910 };
4911
248ed943 4912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d55e5bfc
RD
4913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMiniFrame,
4914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4915 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 4917 if (obj2) {
c32bde28 4918 arg3 = (int)SWIG_As_int(obj2);
248ed943
RD
4919 if (PyErr_Occurred()) SWIG_fail;
4920 }
4921 if (obj3) {
4922 {
4923 arg4 = wxString_in_helper(obj3);
4924 if (arg4 == NULL) SWIG_fail;
ae8162c8 4925 temp4 = true;
248ed943 4926 }
d55e5bfc
RD
4927 }
4928 if (obj4) {
4929 {
4930 arg5 = &temp5;
4931 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4932 }
4933 }
4934 if (obj5) {
4935 {
4936 arg6 = &temp6;
4937 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4938 }
4939 }
4940 if (obj6) {
c32bde28 4941 arg7 = (long)SWIG_As_long(obj6);
d55e5bfc
RD
4942 if (PyErr_Occurred()) SWIG_fail;
4943 }
4944 if (obj7) {
4945 {
4946 arg8 = wxString_in_helper(obj7);
4947 if (arg8 == NULL) SWIG_fail;
ae8162c8 4948 temp8 = true;
d55e5bfc
RD
4949 }
4950 }
4951 {
4952 PyThreadState* __tstate = wxPyBeginAllowThreads();
4953 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4954
4955 wxPyEndAllowThreads(__tstate);
4956 if (PyErr_Occurred()) SWIG_fail;
4957 }
4958 {
4959 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4960 }
4961 {
4962 if (temp4)
4963 delete arg4;
4964 }
4965 {
4966 if (temp8)
4967 delete arg8;
4968 }
4969 return resultobj;
4970 fail:
4971 {
4972 if (temp4)
4973 delete arg4;
4974 }
4975 {
4976 if (temp8)
4977 delete arg8;
4978 }
4979 return NULL;
4980}
4981
4982
c32bde28 4983static PyObject * MiniFrame_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
4984 PyObject *obj;
4985 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4986 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
4987 Py_INCREF(obj);
4988 return Py_BuildValue((char *)"");
4989}
c32bde28 4990static PyObject *_wrap_new_SplashScreenWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4991 PyObject *resultobj;
4992 wxBitmap *arg1 = 0 ;
4993 wxWindow *arg2 = (wxWindow *) 0 ;
4994 int arg3 ;
4995 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4996 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4997 wxSize const &arg5_defvalue = wxDefaultSize ;
4998 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4999 long arg6 = (long) wxNO_BORDER ;
5000 wxSplashScreenWindow *result;
5001 wxPoint temp4 ;
5002 wxSize temp5 ;
5003 PyObject * obj0 = 0 ;
5004 PyObject * obj1 = 0 ;
5005 PyObject * obj2 = 0 ;
5006 PyObject * obj3 = 0 ;
5007 PyObject * obj4 = 0 ;
5008 PyObject * obj5 = 0 ;
5009 char *kwnames[] = {
5010 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
5011 };
5012
5013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
5014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
5015 SWIG_POINTER_EXCEPTION | 0)) == -1)
5016 SWIG_fail;
5017 if (arg1 == NULL) {
5018 PyErr_SetString(PyExc_TypeError,"null reference");
5019 SWIG_fail;
5020 }
5021 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 5023 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
5024 if (PyErr_Occurred()) SWIG_fail;
5025 if (obj3) {
5026 {
5027 arg4 = &temp4;
5028 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5029 }
5030 }
5031 if (obj4) {
5032 {
5033 arg5 = &temp5;
5034 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5035 }
5036 }
5037 if (obj5) {
c32bde28 5038 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
5039 if (PyErr_Occurred()) SWIG_fail;
5040 }
5041 {
0439c23b 5042 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5043 PyThreadState* __tstate = wxPyBeginAllowThreads();
5044 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
5045
5046 wxPyEndAllowThreads(__tstate);
110da5b0 5047 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5048 }
5049 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
5050 return resultobj;
5051 fail:
5052 return NULL;
5053}
5054
5055
c32bde28 5056static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5057 PyObject *resultobj;
5058 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
5059 wxBitmap *arg2 = 0 ;
5060 PyObject * obj0 = 0 ;
5061 PyObject * obj1 = 0 ;
5062 char *kwnames[] = {
5063 (char *) "self",(char *) "bitmap", NULL
5064 };
5065
5066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
5067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
5068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5069 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
5070 SWIG_POINTER_EXCEPTION | 0)) == -1)
5071 SWIG_fail;
5072 if (arg2 == NULL) {
5073 PyErr_SetString(PyExc_TypeError,"null reference");
5074 SWIG_fail;
5075 }
5076 {
5077 PyThreadState* __tstate = wxPyBeginAllowThreads();
5078 (arg1)->SetBitmap((wxBitmap const &)*arg2);
5079
5080 wxPyEndAllowThreads(__tstate);
5081 if (PyErr_Occurred()) SWIG_fail;
5082 }
5083 Py_INCREF(Py_None); resultobj = Py_None;
5084 return resultobj;
5085 fail:
5086 return NULL;
5087}
5088
5089
c32bde28 5090static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5091 PyObject *resultobj;
5092 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
5093 wxBitmap *result;
5094 PyObject * obj0 = 0 ;
5095 char *kwnames[] = {
5096 (char *) "self", NULL
5097 };
5098
5099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
5100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
5101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5102 {
5103 PyThreadState* __tstate = wxPyBeginAllowThreads();
5104 {
5105 wxBitmap &_result_ref = (arg1)->GetBitmap();
5106 result = (wxBitmap *) &_result_ref;
5107 }
5108
5109 wxPyEndAllowThreads(__tstate);
5110 if (PyErr_Occurred()) SWIG_fail;
5111 }
5112 {
5113 wxBitmap* resultptr = new wxBitmap(*result);
5114 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
5115 }
5116 return resultobj;
5117 fail:
5118 return NULL;
5119}
5120
5121
c32bde28 5122static PyObject * SplashScreenWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
5123 PyObject *obj;
5124 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5125 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
5126 Py_INCREF(obj);
5127 return Py_BuildValue((char *)"");
5128}
c32bde28 5129static PyObject *_wrap_new_SplashScreen(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5130 PyObject *resultobj;
5131 wxBitmap *arg1 = 0 ;
5132 long arg2 ;
5133 int arg3 ;
5134 wxWindow *arg4 = (wxWindow *) 0 ;
248ed943 5135 int arg5 = (int) -1 ;
d55e5bfc
RD
5136 wxPoint const &arg6_defvalue = wxDefaultPosition ;
5137 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
5138 wxSize const &arg7_defvalue = wxDefaultSize ;
5139 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
5140 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
5141 wxSplashScreen *result;
5142 wxPoint temp6 ;
5143 wxSize temp7 ;
5144 PyObject * obj0 = 0 ;
5145 PyObject * obj1 = 0 ;
5146 PyObject * obj2 = 0 ;
5147 PyObject * obj3 = 0 ;
5148 PyObject * obj4 = 0 ;
5149 PyObject * obj5 = 0 ;
5150 PyObject * obj6 = 0 ;
5151 PyObject * obj7 = 0 ;
5152 char *kwnames[] = {
5153 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
5154 };
5155
248ed943 5156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d55e5bfc
RD
5157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
5158 SWIG_POINTER_EXCEPTION | 0)) == -1)
5159 SWIG_fail;
5160 if (arg1 == NULL) {
5161 PyErr_SetString(PyExc_TypeError,"null reference");
5162 SWIG_fail;
5163 }
c32bde28 5164 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc 5165 if (PyErr_Occurred()) SWIG_fail;
c32bde28 5166 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
5167 if (PyErr_Occurred()) SWIG_fail;
5168 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
5169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 5170 if (obj4) {
c32bde28 5171 arg5 = (int)SWIG_As_int(obj4);
248ed943
RD
5172 if (PyErr_Occurred()) SWIG_fail;
5173 }
d55e5bfc
RD
5174 if (obj5) {
5175 {
5176 arg6 = &temp6;
5177 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
5178 }
5179 }
5180 if (obj6) {
5181 {
5182 arg7 = &temp7;
5183 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
5184 }
5185 }
5186 if (obj7) {
c32bde28 5187 arg8 = (long)SWIG_As_long(obj7);
d55e5bfc
RD
5188 if (PyErr_Occurred()) SWIG_fail;
5189 }
5190 {
0439c23b 5191 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5192 PyThreadState* __tstate = wxPyBeginAllowThreads();
5193 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
5194
5195 wxPyEndAllowThreads(__tstate);
110da5b0 5196 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5197 }
5198 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
5199 return resultobj;
5200 fail:
5201 return NULL;
5202}
5203
5204
c32bde28 5205static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5206 PyObject *resultobj;
5207 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
5208 long result;
5209 PyObject * obj0 = 0 ;
5210 char *kwnames[] = {
5211 (char *) "self", NULL
5212 };
5213
5214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
5215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
5216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5217 {
5218 PyThreadState* __tstate = wxPyBeginAllowThreads();
5219 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
5220
5221 wxPyEndAllowThreads(__tstate);
5222 if (PyErr_Occurred()) SWIG_fail;
5223 }
c32bde28 5224 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
5225 return resultobj;
5226 fail:
5227 return NULL;
5228}
5229
5230
c32bde28 5231static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5232 PyObject *resultobj;
5233 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
5234 wxSplashScreenWindow *result;
5235 PyObject * obj0 = 0 ;
5236 char *kwnames[] = {
5237 (char *) "self", NULL
5238 };
5239
5240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
5241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
5242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5243 {
5244 PyThreadState* __tstate = wxPyBeginAllowThreads();
5245 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
5246
5247 wxPyEndAllowThreads(__tstate);
5248 if (PyErr_Occurred()) SWIG_fail;
5249 }
5250 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
5251 return resultobj;
5252 fail:
5253 return NULL;
5254}
5255
5256
c32bde28 5257static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5258 PyObject *resultobj;
5259 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
5260 int result;
5261 PyObject * obj0 = 0 ;
5262 char *kwnames[] = {
5263 (char *) "self", NULL
5264 };
5265
5266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
5267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
5268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5269 {
5270 PyThreadState* __tstate = wxPyBeginAllowThreads();
5271 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
5272
5273 wxPyEndAllowThreads(__tstate);
5274 if (PyErr_Occurred()) SWIG_fail;
5275 }
c32bde28 5276 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
5277 return resultobj;
5278 fail:
5279 return NULL;
5280}
5281
5282
c32bde28 5283static PyObject * SplashScreen_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
5284 PyObject *obj;
5285 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5286 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
5287 Py_INCREF(obj);
5288 return Py_BuildValue((char *)"");
5289}
c32bde28 5290static PyObject *_wrap_new_StatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5291 PyObject *resultobj;
5292 wxWindow *arg1 = (wxWindow *) 0 ;
5293 int arg2 = (int) -1 ;
5294 long arg3 = (long) wxST_SIZEGRIP ;
5295 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
5296 wxString *arg4 = (wxString *) &arg4_defvalue ;
5297 wxStatusBar *result;
ae8162c8 5298 bool temp4 = false ;
d55e5bfc
RD
5299 PyObject * obj0 = 0 ;
5300 PyObject * obj1 = 0 ;
5301 PyObject * obj2 = 0 ;
5302 PyObject * obj3 = 0 ;
5303 char *kwnames[] = {
5304 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5305 };
5306
5307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5310 if (obj1) {
c32bde28 5311 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
5312 if (PyErr_Occurred()) SWIG_fail;
5313 }
5314 if (obj2) {
c32bde28 5315 arg3 = (long)SWIG_As_long(obj2);
d55e5bfc
RD
5316 if (PyErr_Occurred()) SWIG_fail;
5317 }
5318 if (obj3) {
5319 {
5320 arg4 = wxString_in_helper(obj3);
5321 if (arg4 == NULL) SWIG_fail;
ae8162c8 5322 temp4 = true;
d55e5bfc
RD
5323 }
5324 }
5325 {
0439c23b 5326 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5327 PyThreadState* __tstate = wxPyBeginAllowThreads();
5328 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
5329
5330 wxPyEndAllowThreads(__tstate);
110da5b0 5331 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 5332 }
b0f7404b 5333 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
d55e5bfc
RD
5334 {
5335 if (temp4)
5336 delete arg4;
5337 }
5338 return resultobj;
5339 fail:
5340 {
5341 if (temp4)
5342 delete arg4;
5343 }
5344 return NULL;
5345}
5346
5347
c32bde28 5348static PyObject *_wrap_new_PreStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5349 PyObject *resultobj;
5350 wxStatusBar *result;
5351 char *kwnames[] = {
5352 NULL
5353 };
5354
5355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
5356 {
0439c23b 5357 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5358 PyThreadState* __tstate = wxPyBeginAllowThreads();
5359 result = (wxStatusBar *)new wxStatusBar();
5360
5361 wxPyEndAllowThreads(__tstate);
110da5b0 5362 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 5363 }
b0f7404b 5364 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
d55e5bfc
RD
5365 return resultobj;
5366 fail:
5367 return NULL;
5368}
5369
5370
c32bde28 5371static PyObject *_wrap_StatusBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5372 PyObject *resultobj;
5373 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5374 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 5375 int arg3 = (int) -1 ;
d55e5bfc
RD
5376 long arg4 = (long) wxST_SIZEGRIP ;
5377 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
5378 wxString *arg5 = (wxString *) &arg5_defvalue ;
5379 bool result;
ae8162c8 5380 bool temp5 = false ;
d55e5bfc
RD
5381 PyObject * obj0 = 0 ;
5382 PyObject * obj1 = 0 ;
5383 PyObject * obj2 = 0 ;
5384 PyObject * obj3 = 0 ;
5385 PyObject * obj4 = 0 ;
5386 char *kwnames[] = {
5387 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5388 };
5389
248ed943 5390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
d55e5bfc
RD
5391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5393 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 5395 if (obj2) {
c32bde28 5396 arg3 = (int)SWIG_As_int(obj2);
248ed943
RD
5397 if (PyErr_Occurred()) SWIG_fail;
5398 }
d55e5bfc 5399 if (obj3) {
c32bde28 5400 arg4 = (long)SWIG_As_long(obj3);
d55e5bfc
RD
5401 if (PyErr_Occurred()) SWIG_fail;
5402 }
5403 if (obj4) {
5404 {
5405 arg5 = wxString_in_helper(obj4);
5406 if (arg5 == NULL) SWIG_fail;
ae8162c8 5407 temp5 = true;
d55e5bfc
RD
5408 }
5409 }
5410 {
5411 PyThreadState* __tstate = wxPyBeginAllowThreads();
5412 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
5413
5414 wxPyEndAllowThreads(__tstate);
5415 if (PyErr_Occurred()) SWIG_fail;
5416 }
5417 {
5418 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5419 }
5420 {
5421 if (temp5)
5422 delete arg5;
5423 }
5424 return resultobj;
5425 fail:
5426 {
5427 if (temp5)
5428 delete arg5;
5429 }
5430 return NULL;
5431}
5432
5433
c32bde28 5434static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5435 PyObject *resultobj;
5436 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5437 int arg2 = (int) 1 ;
5438 PyObject * obj0 = 0 ;
5439 PyObject * obj1 = 0 ;
5440 char *kwnames[] = {
5441 (char *) "self",(char *) "number", NULL
5442 };
5443
5444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
5445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5447 if (obj1) {
c32bde28 5448 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
5449 if (PyErr_Occurred()) SWIG_fail;
5450 }
5451 {
5452 PyThreadState* __tstate = wxPyBeginAllowThreads();
5453 (arg1)->SetFieldsCount(arg2);
5454
5455 wxPyEndAllowThreads(__tstate);
5456 if (PyErr_Occurred()) SWIG_fail;
5457 }
5458 Py_INCREF(Py_None); resultobj = Py_None;
5459 return resultobj;
5460 fail:
5461 return NULL;
5462}
5463
5464
c32bde28 5465static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5466 PyObject *resultobj;
5467 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5468 int result;
5469 PyObject * obj0 = 0 ;
5470 char *kwnames[] = {
5471 (char *) "self", NULL
5472 };
5473
5474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
5475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5477 {
5478 PyThreadState* __tstate = wxPyBeginAllowThreads();
5479 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
5480
5481 wxPyEndAllowThreads(__tstate);
5482 if (PyErr_Occurred()) SWIG_fail;
5483 }
c32bde28 5484 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
5485 return resultobj;
5486 fail:
5487 return NULL;
5488}
5489
5490
c32bde28 5491static PyObject *_wrap_StatusBar_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5492 PyObject *resultobj;
5493 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5494 wxString *arg2 = 0 ;
5495 int arg3 = (int) 0 ;
ae8162c8 5496 bool temp2 = false ;
d55e5bfc
RD
5497 PyObject * obj0 = 0 ;
5498 PyObject * obj1 = 0 ;
5499 PyObject * obj2 = 0 ;
5500 char *kwnames[] = {
5501 (char *) "self",(char *) "text",(char *) "number", NULL
5502 };
5503
5504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5507 {
5508 arg2 = wxString_in_helper(obj1);
5509 if (arg2 == NULL) SWIG_fail;
ae8162c8 5510 temp2 = true;
d55e5bfc
RD
5511 }
5512 if (obj2) {
c32bde28 5513 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
5514 if (PyErr_Occurred()) SWIG_fail;
5515 }
5516 {
5517 PyThreadState* __tstate = wxPyBeginAllowThreads();
5518 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
5519
5520 wxPyEndAllowThreads(__tstate);
5521 if (PyErr_Occurred()) SWIG_fail;
5522 }
5523 Py_INCREF(Py_None); resultobj = Py_None;
5524 {
5525 if (temp2)
5526 delete arg2;
5527 }
5528 return resultobj;
5529 fail:
5530 {
5531 if (temp2)
5532 delete arg2;
5533 }
5534 return NULL;
5535}
5536
5537
c32bde28 5538static PyObject *_wrap_StatusBar_GetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5539 PyObject *resultobj;
5540 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5541 int arg2 = (int) 0 ;
5542 wxString result;
5543 PyObject * obj0 = 0 ;
5544 PyObject * obj1 = 0 ;
5545 char *kwnames[] = {
5546 (char *) "self",(char *) "number", NULL
5547 };
5548
5549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
5550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5552 if (obj1) {
c32bde28 5553 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
5554 if (PyErr_Occurred()) SWIG_fail;
5555 }
5556 {
5557 PyThreadState* __tstate = wxPyBeginAllowThreads();
5558 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
5559
5560 wxPyEndAllowThreads(__tstate);
5561 if (PyErr_Occurred()) SWIG_fail;
5562 }
5563 {
5564#if wxUSE_UNICODE
5565 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5566#else
5567 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5568#endif
5569 }
5570 return resultobj;
5571 fail:
5572 return NULL;
5573}
5574
5575
c32bde28 5576static PyObject *_wrap_StatusBar_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5577 PyObject *resultobj;
5578 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5579 wxString *arg2 = 0 ;
5580 int arg3 = (int) 0 ;
ae8162c8 5581 bool temp2 = false ;
d55e5bfc
RD
5582 PyObject * obj0 = 0 ;
5583 PyObject * obj1 = 0 ;
5584 PyObject * obj2 = 0 ;
5585 char *kwnames[] = {
5586 (char *) "self",(char *) "text",(char *) "number", NULL
5587 };
5588
5589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5592 {
5593 arg2 = wxString_in_helper(obj1);
5594 if (arg2 == NULL) SWIG_fail;
ae8162c8 5595 temp2 = true;
d55e5bfc
RD
5596 }
5597 if (obj2) {
c32bde28 5598 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
5599 if (PyErr_Occurred()) SWIG_fail;
5600 }
5601 {
5602 PyThreadState* __tstate = wxPyBeginAllowThreads();
5603 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5604
5605 wxPyEndAllowThreads(__tstate);
5606 if (PyErr_Occurred()) SWIG_fail;
5607 }
5608 Py_INCREF(Py_None); resultobj = Py_None;
5609 {
5610 if (temp2)
5611 delete arg2;
5612 }
5613 return resultobj;
5614 fail:
5615 {
5616 if (temp2)
5617 delete arg2;
5618 }
5619 return NULL;
5620}
5621
5622
c32bde28 5623static PyObject *_wrap_StatusBar_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5624 PyObject *resultobj;
5625 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5626 int arg2 = (int) 0 ;
5627 PyObject * obj0 = 0 ;
5628 PyObject * obj1 = 0 ;
5629 char *kwnames[] = {
5630 (char *) "self",(char *) "number", NULL
5631 };
5632
5633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
5634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5636 if (obj1) {
c32bde28 5637 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
5638 if (PyErr_Occurred()) SWIG_fail;
5639 }
5640 {
5641 PyThreadState* __tstate = wxPyBeginAllowThreads();
5642 (arg1)->PopStatusText(arg2);
5643
5644 wxPyEndAllowThreads(__tstate);
5645 if (PyErr_Occurred()) SWIG_fail;
5646 }
5647 Py_INCREF(Py_None); resultobj = Py_None;
5648 return resultobj;
5649 fail:
5650 return NULL;
5651}
5652
5653
c32bde28 5654static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5655 PyObject *resultobj;
5656 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5657 int arg2 ;
5658 int *arg3 = (int *) 0 ;
5659 PyObject * obj0 = 0 ;
5660 PyObject * obj1 = 0 ;
5661 char *kwnames[] = {
5662 (char *) "self",(char *) "widths", NULL
5663 };
5664
5665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
5666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5668 {
5669 arg2 = PyList_Size(obj1);
5670 arg3 = int_LIST_helper(obj1);
5671 if (arg3 == NULL) SWIG_fail;
5672 }
5673 {
5674 PyThreadState* __tstate = wxPyBeginAllowThreads();
5675 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5676
5677 wxPyEndAllowThreads(__tstate);
5678 if (PyErr_Occurred()) SWIG_fail;
5679 }
5680 Py_INCREF(Py_None); resultobj = Py_None;
5681 {
5682 if (arg3) delete [] arg3;
5683 }
5684 return resultobj;
5685 fail:
5686 {
5687 if (arg3) delete [] arg3;
5688 }
5689 return NULL;
5690}
5691
5692
c32bde28 5693static PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *, PyObject *args, PyObject *kwargs) {
03837c5c
RD
5694 PyObject *resultobj;
5695 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5696 int arg2 ;
5697 int *arg3 = (int *) 0 ;
5698 PyObject * obj0 = 0 ;
5699 PyObject * obj1 = 0 ;
5700 char *kwnames[] = {
5701 (char *) "self",(char *) "styles", NULL
5702 };
5703
5704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) goto fail;
5705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5707 {
5708 arg2 = PyList_Size(obj1);
5709 arg3 = int_LIST_helper(obj1);
5710 if (arg3 == NULL) SWIG_fail;
5711 }
5712 {
5713 PyThreadState* __tstate = wxPyBeginAllowThreads();
5714 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
5715
5716 wxPyEndAllowThreads(__tstate);
5717 if (PyErr_Occurred()) SWIG_fail;
5718 }
5719 Py_INCREF(Py_None); resultobj = Py_None;
5720 {
5721 if (arg3) delete [] arg3;
5722 }
5723 return resultobj;
5724 fail:
5725 {
5726 if (arg3) delete [] arg3;
5727 }
5728 return NULL;
5729}
5730
5731
c32bde28 5732static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5733 PyObject *resultobj;
5734 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5735 int arg2 ;
5736 wxRect result;
5737 PyObject * obj0 = 0 ;
5738 PyObject * obj1 = 0 ;
5739 char *kwnames[] = {
5740 (char *) "self",(char *) "i", NULL
5741 };
5742
5743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
5744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 5746 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
5747 if (PyErr_Occurred()) SWIG_fail;
5748 {
5749 PyThreadState* __tstate = wxPyBeginAllowThreads();
5750 result = wxStatusBar_GetFieldRect(arg1,arg2);
5751
5752 wxPyEndAllowThreads(__tstate);
5753 if (PyErr_Occurred()) SWIG_fail;
5754 }
5755 {
5756 wxRect * resultptr;
5757 resultptr = new wxRect((wxRect &) result);
5758 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
5759 }
5760 return resultobj;
5761 fail:
5762 return NULL;
5763}
5764
5765
c32bde28 5766static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5767 PyObject *resultobj;
5768 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5769 int arg2 ;
5770 PyObject * obj0 = 0 ;
5771 PyObject * obj1 = 0 ;
5772 char *kwnames[] = {
5773 (char *) "self",(char *) "height", NULL
5774 };
5775
5776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
5777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 5779 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
5780 if (PyErr_Occurred()) SWIG_fail;
5781 {
5782 PyThreadState* __tstate = wxPyBeginAllowThreads();
5783 (arg1)->SetMinHeight(arg2);
5784
5785 wxPyEndAllowThreads(__tstate);
5786 if (PyErr_Occurred()) SWIG_fail;
5787 }
5788 Py_INCREF(Py_None); resultobj = Py_None;
5789 return resultobj;
5790 fail:
5791 return NULL;
5792}
5793
5794
c32bde28 5795static PyObject *_wrap_StatusBar_GetBorderX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5796 PyObject *resultobj;
5797 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5798 int result;
5799 PyObject * obj0 = 0 ;
5800 char *kwnames[] = {
5801 (char *) "self", NULL
5802 };
5803
5804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
5805 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5807 {
5808 PyThreadState* __tstate = wxPyBeginAllowThreads();
5809 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
5810
5811 wxPyEndAllowThreads(__tstate);
5812 if (PyErr_Occurred()) SWIG_fail;
5813 }
c32bde28 5814 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
5815 return resultobj;
5816 fail:
5817 return NULL;
5818}
5819
5820
c32bde28 5821static PyObject *_wrap_StatusBar_GetBorderY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5822 PyObject *resultobj;
5823 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5824 int result;
5825 PyObject * obj0 = 0 ;
5826 char *kwnames[] = {
5827 (char *) "self", NULL
5828 };
5829
5830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
5831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5833 {
5834 PyThreadState* __tstate = wxPyBeginAllowThreads();
5835 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
5836
5837 wxPyEndAllowThreads(__tstate);
5838 if (PyErr_Occurred()) SWIG_fail;
5839 }
c32bde28 5840 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
5841 return resultobj;
5842 fail:
5843 return NULL;
5844}
5845
5846
c32bde28 5847static PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f
RD
5848 PyObject *resultobj;
5849 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
5850 wxVisualAttributes result;
5851 PyObject * obj0 = 0 ;
5852 char *kwnames[] = {
5853 (char *) "variant", NULL
5854 };
5855
5856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5857 if (obj0) {
c32bde28 5858 arg1 = (int)SWIG_As_int(obj0);
f20a2e1f
RD
5859 if (PyErr_Occurred()) SWIG_fail;
5860 }
5861 {
0439c23b 5862 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
5863 PyThreadState* __tstate = wxPyBeginAllowThreads();
5864 result = wxStatusBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
5865
5866 wxPyEndAllowThreads(__tstate);
110da5b0 5867 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
5868 }
5869 {
5870 wxVisualAttributes * resultptr;
5871 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
5872 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5873 }
5874 return resultobj;
5875 fail:
5876 return NULL;
5877}
5878
5879
c32bde28 5880static PyObject * StatusBar_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
5881 PyObject *obj;
5882 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5883 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
5884 Py_INCREF(obj);
5885 return Py_BuildValue((char *)"");
5886}
c32bde28 5887static int _wrap_SplitterNameStr_set(PyObject *) {
d55e5bfc
RD
5888 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
5889 return 1;
5890}
5891
5892
5893static PyObject *_wrap_SplitterNameStr_get() {
5894 PyObject *pyobj;
5895
5896 {
5897#if wxUSE_UNICODE
5898 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5899#else
5900 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5901#endif
5902 }
5903 return pyobj;
5904}
5905
5906
c32bde28 5907static PyObject *_wrap_new_SplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5908 PyObject *resultobj;
5909 wxWindow *arg1 = (wxWindow *) 0 ;
5910 int arg2 = (int) -1 ;
5911 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5912 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5913 wxSize const &arg4_defvalue = wxDefaultSize ;
5914 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5915 long arg5 = (long) wxSP_3D ;
5916 wxString const &arg6_defvalue = wxPySplitterNameStr ;
5917 wxString *arg6 = (wxString *) &arg6_defvalue ;
5918 wxSplitterWindow *result;
5919 wxPoint temp3 ;
5920 wxSize temp4 ;
ae8162c8 5921 bool temp6 = false ;
d55e5bfc
RD
5922 PyObject * obj0 = 0 ;
5923 PyObject * obj1 = 0 ;
5924 PyObject * obj2 = 0 ;
5925 PyObject * obj3 = 0 ;
5926 PyObject * obj4 = 0 ;
5927 PyObject * obj5 = 0 ;
5928 char *kwnames[] = {
5929 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5930 };
5931
5932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
5933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5935 if (obj1) {
c32bde28 5936 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
5937 if (PyErr_Occurred()) SWIG_fail;
5938 }
5939 if (obj2) {
5940 {
5941 arg3 = &temp3;
5942 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5943 }
5944 }
5945 if (obj3) {
5946 {
5947 arg4 = &temp4;
5948 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5949 }
5950 }
5951 if (obj4) {
c32bde28 5952 arg5 = (long)SWIG_As_long(obj4);
d55e5bfc
RD
5953 if (PyErr_Occurred()) SWIG_fail;
5954 }
5955 if (obj5) {
5956 {
5957 arg6 = wxString_in_helper(obj5);
5958 if (arg6 == NULL) SWIG_fail;
ae8162c8 5959 temp6 = true;
d55e5bfc
RD
5960 }
5961 }
5962 {
0439c23b 5963 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5964 PyThreadState* __tstate = wxPyBeginAllowThreads();
5965 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5966
5967 wxPyEndAllowThreads(__tstate);
110da5b0 5968 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5969 }
5970 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5971 {
5972 if (temp6)
5973 delete arg6;
5974 }
5975 return resultobj;
5976 fail:
5977 {
5978 if (temp6)
5979 delete arg6;
5980 }
5981 return NULL;
5982}
5983
5984
c32bde28 5985static PyObject *_wrap_new_PreSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5986 PyObject *resultobj;
5987 wxSplitterWindow *result;
5988 char *kwnames[] = {
5989 NULL
5990 };
5991
5992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
5993 {
0439c23b 5994 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5995 PyThreadState* __tstate = wxPyBeginAllowThreads();
5996 result = (wxSplitterWindow *)new wxSplitterWindow();
5997
5998 wxPyEndAllowThreads(__tstate);
110da5b0 5999 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6000 }
6001 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
6002 return resultobj;
6003 fail:
6004 return NULL;
6005}
6006
6007
c32bde28 6008static PyObject *_wrap_SplitterWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6009 PyObject *resultobj;
6010 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6011 wxWindow *arg2 = (wxWindow *) 0 ;
6012 int arg3 = (int) -1 ;
6013 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6014 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6015 wxSize const &arg5_defvalue = wxDefaultSize ;
6016 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6017 long arg6 = (long) wxSP_3D ;
6018 wxString const &arg7_defvalue = wxPySplitterNameStr ;
6019 wxString *arg7 = (wxString *) &arg7_defvalue ;
6020 bool result;
6021 wxPoint temp4 ;
6022 wxSize temp5 ;
ae8162c8 6023 bool temp7 = false ;
d55e5bfc
RD
6024 PyObject * obj0 = 0 ;
6025 PyObject * obj1 = 0 ;
6026 PyObject * obj2 = 0 ;
6027 PyObject * obj3 = 0 ;
6028 PyObject * obj4 = 0 ;
6029 PyObject * obj5 = 0 ;
6030 PyObject * obj6 = 0 ;
6031 char *kwnames[] = {
6032 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6033 };
6034
6035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6038 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6040 if (obj2) {
c32bde28 6041 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
6042 if (PyErr_Occurred()) SWIG_fail;
6043 }
6044 if (obj3) {
6045 {
6046 arg4 = &temp4;
6047 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6048 }
6049 }
6050 if (obj4) {
6051 {
6052 arg5 = &temp5;
6053 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6054 }
6055 }
6056 if (obj5) {
c32bde28 6057 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
6058 if (PyErr_Occurred()) SWIG_fail;
6059 }
6060 if (obj6) {
6061 {
6062 arg7 = wxString_in_helper(obj6);
6063 if (arg7 == NULL) SWIG_fail;
ae8162c8 6064 temp7 = true;
d55e5bfc
RD
6065 }
6066 }
6067 {
6068 PyThreadState* __tstate = wxPyBeginAllowThreads();
6069 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6070
6071 wxPyEndAllowThreads(__tstate);
6072 if (PyErr_Occurred()) SWIG_fail;
6073 }
6074 {
6075 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6076 }
6077 {
6078 if (temp7)
6079 delete arg7;
6080 }
6081 return resultobj;
6082 fail:
6083 {
6084 if (temp7)
6085 delete arg7;
6086 }
6087 return NULL;
6088}
6089
6090
c32bde28 6091static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6092 PyObject *resultobj;
6093 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6094 wxWindow *result;
6095 PyObject * obj0 = 0 ;
6096 char *kwnames[] = {
6097 (char *) "self", NULL
6098 };
6099
6100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
6101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6103 {
6104 PyThreadState* __tstate = wxPyBeginAllowThreads();
6105 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
6106
6107 wxPyEndAllowThreads(__tstate);
6108 if (PyErr_Occurred()) SWIG_fail;
6109 }
6110 {
412d302d 6111 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
6112 }
6113 return resultobj;
6114 fail:
6115 return NULL;
6116}
6117
6118
c32bde28 6119static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6120 PyObject *resultobj;
6121 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6122 wxWindow *result;
6123 PyObject * obj0 = 0 ;
6124 char *kwnames[] = {
6125 (char *) "self", NULL
6126 };
6127
6128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
6129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6131 {
6132 PyThreadState* __tstate = wxPyBeginAllowThreads();
6133 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
6134
6135 wxPyEndAllowThreads(__tstate);
6136 if (PyErr_Occurred()) SWIG_fail;
6137 }
6138 {
412d302d 6139 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
6140 }
6141 return resultobj;
6142 fail:
6143 return NULL;
6144}
6145
6146
c32bde28 6147static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6148 PyObject *resultobj;
6149 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6150 int arg2 ;
6151 PyObject * obj0 = 0 ;
6152 PyObject * obj1 = 0 ;
6153 char *kwnames[] = {
6154 (char *) "self",(char *) "mode", NULL
6155 };
6156
6157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
6158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6160 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
6161 if (PyErr_Occurred()) SWIG_fail;
6162 {
6163 PyThreadState* __tstate = wxPyBeginAllowThreads();
6164 (arg1)->SetSplitMode(arg2);
6165
6166 wxPyEndAllowThreads(__tstate);
6167 if (PyErr_Occurred()) SWIG_fail;
6168 }
6169 Py_INCREF(Py_None); resultobj = Py_None;
6170 return resultobj;
6171 fail:
6172 return NULL;
6173}
6174
6175
c32bde28 6176static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6177 PyObject *resultobj;
6178 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6179 int result;
6180 PyObject * obj0 = 0 ;
6181 char *kwnames[] = {
6182 (char *) "self", NULL
6183 };
6184
6185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
6186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6188 {
6189 PyThreadState* __tstate = wxPyBeginAllowThreads();
6190 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
6191
6192 wxPyEndAllowThreads(__tstate);
6193 if (PyErr_Occurred()) SWIG_fail;
6194 }
c32bde28 6195 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
6196 return resultobj;
6197 fail:
6198 return NULL;
6199}
6200
6201
c32bde28 6202static PyObject *_wrap_SplitterWindow_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6203 PyObject *resultobj;
6204 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6205 wxWindow *arg2 = (wxWindow *) 0 ;
6206 PyObject * obj0 = 0 ;
6207 PyObject * obj1 = 0 ;
6208 char *kwnames[] = {
6209 (char *) "self",(char *) "window", NULL
6210 };
6211
6212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) 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 {
6218 PyThreadState* __tstate = wxPyBeginAllowThreads();
6219 (arg1)->Initialize(arg2);
6220
6221 wxPyEndAllowThreads(__tstate);
6222 if (PyErr_Occurred()) SWIG_fail;
6223 }
6224 Py_INCREF(Py_None); resultobj = Py_None;
6225 return resultobj;
6226 fail:
6227 return NULL;
6228}
6229
6230
c32bde28 6231static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6232 PyObject *resultobj;
6233 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6234 wxWindow *arg2 = (wxWindow *) 0 ;
6235 wxWindow *arg3 = (wxWindow *) 0 ;
6236 int arg4 = (int) 0 ;
6237 bool result;
6238 PyObject * obj0 = 0 ;
6239 PyObject * obj1 = 0 ;
6240 PyObject * obj2 = 0 ;
6241 PyObject * obj3 = 0 ;
6242 char *kwnames[] = {
6243 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6244 };
6245
6246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6249 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6251 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6253 if (obj3) {
c32bde28 6254 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc
RD
6255 if (PyErr_Occurred()) SWIG_fail;
6256 }
6257 {
6258 PyThreadState* __tstate = wxPyBeginAllowThreads();
6259 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
6260
6261 wxPyEndAllowThreads(__tstate);
6262 if (PyErr_Occurred()) SWIG_fail;
6263 }
6264 {
6265 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6266 }
6267 return resultobj;
6268 fail:
6269 return NULL;
6270}
6271
6272
c32bde28 6273static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6274 PyObject *resultobj;
6275 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6276 wxWindow *arg2 = (wxWindow *) 0 ;
6277 wxWindow *arg3 = (wxWindow *) 0 ;
6278 int arg4 = (int) 0 ;
6279 bool result;
6280 PyObject * obj0 = 0 ;
6281 PyObject * obj1 = 0 ;
6282 PyObject * obj2 = 0 ;
6283 PyObject * obj3 = 0 ;
6284 char *kwnames[] = {
6285 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6286 };
6287
6288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6291 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6293 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6295 if (obj3) {
c32bde28 6296 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc
RD
6297 if (PyErr_Occurred()) SWIG_fail;
6298 }
6299 {
6300 PyThreadState* __tstate = wxPyBeginAllowThreads();
6301 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
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_Unsplit(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6316 PyObject *resultobj;
6317 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6318 wxWindow *arg2 = (wxWindow *) NULL ;
6319 bool result;
6320 PyObject * obj0 = 0 ;
6321 PyObject * obj1 = 0 ;
6322 char *kwnames[] = {
6323 (char *) "self",(char *) "toRemove", NULL
6324 };
6325
6326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
6327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6329 if (obj1) {
6330 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6332 }
6333 {
6334 PyThreadState* __tstate = wxPyBeginAllowThreads();
6335 result = (bool)(arg1)->Unsplit(arg2);
6336
6337 wxPyEndAllowThreads(__tstate);
6338 if (PyErr_Occurred()) SWIG_fail;
6339 }
6340 {
6341 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6342 }
6343 return resultobj;
6344 fail:
6345 return NULL;
6346}
6347
6348
c32bde28 6349static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6350 PyObject *resultobj;
6351 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6352 wxWindow *arg2 = (wxWindow *) 0 ;
6353 wxWindow *arg3 = (wxWindow *) 0 ;
6354 bool result;
6355 PyObject * obj0 = 0 ;
6356 PyObject * obj1 = 0 ;
6357 PyObject * obj2 = 0 ;
6358 char *kwnames[] = {
6359 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
6360 };
6361
6362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
6363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6365 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6367 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6369 {
6370 PyThreadState* __tstate = wxPyBeginAllowThreads();
6371 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
6372
6373 wxPyEndAllowThreads(__tstate);
6374 if (PyErr_Occurred()) SWIG_fail;
6375 }
6376 {
6377 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6378 }
6379 return resultobj;
6380 fail:
6381 return NULL;
6382}
6383
6384
c32bde28 6385static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6386 PyObject *resultobj;
6387 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6388 PyObject * obj0 = 0 ;
6389 char *kwnames[] = {
6390 (char *) "self", NULL
6391 };
6392
6393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail;
6394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6396 {
6397 PyThreadState* __tstate = wxPyBeginAllowThreads();
6398 (arg1)->UpdateSize();
6399
6400 wxPyEndAllowThreads(__tstate);
6401 if (PyErr_Occurred()) SWIG_fail;
6402 }
6403 Py_INCREF(Py_None); resultobj = Py_None;
6404 return resultobj;
6405 fail:
6406 return NULL;
6407}
6408
6409
c32bde28 6410static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6411 PyObject *resultobj;
6412 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6413 bool result;
6414 PyObject * obj0 = 0 ;
6415 char *kwnames[] = {
6416 (char *) "self", NULL
6417 };
6418
6419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
6420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6422 {
6423 PyThreadState* __tstate = wxPyBeginAllowThreads();
6424 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
6425
6426 wxPyEndAllowThreads(__tstate);
6427 if (PyErr_Occurred()) SWIG_fail;
6428 }
6429 {
6430 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6431 }
6432 return resultobj;
6433 fail:
6434 return NULL;
6435}
6436
6437
c32bde28 6438static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6439 PyObject *resultobj;
6440 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6441 int arg2 ;
6442 PyObject * obj0 = 0 ;
6443 PyObject * obj1 = 0 ;
6444 char *kwnames[] = {
6445 (char *) "self",(char *) "width", NULL
6446 };
6447
6448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
6449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6451 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
6452 if (PyErr_Occurred()) SWIG_fail;
6453 {
6454 PyThreadState* __tstate = wxPyBeginAllowThreads();
6455 (arg1)->SetSashSize(arg2);
6456
6457 wxPyEndAllowThreads(__tstate);
6458 if (PyErr_Occurred()) SWIG_fail;
6459 }
6460 Py_INCREF(Py_None); resultobj = Py_None;
6461 return resultobj;
6462 fail:
6463 return NULL;
6464}
6465
6466
c32bde28 6467static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6468 PyObject *resultobj;
6469 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6470 int arg2 ;
6471 PyObject * obj0 = 0 ;
6472 PyObject * obj1 = 0 ;
6473 char *kwnames[] = {
6474 (char *) "self",(char *) "width", NULL
6475 };
6476
6477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
6478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6480 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
6481 if (PyErr_Occurred()) SWIG_fail;
6482 {
6483 PyThreadState* __tstate = wxPyBeginAllowThreads();
6484 (arg1)->SetBorderSize(arg2);
6485
6486 wxPyEndAllowThreads(__tstate);
6487 if (PyErr_Occurred()) SWIG_fail;
6488 }
6489 Py_INCREF(Py_None); resultobj = Py_None;
6490 return resultobj;
6491 fail:
6492 return NULL;
6493}
6494
6495
c32bde28 6496static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6497 PyObject *resultobj;
6498 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6499 int result;
6500 PyObject * obj0 = 0 ;
6501 char *kwnames[] = {
6502 (char *) "self", NULL
6503 };
6504
6505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
6506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6508 {
6509 PyThreadState* __tstate = wxPyBeginAllowThreads();
6510 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
6511
6512 wxPyEndAllowThreads(__tstate);
6513 if (PyErr_Occurred()) SWIG_fail;
6514 }
c32bde28 6515 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
6516 return resultobj;
6517 fail:
6518 return NULL;
6519}
6520
6521
c32bde28 6522static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6523 PyObject *resultobj;
6524 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6525 int result;
6526 PyObject * obj0 = 0 ;
6527 char *kwnames[] = {
6528 (char *) "self", NULL
6529 };
6530
6531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
6532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6534 {
6535 PyThreadState* __tstate = wxPyBeginAllowThreads();
6536 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
6537
6538 wxPyEndAllowThreads(__tstate);
6539 if (PyErr_Occurred()) SWIG_fail;
6540 }
c32bde28 6541 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
6542 return resultobj;
6543 fail:
6544 return NULL;
6545}
6546
6547
c32bde28 6548static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6549 PyObject *resultobj;
6550 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6551 int arg2 ;
ae8162c8 6552 bool arg3 = (bool) true ;
d55e5bfc
RD
6553 PyObject * obj0 = 0 ;
6554 PyObject * obj1 = 0 ;
6555 PyObject * obj2 = 0 ;
6556 char *kwnames[] = {
6557 (char *) "self",(char *) "position",(char *) "redraw", NULL
6558 };
6559
6560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
6561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6563 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
6564 if (PyErr_Occurred()) SWIG_fail;
6565 if (obj2) {
c32bde28 6566 arg3 = (bool)SWIG_As_bool(obj2);
d55e5bfc
RD
6567 if (PyErr_Occurred()) SWIG_fail;
6568 }
6569 {
6570 PyThreadState* __tstate = wxPyBeginAllowThreads();
6571 (arg1)->SetSashPosition(arg2,arg3);
6572
6573 wxPyEndAllowThreads(__tstate);
6574 if (PyErr_Occurred()) SWIG_fail;
6575 }
6576 Py_INCREF(Py_None); resultobj = Py_None;
6577 return resultobj;
6578 fail:
6579 return NULL;
6580}
6581
6582
c32bde28 6583static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6584 PyObject *resultobj;
6585 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6586 int result;
6587 PyObject * obj0 = 0 ;
6588 char *kwnames[] = {
6589 (char *) "self", NULL
6590 };
6591
6592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
6593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6595 {
6596 PyThreadState* __tstate = wxPyBeginAllowThreads();
6597 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
6598
6599 wxPyEndAllowThreads(__tstate);
6600 if (PyErr_Occurred()) SWIG_fail;
6601 }
c32bde28 6602 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
6603 return resultobj;
6604 fail:
6605 return NULL;
6606}
6607
6608
c32bde28 6609static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6610 PyObject *resultobj;
6611 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6612 int arg2 ;
6613 PyObject * obj0 = 0 ;
6614 PyObject * obj1 = 0 ;
6615 char *kwnames[] = {
6616 (char *) "self",(char *) "min", NULL
6617 };
6618
6619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
6620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6622 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
6623 if (PyErr_Occurred()) SWIG_fail;
6624 {
6625 PyThreadState* __tstate = wxPyBeginAllowThreads();
6626 (arg1)->SetMinimumPaneSize(arg2);
6627
6628 wxPyEndAllowThreads(__tstate);
6629 if (PyErr_Occurred()) SWIG_fail;
6630 }
6631 Py_INCREF(Py_None); resultobj = Py_None;
6632 return resultobj;
6633 fail:
6634 return NULL;
6635}
6636
6637
c32bde28 6638static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6639 PyObject *resultobj;
6640 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6641 int result;
6642 PyObject * obj0 = 0 ;
6643 char *kwnames[] = {
6644 (char *) "self", NULL
6645 };
6646
6647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
6648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6650 {
6651 PyThreadState* __tstate = wxPyBeginAllowThreads();
6652 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
6653
6654 wxPyEndAllowThreads(__tstate);
6655 if (PyErr_Occurred()) SWIG_fail;
6656 }
c32bde28 6657 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
6658 return resultobj;
6659 fail:
6660 return NULL;
6661}
6662
6663
c32bde28 6664static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6665 PyObject *resultobj;
6666 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6667 int arg2 ;
6668 int arg3 ;
6669 int arg4 = (int) 5 ;
6670 bool result;
6671 PyObject * obj0 = 0 ;
6672 PyObject * obj1 = 0 ;
6673 PyObject * obj2 = 0 ;
6674 PyObject * obj3 = 0 ;
6675 char *kwnames[] = {
6676 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6677 };
6678
6679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6682 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 6683 if (PyErr_Occurred()) SWIG_fail;
c32bde28 6684 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
6685 if (PyErr_Occurred()) SWIG_fail;
6686 if (obj3) {
c32bde28 6687 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc
RD
6688 if (PyErr_Occurred()) SWIG_fail;
6689 }
6690 {
6691 PyThreadState* __tstate = wxPyBeginAllowThreads();
6692 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
6693
6694 wxPyEndAllowThreads(__tstate);
6695 if (PyErr_Occurred()) SWIG_fail;
6696 }
6697 {
6698 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6699 }
6700 return resultobj;
6701 fail:
6702 return NULL;
6703}
6704
6705
c32bde28 6706static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6707 PyObject *resultobj;
6708 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6709 PyObject * obj0 = 0 ;
6710 char *kwnames[] = {
6711 (char *) "self", NULL
6712 };
6713
6714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
6715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6717 {
6718 PyThreadState* __tstate = wxPyBeginAllowThreads();
6719 (arg1)->SizeWindows();
6720
6721 wxPyEndAllowThreads(__tstate);
6722 if (PyErr_Occurred()) SWIG_fail;
6723 }
6724 Py_INCREF(Py_None); resultobj = Py_None;
6725 return resultobj;
6726 fail:
6727 return NULL;
6728}
6729
6730
c32bde28 6731static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6732 PyObject *resultobj;
6733 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6734 bool arg2 ;
6735 PyObject * obj0 = 0 ;
6736 PyObject * obj1 = 0 ;
6737 char *kwnames[] = {
6738 (char *) "self",(char *) "needUpdating", NULL
6739 };
6740
6741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
6742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6744 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
6745 if (PyErr_Occurred()) SWIG_fail;
6746 {
6747 PyThreadState* __tstate = wxPyBeginAllowThreads();
6748 (arg1)->SetNeedUpdating(arg2);
6749
6750 wxPyEndAllowThreads(__tstate);
6751 if (PyErr_Occurred()) SWIG_fail;
6752 }
6753 Py_INCREF(Py_None); resultobj = Py_None;
6754 return resultobj;
6755 fail:
6756 return NULL;
6757}
6758
6759
c32bde28 6760static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6761 PyObject *resultobj;
6762 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6763 bool result;
6764 PyObject * obj0 = 0 ;
6765 char *kwnames[] = {
6766 (char *) "self", NULL
6767 };
6768
6769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
6770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6772 {
6773 PyThreadState* __tstate = wxPyBeginAllowThreads();
6774 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
6775
6776 wxPyEndAllowThreads(__tstate);
6777 if (PyErr_Occurred()) SWIG_fail;
6778 }
6779 {
6780 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6781 }
6782 return resultobj;
6783 fail:
6784 return NULL;
6785}
6786
6787
c32bde28 6788static PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f
RD
6789 PyObject *resultobj;
6790 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
6791 wxVisualAttributes result;
6792 PyObject * obj0 = 0 ;
6793 char *kwnames[] = {
6794 (char *) "variant", NULL
6795 };
6796
6797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6798 if (obj0) {
c32bde28 6799 arg1 = (int)SWIG_As_int(obj0);
f20a2e1f
RD
6800 if (PyErr_Occurred()) SWIG_fail;
6801 }
6802 {
0439c23b 6803 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
6804 PyThreadState* __tstate = wxPyBeginAllowThreads();
6805 result = wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
6806
6807 wxPyEndAllowThreads(__tstate);
110da5b0 6808 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
6809 }
6810 {
6811 wxVisualAttributes * resultptr;
6812 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
6813 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6814 }
6815 return resultobj;
6816 fail:
6817 return NULL;
6818}
6819
6820
c32bde28 6821static PyObject * SplitterWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6822 PyObject *obj;
6823 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6824 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
6825 Py_INCREF(obj);
6826 return Py_BuildValue((char *)"");
6827}
c32bde28 6828static PyObject *_wrap_new_SplitterEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6829 PyObject *resultobj;
6830 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
6831 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
6832 wxSplitterEvent *result;
6833 PyObject * obj0 = 0 ;
6834 PyObject * obj1 = 0 ;
6835 char *kwnames[] = {
6836 (char *) "type",(char *) "splitter", NULL
6837 };
6838
6839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
6840 if (obj0) {
c32bde28 6841 arg1 = (wxEventType)SWIG_As_int(obj0);
d55e5bfc
RD
6842 if (PyErr_Occurred()) SWIG_fail;
6843 }
6844 if (obj1) {
6845 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSplitterWindow,
6846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6847 }
6848 {
6849 PyThreadState* __tstate = wxPyBeginAllowThreads();
6850 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
6851
6852 wxPyEndAllowThreads(__tstate);
6853 if (PyErr_Occurred()) SWIG_fail;
6854 }
6855 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
6856 return resultobj;
6857 fail:
6858 return NULL;
6859}
6860
6861
c32bde28 6862static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6863 PyObject *resultobj;
6864 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6865 int arg2 ;
6866 PyObject * obj0 = 0 ;
6867 PyObject * obj1 = 0 ;
6868 char *kwnames[] = {
6869 (char *) "self",(char *) "pos", NULL
6870 };
6871
6872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
6873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6875 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
6876 if (PyErr_Occurred()) SWIG_fail;
6877 {
6878 PyThreadState* __tstate = wxPyBeginAllowThreads();
6879 (arg1)->SetSashPosition(arg2);
6880
6881 wxPyEndAllowThreads(__tstate);
6882 if (PyErr_Occurred()) SWIG_fail;
6883 }
6884 Py_INCREF(Py_None); resultobj = Py_None;
6885 return resultobj;
6886 fail:
6887 return NULL;
6888}
6889
6890
c32bde28 6891static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6892 PyObject *resultobj;
6893 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6894 int result;
6895 PyObject * obj0 = 0 ;
6896 char *kwnames[] = {
6897 (char *) "self", NULL
6898 };
6899
6900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
6901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6903 {
6904 PyThreadState* __tstate = wxPyBeginAllowThreads();
6905 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
6906
6907 wxPyEndAllowThreads(__tstate);
6908 if (PyErr_Occurred()) SWIG_fail;
6909 }
c32bde28 6910 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
6911 return resultobj;
6912 fail:
6913 return NULL;
6914}
6915
6916
c32bde28 6917static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6918 PyObject *resultobj;
6919 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6920 wxWindow *result;
6921 PyObject * obj0 = 0 ;
6922 char *kwnames[] = {
6923 (char *) "self", NULL
6924 };
6925
6926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
6927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6929 {
6930 PyThreadState* __tstate = wxPyBeginAllowThreads();
6931 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
6932
6933 wxPyEndAllowThreads(__tstate);
6934 if (PyErr_Occurred()) SWIG_fail;
6935 }
6936 {
412d302d 6937 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
6938 }
6939 return resultobj;
6940 fail:
6941 return NULL;
6942}
6943
6944
c32bde28 6945static PyObject *_wrap_SplitterEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6946 PyObject *resultobj;
6947 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6948 int result;
6949 PyObject * obj0 = 0 ;
6950 char *kwnames[] = {
6951 (char *) "self", NULL
6952 };
6953
6954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
6955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6957 {
6958 PyThreadState* __tstate = wxPyBeginAllowThreads();
6959 result = (int)((wxSplitterEvent const *)arg1)->GetX();
6960
6961 wxPyEndAllowThreads(__tstate);
6962 if (PyErr_Occurred()) SWIG_fail;
6963 }
c32bde28 6964 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
6965 return resultobj;
6966 fail:
6967 return NULL;
6968}
6969
6970
c32bde28 6971static PyObject *_wrap_SplitterEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6972 PyObject *resultobj;
6973 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6974 int result;
6975 PyObject * obj0 = 0 ;
6976 char *kwnames[] = {
6977 (char *) "self", NULL
6978 };
6979
6980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
6981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6983 {
6984 PyThreadState* __tstate = wxPyBeginAllowThreads();
6985 result = (int)((wxSplitterEvent const *)arg1)->GetY();
6986
6987 wxPyEndAllowThreads(__tstate);
6988 if (PyErr_Occurred()) SWIG_fail;
6989 }
c32bde28 6990 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
6991 return resultobj;
6992 fail:
6993 return NULL;
6994}
6995
6996
c32bde28 6997static PyObject * SplitterEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6998 PyObject *obj;
6999 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7000 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
7001 Py_INCREF(obj);
7002 return Py_BuildValue((char *)"");
7003}
c32bde28 7004static int _wrap_SashNameStr_set(PyObject *) {
d55e5bfc
RD
7005 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
7006 return 1;
7007}
7008
7009
7010static PyObject *_wrap_SashNameStr_get() {
7011 PyObject *pyobj;
7012
7013 {
7014#if wxUSE_UNICODE
7015 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
7016#else
7017 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
7018#endif
7019 }
7020 return pyobj;
7021}
7022
7023
c32bde28 7024static int _wrap_SashLayoutNameStr_set(PyObject *) {
d55e5bfc
RD
7025 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
7026 return 1;
7027}
7028
7029
7030static PyObject *_wrap_SashLayoutNameStr_get() {
7031 PyObject *pyobj;
7032
7033 {
7034#if wxUSE_UNICODE
7035 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
7036#else
7037 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
7038#endif
7039 }
7040 return pyobj;
7041}
7042
7043
c32bde28 7044static PyObject *_wrap_new_SashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7045 PyObject *resultobj;
7046 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 7047 int arg2 = (int) -1 ;
d55e5bfc
RD
7048 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7049 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7050 wxSize const &arg4_defvalue = wxDefaultSize ;
7051 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7052 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7053 wxString const &arg6_defvalue = wxPySashNameStr ;
7054 wxString *arg6 = (wxString *) &arg6_defvalue ;
7055 wxSashWindow *result;
7056 wxPoint temp3 ;
7057 wxSize temp4 ;
ae8162c8 7058 bool temp6 = false ;
d55e5bfc
RD
7059 PyObject * obj0 = 0 ;
7060 PyObject * obj1 = 0 ;
7061 PyObject * obj2 = 0 ;
7062 PyObject * obj3 = 0 ;
7063 PyObject * obj4 = 0 ;
7064 PyObject * obj5 = 0 ;
7065 char *kwnames[] = {
7066 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7067 };
7068
248ed943 7069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d55e5bfc
RD
7070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
7071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 7072 if (obj1) {
c32bde28 7073 arg2 = (int)SWIG_As_int(obj1);
248ed943
RD
7074 if (PyErr_Occurred()) SWIG_fail;
7075 }
d55e5bfc
RD
7076 if (obj2) {
7077 {
7078 arg3 = &temp3;
7079 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7080 }
7081 }
7082 if (obj3) {
7083 {
7084 arg4 = &temp4;
7085 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7086 }
7087 }
7088 if (obj4) {
c32bde28 7089 arg5 = (long)SWIG_As_long(obj4);
d55e5bfc
RD
7090 if (PyErr_Occurred()) SWIG_fail;
7091 }
7092 if (obj5) {
7093 {
7094 arg6 = wxString_in_helper(obj5);
7095 if (arg6 == NULL) SWIG_fail;
ae8162c8 7096 temp6 = true;
d55e5bfc
RD
7097 }
7098 }
7099 {
0439c23b 7100 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
7101 PyThreadState* __tstate = wxPyBeginAllowThreads();
7102 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7103
7104 wxPyEndAllowThreads(__tstate);
110da5b0 7105 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
7106 }
7107 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
7108 {
7109 if (temp6)
7110 delete arg6;
7111 }
7112 return resultobj;
7113 fail:
7114 {
7115 if (temp6)
7116 delete arg6;
7117 }
7118 return NULL;
7119}
7120
7121
c32bde28 7122static PyObject *_wrap_new_PreSashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7123 PyObject *resultobj;
7124 wxSashWindow *result;
7125 char *kwnames[] = {
7126 NULL
7127 };
7128
7129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
7130 {
0439c23b 7131 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
7132 PyThreadState* __tstate = wxPyBeginAllowThreads();
7133 result = (wxSashWindow *)new wxSashWindow();
7134
7135 wxPyEndAllowThreads(__tstate);
110da5b0 7136 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
7137 }
7138 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
7139 return resultobj;
7140 fail:
7141 return NULL;
7142}
7143
7144
c32bde28 7145static PyObject *_wrap_SashWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7146 PyObject *resultobj;
7147 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7148 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 7149 int arg3 = (int) -1 ;
d55e5bfc
RD
7150 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7151 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7152 wxSize const &arg5_defvalue = wxDefaultSize ;
7153 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7154 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7155 wxString const &arg7_defvalue = wxPySashNameStr ;
7156 wxString *arg7 = (wxString *) &arg7_defvalue ;
7157 bool result;
7158 wxPoint temp4 ;
7159 wxSize temp5 ;
ae8162c8 7160 bool temp7 = false ;
d55e5bfc
RD
7161 PyObject * obj0 = 0 ;
7162 PyObject * obj1 = 0 ;
7163 PyObject * obj2 = 0 ;
7164 PyObject * obj3 = 0 ;
7165 PyObject * obj4 = 0 ;
7166 PyObject * obj5 = 0 ;
7167 PyObject * obj6 = 0 ;
7168 char *kwnames[] = {
7169 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7170 };
7171
248ed943 7172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d55e5bfc
RD
7173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7175 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
7176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 7177 if (obj2) {
c32bde28 7178 arg3 = (int)SWIG_As_int(obj2);
248ed943
RD
7179 if (PyErr_Occurred()) SWIG_fail;
7180 }
d55e5bfc
RD
7181 if (obj3) {
7182 {
7183 arg4 = &temp4;
7184 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7185 }
7186 }
7187 if (obj4) {
7188 {
7189 arg5 = &temp5;
7190 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7191 }
7192 }
7193 if (obj5) {
c32bde28 7194 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
7195 if (PyErr_Occurred()) SWIG_fail;
7196 }
7197 if (obj6) {
7198 {
7199 arg7 = wxString_in_helper(obj6);
7200 if (arg7 == NULL) SWIG_fail;
ae8162c8 7201 temp7 = true;
d55e5bfc
RD
7202 }
7203 }
7204 {
7205 PyThreadState* __tstate = wxPyBeginAllowThreads();
7206 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7207
7208 wxPyEndAllowThreads(__tstate);
7209 if (PyErr_Occurred()) SWIG_fail;
7210 }
7211 {
7212 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7213 }
7214 {
7215 if (temp7)
7216 delete arg7;
7217 }
7218 return resultobj;
7219 fail:
7220 {
7221 if (temp7)
7222 delete arg7;
7223 }
7224 return NULL;
7225}
7226
7227
c32bde28 7228static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7229 PyObject *resultobj;
7230 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7231 int arg2 ;
7232 bool arg3 ;
7233 PyObject * obj0 = 0 ;
7234 PyObject * obj1 = 0 ;
7235 PyObject * obj2 = 0 ;
7236 char *kwnames[] = {
7237 (char *) "self",(char *) "edge",(char *) "sash", NULL
7238 };
7239
7240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
7241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7243 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 7244 if (PyErr_Occurred()) SWIG_fail;
c32bde28 7245 arg3 = (bool)SWIG_As_bool(obj2);
d55e5bfc
RD
7246 if (PyErr_Occurred()) SWIG_fail;
7247 {
7248 PyThreadState* __tstate = wxPyBeginAllowThreads();
7249 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
7250
7251 wxPyEndAllowThreads(__tstate);
7252 if (PyErr_Occurred()) SWIG_fail;
7253 }
7254 Py_INCREF(Py_None); resultobj = Py_None;
7255 return resultobj;
7256 fail:
7257 return NULL;
7258}
7259
7260
c32bde28 7261static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7262 PyObject *resultobj;
7263 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7264 int arg2 ;
7265 bool result;
7266 PyObject * obj0 = 0 ;
7267 PyObject * obj1 = 0 ;
7268 char *kwnames[] = {
7269 (char *) "self",(char *) "edge", NULL
7270 };
7271
7272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
7273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7275 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
7276 if (PyErr_Occurred()) SWIG_fail;
7277 {
7278 PyThreadState* __tstate = wxPyBeginAllowThreads();
7279 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
7280
7281 wxPyEndAllowThreads(__tstate);
7282 if (PyErr_Occurred()) SWIG_fail;
7283 }
7284 {
7285 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7286 }
7287 return resultobj;
7288 fail:
7289 return NULL;
7290}
7291
7292
c32bde28 7293static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7294 PyObject *resultobj;
7295 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7296 int arg2 ;
7297 bool arg3 ;
7298 PyObject * obj0 = 0 ;
7299 PyObject * obj1 = 0 ;
7300 PyObject * obj2 = 0 ;
7301 char *kwnames[] = {
7302 (char *) "self",(char *) "edge",(char *) "border", NULL
7303 };
7304
7305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
7306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7308 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 7309 if (PyErr_Occurred()) SWIG_fail;
c32bde28 7310 arg3 = (bool)SWIG_As_bool(obj2);
d55e5bfc
RD
7311 if (PyErr_Occurred()) SWIG_fail;
7312 {
7313 PyThreadState* __tstate = wxPyBeginAllowThreads();
7314 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
7315
7316 wxPyEndAllowThreads(__tstate);
7317 if (PyErr_Occurred()) SWIG_fail;
7318 }
7319 Py_INCREF(Py_None); resultobj = Py_None;
7320 return resultobj;
7321 fail:
7322 return NULL;
7323}
7324
7325
c32bde28 7326static PyObject *_wrap_SashWindow_HasBorder(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7327 PyObject *resultobj;
7328 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7329 int arg2 ;
7330 bool result;
7331 PyObject * obj0 = 0 ;
7332 PyObject * obj1 = 0 ;
7333 char *kwnames[] = {
7334 (char *) "self",(char *) "edge", NULL
7335 };
7336
7337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
7338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7340 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
7341 if (PyErr_Occurred()) SWIG_fail;
7342 {
7343 PyThreadState* __tstate = wxPyBeginAllowThreads();
7344 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
7345
7346 wxPyEndAllowThreads(__tstate);
7347 if (PyErr_Occurred()) SWIG_fail;
7348 }
7349 {
7350 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7351 }
7352 return resultobj;
7353 fail:
7354 return NULL;
7355}
7356
7357
c32bde28 7358static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7359 PyObject *resultobj;
7360 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7361 int arg2 ;
7362 int result;
7363 PyObject * obj0 = 0 ;
7364 PyObject * obj1 = 0 ;
7365 char *kwnames[] = {
7366 (char *) "self",(char *) "edge", NULL
7367 };
7368
7369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
7370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7372 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
7373 if (PyErr_Occurred()) SWIG_fail;
7374 {
7375 PyThreadState* __tstate = wxPyBeginAllowThreads();
7376 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
7377
7378 wxPyEndAllowThreads(__tstate);
7379 if (PyErr_Occurred()) SWIG_fail;
7380 }
c32bde28 7381 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
7382 return resultobj;
7383 fail:
7384 return NULL;
7385}
7386
7387
c32bde28 7388static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7389 PyObject *resultobj;
7390 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7391 int arg2 ;
7392 PyObject * obj0 = 0 ;
7393 PyObject * obj1 = 0 ;
7394 char *kwnames[] = {
7395 (char *) "self",(char *) "width", NULL
7396 };
7397
7398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
7399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7401 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
7402 if (PyErr_Occurred()) SWIG_fail;
7403 {
7404 PyThreadState* __tstate = wxPyBeginAllowThreads();
7405 (arg1)->SetDefaultBorderSize(arg2);
7406
7407 wxPyEndAllowThreads(__tstate);
7408 if (PyErr_Occurred()) SWIG_fail;
7409 }
7410 Py_INCREF(Py_None); resultobj = Py_None;
7411 return resultobj;
7412 fail:
7413 return NULL;
7414}
7415
7416
c32bde28 7417static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7418 PyObject *resultobj;
7419 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7420 int result;
7421 PyObject * obj0 = 0 ;
7422 char *kwnames[] = {
7423 (char *) "self", NULL
7424 };
7425
7426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
7427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7429 {
7430 PyThreadState* __tstate = wxPyBeginAllowThreads();
7431 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
7432
7433 wxPyEndAllowThreads(__tstate);
7434 if (PyErr_Occurred()) SWIG_fail;
7435 }
c32bde28 7436 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
7437 return resultobj;
7438 fail:
7439 return NULL;
7440}
7441
7442
c32bde28 7443static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7444 PyObject *resultobj;
7445 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7446 int arg2 ;
7447 PyObject * obj0 = 0 ;
7448 PyObject * obj1 = 0 ;
7449 char *kwnames[] = {
7450 (char *) "self",(char *) "width", NULL
7451 };
7452
7453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
7454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7456 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
7457 if (PyErr_Occurred()) SWIG_fail;
7458 {
7459 PyThreadState* __tstate = wxPyBeginAllowThreads();
7460 (arg1)->SetExtraBorderSize(arg2);
7461
7462 wxPyEndAllowThreads(__tstate);
7463 if (PyErr_Occurred()) SWIG_fail;
7464 }
7465 Py_INCREF(Py_None); resultobj = Py_None;
7466 return resultobj;
7467 fail:
7468 return NULL;
7469}
7470
7471
c32bde28 7472static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7473 PyObject *resultobj;
7474 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7475 int result;
7476 PyObject * obj0 = 0 ;
7477 char *kwnames[] = {
7478 (char *) "self", NULL
7479 };
7480
7481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
7482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7484 {
7485 PyThreadState* __tstate = wxPyBeginAllowThreads();
7486 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
7487
7488 wxPyEndAllowThreads(__tstate);
7489 if (PyErr_Occurred()) SWIG_fail;
7490 }
c32bde28 7491 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
7492 return resultobj;
7493 fail:
7494 return NULL;
7495}
7496
7497
c32bde28 7498static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7499 PyObject *resultobj;
7500 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7501 int arg2 ;
7502 PyObject * obj0 = 0 ;
7503 PyObject * obj1 = 0 ;
7504 char *kwnames[] = {
7505 (char *) "self",(char *) "min", NULL
7506 };
7507
7508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
7509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7511 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
7512 if (PyErr_Occurred()) SWIG_fail;
7513 {
7514 PyThreadState* __tstate = wxPyBeginAllowThreads();
7515 (arg1)->SetMinimumSizeX(arg2);
7516
7517 wxPyEndAllowThreads(__tstate);
7518 if (PyErr_Occurred()) SWIG_fail;
7519 }
7520 Py_INCREF(Py_None); resultobj = Py_None;
7521 return resultobj;
7522 fail:
7523 return NULL;
7524}
7525
7526
c32bde28 7527static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7528 PyObject *resultobj;
7529 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7530 int arg2 ;
7531 PyObject * obj0 = 0 ;
7532 PyObject * obj1 = 0 ;
7533 char *kwnames[] = {
7534 (char *) "self",(char *) "min", NULL
7535 };
7536
7537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
7538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7540 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
7541 if (PyErr_Occurred()) SWIG_fail;
7542 {
7543 PyThreadState* __tstate = wxPyBeginAllowThreads();
7544 (arg1)->SetMinimumSizeY(arg2);
7545
7546 wxPyEndAllowThreads(__tstate);
7547 if (PyErr_Occurred()) SWIG_fail;
7548 }
7549 Py_INCREF(Py_None); resultobj = Py_None;
7550 return resultobj;
7551 fail:
7552 return NULL;
7553}
7554
7555
c32bde28 7556static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7557 PyObject *resultobj;
7558 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7559 int result;
7560 PyObject * obj0 = 0 ;
7561 char *kwnames[] = {
7562 (char *) "self", NULL
7563 };
7564
7565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
7566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7568 {
7569 PyThreadState* __tstate = wxPyBeginAllowThreads();
7570 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
7571
7572 wxPyEndAllowThreads(__tstate);
7573 if (PyErr_Occurred()) SWIG_fail;
7574 }
c32bde28 7575 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
7576 return resultobj;
7577 fail:
7578 return NULL;
7579}
7580
7581
c32bde28 7582static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7583 PyObject *resultobj;
7584 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7585 int result;
7586 PyObject * obj0 = 0 ;
7587 char *kwnames[] = {
7588 (char *) "self", NULL
7589 };
7590
7591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
7592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7594 {
7595 PyThreadState* __tstate = wxPyBeginAllowThreads();
7596 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
7597
7598 wxPyEndAllowThreads(__tstate);
7599 if (PyErr_Occurred()) SWIG_fail;
7600 }
c32bde28 7601 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
7602 return resultobj;
7603 fail:
7604 return NULL;
7605}
7606
7607
c32bde28 7608static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7609 PyObject *resultobj;
7610 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7611 int arg2 ;
7612 PyObject * obj0 = 0 ;
7613 PyObject * obj1 = 0 ;
7614 char *kwnames[] = {
7615 (char *) "self",(char *) "max", NULL
7616 };
7617
7618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
7619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7621 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
7622 if (PyErr_Occurred()) SWIG_fail;
7623 {
7624 PyThreadState* __tstate = wxPyBeginAllowThreads();
7625 (arg1)->SetMaximumSizeX(arg2);
7626
7627 wxPyEndAllowThreads(__tstate);
7628 if (PyErr_Occurred()) SWIG_fail;
7629 }
7630 Py_INCREF(Py_None); resultobj = Py_None;
7631 return resultobj;
7632 fail:
7633 return NULL;
7634}
7635
7636
c32bde28 7637static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7638 PyObject *resultobj;
7639 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7640 int arg2 ;
7641 PyObject * obj0 = 0 ;
7642 PyObject * obj1 = 0 ;
7643 char *kwnames[] = {
7644 (char *) "self",(char *) "max", NULL
7645 };
7646
7647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
7648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7650 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
7651 if (PyErr_Occurred()) SWIG_fail;
7652 {
7653 PyThreadState* __tstate = wxPyBeginAllowThreads();
7654 (arg1)->SetMaximumSizeY(arg2);
7655
7656 wxPyEndAllowThreads(__tstate);
7657 if (PyErr_Occurred()) SWIG_fail;
7658 }
7659 Py_INCREF(Py_None); resultobj = Py_None;
7660 return resultobj;
7661 fail:
7662 return NULL;
7663}
7664
7665
c32bde28 7666static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7667 PyObject *resultobj;
7668 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7669 int result;
7670 PyObject * obj0 = 0 ;
7671 char *kwnames[] = {
7672 (char *) "self", NULL
7673 };
7674
7675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
7676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7678 {
7679 PyThreadState* __tstate = wxPyBeginAllowThreads();
7680 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
7681
7682 wxPyEndAllowThreads(__tstate);
7683 if (PyErr_Occurred()) SWIG_fail;
7684 }
c32bde28 7685 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
7686 return resultobj;
7687 fail:
7688 return NULL;
7689}
7690
7691
c32bde28 7692static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7693 PyObject *resultobj;
7694 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7695 int result;
7696 PyObject * obj0 = 0 ;
7697 char *kwnames[] = {
7698 (char *) "self", NULL
7699 };
7700
7701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
7702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7704 {
7705 PyThreadState* __tstate = wxPyBeginAllowThreads();
7706 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
7707
7708 wxPyEndAllowThreads(__tstate);
7709 if (PyErr_Occurred()) SWIG_fail;
7710 }
c32bde28 7711 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
7712 return resultobj;
7713 fail:
7714 return NULL;
7715}
7716
7717
c32bde28 7718static PyObject *_wrap_SashWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7719 PyObject *resultobj;
7720 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7721 int arg2 ;
7722 int arg3 ;
7723 int arg4 = (int) 2 ;
7724 int result;
7725 PyObject * obj0 = 0 ;
7726 PyObject * obj1 = 0 ;
7727 PyObject * obj2 = 0 ;
7728 PyObject * obj3 = 0 ;
7729 char *kwnames[] = {
7730 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7731 };
7732
7733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7736 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 7737 if (PyErr_Occurred()) SWIG_fail;
c32bde28 7738 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
7739 if (PyErr_Occurred()) SWIG_fail;
7740 if (obj3) {
c32bde28 7741 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc
RD
7742 if (PyErr_Occurred()) SWIG_fail;
7743 }
7744 {
7745 PyThreadState* __tstate = wxPyBeginAllowThreads();
7746 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
7747
7748 wxPyEndAllowThreads(__tstate);
7749 if (PyErr_Occurred()) SWIG_fail;
7750 }
c32bde28 7751 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
7752 return resultobj;
7753 fail:
7754 return NULL;
7755}
7756
7757
c32bde28 7758static PyObject *_wrap_SashWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7759 PyObject *resultobj;
7760 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7761 PyObject * obj0 = 0 ;
7762 char *kwnames[] = {
7763 (char *) "self", NULL
7764 };
7765
7766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
7767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7769 {
7770 PyThreadState* __tstate = wxPyBeginAllowThreads();
7771 (arg1)->SizeWindows();
7772
7773 wxPyEndAllowThreads(__tstate);
7774 if (PyErr_Occurred()) SWIG_fail;
7775 }
7776 Py_INCREF(Py_None); resultobj = Py_None;
7777 return resultobj;
7778 fail:
7779 return NULL;
7780}
7781
7782
c32bde28 7783static PyObject * SashWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
7784 PyObject *obj;
7785 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7786 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
7787 Py_INCREF(obj);
7788 return Py_BuildValue((char *)"");
7789}
c32bde28 7790static PyObject *_wrap_new_SashEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7791 PyObject *resultobj;
7792 int arg1 = (int) 0 ;
7793 int arg2 = (int) wxSASH_NONE ;
7794 wxSashEvent *result;
7795 PyObject * obj0 = 0 ;
7796 PyObject * obj1 = 0 ;
7797 char *kwnames[] = {
7798 (char *) "id",(char *) "edge", NULL
7799 };
7800
7801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
7802 if (obj0) {
c32bde28 7803 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
7804 if (PyErr_Occurred()) SWIG_fail;
7805 }
7806 if (obj1) {
c32bde28 7807 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
7808 if (PyErr_Occurred()) SWIG_fail;
7809 }
7810 {
7811 PyThreadState* __tstate = wxPyBeginAllowThreads();
7812 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
7813
7814 wxPyEndAllowThreads(__tstate);
7815 if (PyErr_Occurred()) SWIG_fail;
7816 }
7817 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
7818 return resultobj;
7819 fail:
7820 return NULL;
7821}
7822
7823
c32bde28 7824static PyObject *_wrap_SashEvent_SetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7825 PyObject *resultobj;
7826 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7827 int arg2 ;
7828 PyObject * obj0 = 0 ;
7829 PyObject * obj1 = 0 ;
7830 char *kwnames[] = {
7831 (char *) "self",(char *) "edge", NULL
7832 };
7833
7834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
7835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7837 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
7838 if (PyErr_Occurred()) SWIG_fail;
7839 {
7840 PyThreadState* __tstate = wxPyBeginAllowThreads();
7841 (arg1)->SetEdge((wxSashEdgePosition )arg2);
7842
7843 wxPyEndAllowThreads(__tstate);
7844 if (PyErr_Occurred()) SWIG_fail;
7845 }
7846 Py_INCREF(Py_None); resultobj = Py_None;
7847 return resultobj;
7848 fail:
7849 return NULL;
7850}
7851
7852
c32bde28 7853static PyObject *_wrap_SashEvent_GetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7854 PyObject *resultobj;
7855 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7856 int result;
7857 PyObject * obj0 = 0 ;
7858 char *kwnames[] = {
7859 (char *) "self", NULL
7860 };
7861
7862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
7863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7865 {
7866 PyThreadState* __tstate = wxPyBeginAllowThreads();
7867 result = (int)((wxSashEvent const *)arg1)->GetEdge();
7868
7869 wxPyEndAllowThreads(__tstate);
7870 if (PyErr_Occurred()) SWIG_fail;
7871 }
c32bde28 7872 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
7873 return resultobj;
7874 fail:
7875 return NULL;
7876}
7877
7878
c32bde28 7879static PyObject *_wrap_SashEvent_SetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7880 PyObject *resultobj;
7881 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7882 wxRect *arg2 = 0 ;
7883 wxRect temp2 ;
7884 PyObject * obj0 = 0 ;
7885 PyObject * obj1 = 0 ;
7886 char *kwnames[] = {
7887 (char *) "self",(char *) "rect", NULL
7888 };
7889
7890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
7891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7893 {
7894 arg2 = &temp2;
7895 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7896 }
7897 {
7898 PyThreadState* __tstate = wxPyBeginAllowThreads();
7899 (arg1)->SetDragRect((wxRect const &)*arg2);
7900
7901 wxPyEndAllowThreads(__tstate);
7902 if (PyErr_Occurred()) SWIG_fail;
7903 }
7904 Py_INCREF(Py_None); resultobj = Py_None;
7905 return resultobj;
7906 fail:
7907 return NULL;
7908}
7909
7910
c32bde28 7911static PyObject *_wrap_SashEvent_GetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7912 PyObject *resultobj;
7913 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7914 wxRect result;
7915 PyObject * obj0 = 0 ;
7916 char *kwnames[] = {
7917 (char *) "self", NULL
7918 };
7919
7920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
7921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7923 {
7924 PyThreadState* __tstate = wxPyBeginAllowThreads();
7925 result = ((wxSashEvent const *)arg1)->GetDragRect();
7926
7927 wxPyEndAllowThreads(__tstate);
7928 if (PyErr_Occurred()) SWIG_fail;
7929 }
7930 {
7931 wxRect * resultptr;
7932 resultptr = new wxRect((wxRect &) result);
7933 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7934 }
7935 return resultobj;
7936 fail:
7937 return NULL;
7938}
7939
7940
c32bde28 7941static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7942 PyObject *resultobj;
7943 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7944 int arg2 ;
7945 PyObject * obj0 = 0 ;
7946 PyObject * obj1 = 0 ;
7947 char *kwnames[] = {
7948 (char *) "self",(char *) "status", NULL
7949 };
7950
7951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
7952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 7954 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
7955 if (PyErr_Occurred()) SWIG_fail;
7956 {
7957 PyThreadState* __tstate = wxPyBeginAllowThreads();
7958 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
7959
7960 wxPyEndAllowThreads(__tstate);
7961 if (PyErr_Occurred()) SWIG_fail;
7962 }
7963 Py_INCREF(Py_None); resultobj = Py_None;
7964 return resultobj;
7965 fail:
7966 return NULL;
7967}
7968
7969
c32bde28 7970static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7971 PyObject *resultobj;
7972 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7973 int result;
7974 PyObject * obj0 = 0 ;
7975 char *kwnames[] = {
7976 (char *) "self", NULL
7977 };
7978
7979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
7980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7982 {
7983 PyThreadState* __tstate = wxPyBeginAllowThreads();
7984 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
7985
7986 wxPyEndAllowThreads(__tstate);
7987 if (PyErr_Occurred()) SWIG_fail;
7988 }
c32bde28 7989 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
7990 return resultobj;
7991 fail:
7992 return NULL;
7993}
7994
7995
c32bde28 7996static PyObject * SashEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
7997 PyObject *obj;
7998 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7999 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
8000 Py_INCREF(obj);
8001 return Py_BuildValue((char *)"");
8002}
c32bde28 8003static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8004 PyObject *resultobj;
8005 int arg1 = (int) 0 ;
8006 wxQueryLayoutInfoEvent *result;
8007 PyObject * obj0 = 0 ;
8008 char *kwnames[] = {
8009 (char *) "id", NULL
8010 };
8011
8012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
8013 if (obj0) {
c32bde28 8014 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
8015 if (PyErr_Occurred()) SWIG_fail;
8016 }
8017 {
8018 PyThreadState* __tstate = wxPyBeginAllowThreads();
8019 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
8020
8021 wxPyEndAllowThreads(__tstate);
8022 if (PyErr_Occurred()) SWIG_fail;
8023 }
8024 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
8025 return resultobj;
8026 fail:
8027 return NULL;
8028}
8029
8030
c32bde28 8031static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8032 PyObject *resultobj;
8033 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8034 int arg2 ;
8035 PyObject * obj0 = 0 ;
8036 PyObject * obj1 = 0 ;
8037 char *kwnames[] = {
8038 (char *) "self",(char *) "length", NULL
8039 };
8040
8041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
8042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 8044 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
8045 if (PyErr_Occurred()) SWIG_fail;
8046 {
8047 PyThreadState* __tstate = wxPyBeginAllowThreads();
8048 (arg1)->SetRequestedLength(arg2);
8049
8050 wxPyEndAllowThreads(__tstate);
8051 if (PyErr_Occurred()) SWIG_fail;
8052 }
8053 Py_INCREF(Py_None); resultobj = Py_None;
8054 return resultobj;
8055 fail:
8056 return NULL;
8057}
8058
8059
c32bde28 8060static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8061 PyObject *resultobj;
8062 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8063 int result;
8064 PyObject * obj0 = 0 ;
8065 char *kwnames[] = {
8066 (char *) "self", NULL
8067 };
8068
8069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
8070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8072 {
8073 PyThreadState* __tstate = wxPyBeginAllowThreads();
8074 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
8075
8076 wxPyEndAllowThreads(__tstate);
8077 if (PyErr_Occurred()) SWIG_fail;
8078 }
c32bde28 8079 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
8080 return resultobj;
8081 fail:
8082 return NULL;
8083}
8084
8085
c32bde28 8086static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8087 PyObject *resultobj;
8088 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8089 int arg2 ;
8090 PyObject * obj0 = 0 ;
8091 PyObject * obj1 = 0 ;
8092 char *kwnames[] = {
8093 (char *) "self",(char *) "flags", NULL
8094 };
8095
8096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
8097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 8099 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
8100 if (PyErr_Occurred()) SWIG_fail;
8101 {
8102 PyThreadState* __tstate = wxPyBeginAllowThreads();
8103 (arg1)->SetFlags(arg2);
8104
8105 wxPyEndAllowThreads(__tstate);
8106 if (PyErr_Occurred()) SWIG_fail;
8107 }
8108 Py_INCREF(Py_None); resultobj = Py_None;
8109 return resultobj;
8110 fail:
8111 return NULL;
8112}
8113
8114
c32bde28 8115static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8116 PyObject *resultobj;
8117 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8118 int result;
8119 PyObject * obj0 = 0 ;
8120 char *kwnames[] = {
8121 (char *) "self", NULL
8122 };
8123
8124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
8125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8127 {
8128 PyThreadState* __tstate = wxPyBeginAllowThreads();
8129 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
8130
8131 wxPyEndAllowThreads(__tstate);
8132 if (PyErr_Occurred()) SWIG_fail;
8133 }
c32bde28 8134 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
8135 return resultobj;
8136 fail:
8137 return NULL;
8138}
8139
8140
c32bde28 8141static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8142 PyObject *resultobj;
8143 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8144 wxSize *arg2 = 0 ;
8145 wxSize temp2 ;
8146 PyObject * obj0 = 0 ;
8147 PyObject * obj1 = 0 ;
8148 char *kwnames[] = {
8149 (char *) "self",(char *) "size", NULL
8150 };
8151
8152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
8153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8155 {
8156 arg2 = &temp2;
8157 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
8158 }
8159 {
8160 PyThreadState* __tstate = wxPyBeginAllowThreads();
8161 (arg1)->SetSize((wxSize const &)*arg2);
8162
8163 wxPyEndAllowThreads(__tstate);
8164 if (PyErr_Occurred()) SWIG_fail;
8165 }
8166 Py_INCREF(Py_None); resultobj = Py_None;
8167 return resultobj;
8168 fail:
8169 return NULL;
8170}
8171
8172
c32bde28 8173static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8174 PyObject *resultobj;
8175 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8176 wxSize result;
8177 PyObject * obj0 = 0 ;
8178 char *kwnames[] = {
8179 (char *) "self", NULL
8180 };
8181
8182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
8183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8185 {
8186 PyThreadState* __tstate = wxPyBeginAllowThreads();
8187 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
8188
8189 wxPyEndAllowThreads(__tstate);
8190 if (PyErr_Occurred()) SWIG_fail;
8191 }
8192 {
8193 wxSize * resultptr;
8194 resultptr = new wxSize((wxSize &) result);
8195 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
8196 }
8197 return resultobj;
8198 fail:
8199 return NULL;
8200}
8201
8202
c32bde28 8203static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8204 PyObject *resultobj;
8205 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8206 int arg2 ;
8207 PyObject * obj0 = 0 ;
8208 PyObject * obj1 = 0 ;
8209 char *kwnames[] = {
8210 (char *) "self",(char *) "orient", NULL
8211 };
8212
8213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
8214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 8216 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
8217 if (PyErr_Occurred()) SWIG_fail;
8218 {
8219 PyThreadState* __tstate = wxPyBeginAllowThreads();
8220 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8221
8222 wxPyEndAllowThreads(__tstate);
8223 if (PyErr_Occurred()) SWIG_fail;
8224 }
8225 Py_INCREF(Py_None); resultobj = Py_None;
8226 return resultobj;
8227 fail:
8228 return NULL;
8229}
8230
8231
c32bde28 8232static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8233 PyObject *resultobj;
8234 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8235 int result;
8236 PyObject * obj0 = 0 ;
8237 char *kwnames[] = {
8238 (char *) "self", NULL
8239 };
8240
8241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
8242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8244 {
8245 PyThreadState* __tstate = wxPyBeginAllowThreads();
8246 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
8247
8248 wxPyEndAllowThreads(__tstate);
8249 if (PyErr_Occurred()) SWIG_fail;
8250 }
c32bde28 8251 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
8252 return resultobj;
8253 fail:
8254 return NULL;
8255}
8256
8257
c32bde28 8258static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8259 PyObject *resultobj;
8260 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8261 int arg2 ;
8262 PyObject * obj0 = 0 ;
8263 PyObject * obj1 = 0 ;
8264 char *kwnames[] = {
8265 (char *) "self",(char *) "align", NULL
8266 };
8267
8268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 8271 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
8272 if (PyErr_Occurred()) SWIG_fail;
8273 {
8274 PyThreadState* __tstate = wxPyBeginAllowThreads();
8275 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
8276
8277 wxPyEndAllowThreads(__tstate);
8278 if (PyErr_Occurred()) SWIG_fail;
8279 }
8280 Py_INCREF(Py_None); resultobj = Py_None;
8281 return resultobj;
8282 fail:
8283 return NULL;
8284}
8285
8286
c32bde28 8287static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8288 PyObject *resultobj;
8289 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8290 int result;
8291 PyObject * obj0 = 0 ;
8292 char *kwnames[] = {
8293 (char *) "self", NULL
8294 };
8295
8296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
8297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8299 {
8300 PyThreadState* __tstate = wxPyBeginAllowThreads();
8301 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
8302
8303 wxPyEndAllowThreads(__tstate);
8304 if (PyErr_Occurred()) SWIG_fail;
8305 }
c32bde28 8306 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
8307 return resultobj;
8308 fail:
8309 return NULL;
8310}
8311
8312
c32bde28 8313static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8314 PyObject *obj;
8315 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8316 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
8317 Py_INCREF(obj);
8318 return Py_BuildValue((char *)"");
8319}
c32bde28 8320static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8321 PyObject *resultobj;
8322 int arg1 = (int) 0 ;
8323 wxCalculateLayoutEvent *result;
8324 PyObject * obj0 = 0 ;
8325 char *kwnames[] = {
8326 (char *) "id", NULL
8327 };
8328
8329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
8330 if (obj0) {
c32bde28 8331 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
8332 if (PyErr_Occurred()) SWIG_fail;
8333 }
8334 {
8335 PyThreadState* __tstate = wxPyBeginAllowThreads();
8336 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
8337
8338 wxPyEndAllowThreads(__tstate);
8339 if (PyErr_Occurred()) SWIG_fail;
8340 }
8341 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
8342 return resultobj;
8343 fail:
8344 return NULL;
8345}
8346
8347
c32bde28 8348static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8349 PyObject *resultobj;
8350 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8351 int arg2 ;
8352 PyObject * obj0 = 0 ;
8353 PyObject * obj1 = 0 ;
8354 char *kwnames[] = {
8355 (char *) "self",(char *) "flags", NULL
8356 };
8357
8358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
8359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 8361 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
8362 if (PyErr_Occurred()) SWIG_fail;
8363 {
8364 PyThreadState* __tstate = wxPyBeginAllowThreads();
8365 (arg1)->SetFlags(arg2);
8366
8367 wxPyEndAllowThreads(__tstate);
8368 if (PyErr_Occurred()) SWIG_fail;
8369 }
8370 Py_INCREF(Py_None); resultobj = Py_None;
8371 return resultobj;
8372 fail:
8373 return NULL;
8374}
8375
8376
c32bde28 8377static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8378 PyObject *resultobj;
8379 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8380 int result;
8381 PyObject * obj0 = 0 ;
8382 char *kwnames[] = {
8383 (char *) "self", NULL
8384 };
8385
8386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
8387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8389 {
8390 PyThreadState* __tstate = wxPyBeginAllowThreads();
8391 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
8392
8393 wxPyEndAllowThreads(__tstate);
8394 if (PyErr_Occurred()) SWIG_fail;
8395 }
c32bde28 8396 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
8397 return resultobj;
8398 fail:
8399 return NULL;
8400}
8401
8402
c32bde28 8403static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8404 PyObject *resultobj;
8405 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8406 wxRect *arg2 = 0 ;
8407 wxRect temp2 ;
8408 PyObject * obj0 = 0 ;
8409 PyObject * obj1 = 0 ;
8410 char *kwnames[] = {
8411 (char *) "self",(char *) "rect", NULL
8412 };
8413
8414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
8415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8417 {
8418 arg2 = &temp2;
8419 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8420 }
8421 {
8422 PyThreadState* __tstate = wxPyBeginAllowThreads();
8423 (arg1)->SetRect((wxRect const &)*arg2);
8424
8425 wxPyEndAllowThreads(__tstate);
8426 if (PyErr_Occurred()) SWIG_fail;
8427 }
8428 Py_INCREF(Py_None); resultobj = Py_None;
8429 return resultobj;
8430 fail:
8431 return NULL;
8432}
8433
8434
c32bde28 8435static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8436 PyObject *resultobj;
8437 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8438 wxRect result;
8439 PyObject * obj0 = 0 ;
8440 char *kwnames[] = {
8441 (char *) "self", NULL
8442 };
8443
8444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
8445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8447 {
8448 PyThreadState* __tstate = wxPyBeginAllowThreads();
8449 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
8450
8451 wxPyEndAllowThreads(__tstate);
8452 if (PyErr_Occurred()) SWIG_fail;
8453 }
8454 {
8455 wxRect * resultptr;
8456 resultptr = new wxRect((wxRect &) result);
8457 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
8458 }
8459 return resultobj;
8460 fail:
8461 return NULL;
8462}
8463
8464
c32bde28 8465static PyObject * CalculateLayoutEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8466 PyObject *obj;
8467 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8468 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
8469 Py_INCREF(obj);
8470 return Py_BuildValue((char *)"");
8471}
c32bde28 8472static PyObject *_wrap_new_SashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8473 PyObject *resultobj;
8474 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 8475 int arg2 = (int) -1 ;
d55e5bfc
RD
8476 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8477 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8478 wxSize const &arg4_defvalue = wxDefaultSize ;
8479 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8480 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8481 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
8482 wxString *arg6 = (wxString *) &arg6_defvalue ;
8483 wxSashLayoutWindow *result;
8484 wxPoint temp3 ;
8485 wxSize temp4 ;
ae8162c8 8486 bool temp6 = false ;
d55e5bfc
RD
8487 PyObject * obj0 = 0 ;
8488 PyObject * obj1 = 0 ;
8489 PyObject * obj2 = 0 ;
8490 PyObject * obj3 = 0 ;
8491 PyObject * obj4 = 0 ;
8492 PyObject * obj5 = 0 ;
8493 char *kwnames[] = {
8494 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8495 };
8496
248ed943 8497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d55e5bfc
RD
8498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 8500 if (obj1) {
c32bde28 8501 arg2 = (int)SWIG_As_int(obj1);
248ed943
RD
8502 if (PyErr_Occurred()) SWIG_fail;
8503 }
d55e5bfc
RD
8504 if (obj2) {
8505 {
8506 arg3 = &temp3;
8507 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8508 }
8509 }
8510 if (obj3) {
8511 {
8512 arg4 = &temp4;
8513 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8514 }
8515 }
8516 if (obj4) {
c32bde28 8517 arg5 = (long)SWIG_As_long(obj4);
d55e5bfc
RD
8518 if (PyErr_Occurred()) SWIG_fail;
8519 }
8520 if (obj5) {
8521 {
8522 arg6 = wxString_in_helper(obj5);
8523 if (arg6 == NULL) SWIG_fail;
ae8162c8 8524 temp6 = true;
d55e5bfc
RD
8525 }
8526 }
8527 {
0439c23b 8528 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
8529 PyThreadState* __tstate = wxPyBeginAllowThreads();
8530 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8531
8532 wxPyEndAllowThreads(__tstate);
110da5b0 8533 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
8534 }
8535 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
8536 {
8537 if (temp6)
8538 delete arg6;
8539 }
8540 return resultobj;
8541 fail:
8542 {
8543 if (temp6)
8544 delete arg6;
8545 }
8546 return NULL;
8547}
8548
8549
c32bde28 8550static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8551 PyObject *resultobj;
8552 wxSashLayoutWindow *result;
8553 char *kwnames[] = {
8554 NULL
8555 };
8556
8557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
8558 {
0439c23b 8559 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
8560 PyThreadState* __tstate = wxPyBeginAllowThreads();
8561 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
8562
8563 wxPyEndAllowThreads(__tstate);
110da5b0 8564 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
8565 }
8566 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
8567 return resultobj;
8568 fail:
8569 return NULL;
8570}
8571
8572
c32bde28 8573static PyObject *_wrap_SashLayoutWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8574 PyObject *resultobj;
8575 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8576 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 8577 int arg3 = (int) -1 ;
d55e5bfc
RD
8578 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8579 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8580 wxSize const &arg5_defvalue = wxDefaultSize ;
8581 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8582 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8583 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
8584 wxString *arg7 = (wxString *) &arg7_defvalue ;
8585 bool result;
8586 wxPoint temp4 ;
8587 wxSize temp5 ;
ae8162c8 8588 bool temp7 = false ;
d55e5bfc
RD
8589 PyObject * obj0 = 0 ;
8590 PyObject * obj1 = 0 ;
8591 PyObject * obj2 = 0 ;
8592 PyObject * obj3 = 0 ;
8593 PyObject * obj4 = 0 ;
8594 PyObject * obj5 = 0 ;
8595 PyObject * obj6 = 0 ;
8596 char *kwnames[] = {
8597 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8598 };
8599
248ed943 8600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d55e5bfc
RD
8601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8603 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 8605 if (obj2) {
c32bde28 8606 arg3 = (int)SWIG_As_int(obj2);
248ed943
RD
8607 if (PyErr_Occurred()) SWIG_fail;
8608 }
d55e5bfc
RD
8609 if (obj3) {
8610 {
8611 arg4 = &temp4;
8612 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8613 }
8614 }
8615 if (obj4) {
8616 {
8617 arg5 = &temp5;
8618 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8619 }
8620 }
8621 if (obj5) {
c32bde28 8622 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
8623 if (PyErr_Occurred()) SWIG_fail;
8624 }
8625 if (obj6) {
8626 {
8627 arg7 = wxString_in_helper(obj6);
8628 if (arg7 == NULL) SWIG_fail;
ae8162c8 8629 temp7 = true;
d55e5bfc
RD
8630 }
8631 }
8632 {
8633 PyThreadState* __tstate = wxPyBeginAllowThreads();
8634 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8635
8636 wxPyEndAllowThreads(__tstate);
8637 if (PyErr_Occurred()) SWIG_fail;
8638 }
8639 {
8640 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8641 }
8642 {
8643 if (temp7)
8644 delete arg7;
8645 }
8646 return resultobj;
8647 fail:
8648 {
8649 if (temp7)
8650 delete arg7;
8651 }
8652 return NULL;
8653}
8654
8655
c32bde28 8656static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8657 PyObject *resultobj;
8658 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8659 int result;
8660 PyObject * obj0 = 0 ;
8661 char *kwnames[] = {
8662 (char *) "self", NULL
8663 };
8664
8665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
8666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8668 {
8669 PyThreadState* __tstate = wxPyBeginAllowThreads();
8670 result = (int)(arg1)->GetAlignment();
8671
8672 wxPyEndAllowThreads(__tstate);
8673 if (PyErr_Occurred()) SWIG_fail;
8674 }
c32bde28 8675 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
8676 return resultobj;
8677 fail:
8678 return NULL;
8679}
8680
8681
c32bde28 8682static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8683 PyObject *resultobj;
8684 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8685 int result;
8686 PyObject * obj0 = 0 ;
8687 char *kwnames[] = {
8688 (char *) "self", NULL
8689 };
8690
8691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
8692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8694 {
8695 PyThreadState* __tstate = wxPyBeginAllowThreads();
8696 result = (int)(arg1)->GetOrientation();
8697
8698 wxPyEndAllowThreads(__tstate);
8699 if (PyErr_Occurred()) SWIG_fail;
8700 }
c32bde28 8701 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
8702 return resultobj;
8703 fail:
8704 return NULL;
8705}
8706
8707
c32bde28 8708static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8709 PyObject *resultobj;
8710 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8711 int arg2 ;
8712 PyObject * obj0 = 0 ;
8713 PyObject * obj1 = 0 ;
8714 char *kwnames[] = {
8715 (char *) "self",(char *) "alignment", NULL
8716 };
8717
8718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 8721 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
8722 if (PyErr_Occurred()) SWIG_fail;
8723 {
8724 PyThreadState* __tstate = wxPyBeginAllowThreads();
8725 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
8726
8727 wxPyEndAllowThreads(__tstate);
8728 if (PyErr_Occurred()) SWIG_fail;
8729 }
8730 Py_INCREF(Py_None); resultobj = Py_None;
8731 return resultobj;
8732 fail:
8733 return NULL;
8734}
8735
8736
c32bde28 8737static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8738 PyObject *resultobj;
8739 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8740 wxSize *arg2 = 0 ;
8741 wxSize temp2 ;
8742 PyObject * obj0 = 0 ;
8743 PyObject * obj1 = 0 ;
8744 char *kwnames[] = {
8745 (char *) "self",(char *) "size", NULL
8746 };
8747
8748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
8749 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8750 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8751 {
8752 arg2 = &temp2;
8753 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
8754 }
8755 {
8756 PyThreadState* __tstate = wxPyBeginAllowThreads();
8757 (arg1)->SetDefaultSize((wxSize const &)*arg2);
8758
8759 wxPyEndAllowThreads(__tstate);
8760 if (PyErr_Occurred()) SWIG_fail;
8761 }
8762 Py_INCREF(Py_None); resultobj = Py_None;
8763 return resultobj;
8764 fail:
8765 return NULL;
8766}
8767
8768
c32bde28 8769static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8770 PyObject *resultobj;
8771 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8772 int arg2 ;
8773 PyObject * obj0 = 0 ;
8774 PyObject * obj1 = 0 ;
8775 char *kwnames[] = {
8776 (char *) "self",(char *) "orientation", NULL
8777 };
8778
8779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
8780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 8782 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
8783 if (PyErr_Occurred()) SWIG_fail;
8784 {
8785 PyThreadState* __tstate = wxPyBeginAllowThreads();
8786 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8787
8788 wxPyEndAllowThreads(__tstate);
8789 if (PyErr_Occurred()) SWIG_fail;
8790 }
8791 Py_INCREF(Py_None); resultobj = Py_None;
8792 return resultobj;
8793 fail:
8794 return NULL;
8795}
8796
8797
c32bde28 8798static PyObject * SashLayoutWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8799 PyObject *obj;
8800 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8801 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
8802 Py_INCREF(obj);
8803 return Py_BuildValue((char *)"");
8804}
c32bde28 8805static PyObject *_wrap_new_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8806 PyObject *resultobj;
8807 wxLayoutAlgorithm *result;
8808 char *kwnames[] = {
8809 NULL
8810 };
8811
8812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
8813 {
8814 PyThreadState* __tstate = wxPyBeginAllowThreads();
8815 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
8816
8817 wxPyEndAllowThreads(__tstate);
8818 if (PyErr_Occurred()) SWIG_fail;
8819 }
8820 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
8821 return resultobj;
8822 fail:
8823 return NULL;
8824}
8825
8826
c32bde28 8827static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8828 PyObject *resultobj;
8829 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8830 PyObject * obj0 = 0 ;
8831 char *kwnames[] = {
8832 (char *) "self", NULL
8833 };
8834
8835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
8836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8838 {
8839 PyThreadState* __tstate = wxPyBeginAllowThreads();
8840 delete arg1;
8841
8842 wxPyEndAllowThreads(__tstate);
8843 if (PyErr_Occurred()) SWIG_fail;
8844 }
8845 Py_INCREF(Py_None); resultobj = Py_None;
8846 return resultobj;
8847 fail:
8848 return NULL;
8849}
8850
8851
c32bde28 8852static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8853 PyObject *resultobj;
8854 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8855 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
8856 wxRect *arg3 = (wxRect *) NULL ;
8857 bool result;
8858 PyObject * obj0 = 0 ;
8859 PyObject * obj1 = 0 ;
8860 PyObject * obj2 = 0 ;
8861 char *kwnames[] = {
8862 (char *) "self",(char *) "frame",(char *) "rect", NULL
8863 };
8864
8865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8868 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
8869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8870 if (obj2) {
8871 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect,
8872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8873 }
8874 {
8875 PyThreadState* __tstate = wxPyBeginAllowThreads();
8876 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
8877
8878 wxPyEndAllowThreads(__tstate);
8879 if (PyErr_Occurred()) SWIG_fail;
8880 }
8881 {
8882 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8883 }
8884 return resultobj;
8885 fail:
8886 return NULL;
8887}
8888
8889
c32bde28 8890static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8891 PyObject *resultobj;
8892 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8893 wxFrame *arg2 = (wxFrame *) 0 ;
8894 wxWindow *arg3 = (wxWindow *) NULL ;
8895 bool result;
8896 PyObject * obj0 = 0 ;
8897 PyObject * obj1 = 0 ;
8898 PyObject * obj2 = 0 ;
8899 char *kwnames[] = {
8900 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8901 };
8902
8903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8906 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
8907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8908 if (obj2) {
8909 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8911 }
8912 {
8913 PyThreadState* __tstate = wxPyBeginAllowThreads();
8914 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
8915
8916 wxPyEndAllowThreads(__tstate);
8917 if (PyErr_Occurred()) SWIG_fail;
8918 }
8919 {
8920 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8921 }
8922 return resultobj;
8923 fail:
8924 return NULL;
8925}
8926
8927
c32bde28 8928static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8929 PyObject *resultobj;
8930 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8931 wxWindow *arg2 = (wxWindow *) 0 ;
8932 wxWindow *arg3 = (wxWindow *) NULL ;
8933 bool result;
8934 PyObject * obj0 = 0 ;
8935 PyObject * obj1 = 0 ;
8936 PyObject * obj2 = 0 ;
8937 char *kwnames[] = {
8938 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8939 };
8940
8941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
8942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8944 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8946 if (obj2) {
8947 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8949 }
8950 {
8951 PyThreadState* __tstate = wxPyBeginAllowThreads();
8952 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
8953
8954 wxPyEndAllowThreads(__tstate);
8955 if (PyErr_Occurred()) SWIG_fail;
8956 }
8957 {
8958 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8959 }
8960 return resultobj;
8961 fail:
8962 return NULL;
8963}
8964
8965
c32bde28 8966static PyObject * LayoutAlgorithm_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8967 PyObject *obj;
8968 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8969 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
8970 Py_INCREF(obj);
8971 return Py_BuildValue((char *)"");
8972}
c32bde28 8973static PyObject *_wrap_new_PopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8974 PyObject *resultobj;
8975 wxWindow *arg1 = (wxWindow *) 0 ;
8976 int arg2 = (int) wxBORDER_NONE ;
8977 wxPopupWindow *result;
8978 PyObject * obj0 = 0 ;
8979 PyObject * obj1 = 0 ;
8980 char *kwnames[] = {
8981 (char *) "parent",(char *) "flags", NULL
8982 };
8983
8984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
8985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8987 if (obj1) {
c32bde28 8988 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
8989 if (PyErr_Occurred()) SWIG_fail;
8990 }
8991 {
0439c23b 8992 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
8993 PyThreadState* __tstate = wxPyBeginAllowThreads();
8994 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
8995
8996 wxPyEndAllowThreads(__tstate);
110da5b0 8997 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
8998 }
8999 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
9000 return resultobj;
9001 fail:
9002 return NULL;
9003}
9004
9005
c32bde28 9006static PyObject *_wrap_new_PrePopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9007 PyObject *resultobj;
9008 wxPopupWindow *result;
9009 char *kwnames[] = {
9010 NULL
9011 };
9012
9013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
9014 {
0439c23b 9015 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
9016 PyThreadState* __tstate = wxPyBeginAllowThreads();
9017 result = (wxPopupWindow *)new wxPopupWindow();
9018
9019 wxPyEndAllowThreads(__tstate);
110da5b0 9020 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
9021 }
9022 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
9023 return resultobj;
9024 fail:
9025 return NULL;
9026}
9027
9028
c32bde28 9029static PyObject *_wrap_PopupWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9030 PyObject *resultobj;
9031 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
9032 wxWindow *arg2 = (wxWindow *) 0 ;
9033 int arg3 = (int) wxBORDER_NONE ;
9034 bool result;
9035 PyObject * obj0 = 0 ;
9036 PyObject * obj1 = 0 ;
9037 PyObject * obj2 = 0 ;
9038 char *kwnames[] = {
9039 (char *) "self",(char *) "parent",(char *) "flags", NULL
9040 };
9041
9042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
9043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow,
9044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9045 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9047 if (obj2) {
c32bde28 9048 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
9049 if (PyErr_Occurred()) SWIG_fail;
9050 }
9051 {
9052 PyThreadState* __tstate = wxPyBeginAllowThreads();
9053 result = (bool)(arg1)->Create(arg2,arg3);
9054
9055 wxPyEndAllowThreads(__tstate);
9056 if (PyErr_Occurred()) SWIG_fail;
9057 }
9058 {
9059 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9060 }
9061 return resultobj;
9062 fail:
9063 return NULL;
9064}
9065
9066
c32bde28 9067static PyObject *_wrap_PopupWindow_Position(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9068 PyObject *resultobj;
9069 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
9070 wxPoint *arg2 = 0 ;
9071 wxSize *arg3 = 0 ;
9072 wxPoint temp2 ;
9073 wxSize temp3 ;
9074 PyObject * obj0 = 0 ;
9075 PyObject * obj1 = 0 ;
9076 PyObject * obj2 = 0 ;
9077 char *kwnames[] = {
9078 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
9079 };
9080
9081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail;
9082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow,
9083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9084 {
9085 arg2 = &temp2;
9086 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9087 }
9088 {
9089 arg3 = &temp3;
9090 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
9091 }
9092 {
9093 PyThreadState* __tstate = wxPyBeginAllowThreads();
9094 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
9095
9096 wxPyEndAllowThreads(__tstate);
9097 if (PyErr_Occurred()) SWIG_fail;
9098 }
9099 Py_INCREF(Py_None); resultobj = Py_None;
9100 return resultobj;
9101 fail:
9102 return NULL;
9103}
9104
9105
c32bde28 9106static PyObject * PopupWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
9107 PyObject *obj;
9108 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9109 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
9110 Py_INCREF(obj);
9111 return Py_BuildValue((char *)"");
9112}
c32bde28 9113static PyObject *_wrap_new_PopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9114 PyObject *resultobj;
9115 wxWindow *arg1 = (wxWindow *) 0 ;
9116 int arg2 = (int) wxBORDER_NONE ;
9117 wxPyPopupTransientWindow *result;
9118 PyObject * obj0 = 0 ;
9119 PyObject * obj1 = 0 ;
9120 char *kwnames[] = {
9121 (char *) "parent",(char *) "style", NULL
9122 };
9123
9124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
9125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9127 if (obj1) {
c32bde28 9128 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
9129 if (PyErr_Occurred()) SWIG_fail;
9130 }
9131 {
0439c23b 9132 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
9133 PyThreadState* __tstate = wxPyBeginAllowThreads();
9134 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
9135
9136 wxPyEndAllowThreads(__tstate);
110da5b0 9137 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
9138 }
9139 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
9140 return resultobj;
9141 fail:
9142 return NULL;
9143}
9144
9145
c32bde28 9146static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9147 PyObject *resultobj;
9148 wxPyPopupTransientWindow *result;
9149 char *kwnames[] = {
9150 NULL
9151 };
9152
9153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
9154 {
0439c23b 9155 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
9156 PyThreadState* __tstate = wxPyBeginAllowThreads();
9157 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
9158
9159 wxPyEndAllowThreads(__tstate);
110da5b0 9160 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
9161 }
9162 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
9163 return resultobj;
9164 fail:
9165 return NULL;
9166}
9167
9168
c32bde28 9169static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9170 PyObject *resultobj;
9171 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
9172 PyObject *arg2 = (PyObject *) 0 ;
9173 PyObject *arg3 = (PyObject *) 0 ;
9174 PyObject * obj0 = 0 ;
9175 PyObject * obj1 = 0 ;
9176 PyObject * obj2 = 0 ;
9177 char *kwnames[] = {
9178 (char *) "self",(char *) "self",(char *) "_class", NULL
9179 };
9180
9181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
9183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9184 arg2 = obj1;
9185 arg3 = obj2;
9186 {
9187 PyThreadState* __tstate = wxPyBeginAllowThreads();
9188 (arg1)->_setCallbackInfo(arg2,arg3);
9189
9190 wxPyEndAllowThreads(__tstate);
9191 if (PyErr_Occurred()) SWIG_fail;
9192 }
9193 Py_INCREF(Py_None); resultobj = Py_None;
9194 return resultobj;
9195 fail:
9196 return NULL;
9197}
9198
9199
c32bde28 9200static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9201 PyObject *resultobj;
9202 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
9203 wxWindow *arg2 = (wxWindow *) NULL ;
9204 PyObject * obj0 = 0 ;
9205 PyObject * obj1 = 0 ;
9206 char *kwnames[] = {
9207 (char *) "self",(char *) "focus", NULL
9208 };
9209
9210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail;
9211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
9212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9213 if (obj1) {
9214 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9216 }
9217 {
9218 PyThreadState* __tstate = wxPyBeginAllowThreads();
9219 (arg1)->Popup(arg2);
9220
9221 wxPyEndAllowThreads(__tstate);
9222 if (PyErr_Occurred()) SWIG_fail;
9223 }
9224 Py_INCREF(Py_None); resultobj = Py_None;
9225 return resultobj;
9226 fail:
9227 return NULL;
9228}
9229
9230
c32bde28 9231static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9232 PyObject *resultobj;
9233 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
9234 PyObject * obj0 = 0 ;
9235 char *kwnames[] = {
9236 (char *) "self", NULL
9237 };
9238
9239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail;
9240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
9241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9242 {
9243 PyThreadState* __tstate = wxPyBeginAllowThreads();
9244 (arg1)->Dismiss();
9245
9246 wxPyEndAllowThreads(__tstate);
9247 if (PyErr_Occurred()) SWIG_fail;
9248 }
9249 Py_INCREF(Py_None); resultobj = Py_None;
9250 return resultobj;
9251 fail:
9252 return NULL;
9253}
9254
9255
c32bde28 9256static PyObject * PopupTransientWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
9257 PyObject *obj;
9258 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9259 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
9260 Py_INCREF(obj);
9261 return Py_BuildValue((char *)"");
9262}
c32bde28 9263static PyObject *_wrap_new_TipWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9264 PyObject *resultobj;
9265 wxWindow *arg1 = (wxWindow *) 0 ;
9266 wxString *arg2 = 0 ;
9267 int arg3 = (int) 100 ;
9268 wxRect *arg4 = (wxRect *) NULL ;
9269 wxTipWindow *result;
ae8162c8 9270 bool temp2 = false ;
d55e5bfc
RD
9271 PyObject * obj0 = 0 ;
9272 PyObject * obj1 = 0 ;
9273 PyObject * obj2 = 0 ;
9274 PyObject * obj3 = 0 ;
9275 char *kwnames[] = {
9276 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
9277 };
9278
9279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9282 {
9283 arg2 = wxString_in_helper(obj1);
9284 if (arg2 == NULL) SWIG_fail;
ae8162c8 9285 temp2 = true;
d55e5bfc
RD
9286 }
9287 if (obj2) {
c32bde28 9288 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
9289 if (PyErr_Occurred()) SWIG_fail;
9290 }
9291 if (obj3) {
9292 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect,
9293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9294 }
9295 {
0439c23b 9296 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
9297 PyThreadState* __tstate = wxPyBeginAllowThreads();
9298 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
9299
9300 wxPyEndAllowThreads(__tstate);
110da5b0 9301 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
9302 }
9303 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
9304 {
9305 if (temp2)
9306 delete arg2;
9307 }
9308 return resultobj;
9309 fail:
9310 {
9311 if (temp2)
9312 delete arg2;
9313 }
9314 return NULL;
9315}
9316
9317
c32bde28 9318static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9319 PyObject *resultobj;
9320 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
9321 wxRect *arg2 = 0 ;
9322 wxRect temp2 ;
9323 PyObject * obj0 = 0 ;
9324 PyObject * obj1 = 0 ;
9325 char *kwnames[] = {
9326 (char *) "self",(char *) "rectBound", NULL
9327 };
9328
9329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
9330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
9331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9332 {
9333 arg2 = &temp2;
9334 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
9335 }
9336 {
9337 PyThreadState* __tstate = wxPyBeginAllowThreads();
9338 (arg1)->SetBoundingRect((wxRect const &)*arg2);
9339
9340 wxPyEndAllowThreads(__tstate);
9341 if (PyErr_Occurred()) SWIG_fail;
9342 }
9343 Py_INCREF(Py_None); resultobj = Py_None;
9344 return resultobj;
9345 fail:
9346 return NULL;
9347}
9348
9349
c32bde28 9350static PyObject *_wrap_TipWindow_Close(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9351 PyObject *resultobj;
9352 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
9353 PyObject * obj0 = 0 ;
9354 char *kwnames[] = {
9355 (char *) "self", NULL
9356 };
9357
9358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
9359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
9360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9361 {
9362 PyThreadState* __tstate = wxPyBeginAllowThreads();
9363 (arg1)->Close();
9364
9365 wxPyEndAllowThreads(__tstate);
9366 if (PyErr_Occurred()) SWIG_fail;
9367 }
9368 Py_INCREF(Py_None); resultobj = Py_None;
9369 return resultobj;
9370 fail:
9371 return NULL;
9372}
9373
9374
c32bde28 9375static PyObject * TipWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
9376 PyObject *obj;
9377 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9378 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
9379 Py_INCREF(obj);
9380 return Py_BuildValue((char *)"");
9381}
c32bde28 9382static PyObject *_wrap_new_VScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9383 PyObject *resultobj;
9384 wxWindow *arg1 = (wxWindow *) 0 ;
9385 int arg2 = (int) wxID_ANY ;
9386 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9387 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9388 wxSize const &arg4_defvalue = wxDefaultSize ;
9389 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9390 long arg5 = (long) 0 ;
9391 wxString const &arg6_defvalue = wxPyPanelNameStr ;
9392 wxString *arg6 = (wxString *) &arg6_defvalue ;
9393 wxPyVScrolledWindow *result;
9394 wxPoint temp3 ;
9395 wxSize temp4 ;
ae8162c8 9396 bool temp6 = false ;
d55e5bfc
RD
9397 PyObject * obj0 = 0 ;
9398 PyObject * obj1 = 0 ;
9399 PyObject * obj2 = 0 ;
9400 PyObject * obj3 = 0 ;
9401 PyObject * obj4 = 0 ;
9402 PyObject * obj5 = 0 ;
9403 char *kwnames[] = {
9404 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9405 };
9406
9407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9410 if (obj1) {
c32bde28 9411 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
9412 if (PyErr_Occurred()) SWIG_fail;
9413 }
9414 if (obj2) {
9415 {
9416 arg3 = &temp3;
9417 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9418 }
9419 }
9420 if (obj3) {
9421 {
9422 arg4 = &temp4;
9423 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9424 }
9425 }
9426 if (obj4) {
c32bde28 9427 arg5 = (long)SWIG_As_long(obj4);
d55e5bfc
RD
9428 if (PyErr_Occurred()) SWIG_fail;
9429 }
9430 if (obj5) {
9431 {
9432 arg6 = wxString_in_helper(obj5);
9433 if (arg6 == NULL) SWIG_fail;
ae8162c8 9434 temp6 = true;
d55e5bfc
RD
9435 }
9436 }
9437 {
0439c23b 9438 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
9439 PyThreadState* __tstate = wxPyBeginAllowThreads();
9440 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9441
9442 wxPyEndAllowThreads(__tstate);
110da5b0 9443 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
9444 }
9445 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
9446 {
9447 if (temp6)
9448 delete arg6;
9449 }
9450 return resultobj;
9451 fail:
9452 {
9453 if (temp6)
9454 delete arg6;
9455 }
9456 return NULL;
9457}
9458
9459
c32bde28 9460static PyObject *_wrap_new_PreVScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9461 PyObject *resultobj;
9462 wxPyVScrolledWindow *result;
9463 char *kwnames[] = {
9464 NULL
9465 };
9466
9467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
9468 {
0439c23b 9469 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
9470 PyThreadState* __tstate = wxPyBeginAllowThreads();
9471 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
9472
9473 wxPyEndAllowThreads(__tstate);
110da5b0 9474 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
9475 }
9476 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
9477 return resultobj;
9478 fail:
9479 return NULL;
9480}
9481
9482
c32bde28 9483static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9484 PyObject *resultobj;
9485 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9486 PyObject *arg2 = (PyObject *) 0 ;
9487 PyObject *arg3 = (PyObject *) 0 ;
9488 PyObject * obj0 = 0 ;
9489 PyObject * obj1 = 0 ;
9490 PyObject * obj2 = 0 ;
9491 char *kwnames[] = {
9492 (char *) "self",(char *) "self",(char *) "_class", NULL
9493 };
9494
9495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9498 arg2 = obj1;
9499 arg3 = obj2;
9500 {
9501 PyThreadState* __tstate = wxPyBeginAllowThreads();
9502 (arg1)->_setCallbackInfo(arg2,arg3);
9503
9504 wxPyEndAllowThreads(__tstate);
9505 if (PyErr_Occurred()) SWIG_fail;
9506 }
9507 Py_INCREF(Py_None); resultobj = Py_None;
9508 return resultobj;
9509 fail:
9510 return NULL;
9511}
9512
9513
c32bde28 9514static PyObject *_wrap_VScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9515 PyObject *resultobj;
9516 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9517 wxWindow *arg2 = (wxWindow *) 0 ;
9518 int arg3 = (int) wxID_ANY ;
9519 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9520 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9521 wxSize const &arg5_defvalue = wxDefaultSize ;
9522 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9523 long arg6 = (long) 0 ;
9524 wxString const &arg7_defvalue = wxPyPanelNameStr ;
9525 wxString *arg7 = (wxString *) &arg7_defvalue ;
9526 bool result;
9527 wxPoint temp4 ;
9528 wxSize temp5 ;
ae8162c8 9529 bool temp7 = false ;
d55e5bfc
RD
9530 PyObject * obj0 = 0 ;
9531 PyObject * obj1 = 0 ;
9532 PyObject * obj2 = 0 ;
9533 PyObject * obj3 = 0 ;
9534 PyObject * obj4 = 0 ;
9535 PyObject * obj5 = 0 ;
9536 PyObject * obj6 = 0 ;
9537 char *kwnames[] = {
9538 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9539 };
9540
9541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9544 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9546 if (obj2) {
c32bde28 9547 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
9548 if (PyErr_Occurred()) SWIG_fail;
9549 }
9550 if (obj3) {
9551 {
9552 arg4 = &temp4;
9553 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9554 }
9555 }
9556 if (obj4) {
9557 {
9558 arg5 = &temp5;
9559 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9560 }
9561 }
9562 if (obj5) {
c32bde28 9563 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
9564 if (PyErr_Occurred()) SWIG_fail;
9565 }
9566 if (obj6) {
9567 {
9568 arg7 = wxString_in_helper(obj6);
9569 if (arg7 == NULL) SWIG_fail;
ae8162c8 9570 temp7 = true;
d55e5bfc
RD
9571 }
9572 }
9573 {
9574 PyThreadState* __tstate = wxPyBeginAllowThreads();
9575 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9576
9577 wxPyEndAllowThreads(__tstate);
9578 if (PyErr_Occurred()) SWIG_fail;
9579 }
9580 {
9581 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9582 }
9583 {
9584 if (temp7)
9585 delete arg7;
9586 }
9587 return resultobj;
9588 fail:
9589 {
9590 if (temp7)
9591 delete arg7;
9592 }
9593 return NULL;
9594}
9595
9596
c32bde28 9597static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9598 PyObject *resultobj;
9599 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9600 size_t arg2 ;
9601 PyObject * obj0 = 0 ;
9602 PyObject * obj1 = 0 ;
9603 char *kwnames[] = {
9604 (char *) "self",(char *) "count", NULL
9605 };
9606
9607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
9608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9610 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
d55e5bfc
RD
9611 if (PyErr_Occurred()) SWIG_fail;
9612 {
9613 PyThreadState* __tstate = wxPyBeginAllowThreads();
9614 (arg1)->SetLineCount(arg2);
9615
9616 wxPyEndAllowThreads(__tstate);
9617 if (PyErr_Occurred()) SWIG_fail;
9618 }
9619 Py_INCREF(Py_None); resultobj = Py_None;
9620 return resultobj;
9621 fail:
9622 return NULL;
9623}
9624
9625
c32bde28 9626static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9627 PyObject *resultobj;
9628 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9629 size_t arg2 ;
9630 bool result;
9631 PyObject * obj0 = 0 ;
9632 PyObject * obj1 = 0 ;
9633 char *kwnames[] = {
9634 (char *) "self",(char *) "line", NULL
9635 };
9636
9637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
9638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9640 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
d55e5bfc
RD
9641 if (PyErr_Occurred()) SWIG_fail;
9642 {
9643 PyThreadState* __tstate = wxPyBeginAllowThreads();
9644 result = (bool)(arg1)->ScrollToLine(arg2);
9645
9646 wxPyEndAllowThreads(__tstate);
9647 if (PyErr_Occurred()) SWIG_fail;
9648 }
9649 {
9650 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9651 }
9652 return resultobj;
9653 fail:
9654 return NULL;
9655}
9656
9657
c32bde28 9658static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9659 PyObject *resultobj;
9660 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9661 int arg2 ;
9662 bool result;
9663 PyObject * obj0 = 0 ;
9664 PyObject * obj1 = 0 ;
9665 char *kwnames[] = {
9666 (char *) "self",(char *) "lines", NULL
9667 };
9668
9669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
9670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9672 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
9673 if (PyErr_Occurred()) SWIG_fail;
9674 {
9675 PyThreadState* __tstate = wxPyBeginAllowThreads();
9676 result = (bool)(arg1)->ScrollLines(arg2);
9677
9678 wxPyEndAllowThreads(__tstate);
9679 if (PyErr_Occurred()) SWIG_fail;
9680 }
9681 {
9682 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9683 }
9684 return resultobj;
9685 fail:
9686 return NULL;
9687}
9688
9689
c32bde28 9690static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9691 PyObject *resultobj;
9692 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9693 int arg2 ;
9694 bool result;
9695 PyObject * obj0 = 0 ;
9696 PyObject * obj1 = 0 ;
9697 char *kwnames[] = {
9698 (char *) "self",(char *) "pages", NULL
9699 };
9700
9701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
9702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9704 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
9705 if (PyErr_Occurred()) SWIG_fail;
9706 {
9707 PyThreadState* __tstate = wxPyBeginAllowThreads();
9708 result = (bool)(arg1)->ScrollPages(arg2);
9709
9710 wxPyEndAllowThreads(__tstate);
9711 if (PyErr_Occurred()) SWIG_fail;
9712 }
9713 {
9714 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9715 }
9716 return resultobj;
9717 fail:
9718 return NULL;
9719}
9720
9721
c32bde28 9722static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9723 PyObject *resultobj;
9724 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9725 size_t arg2 ;
9726 PyObject * obj0 = 0 ;
9727 PyObject * obj1 = 0 ;
9728 char *kwnames[] = {
9729 (char *) "self",(char *) "line", NULL
9730 };
9731
9732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
9733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9735 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
d55e5bfc
RD
9736 if (PyErr_Occurred()) SWIG_fail;
9737 {
9738 PyThreadState* __tstate = wxPyBeginAllowThreads();
9739 (arg1)->RefreshLine(arg2);
9740
9741 wxPyEndAllowThreads(__tstate);
9742 if (PyErr_Occurred()) SWIG_fail;
9743 }
9744 Py_INCREF(Py_None); resultobj = Py_None;
9745 return resultobj;
9746 fail:
9747 return NULL;
9748}
9749
9750
c32bde28 9751static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9752 PyObject *resultobj;
9753 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9754 size_t arg2 ;
9755 size_t arg3 ;
9756 PyObject * obj0 = 0 ;
9757 PyObject * obj1 = 0 ;
9758 PyObject * obj2 = 0 ;
9759 char *kwnames[] = {
9760 (char *) "self",(char *) "from",(char *) "to", NULL
9761 };
9762
9763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
9764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9766 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
d55e5bfc 9767 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9768 arg3 = (size_t)SWIG_As_unsigned_SS_long(obj2);
d55e5bfc
RD
9769 if (PyErr_Occurred()) SWIG_fail;
9770 {
9771 PyThreadState* __tstate = wxPyBeginAllowThreads();
9772 (arg1)->RefreshLines(arg2,arg3);
9773
9774 wxPyEndAllowThreads(__tstate);
9775 if (PyErr_Occurred()) SWIG_fail;
9776 }
9777 Py_INCREF(Py_None); resultobj = Py_None;
9778 return resultobj;
9779 fail:
9780 return NULL;
9781}
9782
9783
c32bde28 9784static PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9785 PyObject *resultobj;
9786 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9787 int arg2 ;
9788 int arg3 ;
9789 int result;
9790 PyObject * obj0 = 0 ;
9791 PyObject * obj1 = 0 ;
9792 PyObject * obj2 = 0 ;
9793 char *kwnames[] = {
9794 (char *) "self",(char *) "x",(char *) "y", NULL
9795 };
9796
354693ff 9797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
d55e5bfc
RD
9798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9800 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 9801 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9802 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
9803 if (PyErr_Occurred()) SWIG_fail;
9804 {
9805 PyThreadState* __tstate = wxPyBeginAllowThreads();
9806 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
9807
9808 wxPyEndAllowThreads(__tstate);
9809 if (PyErr_Occurred()) SWIG_fail;
9810 }
c32bde28 9811 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
9812 return resultobj;
9813 fail:
9814 return NULL;
9815}
9816
9817
c32bde28 9818static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9819 PyObject *resultobj;
9820 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9821 wxPoint *arg2 = 0 ;
9822 int result;
9823 wxPoint temp2 ;
9824 PyObject * obj0 = 0 ;
9825 PyObject * obj1 = 0 ;
9826 char *kwnames[] = {
9827 (char *) "self",(char *) "pt", NULL
9828 };
9829
9830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
9831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9833 {
9834 arg2 = &temp2;
9835 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9836 }
9837 {
9838 PyThreadState* __tstate = wxPyBeginAllowThreads();
9839 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
9840
9841 wxPyEndAllowThreads(__tstate);
9842 if (PyErr_Occurred()) SWIG_fail;
9843 }
c32bde28 9844 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
9845 return resultobj;
9846 fail:
9847 return NULL;
9848}
9849
9850
c32bde28 9851static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9852 PyObject *resultobj;
9853 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9854 PyObject * obj0 = 0 ;
9855 char *kwnames[] = {
9856 (char *) "self", NULL
9857 };
9858
9859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
9860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9862 {
9863 PyThreadState* __tstate = wxPyBeginAllowThreads();
9864 (arg1)->RefreshAll();
9865
9866 wxPyEndAllowThreads(__tstate);
9867 if (PyErr_Occurred()) SWIG_fail;
9868 }
9869 Py_INCREF(Py_None); resultobj = Py_None;
9870 return resultobj;
9871 fail:
9872 return NULL;
9873}
9874
9875
c32bde28 9876static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9877 PyObject *resultobj;
9878 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9879 size_t result;
9880 PyObject * obj0 = 0 ;
9881 char *kwnames[] = {
9882 (char *) "self", NULL
9883 };
9884
9885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
9886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9888 {
9889 PyThreadState* __tstate = wxPyBeginAllowThreads();
9890 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
9891
9892 wxPyEndAllowThreads(__tstate);
9893 if (PyErr_Occurred()) SWIG_fail;
9894 }
c32bde28 9895 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
d55e5bfc
RD
9896 return resultobj;
9897 fail:
9898 return NULL;
9899}
9900
9901
c32bde28 9902static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9903 PyObject *resultobj;
9904 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9905 size_t result;
9906 PyObject * obj0 = 0 ;
9907 char *kwnames[] = {
9908 (char *) "self", NULL
9909 };
9910
9911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
9912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9914 {
9915 PyThreadState* __tstate = wxPyBeginAllowThreads();
9916 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
9917
9918 wxPyEndAllowThreads(__tstate);
9919 if (PyErr_Occurred()) SWIG_fail;
9920 }
c32bde28 9921 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
d55e5bfc
RD
9922 return resultobj;
9923 fail:
9924 return NULL;
9925}
9926
9927
c32bde28 9928static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9929 PyObject *resultobj;
9930 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9931 size_t result;
9932 PyObject * obj0 = 0 ;
9933 char *kwnames[] = {
9934 (char *) "self", NULL
9935 };
9936
9937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
9938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9940 {
9941 PyThreadState* __tstate = wxPyBeginAllowThreads();
9942 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
9943
9944 wxPyEndAllowThreads(__tstate);
9945 if (PyErr_Occurred()) SWIG_fail;
9946 }
c32bde28 9947 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
d55e5bfc
RD
9948 return resultobj;
9949 fail:
9950 return NULL;
9951}
9952
9953
c32bde28 9954static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9955 PyObject *resultobj;
9956 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9957 size_t arg2 ;
9958 bool result;
9959 PyObject * obj0 = 0 ;
9960 PyObject * obj1 = 0 ;
9961 char *kwnames[] = {
9962 (char *) "self",(char *) "line", NULL
9963 };
9964
9965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
9966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9968 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
d55e5bfc
RD
9969 if (PyErr_Occurred()) SWIG_fail;
9970 {
9971 PyThreadState* __tstate = wxPyBeginAllowThreads();
9972 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
9973
9974 wxPyEndAllowThreads(__tstate);
9975 if (PyErr_Occurred()) SWIG_fail;
9976 }
9977 {
9978 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9979 }
9980 return resultobj;
9981 fail:
9982 return NULL;
9983}
9984
9985
c32bde28 9986static PyObject * VScrolledWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
9987 PyObject *obj;
9988 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9989 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
9990 Py_INCREF(obj);
9991 return Py_BuildValue((char *)"");
9992}
c32bde28 9993static int _wrap_VListBoxNameStr_set(PyObject *) {
d55e5bfc
RD
9994 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
9995 return 1;
9996}
9997
9998
9999static PyObject *_wrap_VListBoxNameStr_get() {
10000 PyObject *pyobj;
10001
10002 {
10003#if wxUSE_UNICODE
10004 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
10005#else
10006 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
10007#endif
10008 }
10009 return pyobj;
10010}
10011
10012
c32bde28 10013static PyObject *_wrap_new_VListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10014 PyObject *resultobj;
10015 wxWindow *arg1 = (wxWindow *) 0 ;
10016 int arg2 = (int) wxID_ANY ;
10017 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10018 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10019 wxSize const &arg4_defvalue = wxDefaultSize ;
10020 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10021 long arg5 = (long) 0 ;
10022 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
10023 wxString *arg6 = (wxString *) &arg6_defvalue ;
10024 wxPyVListBox *result;
10025 wxPoint temp3 ;
10026 wxSize temp4 ;
ae8162c8 10027 bool temp6 = false ;
d55e5bfc
RD
10028 PyObject * obj0 = 0 ;
10029 PyObject * obj1 = 0 ;
10030 PyObject * obj2 = 0 ;
10031 PyObject * obj3 = 0 ;
10032 PyObject * obj4 = 0 ;
10033 PyObject * obj5 = 0 ;
10034 char *kwnames[] = {
10035 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10036 };
10037
10038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10039 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10041 if (obj1) {
c32bde28 10042 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
10043 if (PyErr_Occurred()) SWIG_fail;
10044 }
10045 if (obj2) {
10046 {
10047 arg3 = &temp3;
10048 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10049 }
10050 }
10051 if (obj3) {
10052 {
10053 arg4 = &temp4;
10054 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10055 }
10056 }
10057 if (obj4) {
c32bde28 10058 arg5 = (long)SWIG_As_long(obj4);
d55e5bfc
RD
10059 if (PyErr_Occurred()) SWIG_fail;
10060 }
10061 if (obj5) {
10062 {
10063 arg6 = wxString_in_helper(obj5);
10064 if (arg6 == NULL) SWIG_fail;
ae8162c8 10065 temp6 = true;
d55e5bfc
RD
10066 }
10067 }
10068 {
0439c23b 10069 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
10070 PyThreadState* __tstate = wxPyBeginAllowThreads();
10071 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10072
10073 wxPyEndAllowThreads(__tstate);
110da5b0 10074 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
10075 }
10076 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
10077 {
10078 if (temp6)
10079 delete arg6;
10080 }
10081 return resultobj;
10082 fail:
10083 {
10084 if (temp6)
10085 delete arg6;
10086 }
10087 return NULL;
10088}
10089
10090
c32bde28 10091static PyObject *_wrap_new_PreVListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10092 PyObject *resultobj;
10093 wxPyVListBox *result;
10094 char *kwnames[] = {
10095 NULL
10096 };
10097
10098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
10099 {
0439c23b 10100 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
10101 PyThreadState* __tstate = wxPyBeginAllowThreads();
10102 result = (wxPyVListBox *)new wxPyVListBox();
10103
10104 wxPyEndAllowThreads(__tstate);
110da5b0 10105 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
10106 }
10107 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
10108 return resultobj;
10109 fail:
10110 return NULL;
10111}
10112
10113
c32bde28 10114static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10115 PyObject *resultobj;
10116 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10117 PyObject *arg2 = (PyObject *) 0 ;
10118 PyObject *arg3 = (PyObject *) 0 ;
10119 PyObject * obj0 = 0 ;
10120 PyObject * obj1 = 0 ;
10121 PyObject * obj2 = 0 ;
10122 char *kwnames[] = {
10123 (char *) "self",(char *) "self",(char *) "_class", NULL
10124 };
10125
10126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10129 arg2 = obj1;
10130 arg3 = obj2;
10131 {
10132 PyThreadState* __tstate = wxPyBeginAllowThreads();
10133 (arg1)->_setCallbackInfo(arg2,arg3);
10134
10135 wxPyEndAllowThreads(__tstate);
10136 if (PyErr_Occurred()) SWIG_fail;
10137 }
10138 Py_INCREF(Py_None); resultobj = Py_None;
10139 return resultobj;
10140 fail:
10141 return NULL;
10142}
10143
10144
c32bde28 10145static PyObject *_wrap_VListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10146 PyObject *resultobj;
10147 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10148 wxWindow *arg2 = (wxWindow *) 0 ;
10149 int arg3 = (int) wxID_ANY ;
10150 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10151 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10152 wxSize const &arg5_defvalue = wxDefaultSize ;
10153 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10154 long arg6 = (long) 0 ;
10155 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
10156 wxString *arg7 = (wxString *) &arg7_defvalue ;
10157 bool result;
10158 wxPoint temp4 ;
10159 wxSize temp5 ;
ae8162c8 10160 bool temp7 = false ;
d55e5bfc
RD
10161 PyObject * obj0 = 0 ;
10162 PyObject * obj1 = 0 ;
10163 PyObject * obj2 = 0 ;
10164 PyObject * obj3 = 0 ;
10165 PyObject * obj4 = 0 ;
10166 PyObject * obj5 = 0 ;
10167 PyObject * obj6 = 0 ;
10168 char *kwnames[] = {
10169 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10170 };
10171
10172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10175 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10177 if (obj2) {
c32bde28 10178 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
10179 if (PyErr_Occurred()) SWIG_fail;
10180 }
10181 if (obj3) {
10182 {
10183 arg4 = &temp4;
10184 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10185 }
10186 }
10187 if (obj4) {
10188 {
10189 arg5 = &temp5;
10190 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10191 }
10192 }
10193 if (obj5) {
c32bde28 10194 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
10195 if (PyErr_Occurred()) SWIG_fail;
10196 }
10197 if (obj6) {
10198 {
10199 arg7 = wxString_in_helper(obj6);
10200 if (arg7 == NULL) SWIG_fail;
ae8162c8 10201 temp7 = true;
d55e5bfc
RD
10202 }
10203 }
10204 {
10205 PyThreadState* __tstate = wxPyBeginAllowThreads();
10206 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10207
10208 wxPyEndAllowThreads(__tstate);
10209 if (PyErr_Occurred()) SWIG_fail;
10210 }
10211 {
10212 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10213 }
10214 {
10215 if (temp7)
10216 delete arg7;
10217 }
10218 return resultobj;
10219 fail:
10220 {
10221 if (temp7)
10222 delete arg7;
10223 }
10224 return NULL;
10225}
10226
10227
c32bde28 10228static PyObject *_wrap_VListBox_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10229 PyObject *resultobj;
10230 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10231 size_t result;
10232 PyObject * obj0 = 0 ;
10233 char *kwnames[] = {
10234 (char *) "self", NULL
10235 };
10236
10237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
10238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10240 {
10241 PyThreadState* __tstate = wxPyBeginAllowThreads();
10242 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
10243
10244 wxPyEndAllowThreads(__tstate);
10245 if (PyErr_Occurred()) SWIG_fail;
10246 }
c32bde28 10247 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
d55e5bfc
RD
10248 return resultobj;
10249 fail:
10250 return NULL;
10251}
10252
10253
c32bde28 10254static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10255 PyObject *resultobj;
10256 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10257 bool result;
10258 PyObject * obj0 = 0 ;
10259 char *kwnames[] = {
10260 (char *) "self", NULL
10261 };
10262
10263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
10264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10266 {
10267 PyThreadState* __tstate = wxPyBeginAllowThreads();
10268 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
10269
10270 wxPyEndAllowThreads(__tstate);
10271 if (PyErr_Occurred()) SWIG_fail;
10272 }
10273 {
10274 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10275 }
10276 return resultobj;
10277 fail:
10278 return NULL;
10279}
10280
10281
c32bde28 10282static PyObject *_wrap_VListBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10283 PyObject *resultobj;
10284 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10285 int result;
10286 PyObject * obj0 = 0 ;
10287 char *kwnames[] = {
10288 (char *) "self", NULL
10289 };
10290
10291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
10292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10294 {
10295 PyThreadState* __tstate = wxPyBeginAllowThreads();
10296 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
10297
10298 wxPyEndAllowThreads(__tstate);
10299 if (PyErr_Occurred()) SWIG_fail;
10300 }
c32bde28 10301 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
10302 return resultobj;
10303 fail:
10304 return NULL;
10305}
10306
10307
c32bde28 10308static PyObject *_wrap_VListBox_IsCurrent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10309 PyObject *resultobj;
10310 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10311 size_t arg2 ;
10312 bool result;
10313 PyObject * obj0 = 0 ;
10314 PyObject * obj1 = 0 ;
10315 char *kwnames[] = {
10316 (char *) "self",(char *) "item", NULL
10317 };
10318
10319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
10320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10322 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
d55e5bfc
RD
10323 if (PyErr_Occurred()) SWIG_fail;
10324 {
10325 PyThreadState* __tstate = wxPyBeginAllowThreads();
10326 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
10327
10328 wxPyEndAllowThreads(__tstate);
10329 if (PyErr_Occurred()) SWIG_fail;
10330 }
10331 {
10332 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10333 }
10334 return resultobj;
10335 fail:
10336 return NULL;
10337}
10338
10339
c32bde28 10340static PyObject *_wrap_VListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10341 PyObject *resultobj;
10342 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10343 size_t arg2 ;
10344 bool result;
10345 PyObject * obj0 = 0 ;
10346 PyObject * obj1 = 0 ;
10347 char *kwnames[] = {
10348 (char *) "self",(char *) "item", NULL
10349 };
10350
10351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
10352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10354 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
d55e5bfc
RD
10355 if (PyErr_Occurred()) SWIG_fail;
10356 {
10357 PyThreadState* __tstate = wxPyBeginAllowThreads();
10358 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
10359
10360 wxPyEndAllowThreads(__tstate);
10361 if (PyErr_Occurred()) SWIG_fail;
10362 }
10363 {
10364 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10365 }
10366 return resultobj;
10367 fail:
10368 return NULL;
10369}
10370
10371
c32bde28 10372static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10373 PyObject *resultobj;
10374 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10375 size_t result;
10376 PyObject * obj0 = 0 ;
10377 char *kwnames[] = {
10378 (char *) "self", NULL
10379 };
10380
10381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
10382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10384 {
10385 PyThreadState* __tstate = wxPyBeginAllowThreads();
10386 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
10387
10388 wxPyEndAllowThreads(__tstate);
10389 if (PyErr_Occurred()) SWIG_fail;
10390 }
c32bde28 10391 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
d55e5bfc
RD
10392 return resultobj;
10393 fail:
10394 return NULL;
10395}
10396
10397
c32bde28 10398static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10399 PyObject *resultobj;
10400 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
09c21d3b 10401 PyObject *result;
d55e5bfc 10402 PyObject * obj0 = 0 ;
d55e5bfc 10403 char *kwnames[] = {
09c21d3b 10404 (char *) "self", NULL
d55e5bfc
RD
10405 };
10406
09c21d3b 10407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetFirstSelected",kwnames,&obj0)) goto fail;
d55e5bfc
RD
10408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d55e5bfc
RD
10410 {
10411 PyThreadState* __tstate = wxPyBeginAllowThreads();
09c21d3b 10412 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
d55e5bfc
RD
10413
10414 wxPyEndAllowThreads(__tstate);
10415 if (PyErr_Occurred()) SWIG_fail;
10416 }
09c21d3b 10417 resultobj = result;
d55e5bfc
RD
10418 return resultobj;
10419 fail:
10420 return NULL;
10421}
10422
10423
c32bde28 10424static PyObject *_wrap_VListBox_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10425 PyObject *resultobj;
10426 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
09c21d3b
RD
10427 unsigned long arg2 ;
10428 PyObject *result;
d55e5bfc
RD
10429 PyObject * obj0 = 0 ;
10430 PyObject * obj1 = 0 ;
10431 char *kwnames[] = {
10432 (char *) "self",(char *) "cookie", NULL
10433 };
10434
10435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
10436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10438 arg2 = (unsigned long)SWIG_As_unsigned_SS_long(obj1);
09c21d3b 10439 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
10440 {
10441 PyThreadState* __tstate = wxPyBeginAllowThreads();
09c21d3b 10442 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
d55e5bfc
RD
10443
10444 wxPyEndAllowThreads(__tstate);
10445 if (PyErr_Occurred()) SWIG_fail;
10446 }
09c21d3b 10447 resultobj = result;
d55e5bfc
RD
10448 return resultobj;
10449 fail:
10450 return NULL;
10451}
10452
10453
c32bde28 10454static PyObject *_wrap_VListBox_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10455 PyObject *resultobj;
10456 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10457 wxPoint result;
10458 PyObject * obj0 = 0 ;
10459 char *kwnames[] = {
10460 (char *) "self", NULL
10461 };
10462
10463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
10464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10466 {
10467 PyThreadState* __tstate = wxPyBeginAllowThreads();
10468 result = ((wxPyVListBox const *)arg1)->GetMargins();
10469
10470 wxPyEndAllowThreads(__tstate);
10471 if (PyErr_Occurred()) SWIG_fail;
10472 }
10473 {
10474 wxPoint * resultptr;
10475 resultptr = new wxPoint((wxPoint &) result);
10476 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
10477 }
10478 return resultobj;
10479 fail:
10480 return NULL;
10481}
10482
10483
c32bde28 10484static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10485 PyObject *resultobj;
10486 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10487 wxColour *result;
10488 PyObject * obj0 = 0 ;
10489 char *kwnames[] = {
10490 (char *) "self", NULL
10491 };
10492
10493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
10494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10496 {
10497 PyThreadState* __tstate = wxPyBeginAllowThreads();
10498 {
10499 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
10500 result = (wxColour *) &_result_ref;
10501 }
10502
10503 wxPyEndAllowThreads(__tstate);
10504 if (PyErr_Occurred()) SWIG_fail;
10505 }
10506 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
10507 return resultobj;
10508 fail:
10509 return NULL;
10510}
10511
10512
c32bde28 10513static PyObject *_wrap_VListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10514 PyObject *resultobj;
10515 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10516 size_t arg2 ;
10517 PyObject * obj0 = 0 ;
10518 PyObject * obj1 = 0 ;
10519 char *kwnames[] = {
10520 (char *) "self",(char *) "count", NULL
10521 };
10522
10523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
10524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10526 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
d55e5bfc
RD
10527 if (PyErr_Occurred()) SWIG_fail;
10528 {
10529 PyThreadState* __tstate = wxPyBeginAllowThreads();
10530 (arg1)->SetItemCount(arg2);
10531
10532 wxPyEndAllowThreads(__tstate);
10533 if (PyErr_Occurred()) SWIG_fail;
10534 }
10535 Py_INCREF(Py_None); resultobj = Py_None;
10536 return resultobj;
10537 fail:
10538 return NULL;
10539}
10540
10541
c32bde28 10542static PyObject *_wrap_VListBox_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10543 PyObject *resultobj;
10544 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10545 PyObject * obj0 = 0 ;
10546 char *kwnames[] = {
10547 (char *) "self", NULL
10548 };
10549
10550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
10551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10553 {
10554 PyThreadState* __tstate = wxPyBeginAllowThreads();
10555 (arg1)->Clear();
10556
10557 wxPyEndAllowThreads(__tstate);
10558 if (PyErr_Occurred()) SWIG_fail;
10559 }
10560 Py_INCREF(Py_None); resultobj = Py_None;
10561 return resultobj;
10562 fail:
10563 return NULL;
10564}
10565
10566
c32bde28 10567static PyObject *_wrap_VListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10568 PyObject *resultobj;
10569 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10570 int arg2 ;
10571 PyObject * obj0 = 0 ;
10572 PyObject * obj1 = 0 ;
10573 char *kwnames[] = {
10574 (char *) "self",(char *) "selection", NULL
10575 };
10576
10577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
10578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10580 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
10581 if (PyErr_Occurred()) SWIG_fail;
10582 {
10583 PyThreadState* __tstate = wxPyBeginAllowThreads();
10584 (arg1)->SetSelection(arg2);
10585
10586 wxPyEndAllowThreads(__tstate);
10587 if (PyErr_Occurred()) SWIG_fail;
10588 }
10589 Py_INCREF(Py_None); resultobj = Py_None;
10590 return resultobj;
10591 fail:
10592 return NULL;
10593}
10594
10595
c32bde28 10596static PyObject *_wrap_VListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10597 PyObject *resultobj;
10598 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10599 size_t arg2 ;
ae8162c8 10600 bool arg3 = (bool) true ;
d55e5bfc
RD
10601 bool result;
10602 PyObject * obj0 = 0 ;
10603 PyObject * obj1 = 0 ;
10604 PyObject * obj2 = 0 ;
10605 char *kwnames[] = {
10606 (char *) "self",(char *) "item",(char *) "select", NULL
10607 };
10608
10609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
10610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10612 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
d55e5bfc
RD
10613 if (PyErr_Occurred()) SWIG_fail;
10614 if (obj2) {
c32bde28 10615 arg3 = (bool)SWIG_As_bool(obj2);
d55e5bfc
RD
10616 if (PyErr_Occurred()) SWIG_fail;
10617 }
10618 {
10619 PyThreadState* __tstate = wxPyBeginAllowThreads();
10620 result = (bool)(arg1)->Select(arg2,arg3);
10621
10622 wxPyEndAllowThreads(__tstate);
10623 if (PyErr_Occurred()) SWIG_fail;
10624 }
10625 {
10626 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10627 }
10628 return resultobj;
10629 fail:
10630 return NULL;
10631}
10632
10633
c32bde28 10634static PyObject *_wrap_VListBox_SelectRange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10635 PyObject *resultobj;
10636 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10637 size_t arg2 ;
10638 size_t arg3 ;
10639 bool result;
10640 PyObject * obj0 = 0 ;
10641 PyObject * obj1 = 0 ;
10642 PyObject * obj2 = 0 ;
10643 char *kwnames[] = {
10644 (char *) "self",(char *) "from",(char *) "to", NULL
10645 };
10646
10647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10650 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
d55e5bfc 10651 if (PyErr_Occurred()) SWIG_fail;
c32bde28 10652 arg3 = (size_t)SWIG_As_unsigned_SS_long(obj2);
d55e5bfc
RD
10653 if (PyErr_Occurred()) SWIG_fail;
10654 {
10655 PyThreadState* __tstate = wxPyBeginAllowThreads();
10656 result = (bool)(arg1)->SelectRange(arg2,arg3);
10657
10658 wxPyEndAllowThreads(__tstate);
10659 if (PyErr_Occurred()) SWIG_fail;
10660 }
10661 {
10662 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10663 }
10664 return resultobj;
10665 fail:
10666 return NULL;
10667}
10668
10669
c32bde28 10670static PyObject *_wrap_VListBox_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10671 PyObject *resultobj;
10672 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10673 size_t arg2 ;
10674 PyObject * obj0 = 0 ;
10675 PyObject * obj1 = 0 ;
10676 char *kwnames[] = {
10677 (char *) "self",(char *) "item", NULL
10678 };
10679
10680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
10681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10683 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
d55e5bfc
RD
10684 if (PyErr_Occurred()) SWIG_fail;
10685 {
10686 PyThreadState* __tstate = wxPyBeginAllowThreads();
10687 (arg1)->Toggle(arg2);
10688
10689 wxPyEndAllowThreads(__tstate);
10690 if (PyErr_Occurred()) SWIG_fail;
10691 }
10692 Py_INCREF(Py_None); resultobj = Py_None;
10693 return resultobj;
10694 fail:
10695 return NULL;
10696}
10697
10698
c32bde28 10699static PyObject *_wrap_VListBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10700 PyObject *resultobj;
10701 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10702 bool result;
10703 PyObject * obj0 = 0 ;
10704 char *kwnames[] = {
10705 (char *) "self", NULL
10706 };
10707
10708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
10709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10711 {
10712 PyThreadState* __tstate = wxPyBeginAllowThreads();
10713 result = (bool)(arg1)->SelectAll();
10714
10715 wxPyEndAllowThreads(__tstate);
10716 if (PyErr_Occurred()) SWIG_fail;
10717 }
10718 {
10719 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10720 }
10721 return resultobj;
10722 fail:
10723 return NULL;
10724}
10725
10726
c32bde28 10727static PyObject *_wrap_VListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10728 PyObject *resultobj;
10729 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10730 bool result;
10731 PyObject * obj0 = 0 ;
10732 char *kwnames[] = {
10733 (char *) "self", NULL
10734 };
10735
10736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
10737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10739 {
10740 PyThreadState* __tstate = wxPyBeginAllowThreads();
10741 result = (bool)(arg1)->DeselectAll();
10742
10743 wxPyEndAllowThreads(__tstate);
10744 if (PyErr_Occurred()) SWIG_fail;
10745 }
10746 {
10747 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10748 }
10749 return resultobj;
10750 fail:
10751 return NULL;
10752}
10753
10754
c32bde28 10755static PyObject *_wrap_VListBox_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10756 PyObject *resultobj;
10757 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10758 wxPoint *arg2 = 0 ;
10759 wxPoint temp2 ;
10760 PyObject * obj0 = 0 ;
10761 PyObject * obj1 = 0 ;
10762 char *kwnames[] = {
10763 (char *) "self",(char *) "pt", NULL
10764 };
10765
10766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
10767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10769 {
10770 arg2 = &temp2;
10771 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10772 }
10773 {
10774 PyThreadState* __tstate = wxPyBeginAllowThreads();
10775 (arg1)->SetMargins((wxPoint const &)*arg2);
10776
10777 wxPyEndAllowThreads(__tstate);
10778 if (PyErr_Occurred()) SWIG_fail;
10779 }
10780 Py_INCREF(Py_None); resultobj = Py_None;
10781 return resultobj;
10782 fail:
10783 return NULL;
10784}
10785
10786
c32bde28 10787static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10788 PyObject *resultobj;
10789 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10790 int arg2 ;
10791 int arg3 ;
10792 PyObject * obj0 = 0 ;
10793 PyObject * obj1 = 0 ;
10794 PyObject * obj2 = 0 ;
10795 char *kwnames[] = {
10796 (char *) "self",(char *) "x",(char *) "y", NULL
10797 };
10798
10799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
10800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10802 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 10803 if (PyErr_Occurred()) SWIG_fail;
c32bde28 10804 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
10805 if (PyErr_Occurred()) SWIG_fail;
10806 {
10807 PyThreadState* __tstate = wxPyBeginAllowThreads();
10808 (arg1)->SetMargins(arg2,arg3);
10809
10810 wxPyEndAllowThreads(__tstate);
10811 if (PyErr_Occurred()) SWIG_fail;
10812 }
10813 Py_INCREF(Py_None); resultobj = Py_None;
10814 return resultobj;
10815 fail:
10816 return NULL;
10817}
10818
10819
c32bde28 10820static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10821 PyObject *resultobj;
10822 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10823 wxColour *arg2 = 0 ;
10824 wxColour temp2 ;
10825 PyObject * obj0 = 0 ;
10826 PyObject * obj1 = 0 ;
10827 char *kwnames[] = {
10828 (char *) "self",(char *) "col", NULL
10829 };
10830
10831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
10832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10834 {
10835 arg2 = &temp2;
10836 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10837 }
10838 {
10839 PyThreadState* __tstate = wxPyBeginAllowThreads();
10840 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
10841
10842 wxPyEndAllowThreads(__tstate);
10843 if (PyErr_Occurred()) SWIG_fail;
10844 }
10845 Py_INCREF(Py_None); resultobj = Py_None;
10846 return resultobj;
10847 fail:
10848 return NULL;
10849}
10850
10851
c32bde28 10852static PyObject * VListBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
10853 PyObject *obj;
10854 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10855 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
10856 Py_INCREF(obj);
10857 return Py_BuildValue((char *)"");
10858}
c32bde28 10859static PyObject *_wrap_new_HtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10860 PyObject *resultobj;
10861 wxWindow *arg1 = (wxWindow *) 0 ;
10862 int arg2 = (int) wxID_ANY ;
10863 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10864 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10865 wxSize const &arg4_defvalue = wxDefaultSize ;
10866 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10867 long arg5 = (long) 0 ;
10868 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
10869 wxString *arg6 = (wxString *) &arg6_defvalue ;
10870 wxPyHtmlListBox *result;
10871 wxPoint temp3 ;
10872 wxSize temp4 ;
ae8162c8 10873 bool temp6 = false ;
d55e5bfc
RD
10874 PyObject * obj0 = 0 ;
10875 PyObject * obj1 = 0 ;
10876 PyObject * obj2 = 0 ;
10877 PyObject * obj3 = 0 ;
10878 PyObject * obj4 = 0 ;
10879 PyObject * obj5 = 0 ;
10880 char *kwnames[] = {
10881 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10882 };
10883
10884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10887 if (obj1) {
c32bde28 10888 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
10889 if (PyErr_Occurred()) SWIG_fail;
10890 }
10891 if (obj2) {
10892 {
10893 arg3 = &temp3;
10894 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10895 }
10896 }
10897 if (obj3) {
10898 {
10899 arg4 = &temp4;
10900 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10901 }
10902 }
10903 if (obj4) {
c32bde28 10904 arg5 = (long)SWIG_As_long(obj4);
d55e5bfc
RD
10905 if (PyErr_Occurred()) SWIG_fail;
10906 }
10907 if (obj5) {
10908 {
10909 arg6 = wxString_in_helper(obj5);
10910 if (arg6 == NULL) SWIG_fail;
ae8162c8 10911 temp6 = true;
d55e5bfc
RD
10912 }
10913 }
10914 {
0439c23b 10915 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
10916 PyThreadState* __tstate = wxPyBeginAllowThreads();
10917 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10918
10919 wxPyEndAllowThreads(__tstate);
110da5b0 10920 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
10921 }
10922 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10923 {
10924 if (temp6)
10925 delete arg6;
10926 }
10927 return resultobj;
10928 fail:
10929 {
10930 if (temp6)
10931 delete arg6;
10932 }
10933 return NULL;
10934}
10935
10936
c32bde28 10937static PyObject *_wrap_new_PreHtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10938 PyObject *resultobj;
10939 wxPyHtmlListBox *result;
10940 char *kwnames[] = {
10941 NULL
10942 };
10943
10944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
10945 {
0439c23b 10946 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
10947 PyThreadState* __tstate = wxPyBeginAllowThreads();
10948 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
10949
10950 wxPyEndAllowThreads(__tstate);
110da5b0 10951 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
10952 }
10953 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10954 return resultobj;
10955 fail:
10956 return NULL;
10957}
10958
10959
c32bde28 10960static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10961 PyObject *resultobj;
10962 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10963 PyObject *arg2 = (PyObject *) 0 ;
10964 PyObject *arg3 = (PyObject *) 0 ;
10965 PyObject * obj0 = 0 ;
10966 PyObject * obj1 = 0 ;
10967 PyObject * obj2 = 0 ;
10968 char *kwnames[] = {
10969 (char *) "self",(char *) "self",(char *) "_class", NULL
10970 };
10971
10972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10975 arg2 = obj1;
10976 arg3 = obj2;
10977 {
10978 PyThreadState* __tstate = wxPyBeginAllowThreads();
10979 (arg1)->_setCallbackInfo(arg2,arg3);
10980
10981 wxPyEndAllowThreads(__tstate);
10982 if (PyErr_Occurred()) SWIG_fail;
10983 }
10984 Py_INCREF(Py_None); resultobj = Py_None;
10985 return resultobj;
10986 fail:
10987 return NULL;
10988}
10989
10990
c32bde28 10991static PyObject *_wrap_HtmlListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10992 PyObject *resultobj;
10993 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10994 wxWindow *arg2 = (wxWindow *) 0 ;
10995 int arg3 = (int) wxID_ANY ;
10996 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10997 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10998 wxSize const &arg5_defvalue = wxDefaultSize ;
10999 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11000 long arg6 = (long) 0 ;
11001 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
11002 wxString *arg7 = (wxString *) &arg7_defvalue ;
11003 bool result;
11004 wxPoint temp4 ;
11005 wxSize temp5 ;
ae8162c8 11006 bool temp7 = false ;
d55e5bfc
RD
11007 PyObject * obj0 = 0 ;
11008 PyObject * obj1 = 0 ;
11009 PyObject * obj2 = 0 ;
11010 PyObject * obj3 = 0 ;
11011 PyObject * obj4 = 0 ;
11012 PyObject * obj5 = 0 ;
11013 PyObject * obj6 = 0 ;
11014 char *kwnames[] = {
11015 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11016 };
11017
11018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
11020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11021 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
11022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11023 if (obj2) {
c32bde28 11024 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
11025 if (PyErr_Occurred()) SWIG_fail;
11026 }
11027 if (obj3) {
11028 {
11029 arg4 = &temp4;
11030 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11031 }
11032 }
11033 if (obj4) {
11034 {
11035 arg5 = &temp5;
11036 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11037 }
11038 }
11039 if (obj5) {
c32bde28 11040 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
11041 if (PyErr_Occurred()) SWIG_fail;
11042 }
11043 if (obj6) {
11044 {
11045 arg7 = wxString_in_helper(obj6);
11046 if (arg7 == NULL) SWIG_fail;
ae8162c8 11047 temp7 = true;
d55e5bfc
RD
11048 }
11049 }
11050 {
11051 PyThreadState* __tstate = wxPyBeginAllowThreads();
11052 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11053
11054 wxPyEndAllowThreads(__tstate);
11055 if (PyErr_Occurred()) SWIG_fail;
11056 }
11057 {
11058 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11059 }
11060 {
11061 if (temp7)
11062 delete arg7;
11063 }
11064 return resultobj;
11065 fail:
11066 {
11067 if (temp7)
11068 delete arg7;
11069 }
11070 return NULL;
11071}
11072
11073
c32bde28 11074static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11075 PyObject *resultobj;
11076 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
11077 PyObject * obj0 = 0 ;
11078 char *kwnames[] = {
11079 (char *) "self", NULL
11080 };
11081
11082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
11083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
11084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11085 {
11086 PyThreadState* __tstate = wxPyBeginAllowThreads();
11087 (arg1)->RefreshAll();
11088
11089 wxPyEndAllowThreads(__tstate);
11090 if (PyErr_Occurred()) SWIG_fail;
11091 }
11092 Py_INCREF(Py_None); resultobj = Py_None;
11093 return resultobj;
11094 fail:
11095 return NULL;
11096}
11097
11098
c32bde28 11099static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11100 PyObject *resultobj;
11101 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
11102 size_t arg2 ;
11103 PyObject * obj0 = 0 ;
11104 PyObject * obj1 = 0 ;
11105 char *kwnames[] = {
11106 (char *) "self",(char *) "count", NULL
11107 };
11108
11109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
11110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
11111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11112 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
d55e5bfc
RD
11113 if (PyErr_Occurred()) SWIG_fail;
11114 {
11115 PyThreadState* __tstate = wxPyBeginAllowThreads();
11116 (arg1)->SetItemCount(arg2);
11117
11118 wxPyEndAllowThreads(__tstate);
11119 if (PyErr_Occurred()) SWIG_fail;
11120 }
11121 Py_INCREF(Py_None); resultobj = Py_None;
11122 return resultobj;
11123 fail:
11124 return NULL;
11125}
11126
11127
c32bde28 11128static PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *, PyObject *args, PyObject *kwargs) {
c24da6d6
RD
11129 PyObject *resultobj;
11130 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
11131 wxFileSystem *result;
11132 PyObject * obj0 = 0 ;
11133 char *kwnames[] = {
11134 (char *) "self", NULL
11135 };
11136
11137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_GetFileSystem",kwnames,&obj0)) goto fail;
11138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
11139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11140 {
11141 PyThreadState* __tstate = wxPyBeginAllowThreads();
11142 {
11143 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
11144 result = (wxFileSystem *) &_result_ref;
11145 }
11146
11147 wxPyEndAllowThreads(__tstate);
11148 if (PyErr_Occurred()) SWIG_fail;
11149 }
11150 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileSystem, 0);
11151 return resultobj;
11152 fail:
11153 return NULL;
11154}
11155
11156
c32bde28 11157static PyObject * HtmlListBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
11158 PyObject *obj;
11159 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11160 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
11161 Py_INCREF(obj);
11162 return Py_BuildValue((char *)"");
11163}
c32bde28 11164static PyObject *_wrap_new_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 11165 PyObject *resultobj;
5e483524 11166 wxPyTaskBarIcon *result;
d55e5bfc
RD
11167 char *kwnames[] = {
11168 NULL
11169 };
11170
11171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
11172 {
0439c23b 11173 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 11174 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e483524 11175 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
d55e5bfc
RD
11176
11177 wxPyEndAllowThreads(__tstate);
110da5b0 11178 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 11179 }
5e483524 11180 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTaskBarIcon, 1);
d55e5bfc
RD
11181 return resultobj;
11182 fail:
11183 return NULL;
11184}
11185
11186
5e483524 11187static PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 11188 PyObject *resultobj;
5e483524
RD
11189 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
11190 PyObject *arg2 = (PyObject *) 0 ;
11191 PyObject *arg3 = (PyObject *) 0 ;
11192 int arg4 ;
d55e5bfc 11193 PyObject * obj0 = 0 ;
5e483524
RD
11194 PyObject * obj1 = 0 ;
11195 PyObject * obj2 = 0 ;
11196 PyObject * obj3 = 0 ;
d55e5bfc 11197 char *kwnames[] = {
5e483524 11198 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
d55e5bfc
RD
11199 };
11200
5e483524
RD
11201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon,
d55e5bfc 11203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5e483524
RD
11204 arg2 = obj1;
11205 arg3 = obj2;
11206 arg4 = (int)SWIG_As_int(obj3);
11207 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11208 {
11209 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e483524 11210 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
d55e5bfc
RD
11211
11212 wxPyEndAllowThreads(__tstate);
11213 if (PyErr_Occurred()) SWIG_fail;
11214 }
11215 Py_INCREF(Py_None); resultobj = Py_None;
11216 return resultobj;
11217 fail:
11218 return NULL;
11219}
11220
11221
c32bde28 11222static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 11223 PyObject *resultobj;
5e483524 11224 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
d55e5bfc
RD
11225 PyObject * obj0 = 0 ;
11226 char *kwnames[] = {
11227 (char *) "self", NULL
11228 };
11229
11230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail;
5e483524 11231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon,
d55e5bfc
RD
11232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11233 {
11234 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e483524 11235 wxPyTaskBarIcon_Destroy(arg1);
d55e5bfc
RD
11236
11237 wxPyEndAllowThreads(__tstate);
11238 if (PyErr_Occurred()) SWIG_fail;
11239 }
11240 Py_INCREF(Py_None); resultobj = Py_None;
11241 return resultobj;
11242 fail:
11243 return NULL;
11244}
11245
11246
c32bde28 11247static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 11248 PyObject *resultobj;
5e483524 11249 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
d55e5bfc
RD
11250 bool result;
11251 PyObject * obj0 = 0 ;
11252 char *kwnames[] = {
11253 (char *) "self", NULL
11254 };
11255
11256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
5e483524 11257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon,
d55e5bfc
RD
11258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11259 {
11260 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e483524 11261 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
d55e5bfc
RD
11262
11263 wxPyEndAllowThreads(__tstate);
11264 if (PyErr_Occurred()) SWIG_fail;
11265 }
11266 {
11267 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11268 }
11269 return resultobj;
11270 fail:
11271 return NULL;
11272}
11273
11274
c32bde28 11275static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 11276 PyObject *resultobj;
5e483524 11277 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
d55e5bfc
RD
11278 bool result;
11279 PyObject * obj0 = 0 ;
11280 char *kwnames[] = {
11281 (char *) "self", NULL
11282 };
11283
11284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
5e483524 11285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon,
d55e5bfc
RD
11286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11287 {
11288 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e483524 11289 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
d55e5bfc
RD
11290
11291 wxPyEndAllowThreads(__tstate);
11292 if (PyErr_Occurred()) SWIG_fail;
11293 }
11294 {
11295 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11296 }
11297 return resultobj;
11298 fail:
11299 return NULL;
11300}
11301
11302
c32bde28 11303static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 11304 PyObject *resultobj;
5e483524 11305 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
d55e5bfc
RD
11306 wxIcon *arg2 = 0 ;
11307 wxString const &arg3_defvalue = wxPyEmptyString ;
11308 wxString *arg3 = (wxString *) &arg3_defvalue ;
11309 bool result;
ae8162c8 11310 bool temp3 = false ;
d55e5bfc
RD
11311 PyObject * obj0 = 0 ;
11312 PyObject * obj1 = 0 ;
11313 PyObject * obj2 = 0 ;
11314 char *kwnames[] = {
11315 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
11316 };
11317
11318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
5e483524 11319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon,
d55e5bfc
RD
11320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11321 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
11322 SWIG_POINTER_EXCEPTION | 0)) == -1)
11323 SWIG_fail;
11324 if (arg2 == NULL) {
11325 PyErr_SetString(PyExc_TypeError,"null reference");
11326 SWIG_fail;
11327 }
11328 if (obj2) {
11329 {
11330 arg3 = wxString_in_helper(obj2);
11331 if (arg3 == NULL) SWIG_fail;
ae8162c8 11332 temp3 = true;
d55e5bfc
RD
11333 }
11334 }
11335 {
11336 PyThreadState* __tstate = wxPyBeginAllowThreads();
11337 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
11338
11339 wxPyEndAllowThreads(__tstate);
11340 if (PyErr_Occurred()) SWIG_fail;
11341 }
11342 {
11343 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11344 }
11345 {
11346 if (temp3)
11347 delete arg3;
11348 }
11349 return resultobj;
11350 fail:
11351 {
11352 if (temp3)
11353 delete arg3;
11354 }
11355 return NULL;
11356}
11357
11358
c32bde28 11359static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 11360 PyObject *resultobj;
5e483524 11361 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
d55e5bfc
RD
11362 bool result;
11363 PyObject * obj0 = 0 ;
11364 char *kwnames[] = {
11365 (char *) "self", NULL
11366 };
11367
11368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
5e483524 11369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon,
d55e5bfc
RD
11370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11371 {
11372 PyThreadState* __tstate = wxPyBeginAllowThreads();
11373 result = (bool)(arg1)->RemoveIcon();
11374
11375 wxPyEndAllowThreads(__tstate);
11376 if (PyErr_Occurred()) SWIG_fail;
11377 }
11378 {
11379 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11380 }
11381 return resultobj;
11382 fail:
11383 return NULL;
11384}
11385
11386
c32bde28 11387static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 11388 PyObject *resultobj;
5e483524 11389 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
d55e5bfc
RD
11390 wxMenu *arg2 = (wxMenu *) 0 ;
11391 bool result;
11392 PyObject * obj0 = 0 ;
11393 PyObject * obj1 = 0 ;
11394 char *kwnames[] = {
11395 (char *) "self",(char *) "menu", NULL
11396 };
11397
11398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
5e483524 11399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon,
d55e5bfc
RD
11400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11401 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
11402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11403 {
11404 PyThreadState* __tstate = wxPyBeginAllowThreads();
11405 result = (bool)(arg1)->PopupMenu(arg2);
11406
11407 wxPyEndAllowThreads(__tstate);
11408 if (PyErr_Occurred()) SWIG_fail;
11409 }
11410 {
11411 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11412 }
11413 return resultobj;
11414 fail:
11415 return NULL;
11416}
11417
11418
c32bde28 11419static PyObject * TaskBarIcon_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
11420 PyObject *obj;
11421 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5e483524 11422 SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon, obj);
d55e5bfc
RD
11423 Py_INCREF(obj);
11424 return Py_BuildValue((char *)"");
11425}
c32bde28 11426static PyObject *_wrap_new_TaskBarIconEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11427 PyObject *resultobj;
11428 wxEventType arg1 ;
11429 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
11430 wxTaskBarIconEvent *result;
11431 PyObject * obj0 = 0 ;
11432 PyObject * obj1 = 0 ;
11433 char *kwnames[] = {
11434 (char *) "evtType",(char *) "tbIcon", NULL
11435 };
11436
11437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
c32bde28 11438 arg1 = (wxEventType)SWIG_As_int(obj0);
d55e5bfc
RD
11439 if (PyErr_Occurred()) SWIG_fail;
11440 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTaskBarIcon,
11441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11442 {
11443 PyThreadState* __tstate = wxPyBeginAllowThreads();
11444 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
11445
11446 wxPyEndAllowThreads(__tstate);
11447 if (PyErr_Occurred()) SWIG_fail;
11448 }
11449 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
11450 return resultobj;
11451 fail:
11452 return NULL;
11453}
11454
11455
c32bde28 11456static PyObject * TaskBarIconEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
11457 PyObject *obj;
11458 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11459 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
11460 Py_INCREF(obj);
11461 return Py_BuildValue((char *)"");
11462}
c32bde28 11463static int _wrap_FileSelectorPromptStr_set(PyObject *) {
d55e5bfc
RD
11464 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
11465 return 1;
11466}
11467
11468
11469static PyObject *_wrap_FileSelectorPromptStr_get() {
11470 PyObject *pyobj;
11471
11472 {
11473#if wxUSE_UNICODE
11474 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
11475#else
11476 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
11477#endif
11478 }
11479 return pyobj;
11480}
11481
11482
c32bde28 11483static int _wrap_DirSelectorPromptStr_set(PyObject *) {
d55e5bfc
RD
11484 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
11485 return 1;
11486}
11487
11488
11489static PyObject *_wrap_DirSelectorPromptStr_get() {
11490 PyObject *pyobj;
11491
11492 {
11493#if wxUSE_UNICODE
11494 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
11495#else
11496 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
11497#endif
11498 }
11499 return pyobj;
11500}
11501
11502
c32bde28 11503static int _wrap_DirDialogNameStr_set(PyObject *) {
d55e5bfc
RD
11504 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
11505 return 1;
11506}
11507
11508
11509static PyObject *_wrap_DirDialogNameStr_get() {
11510 PyObject *pyobj;
11511
11512 {
11513#if wxUSE_UNICODE
11514 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
11515#else
11516 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
11517#endif
11518 }
11519 return pyobj;
11520}
11521
11522
c32bde28 11523static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) {
d55e5bfc
RD
11524 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
11525 return 1;
11526}
11527
11528
11529static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
11530 PyObject *pyobj;
11531
11532 {
11533#if wxUSE_UNICODE
11534 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
11535#else
11536 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
11537#endif
11538 }
11539 return pyobj;
11540}
11541
11542
c32bde28 11543static int _wrap_GetTextFromUserPromptStr_set(PyObject *) {
d55e5bfc
RD
11544 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
11545 return 1;
11546}
11547
11548
11549static PyObject *_wrap_GetTextFromUserPromptStr_get() {
11550 PyObject *pyobj;
11551
11552 {
11553#if wxUSE_UNICODE
11554 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
11555#else
11556 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
11557#endif
11558 }
11559 return pyobj;
11560}
11561
11562
c32bde28 11563static int _wrap_MessageBoxCaptionStr_set(PyObject *) {
d55e5bfc
RD
11564 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
11565 return 1;
11566}
11567
11568
11569static PyObject *_wrap_MessageBoxCaptionStr_get() {
11570 PyObject *pyobj;
11571
11572 {
11573#if wxUSE_UNICODE
11574 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
11575#else
11576 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
11577#endif
11578 }
11579 return pyobj;
11580}
11581
11582
c32bde28 11583static PyObject *_wrap_new_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11584 PyObject *resultobj;
11585 wxColourData *result;
11586 char *kwnames[] = {
11587 NULL
11588 };
11589
11590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
11591 {
11592 PyThreadState* __tstate = wxPyBeginAllowThreads();
11593 result = (wxColourData *)new wxColourData();
11594
11595 wxPyEndAllowThreads(__tstate);
11596 if (PyErr_Occurred()) SWIG_fail;
11597 }
11598 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
11599 return resultobj;
11600 fail:
11601 return NULL;
11602}
11603
11604
c32bde28 11605static PyObject *_wrap_delete_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11606 PyObject *resultobj;
11607 wxColourData *arg1 = (wxColourData *) 0 ;
11608 PyObject * obj0 = 0 ;
11609 char *kwnames[] = {
11610 (char *) "self", NULL
11611 };
11612
11613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
11614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11616 {
11617 PyThreadState* __tstate = wxPyBeginAllowThreads();
11618 delete arg1;
11619
11620 wxPyEndAllowThreads(__tstate);
11621 if (PyErr_Occurred()) SWIG_fail;
11622 }
11623 Py_INCREF(Py_None); resultobj = Py_None;
11624 return resultobj;
11625 fail:
11626 return NULL;
11627}
11628
11629
c32bde28 11630static PyObject *_wrap_ColourData_GetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11631 PyObject *resultobj;
11632 wxColourData *arg1 = (wxColourData *) 0 ;
11633 bool result;
11634 PyObject * obj0 = 0 ;
11635 char *kwnames[] = {
11636 (char *) "self", NULL
11637 };
11638
11639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
11640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11642 {
11643 PyThreadState* __tstate = wxPyBeginAllowThreads();
11644 result = (bool)(arg1)->GetChooseFull();
11645
11646 wxPyEndAllowThreads(__tstate);
11647 if (PyErr_Occurred()) SWIG_fail;
11648 }
11649 {
11650 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11651 }
11652 return resultobj;
11653 fail:
11654 return NULL;
11655}
11656
11657
c32bde28 11658static PyObject *_wrap_ColourData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11659 PyObject *resultobj;
11660 wxColourData *arg1 = (wxColourData *) 0 ;
11661 wxColour result;
11662 PyObject * obj0 = 0 ;
11663 char *kwnames[] = {
11664 (char *) "self", NULL
11665 };
11666
11667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
11668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11670 {
11671 PyThreadState* __tstate = wxPyBeginAllowThreads();
11672 result = (arg1)->GetColour();
11673
11674 wxPyEndAllowThreads(__tstate);
11675 if (PyErr_Occurred()) SWIG_fail;
11676 }
11677 {
11678 wxColour * resultptr;
11679 resultptr = new wxColour((wxColour &) result);
11680 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11681 }
11682 return resultobj;
11683 fail:
11684 return NULL;
11685}
11686
11687
c32bde28 11688static PyObject *_wrap_ColourData_GetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11689 PyObject *resultobj;
11690 wxColourData *arg1 = (wxColourData *) 0 ;
11691 int arg2 ;
11692 wxColour result;
11693 PyObject * obj0 = 0 ;
11694 PyObject * obj1 = 0 ;
11695 char *kwnames[] = {
11696 (char *) "self",(char *) "i", NULL
11697 };
11698
11699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
11700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11702 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
11703 if (PyErr_Occurred()) SWIG_fail;
11704 {
11705 PyThreadState* __tstate = wxPyBeginAllowThreads();
11706 result = (arg1)->GetCustomColour(arg2);
11707
11708 wxPyEndAllowThreads(__tstate);
11709 if (PyErr_Occurred()) SWIG_fail;
11710 }
11711 {
11712 wxColour * resultptr;
11713 resultptr = new wxColour((wxColour &) result);
11714 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11715 }
11716 return resultobj;
11717 fail:
11718 return NULL;
11719}
11720
11721
c32bde28 11722static PyObject *_wrap_ColourData_SetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11723 PyObject *resultobj;
11724 wxColourData *arg1 = (wxColourData *) 0 ;
11725 int arg2 ;
11726 PyObject * obj0 = 0 ;
11727 PyObject * obj1 = 0 ;
11728 char *kwnames[] = {
11729 (char *) "self",(char *) "flag", NULL
11730 };
11731
11732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
11733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11735 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
11736 if (PyErr_Occurred()) SWIG_fail;
11737 {
11738 PyThreadState* __tstate = wxPyBeginAllowThreads();
11739 (arg1)->SetChooseFull(arg2);
11740
11741 wxPyEndAllowThreads(__tstate);
11742 if (PyErr_Occurred()) SWIG_fail;
11743 }
11744 Py_INCREF(Py_None); resultobj = Py_None;
11745 return resultobj;
11746 fail:
11747 return NULL;
11748}
11749
11750
c32bde28 11751static PyObject *_wrap_ColourData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11752 PyObject *resultobj;
11753 wxColourData *arg1 = (wxColourData *) 0 ;
11754 wxColour *arg2 = 0 ;
11755 wxColour temp2 ;
11756 PyObject * obj0 = 0 ;
11757 PyObject * obj1 = 0 ;
11758 char *kwnames[] = {
11759 (char *) "self",(char *) "colour", NULL
11760 };
11761
11762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
11763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11765 {
11766 arg2 = &temp2;
11767 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
11768 }
11769 {
11770 PyThreadState* __tstate = wxPyBeginAllowThreads();
11771 (arg1)->SetColour((wxColour const &)*arg2);
11772
11773 wxPyEndAllowThreads(__tstate);
11774 if (PyErr_Occurred()) SWIG_fail;
11775 }
11776 Py_INCREF(Py_None); resultobj = Py_None;
11777 return resultobj;
11778 fail:
11779 return NULL;
11780}
11781
11782
c32bde28 11783static PyObject *_wrap_ColourData_SetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11784 PyObject *resultobj;
11785 wxColourData *arg1 = (wxColourData *) 0 ;
11786 int arg2 ;
11787 wxColour *arg3 = 0 ;
11788 wxColour temp3 ;
11789 PyObject * obj0 = 0 ;
11790 PyObject * obj1 = 0 ;
11791 PyObject * obj2 = 0 ;
11792 char *kwnames[] = {
11793 (char *) "self",(char *) "i",(char *) "colour", NULL
11794 };
11795
11796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
11797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11799 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
11800 if (PyErr_Occurred()) SWIG_fail;
11801 {
11802 arg3 = &temp3;
11803 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
11804 }
11805 {
11806 PyThreadState* __tstate = wxPyBeginAllowThreads();
11807 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
11808
11809 wxPyEndAllowThreads(__tstate);
11810 if (PyErr_Occurred()) SWIG_fail;
11811 }
11812 Py_INCREF(Py_None); resultobj = Py_None;
11813 return resultobj;
11814 fail:
11815 return NULL;
11816}
11817
11818
c32bde28 11819static PyObject * ColourData_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
11820 PyObject *obj;
11821 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11822 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
11823 Py_INCREF(obj);
11824 return Py_BuildValue((char *)"");
11825}
c32bde28 11826static PyObject *_wrap_new_ColourDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11827 PyObject *resultobj;
11828 wxWindow *arg1 = (wxWindow *) 0 ;
11829 wxColourData *arg2 = (wxColourData *) NULL ;
11830 wxColourDialog *result;
11831 PyObject * obj0 = 0 ;
11832 PyObject * obj1 = 0 ;
11833 char *kwnames[] = {
11834 (char *) "parent",(char *) "data", NULL
11835 };
11836
11837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
11838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11840 if (obj1) {
11841 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColourData,
11842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11843 }
11844 {
0439c23b 11845 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11846 PyThreadState* __tstate = wxPyBeginAllowThreads();
11847 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
11848
11849 wxPyEndAllowThreads(__tstate);
110da5b0 11850 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11851 }
11852 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
11853 return resultobj;
11854 fail:
11855 return NULL;
11856}
11857
11858
c32bde28 11859static PyObject *_wrap_ColourDialog_GetColourData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11860 PyObject *resultobj;
11861 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
11862 wxColourData *result;
11863 PyObject * obj0 = 0 ;
11864 char *kwnames[] = {
11865 (char *) "self", NULL
11866 };
11867
11868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
11869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDialog,
11870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11871 {
11872 PyThreadState* __tstate = wxPyBeginAllowThreads();
11873 {
11874 wxColourData &_result_ref = (arg1)->GetColourData();
11875 result = (wxColourData *) &_result_ref;
11876 }
11877
11878 wxPyEndAllowThreads(__tstate);
11879 if (PyErr_Occurred()) SWIG_fail;
11880 }
11881 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
11882 return resultobj;
11883 fail:
11884 return NULL;
11885}
11886
11887
c32bde28 11888static PyObject * ColourDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
11889 PyObject *obj;
11890 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11891 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
11892 Py_INCREF(obj);
11893 return Py_BuildValue((char *)"");
11894}
c32bde28 11895static PyObject *_wrap_new_DirDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11896 PyObject *resultobj;
11897 wxWindow *arg1 = (wxWindow *) 0 ;
11898 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
11899 wxString *arg2 = (wxString *) &arg2_defvalue ;
11900 wxString const &arg3_defvalue = wxPyEmptyString ;
11901 wxString *arg3 = (wxString *) &arg3_defvalue ;
11902 long arg4 = (long) 0 ;
11903 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11904 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11905 wxSize const &arg6_defvalue = wxDefaultSize ;
11906 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11907 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
11908 wxString *arg7 = (wxString *) &arg7_defvalue ;
11909 wxDirDialog *result;
ae8162c8
RD
11910 bool temp2 = false ;
11911 bool temp3 = false ;
d55e5bfc
RD
11912 wxPoint temp5 ;
11913 wxSize temp6 ;
ae8162c8 11914 bool temp7 = false ;
d55e5bfc
RD
11915 PyObject * obj0 = 0 ;
11916 PyObject * obj1 = 0 ;
11917 PyObject * obj2 = 0 ;
11918 PyObject * obj3 = 0 ;
11919 PyObject * obj4 = 0 ;
11920 PyObject * obj5 = 0 ;
11921 PyObject * obj6 = 0 ;
11922 char *kwnames[] = {
11923 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11924 };
11925
11926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11929 if (obj1) {
11930 {
11931 arg2 = wxString_in_helper(obj1);
11932 if (arg2 == NULL) SWIG_fail;
ae8162c8 11933 temp2 = true;
d55e5bfc
RD
11934 }
11935 }
11936 if (obj2) {
11937 {
11938 arg3 = wxString_in_helper(obj2);
11939 if (arg3 == NULL) SWIG_fail;
ae8162c8 11940 temp3 = true;
d55e5bfc
RD
11941 }
11942 }
11943 if (obj3) {
c32bde28 11944 arg4 = (long)SWIG_As_long(obj3);
d55e5bfc
RD
11945 if (PyErr_Occurred()) SWIG_fail;
11946 }
11947 if (obj4) {
11948 {
11949 arg5 = &temp5;
11950 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11951 }
11952 }
11953 if (obj5) {
11954 {
11955 arg6 = &temp6;
11956 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11957 }
11958 }
11959 if (obj6) {
11960 {
11961 arg7 = wxString_in_helper(obj6);
11962 if (arg7 == NULL) SWIG_fail;
ae8162c8 11963 temp7 = true;
d55e5bfc
RD
11964 }
11965 }
11966 {
0439c23b 11967 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11968 PyThreadState* __tstate = wxPyBeginAllowThreads();
11969 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
11970
11971 wxPyEndAllowThreads(__tstate);
110da5b0 11972 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11973 }
11974 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
11975 {
11976 if (temp2)
11977 delete arg2;
11978 }
11979 {
11980 if (temp3)
11981 delete arg3;
11982 }
11983 {
11984 if (temp7)
11985 delete arg7;
11986 }
11987 return resultobj;
11988 fail:
11989 {
11990 if (temp2)
11991 delete arg2;
11992 }
11993 {
11994 if (temp3)
11995 delete arg3;
11996 }
11997 {
11998 if (temp7)
11999 delete arg7;
12000 }
12001 return NULL;
12002}
12003
12004
c32bde28 12005static PyObject *_wrap_DirDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12006 PyObject *resultobj;
12007 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
12008 wxString result;
12009 PyObject * obj0 = 0 ;
12010 char *kwnames[] = {
12011 (char *) "self", NULL
12012 };
12013
12014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
12015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
12016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12017 {
12018 PyThreadState* __tstate = wxPyBeginAllowThreads();
12019 result = (arg1)->GetPath();
12020
12021 wxPyEndAllowThreads(__tstate);
12022 if (PyErr_Occurred()) SWIG_fail;
12023 }
12024 {
12025#if wxUSE_UNICODE
12026 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12027#else
12028 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12029#endif
12030 }
12031 return resultobj;
12032 fail:
12033 return NULL;
12034}
12035
12036
c32bde28 12037static PyObject *_wrap_DirDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12038 PyObject *resultobj;
12039 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
12040 wxString result;
12041 PyObject * obj0 = 0 ;
12042 char *kwnames[] = {
12043 (char *) "self", NULL
12044 };
12045
12046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
12047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
12048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12049 {
12050 PyThreadState* __tstate = wxPyBeginAllowThreads();
12051 result = (arg1)->GetMessage();
12052
12053 wxPyEndAllowThreads(__tstate);
12054 if (PyErr_Occurred()) SWIG_fail;
12055 }
12056 {
12057#if wxUSE_UNICODE
12058 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12059#else
12060 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12061#endif
12062 }
12063 return resultobj;
12064 fail:
12065 return NULL;
12066}
12067
12068
c32bde28 12069static PyObject *_wrap_DirDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12070 PyObject *resultobj;
12071 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
12072 long result;
12073 PyObject * obj0 = 0 ;
12074 char *kwnames[] = {
12075 (char *) "self", NULL
12076 };
12077
12078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
12079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
12080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12081 {
12082 PyThreadState* __tstate = wxPyBeginAllowThreads();
12083 result = (long)(arg1)->GetStyle();
12084
12085 wxPyEndAllowThreads(__tstate);
12086 if (PyErr_Occurred()) SWIG_fail;
12087 }
c32bde28 12088 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
12089 return resultobj;
12090 fail:
12091 return NULL;
12092}
12093
12094
c32bde28 12095static PyObject *_wrap_DirDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12096 PyObject *resultobj;
12097 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
12098 wxString *arg2 = 0 ;
ae8162c8 12099 bool temp2 = false ;
d55e5bfc
RD
12100 PyObject * obj0 = 0 ;
12101 PyObject * obj1 = 0 ;
12102 char *kwnames[] = {
12103 (char *) "self",(char *) "message", NULL
12104 };
12105
12106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
12107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
12108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12109 {
12110 arg2 = wxString_in_helper(obj1);
12111 if (arg2 == NULL) SWIG_fail;
ae8162c8 12112 temp2 = true;
d55e5bfc
RD
12113 }
12114 {
12115 PyThreadState* __tstate = wxPyBeginAllowThreads();
12116 (arg1)->SetMessage((wxString const &)*arg2);
12117
12118 wxPyEndAllowThreads(__tstate);
12119 if (PyErr_Occurred()) SWIG_fail;
12120 }
12121 Py_INCREF(Py_None); resultobj = Py_None;
12122 {
12123 if (temp2)
12124 delete arg2;
12125 }
12126 return resultobj;
12127 fail:
12128 {
12129 if (temp2)
12130 delete arg2;
12131 }
12132 return NULL;
12133}
12134
12135
c32bde28 12136static PyObject *_wrap_DirDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12137 PyObject *resultobj;
12138 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
12139 wxString *arg2 = 0 ;
ae8162c8 12140 bool temp2 = false ;
d55e5bfc
RD
12141 PyObject * obj0 = 0 ;
12142 PyObject * obj1 = 0 ;
12143 char *kwnames[] = {
12144 (char *) "self",(char *) "path", NULL
12145 };
12146
12147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
12148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
12149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12150 {
12151 arg2 = wxString_in_helper(obj1);
12152 if (arg2 == NULL) SWIG_fail;
ae8162c8 12153 temp2 = true;
d55e5bfc
RD
12154 }
12155 {
12156 PyThreadState* __tstate = wxPyBeginAllowThreads();
12157 (arg1)->SetPath((wxString const &)*arg2);
12158
12159 wxPyEndAllowThreads(__tstate);
12160 if (PyErr_Occurred()) SWIG_fail;
12161 }
12162 Py_INCREF(Py_None); resultobj = Py_None;
12163 {
12164 if (temp2)
12165 delete arg2;
12166 }
12167 return resultobj;
12168 fail:
12169 {
12170 if (temp2)
12171 delete arg2;
12172 }
12173 return NULL;
12174}
12175
12176
c32bde28 12177static PyObject * DirDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
12178 PyObject *obj;
12179 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12180 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
12181 Py_INCREF(obj);
12182 return Py_BuildValue((char *)"");
12183}
c32bde28 12184static PyObject *_wrap_new_FileDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12185 PyObject *resultobj;
12186 wxWindow *arg1 = (wxWindow *) 0 ;
12187 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
12188 wxString *arg2 = (wxString *) &arg2_defvalue ;
12189 wxString const &arg3_defvalue = wxPyEmptyString ;
12190 wxString *arg3 = (wxString *) &arg3_defvalue ;
12191 wxString const &arg4_defvalue = wxPyEmptyString ;
12192 wxString *arg4 = (wxString *) &arg4_defvalue ;
12193 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
12194 wxString *arg5 = (wxString *) &arg5_defvalue ;
12195 long arg6 = (long) 0 ;
12196 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12197 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12198 wxFileDialog *result;
ae8162c8
RD
12199 bool temp2 = false ;
12200 bool temp3 = false ;
12201 bool temp4 = false ;
12202 bool temp5 = false ;
d55e5bfc
RD
12203 wxPoint temp7 ;
12204 PyObject * obj0 = 0 ;
12205 PyObject * obj1 = 0 ;
12206 PyObject * obj2 = 0 ;
12207 PyObject * obj3 = 0 ;
12208 PyObject * obj4 = 0 ;
12209 PyObject * obj5 = 0 ;
12210 PyObject * obj6 = 0 ;
12211 char *kwnames[] = {
12212 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
12213 };
12214
12215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
12216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12218 if (obj1) {
12219 {
12220 arg2 = wxString_in_helper(obj1);
12221 if (arg2 == NULL) SWIG_fail;
ae8162c8 12222 temp2 = true;
d55e5bfc
RD
12223 }
12224 }
12225 if (obj2) {
12226 {
12227 arg3 = wxString_in_helper(obj2);
12228 if (arg3 == NULL) SWIG_fail;
ae8162c8 12229 temp3 = true;
d55e5bfc
RD
12230 }
12231 }
12232 if (obj3) {
12233 {
12234 arg4 = wxString_in_helper(obj3);
12235 if (arg4 == NULL) SWIG_fail;
ae8162c8 12236 temp4 = true;
d55e5bfc
RD
12237 }
12238 }
12239 if (obj4) {
12240 {
12241 arg5 = wxString_in_helper(obj4);
12242 if (arg5 == NULL) SWIG_fail;
ae8162c8 12243 temp5 = true;
d55e5bfc
RD
12244 }
12245 }
12246 if (obj5) {
c32bde28 12247 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
12248 if (PyErr_Occurred()) SWIG_fail;
12249 }
12250 if (obj6) {
12251 {
12252 arg7 = &temp7;
12253 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
12254 }
12255 }
12256 {
0439c23b 12257 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12258 PyThreadState* __tstate = wxPyBeginAllowThreads();
12259 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
12260
12261 wxPyEndAllowThreads(__tstate);
110da5b0 12262 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12263 }
12264 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
12265 {
12266 if (temp2)
12267 delete arg2;
12268 }
12269 {
12270 if (temp3)
12271 delete arg3;
12272 }
12273 {
12274 if (temp4)
12275 delete arg4;
12276 }
12277 {
12278 if (temp5)
12279 delete arg5;
12280 }
12281 return resultobj;
12282 fail:
12283 {
12284 if (temp2)
12285 delete arg2;
12286 }
12287 {
12288 if (temp3)
12289 delete arg3;
12290 }
12291 {
12292 if (temp4)
12293 delete arg4;
12294 }
12295 {
12296 if (temp5)
12297 delete arg5;
12298 }
12299 return NULL;
12300}
12301
12302
c32bde28 12303static PyObject *_wrap_FileDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12304 PyObject *resultobj;
12305 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12306 wxString *arg2 = 0 ;
ae8162c8 12307 bool temp2 = false ;
d55e5bfc
RD
12308 PyObject * obj0 = 0 ;
12309 PyObject * obj1 = 0 ;
12310 char *kwnames[] = {
12311 (char *) "self",(char *) "message", NULL
12312 };
12313
12314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
12315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12317 {
12318 arg2 = wxString_in_helper(obj1);
12319 if (arg2 == NULL) SWIG_fail;
ae8162c8 12320 temp2 = true;
d55e5bfc
RD
12321 }
12322 {
12323 PyThreadState* __tstate = wxPyBeginAllowThreads();
12324 (arg1)->SetMessage((wxString const &)*arg2);
12325
12326 wxPyEndAllowThreads(__tstate);
12327 if (PyErr_Occurred()) SWIG_fail;
12328 }
12329 Py_INCREF(Py_None); resultobj = Py_None;
12330 {
12331 if (temp2)
12332 delete arg2;
12333 }
12334 return resultobj;
12335 fail:
12336 {
12337 if (temp2)
12338 delete arg2;
12339 }
12340 return NULL;
12341}
12342
12343
c32bde28 12344static PyObject *_wrap_FileDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12345 PyObject *resultobj;
12346 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12347 wxString *arg2 = 0 ;
ae8162c8 12348 bool temp2 = false ;
d55e5bfc
RD
12349 PyObject * obj0 = 0 ;
12350 PyObject * obj1 = 0 ;
12351 char *kwnames[] = {
12352 (char *) "self",(char *) "path", NULL
12353 };
12354
12355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
12356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12358 {
12359 arg2 = wxString_in_helper(obj1);
12360 if (arg2 == NULL) SWIG_fail;
ae8162c8 12361 temp2 = true;
d55e5bfc
RD
12362 }
12363 {
12364 PyThreadState* __tstate = wxPyBeginAllowThreads();
12365 (arg1)->SetPath((wxString const &)*arg2);
12366
12367 wxPyEndAllowThreads(__tstate);
12368 if (PyErr_Occurred()) SWIG_fail;
12369 }
12370 Py_INCREF(Py_None); resultobj = Py_None;
12371 {
12372 if (temp2)
12373 delete arg2;
12374 }
12375 return resultobj;
12376 fail:
12377 {
12378 if (temp2)
12379 delete arg2;
12380 }
12381 return NULL;
12382}
12383
12384
c32bde28 12385static PyObject *_wrap_FileDialog_SetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12386 PyObject *resultobj;
12387 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12388 wxString *arg2 = 0 ;
ae8162c8 12389 bool temp2 = false ;
d55e5bfc
RD
12390 PyObject * obj0 = 0 ;
12391 PyObject * obj1 = 0 ;
12392 char *kwnames[] = {
12393 (char *) "self",(char *) "dir", NULL
12394 };
12395
12396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
12397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12399 {
12400 arg2 = wxString_in_helper(obj1);
12401 if (arg2 == NULL) SWIG_fail;
ae8162c8 12402 temp2 = true;
d55e5bfc
RD
12403 }
12404 {
12405 PyThreadState* __tstate = wxPyBeginAllowThreads();
12406 (arg1)->SetDirectory((wxString const &)*arg2);
12407
12408 wxPyEndAllowThreads(__tstate);
12409 if (PyErr_Occurred()) SWIG_fail;
12410 }
12411 Py_INCREF(Py_None); resultobj = Py_None;
12412 {
12413 if (temp2)
12414 delete arg2;
12415 }
12416 return resultobj;
12417 fail:
12418 {
12419 if (temp2)
12420 delete arg2;
12421 }
12422 return NULL;
12423}
12424
12425
c32bde28 12426static PyObject *_wrap_FileDialog_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12427 PyObject *resultobj;
12428 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12429 wxString *arg2 = 0 ;
ae8162c8 12430 bool temp2 = false ;
d55e5bfc
RD
12431 PyObject * obj0 = 0 ;
12432 PyObject * obj1 = 0 ;
12433 char *kwnames[] = {
12434 (char *) "self",(char *) "name", NULL
12435 };
12436
12437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
12438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12440 {
12441 arg2 = wxString_in_helper(obj1);
12442 if (arg2 == NULL) SWIG_fail;
ae8162c8 12443 temp2 = true;
d55e5bfc
RD
12444 }
12445 {
12446 PyThreadState* __tstate = wxPyBeginAllowThreads();
12447 (arg1)->SetFilename((wxString const &)*arg2);
12448
12449 wxPyEndAllowThreads(__tstate);
12450 if (PyErr_Occurred()) SWIG_fail;
12451 }
12452 Py_INCREF(Py_None); resultobj = Py_None;
12453 {
12454 if (temp2)
12455 delete arg2;
12456 }
12457 return resultobj;
12458 fail:
12459 {
12460 if (temp2)
12461 delete arg2;
12462 }
12463 return NULL;
12464}
12465
12466
c32bde28 12467static PyObject *_wrap_FileDialog_SetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12468 PyObject *resultobj;
12469 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12470 wxString *arg2 = 0 ;
ae8162c8 12471 bool temp2 = false ;
d55e5bfc
RD
12472 PyObject * obj0 = 0 ;
12473 PyObject * obj1 = 0 ;
12474 char *kwnames[] = {
12475 (char *) "self",(char *) "wildCard", NULL
12476 };
12477
12478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
12479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12481 {
12482 arg2 = wxString_in_helper(obj1);
12483 if (arg2 == NULL) SWIG_fail;
ae8162c8 12484 temp2 = true;
d55e5bfc
RD
12485 }
12486 {
12487 PyThreadState* __tstate = wxPyBeginAllowThreads();
12488 (arg1)->SetWildcard((wxString const &)*arg2);
12489
12490 wxPyEndAllowThreads(__tstate);
12491 if (PyErr_Occurred()) SWIG_fail;
12492 }
12493 Py_INCREF(Py_None); resultobj = Py_None;
12494 {
12495 if (temp2)
12496 delete arg2;
12497 }
12498 return resultobj;
12499 fail:
12500 {
12501 if (temp2)
12502 delete arg2;
12503 }
12504 return NULL;
12505}
12506
12507
c32bde28 12508static PyObject *_wrap_FileDialog_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12509 PyObject *resultobj;
12510 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12511 long arg2 ;
12512 PyObject * obj0 = 0 ;
12513 PyObject * obj1 = 0 ;
12514 char *kwnames[] = {
12515 (char *) "self",(char *) "style", NULL
12516 };
12517
12518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
12519 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 12521 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
12522 if (PyErr_Occurred()) SWIG_fail;
12523 {
12524 PyThreadState* __tstate = wxPyBeginAllowThreads();
12525 (arg1)->SetStyle(arg2);
12526
12527 wxPyEndAllowThreads(__tstate);
12528 if (PyErr_Occurred()) SWIG_fail;
12529 }
12530 Py_INCREF(Py_None); resultobj = Py_None;
12531 return resultobj;
12532 fail:
12533 return NULL;
12534}
12535
12536
c32bde28 12537static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12538 PyObject *resultobj;
12539 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12540 int arg2 ;
12541 PyObject * obj0 = 0 ;
12542 PyObject * obj1 = 0 ;
12543 char *kwnames[] = {
12544 (char *) "self",(char *) "filterIndex", NULL
12545 };
12546
12547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
12548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 12550 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
12551 if (PyErr_Occurred()) SWIG_fail;
12552 {
12553 PyThreadState* __tstate = wxPyBeginAllowThreads();
12554 (arg1)->SetFilterIndex(arg2);
12555
12556 wxPyEndAllowThreads(__tstate);
12557 if (PyErr_Occurred()) SWIG_fail;
12558 }
12559 Py_INCREF(Py_None); resultobj = Py_None;
12560 return resultobj;
12561 fail:
12562 return NULL;
12563}
12564
12565
c32bde28 12566static PyObject *_wrap_FileDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12567 PyObject *resultobj;
12568 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12569 wxString result;
12570 PyObject * obj0 = 0 ;
12571 char *kwnames[] = {
12572 (char *) "self", NULL
12573 };
12574
12575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
12576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12578 {
12579 PyThreadState* __tstate = wxPyBeginAllowThreads();
12580 result = ((wxFileDialog const *)arg1)->GetMessage();
12581
12582 wxPyEndAllowThreads(__tstate);
12583 if (PyErr_Occurred()) SWIG_fail;
12584 }
12585 {
12586#if wxUSE_UNICODE
12587 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12588#else
12589 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12590#endif
12591 }
12592 return resultobj;
12593 fail:
12594 return NULL;
12595}
12596
12597
c32bde28 12598static PyObject *_wrap_FileDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12599 PyObject *resultobj;
12600 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12601 wxString result;
12602 PyObject * obj0 = 0 ;
12603 char *kwnames[] = {
12604 (char *) "self", NULL
12605 };
12606
12607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
12608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12610 {
12611 PyThreadState* __tstate = wxPyBeginAllowThreads();
12612 result = ((wxFileDialog const *)arg1)->GetPath();
12613
12614 wxPyEndAllowThreads(__tstate);
12615 if (PyErr_Occurred()) SWIG_fail;
12616 }
12617 {
12618#if wxUSE_UNICODE
12619 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12620#else
12621 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12622#endif
12623 }
12624 return resultobj;
12625 fail:
12626 return NULL;
12627}
12628
12629
c32bde28 12630static PyObject *_wrap_FileDialog_GetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12631 PyObject *resultobj;
12632 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12633 wxString result;
12634 PyObject * obj0 = 0 ;
12635 char *kwnames[] = {
12636 (char *) "self", NULL
12637 };
12638
12639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
12640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12642 {
12643 PyThreadState* __tstate = wxPyBeginAllowThreads();
12644 result = ((wxFileDialog const *)arg1)->GetDirectory();
12645
12646 wxPyEndAllowThreads(__tstate);
12647 if (PyErr_Occurred()) SWIG_fail;
12648 }
12649 {
12650#if wxUSE_UNICODE
12651 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12652#else
12653 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12654#endif
12655 }
12656 return resultobj;
12657 fail:
12658 return NULL;
12659}
12660
12661
c32bde28 12662static PyObject *_wrap_FileDialog_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12663 PyObject *resultobj;
12664 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12665 wxString result;
12666 PyObject * obj0 = 0 ;
12667 char *kwnames[] = {
12668 (char *) "self", NULL
12669 };
12670
12671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
12672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12674 {
12675 PyThreadState* __tstate = wxPyBeginAllowThreads();
12676 result = ((wxFileDialog const *)arg1)->GetFilename();
12677
12678 wxPyEndAllowThreads(__tstate);
12679 if (PyErr_Occurred()) SWIG_fail;
12680 }
12681 {
12682#if wxUSE_UNICODE
12683 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12684#else
12685 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12686#endif
12687 }
12688 return resultobj;
12689 fail:
12690 return NULL;
12691}
12692
12693
c32bde28 12694static PyObject *_wrap_FileDialog_GetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12695 PyObject *resultobj;
12696 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12697 wxString result;
12698 PyObject * obj0 = 0 ;
12699 char *kwnames[] = {
12700 (char *) "self", NULL
12701 };
12702
12703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
12704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12706 {
12707 PyThreadState* __tstate = wxPyBeginAllowThreads();
12708 result = ((wxFileDialog const *)arg1)->GetWildcard();
12709
12710 wxPyEndAllowThreads(__tstate);
12711 if (PyErr_Occurred()) SWIG_fail;
12712 }
12713 {
12714#if wxUSE_UNICODE
12715 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12716#else
12717 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12718#endif
12719 }
12720 return resultobj;
12721 fail:
12722 return NULL;
12723}
12724
12725
c32bde28 12726static PyObject *_wrap_FileDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12727 PyObject *resultobj;
12728 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12729 long result;
12730 PyObject * obj0 = 0 ;
12731 char *kwnames[] = {
12732 (char *) "self", NULL
12733 };
12734
12735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
12736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12738 {
12739 PyThreadState* __tstate = wxPyBeginAllowThreads();
12740 result = (long)((wxFileDialog const *)arg1)->GetStyle();
12741
12742 wxPyEndAllowThreads(__tstate);
12743 if (PyErr_Occurred()) SWIG_fail;
12744 }
c32bde28 12745 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
12746 return resultobj;
12747 fail:
12748 return NULL;
12749}
12750
12751
c32bde28 12752static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12753 PyObject *resultobj;
12754 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12755 int result;
12756 PyObject * obj0 = 0 ;
12757 char *kwnames[] = {
12758 (char *) "self", NULL
12759 };
12760
12761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
12762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12764 {
12765 PyThreadState* __tstate = wxPyBeginAllowThreads();
12766 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
12767
12768 wxPyEndAllowThreads(__tstate);
12769 if (PyErr_Occurred()) SWIG_fail;
12770 }
c32bde28 12771 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
12772 return resultobj;
12773 fail:
12774 return NULL;
12775}
12776
12777
c32bde28 12778static PyObject *_wrap_FileDialog_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12779 PyObject *resultobj;
12780 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12781 PyObject *result;
12782 PyObject * obj0 = 0 ;
12783 char *kwnames[] = {
12784 (char *) "self", NULL
12785 };
12786
12787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
12788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12790 {
12791 PyThreadState* __tstate = wxPyBeginAllowThreads();
12792 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
12793
12794 wxPyEndAllowThreads(__tstate);
12795 if (PyErr_Occurred()) SWIG_fail;
12796 }
12797 resultobj = result;
12798 return resultobj;
12799 fail:
12800 return NULL;
12801}
12802
12803
c32bde28 12804static PyObject *_wrap_FileDialog_GetPaths(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12805 PyObject *resultobj;
12806 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12807 PyObject *result;
12808 PyObject * obj0 = 0 ;
12809 char *kwnames[] = {
12810 (char *) "self", NULL
12811 };
12812
12813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
12814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12816 {
12817 PyThreadState* __tstate = wxPyBeginAllowThreads();
12818 result = (PyObject *)wxFileDialog_GetPaths(arg1);
12819
12820 wxPyEndAllowThreads(__tstate);
12821 if (PyErr_Occurred()) SWIG_fail;
12822 }
12823 resultobj = result;
12824 return resultobj;
12825 fail:
12826 return NULL;
12827}
12828
12829
c32bde28 12830static PyObject * FileDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
12831 PyObject *obj;
12832 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12833 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
12834 Py_INCREF(obj);
12835 return Py_BuildValue((char *)"");
12836}
c32bde28 12837static PyObject *_wrap_new_MultiChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12838 PyObject *resultobj;
12839 wxWindow *arg1 = (wxWindow *) 0 ;
12840 wxString *arg2 = 0 ;
12841 wxString *arg3 = 0 ;
12842 int arg4 = (int) 0 ;
248ed943 12843 wxString *arg5 = (wxString *) NULL ;
d55e5bfc
RD
12844 long arg6 = (long) wxCHOICEDLG_STYLE ;
12845 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12846 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12847 wxMultiChoiceDialog *result;
ae8162c8
RD
12848 bool temp2 = false ;
12849 bool temp3 = false ;
d55e5bfc
RD
12850 wxPoint temp6 ;
12851 PyObject * obj0 = 0 ;
12852 PyObject * obj1 = 0 ;
12853 PyObject * obj2 = 0 ;
12854 PyObject * obj3 = 0 ;
12855 PyObject * obj4 = 0 ;
12856 PyObject * obj5 = 0 ;
12857 char *kwnames[] = {
12858 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12859 };
12860
12861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12864 {
12865 arg2 = wxString_in_helper(obj1);
12866 if (arg2 == NULL) SWIG_fail;
ae8162c8 12867 temp2 = true;
d55e5bfc
RD
12868 }
12869 {
12870 arg3 = wxString_in_helper(obj2);
12871 if (arg3 == NULL) SWIG_fail;
ae8162c8 12872 temp3 = true;
d55e5bfc
RD
12873 }
12874 if (obj3) {
12875 {
12876 arg4 = PyList_Size(obj3);
12877 arg5 = wxString_LIST_helper(obj3);
12878 if (arg5 == NULL) SWIG_fail;
12879 }
12880 }
12881 if (obj4) {
c32bde28 12882 arg6 = (long)SWIG_As_long(obj4);
d55e5bfc
RD
12883 if (PyErr_Occurred()) SWIG_fail;
12884 }
12885 if (obj5) {
12886 {
12887 arg7 = &temp6;
12888 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12889 }
12890 }
12891 {
0439c23b 12892 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12893 PyThreadState* __tstate = wxPyBeginAllowThreads();
12894 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12895
12896 wxPyEndAllowThreads(__tstate);
110da5b0 12897 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12898 }
12899 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
12900 {
12901 if (temp2)
12902 delete arg2;
12903 }
12904 {
12905 if (temp3)
12906 delete arg3;
12907 }
12908 {
12909 if (arg5) delete [] arg5;
12910 }
12911 return resultobj;
12912 fail:
12913 {
12914 if (temp2)
12915 delete arg2;
12916 }
12917 {
12918 if (temp3)
12919 delete arg3;
12920 }
12921 {
12922 if (arg5) delete [] arg5;
12923 }
12924 return NULL;
12925}
12926
12927
c32bde28 12928static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12929 PyObject *resultobj;
12930 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12931 wxArrayInt *arg2 = 0 ;
ae8162c8 12932 bool temp2 = false ;
d55e5bfc
RD
12933 PyObject * obj0 = 0 ;
12934 PyObject * obj1 = 0 ;
12935 char *kwnames[] = {
12936 (char *) "self",(char *) "selections", NULL
12937 };
12938
12939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
12940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12942 {
12943 if (! PySequence_Check(obj1)) {
12944 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
12945 SWIG_fail;
12946 }
12947 arg2 = new wxArrayInt;
ae8162c8 12948 temp2 = true;
d55e5bfc
RD
12949 int i, len=PySequence_Length(obj1);
12950 for (i=0; i<len; i++) {
12951 PyObject* item = PySequence_GetItem(obj1, i);
12952 PyObject* number = PyNumber_Int(item);
12953 arg2->Add(PyInt_AS_LONG(number));
12954 Py_DECREF(item);
12955 Py_DECREF(number);
12956 }
12957 }
12958 {
12959 PyThreadState* __tstate = wxPyBeginAllowThreads();
12960 (arg1)->SetSelections((wxArrayInt const &)*arg2);
12961
12962 wxPyEndAllowThreads(__tstate);
12963 if (PyErr_Occurred()) SWIG_fail;
12964 }
12965 Py_INCREF(Py_None); resultobj = Py_None;
12966 {
12967 if (temp2) delete arg2;
12968 }
12969 return resultobj;
12970 fail:
12971 {
12972 if (temp2) delete arg2;
12973 }
12974 return NULL;
12975}
12976
12977
c32bde28 12978static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12979 PyObject *resultobj;
12980 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12981 PyObject *result;
12982 PyObject * obj0 = 0 ;
12983 char *kwnames[] = {
12984 (char *) "self", NULL
12985 };
12986
12987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
12988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12990 {
12991 PyThreadState* __tstate = wxPyBeginAllowThreads();
12992 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
12993
12994 wxPyEndAllowThreads(__tstate);
12995 if (PyErr_Occurred()) SWIG_fail;
12996 }
12997 resultobj = result;
12998 return resultobj;
12999 fail:
13000 return NULL;
13001}
13002
13003
c32bde28 13004static PyObject * MultiChoiceDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13005 PyObject *obj;
13006 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13007 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
13008 Py_INCREF(obj);
13009 return Py_BuildValue((char *)"");
13010}
c32bde28 13011static PyObject *_wrap_new_SingleChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13012 PyObject *resultobj;
13013 wxWindow *arg1 = (wxWindow *) 0 ;
13014 wxString *arg2 = 0 ;
13015 wxString *arg3 = 0 ;
13016 int arg4 ;
13017 wxString *arg5 = (wxString *) 0 ;
13018 long arg6 = (long) wxCHOICEDLG_STYLE ;
13019 wxPoint const &arg7_defvalue = wxDefaultPosition ;
13020 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
13021 wxSingleChoiceDialog *result;
ae8162c8
RD
13022 bool temp2 = false ;
13023 bool temp3 = false ;
d55e5bfc
RD
13024 wxPoint temp6 ;
13025 PyObject * obj0 = 0 ;
13026 PyObject * obj1 = 0 ;
13027 PyObject * obj2 = 0 ;
13028 PyObject * obj3 = 0 ;
13029 PyObject * obj4 = 0 ;
13030 PyObject * obj5 = 0 ;
13031 char *kwnames[] = {
13032 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
13033 };
13034
13035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13038 {
13039 arg2 = wxString_in_helper(obj1);
13040 if (arg2 == NULL) SWIG_fail;
ae8162c8 13041 temp2 = true;
d55e5bfc
RD
13042 }
13043 {
13044 arg3 = wxString_in_helper(obj2);
13045 if (arg3 == NULL) SWIG_fail;
ae8162c8 13046 temp3 = true;
d55e5bfc
RD
13047 }
13048 {
13049 arg4 = PyList_Size(obj3);
13050 arg5 = wxString_LIST_helper(obj3);
13051 if (arg5 == NULL) SWIG_fail;
13052 }
13053 if (obj4) {
c32bde28 13054 arg6 = (long)SWIG_As_long(obj4);
d55e5bfc
RD
13055 if (PyErr_Occurred()) SWIG_fail;
13056 }
13057 if (obj5) {
13058 {
13059 arg7 = &temp6;
13060 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
13061 }
13062 }
13063 {
0439c23b 13064 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13065 PyThreadState* __tstate = wxPyBeginAllowThreads();
13066 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
13067
13068 wxPyEndAllowThreads(__tstate);
110da5b0 13069 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13070 }
13071 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
13072 {
13073 if (temp2)
13074 delete arg2;
13075 }
13076 {
13077 if (temp3)
13078 delete arg3;
13079 }
13080 {
13081 if (arg5) delete [] arg5;
13082 }
13083 return resultobj;
13084 fail:
13085 {
13086 if (temp2)
13087 delete arg2;
13088 }
13089 {
13090 if (temp3)
13091 delete arg3;
13092 }
13093 {
13094 if (arg5) delete [] arg5;
13095 }
13096 return NULL;
13097}
13098
13099
c32bde28 13100static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13101 PyObject *resultobj;
13102 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
13103 int result;
13104 PyObject * obj0 = 0 ;
13105 char *kwnames[] = {
13106 (char *) "self", NULL
13107 };
13108
13109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
13110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
13111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13112 {
13113 PyThreadState* __tstate = wxPyBeginAllowThreads();
13114 result = (int)(arg1)->GetSelection();
13115
13116 wxPyEndAllowThreads(__tstate);
13117 if (PyErr_Occurred()) SWIG_fail;
13118 }
c32bde28 13119 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
13120 return resultobj;
13121 fail:
13122 return NULL;
13123}
13124
13125
c32bde28 13126static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13127 PyObject *resultobj;
13128 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
13129 wxString result;
13130 PyObject * obj0 = 0 ;
13131 char *kwnames[] = {
13132 (char *) "self", NULL
13133 };
13134
13135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
13136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
13137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13138 {
13139 PyThreadState* __tstate = wxPyBeginAllowThreads();
13140 result = (arg1)->GetStringSelection();
13141
13142 wxPyEndAllowThreads(__tstate);
13143 if (PyErr_Occurred()) SWIG_fail;
13144 }
13145 {
13146#if wxUSE_UNICODE
13147 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13148#else
13149 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13150#endif
13151 }
13152 return resultobj;
13153 fail:
13154 return NULL;
13155}
13156
13157
c32bde28 13158static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13159 PyObject *resultobj;
13160 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
13161 int arg2 ;
13162 PyObject * obj0 = 0 ;
13163 PyObject * obj1 = 0 ;
13164 char *kwnames[] = {
13165 (char *) "self",(char *) "sel", NULL
13166 };
13167
13168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
13169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
13170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13171 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
13172 if (PyErr_Occurred()) SWIG_fail;
13173 {
13174 PyThreadState* __tstate = wxPyBeginAllowThreads();
13175 (arg1)->SetSelection(arg2);
13176
13177 wxPyEndAllowThreads(__tstate);
13178 if (PyErr_Occurred()) SWIG_fail;
13179 }
13180 Py_INCREF(Py_None); resultobj = Py_None;
13181 return resultobj;
13182 fail:
13183 return NULL;
13184}
13185
13186
c32bde28 13187static PyObject * SingleChoiceDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13188 PyObject *obj;
13189 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13190 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
13191 Py_INCREF(obj);
13192 return Py_BuildValue((char *)"");
13193}
c32bde28 13194static PyObject *_wrap_new_TextEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13195 PyObject *resultobj;
13196 wxWindow *arg1 = (wxWindow *) 0 ;
13197 wxString *arg2 = 0 ;
13198 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
13199 wxString *arg3 = (wxString *) &arg3_defvalue ;
13200 wxString const &arg4_defvalue = wxPyEmptyString ;
13201 wxString *arg4 = (wxString *) &arg4_defvalue ;
13202 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
13203 wxPoint const &arg6_defvalue = wxDefaultPosition ;
13204 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
13205 wxTextEntryDialog *result;
ae8162c8
RD
13206 bool temp2 = false ;
13207 bool temp3 = false ;
13208 bool temp4 = false ;
d55e5bfc
RD
13209 wxPoint temp6 ;
13210 PyObject * obj0 = 0 ;
13211 PyObject * obj1 = 0 ;
13212 PyObject * obj2 = 0 ;
13213 PyObject * obj3 = 0 ;
13214 PyObject * obj4 = 0 ;
13215 PyObject * obj5 = 0 ;
13216 char *kwnames[] = {
13217 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
13218 };
13219
13220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13223 {
13224 arg2 = wxString_in_helper(obj1);
13225 if (arg2 == NULL) SWIG_fail;
ae8162c8 13226 temp2 = true;
d55e5bfc
RD
13227 }
13228 if (obj2) {
13229 {
13230 arg3 = wxString_in_helper(obj2);
13231 if (arg3 == NULL) SWIG_fail;
ae8162c8 13232 temp3 = true;
d55e5bfc
RD
13233 }
13234 }
13235 if (obj3) {
13236 {
13237 arg4 = wxString_in_helper(obj3);
13238 if (arg4 == NULL) SWIG_fail;
ae8162c8 13239 temp4 = true;
d55e5bfc
RD
13240 }
13241 }
13242 if (obj4) {
c32bde28 13243 arg5 = (long)SWIG_As_long(obj4);
d55e5bfc
RD
13244 if (PyErr_Occurred()) SWIG_fail;
13245 }
13246 if (obj5) {
13247 {
13248 arg6 = &temp6;
13249 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
13250 }
13251 }
13252 {
0439c23b 13253 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13254 PyThreadState* __tstate = wxPyBeginAllowThreads();
13255 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
13256
13257 wxPyEndAllowThreads(__tstate);
110da5b0 13258 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13259 }
13260 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
13261 {
13262 if (temp2)
13263 delete arg2;
13264 }
13265 {
13266 if (temp3)
13267 delete arg3;
13268 }
13269 {
13270 if (temp4)
13271 delete arg4;
13272 }
13273 return resultobj;
13274 fail:
13275 {
13276 if (temp2)
13277 delete arg2;
13278 }
13279 {
13280 if (temp3)
13281 delete arg3;
13282 }
13283 {
13284 if (temp4)
13285 delete arg4;
13286 }
13287 return NULL;
13288}
13289
13290
c32bde28 13291static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13292 PyObject *resultobj;
13293 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
13294 wxString result;
13295 PyObject * obj0 = 0 ;
13296 char *kwnames[] = {
13297 (char *) "self", NULL
13298 };
13299
13300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
13301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
13302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13303 {
13304 PyThreadState* __tstate = wxPyBeginAllowThreads();
13305 result = (arg1)->GetValue();
13306
13307 wxPyEndAllowThreads(__tstate);
13308 if (PyErr_Occurred()) SWIG_fail;
13309 }
13310 {
13311#if wxUSE_UNICODE
13312 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13313#else
13314 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13315#endif
13316 }
13317 return resultobj;
13318 fail:
13319 return NULL;
13320}
13321
13322
c32bde28 13323static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13324 PyObject *resultobj;
13325 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
13326 wxString *arg2 = 0 ;
ae8162c8 13327 bool temp2 = false ;
d55e5bfc
RD
13328 PyObject * obj0 = 0 ;
13329 PyObject * obj1 = 0 ;
13330 char *kwnames[] = {
13331 (char *) "self",(char *) "value", NULL
13332 };
13333
13334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
13335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
13336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13337 {
13338 arg2 = wxString_in_helper(obj1);
13339 if (arg2 == NULL) SWIG_fail;
ae8162c8 13340 temp2 = true;
d55e5bfc
RD
13341 }
13342 {
13343 PyThreadState* __tstate = wxPyBeginAllowThreads();
13344 (arg1)->SetValue((wxString const &)*arg2);
13345
13346 wxPyEndAllowThreads(__tstate);
13347 if (PyErr_Occurred()) SWIG_fail;
13348 }
13349 Py_INCREF(Py_None); resultobj = Py_None;
13350 {
13351 if (temp2)
13352 delete arg2;
13353 }
13354 return resultobj;
13355 fail:
13356 {
13357 if (temp2)
13358 delete arg2;
13359 }
13360 return NULL;
13361}
13362
13363
c32bde28 13364static PyObject * TextEntryDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13365 PyObject *obj;
13366 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13367 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
13368 Py_INCREF(obj);
13369 return Py_BuildValue((char *)"");
13370}
c32bde28 13371static PyObject *_wrap_new_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13372 PyObject *resultobj;
13373 wxFontData *result;
13374 char *kwnames[] = {
13375 NULL
13376 };
13377
13378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
13379 {
13380 PyThreadState* __tstate = wxPyBeginAllowThreads();
13381 result = (wxFontData *)new wxFontData();
13382
13383 wxPyEndAllowThreads(__tstate);
13384 if (PyErr_Occurred()) SWIG_fail;
13385 }
13386 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
13387 return resultobj;
13388 fail:
13389 return NULL;
13390}
13391
13392
c32bde28 13393static PyObject *_wrap_delete_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13394 PyObject *resultobj;
13395 wxFontData *arg1 = (wxFontData *) 0 ;
13396 PyObject * obj0 = 0 ;
13397 char *kwnames[] = {
13398 (char *) "self", NULL
13399 };
13400
13401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
13402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13404 {
13405 PyThreadState* __tstate = wxPyBeginAllowThreads();
13406 delete arg1;
13407
13408 wxPyEndAllowThreads(__tstate);
13409 if (PyErr_Occurred()) SWIG_fail;
13410 }
13411 Py_INCREF(Py_None); resultobj = Py_None;
13412 return resultobj;
13413 fail:
13414 return NULL;
13415}
13416
13417
c32bde28 13418static PyObject *_wrap_FontData_EnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13419 PyObject *resultobj;
13420 wxFontData *arg1 = (wxFontData *) 0 ;
13421 bool arg2 ;
13422 PyObject * obj0 = 0 ;
13423 PyObject * obj1 = 0 ;
13424 char *kwnames[] = {
13425 (char *) "self",(char *) "enable", NULL
13426 };
13427
13428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
13429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13431 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
13432 if (PyErr_Occurred()) SWIG_fail;
13433 {
13434 PyThreadState* __tstate = wxPyBeginAllowThreads();
13435 (arg1)->EnableEffects(arg2);
13436
13437 wxPyEndAllowThreads(__tstate);
13438 if (PyErr_Occurred()) SWIG_fail;
13439 }
13440 Py_INCREF(Py_None); resultobj = Py_None;
13441 return resultobj;
13442 fail:
13443 return NULL;
13444}
13445
13446
c32bde28 13447static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13448 PyObject *resultobj;
13449 wxFontData *arg1 = (wxFontData *) 0 ;
13450 bool result;
13451 PyObject * obj0 = 0 ;
13452 char *kwnames[] = {
13453 (char *) "self", NULL
13454 };
13455
13456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
13457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13459 {
13460 PyThreadState* __tstate = wxPyBeginAllowThreads();
13461 result = (bool)(arg1)->GetAllowSymbols();
13462
13463 wxPyEndAllowThreads(__tstate);
13464 if (PyErr_Occurred()) SWIG_fail;
13465 }
13466 {
13467 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13468 }
13469 return resultobj;
13470 fail:
13471 return NULL;
13472}
13473
13474
c32bde28 13475static PyObject *_wrap_FontData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13476 PyObject *resultobj;
13477 wxFontData *arg1 = (wxFontData *) 0 ;
13478 wxColour result;
13479 PyObject * obj0 = 0 ;
13480 char *kwnames[] = {
13481 (char *) "self", NULL
13482 };
13483
13484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
13485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13487 {
13488 PyThreadState* __tstate = wxPyBeginAllowThreads();
13489 result = (arg1)->GetColour();
13490
13491 wxPyEndAllowThreads(__tstate);
13492 if (PyErr_Occurred()) SWIG_fail;
13493 }
13494 {
13495 wxColour * resultptr;
13496 resultptr = new wxColour((wxColour &) result);
13497 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13498 }
13499 return resultobj;
13500 fail:
13501 return NULL;
13502}
13503
13504
c32bde28 13505static PyObject *_wrap_FontData_GetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13506 PyObject *resultobj;
13507 wxFontData *arg1 = (wxFontData *) 0 ;
13508 wxFont result;
13509 PyObject * obj0 = 0 ;
13510 char *kwnames[] = {
13511 (char *) "self", NULL
13512 };
13513
13514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
13515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13517 {
13518 PyThreadState* __tstate = wxPyBeginAllowThreads();
13519 result = (arg1)->GetChosenFont();
13520
13521 wxPyEndAllowThreads(__tstate);
13522 if (PyErr_Occurred()) SWIG_fail;
13523 }
13524 {
13525 wxFont * resultptr;
13526 resultptr = new wxFont((wxFont &) result);
13527 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
13528 }
13529 return resultobj;
13530 fail:
13531 return NULL;
13532}
13533
13534
c32bde28 13535static PyObject *_wrap_FontData_GetEnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13536 PyObject *resultobj;
13537 wxFontData *arg1 = (wxFontData *) 0 ;
13538 bool result;
13539 PyObject * obj0 = 0 ;
13540 char *kwnames[] = {
13541 (char *) "self", NULL
13542 };
13543
13544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
13545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13547 {
13548 PyThreadState* __tstate = wxPyBeginAllowThreads();
13549 result = (bool)(arg1)->GetEnableEffects();
13550
13551 wxPyEndAllowThreads(__tstate);
13552 if (PyErr_Occurred()) SWIG_fail;
13553 }
13554 {
13555 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13556 }
13557 return resultobj;
13558 fail:
13559 return NULL;
13560}
13561
13562
c32bde28 13563static PyObject *_wrap_FontData_GetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13564 PyObject *resultobj;
13565 wxFontData *arg1 = (wxFontData *) 0 ;
13566 wxFont result;
13567 PyObject * obj0 = 0 ;
13568 char *kwnames[] = {
13569 (char *) "self", NULL
13570 };
13571
13572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
13573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13575 {
13576 PyThreadState* __tstate = wxPyBeginAllowThreads();
13577 result = (arg1)->GetInitialFont();
13578
13579 wxPyEndAllowThreads(__tstate);
13580 if (PyErr_Occurred()) SWIG_fail;
13581 }
13582 {
13583 wxFont * resultptr;
13584 resultptr = new wxFont((wxFont &) result);
13585 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
13586 }
13587 return resultobj;
13588 fail:
13589 return NULL;
13590}
13591
13592
c32bde28 13593static PyObject *_wrap_FontData_GetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13594 PyObject *resultobj;
13595 wxFontData *arg1 = (wxFontData *) 0 ;
13596 bool result;
13597 PyObject * obj0 = 0 ;
13598 char *kwnames[] = {
13599 (char *) "self", NULL
13600 };
13601
13602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
13603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13605 {
13606 PyThreadState* __tstate = wxPyBeginAllowThreads();
13607 result = (bool)(arg1)->GetShowHelp();
13608
13609 wxPyEndAllowThreads(__tstate);
13610 if (PyErr_Occurred()) SWIG_fail;
13611 }
13612 {
13613 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13614 }
13615 return resultobj;
13616 fail:
13617 return NULL;
13618}
13619
13620
c32bde28 13621static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13622 PyObject *resultobj;
13623 wxFontData *arg1 = (wxFontData *) 0 ;
13624 bool arg2 ;
13625 PyObject * obj0 = 0 ;
13626 PyObject * obj1 = 0 ;
13627 char *kwnames[] = {
13628 (char *) "self",(char *) "allowSymbols", NULL
13629 };
13630
13631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
13632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13634 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
13635 if (PyErr_Occurred()) SWIG_fail;
13636 {
13637 PyThreadState* __tstate = wxPyBeginAllowThreads();
13638 (arg1)->SetAllowSymbols(arg2);
13639
13640 wxPyEndAllowThreads(__tstate);
13641 if (PyErr_Occurred()) SWIG_fail;
13642 }
13643 Py_INCREF(Py_None); resultobj = Py_None;
13644 return resultobj;
13645 fail:
13646 return NULL;
13647}
13648
13649
c32bde28 13650static PyObject *_wrap_FontData_SetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13651 PyObject *resultobj;
13652 wxFontData *arg1 = (wxFontData *) 0 ;
13653 wxFont *arg2 = 0 ;
13654 PyObject * obj0 = 0 ;
13655 PyObject * obj1 = 0 ;
13656 char *kwnames[] = {
13657 (char *) "self",(char *) "font", NULL
13658 };
13659
13660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
13661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13663 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13664 SWIG_POINTER_EXCEPTION | 0)) == -1)
13665 SWIG_fail;
13666 if (arg2 == NULL) {
13667 PyErr_SetString(PyExc_TypeError,"null reference");
13668 SWIG_fail;
13669 }
13670 {
13671 PyThreadState* __tstate = wxPyBeginAllowThreads();
13672 (arg1)->SetChosenFont((wxFont const &)*arg2);
13673
13674 wxPyEndAllowThreads(__tstate);
13675 if (PyErr_Occurred()) SWIG_fail;
13676 }
13677 Py_INCREF(Py_None); resultobj = Py_None;
13678 return resultobj;
13679 fail:
13680 return NULL;
13681}
13682
13683
c32bde28 13684static PyObject *_wrap_FontData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13685 PyObject *resultobj;
13686 wxFontData *arg1 = (wxFontData *) 0 ;
13687 wxColour *arg2 = 0 ;
13688 wxColour temp2 ;
13689 PyObject * obj0 = 0 ;
13690 PyObject * obj1 = 0 ;
13691 char *kwnames[] = {
13692 (char *) "self",(char *) "colour", NULL
13693 };
13694
13695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
13696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13698 {
13699 arg2 = &temp2;
13700 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13701 }
13702 {
13703 PyThreadState* __tstate = wxPyBeginAllowThreads();
13704 (arg1)->SetColour((wxColour const &)*arg2);
13705
13706 wxPyEndAllowThreads(__tstate);
13707 if (PyErr_Occurred()) SWIG_fail;
13708 }
13709 Py_INCREF(Py_None); resultobj = Py_None;
13710 return resultobj;
13711 fail:
13712 return NULL;
13713}
13714
13715
c32bde28 13716static PyObject *_wrap_FontData_SetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13717 PyObject *resultobj;
13718 wxFontData *arg1 = (wxFontData *) 0 ;
13719 wxFont *arg2 = 0 ;
13720 PyObject * obj0 = 0 ;
13721 PyObject * obj1 = 0 ;
13722 char *kwnames[] = {
13723 (char *) "self",(char *) "font", NULL
13724 };
13725
13726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
13727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13729 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13730 SWIG_POINTER_EXCEPTION | 0)) == -1)
13731 SWIG_fail;
13732 if (arg2 == NULL) {
13733 PyErr_SetString(PyExc_TypeError,"null reference");
13734 SWIG_fail;
13735 }
13736 {
13737 PyThreadState* __tstate = wxPyBeginAllowThreads();
13738 (arg1)->SetInitialFont((wxFont const &)*arg2);
13739
13740 wxPyEndAllowThreads(__tstate);
13741 if (PyErr_Occurred()) SWIG_fail;
13742 }
13743 Py_INCREF(Py_None); resultobj = Py_None;
13744 return resultobj;
13745 fail:
13746 return NULL;
13747}
13748
13749
c32bde28 13750static PyObject *_wrap_FontData_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13751 PyObject *resultobj;
13752 wxFontData *arg1 = (wxFontData *) 0 ;
13753 int arg2 ;
13754 int arg3 ;
13755 PyObject * obj0 = 0 ;
13756 PyObject * obj1 = 0 ;
13757 PyObject * obj2 = 0 ;
13758 char *kwnames[] = {
13759 (char *) "self",(char *) "min",(char *) "max", NULL
13760 };
13761
13762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
13763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13765 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 13766 if (PyErr_Occurred()) SWIG_fail;
c32bde28 13767 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
13768 if (PyErr_Occurred()) SWIG_fail;
13769 {
13770 PyThreadState* __tstate = wxPyBeginAllowThreads();
13771 (arg1)->SetRange(arg2,arg3);
13772
13773 wxPyEndAllowThreads(__tstate);
13774 if (PyErr_Occurred()) SWIG_fail;
13775 }
13776 Py_INCREF(Py_None); resultobj = Py_None;
13777 return resultobj;
13778 fail:
13779 return NULL;
13780}
13781
13782
c32bde28 13783static PyObject *_wrap_FontData_SetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13784 PyObject *resultobj;
13785 wxFontData *arg1 = (wxFontData *) 0 ;
13786 bool arg2 ;
13787 PyObject * obj0 = 0 ;
13788 PyObject * obj1 = 0 ;
13789 char *kwnames[] = {
13790 (char *) "self",(char *) "showHelp", NULL
13791 };
13792
13793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
13794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13796 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
13797 if (PyErr_Occurred()) SWIG_fail;
13798 {
13799 PyThreadState* __tstate = wxPyBeginAllowThreads();
13800 (arg1)->SetShowHelp(arg2);
13801
13802 wxPyEndAllowThreads(__tstate);
13803 if (PyErr_Occurred()) SWIG_fail;
13804 }
13805 Py_INCREF(Py_None); resultobj = Py_None;
13806 return resultobj;
13807 fail:
13808 return NULL;
13809}
13810
13811
c32bde28 13812static PyObject * FontData_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13813 PyObject *obj;
13814 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13815 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
13816 Py_INCREF(obj);
13817 return Py_BuildValue((char *)"");
13818}
c32bde28 13819static PyObject *_wrap_new_FontDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13820 PyObject *resultobj;
13821 wxWindow *arg1 = (wxWindow *) 0 ;
13822 wxFontData *arg2 = 0 ;
13823 wxFontDialog *result;
13824 PyObject * obj0 = 0 ;
13825 PyObject * obj1 = 0 ;
13826 char *kwnames[] = {
13827 (char *) "parent",(char *) "data", NULL
13828 };
13829
13830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
13831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13833 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFontData,
13834 SWIG_POINTER_EXCEPTION | 0)) == -1)
13835 SWIG_fail;
13836 if (arg2 == NULL) {
13837 PyErr_SetString(PyExc_TypeError,"null reference");
13838 SWIG_fail;
13839 }
13840 {
0439c23b 13841 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13842 PyThreadState* __tstate = wxPyBeginAllowThreads();
13843 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
13844
13845 wxPyEndAllowThreads(__tstate);
110da5b0 13846 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13847 }
13848 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
13849 return resultobj;
13850 fail:
13851 return NULL;
13852}
13853
13854
c32bde28 13855static PyObject *_wrap_FontDialog_GetFontData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13856 PyObject *resultobj;
13857 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
13858 wxFontData *result;
13859 PyObject * obj0 = 0 ;
13860 char *kwnames[] = {
13861 (char *) "self", NULL
13862 };
13863
13864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
13865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontDialog,
13866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13867 {
13868 PyThreadState* __tstate = wxPyBeginAllowThreads();
13869 {
13870 wxFontData &_result_ref = (arg1)->GetFontData();
13871 result = (wxFontData *) &_result_ref;
13872 }
13873
13874 wxPyEndAllowThreads(__tstate);
13875 if (PyErr_Occurred()) SWIG_fail;
13876 }
13877 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
13878 return resultobj;
13879 fail:
13880 return NULL;
13881}
13882
13883
c32bde28 13884static PyObject * FontDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13885 PyObject *obj;
13886 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13887 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
13888 Py_INCREF(obj);
13889 return Py_BuildValue((char *)"");
13890}
c32bde28 13891static PyObject *_wrap_new_MessageDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13892 PyObject *resultobj;
13893 wxWindow *arg1 = (wxWindow *) 0 ;
13894 wxString *arg2 = 0 ;
13895 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
13896 wxString *arg3 = (wxString *) &arg3_defvalue ;
13897 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
13898 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13899 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13900 wxMessageDialog *result;
ae8162c8
RD
13901 bool temp2 = false ;
13902 bool temp3 = false ;
d55e5bfc
RD
13903 wxPoint temp5 ;
13904 PyObject * obj0 = 0 ;
13905 PyObject * obj1 = 0 ;
13906 PyObject * obj2 = 0 ;
13907 PyObject * obj3 = 0 ;
13908 PyObject * obj4 = 0 ;
13909 char *kwnames[] = {
13910 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13911 };
13912
13913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13916 {
13917 arg2 = wxString_in_helper(obj1);
13918 if (arg2 == NULL) SWIG_fail;
ae8162c8 13919 temp2 = true;
d55e5bfc
RD
13920 }
13921 if (obj2) {
13922 {
13923 arg3 = wxString_in_helper(obj2);
13924 if (arg3 == NULL) SWIG_fail;
ae8162c8 13925 temp3 = true;
d55e5bfc
RD
13926 }
13927 }
13928 if (obj3) {
c32bde28 13929 arg4 = (long)SWIG_As_long(obj3);
d55e5bfc
RD
13930 if (PyErr_Occurred()) SWIG_fail;
13931 }
13932 if (obj4) {
13933 {
13934 arg5 = &temp5;
13935 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13936 }
13937 }
13938 {
0439c23b 13939 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13940 PyThreadState* __tstate = wxPyBeginAllowThreads();
13941 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
13942
13943 wxPyEndAllowThreads(__tstate);
110da5b0 13944 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13945 }
13946 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
13947 {
13948 if (temp2)
13949 delete arg2;
13950 }
13951 {
13952 if (temp3)
13953 delete arg3;
13954 }
13955 return resultobj;
13956 fail:
13957 {
13958 if (temp2)
13959 delete arg2;
13960 }
13961 {
13962 if (temp3)
13963 delete arg3;
13964 }
13965 return NULL;
13966}
13967
13968
c32bde28 13969static PyObject * MessageDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13970 PyObject *obj;
13971 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13972 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
13973 Py_INCREF(obj);
13974 return Py_BuildValue((char *)"");
13975}
c32bde28 13976static PyObject *_wrap_new_ProgressDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13977 PyObject *resultobj;
13978 wxString *arg1 = 0 ;
13979 wxString *arg2 = 0 ;
13980 int arg3 = (int) 100 ;
13981 wxWindow *arg4 = (wxWindow *) NULL ;
13982 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
13983 wxProgressDialog *result;
ae8162c8
RD
13984 bool temp1 = false ;
13985 bool temp2 = false ;
d55e5bfc
RD
13986 PyObject * obj0 = 0 ;
13987 PyObject * obj1 = 0 ;
13988 PyObject * obj2 = 0 ;
13989 PyObject * obj3 = 0 ;
13990 PyObject * obj4 = 0 ;
13991 char *kwnames[] = {
13992 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13993 };
13994
13995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13996 {
13997 arg1 = wxString_in_helper(obj0);
13998 if (arg1 == NULL) SWIG_fail;
ae8162c8 13999 temp1 = true;
d55e5bfc
RD
14000 }
14001 {
14002 arg2 = wxString_in_helper(obj1);
14003 if (arg2 == NULL) SWIG_fail;
ae8162c8 14004 temp2 = true;
d55e5bfc
RD
14005 }
14006 if (obj2) {
c32bde28 14007 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
14008 if (PyErr_Occurred()) SWIG_fail;
14009 }
14010 if (obj3) {
14011 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
14012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14013 }
14014 if (obj4) {
c32bde28 14015 arg5 = (int)SWIG_As_int(obj4);
d55e5bfc
RD
14016 if (PyErr_Occurred()) SWIG_fail;
14017 }
14018 {
0439c23b 14019 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14020 PyThreadState* __tstate = wxPyBeginAllowThreads();
14021 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
14022
14023 wxPyEndAllowThreads(__tstate);
110da5b0 14024 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14025 }
14026 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
14027 {
14028 if (temp1)
14029 delete arg1;
14030 }
14031 {
14032 if (temp2)
14033 delete arg2;
14034 }
14035 return resultobj;
14036 fail:
14037 {
14038 if (temp1)
14039 delete arg1;
14040 }
14041 {
14042 if (temp2)
14043 delete arg2;
14044 }
14045 return NULL;
14046}
14047
14048
c32bde28 14049static PyObject *_wrap_ProgressDialog_Update(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14050 PyObject *resultobj;
14051 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
14052 int arg2 ;
14053 wxString const &arg3_defvalue = wxPyEmptyString ;
14054 wxString *arg3 = (wxString *) &arg3_defvalue ;
14055 bool result;
ae8162c8 14056 bool temp3 = false ;
d55e5bfc
RD
14057 PyObject * obj0 = 0 ;
14058 PyObject * obj1 = 0 ;
14059 PyObject * obj2 = 0 ;
14060 char *kwnames[] = {
14061 (char *) "self",(char *) "value",(char *) "newmsg", NULL
14062 };
14063
14064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
14065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
14066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 14067 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
14068 if (PyErr_Occurred()) SWIG_fail;
14069 if (obj2) {
14070 {
14071 arg3 = wxString_in_helper(obj2);
14072 if (arg3 == NULL) SWIG_fail;
ae8162c8 14073 temp3 = true;
d55e5bfc
RD
14074 }
14075 }
14076 {
14077 PyThreadState* __tstate = wxPyBeginAllowThreads();
14078 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
14079
14080 wxPyEndAllowThreads(__tstate);
14081 if (PyErr_Occurred()) SWIG_fail;
14082 }
14083 {
14084 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14085 }
14086 {
14087 if (temp3)
14088 delete arg3;
14089 }
14090 return resultobj;
14091 fail:
14092 {
14093 if (temp3)
14094 delete arg3;
14095 }
14096 return NULL;
14097}
14098
14099
c32bde28 14100static PyObject *_wrap_ProgressDialog_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14101 PyObject *resultobj;
14102 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
14103 PyObject * obj0 = 0 ;
14104 char *kwnames[] = {
14105 (char *) "self", NULL
14106 };
14107
14108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
14109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
14110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14111 {
14112 PyThreadState* __tstate = wxPyBeginAllowThreads();
14113 (arg1)->Resume();
14114
14115 wxPyEndAllowThreads(__tstate);
14116 if (PyErr_Occurred()) SWIG_fail;
14117 }
14118 Py_INCREF(Py_None); resultobj = Py_None;
14119 return resultobj;
14120 fail:
14121 return NULL;
14122}
14123
14124
c32bde28 14125static PyObject * ProgressDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14126 PyObject *obj;
14127 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14128 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
14129 Py_INCREF(obj);
14130 return Py_BuildValue((char *)"");
14131}
c32bde28 14132static PyObject *_wrap_new_FindDialogEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14133 PyObject *resultobj;
14134 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14135 int arg2 = (int) 0 ;
14136 wxFindDialogEvent *result;
14137 PyObject * obj0 = 0 ;
14138 PyObject * obj1 = 0 ;
14139 char *kwnames[] = {
14140 (char *) "commandType",(char *) "id", NULL
14141 };
14142
14143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
14144 if (obj0) {
c32bde28 14145 arg1 = (wxEventType)SWIG_As_int(obj0);
d55e5bfc
RD
14146 if (PyErr_Occurred()) SWIG_fail;
14147 }
14148 if (obj1) {
c32bde28 14149 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
14150 if (PyErr_Occurred()) SWIG_fail;
14151 }
14152 {
14153 PyThreadState* __tstate = wxPyBeginAllowThreads();
14154 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
14155
14156 wxPyEndAllowThreads(__tstate);
14157 if (PyErr_Occurred()) SWIG_fail;
14158 }
14159 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
14160 return resultobj;
14161 fail:
14162 return NULL;
14163}
14164
14165
c32bde28 14166static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14167 PyObject *resultobj;
14168 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14169 int result;
14170 PyObject * obj0 = 0 ;
14171 char *kwnames[] = {
14172 (char *) "self", NULL
14173 };
14174
14175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
14176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14178 {
14179 PyThreadState* __tstate = wxPyBeginAllowThreads();
14180 result = (int)(arg1)->GetFlags();
14181
14182 wxPyEndAllowThreads(__tstate);
14183 if (PyErr_Occurred()) SWIG_fail;
14184 }
c32bde28 14185 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
14186 return resultobj;
14187 fail:
14188 return NULL;
14189}
14190
14191
c32bde28 14192static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14193 PyObject *resultobj;
14194 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14195 wxString *result;
14196 PyObject * obj0 = 0 ;
14197 char *kwnames[] = {
14198 (char *) "self", NULL
14199 };
14200
14201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
14202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14204 {
14205 PyThreadState* __tstate = wxPyBeginAllowThreads();
14206 {
14207 wxString const &_result_ref = (arg1)->GetFindString();
14208 result = (wxString *) &_result_ref;
14209 }
14210
14211 wxPyEndAllowThreads(__tstate);
14212 if (PyErr_Occurred()) SWIG_fail;
14213 }
14214 {
14215#if wxUSE_UNICODE
14216 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14217#else
14218 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14219#endif
14220 }
14221 return resultobj;
14222 fail:
14223 return NULL;
14224}
14225
14226
c32bde28 14227static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14228 PyObject *resultobj;
14229 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14230 wxString *result;
14231 PyObject * obj0 = 0 ;
14232 char *kwnames[] = {
14233 (char *) "self", NULL
14234 };
14235
14236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
14237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14239 {
14240 PyThreadState* __tstate = wxPyBeginAllowThreads();
14241 {
14242 wxString const &_result_ref = (arg1)->GetReplaceString();
14243 result = (wxString *) &_result_ref;
14244 }
14245
14246 wxPyEndAllowThreads(__tstate);
14247 if (PyErr_Occurred()) SWIG_fail;
14248 }
14249 {
14250#if wxUSE_UNICODE
14251 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14252#else
14253 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14254#endif
14255 }
14256 return resultobj;
14257 fail:
14258 return NULL;
14259}
14260
14261
c32bde28 14262static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14263 PyObject *resultobj;
14264 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14265 wxFindReplaceDialog *result;
14266 PyObject * obj0 = 0 ;
14267 char *kwnames[] = {
14268 (char *) "self", NULL
14269 };
14270
14271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
14272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14274 {
14275 PyThreadState* __tstate = wxPyBeginAllowThreads();
14276 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
14277
14278 wxPyEndAllowThreads(__tstate);
14279 if (PyErr_Occurred()) SWIG_fail;
14280 }
14281 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
14282 return resultobj;
14283 fail:
14284 return NULL;
14285}
14286
14287
c32bde28 14288static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14289 PyObject *resultobj;
14290 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14291 int arg2 ;
14292 PyObject * obj0 = 0 ;
14293 PyObject * obj1 = 0 ;
14294 char *kwnames[] = {
14295 (char *) "self",(char *) "flags", NULL
14296 };
14297
14298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
14299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 14301 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
14302 if (PyErr_Occurred()) SWIG_fail;
14303 {
14304 PyThreadState* __tstate = wxPyBeginAllowThreads();
14305 (arg1)->SetFlags(arg2);
14306
14307 wxPyEndAllowThreads(__tstate);
14308 if (PyErr_Occurred()) SWIG_fail;
14309 }
14310 Py_INCREF(Py_None); resultobj = Py_None;
14311 return resultobj;
14312 fail:
14313 return NULL;
14314}
14315
14316
c32bde28 14317static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14318 PyObject *resultobj;
14319 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14320 wxString *arg2 = 0 ;
ae8162c8 14321 bool temp2 = false ;
d55e5bfc
RD
14322 PyObject * obj0 = 0 ;
14323 PyObject * obj1 = 0 ;
14324 char *kwnames[] = {
14325 (char *) "self",(char *) "str", NULL
14326 };
14327
14328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
14329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14331 {
14332 arg2 = wxString_in_helper(obj1);
14333 if (arg2 == NULL) SWIG_fail;
ae8162c8 14334 temp2 = true;
d55e5bfc
RD
14335 }
14336 {
14337 PyThreadState* __tstate = wxPyBeginAllowThreads();
14338 (arg1)->SetFindString((wxString const &)*arg2);
14339
14340 wxPyEndAllowThreads(__tstate);
14341 if (PyErr_Occurred()) SWIG_fail;
14342 }
14343 Py_INCREF(Py_None); resultobj = Py_None;
14344 {
14345 if (temp2)
14346 delete arg2;
14347 }
14348 return resultobj;
14349 fail:
14350 {
14351 if (temp2)
14352 delete arg2;
14353 }
14354 return NULL;
14355}
14356
14357
c32bde28 14358static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14359 PyObject *resultobj;
14360 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14361 wxString *arg2 = 0 ;
ae8162c8 14362 bool temp2 = false ;
d55e5bfc
RD
14363 PyObject * obj0 = 0 ;
14364 PyObject * obj1 = 0 ;
14365 char *kwnames[] = {
14366 (char *) "self",(char *) "str", NULL
14367 };
14368
14369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
14370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14372 {
14373 arg2 = wxString_in_helper(obj1);
14374 if (arg2 == NULL) SWIG_fail;
ae8162c8 14375 temp2 = true;
d55e5bfc
RD
14376 }
14377 {
14378 PyThreadState* __tstate = wxPyBeginAllowThreads();
14379 (arg1)->SetReplaceString((wxString const &)*arg2);
14380
14381 wxPyEndAllowThreads(__tstate);
14382 if (PyErr_Occurred()) SWIG_fail;
14383 }
14384 Py_INCREF(Py_None); resultobj = Py_None;
14385 {
14386 if (temp2)
14387 delete arg2;
14388 }
14389 return resultobj;
14390 fail:
14391 {
14392 if (temp2)
14393 delete arg2;
14394 }
14395 return NULL;
14396}
14397
14398
c32bde28 14399static PyObject * FindDialogEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14400 PyObject *obj;
14401 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14402 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
14403 Py_INCREF(obj);
14404 return Py_BuildValue((char *)"");
14405}
c32bde28 14406static PyObject *_wrap_new_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14407 PyObject *resultobj;
14408 int arg1 = (int) 0 ;
14409 wxFindReplaceData *result;
14410 PyObject * obj0 = 0 ;
14411 char *kwnames[] = {
14412 (char *) "flags", NULL
14413 };
14414
14415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
14416 if (obj0) {
c32bde28 14417 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
14418 if (PyErr_Occurred()) SWIG_fail;
14419 }
14420 {
14421 PyThreadState* __tstate = wxPyBeginAllowThreads();
14422 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
14423
14424 wxPyEndAllowThreads(__tstate);
14425 if (PyErr_Occurred()) SWIG_fail;
14426 }
14427 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
14428 return resultobj;
14429 fail:
14430 return NULL;
14431}
14432
14433
c32bde28 14434static PyObject *_wrap_delete_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14435 PyObject *resultobj;
14436 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14437 PyObject * obj0 = 0 ;
14438 char *kwnames[] = {
14439 (char *) "self", NULL
14440 };
14441
14442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
14443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14445 {
14446 PyThreadState* __tstate = wxPyBeginAllowThreads();
14447 delete arg1;
14448
14449 wxPyEndAllowThreads(__tstate);
14450 if (PyErr_Occurred()) SWIG_fail;
14451 }
14452 Py_INCREF(Py_None); resultobj = Py_None;
14453 return resultobj;
14454 fail:
14455 return NULL;
14456}
14457
14458
c32bde28 14459static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14460 PyObject *resultobj;
14461 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14462 wxString *result;
14463 PyObject * obj0 = 0 ;
14464 char *kwnames[] = {
14465 (char *) "self", NULL
14466 };
14467
14468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
14469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14471 {
14472 PyThreadState* __tstate = wxPyBeginAllowThreads();
14473 {
14474 wxString const &_result_ref = (arg1)->GetFindString();
14475 result = (wxString *) &_result_ref;
14476 }
14477
14478 wxPyEndAllowThreads(__tstate);
14479 if (PyErr_Occurred()) SWIG_fail;
14480 }
14481 {
14482#if wxUSE_UNICODE
14483 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14484#else
14485 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14486#endif
14487 }
14488 return resultobj;
14489 fail:
14490 return NULL;
14491}
14492
14493
c32bde28 14494static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14495 PyObject *resultobj;
14496 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14497 wxString *result;
14498 PyObject * obj0 = 0 ;
14499 char *kwnames[] = {
14500 (char *) "self", NULL
14501 };
14502
14503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
14504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14506 {
14507 PyThreadState* __tstate = wxPyBeginAllowThreads();
14508 {
14509 wxString const &_result_ref = (arg1)->GetReplaceString();
14510 result = (wxString *) &_result_ref;
14511 }
14512
14513 wxPyEndAllowThreads(__tstate);
14514 if (PyErr_Occurred()) SWIG_fail;
14515 }
14516 {
14517#if wxUSE_UNICODE
14518 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14519#else
14520 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14521#endif
14522 }
14523 return resultobj;
14524 fail:
14525 return NULL;
14526}
14527
14528
c32bde28 14529static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14530 PyObject *resultobj;
14531 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14532 int result;
14533 PyObject * obj0 = 0 ;
14534 char *kwnames[] = {
14535 (char *) "self", NULL
14536 };
14537
14538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
14539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14541 {
14542 PyThreadState* __tstate = wxPyBeginAllowThreads();
14543 result = (int)(arg1)->GetFlags();
14544
14545 wxPyEndAllowThreads(__tstate);
14546 if (PyErr_Occurred()) SWIG_fail;
14547 }
c32bde28 14548 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
14549 return resultobj;
14550 fail:
14551 return NULL;
14552}
14553
14554
c32bde28 14555static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14556 PyObject *resultobj;
14557 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14558 int arg2 ;
14559 PyObject * obj0 = 0 ;
14560 PyObject * obj1 = 0 ;
14561 char *kwnames[] = {
14562 (char *) "self",(char *) "flags", NULL
14563 };
14564
14565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
14566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 14568 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
14569 if (PyErr_Occurred()) SWIG_fail;
14570 {
14571 PyThreadState* __tstate = wxPyBeginAllowThreads();
14572 (arg1)->SetFlags(arg2);
14573
14574 wxPyEndAllowThreads(__tstate);
14575 if (PyErr_Occurred()) SWIG_fail;
14576 }
14577 Py_INCREF(Py_None); resultobj = Py_None;
14578 return resultobj;
14579 fail:
14580 return NULL;
14581}
14582
14583
c32bde28 14584static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14585 PyObject *resultobj;
14586 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14587 wxString *arg2 = 0 ;
ae8162c8 14588 bool temp2 = false ;
d55e5bfc
RD
14589 PyObject * obj0 = 0 ;
14590 PyObject * obj1 = 0 ;
14591 char *kwnames[] = {
14592 (char *) "self",(char *) "str", NULL
14593 };
14594
14595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
14596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14598 {
14599 arg2 = wxString_in_helper(obj1);
14600 if (arg2 == NULL) SWIG_fail;
ae8162c8 14601 temp2 = true;
d55e5bfc
RD
14602 }
14603 {
14604 PyThreadState* __tstate = wxPyBeginAllowThreads();
14605 (arg1)->SetFindString((wxString const &)*arg2);
14606
14607 wxPyEndAllowThreads(__tstate);
14608 if (PyErr_Occurred()) SWIG_fail;
14609 }
14610 Py_INCREF(Py_None); resultobj = Py_None;
14611 {
14612 if (temp2)
14613 delete arg2;
14614 }
14615 return resultobj;
14616 fail:
14617 {
14618 if (temp2)
14619 delete arg2;
14620 }
14621 return NULL;
14622}
14623
14624
c32bde28 14625static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14626 PyObject *resultobj;
14627 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14628 wxString *arg2 = 0 ;
ae8162c8 14629 bool temp2 = false ;
d55e5bfc
RD
14630 PyObject * obj0 = 0 ;
14631 PyObject * obj1 = 0 ;
14632 char *kwnames[] = {
14633 (char *) "self",(char *) "str", NULL
14634 };
14635
14636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
14637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14639 {
14640 arg2 = wxString_in_helper(obj1);
14641 if (arg2 == NULL) SWIG_fail;
ae8162c8 14642 temp2 = true;
d55e5bfc
RD
14643 }
14644 {
14645 PyThreadState* __tstate = wxPyBeginAllowThreads();
14646 (arg1)->SetReplaceString((wxString const &)*arg2);
14647
14648 wxPyEndAllowThreads(__tstate);
14649 if (PyErr_Occurred()) SWIG_fail;
14650 }
14651 Py_INCREF(Py_None); resultobj = Py_None;
14652 {
14653 if (temp2)
14654 delete arg2;
14655 }
14656 return resultobj;
14657 fail:
14658 {
14659 if (temp2)
14660 delete arg2;
14661 }
14662 return NULL;
14663}
14664
14665
c32bde28 14666static PyObject * FindReplaceData_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14667 PyObject *obj;
14668 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14669 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
14670 Py_INCREF(obj);
14671 return Py_BuildValue((char *)"");
14672}
c32bde28 14673static PyObject *_wrap_new_FindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14674 PyObject *resultobj;
14675 wxWindow *arg1 = (wxWindow *) 0 ;
14676 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14677 wxString *arg3 = 0 ;
14678 int arg4 = (int) 0 ;
14679 wxFindReplaceDialog *result;
ae8162c8 14680 bool temp3 = false ;
d55e5bfc
RD
14681 PyObject * obj0 = 0 ;
14682 PyObject * obj1 = 0 ;
14683 PyObject * obj2 = 0 ;
14684 PyObject * obj3 = 0 ;
14685 char *kwnames[] = {
14686 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14687 };
14688
14689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14692 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14694 {
14695 arg3 = wxString_in_helper(obj2);
14696 if (arg3 == NULL) SWIG_fail;
ae8162c8 14697 temp3 = true;
d55e5bfc
RD
14698 }
14699 if (obj3) {
c32bde28 14700 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc
RD
14701 if (PyErr_Occurred()) SWIG_fail;
14702 }
14703 {
0439c23b 14704 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14705 PyThreadState* __tstate = wxPyBeginAllowThreads();
14706 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
14707
14708 wxPyEndAllowThreads(__tstate);
110da5b0 14709 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14710 }
14711 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
14712 {
14713 if (temp3)
14714 delete arg3;
14715 }
14716 return resultobj;
14717 fail:
14718 {
14719 if (temp3)
14720 delete arg3;
14721 }
14722 return NULL;
14723}
14724
14725
c32bde28 14726static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14727 PyObject *resultobj;
14728 wxFindReplaceDialog *result;
14729 char *kwnames[] = {
14730 NULL
14731 };
14732
14733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
14734 {
0439c23b 14735 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14736 PyThreadState* __tstate = wxPyBeginAllowThreads();
14737 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
14738
14739 wxPyEndAllowThreads(__tstate);
110da5b0 14740 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14741 }
14742 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
14743 return resultobj;
14744 fail:
14745 return NULL;
14746}
14747
14748
c32bde28 14749static PyObject *_wrap_FindReplaceDialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14750 PyObject *resultobj;
14751 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14752 wxWindow *arg2 = (wxWindow *) 0 ;
14753 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
14754 wxString *arg4 = 0 ;
14755 int arg5 = (int) 0 ;
14756 bool result;
ae8162c8 14757 bool temp4 = false ;
d55e5bfc
RD
14758 PyObject * obj0 = 0 ;
14759 PyObject * obj1 = 0 ;
14760 PyObject * obj2 = 0 ;
14761 PyObject * obj3 = 0 ;
14762 PyObject * obj4 = 0 ;
14763 char *kwnames[] = {
14764 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14765 };
14766
14767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14770 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14772 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFindReplaceData,
14773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14774 {
14775 arg4 = wxString_in_helper(obj3);
14776 if (arg4 == NULL) SWIG_fail;
ae8162c8 14777 temp4 = true;
d55e5bfc
RD
14778 }
14779 if (obj4) {
c32bde28 14780 arg5 = (int)SWIG_As_int(obj4);
d55e5bfc
RD
14781 if (PyErr_Occurred()) SWIG_fail;
14782 }
14783 {
14784 PyThreadState* __tstate = wxPyBeginAllowThreads();
14785 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
14786
14787 wxPyEndAllowThreads(__tstate);
14788 if (PyErr_Occurred()) SWIG_fail;
14789 }
14790 {
14791 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14792 }
14793 {
14794 if (temp4)
14795 delete arg4;
14796 }
14797 return resultobj;
14798 fail:
14799 {
14800 if (temp4)
14801 delete arg4;
14802 }
14803 return NULL;
14804}
14805
14806
c32bde28 14807static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14808 PyObject *resultobj;
14809 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14810 wxFindReplaceData *result;
14811 PyObject * obj0 = 0 ;
14812 char *kwnames[] = {
14813 (char *) "self", NULL
14814 };
14815
14816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
14817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14819 {
14820 PyThreadState* __tstate = wxPyBeginAllowThreads();
14821 result = (wxFindReplaceData *)(arg1)->GetData();
14822
14823 wxPyEndAllowThreads(__tstate);
14824 if (PyErr_Occurred()) SWIG_fail;
14825 }
14826 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
14827 return resultobj;
14828 fail:
14829 return NULL;
14830}
14831
14832
c32bde28 14833static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14834 PyObject *resultobj;
14835 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14836 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14837 PyObject * obj0 = 0 ;
14838 PyObject * obj1 = 0 ;
14839 char *kwnames[] = {
14840 (char *) "self",(char *) "data", NULL
14841 };
14842
14843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
14844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14846 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14848 {
14849 PyThreadState* __tstate = wxPyBeginAllowThreads();
14850 (arg1)->SetData(arg2);
14851
14852 wxPyEndAllowThreads(__tstate);
14853 if (PyErr_Occurred()) SWIG_fail;
14854 }
14855 Py_INCREF(Py_None); resultobj = Py_None;
14856 return resultobj;
14857 fail:
14858 return NULL;
14859}
14860
14861
c32bde28 14862static PyObject * FindReplaceDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14863 PyObject *obj;
14864 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14865 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
14866 Py_INCREF(obj);
14867 return Py_BuildValue((char *)"");
14868}
c32bde28 14869static PyObject *_wrap_new_MDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14870 PyObject *resultobj;
14871 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
14872 int arg2 = (int) (int)-1 ;
14873 wxString const &arg3_defvalue = wxPyEmptyString ;
14874 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
14875 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14876 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14877 wxSize const &arg5_defvalue = wxDefaultSize ;
14878 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14879 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14880 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14881 wxString *arg7 = (wxString *) &arg7_defvalue ;
14882 wxMDIParentFrame *result;
ae8162c8 14883 bool temp3 = false ;
d55e5bfc
RD
14884 wxPoint temp4 ;
14885 wxSize temp5 ;
ae8162c8 14886 bool temp7 = false ;
d55e5bfc
RD
14887 PyObject * obj0 = 0 ;
14888 PyObject * obj1 = 0 ;
14889 PyObject * obj2 = 0 ;
14890 PyObject * obj3 = 0 ;
14891 PyObject * obj4 = 0 ;
14892 PyObject * obj5 = 0 ;
14893 PyObject * obj6 = 0 ;
14894 char *kwnames[] = {
14895 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14896 };
14897
248ed943 14898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d55e5bfc
RD
14899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 14901 if (obj1) {
c32bde28 14902 arg2 = (int)SWIG_As_int(obj1);
248ed943
RD
14903 if (PyErr_Occurred()) SWIG_fail;
14904 }
14905 if (obj2) {
14906 {
14907 arg3 = wxString_in_helper(obj2);
14908 if (arg3 == NULL) SWIG_fail;
ae8162c8 14909 temp3 = true;
248ed943 14910 }
d55e5bfc
RD
14911 }
14912 if (obj3) {
14913 {
14914 arg4 = &temp4;
14915 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14916 }
14917 }
14918 if (obj4) {
14919 {
14920 arg5 = &temp5;
14921 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14922 }
14923 }
14924 if (obj5) {
c32bde28 14925 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
14926 if (PyErr_Occurred()) SWIG_fail;
14927 }
14928 if (obj6) {
14929 {
14930 arg7 = wxString_in_helper(obj6);
14931 if (arg7 == NULL) SWIG_fail;
ae8162c8 14932 temp7 = true;
d55e5bfc
RD
14933 }
14934 }
14935 {
0439c23b 14936 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14937 PyThreadState* __tstate = wxPyBeginAllowThreads();
14938 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14939
14940 wxPyEndAllowThreads(__tstate);
110da5b0 14941 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14942 }
14943 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14944 {
14945 if (temp3)
14946 delete arg3;
14947 }
14948 {
14949 if (temp7)
14950 delete arg7;
14951 }
14952 return resultobj;
14953 fail:
14954 {
14955 if (temp3)
14956 delete arg3;
14957 }
14958 {
14959 if (temp7)
14960 delete arg7;
14961 }
14962 return NULL;
14963}
14964
14965
c32bde28 14966static PyObject *_wrap_new_PreMDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14967 PyObject *resultobj;
14968 wxMDIParentFrame *result;
14969 char *kwnames[] = {
14970 NULL
14971 };
14972
14973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
14974 {
0439c23b 14975 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14976 PyThreadState* __tstate = wxPyBeginAllowThreads();
14977 result = (wxMDIParentFrame *)new wxMDIParentFrame();
14978
14979 wxPyEndAllowThreads(__tstate);
110da5b0 14980 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14981 }
14982 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14983 return resultobj;
14984 fail:
14985 return NULL;
14986}
14987
14988
c32bde28 14989static PyObject *_wrap_MDIParentFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14990 PyObject *resultobj;
14991 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14992 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
14993 int arg3 = (int) (int)-1 ;
14994 wxString const &arg4_defvalue = wxPyEmptyString ;
14995 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
14996 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14997 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14998 wxSize const &arg6_defvalue = wxDefaultSize ;
14999 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
15000 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
15001 wxString const &arg8_defvalue = wxPyFrameNameStr ;
15002 wxString *arg8 = (wxString *) &arg8_defvalue ;
15003 bool result;
ae8162c8 15004 bool temp4 = false ;
d55e5bfc
RD
15005 wxPoint temp5 ;
15006 wxSize temp6 ;
ae8162c8 15007 bool temp8 = false ;
d55e5bfc
RD
15008 PyObject * obj0 = 0 ;
15009 PyObject * obj1 = 0 ;
15010 PyObject * obj2 = 0 ;
15011 PyObject * obj3 = 0 ;
15012 PyObject * obj4 = 0 ;
15013 PyObject * obj5 = 0 ;
15014 PyObject * obj6 = 0 ;
15015 PyObject * obj7 = 0 ;
15016 char *kwnames[] = {
15017 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15018 };
15019
248ed943 15020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d55e5bfc
RD
15021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15023 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 15025 if (obj2) {
c32bde28 15026 arg3 = (int)SWIG_As_int(obj2);
248ed943
RD
15027 if (PyErr_Occurred()) SWIG_fail;
15028 }
15029 if (obj3) {
15030 {
15031 arg4 = wxString_in_helper(obj3);
15032 if (arg4 == NULL) SWIG_fail;
ae8162c8 15033 temp4 = true;
248ed943 15034 }
d55e5bfc
RD
15035 }
15036 if (obj4) {
15037 {
15038 arg5 = &temp5;
15039 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15040 }
15041 }
15042 if (obj5) {
15043 {
15044 arg6 = &temp6;
15045 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
15046 }
15047 }
15048 if (obj6) {
c32bde28 15049 arg7 = (long)SWIG_As_long(obj6);
d55e5bfc
RD
15050 if (PyErr_Occurred()) SWIG_fail;
15051 }
15052 if (obj7) {
15053 {
15054 arg8 = wxString_in_helper(obj7);
15055 if (arg8 == NULL) SWIG_fail;
ae8162c8 15056 temp8 = true;
d55e5bfc
RD
15057 }
15058 }
15059 {
15060 PyThreadState* __tstate = wxPyBeginAllowThreads();
15061 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
15062
15063 wxPyEndAllowThreads(__tstate);
15064 if (PyErr_Occurred()) SWIG_fail;
15065 }
15066 {
15067 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15068 }
15069 {
15070 if (temp4)
15071 delete arg4;
15072 }
15073 {
15074 if (temp8)
15075 delete arg8;
15076 }
15077 return resultobj;
15078 fail:
15079 {
15080 if (temp4)
15081 delete arg4;
15082 }
15083 {
15084 if (temp8)
15085 delete arg8;
15086 }
15087 return NULL;
15088}
15089
15090
c32bde28 15091static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15092 PyObject *resultobj;
15093 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15094 PyObject * obj0 = 0 ;
15095 char *kwnames[] = {
15096 (char *) "self", NULL
15097 };
15098
15099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
15100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15102 {
15103 PyThreadState* __tstate = wxPyBeginAllowThreads();
15104 (arg1)->ActivateNext();
15105
15106 wxPyEndAllowThreads(__tstate);
15107 if (PyErr_Occurred()) SWIG_fail;
15108 }
15109 Py_INCREF(Py_None); resultobj = Py_None;
15110 return resultobj;
15111 fail:
15112 return NULL;
15113}
15114
15115
c32bde28 15116static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15117 PyObject *resultobj;
15118 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15119 PyObject * obj0 = 0 ;
15120 char *kwnames[] = {
15121 (char *) "self", NULL
15122 };
15123
15124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
15125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15127 {
15128 PyThreadState* __tstate = wxPyBeginAllowThreads();
15129 (arg1)->ActivatePrevious();
15130
15131 wxPyEndAllowThreads(__tstate);
15132 if (PyErr_Occurred()) SWIG_fail;
15133 }
15134 Py_INCREF(Py_None); resultobj = Py_None;
15135 return resultobj;
15136 fail:
15137 return NULL;
15138}
15139
15140
c32bde28 15141static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15142 PyObject *resultobj;
15143 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15144 PyObject * obj0 = 0 ;
15145 char *kwnames[] = {
15146 (char *) "self", NULL
15147 };
15148
15149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
15150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15152 {
15153 PyThreadState* __tstate = wxPyBeginAllowThreads();
15154 (arg1)->ArrangeIcons();
15155
15156 wxPyEndAllowThreads(__tstate);
15157 if (PyErr_Occurred()) SWIG_fail;
15158 }
15159 Py_INCREF(Py_None); resultobj = Py_None;
15160 return resultobj;
15161 fail:
15162 return NULL;
15163}
15164
15165
c32bde28 15166static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15167 PyObject *resultobj;
15168 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15169 PyObject * obj0 = 0 ;
15170 char *kwnames[] = {
15171 (char *) "self", NULL
15172 };
15173
15174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
15175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15177 {
15178 PyThreadState* __tstate = wxPyBeginAllowThreads();
15179 (arg1)->Cascade();
15180
15181 wxPyEndAllowThreads(__tstate);
15182 if (PyErr_Occurred()) SWIG_fail;
15183 }
15184 Py_INCREF(Py_None); resultobj = Py_None;
15185 return resultobj;
15186 fail:
15187 return NULL;
15188}
15189
15190
c32bde28 15191static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15192 PyObject *resultobj;
15193 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15194 wxMDIChildFrame *result;
15195 PyObject * obj0 = 0 ;
15196 char *kwnames[] = {
15197 (char *) "self", NULL
15198 };
15199
15200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
15201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15203 {
15204 PyThreadState* __tstate = wxPyBeginAllowThreads();
15205 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
15206
15207 wxPyEndAllowThreads(__tstate);
15208 if (PyErr_Occurred()) SWIG_fail;
15209 }
15210 {
412d302d 15211 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
15212 }
15213 return resultobj;
15214 fail:
15215 return NULL;
15216}
15217
15218
c32bde28 15219static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15220 PyObject *resultobj;
15221 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15222 wxMDIClientWindow *result;
15223 PyObject * obj0 = 0 ;
15224 char *kwnames[] = {
15225 (char *) "self", NULL
15226 };
15227
15228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
15229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15231 {
15232 PyThreadState* __tstate = wxPyBeginAllowThreads();
15233 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
15234
15235 wxPyEndAllowThreads(__tstate);
15236 if (PyErr_Occurred()) SWIG_fail;
15237 }
15238 {
412d302d 15239 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
15240 }
15241 return resultobj;
15242 fail:
15243 return NULL;
15244}
15245
15246
c32bde28 15247static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15248 PyObject *resultobj;
15249 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15250 wxWindow *result;
15251 PyObject * obj0 = 0 ;
15252 char *kwnames[] = {
15253 (char *) "self", NULL
15254 };
15255
15256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
15257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15259 {
15260 PyThreadState* __tstate = wxPyBeginAllowThreads();
15261 result = (wxWindow *)(arg1)->GetToolBar();
15262
15263 wxPyEndAllowThreads(__tstate);
15264 if (PyErr_Occurred()) SWIG_fail;
15265 }
15266 {
412d302d 15267 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
15268 }
15269 return resultobj;
15270 fail:
15271 return NULL;
15272}
15273
15274
c32bde28 15275static PyObject *_wrap_MDIParentFrame_GetWindowMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15276 PyObject *resultobj;
15277 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15278 wxMenu *result;
15279 PyObject * obj0 = 0 ;
15280 char *kwnames[] = {
15281 (char *) "self", NULL
15282 };
15283
15284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetWindowMenu",kwnames,&obj0)) goto fail;
15285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15287 {
15288 PyThreadState* __tstate = wxPyBeginAllowThreads();
15289 result = (wxMenu *)(arg1)->GetWindowMenu();
15290
15291 wxPyEndAllowThreads(__tstate);
15292 if (PyErr_Occurred()) SWIG_fail;
15293 }
15294 {
412d302d 15295 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
15296 }
15297 return resultobj;
15298 fail:
15299 return NULL;
15300}
15301
15302
c32bde28 15303static PyObject *_wrap_MDIParentFrame_SetWindowMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15304 PyObject *resultobj;
15305 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15306 wxMenu *arg2 = (wxMenu *) 0 ;
15307 PyObject * obj0 = 0 ;
15308 PyObject * obj1 = 0 ;
15309 char *kwnames[] = {
15310 (char *) "self",(char *) "menu", NULL
15311 };
15312
15313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames,&obj0,&obj1)) goto fail;
15314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15316 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
15317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15318 {
15319 PyThreadState* __tstate = wxPyBeginAllowThreads();
15320 (arg1)->SetWindowMenu(arg2);
15321
15322 wxPyEndAllowThreads(__tstate);
15323 if (PyErr_Occurred()) SWIG_fail;
15324 }
15325 Py_INCREF(Py_None); resultobj = Py_None;
15326 return resultobj;
15327 fail:
15328 return NULL;
15329}
15330
15331
c32bde28 15332static PyObject *_wrap_MDIParentFrame_SetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15333 PyObject *resultobj;
15334 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15335 wxToolBar *arg2 = (wxToolBar *) 0 ;
15336 PyObject * obj0 = 0 ;
15337 PyObject * obj1 = 0 ;
15338 char *kwnames[] = {
15339 (char *) "self",(char *) "toolbar", NULL
15340 };
15341
15342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
15343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15345 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar,
15346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15347 {
15348 PyThreadState* __tstate = wxPyBeginAllowThreads();
15349 (arg1)->SetToolBar(arg2);
15350
15351 wxPyEndAllowThreads(__tstate);
15352 if (PyErr_Occurred()) SWIG_fail;
15353 }
15354 Py_INCREF(Py_None); resultobj = Py_None;
15355 return resultobj;
15356 fail:
15357 return NULL;
15358}
15359
15360
c32bde28 15361static PyObject *_wrap_MDIParentFrame_Tile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15362 PyObject *resultobj;
15363 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15364 PyObject * obj0 = 0 ;
15365 char *kwnames[] = {
15366 (char *) "self", NULL
15367 };
15368
15369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
15370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15372 {
15373 PyThreadState* __tstate = wxPyBeginAllowThreads();
15374 (arg1)->Tile();
15375
15376 wxPyEndAllowThreads(__tstate);
15377 if (PyErr_Occurred()) SWIG_fail;
15378 }
15379 Py_INCREF(Py_None); resultobj = Py_None;
15380 return resultobj;
15381 fail:
15382 return NULL;
15383}
15384
15385
c32bde28 15386static PyObject * MDIParentFrame_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
15387 PyObject *obj;
15388 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15389 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
15390 Py_INCREF(obj);
15391 return Py_BuildValue((char *)"");
15392}
c32bde28 15393static PyObject *_wrap_new_MDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15394 PyObject *resultobj;
15395 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
248ed943
RD
15396 int arg2 = (int) (int)-1 ;
15397 wxString const &arg3_defvalue = wxPyEmptyString ;
15398 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
15399 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15400 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15401 wxSize const &arg5_defvalue = wxDefaultSize ;
15402 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15403 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
15404 wxString const &arg7_defvalue = wxPyFrameNameStr ;
15405 wxString *arg7 = (wxString *) &arg7_defvalue ;
15406 wxMDIChildFrame *result;
ae8162c8 15407 bool temp3 = false ;
d55e5bfc
RD
15408 wxPoint temp4 ;
15409 wxSize temp5 ;
ae8162c8 15410 bool temp7 = false ;
d55e5bfc
RD
15411 PyObject * obj0 = 0 ;
15412 PyObject * obj1 = 0 ;
15413 PyObject * obj2 = 0 ;
15414 PyObject * obj3 = 0 ;
15415 PyObject * obj4 = 0 ;
15416 PyObject * obj5 = 0 ;
15417 PyObject * obj6 = 0 ;
15418 char *kwnames[] = {
15419 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15420 };
15421
248ed943 15422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d55e5bfc
RD
15423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 15425 if (obj1) {
c32bde28 15426 arg2 = (int)SWIG_As_int(obj1);
248ed943
RD
15427 if (PyErr_Occurred()) SWIG_fail;
15428 }
15429 if (obj2) {
15430 {
15431 arg3 = wxString_in_helper(obj2);
15432 if (arg3 == NULL) SWIG_fail;
ae8162c8 15433 temp3 = true;
248ed943 15434 }
d55e5bfc
RD
15435 }
15436 if (obj3) {
15437 {
15438 arg4 = &temp4;
15439 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15440 }
15441 }
15442 if (obj4) {
15443 {
15444 arg5 = &temp5;
15445 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15446 }
15447 }
15448 if (obj5) {
c32bde28 15449 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
15450 if (PyErr_Occurred()) SWIG_fail;
15451 }
15452 if (obj6) {
15453 {
15454 arg7 = wxString_in_helper(obj6);
15455 if (arg7 == NULL) SWIG_fail;
ae8162c8 15456 temp7 = true;
d55e5bfc
RD
15457 }
15458 }
15459 {
0439c23b 15460 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15461 PyThreadState* __tstate = wxPyBeginAllowThreads();
15462 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15463
15464 wxPyEndAllowThreads(__tstate);
110da5b0 15465 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 15466 }
b0f7404b 15467 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
d55e5bfc
RD
15468 {
15469 if (temp3)
15470 delete arg3;
15471 }
15472 {
15473 if (temp7)
15474 delete arg7;
15475 }
15476 return resultobj;
15477 fail:
15478 {
15479 if (temp3)
15480 delete arg3;
15481 }
15482 {
15483 if (temp7)
15484 delete arg7;
15485 }
15486 return NULL;
15487}
15488
15489
c32bde28 15490static PyObject *_wrap_new_PreMDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15491 PyObject *resultobj;
15492 wxMDIChildFrame *result;
15493 char *kwnames[] = {
15494 NULL
15495 };
15496
15497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
15498 {
0439c23b 15499 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15500 PyThreadState* __tstate = wxPyBeginAllowThreads();
15501 result = (wxMDIChildFrame *)new wxMDIChildFrame();
15502
15503 wxPyEndAllowThreads(__tstate);
110da5b0 15504 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 15505 }
b0f7404b 15506 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
d55e5bfc
RD
15507 return resultobj;
15508 fail:
15509 return NULL;
15510}
15511
15512
c32bde28 15513static PyObject *_wrap_MDIChildFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15514 PyObject *resultobj;
15515 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15516 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
248ed943
RD
15517 int arg3 = (int) (int)-1 ;
15518 wxString const &arg4_defvalue = wxPyEmptyString ;
15519 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
15520 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15521 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15522 wxSize const &arg6_defvalue = wxDefaultSize ;
15523 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
15524 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
15525 wxString const &arg8_defvalue = wxPyFrameNameStr ;
15526 wxString *arg8 = (wxString *) &arg8_defvalue ;
15527 bool result;
ae8162c8 15528 bool temp4 = false ;
d55e5bfc
RD
15529 wxPoint temp5 ;
15530 wxSize temp6 ;
ae8162c8 15531 bool temp8 = false ;
d55e5bfc
RD
15532 PyObject * obj0 = 0 ;
15533 PyObject * obj1 = 0 ;
15534 PyObject * obj2 = 0 ;
15535 PyObject * obj3 = 0 ;
15536 PyObject * obj4 = 0 ;
15537 PyObject * obj5 = 0 ;
15538 PyObject * obj6 = 0 ;
15539 PyObject * obj7 = 0 ;
15540 char *kwnames[] = {
15541 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15542 };
15543
248ed943 15544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d55e5bfc
RD
15545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15547 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
15548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 15549 if (obj2) {
c32bde28 15550 arg3 = (int)SWIG_As_int(obj2);
248ed943
RD
15551 if (PyErr_Occurred()) SWIG_fail;
15552 }
15553 if (obj3) {
15554 {
15555 arg4 = wxString_in_helper(obj3);
15556 if (arg4 == NULL) SWIG_fail;
ae8162c8 15557 temp4 = true;
248ed943 15558 }
d55e5bfc
RD
15559 }
15560 if (obj4) {
15561 {
15562 arg5 = &temp5;
15563 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15564 }
15565 }
15566 if (obj5) {
15567 {
15568 arg6 = &temp6;
15569 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
15570 }
15571 }
15572 if (obj6) {
c32bde28 15573 arg7 = (long)SWIG_As_long(obj6);
d55e5bfc
RD
15574 if (PyErr_Occurred()) SWIG_fail;
15575 }
15576 if (obj7) {
15577 {
15578 arg8 = wxString_in_helper(obj7);
15579 if (arg8 == NULL) SWIG_fail;
ae8162c8 15580 temp8 = true;
d55e5bfc
RD
15581 }
15582 }
15583 {
15584 PyThreadState* __tstate = wxPyBeginAllowThreads();
15585 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
15586
15587 wxPyEndAllowThreads(__tstate);
15588 if (PyErr_Occurred()) SWIG_fail;
15589 }
15590 {
15591 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15592 }
15593 {
15594 if (temp4)
15595 delete arg4;
15596 }
15597 {
15598 if (temp8)
15599 delete arg8;
15600 }
15601 return resultobj;
15602 fail:
15603 {
15604 if (temp4)
15605 delete arg4;
15606 }
15607 {
15608 if (temp8)
15609 delete arg8;
15610 }
15611 return NULL;
15612}
15613
15614
c32bde28 15615static PyObject *_wrap_MDIChildFrame_Activate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15616 PyObject *resultobj;
15617 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15618 PyObject * obj0 = 0 ;
15619 char *kwnames[] = {
15620 (char *) "self", NULL
15621 };
15622
15623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
15624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15626 {
15627 PyThreadState* __tstate = wxPyBeginAllowThreads();
15628 (arg1)->Activate();
15629
15630 wxPyEndAllowThreads(__tstate);
15631 if (PyErr_Occurred()) SWIG_fail;
15632 }
15633 Py_INCREF(Py_None); resultobj = Py_None;
15634 return resultobj;
15635 fail:
15636 return NULL;
15637}
15638
15639
c32bde28 15640static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15641 PyObject *resultobj;
15642 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15643 bool arg2 ;
15644 PyObject * obj0 = 0 ;
15645 PyObject * obj1 = 0 ;
15646 char *kwnames[] = {
15647 (char *) "self",(char *) "maximize", NULL
15648 };
15649
15650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
15651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 15653 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
15654 if (PyErr_Occurred()) SWIG_fail;
15655 {
15656 PyThreadState* __tstate = wxPyBeginAllowThreads();
15657 (arg1)->Maximize(arg2);
15658
15659 wxPyEndAllowThreads(__tstate);
15660 if (PyErr_Occurred()) SWIG_fail;
15661 }
15662 Py_INCREF(Py_None); resultobj = Py_None;
15663 return resultobj;
15664 fail:
15665 return NULL;
15666}
15667
15668
c32bde28 15669static PyObject *_wrap_MDIChildFrame_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15670 PyObject *resultobj;
15671 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15672 PyObject * obj0 = 0 ;
15673 char *kwnames[] = {
15674 (char *) "self", NULL
15675 };
15676
15677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
15678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15680 {
15681 PyThreadState* __tstate = wxPyBeginAllowThreads();
15682 (arg1)->Restore();
15683
15684 wxPyEndAllowThreads(__tstate);
15685 if (PyErr_Occurred()) SWIG_fail;
15686 }
15687 Py_INCREF(Py_None); resultobj = Py_None;
15688 return resultobj;
15689 fail:
15690 return NULL;
15691}
15692
15693
c32bde28 15694static PyObject * MDIChildFrame_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
15695 PyObject *obj;
15696 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15697 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
15698 Py_INCREF(obj);
15699 return Py_BuildValue((char *)"");
15700}
c32bde28 15701static PyObject *_wrap_new_MDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15702 PyObject *resultobj;
15703 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15704 long arg2 = (long) 0 ;
15705 wxMDIClientWindow *result;
15706 PyObject * obj0 = 0 ;
15707 PyObject * obj1 = 0 ;
15708 char *kwnames[] = {
15709 (char *) "parent",(char *) "style", NULL
15710 };
15711
15712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
15713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15715 if (obj1) {
c32bde28 15716 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
15717 if (PyErr_Occurred()) SWIG_fail;
15718 }
15719 {
0439c23b 15720 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15721 PyThreadState* __tstate = wxPyBeginAllowThreads();
15722 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
15723
15724 wxPyEndAllowThreads(__tstate);
110da5b0 15725 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 15726 }
b0f7404b 15727 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
d55e5bfc
RD
15728 return resultobj;
15729 fail:
15730 return NULL;
15731}
15732
15733
c32bde28 15734static PyObject *_wrap_new_PreMDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15735 PyObject *resultobj;
15736 wxMDIClientWindow *result;
15737 char *kwnames[] = {
15738 NULL
15739 };
15740
15741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
15742 {
0439c23b 15743 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15744 PyThreadState* __tstate = wxPyBeginAllowThreads();
15745 result = (wxMDIClientWindow *)new wxMDIClientWindow();
15746
15747 wxPyEndAllowThreads(__tstate);
110da5b0 15748 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 15749 }
b0f7404b 15750 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
d55e5bfc
RD
15751 return resultobj;
15752 fail:
15753 return NULL;
15754}
15755
15756
c32bde28 15757static PyObject *_wrap_MDIClientWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15758 PyObject *resultobj;
15759 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
15760 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
15761 long arg3 = (long) 0 ;
15762 bool result;
15763 PyObject * obj0 = 0 ;
15764 PyObject * obj1 = 0 ;
15765 PyObject * obj2 = 0 ;
15766 char *kwnames[] = {
15767 (char *) "self",(char *) "parent",(char *) "style", NULL
15768 };
15769
15770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
15771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIClientWindow,
15772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15773 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
15774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15775 if (obj2) {
c32bde28 15776 arg3 = (long)SWIG_As_long(obj2);
d55e5bfc
RD
15777 if (PyErr_Occurred()) SWIG_fail;
15778 }
15779 {
15780 PyThreadState* __tstate = wxPyBeginAllowThreads();
15781 result = (bool)(arg1)->Create(arg2,arg3);
15782
15783 wxPyEndAllowThreads(__tstate);
15784 if (PyErr_Occurred()) SWIG_fail;
15785 }
15786 {
15787 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15788 }
15789 return resultobj;
15790 fail:
15791 return NULL;
15792}
15793
15794
c32bde28 15795static PyObject * MDIClientWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
15796 PyObject *obj;
15797 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15798 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
15799 Py_INCREF(obj);
15800 return Py_BuildValue((char *)"");
15801}
c32bde28 15802static PyObject *_wrap_new_PyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15803 PyObject *resultobj;
15804 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 15805 int arg2 = (int) (int)-1 ;
d55e5bfc
RD
15806 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15807 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15808 wxSize const &arg4_defvalue = wxDefaultSize ;
15809 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15810 long arg5 = (long) 0 ;
15811 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15812 wxString *arg6 = (wxString *) &arg6_defvalue ;
15813 wxPyWindow *result;
15814 wxPoint temp3 ;
15815 wxSize temp4 ;
ae8162c8 15816 bool temp6 = false ;
d55e5bfc
RD
15817 PyObject * obj0 = 0 ;
15818 PyObject * obj1 = 0 ;
15819 PyObject * obj2 = 0 ;
15820 PyObject * obj3 = 0 ;
15821 PyObject * obj4 = 0 ;
15822 PyObject * obj5 = 0 ;
15823 char *kwnames[] = {
15824 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15825 };
15826
248ed943 15827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d55e5bfc
RD
15828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 15830 if (obj1) {
c32bde28 15831 arg2 = (int)SWIG_As_int(obj1);
248ed943
RD
15832 if (PyErr_Occurred()) SWIG_fail;
15833 }
d55e5bfc
RD
15834 if (obj2) {
15835 {
15836 arg3 = &temp3;
15837 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15838 }
15839 }
15840 if (obj3) {
15841 {
15842 arg4 = &temp4;
15843 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15844 }
15845 }
15846 if (obj4) {
c32bde28 15847 arg5 = (long)SWIG_As_long(obj4);
d55e5bfc
RD
15848 if (PyErr_Occurred()) SWIG_fail;
15849 }
15850 if (obj5) {
15851 {
15852 arg6 = wxString_in_helper(obj5);
15853 if (arg6 == NULL) SWIG_fail;
ae8162c8 15854 temp6 = true;
d55e5bfc
RD
15855 }
15856 }
15857 {
0439c23b 15858 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15859 PyThreadState* __tstate = wxPyBeginAllowThreads();
15860 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15861
15862 wxPyEndAllowThreads(__tstate);
110da5b0 15863 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
15864 }
15865 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15866 {
15867 if (temp6)
15868 delete arg6;
15869 }
15870 return resultobj;
15871 fail:
15872 {
15873 if (temp6)
15874 delete arg6;
15875 }
15876 return NULL;
15877}
15878
15879
c32bde28 15880static PyObject *_wrap_new_PrePyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15881 PyObject *resultobj;
15882 wxPyWindow *result;
15883 char *kwnames[] = {
15884 NULL
15885 };
15886
15887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail;
15888 {
0439c23b 15889 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15890 PyThreadState* __tstate = wxPyBeginAllowThreads();
15891 result = (wxPyWindow *)new wxPyWindow();
15892
15893 wxPyEndAllowThreads(__tstate);
110da5b0 15894 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
15895 }
15896 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15897 return resultobj;
15898 fail:
15899 return NULL;
15900}
15901
15902
c32bde28 15903static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15904 PyObject *resultobj;
15905 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15906 PyObject *arg2 = (PyObject *) 0 ;
15907 PyObject *arg3 = (PyObject *) 0 ;
15908 PyObject * obj0 = 0 ;
15909 PyObject * obj1 = 0 ;
15910 PyObject * obj2 = 0 ;
15911 char *kwnames[] = {
15912 (char *) "self",(char *) "self",(char *) "_class", NULL
15913 };
15914
15915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15918 arg2 = obj1;
15919 arg3 = obj2;
15920 {
15921 PyThreadState* __tstate = wxPyBeginAllowThreads();
15922 (arg1)->_setCallbackInfo(arg2,arg3);
15923
15924 wxPyEndAllowThreads(__tstate);
15925 if (PyErr_Occurred()) SWIG_fail;
15926 }
15927 Py_INCREF(Py_None); resultobj = Py_None;
15928 return resultobj;
15929 fail:
15930 return NULL;
15931}
15932
15933
c32bde28 15934static PyObject *_wrap_PyWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
caef1a4d
RD
15935 PyObject *resultobj;
15936 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15937 wxSize *arg2 = 0 ;
15938 wxSize temp2 ;
15939 PyObject * obj0 = 0 ;
15940 PyObject * obj1 = 0 ;
15941 char *kwnames[] = {
15942 (char *) "self",(char *) "size", NULL
15943 };
15944
15945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
15946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15948 {
15949 arg2 = &temp2;
15950 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15951 }
15952 {
15953 PyThreadState* __tstate = wxPyBeginAllowThreads();
15954 (arg1)->SetBestSize((wxSize const &)*arg2);
15955
15956 wxPyEndAllowThreads(__tstate);
15957 if (PyErr_Occurred()) SWIG_fail;
15958 }
15959 Py_INCREF(Py_None); resultobj = Py_None;
15960 return resultobj;
15961 fail:
15962 return NULL;
15963}
15964
15965
c32bde28 15966static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15967 PyObject *resultobj;
15968 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15969 int arg2 ;
15970 int arg3 ;
15971 int arg4 ;
15972 int arg5 ;
15973 PyObject * obj0 = 0 ;
15974 PyObject * obj1 = 0 ;
15975 PyObject * obj2 = 0 ;
15976 PyObject * obj3 = 0 ;
15977 PyObject * obj4 = 0 ;
15978 char *kwnames[] = {
15979 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15980 };
15981
15982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 15985 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 15986 if (PyErr_Occurred()) SWIG_fail;
c32bde28 15987 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc 15988 if (PyErr_Occurred()) SWIG_fail;
c32bde28 15989 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc 15990 if (PyErr_Occurred()) SWIG_fail;
c32bde28 15991 arg5 = (int)SWIG_As_int(obj4);
d55e5bfc
RD
15992 if (PyErr_Occurred()) SWIG_fail;
15993 {
15994 PyThreadState* __tstate = wxPyBeginAllowThreads();
15995 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
15996
15997 wxPyEndAllowThreads(__tstate);
15998 if (PyErr_Occurred()) SWIG_fail;
15999 }
16000 Py_INCREF(Py_None); resultobj = Py_None;
16001 return resultobj;
16002 fail:
16003 return NULL;
16004}
16005
16006
c32bde28 16007static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16008 PyObject *resultobj;
16009 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16010 int arg2 ;
16011 int arg3 ;
16012 int arg4 ;
16013 int arg5 ;
16014 int arg6 = (int) wxSIZE_AUTO ;
16015 PyObject * obj0 = 0 ;
16016 PyObject * obj1 = 0 ;
16017 PyObject * obj2 = 0 ;
16018 PyObject * obj3 = 0 ;
16019 PyObject * obj4 = 0 ;
16020 PyObject * obj5 = 0 ;
16021 char *kwnames[] = {
16022 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16023 };
16024
16025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16028 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 16029 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16030 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc 16031 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16032 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc 16033 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16034 arg5 = (int)SWIG_As_int(obj4);
d55e5bfc
RD
16035 if (PyErr_Occurred()) SWIG_fail;
16036 if (obj5) {
c32bde28 16037 arg6 = (int)SWIG_As_int(obj5);
d55e5bfc
RD
16038 if (PyErr_Occurred()) SWIG_fail;
16039 }
16040 {
16041 PyThreadState* __tstate = wxPyBeginAllowThreads();
16042 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
16043
16044 wxPyEndAllowThreads(__tstate);
16045 if (PyErr_Occurred()) SWIG_fail;
16046 }
16047 Py_INCREF(Py_None); resultobj = Py_None;
16048 return resultobj;
16049 fail:
16050 return NULL;
16051}
16052
16053
c32bde28 16054static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16055 PyObject *resultobj;
16056 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16057 int arg2 ;
16058 int arg3 ;
16059 PyObject * obj0 = 0 ;
16060 PyObject * obj1 = 0 ;
16061 PyObject * obj2 = 0 ;
16062 char *kwnames[] = {
16063 (char *) "self",(char *) "width",(char *) "height", NULL
16064 };
16065
16066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16069 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 16070 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16071 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
16072 if (PyErr_Occurred()) SWIG_fail;
16073 {
16074 PyThreadState* __tstate = wxPyBeginAllowThreads();
16075 (arg1)->base_DoSetClientSize(arg2,arg3);
16076
16077 wxPyEndAllowThreads(__tstate);
16078 if (PyErr_Occurred()) SWIG_fail;
16079 }
16080 Py_INCREF(Py_None); resultobj = Py_None;
16081 return resultobj;
16082 fail:
16083 return NULL;
16084}
16085
16086
c32bde28 16087static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16088 PyObject *resultobj;
16089 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16090 int arg2 ;
16091 int arg3 ;
16092 PyObject * obj0 = 0 ;
16093 PyObject * obj1 = 0 ;
16094 PyObject * obj2 = 0 ;
16095 char *kwnames[] = {
16096 (char *) "self",(char *) "x",(char *) "y", NULL
16097 };
16098
16099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16102 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 16103 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16104 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
16105 if (PyErr_Occurred()) SWIG_fail;
16106 {
16107 PyThreadState* __tstate = wxPyBeginAllowThreads();
16108 (arg1)->base_DoSetVirtualSize(arg2,arg3);
16109
16110 wxPyEndAllowThreads(__tstate);
16111 if (PyErr_Occurred()) SWIG_fail;
16112 }
16113 Py_INCREF(Py_None); resultobj = Py_None;
16114 return resultobj;
16115 fail:
16116 return NULL;
16117}
16118
16119
c32bde28 16120static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16121 PyObject *resultobj;
16122 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16123 int *arg2 = (int *) 0 ;
16124 int *arg3 = (int *) 0 ;
16125 int temp2 ;
c32bde28 16126 int res2 = 0 ;
d55e5bfc 16127 int temp3 ;
c32bde28 16128 int res3 = 0 ;
d55e5bfc
RD
16129 PyObject * obj0 = 0 ;
16130 char *kwnames[] = {
16131 (char *) "self", NULL
16132 };
16133
c32bde28
RD
16134 arg2 = &temp2; res2 = SWIG_NEWOBJ;
16135 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc
RD
16136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
16137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16139 {
16140 PyThreadState* __tstate = wxPyBeginAllowThreads();
16141 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
16142
16143 wxPyEndAllowThreads(__tstate);
16144 if (PyErr_Occurred()) SWIG_fail;
16145 }
16146 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
16147 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
16148 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
16149 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16150 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
16151 return resultobj;
16152 fail:
16153 return NULL;
16154}
16155
16156
c32bde28 16157static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16158 PyObject *resultobj;
16159 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16160 int *arg2 = (int *) 0 ;
16161 int *arg3 = (int *) 0 ;
16162 int temp2 ;
c32bde28 16163 int res2 = 0 ;
d55e5bfc 16164 int temp3 ;
c32bde28 16165 int res3 = 0 ;
d55e5bfc
RD
16166 PyObject * obj0 = 0 ;
16167 char *kwnames[] = {
16168 (char *) "self", NULL
16169 };
16170
c32bde28
RD
16171 arg2 = &temp2; res2 = SWIG_NEWOBJ;
16172 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc
RD
16173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
16174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16176 {
16177 PyThreadState* __tstate = wxPyBeginAllowThreads();
16178 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
16179
16180 wxPyEndAllowThreads(__tstate);
16181 if (PyErr_Occurred()) SWIG_fail;
16182 }
16183 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
16184 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
16185 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
16186 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16187 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
16188 return resultobj;
16189 fail:
16190 return NULL;
16191}
16192
16193
c32bde28 16194static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16195 PyObject *resultobj;
16196 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16197 int *arg2 = (int *) 0 ;
16198 int *arg3 = (int *) 0 ;
16199 int temp2 ;
c32bde28 16200 int res2 = 0 ;
d55e5bfc 16201 int temp3 ;
c32bde28 16202 int res3 = 0 ;
d55e5bfc
RD
16203 PyObject * obj0 = 0 ;
16204 char *kwnames[] = {
16205 (char *) "self", NULL
16206 };
16207
c32bde28
RD
16208 arg2 = &temp2; res2 = SWIG_NEWOBJ;
16209 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc
RD
16210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
16211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16213 {
16214 PyThreadState* __tstate = wxPyBeginAllowThreads();
16215 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
16216
16217 wxPyEndAllowThreads(__tstate);
16218 if (PyErr_Occurred()) SWIG_fail;
16219 }
16220 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
16221 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
16222 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
16223 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16224 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
16225 return resultobj;
16226 fail:
16227 return NULL;
16228}
16229
16230
c32bde28 16231static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16232 PyObject *resultobj;
16233 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16234 wxSize result;
16235 PyObject * obj0 = 0 ;
16236 char *kwnames[] = {
16237 (char *) "self", NULL
16238 };
16239
16240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
16241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16243 {
16244 PyThreadState* __tstate = wxPyBeginAllowThreads();
16245 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
16246
16247 wxPyEndAllowThreads(__tstate);
16248 if (PyErr_Occurred()) SWIG_fail;
16249 }
16250 {
16251 wxSize * resultptr;
16252 resultptr = new wxSize((wxSize &) result);
16253 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16254 }
16255 return resultobj;
16256 fail:
16257 return NULL;
16258}
16259
16260
c32bde28 16261static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16262 PyObject *resultobj;
16263 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16264 wxSize result;
16265 PyObject * obj0 = 0 ;
16266 char *kwnames[] = {
16267 (char *) "self", NULL
16268 };
16269
16270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
16271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16273 {
16274 PyThreadState* __tstate = wxPyBeginAllowThreads();
16275 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
16276
16277 wxPyEndAllowThreads(__tstate);
16278 if (PyErr_Occurred()) SWIG_fail;
16279 }
16280 {
16281 wxSize * resultptr;
16282 resultptr = new wxSize((wxSize &) result);
16283 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16284 }
16285 return resultobj;
16286 fail:
16287 return NULL;
16288}
16289
16290
c32bde28 16291static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16292 PyObject *resultobj;
16293 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16294 PyObject * obj0 = 0 ;
16295 char *kwnames[] = {
16296 (char *) "self", NULL
16297 };
16298
16299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
16300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16302 {
16303 PyThreadState* __tstate = wxPyBeginAllowThreads();
16304 (arg1)->base_InitDialog();
16305
16306 wxPyEndAllowThreads(__tstate);
16307 if (PyErr_Occurred()) SWIG_fail;
16308 }
16309 Py_INCREF(Py_None); resultobj = Py_None;
16310 return resultobj;
16311 fail:
16312 return NULL;
16313}
16314
16315
c32bde28 16316static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16317 PyObject *resultobj;
16318 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16319 bool result;
16320 PyObject * obj0 = 0 ;
16321 char *kwnames[] = {
16322 (char *) "self", NULL
16323 };
16324
16325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
16326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16328 {
16329 PyThreadState* __tstate = wxPyBeginAllowThreads();
16330 result = (bool)(arg1)->base_TransferDataToWindow();
16331
16332 wxPyEndAllowThreads(__tstate);
16333 if (PyErr_Occurred()) SWIG_fail;
16334 }
16335 {
16336 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16337 }
16338 return resultobj;
16339 fail:
16340 return NULL;
16341}
16342
16343
c32bde28 16344static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16345 PyObject *resultobj;
16346 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16347 bool result;
16348 PyObject * obj0 = 0 ;
16349 char *kwnames[] = {
16350 (char *) "self", NULL
16351 };
16352
16353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
16354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16356 {
16357 PyThreadState* __tstate = wxPyBeginAllowThreads();
16358 result = (bool)(arg1)->base_TransferDataFromWindow();
16359
16360 wxPyEndAllowThreads(__tstate);
16361 if (PyErr_Occurred()) SWIG_fail;
16362 }
16363 {
16364 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16365 }
16366 return resultobj;
16367 fail:
16368 return NULL;
16369}
16370
16371
c32bde28 16372static PyObject *_wrap_PyWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16373 PyObject *resultobj;
16374 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16375 bool result;
16376 PyObject * obj0 = 0 ;
16377 char *kwnames[] = {
16378 (char *) "self", NULL
16379 };
16380
16381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
16382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16384 {
16385 PyThreadState* __tstate = wxPyBeginAllowThreads();
16386 result = (bool)(arg1)->base_Validate();
16387
16388 wxPyEndAllowThreads(__tstate);
16389 if (PyErr_Occurred()) SWIG_fail;
16390 }
16391 {
16392 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16393 }
16394 return resultobj;
16395 fail:
16396 return NULL;
16397}
16398
16399
c32bde28 16400static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16401 PyObject *resultobj;
16402 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16403 bool result;
16404 PyObject * obj0 = 0 ;
16405 char *kwnames[] = {
16406 (char *) "self", NULL
16407 };
16408
16409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
16410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16412 {
16413 PyThreadState* __tstate = wxPyBeginAllowThreads();
16414 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
16415
16416 wxPyEndAllowThreads(__tstate);
16417 if (PyErr_Occurred()) SWIG_fail;
16418 }
16419 {
16420 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16421 }
16422 return resultobj;
16423 fail:
16424 return NULL;
16425}
16426
16427
c32bde28 16428static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16429 PyObject *resultobj;
16430 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16431 bool result;
16432 PyObject * obj0 = 0 ;
16433 char *kwnames[] = {
16434 (char *) "self", NULL
16435 };
16436
16437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
16438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16440 {
16441 PyThreadState* __tstate = wxPyBeginAllowThreads();
16442 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
16443
16444 wxPyEndAllowThreads(__tstate);
16445 if (PyErr_Occurred()) SWIG_fail;
16446 }
16447 {
16448 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16449 }
16450 return resultobj;
16451 fail:
16452 return NULL;
16453}
16454
16455
c32bde28 16456static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16457 PyObject *resultobj;
16458 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16459 wxSize result;
16460 PyObject * obj0 = 0 ;
16461 char *kwnames[] = {
16462 (char *) "self", NULL
16463 };
16464
16465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
16466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16468 {
16469 PyThreadState* __tstate = wxPyBeginAllowThreads();
16470 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
16471
16472 wxPyEndAllowThreads(__tstate);
16473 if (PyErr_Occurred()) SWIG_fail;
16474 }
16475 {
16476 wxSize * resultptr;
16477 resultptr = new wxSize((wxSize &) result);
16478 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16479 }
16480 return resultobj;
16481 fail:
16482 return NULL;
16483}
16484
16485
c32bde28 16486static PyObject *_wrap_PyWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16487 PyObject *resultobj;
16488 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16489 wxWindow *arg2 = (wxWindow *) 0 ;
16490 PyObject * obj0 = 0 ;
16491 PyObject * obj1 = 0 ;
16492 char *kwnames[] = {
16493 (char *) "self",(char *) "child", NULL
16494 };
16495
16496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
16497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16499 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16501 {
16502 PyThreadState* __tstate = wxPyBeginAllowThreads();
16503 (arg1)->base_AddChild(arg2);
16504
16505 wxPyEndAllowThreads(__tstate);
16506 if (PyErr_Occurred()) SWIG_fail;
16507 }
16508 Py_INCREF(Py_None); resultobj = Py_None;
16509 return resultobj;
16510 fail:
16511 return NULL;
16512}
16513
16514
c32bde28 16515static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16516 PyObject *resultobj;
16517 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16518 wxWindow *arg2 = (wxWindow *) 0 ;
16519 PyObject * obj0 = 0 ;
16520 PyObject * obj1 = 0 ;
16521 char *kwnames[] = {
16522 (char *) "self",(char *) "child", NULL
16523 };
16524
16525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
16526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16528 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16530 {
16531 PyThreadState* __tstate = wxPyBeginAllowThreads();
16532 (arg1)->base_RemoveChild(arg2);
16533
16534 wxPyEndAllowThreads(__tstate);
16535 if (PyErr_Occurred()) SWIG_fail;
16536 }
16537 Py_INCREF(Py_None); resultobj = Py_None;
16538 return resultobj;
16539 fail:
16540 return NULL;
16541}
16542
16543
c32bde28 16544static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16545 PyObject *resultobj;
16546 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16547 bool result;
16548 PyObject * obj0 = 0 ;
16549 char *kwnames[] = {
16550 (char *) "self", NULL
16551 };
16552
16553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
16554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16556 {
16557 PyThreadState* __tstate = wxPyBeginAllowThreads();
caef1a4d 16558 result = (bool)((wxPyWindow const *)arg1)->base_ShouldInheritColours();
d55e5bfc
RD
16559
16560 wxPyEndAllowThreads(__tstate);
16561 if (PyErr_Occurred()) SWIG_fail;
16562 }
16563 {
16564 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16565 }
16566 return resultobj;
16567 fail:
16568 return NULL;
16569}
16570
16571
c32bde28 16572static PyObject *_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16573 PyObject *resultobj;
16574 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16575 wxColour *arg2 = 0 ;
16576 wxColour temp2 ;
16577 PyObject * obj0 = 0 ;
16578 PyObject * obj1 = 0 ;
16579 char *kwnames[] = {
16580 (char *) "self",(char *) "c", NULL
16581 };
16582
16583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
16584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16586 {
16587 arg2 = &temp2;
16588 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16589 }
16590 {
16591 PyThreadState* __tstate = wxPyBeginAllowThreads();
16592 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
16593
16594 wxPyEndAllowThreads(__tstate);
16595 if (PyErr_Occurred()) SWIG_fail;
16596 }
16597 Py_INCREF(Py_None); resultobj = Py_None;
16598 return resultobj;
16599 fail:
16600 return NULL;
16601}
16602
16603
c32bde28 16604static PyObject *_wrap_PyWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
caef1a4d
RD
16605 PyObject *resultobj;
16606 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16607 wxVisualAttributes result;
16608 PyObject * obj0 = 0 ;
16609 char *kwnames[] = {
16610 (char *) "self", NULL
16611 };
16612
16613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
16614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16616 {
16617 PyThreadState* __tstate = wxPyBeginAllowThreads();
16618 result = (arg1)->base_GetDefaultAttributes();
16619
16620 wxPyEndAllowThreads(__tstate);
16621 if (PyErr_Occurred()) SWIG_fail;
16622 }
16623 {
16624 wxVisualAttributes * resultptr;
16625 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
16626 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16627 }
16628 return resultobj;
16629 fail:
16630 return NULL;
16631}
16632
16633
c32bde28 16634static PyObject * PyWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
16635 PyObject *obj;
16636 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16637 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
16638 Py_INCREF(obj);
16639 return Py_BuildValue((char *)"");
16640}
c32bde28 16641static PyObject *_wrap_new_PyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16642 PyObject *resultobj;
16643 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 16644 int arg2 = (int) (int)-1 ;
d55e5bfc
RD
16645 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16646 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16647 wxSize const &arg4_defvalue = wxDefaultSize ;
16648 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16649 long arg5 = (long) 0 ;
16650 wxString const &arg6_defvalue = wxPyPanelNameStr ;
16651 wxString *arg6 = (wxString *) &arg6_defvalue ;
16652 wxPyPanel *result;
16653 wxPoint temp3 ;
16654 wxSize temp4 ;
ae8162c8 16655 bool temp6 = false ;
d55e5bfc
RD
16656 PyObject * obj0 = 0 ;
16657 PyObject * obj1 = 0 ;
16658 PyObject * obj2 = 0 ;
16659 PyObject * obj3 = 0 ;
16660 PyObject * obj4 = 0 ;
16661 PyObject * obj5 = 0 ;
16662 char *kwnames[] = {
16663 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16664 };
16665
248ed943 16666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d55e5bfc
RD
16667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
16668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 16669 if (obj1) {
c32bde28 16670 arg2 = (int)SWIG_As_int(obj1);
248ed943
RD
16671 if (PyErr_Occurred()) SWIG_fail;
16672 }
d55e5bfc
RD
16673 if (obj2) {
16674 {
16675 arg3 = &temp3;
16676 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16677 }
16678 }
16679 if (obj3) {
16680 {
16681 arg4 = &temp4;
16682 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16683 }
16684 }
16685 if (obj4) {
c32bde28 16686 arg5 = (long)SWIG_As_long(obj4);
d55e5bfc
RD
16687 if (PyErr_Occurred()) SWIG_fail;
16688 }
16689 if (obj5) {
16690 {
16691 arg6 = wxString_in_helper(obj5);
16692 if (arg6 == NULL) SWIG_fail;
ae8162c8 16693 temp6 = true;
d55e5bfc
RD
16694 }
16695 }
16696 {
0439c23b 16697 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
16698 PyThreadState* __tstate = wxPyBeginAllowThreads();
16699 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
16700
16701 wxPyEndAllowThreads(__tstate);
110da5b0 16702 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
16703 }
16704 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
16705 {
16706 if (temp6)
16707 delete arg6;
16708 }
16709 return resultobj;
16710 fail:
16711 {
16712 if (temp6)
16713 delete arg6;
16714 }
16715 return NULL;
16716}
16717
16718
c32bde28 16719static PyObject *_wrap_new_PrePyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16720 PyObject *resultobj;
16721 wxPyPanel *result;
16722 char *kwnames[] = {
16723 NULL
16724 };
16725
16726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail;
16727 {
0439c23b 16728 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
16729 PyThreadState* __tstate = wxPyBeginAllowThreads();
16730 result = (wxPyPanel *)new wxPyPanel();
16731
16732 wxPyEndAllowThreads(__tstate);
110da5b0 16733 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
16734 }
16735 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
16736 return resultobj;
16737 fail:
16738 return NULL;
16739}
16740
16741
c32bde28 16742static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16743 PyObject *resultobj;
16744 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16745 PyObject *arg2 = (PyObject *) 0 ;
16746 PyObject *arg3 = (PyObject *) 0 ;
16747 PyObject * obj0 = 0 ;
16748 PyObject * obj1 = 0 ;
16749 PyObject * obj2 = 0 ;
16750 char *kwnames[] = {
16751 (char *) "self",(char *) "self",(char *) "_class", NULL
16752 };
16753
16754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
16755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16757 arg2 = obj1;
16758 arg3 = obj2;
16759 {
16760 PyThreadState* __tstate = wxPyBeginAllowThreads();
16761 (arg1)->_setCallbackInfo(arg2,arg3);
16762
16763 wxPyEndAllowThreads(__tstate);
16764 if (PyErr_Occurred()) SWIG_fail;
16765 }
16766 Py_INCREF(Py_None); resultobj = Py_None;
16767 return resultobj;
16768 fail:
16769 return NULL;
16770}
16771
16772
c32bde28 16773static PyObject *_wrap_PyPanel_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
caef1a4d
RD
16774 PyObject *resultobj;
16775 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16776 wxSize *arg2 = 0 ;
16777 wxSize temp2 ;
16778 PyObject * obj0 = 0 ;
16779 PyObject * obj1 = 0 ;
16780 char *kwnames[] = {
16781 (char *) "self",(char *) "size", NULL
16782 };
16783
16784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
16785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16787 {
16788 arg2 = &temp2;
16789 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16790 }
16791 {
16792 PyThreadState* __tstate = wxPyBeginAllowThreads();
16793 (arg1)->SetBestSize((wxSize const &)*arg2);
16794
16795 wxPyEndAllowThreads(__tstate);
16796 if (PyErr_Occurred()) SWIG_fail;
16797 }
16798 Py_INCREF(Py_None); resultobj = Py_None;
16799 return resultobj;
16800 fail:
16801 return NULL;
16802}
16803
16804
c32bde28 16805static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16806 PyObject *resultobj;
16807 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16808 int arg2 ;
16809 int arg3 ;
16810 int arg4 ;
16811 int arg5 ;
16812 PyObject * obj0 = 0 ;
16813 PyObject * obj1 = 0 ;
16814 PyObject * obj2 = 0 ;
16815 PyObject * obj3 = 0 ;
16816 PyObject * obj4 = 0 ;
16817 char *kwnames[] = {
16818 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16819 };
16820
16821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16824 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 16825 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16826 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc 16827 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16828 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc 16829 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16830 arg5 = (int)SWIG_As_int(obj4);
d55e5bfc
RD
16831 if (PyErr_Occurred()) SWIG_fail;
16832 {
16833 PyThreadState* __tstate = wxPyBeginAllowThreads();
16834 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
16835
16836 wxPyEndAllowThreads(__tstate);
16837 if (PyErr_Occurred()) SWIG_fail;
16838 }
16839 Py_INCREF(Py_None); resultobj = Py_None;
16840 return resultobj;
16841 fail:
16842 return NULL;
16843}
16844
16845
c32bde28 16846static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16847 PyObject *resultobj;
16848 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16849 int arg2 ;
16850 int arg3 ;
16851 int arg4 ;
16852 int arg5 ;
16853 int arg6 = (int) wxSIZE_AUTO ;
16854 PyObject * obj0 = 0 ;
16855 PyObject * obj1 = 0 ;
16856 PyObject * obj2 = 0 ;
16857 PyObject * obj3 = 0 ;
16858 PyObject * obj4 = 0 ;
16859 PyObject * obj5 = 0 ;
16860 char *kwnames[] = {
16861 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16862 };
16863
16864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16867 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 16868 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16869 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc 16870 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16871 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc 16872 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16873 arg5 = (int)SWIG_As_int(obj4);
d55e5bfc
RD
16874 if (PyErr_Occurred()) SWIG_fail;
16875 if (obj5) {
c32bde28 16876 arg6 = (int)SWIG_As_int(obj5);
d55e5bfc
RD
16877 if (PyErr_Occurred()) SWIG_fail;
16878 }
16879 {
16880 PyThreadState* __tstate = wxPyBeginAllowThreads();
16881 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
16882
16883 wxPyEndAllowThreads(__tstate);
16884 if (PyErr_Occurred()) SWIG_fail;
16885 }
16886 Py_INCREF(Py_None); resultobj = Py_None;
16887 return resultobj;
16888 fail:
16889 return NULL;
16890}
16891
16892
c32bde28 16893static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16894 PyObject *resultobj;
16895 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16896 int arg2 ;
16897 int arg3 ;
16898 PyObject * obj0 = 0 ;
16899 PyObject * obj1 = 0 ;
16900 PyObject * obj2 = 0 ;
16901 char *kwnames[] = {
16902 (char *) "self",(char *) "width",(char *) "height", NULL
16903 };
16904
16905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16908 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 16909 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16910 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
16911 if (PyErr_Occurred()) SWIG_fail;
16912 {
16913 PyThreadState* __tstate = wxPyBeginAllowThreads();
16914 (arg1)->base_DoSetClientSize(arg2,arg3);
16915
16916 wxPyEndAllowThreads(__tstate);
16917 if (PyErr_Occurred()) SWIG_fail;
16918 }
16919 Py_INCREF(Py_None); resultobj = Py_None;
16920 return resultobj;
16921 fail:
16922 return NULL;
16923}
16924
16925
c32bde28 16926static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16927 PyObject *resultobj;
16928 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16929 int arg2 ;
16930 int arg3 ;
16931 PyObject * obj0 = 0 ;
16932 PyObject * obj1 = 0 ;
16933 PyObject * obj2 = 0 ;
16934 char *kwnames[] = {
16935 (char *) "self",(char *) "x",(char *) "y", NULL
16936 };
16937
16938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16941 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 16942 if (PyErr_Occurred()) SWIG_fail;
c32bde28 16943 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
16944 if (PyErr_Occurred()) SWIG_fail;
16945 {
16946 PyThreadState* __tstate = wxPyBeginAllowThreads();
16947 (arg1)->base_DoSetVirtualSize(arg2,arg3);
16948
16949 wxPyEndAllowThreads(__tstate);
16950 if (PyErr_Occurred()) SWIG_fail;
16951 }
16952 Py_INCREF(Py_None); resultobj = Py_None;
16953 return resultobj;
16954 fail:
16955 return NULL;
16956}
16957
16958
c32bde28 16959static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16960 PyObject *resultobj;
16961 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16962 int *arg2 = (int *) 0 ;
16963 int *arg3 = (int *) 0 ;
16964 int temp2 ;
c32bde28 16965 int res2 = 0 ;
d55e5bfc 16966 int temp3 ;
c32bde28 16967 int res3 = 0 ;
d55e5bfc
RD
16968 PyObject * obj0 = 0 ;
16969 char *kwnames[] = {
16970 (char *) "self", NULL
16971 };
16972
c32bde28
RD
16973 arg2 = &temp2; res2 = SWIG_NEWOBJ;
16974 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc
RD
16975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
16976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16978 {
16979 PyThreadState* __tstate = wxPyBeginAllowThreads();
16980 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
16981
16982 wxPyEndAllowThreads(__tstate);
16983 if (PyErr_Occurred()) SWIG_fail;
16984 }
16985 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
16986 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
16987 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
16988 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16989 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
16990 return resultobj;
16991 fail:
16992 return NULL;
16993}
16994
16995
c32bde28 16996static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16997 PyObject *resultobj;
16998 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16999 int *arg2 = (int *) 0 ;
17000 int *arg3 = (int *) 0 ;
17001 int temp2 ;
c32bde28 17002 int res2 = 0 ;
d55e5bfc 17003 int temp3 ;
c32bde28 17004 int res3 = 0 ;
d55e5bfc
RD
17005 PyObject * obj0 = 0 ;
17006 char *kwnames[] = {
17007 (char *) "self", NULL
17008 };
17009
c32bde28
RD
17010 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17011 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc
RD
17012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
17013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17015 {
17016 PyThreadState* __tstate = wxPyBeginAllowThreads();
17017 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
17018
17019 wxPyEndAllowThreads(__tstate);
17020 if (PyErr_Occurred()) SWIG_fail;
17021 }
17022 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
17023 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17024 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17025 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17026 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
17027 return resultobj;
17028 fail:
17029 return NULL;
17030}
17031
17032
c32bde28 17033static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17034 PyObject *resultobj;
17035 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17036 int *arg2 = (int *) 0 ;
17037 int *arg3 = (int *) 0 ;
17038 int temp2 ;
c32bde28 17039 int res2 = 0 ;
d55e5bfc 17040 int temp3 ;
c32bde28 17041 int res3 = 0 ;
d55e5bfc
RD
17042 PyObject * obj0 = 0 ;
17043 char *kwnames[] = {
17044 (char *) "self", NULL
17045 };
17046
c32bde28
RD
17047 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17048 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc
RD
17049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
17050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17052 {
17053 PyThreadState* __tstate = wxPyBeginAllowThreads();
17054 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
17055
17056 wxPyEndAllowThreads(__tstate);
17057 if (PyErr_Occurred()) SWIG_fail;
17058 }
17059 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
17060 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17061 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17062 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17063 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
17064 return resultobj;
17065 fail:
17066 return NULL;
17067}
17068
17069
c32bde28 17070static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17071 PyObject *resultobj;
17072 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17073 wxSize result;
17074 PyObject * obj0 = 0 ;
17075 char *kwnames[] = {
17076 (char *) "self", NULL
17077 };
17078
17079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
17080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17082 {
17083 PyThreadState* __tstate = wxPyBeginAllowThreads();
17084 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
17085
17086 wxPyEndAllowThreads(__tstate);
17087 if (PyErr_Occurred()) SWIG_fail;
17088 }
17089 {
17090 wxSize * resultptr;
17091 resultptr = new wxSize((wxSize &) result);
17092 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17093 }
17094 return resultobj;
17095 fail:
17096 return NULL;
17097}
17098
17099
c32bde28 17100static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17101 PyObject *resultobj;
17102 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17103 wxSize result;
17104 PyObject * obj0 = 0 ;
17105 char *kwnames[] = {
17106 (char *) "self", NULL
17107 };
17108
17109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
17110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17112 {
17113 PyThreadState* __tstate = wxPyBeginAllowThreads();
17114 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
17115
17116 wxPyEndAllowThreads(__tstate);
17117 if (PyErr_Occurred()) SWIG_fail;
17118 }
17119 {
17120 wxSize * resultptr;
17121 resultptr = new wxSize((wxSize &) result);
17122 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17123 }
17124 return resultobj;
17125 fail:
17126 return NULL;
17127}
17128
17129
c32bde28 17130static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17131 PyObject *resultobj;
17132 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17133 PyObject * obj0 = 0 ;
17134 char *kwnames[] = {
17135 (char *) "self", NULL
17136 };
17137
17138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
17139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17141 {
17142 PyThreadState* __tstate = wxPyBeginAllowThreads();
17143 (arg1)->base_InitDialog();
17144
17145 wxPyEndAllowThreads(__tstate);
17146 if (PyErr_Occurred()) SWIG_fail;
17147 }
17148 Py_INCREF(Py_None); resultobj = Py_None;
17149 return resultobj;
17150 fail:
17151 return NULL;
17152}
17153
17154
c32bde28 17155static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17156 PyObject *resultobj;
17157 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17158 bool result;
17159 PyObject * obj0 = 0 ;
17160 char *kwnames[] = {
17161 (char *) "self", NULL
17162 };
17163
17164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
17165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17167 {
17168 PyThreadState* __tstate = wxPyBeginAllowThreads();
17169 result = (bool)(arg1)->base_TransferDataToWindow();
17170
17171 wxPyEndAllowThreads(__tstate);
17172 if (PyErr_Occurred()) SWIG_fail;
17173 }
17174 {
17175 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17176 }
17177 return resultobj;
17178 fail:
17179 return NULL;
17180}
17181
17182
c32bde28 17183static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17184 PyObject *resultobj;
17185 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17186 bool result;
17187 PyObject * obj0 = 0 ;
17188 char *kwnames[] = {
17189 (char *) "self", NULL
17190 };
17191
17192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
17193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17195 {
17196 PyThreadState* __tstate = wxPyBeginAllowThreads();
17197 result = (bool)(arg1)->base_TransferDataFromWindow();
17198
17199 wxPyEndAllowThreads(__tstate);
17200 if (PyErr_Occurred()) SWIG_fail;
17201 }
17202 {
17203 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17204 }
17205 return resultobj;
17206 fail:
17207 return NULL;
17208}
17209
17210
c32bde28 17211static PyObject *_wrap_PyPanel_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17212 PyObject *resultobj;
17213 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17214 bool result;
17215 PyObject * obj0 = 0 ;
17216 char *kwnames[] = {
17217 (char *) "self", NULL
17218 };
17219
17220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
17221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17223 {
17224 PyThreadState* __tstate = wxPyBeginAllowThreads();
17225 result = (bool)(arg1)->base_Validate();
17226
17227 wxPyEndAllowThreads(__tstate);
17228 if (PyErr_Occurred()) SWIG_fail;
17229 }
17230 {
17231 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17232 }
17233 return resultobj;
17234 fail:
17235 return NULL;
17236}
17237
17238
c32bde28 17239static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17240 PyObject *resultobj;
17241 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17242 bool result;
17243 PyObject * obj0 = 0 ;
17244 char *kwnames[] = {
17245 (char *) "self", NULL
17246 };
17247
17248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
17249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17251 {
17252 PyThreadState* __tstate = wxPyBeginAllowThreads();
17253 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
17254
17255 wxPyEndAllowThreads(__tstate);
17256 if (PyErr_Occurred()) SWIG_fail;
17257 }
17258 {
17259 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17260 }
17261 return resultobj;
17262 fail:
17263 return NULL;
17264}
17265
17266
c32bde28 17267static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17268 PyObject *resultobj;
17269 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17270 bool result;
17271 PyObject * obj0 = 0 ;
17272 char *kwnames[] = {
17273 (char *) "self", NULL
17274 };
17275
17276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
17277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17279 {
17280 PyThreadState* __tstate = wxPyBeginAllowThreads();
17281 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
17282
17283 wxPyEndAllowThreads(__tstate);
17284 if (PyErr_Occurred()) SWIG_fail;
17285 }
17286 {
17287 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17288 }
17289 return resultobj;
17290 fail:
17291 return NULL;
17292}
17293
17294
c32bde28 17295static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17296 PyObject *resultobj;
17297 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17298 wxSize result;
17299 PyObject * obj0 = 0 ;
17300 char *kwnames[] = {
17301 (char *) "self", NULL
17302 };
17303
17304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
17305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17307 {
17308 PyThreadState* __tstate = wxPyBeginAllowThreads();
17309 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
17310
17311 wxPyEndAllowThreads(__tstate);
17312 if (PyErr_Occurred()) SWIG_fail;
17313 }
17314 {
17315 wxSize * resultptr;
17316 resultptr = new wxSize((wxSize &) result);
17317 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17318 }
17319 return resultobj;
17320 fail:
17321 return NULL;
17322}
17323
17324
c32bde28 17325static PyObject *_wrap_PyPanel_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17326 PyObject *resultobj;
17327 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17328 wxWindow *arg2 = (wxWindow *) 0 ;
17329 PyObject * obj0 = 0 ;
17330 PyObject * obj1 = 0 ;
17331 char *kwnames[] = {
17332 (char *) "self",(char *) "child", NULL
17333 };
17334
17335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
17336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17338 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17340 {
17341 PyThreadState* __tstate = wxPyBeginAllowThreads();
17342 (arg1)->base_AddChild(arg2);
17343
17344 wxPyEndAllowThreads(__tstate);
17345 if (PyErr_Occurred()) SWIG_fail;
17346 }
17347 Py_INCREF(Py_None); resultobj = Py_None;
17348 return resultobj;
17349 fail:
17350 return NULL;
17351}
17352
17353
c32bde28 17354static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17355 PyObject *resultobj;
17356 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17357 wxWindow *arg2 = (wxWindow *) 0 ;
17358 PyObject * obj0 = 0 ;
17359 PyObject * obj1 = 0 ;
17360 char *kwnames[] = {
17361 (char *) "self",(char *) "child", NULL
17362 };
17363
17364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
17365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17367 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17369 {
17370 PyThreadState* __tstate = wxPyBeginAllowThreads();
17371 (arg1)->base_RemoveChild(arg2);
17372
17373 wxPyEndAllowThreads(__tstate);
17374 if (PyErr_Occurred()) SWIG_fail;
17375 }
17376 Py_INCREF(Py_None); resultobj = Py_None;
17377 return resultobj;
17378 fail:
17379 return NULL;
17380}
17381
17382
c32bde28 17383static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17384 PyObject *resultobj;
17385 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17386 bool result;
17387 PyObject * obj0 = 0 ;
17388 char *kwnames[] = {
17389 (char *) "self", NULL
17390 };
17391
17392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
17393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17395 {
17396 PyThreadState* __tstate = wxPyBeginAllowThreads();
caef1a4d 17397 result = (bool)((wxPyPanel const *)arg1)->base_ShouldInheritColours();
d55e5bfc
RD
17398
17399 wxPyEndAllowThreads(__tstate);
17400 if (PyErr_Occurred()) SWIG_fail;
17401 }
17402 {
17403 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17404 }
17405 return resultobj;
17406 fail:
17407 return NULL;
17408}
17409
17410
c32bde28 17411static PyObject *_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17412 PyObject *resultobj;
17413 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17414 wxColour *arg2 = 0 ;
17415 wxColour temp2 ;
17416 PyObject * obj0 = 0 ;
17417 PyObject * obj1 = 0 ;
17418 char *kwnames[] = {
17419 (char *) "self",(char *) "c", NULL
17420 };
17421
17422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
17423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17425 {
17426 arg2 = &temp2;
17427 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17428 }
17429 {
17430 PyThreadState* __tstate = wxPyBeginAllowThreads();
17431 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
17432
17433 wxPyEndAllowThreads(__tstate);
17434 if (PyErr_Occurred()) SWIG_fail;
17435 }
17436 Py_INCREF(Py_None); resultobj = Py_None;
17437 return resultobj;
17438 fail:
17439 return NULL;
17440}
17441
17442
c32bde28 17443static PyObject *_wrap_PyPanel_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
caef1a4d
RD
17444 PyObject *resultobj;
17445 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17446 wxVisualAttributes result;
17447 PyObject * obj0 = 0 ;
17448 char *kwnames[] = {
17449 (char *) "self", NULL
17450 };
17451
17452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
17453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17455 {
17456 PyThreadState* __tstate = wxPyBeginAllowThreads();
17457 result = (arg1)->base_GetDefaultAttributes();
17458
17459 wxPyEndAllowThreads(__tstate);
17460 if (PyErr_Occurred()) SWIG_fail;
17461 }
17462 {
17463 wxVisualAttributes * resultptr;
17464 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
17465 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
17466 }
17467 return resultobj;
17468 fail:
17469 return NULL;
17470}
17471
17472
c32bde28 17473static PyObject * PyPanel_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17474 PyObject *obj;
17475 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17476 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
17477 Py_INCREF(obj);
17478 return Py_BuildValue((char *)"");
17479}
c32bde28 17480static PyObject *_wrap_new_PyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17481 PyObject *resultobj;
17482 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 17483 int arg2 = (int) (int)-1 ;
d55e5bfc
RD
17484 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17485 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17486 wxSize const &arg4_defvalue = wxDefaultSize ;
17487 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17488 long arg5 = (long) 0 ;
17489 wxString const &arg6_defvalue = wxPyPanelNameStr ;
17490 wxString *arg6 = (wxString *) &arg6_defvalue ;
17491 wxPyScrolledWindow *result;
17492 wxPoint temp3 ;
17493 wxSize temp4 ;
ae8162c8 17494 bool temp6 = false ;
d55e5bfc
RD
17495 PyObject * obj0 = 0 ;
17496 PyObject * obj1 = 0 ;
17497 PyObject * obj2 = 0 ;
17498 PyObject * obj3 = 0 ;
17499 PyObject * obj4 = 0 ;
17500 PyObject * obj5 = 0 ;
17501 char *kwnames[] = {
17502 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17503 };
17504
248ed943 17505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d55e5bfc
RD
17506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
17507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 17508 if (obj1) {
c32bde28 17509 arg2 = (int)SWIG_As_int(obj1);
248ed943
RD
17510 if (PyErr_Occurred()) SWIG_fail;
17511 }
d55e5bfc
RD
17512 if (obj2) {
17513 {
17514 arg3 = &temp3;
17515 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17516 }
17517 }
17518 if (obj3) {
17519 {
17520 arg4 = &temp4;
17521 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17522 }
17523 }
17524 if (obj4) {
c32bde28 17525 arg5 = (long)SWIG_As_long(obj4);
d55e5bfc
RD
17526 if (PyErr_Occurred()) SWIG_fail;
17527 }
17528 if (obj5) {
17529 {
17530 arg6 = wxString_in_helper(obj5);
17531 if (arg6 == NULL) SWIG_fail;
ae8162c8 17532 temp6 = true;
d55e5bfc
RD
17533 }
17534 }
17535 {
0439c23b 17536 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17537 PyThreadState* __tstate = wxPyBeginAllowThreads();
17538 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17539
17540 wxPyEndAllowThreads(__tstate);
110da5b0 17541 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
17542 }
17543 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
17544 {
17545 if (temp6)
17546 delete arg6;
17547 }
17548 return resultobj;
17549 fail:
17550 {
17551 if (temp6)
17552 delete arg6;
17553 }
17554 return NULL;
17555}
17556
17557
c32bde28 17558static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17559 PyObject *resultobj;
17560 wxPyScrolledWindow *result;
17561 char *kwnames[] = {
17562 NULL
17563 };
17564
17565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail;
17566 {
0439c23b 17567 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17568 PyThreadState* __tstate = wxPyBeginAllowThreads();
17569 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
17570
17571 wxPyEndAllowThreads(__tstate);
110da5b0 17572 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
17573 }
17574 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
17575 return resultobj;
17576 fail:
17577 return NULL;
17578}
17579
17580
c32bde28 17581static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17582 PyObject *resultobj;
17583 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17584 PyObject *arg2 = (PyObject *) 0 ;
17585 PyObject *arg3 = (PyObject *) 0 ;
17586 PyObject * obj0 = 0 ;
17587 PyObject * obj1 = 0 ;
17588 PyObject * obj2 = 0 ;
17589 char *kwnames[] = {
17590 (char *) "self",(char *) "self",(char *) "_class", NULL
17591 };
17592
17593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17596 arg2 = obj1;
17597 arg3 = obj2;
17598 {
17599 PyThreadState* __tstate = wxPyBeginAllowThreads();
17600 (arg1)->_setCallbackInfo(arg2,arg3);
17601
17602 wxPyEndAllowThreads(__tstate);
17603 if (PyErr_Occurred()) SWIG_fail;
17604 }
17605 Py_INCREF(Py_None); resultobj = Py_None;
17606 return resultobj;
17607 fail:
17608 return NULL;
17609}
17610
17611
c32bde28 17612static PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
caef1a4d
RD
17613 PyObject *resultobj;
17614 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17615 wxSize *arg2 = 0 ;
17616 wxSize temp2 ;
17617 PyObject * obj0 = 0 ;
17618 PyObject * obj1 = 0 ;
17619 char *kwnames[] = {
17620 (char *) "self",(char *) "size", NULL
17621 };
17622
17623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
17624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17626 {
17627 arg2 = &temp2;
17628 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17629 }
17630 {
17631 PyThreadState* __tstate = wxPyBeginAllowThreads();
17632 (arg1)->SetBestSize((wxSize const &)*arg2);
17633
17634 wxPyEndAllowThreads(__tstate);
17635 if (PyErr_Occurred()) SWIG_fail;
17636 }
17637 Py_INCREF(Py_None); resultobj = Py_None;
17638 return resultobj;
17639 fail:
17640 return NULL;
17641}
17642
17643
c32bde28 17644static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17645 PyObject *resultobj;
17646 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17647 int arg2 ;
17648 int arg3 ;
17649 int arg4 ;
17650 int arg5 ;
17651 PyObject * obj0 = 0 ;
17652 PyObject * obj1 = 0 ;
17653 PyObject * obj2 = 0 ;
17654 PyObject * obj3 = 0 ;
17655 PyObject * obj4 = 0 ;
17656 char *kwnames[] = {
17657 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17658 };
17659
17660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
17661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 17663 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 17664 if (PyErr_Occurred()) SWIG_fail;
c32bde28 17665 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc 17666 if (PyErr_Occurred()) SWIG_fail;
c32bde28 17667 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc 17668 if (PyErr_Occurred()) SWIG_fail;
c32bde28 17669 arg5 = (int)SWIG_As_int(obj4);
d55e5bfc
RD
17670 if (PyErr_Occurred()) SWIG_fail;
17671 {
17672 PyThreadState* __tstate = wxPyBeginAllowThreads();
17673 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
17674
17675 wxPyEndAllowThreads(__tstate);
17676 if (PyErr_Occurred()) SWIG_fail;
17677 }
17678 Py_INCREF(Py_None); resultobj = Py_None;
17679 return resultobj;
17680 fail:
17681 return NULL;
17682}
17683
17684
c32bde28 17685static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17686 PyObject *resultobj;
17687 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17688 int arg2 ;
17689 int arg3 ;
17690 int arg4 ;
17691 int arg5 ;
17692 int arg6 = (int) wxSIZE_AUTO ;
17693 PyObject * obj0 = 0 ;
17694 PyObject * obj1 = 0 ;
17695 PyObject * obj2 = 0 ;
17696 PyObject * obj3 = 0 ;
17697 PyObject * obj4 = 0 ;
17698 PyObject * obj5 = 0 ;
17699 char *kwnames[] = {
17700 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17701 };
17702
17703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 17706 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 17707 if (PyErr_Occurred()) SWIG_fail;
c32bde28 17708 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc 17709 if (PyErr_Occurred()) SWIG_fail;
c32bde28 17710 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc 17711 if (PyErr_Occurred()) SWIG_fail;
c32bde28 17712 arg5 = (int)SWIG_As_int(obj4);
d55e5bfc
RD
17713 if (PyErr_Occurred()) SWIG_fail;
17714 if (obj5) {
c32bde28 17715 arg6 = (int)SWIG_As_int(obj5);
d55e5bfc
RD
17716 if (PyErr_Occurred()) SWIG_fail;
17717 }
17718 {
17719 PyThreadState* __tstate = wxPyBeginAllowThreads();
17720 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
17721
17722 wxPyEndAllowThreads(__tstate);
17723 if (PyErr_Occurred()) SWIG_fail;
17724 }
17725 Py_INCREF(Py_None); resultobj = Py_None;
17726 return resultobj;
17727 fail:
17728 return NULL;
17729}
17730
17731
c32bde28 17732static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17733 PyObject *resultobj;
17734 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17735 int arg2 ;
17736 int arg3 ;
17737 PyObject * obj0 = 0 ;
17738 PyObject * obj1 = 0 ;
17739 PyObject * obj2 = 0 ;
17740 char *kwnames[] = {
17741 (char *) "self",(char *) "width",(char *) "height", NULL
17742 };
17743
17744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 17747 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 17748 if (PyErr_Occurred()) SWIG_fail;
c32bde28 17749 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
17750 if (PyErr_Occurred()) SWIG_fail;
17751 {
17752 PyThreadState* __tstate = wxPyBeginAllowThreads();
17753 (arg1)->base_DoSetClientSize(arg2,arg3);
17754
17755 wxPyEndAllowThreads(__tstate);
17756 if (PyErr_Occurred()) SWIG_fail;
17757 }
17758 Py_INCREF(Py_None); resultobj = Py_None;
17759 return resultobj;
17760 fail:
17761 return NULL;
17762}
17763
17764
c32bde28 17765static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17766 PyObject *resultobj;
17767 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17768 int arg2 ;
17769 int arg3 ;
17770 PyObject * obj0 = 0 ;
17771 PyObject * obj1 = 0 ;
17772 PyObject * obj2 = 0 ;
17773 char *kwnames[] = {
17774 (char *) "self",(char *) "x",(char *) "y", NULL
17775 };
17776
17777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 17780 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 17781 if (PyErr_Occurred()) SWIG_fail;
c32bde28 17782 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
17783 if (PyErr_Occurred()) SWIG_fail;
17784 {
17785 PyThreadState* __tstate = wxPyBeginAllowThreads();
17786 (arg1)->base_DoSetVirtualSize(arg2,arg3);
17787
17788 wxPyEndAllowThreads(__tstate);
17789 if (PyErr_Occurred()) SWIG_fail;
17790 }
17791 Py_INCREF(Py_None); resultobj = Py_None;
17792 return resultobj;
17793 fail:
17794 return NULL;
17795}
17796
17797
c32bde28 17798static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17799 PyObject *resultobj;
17800 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17801 int *arg2 = (int *) 0 ;
17802 int *arg3 = (int *) 0 ;
17803 int temp2 ;
c32bde28 17804 int res2 = 0 ;
d55e5bfc 17805 int temp3 ;
c32bde28 17806 int res3 = 0 ;
d55e5bfc
RD
17807 PyObject * obj0 = 0 ;
17808 char *kwnames[] = {
17809 (char *) "self", NULL
17810 };
17811
c32bde28
RD
17812 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17813 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc
RD
17814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
17815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17817 {
17818 PyThreadState* __tstate = wxPyBeginAllowThreads();
17819 ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3);
17820
17821 wxPyEndAllowThreads(__tstate);
17822 if (PyErr_Occurred()) SWIG_fail;
17823 }
17824 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
17825 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17826 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17827 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17828 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
17829 return resultobj;
17830 fail:
17831 return NULL;
17832}
17833
17834
c32bde28 17835static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17836 PyObject *resultobj;
17837 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17838 int *arg2 = (int *) 0 ;
17839 int *arg3 = (int *) 0 ;
17840 int temp2 ;
c32bde28 17841 int res2 = 0 ;
d55e5bfc 17842 int temp3 ;
c32bde28 17843 int res3 = 0 ;
d55e5bfc
RD
17844 PyObject * obj0 = 0 ;
17845 char *kwnames[] = {
17846 (char *) "self", NULL
17847 };
17848
c32bde28
RD
17849 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17850 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc
RD
17851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
17852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17854 {
17855 PyThreadState* __tstate = wxPyBeginAllowThreads();
17856 ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
17857
17858 wxPyEndAllowThreads(__tstate);
17859 if (PyErr_Occurred()) SWIG_fail;
17860 }
17861 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
17862 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17863 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17864 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17865 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
17866 return resultobj;
17867 fail:
17868 return NULL;
17869}
17870
17871
c32bde28 17872static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17873 PyObject *resultobj;
17874 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17875 int *arg2 = (int *) 0 ;
17876 int *arg3 = (int *) 0 ;
17877 int temp2 ;
c32bde28 17878 int res2 = 0 ;
d55e5bfc 17879 int temp3 ;
c32bde28 17880 int res3 = 0 ;
d55e5bfc
RD
17881 PyObject * obj0 = 0 ;
17882 char *kwnames[] = {
17883 (char *) "self", NULL
17884 };
17885
c32bde28
RD
17886 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17887 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc
RD
17888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
17889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17891 {
17892 PyThreadState* __tstate = wxPyBeginAllowThreads();
17893 ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
17894
17895 wxPyEndAllowThreads(__tstate);
17896 if (PyErr_Occurred()) SWIG_fail;
17897 }
17898 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
17899 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17900 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17901 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17902 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
17903 return resultobj;
17904 fail:
17905 return NULL;
17906}
17907
17908
c32bde28 17909static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17910 PyObject *resultobj;
17911 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17912 wxSize result;
17913 PyObject * obj0 = 0 ;
17914 char *kwnames[] = {
17915 (char *) "self", NULL
17916 };
17917
17918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
17919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17921 {
17922 PyThreadState* __tstate = wxPyBeginAllowThreads();
17923 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize();
17924
17925 wxPyEndAllowThreads(__tstate);
17926 if (PyErr_Occurred()) SWIG_fail;
17927 }
17928 {
17929 wxSize * resultptr;
17930 resultptr = new wxSize((wxSize &) result);
17931 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17932 }
17933 return resultobj;
17934 fail:
17935 return NULL;
17936}
17937
17938
c32bde28 17939static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17940 PyObject *resultobj;
17941 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17942 wxSize result;
17943 PyObject * obj0 = 0 ;
17944 char *kwnames[] = {
17945 (char *) "self", NULL
17946 };
17947
17948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
17949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17951 {
17952 PyThreadState* __tstate = wxPyBeginAllowThreads();
17953 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize();
17954
17955 wxPyEndAllowThreads(__tstate);
17956 if (PyErr_Occurred()) SWIG_fail;
17957 }
17958 {
17959 wxSize * resultptr;
17960 resultptr = new wxSize((wxSize &) result);
17961 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17962 }
17963 return resultobj;
17964 fail:
17965 return NULL;
17966}
17967
17968
c32bde28 17969static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17970 PyObject *resultobj;
17971 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17972 PyObject * obj0 = 0 ;
17973 char *kwnames[] = {
17974 (char *) "self", NULL
17975 };
17976
17977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail;
17978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17980 {
17981 PyThreadState* __tstate = wxPyBeginAllowThreads();
17982 (arg1)->base_InitDialog();
17983
17984 wxPyEndAllowThreads(__tstate);
17985 if (PyErr_Occurred()) SWIG_fail;
17986 }
17987 Py_INCREF(Py_None); resultobj = Py_None;
17988 return resultobj;
17989 fail:
17990 return NULL;
17991}
17992
17993
c32bde28 17994static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17995 PyObject *resultobj;
17996 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17997 bool result;
17998 PyObject * obj0 = 0 ;
17999 char *kwnames[] = {
18000 (char *) "self", NULL
18001 };
18002
18003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
18004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18006 {
18007 PyThreadState* __tstate = wxPyBeginAllowThreads();
18008 result = (bool)(arg1)->base_TransferDataToWindow();
18009
18010 wxPyEndAllowThreads(__tstate);
18011 if (PyErr_Occurred()) SWIG_fail;
18012 }
18013 {
18014 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18015 }
18016 return resultobj;
18017 fail:
18018 return NULL;
18019}
18020
18021
c32bde28 18022static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18023 PyObject *resultobj;
18024 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18025 bool result;
18026 PyObject * obj0 = 0 ;
18027 char *kwnames[] = {
18028 (char *) "self", NULL
18029 };
18030
18031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
18032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18034 {
18035 PyThreadState* __tstate = wxPyBeginAllowThreads();
18036 result = (bool)(arg1)->base_TransferDataFromWindow();
18037
18038 wxPyEndAllowThreads(__tstate);
18039 if (PyErr_Occurred()) SWIG_fail;
18040 }
18041 {
18042 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18043 }
18044 return resultobj;
18045 fail:
18046 return NULL;
18047}
18048
18049
c32bde28 18050static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18051 PyObject *resultobj;
18052 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18053 bool result;
18054 PyObject * obj0 = 0 ;
18055 char *kwnames[] = {
18056 (char *) "self", NULL
18057 };
18058
18059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail;
18060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18062 {
18063 PyThreadState* __tstate = wxPyBeginAllowThreads();
18064 result = (bool)(arg1)->base_Validate();
18065
18066 wxPyEndAllowThreads(__tstate);
18067 if (PyErr_Occurred()) SWIG_fail;
18068 }
18069 {
18070 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18071 }
18072 return resultobj;
18073 fail:
18074 return NULL;
18075}
18076
18077
c32bde28 18078static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18079 PyObject *resultobj;
18080 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18081 bool result;
18082 PyObject * obj0 = 0 ;
18083 char *kwnames[] = {
18084 (char *) "self", NULL
18085 };
18086
18087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
18088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18090 {
18091 PyThreadState* __tstate = wxPyBeginAllowThreads();
18092 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus();
18093
18094 wxPyEndAllowThreads(__tstate);
18095 if (PyErr_Occurred()) SWIG_fail;
18096 }
18097 {
18098 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18099 }
18100 return resultobj;
18101 fail:
18102 return NULL;
18103}
18104
18105
c32bde28 18106static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18107 PyObject *resultobj;
18108 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18109 bool result;
18110 PyObject * obj0 = 0 ;
18111 char *kwnames[] = {
18112 (char *) "self", NULL
18113 };
18114
18115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
18116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18118 {
18119 PyThreadState* __tstate = wxPyBeginAllowThreads();
18120 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
18121
18122 wxPyEndAllowThreads(__tstate);
18123 if (PyErr_Occurred()) SWIG_fail;
18124 }
18125 {
18126 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18127 }
18128 return resultobj;
18129 fail:
18130 return NULL;
18131}
18132
18133
c32bde28 18134static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18135 PyObject *resultobj;
18136 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18137 wxSize result;
18138 PyObject * obj0 = 0 ;
18139 char *kwnames[] = {
18140 (char *) "self", NULL
18141 };
18142
18143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
18144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18146 {
18147 PyThreadState* __tstate = wxPyBeginAllowThreads();
18148 result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize();
18149
18150 wxPyEndAllowThreads(__tstate);
18151 if (PyErr_Occurred()) SWIG_fail;
18152 }
18153 {
18154 wxSize * resultptr;
18155 resultptr = new wxSize((wxSize &) result);
18156 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18157 }
18158 return resultobj;
18159 fail:
18160 return NULL;
18161}
18162
18163
c32bde28 18164static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18165 PyObject *resultobj;
18166 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18167 wxWindow *arg2 = (wxWindow *) 0 ;
18168 PyObject * obj0 = 0 ;
18169 PyObject * obj1 = 0 ;
18170 char *kwnames[] = {
18171 (char *) "self",(char *) "child", NULL
18172 };
18173
18174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
18175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18177 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18179 {
18180 PyThreadState* __tstate = wxPyBeginAllowThreads();
18181 (arg1)->base_AddChild(arg2);
18182
18183 wxPyEndAllowThreads(__tstate);
18184 if (PyErr_Occurred()) SWIG_fail;
18185 }
18186 Py_INCREF(Py_None); resultobj = Py_None;
18187 return resultobj;
18188 fail:
18189 return NULL;
18190}
18191
18192
c32bde28 18193static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18194 PyObject *resultobj;
18195 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18196 wxWindow *arg2 = (wxWindow *) 0 ;
18197 PyObject * obj0 = 0 ;
18198 PyObject * obj1 = 0 ;
18199 char *kwnames[] = {
18200 (char *) "self",(char *) "child", NULL
18201 };
18202
18203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
18204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18206 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18208 {
18209 PyThreadState* __tstate = wxPyBeginAllowThreads();
18210 (arg1)->base_RemoveChild(arg2);
18211
18212 wxPyEndAllowThreads(__tstate);
18213 if (PyErr_Occurred()) SWIG_fail;
18214 }
18215 Py_INCREF(Py_None); resultobj = Py_None;
18216 return resultobj;
18217 fail:
18218 return NULL;
18219}
18220
18221
c32bde28 18222static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18223 PyObject *resultobj;
18224 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18225 bool result;
18226 PyObject * obj0 = 0 ;
18227 char *kwnames[] = {
18228 (char *) "self", NULL
18229 };
18230
18231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
18232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18234 {
18235 PyThreadState* __tstate = wxPyBeginAllowThreads();
caef1a4d 18236 result = (bool)((wxPyScrolledWindow const *)arg1)->base_ShouldInheritColours();
d55e5bfc
RD
18237
18238 wxPyEndAllowThreads(__tstate);
18239 if (PyErr_Occurred()) SWIG_fail;
18240 }
18241 {
18242 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18243 }
18244 return resultobj;
18245 fail:
18246 return NULL;
18247}
18248
18249
c32bde28 18250static PyObject *_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18251 PyObject *resultobj;
18252 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18253 wxColour *arg2 = 0 ;
18254 wxColour temp2 ;
18255 PyObject * obj0 = 0 ;
18256 PyObject * obj1 = 0 ;
18257 char *kwnames[] = {
18258 (char *) "self",(char *) "c", NULL
18259 };
18260
18261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
18262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18264 {
18265 arg2 = &temp2;
18266 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18267 }
18268 {
18269 PyThreadState* __tstate = wxPyBeginAllowThreads();
18270 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
18271
18272 wxPyEndAllowThreads(__tstate);
18273 if (PyErr_Occurred()) SWIG_fail;
18274 }
18275 Py_INCREF(Py_None); resultobj = Py_None;
18276 return resultobj;
18277 fail:
18278 return NULL;
18279}
18280
18281
c32bde28 18282static PyObject *_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
caef1a4d
RD
18283 PyObject *resultobj;
18284 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
18285 wxVisualAttributes result;
18286 PyObject * obj0 = 0 ;
18287 char *kwnames[] = {
18288 (char *) "self", NULL
18289 };
18290
18291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
18292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
18293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18294 {
18295 PyThreadState* __tstate = wxPyBeginAllowThreads();
18296 result = (arg1)->base_GetDefaultAttributes();
18297
18298 wxPyEndAllowThreads(__tstate);
18299 if (PyErr_Occurred()) SWIG_fail;
18300 }
18301 {
18302 wxVisualAttributes * resultptr;
18303 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
18304 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
18305 }
18306 return resultobj;
18307 fail:
18308 return NULL;
18309}
18310
18311
c32bde28 18312static PyObject * PyScrolledWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
18313 PyObject *obj;
18314 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18315 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj);
18316 Py_INCREF(obj);
18317 return Py_BuildValue((char *)"");
18318}
c32bde28 18319static int _wrap_PrintoutTitleStr_set(PyObject *) {
d55e5bfc
RD
18320 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
18321 return 1;
18322}
18323
18324
18325static PyObject *_wrap_PrintoutTitleStr_get() {
18326 PyObject *pyobj;
18327
18328 {
18329#if wxUSE_UNICODE
18330 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
18331#else
18332 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
18333#endif
18334 }
18335 return pyobj;
18336}
18337
18338
c32bde28 18339static int _wrap_PreviewCanvasNameStr_set(PyObject *) {
d55e5bfc
RD
18340 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
18341 return 1;
18342}
18343
18344
18345static PyObject *_wrap_PreviewCanvasNameStr_get() {
18346 PyObject *pyobj;
18347
18348 {
18349#if wxUSE_UNICODE
18350 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
18351#else
18352 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
18353#endif
18354 }
18355 return pyobj;
18356}
18357
18358
c32bde28 18359static PyObject *_wrap_new_PrintData__SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
18360 PyObject *resultobj;
18361 wxPrintData *result;
d55e5bfc 18362
09c21d3b 18363 if(!PyArg_ParseTuple(args,(char *)":new_PrintData")) goto fail;
d55e5bfc
RD
18364 {
18365 PyThreadState* __tstate = wxPyBeginAllowThreads();
18366 result = (wxPrintData *)new wxPrintData();
18367
18368 wxPyEndAllowThreads(__tstate);
18369 if (PyErr_Occurred()) SWIG_fail;
18370 }
18371 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
18372 return resultobj;
18373 fail:
18374 return NULL;
18375}
18376
18377
c32bde28 18378static PyObject *_wrap_new_PrintData__SWIG_1(PyObject *, PyObject *args) {
09c21d3b
RD
18379 PyObject *resultobj;
18380 wxPrintData *arg1 = 0 ;
18381 wxPrintData *result;
18382 PyObject * obj0 = 0 ;
18383
18384 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintData",&obj0)) goto fail;
18385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18386 SWIG_POINTER_EXCEPTION | 0)) == -1)
18387 SWIG_fail;
18388 if (arg1 == NULL) {
18389 PyErr_SetString(PyExc_TypeError,"null reference");
18390 SWIG_fail;
18391 }
18392 {
18393 PyThreadState* __tstate = wxPyBeginAllowThreads();
18394 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
18395
18396 wxPyEndAllowThreads(__tstate);
18397 if (PyErr_Occurred()) SWIG_fail;
18398 }
18399 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
18400 return resultobj;
18401 fail:
18402 return NULL;
18403}
18404
18405
18406static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
18407 int argc;
18408 PyObject *argv[2];
18409 int ii;
18410
18411 argc = PyObject_Length(args);
18412 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
18413 argv[ii] = PyTuple_GetItem(args,ii);
18414 }
18415 if (argc == 0) {
18416 return _wrap_new_PrintData__SWIG_0(self,args);
18417 }
18418 if (argc == 1) {
18419 int _v;
18420 {
18421 void *ptr;
18422 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
18423 _v = 0;
18424 PyErr_Clear();
18425 } else {
18426 _v = 1;
18427 }
18428 }
18429 if (_v) {
18430 return _wrap_new_PrintData__SWIG_1(self,args);
18431 }
18432 }
18433
18434 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintData'");
18435 return NULL;
18436}
18437
18438
c32bde28 18439static PyObject *_wrap_delete_PrintData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18440 PyObject *resultobj;
18441 wxPrintData *arg1 = (wxPrintData *) 0 ;
18442 PyObject * obj0 = 0 ;
18443 char *kwnames[] = {
18444 (char *) "self", NULL
18445 };
18446
18447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
18448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18450 {
18451 PyThreadState* __tstate = wxPyBeginAllowThreads();
18452 delete arg1;
18453
18454 wxPyEndAllowThreads(__tstate);
18455 if (PyErr_Occurred()) SWIG_fail;
18456 }
18457 Py_INCREF(Py_None); resultobj = Py_None;
18458 return resultobj;
18459 fail:
18460 return NULL;
18461}
18462
18463
c32bde28 18464static PyObject *_wrap_PrintData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18465 PyObject *resultobj;
18466 wxPrintData *arg1 = (wxPrintData *) 0 ;
18467 int result;
18468 PyObject * obj0 = 0 ;
18469 char *kwnames[] = {
18470 (char *) "self", NULL
18471 };
18472
18473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
18474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18476 {
18477 PyThreadState* __tstate = wxPyBeginAllowThreads();
18478 result = (int)(arg1)->GetNoCopies();
18479
18480 wxPyEndAllowThreads(__tstate);
18481 if (PyErr_Occurred()) SWIG_fail;
18482 }
c32bde28 18483 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
18484 return resultobj;
18485 fail:
18486 return NULL;
18487}
18488
18489
c32bde28 18490static PyObject *_wrap_PrintData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18491 PyObject *resultobj;
18492 wxPrintData *arg1 = (wxPrintData *) 0 ;
18493 bool result;
18494 PyObject * obj0 = 0 ;
18495 char *kwnames[] = {
18496 (char *) "self", NULL
18497 };
18498
18499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
18500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18502 {
18503 PyThreadState* __tstate = wxPyBeginAllowThreads();
18504 result = (bool)(arg1)->GetCollate();
18505
18506 wxPyEndAllowThreads(__tstate);
18507 if (PyErr_Occurred()) SWIG_fail;
18508 }
18509 {
18510 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18511 }
18512 return resultobj;
18513 fail:
18514 return NULL;
18515}
18516
18517
c32bde28 18518static PyObject *_wrap_PrintData_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18519 PyObject *resultobj;
18520 wxPrintData *arg1 = (wxPrintData *) 0 ;
18521 int result;
18522 PyObject * obj0 = 0 ;
18523 char *kwnames[] = {
18524 (char *) "self", NULL
18525 };
18526
18527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
18528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18530 {
18531 PyThreadState* __tstate = wxPyBeginAllowThreads();
18532 result = (int)(arg1)->GetOrientation();
18533
18534 wxPyEndAllowThreads(__tstate);
18535 if (PyErr_Occurred()) SWIG_fail;
18536 }
c32bde28 18537 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
18538 return resultobj;
18539 fail:
18540 return NULL;
18541}
18542
18543
c32bde28 18544static PyObject *_wrap_PrintData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18545 PyObject *resultobj;
18546 wxPrintData *arg1 = (wxPrintData *) 0 ;
18547 bool result;
18548 PyObject * obj0 = 0 ;
18549 char *kwnames[] = {
18550 (char *) "self", NULL
18551 };
18552
18553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
18554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18556 {
18557 PyThreadState* __tstate = wxPyBeginAllowThreads();
18558 result = (bool)(arg1)->Ok();
18559
18560 wxPyEndAllowThreads(__tstate);
18561 if (PyErr_Occurred()) SWIG_fail;
18562 }
18563 {
18564 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18565 }
18566 return resultobj;
18567 fail:
18568 return NULL;
18569}
18570
18571
c32bde28 18572static PyObject *_wrap_PrintData_GetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18573 PyObject *resultobj;
18574 wxPrintData *arg1 = (wxPrintData *) 0 ;
18575 wxString *result;
18576 PyObject * obj0 = 0 ;
18577 char *kwnames[] = {
18578 (char *) "self", NULL
18579 };
18580
18581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
18582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18584 {
18585 PyThreadState* __tstate = wxPyBeginAllowThreads();
18586 {
18587 wxString const &_result_ref = (arg1)->GetPrinterName();
18588 result = (wxString *) &_result_ref;
18589 }
18590
18591 wxPyEndAllowThreads(__tstate);
18592 if (PyErr_Occurred()) SWIG_fail;
18593 }
18594 {
18595#if wxUSE_UNICODE
18596 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18597#else
18598 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18599#endif
18600 }
18601 return resultobj;
18602 fail:
18603 return NULL;
18604}
18605
18606
c32bde28 18607static PyObject *_wrap_PrintData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18608 PyObject *resultobj;
18609 wxPrintData *arg1 = (wxPrintData *) 0 ;
18610 bool result;
18611 PyObject * obj0 = 0 ;
18612 char *kwnames[] = {
18613 (char *) "self", NULL
18614 };
18615
18616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
18617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18619 {
18620 PyThreadState* __tstate = wxPyBeginAllowThreads();
18621 result = (bool)(arg1)->GetColour();
18622
18623 wxPyEndAllowThreads(__tstate);
18624 if (PyErr_Occurred()) SWIG_fail;
18625 }
18626 {
18627 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18628 }
18629 return resultobj;
18630 fail:
18631 return NULL;
18632}
18633
18634
c32bde28 18635static PyObject *_wrap_PrintData_GetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18636 PyObject *resultobj;
18637 wxPrintData *arg1 = (wxPrintData *) 0 ;
18638 int result;
18639 PyObject * obj0 = 0 ;
18640 char *kwnames[] = {
18641 (char *) "self", NULL
18642 };
18643
18644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
18645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18647 {
18648 PyThreadState* __tstate = wxPyBeginAllowThreads();
18649 result = (int)(arg1)->GetDuplex();
18650
18651 wxPyEndAllowThreads(__tstate);
18652 if (PyErr_Occurred()) SWIG_fail;
18653 }
c32bde28 18654 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
18655 return resultobj;
18656 fail:
18657 return NULL;
18658}
18659
18660
c32bde28 18661static PyObject *_wrap_PrintData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18662 PyObject *resultobj;
18663 wxPrintData *arg1 = (wxPrintData *) 0 ;
18664 int result;
18665 PyObject * obj0 = 0 ;
18666 char *kwnames[] = {
18667 (char *) "self", NULL
18668 };
18669
18670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
18671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18673 {
18674 PyThreadState* __tstate = wxPyBeginAllowThreads();
18675 result = (int)(arg1)->GetPaperId();
18676
18677 wxPyEndAllowThreads(__tstate);
18678 if (PyErr_Occurred()) SWIG_fail;
18679 }
c32bde28 18680 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
18681 return resultobj;
18682 fail:
18683 return NULL;
18684}
18685
18686
c32bde28 18687static PyObject *_wrap_PrintData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18688 PyObject *resultobj;
18689 wxPrintData *arg1 = (wxPrintData *) 0 ;
18690 wxSize *result;
18691 PyObject * obj0 = 0 ;
18692 char *kwnames[] = {
18693 (char *) "self", NULL
18694 };
18695
18696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
18697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18699 {
18700 PyThreadState* __tstate = wxPyBeginAllowThreads();
18701 {
18702 wxSize const &_result_ref = (arg1)->GetPaperSize();
18703 result = (wxSize *) &_result_ref;
18704 }
18705
18706 wxPyEndAllowThreads(__tstate);
18707 if (PyErr_Occurred()) SWIG_fail;
18708 }
18709 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
18710 return resultobj;
18711 fail:
18712 return NULL;
18713}
18714
18715
c32bde28 18716static PyObject *_wrap_PrintData_GetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18717 PyObject *resultobj;
18718 wxPrintData *arg1 = (wxPrintData *) 0 ;
18719 int result;
18720 PyObject * obj0 = 0 ;
18721 char *kwnames[] = {
18722 (char *) "self", NULL
18723 };
18724
18725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
18726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18728 {
18729 PyThreadState* __tstate = wxPyBeginAllowThreads();
18730 result = (int)(arg1)->GetQuality();
18731
18732 wxPyEndAllowThreads(__tstate);
18733 if (PyErr_Occurred()) SWIG_fail;
18734 }
c32bde28 18735 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
18736 return resultobj;
18737 fail:
18738 return NULL;
18739}
18740
18741
ae8162c8
RD
18742static PyObject *_wrap_PrintData_GetBin(PyObject *, PyObject *args, PyObject *kwargs) {
18743 PyObject *resultobj;
18744 wxPrintData *arg1 = (wxPrintData *) 0 ;
18745 int result;
18746 PyObject * obj0 = 0 ;
18747 char *kwnames[] = {
18748 (char *) "self", NULL
18749 };
18750
18751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetBin",kwnames,&obj0)) goto fail;
18752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18754 {
18755 PyThreadState* __tstate = wxPyBeginAllowThreads();
18756 result = (int)(arg1)->GetBin();
18757
18758 wxPyEndAllowThreads(__tstate);
18759 if (PyErr_Occurred()) SWIG_fail;
18760 }
18761 resultobj = SWIG_From_int((int)result);
18762 return resultobj;
18763 fail:
18764 return NULL;
18765}
18766
18767
c32bde28 18768static PyObject *_wrap_PrintData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18769 PyObject *resultobj;
18770 wxPrintData *arg1 = (wxPrintData *) 0 ;
18771 int arg2 ;
18772 PyObject * obj0 = 0 ;
18773 PyObject * obj1 = 0 ;
18774 char *kwnames[] = {
18775 (char *) "self",(char *) "v", NULL
18776 };
18777
18778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
18779 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18781 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
18782 if (PyErr_Occurred()) SWIG_fail;
18783 {
18784 PyThreadState* __tstate = wxPyBeginAllowThreads();
18785 (arg1)->SetNoCopies(arg2);
18786
18787 wxPyEndAllowThreads(__tstate);
18788 if (PyErr_Occurred()) SWIG_fail;
18789 }
18790 Py_INCREF(Py_None); resultobj = Py_None;
18791 return resultobj;
18792 fail:
18793 return NULL;
18794}
18795
18796
c32bde28 18797static PyObject *_wrap_PrintData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18798 PyObject *resultobj;
18799 wxPrintData *arg1 = (wxPrintData *) 0 ;
18800 bool arg2 ;
18801 PyObject * obj0 = 0 ;
18802 PyObject * obj1 = 0 ;
18803 char *kwnames[] = {
18804 (char *) "self",(char *) "flag", NULL
18805 };
18806
18807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
18808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18810 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
18811 if (PyErr_Occurred()) SWIG_fail;
18812 {
18813 PyThreadState* __tstate = wxPyBeginAllowThreads();
18814 (arg1)->SetCollate(arg2);
18815
18816 wxPyEndAllowThreads(__tstate);
18817 if (PyErr_Occurred()) SWIG_fail;
18818 }
18819 Py_INCREF(Py_None); resultobj = Py_None;
18820 return resultobj;
18821 fail:
18822 return NULL;
18823}
18824
18825
c32bde28 18826static PyObject *_wrap_PrintData_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18827 PyObject *resultobj;
18828 wxPrintData *arg1 = (wxPrintData *) 0 ;
18829 int arg2 ;
18830 PyObject * obj0 = 0 ;
18831 PyObject * obj1 = 0 ;
18832 char *kwnames[] = {
18833 (char *) "self",(char *) "orient", NULL
18834 };
18835
18836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",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 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
18840 if (PyErr_Occurred()) SWIG_fail;
18841 {
18842 PyThreadState* __tstate = wxPyBeginAllowThreads();
18843 (arg1)->SetOrientation(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_SetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18856 PyObject *resultobj;
18857 wxPrintData *arg1 = (wxPrintData *) 0 ;
18858 wxString *arg2 = 0 ;
ae8162c8 18859 bool temp2 = false ;
d55e5bfc
RD
18860 PyObject * obj0 = 0 ;
18861 PyObject * obj1 = 0 ;
18862 char *kwnames[] = {
18863 (char *) "self",(char *) "name", NULL
18864 };
18865
18866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
18867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18869 {
18870 arg2 = wxString_in_helper(obj1);
18871 if (arg2 == NULL) SWIG_fail;
ae8162c8 18872 temp2 = true;
d55e5bfc
RD
18873 }
18874 {
18875 PyThreadState* __tstate = wxPyBeginAllowThreads();
18876 (arg1)->SetPrinterName((wxString const &)*arg2);
18877
18878 wxPyEndAllowThreads(__tstate);
18879 if (PyErr_Occurred()) SWIG_fail;
18880 }
18881 Py_INCREF(Py_None); resultobj = Py_None;
18882 {
18883 if (temp2)
18884 delete arg2;
18885 }
18886 return resultobj;
18887 fail:
18888 {
18889 if (temp2)
18890 delete arg2;
18891 }
18892 return NULL;
18893}
18894
18895
c32bde28 18896static PyObject *_wrap_PrintData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18897 PyObject *resultobj;
18898 wxPrintData *arg1 = (wxPrintData *) 0 ;
18899 bool arg2 ;
18900 PyObject * obj0 = 0 ;
18901 PyObject * obj1 = 0 ;
18902 char *kwnames[] = {
18903 (char *) "self",(char *) "colour", NULL
18904 };
18905
18906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
18907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18909 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
18910 if (PyErr_Occurred()) SWIG_fail;
18911 {
18912 PyThreadState* __tstate = wxPyBeginAllowThreads();
18913 (arg1)->SetColour(arg2);
18914
18915 wxPyEndAllowThreads(__tstate);
18916 if (PyErr_Occurred()) SWIG_fail;
18917 }
18918 Py_INCREF(Py_None); resultobj = Py_None;
18919 return resultobj;
18920 fail:
18921 return NULL;
18922}
18923
18924
c32bde28 18925static PyObject *_wrap_PrintData_SetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18926 PyObject *resultobj;
18927 wxPrintData *arg1 = (wxPrintData *) 0 ;
18928 int arg2 ;
18929 PyObject * obj0 = 0 ;
18930 PyObject * obj1 = 0 ;
18931 char *kwnames[] = {
18932 (char *) "self",(char *) "duplex", NULL
18933 };
18934
18935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
18936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18938 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
18939 if (PyErr_Occurred()) SWIG_fail;
18940 {
18941 PyThreadState* __tstate = wxPyBeginAllowThreads();
18942 (arg1)->SetDuplex((wxDuplexMode )arg2);
18943
18944 wxPyEndAllowThreads(__tstate);
18945 if (PyErr_Occurred()) SWIG_fail;
18946 }
18947 Py_INCREF(Py_None); resultobj = Py_None;
18948 return resultobj;
18949 fail:
18950 return NULL;
18951}
18952
18953
c32bde28 18954static PyObject *_wrap_PrintData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18955 PyObject *resultobj;
18956 wxPrintData *arg1 = (wxPrintData *) 0 ;
18957 int arg2 ;
18958 PyObject * obj0 = 0 ;
18959 PyObject * obj1 = 0 ;
18960 char *kwnames[] = {
18961 (char *) "self",(char *) "sizeId", NULL
18962 };
18963
18964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
18965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18967 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
18968 if (PyErr_Occurred()) SWIG_fail;
18969 {
18970 PyThreadState* __tstate = wxPyBeginAllowThreads();
18971 (arg1)->SetPaperId((wxPaperSize )arg2);
18972
18973 wxPyEndAllowThreads(__tstate);
18974 if (PyErr_Occurred()) SWIG_fail;
18975 }
18976 Py_INCREF(Py_None); resultobj = Py_None;
18977 return resultobj;
18978 fail:
18979 return NULL;
18980}
18981
18982
c32bde28 18983static PyObject *_wrap_PrintData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18984 PyObject *resultobj;
18985 wxPrintData *arg1 = (wxPrintData *) 0 ;
18986 wxSize *arg2 = 0 ;
18987 wxSize temp2 ;
18988 PyObject * obj0 = 0 ;
18989 PyObject * obj1 = 0 ;
18990 char *kwnames[] = {
18991 (char *) "self",(char *) "sz", NULL
18992 };
18993
18994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
18995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18997 {
18998 arg2 = &temp2;
18999 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19000 }
19001 {
19002 PyThreadState* __tstate = wxPyBeginAllowThreads();
19003 (arg1)->SetPaperSize((wxSize const &)*arg2);
19004
19005 wxPyEndAllowThreads(__tstate);
19006 if (PyErr_Occurred()) SWIG_fail;
19007 }
19008 Py_INCREF(Py_None); resultobj = Py_None;
19009 return resultobj;
19010 fail:
19011 return NULL;
19012}
19013
19014
c32bde28 19015static PyObject *_wrap_PrintData_SetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19016 PyObject *resultobj;
19017 wxPrintData *arg1 = (wxPrintData *) 0 ;
19018 int arg2 ;
19019 PyObject * obj0 = 0 ;
19020 PyObject * obj1 = 0 ;
19021 char *kwnames[] = {
19022 (char *) "self",(char *) "quality", NULL
19023 };
19024
19025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
19026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19028 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
19029 if (PyErr_Occurred()) SWIG_fail;
19030 {
19031 PyThreadState* __tstate = wxPyBeginAllowThreads();
19032 (arg1)->SetQuality(arg2);
19033
19034 wxPyEndAllowThreads(__tstate);
19035 if (PyErr_Occurred()) SWIG_fail;
19036 }
19037 Py_INCREF(Py_None); resultobj = Py_None;
19038 return resultobj;
19039 fail:
19040 return NULL;
19041}
19042
19043
ae8162c8
RD
19044static PyObject *_wrap_PrintData_SetBin(PyObject *, PyObject *args, PyObject *kwargs) {
19045 PyObject *resultobj;
19046 wxPrintData *arg1 = (wxPrintData *) 0 ;
19047 int arg2 ;
19048 PyObject * obj0 = 0 ;
19049 PyObject * obj1 = 0 ;
19050 char *kwnames[] = {
19051 (char *) "self",(char *) "bin", NULL
19052 };
19053
19054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) goto fail;
19055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19057 arg2 = (int)SWIG_As_int(obj1);
19058 if (PyErr_Occurred()) SWIG_fail;
19059 {
19060 PyThreadState* __tstate = wxPyBeginAllowThreads();
19061 (arg1)->SetBin((wxPrintBin )arg2);
19062
19063 wxPyEndAllowThreads(__tstate);
19064 if (PyErr_Occurred()) SWIG_fail;
19065 }
19066 Py_INCREF(Py_None); resultobj = Py_None;
19067 return resultobj;
19068 fail:
19069 return NULL;
19070}
19071
19072
c32bde28 19073static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19074 PyObject *resultobj;
19075 wxPrintData *arg1 = (wxPrintData *) 0 ;
19076 wxString *result;
19077 PyObject * obj0 = 0 ;
19078 char *kwnames[] = {
19079 (char *) "self", NULL
19080 };
19081
19082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
19083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19085 {
19086 PyThreadState* __tstate = wxPyBeginAllowThreads();
19087 {
19088 wxString const &_result_ref = (arg1)->GetPrinterCommand();
19089 result = (wxString *) &_result_ref;
19090 }
19091
19092 wxPyEndAllowThreads(__tstate);
19093 if (PyErr_Occurred()) SWIG_fail;
19094 }
19095 {
19096#if wxUSE_UNICODE
19097 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19098#else
19099 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19100#endif
19101 }
19102 return resultobj;
19103 fail:
19104 return NULL;
19105}
19106
19107
c32bde28 19108static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19109 PyObject *resultobj;
19110 wxPrintData *arg1 = (wxPrintData *) 0 ;
19111 wxString *result;
19112 PyObject * obj0 = 0 ;
19113 char *kwnames[] = {
19114 (char *) "self", NULL
19115 };
19116
19117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
19118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19120 {
19121 PyThreadState* __tstate = wxPyBeginAllowThreads();
19122 {
19123 wxString const &_result_ref = (arg1)->GetPrinterOptions();
19124 result = (wxString *) &_result_ref;
19125 }
19126
19127 wxPyEndAllowThreads(__tstate);
19128 if (PyErr_Occurred()) SWIG_fail;
19129 }
19130 {
19131#if wxUSE_UNICODE
19132 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19133#else
19134 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19135#endif
19136 }
19137 return resultobj;
19138 fail:
19139 return NULL;
19140}
19141
19142
c32bde28 19143static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19144 PyObject *resultobj;
19145 wxPrintData *arg1 = (wxPrintData *) 0 ;
19146 wxString *result;
19147 PyObject * obj0 = 0 ;
19148 char *kwnames[] = {
19149 (char *) "self", NULL
19150 };
19151
19152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
19153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19155 {
19156 PyThreadState* __tstate = wxPyBeginAllowThreads();
19157 {
19158 wxString const &_result_ref = (arg1)->GetPreviewCommand();
19159 result = (wxString *) &_result_ref;
19160 }
19161
19162 wxPyEndAllowThreads(__tstate);
19163 if (PyErr_Occurred()) SWIG_fail;
19164 }
19165 {
19166#if wxUSE_UNICODE
19167 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19168#else
19169 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19170#endif
19171 }
19172 return resultobj;
19173 fail:
19174 return NULL;
19175}
19176
19177
c32bde28 19178static PyObject *_wrap_PrintData_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19179 PyObject *resultobj;
19180 wxPrintData *arg1 = (wxPrintData *) 0 ;
19181 wxString *result;
19182 PyObject * obj0 = 0 ;
19183 char *kwnames[] = {
19184 (char *) "self", NULL
19185 };
19186
19187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
19188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19190 {
19191 PyThreadState* __tstate = wxPyBeginAllowThreads();
19192 {
19193 wxString const &_result_ref = (arg1)->GetFilename();
19194 result = (wxString *) &_result_ref;
19195 }
19196
19197 wxPyEndAllowThreads(__tstate);
19198 if (PyErr_Occurred()) SWIG_fail;
19199 }
19200 {
19201#if wxUSE_UNICODE
19202 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19203#else
19204 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19205#endif
19206 }
19207 return resultobj;
19208 fail:
19209 return NULL;
19210}
19211
19212
c32bde28 19213static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19214 PyObject *resultobj;
19215 wxPrintData *arg1 = (wxPrintData *) 0 ;
19216 wxString *result;
19217 PyObject * obj0 = 0 ;
19218 char *kwnames[] = {
19219 (char *) "self", NULL
19220 };
19221
19222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
19223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19225 {
19226 PyThreadState* __tstate = wxPyBeginAllowThreads();
19227 {
19228 wxString const &_result_ref = (arg1)->GetFontMetricPath();
19229 result = (wxString *) &_result_ref;
19230 }
19231
19232 wxPyEndAllowThreads(__tstate);
19233 if (PyErr_Occurred()) SWIG_fail;
19234 }
19235 {
19236#if wxUSE_UNICODE
19237 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19238#else
19239 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19240#endif
19241 }
19242 return resultobj;
19243 fail:
19244 return NULL;
19245}
19246
19247
c32bde28 19248static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19249 PyObject *resultobj;
19250 wxPrintData *arg1 = (wxPrintData *) 0 ;
19251 double result;
19252 PyObject * obj0 = 0 ;
19253 char *kwnames[] = {
19254 (char *) "self", NULL
19255 };
19256
19257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
19258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19260 {
19261 PyThreadState* __tstate = wxPyBeginAllowThreads();
19262 result = (double)(arg1)->GetPrinterScaleX();
19263
19264 wxPyEndAllowThreads(__tstate);
19265 if (PyErr_Occurred()) SWIG_fail;
19266 }
c32bde28 19267 resultobj = SWIG_From_double((double)result);
d55e5bfc
RD
19268 return resultobj;
19269 fail:
19270 return NULL;
19271}
19272
19273
c32bde28 19274static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19275 PyObject *resultobj;
19276 wxPrintData *arg1 = (wxPrintData *) 0 ;
19277 double result;
19278 PyObject * obj0 = 0 ;
19279 char *kwnames[] = {
19280 (char *) "self", NULL
19281 };
19282
19283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
19284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19286 {
19287 PyThreadState* __tstate = wxPyBeginAllowThreads();
19288 result = (double)(arg1)->GetPrinterScaleY();
19289
19290 wxPyEndAllowThreads(__tstate);
19291 if (PyErr_Occurred()) SWIG_fail;
19292 }
c32bde28 19293 resultobj = SWIG_From_double((double)result);
d55e5bfc
RD
19294 return resultobj;
19295 fail:
19296 return NULL;
19297}
19298
19299
c32bde28 19300static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19301 PyObject *resultobj;
19302 wxPrintData *arg1 = (wxPrintData *) 0 ;
19303 long result;
19304 PyObject * obj0 = 0 ;
19305 char *kwnames[] = {
19306 (char *) "self", NULL
19307 };
19308
19309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
19310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19312 {
19313 PyThreadState* __tstate = wxPyBeginAllowThreads();
19314 result = (long)(arg1)->GetPrinterTranslateX();
19315
19316 wxPyEndAllowThreads(__tstate);
19317 if (PyErr_Occurred()) SWIG_fail;
19318 }
c32bde28 19319 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
19320 return resultobj;
19321 fail:
19322 return NULL;
19323}
19324
19325
c32bde28 19326static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19327 PyObject *resultobj;
19328 wxPrintData *arg1 = (wxPrintData *) 0 ;
19329 long result;
19330 PyObject * obj0 = 0 ;
19331 char *kwnames[] = {
19332 (char *) "self", NULL
19333 };
19334
19335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
19336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19338 {
19339 PyThreadState* __tstate = wxPyBeginAllowThreads();
19340 result = (long)(arg1)->GetPrinterTranslateY();
19341
19342 wxPyEndAllowThreads(__tstate);
19343 if (PyErr_Occurred()) SWIG_fail;
19344 }
c32bde28 19345 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
19346 return resultobj;
19347 fail:
19348 return NULL;
19349}
19350
19351
c32bde28 19352static PyObject *_wrap_PrintData_GetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19353 PyObject *resultobj;
19354 wxPrintData *arg1 = (wxPrintData *) 0 ;
19355 int result;
19356 PyObject * obj0 = 0 ;
19357 char *kwnames[] = {
19358 (char *) "self", NULL
19359 };
19360
19361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
19362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19364 {
19365 PyThreadState* __tstate = wxPyBeginAllowThreads();
19366 result = (int)(arg1)->GetPrintMode();
19367
19368 wxPyEndAllowThreads(__tstate);
19369 if (PyErr_Occurred()) SWIG_fail;
19370 }
c32bde28 19371 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
19372 return resultobj;
19373 fail:
19374 return NULL;
19375}
19376
19377
c32bde28 19378static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19379 PyObject *resultobj;
19380 wxPrintData *arg1 = (wxPrintData *) 0 ;
19381 wxString *arg2 = 0 ;
ae8162c8 19382 bool temp2 = false ;
d55e5bfc
RD
19383 PyObject * obj0 = 0 ;
19384 PyObject * obj1 = 0 ;
19385 char *kwnames[] = {
19386 (char *) "self",(char *) "command", NULL
19387 };
19388
19389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
19390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19392 {
19393 arg2 = wxString_in_helper(obj1);
19394 if (arg2 == NULL) SWIG_fail;
ae8162c8 19395 temp2 = true;
d55e5bfc
RD
19396 }
19397 {
19398 PyThreadState* __tstate = wxPyBeginAllowThreads();
19399 (arg1)->SetPrinterCommand((wxString const &)*arg2);
19400
19401 wxPyEndAllowThreads(__tstate);
19402 if (PyErr_Occurred()) SWIG_fail;
19403 }
19404 Py_INCREF(Py_None); resultobj = Py_None;
19405 {
19406 if (temp2)
19407 delete arg2;
19408 }
19409 return resultobj;
19410 fail:
19411 {
19412 if (temp2)
19413 delete arg2;
19414 }
19415 return NULL;
19416}
19417
19418
c32bde28 19419static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19420 PyObject *resultobj;
19421 wxPrintData *arg1 = (wxPrintData *) 0 ;
19422 wxString *arg2 = 0 ;
ae8162c8 19423 bool temp2 = false ;
d55e5bfc
RD
19424 PyObject * obj0 = 0 ;
19425 PyObject * obj1 = 0 ;
19426 char *kwnames[] = {
19427 (char *) "self",(char *) "options", NULL
19428 };
19429
19430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
19431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19433 {
19434 arg2 = wxString_in_helper(obj1);
19435 if (arg2 == NULL) SWIG_fail;
ae8162c8 19436 temp2 = true;
d55e5bfc
RD
19437 }
19438 {
19439 PyThreadState* __tstate = wxPyBeginAllowThreads();
19440 (arg1)->SetPrinterOptions((wxString const &)*arg2);
19441
19442 wxPyEndAllowThreads(__tstate);
19443 if (PyErr_Occurred()) SWIG_fail;
19444 }
19445 Py_INCREF(Py_None); resultobj = Py_None;
19446 {
19447 if (temp2)
19448 delete arg2;
19449 }
19450 return resultobj;
19451 fail:
19452 {
19453 if (temp2)
19454 delete arg2;
19455 }
19456 return NULL;
19457}
19458
19459
c32bde28 19460static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19461 PyObject *resultobj;
19462 wxPrintData *arg1 = (wxPrintData *) 0 ;
19463 wxString *arg2 = 0 ;
ae8162c8 19464 bool temp2 = false ;
d55e5bfc
RD
19465 PyObject * obj0 = 0 ;
19466 PyObject * obj1 = 0 ;
19467 char *kwnames[] = {
19468 (char *) "self",(char *) "command", NULL
19469 };
19470
19471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
19472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19474 {
19475 arg2 = wxString_in_helper(obj1);
19476 if (arg2 == NULL) SWIG_fail;
ae8162c8 19477 temp2 = true;
d55e5bfc
RD
19478 }
19479 {
19480 PyThreadState* __tstate = wxPyBeginAllowThreads();
19481 (arg1)->SetPreviewCommand((wxString const &)*arg2);
19482
19483 wxPyEndAllowThreads(__tstate);
19484 if (PyErr_Occurred()) SWIG_fail;
19485 }
19486 Py_INCREF(Py_None); resultobj = Py_None;
19487 {
19488 if (temp2)
19489 delete arg2;
19490 }
19491 return resultobj;
19492 fail:
19493 {
19494 if (temp2)
19495 delete arg2;
19496 }
19497 return NULL;
19498}
19499
19500
c32bde28 19501static PyObject *_wrap_PrintData_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19502 PyObject *resultobj;
19503 wxPrintData *arg1 = (wxPrintData *) 0 ;
19504 wxString *arg2 = 0 ;
ae8162c8 19505 bool temp2 = false ;
d55e5bfc
RD
19506 PyObject * obj0 = 0 ;
19507 PyObject * obj1 = 0 ;
19508 char *kwnames[] = {
19509 (char *) "self",(char *) "filename", NULL
19510 };
19511
19512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
19513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19515 {
19516 arg2 = wxString_in_helper(obj1);
19517 if (arg2 == NULL) SWIG_fail;
ae8162c8 19518 temp2 = true;
d55e5bfc
RD
19519 }
19520 {
19521 PyThreadState* __tstate = wxPyBeginAllowThreads();
19522 (arg1)->SetFilename((wxString const &)*arg2);
19523
19524 wxPyEndAllowThreads(__tstate);
19525 if (PyErr_Occurred()) SWIG_fail;
19526 }
19527 Py_INCREF(Py_None); resultobj = Py_None;
19528 {
19529 if (temp2)
19530 delete arg2;
19531 }
19532 return resultobj;
19533 fail:
19534 {
19535 if (temp2)
19536 delete arg2;
19537 }
19538 return NULL;
19539}
19540
19541
c32bde28 19542static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19543 PyObject *resultobj;
19544 wxPrintData *arg1 = (wxPrintData *) 0 ;
19545 wxString *arg2 = 0 ;
ae8162c8 19546 bool temp2 = false ;
d55e5bfc
RD
19547 PyObject * obj0 = 0 ;
19548 PyObject * obj1 = 0 ;
19549 char *kwnames[] = {
19550 (char *) "self",(char *) "path", NULL
19551 };
19552
19553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
19554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19556 {
19557 arg2 = wxString_in_helper(obj1);
19558 if (arg2 == NULL) SWIG_fail;
ae8162c8 19559 temp2 = true;
d55e5bfc
RD
19560 }
19561 {
19562 PyThreadState* __tstate = wxPyBeginAllowThreads();
19563 (arg1)->SetFontMetricPath((wxString const &)*arg2);
19564
19565 wxPyEndAllowThreads(__tstate);
19566 if (PyErr_Occurred()) SWIG_fail;
19567 }
19568 Py_INCREF(Py_None); resultobj = Py_None;
19569 {
19570 if (temp2)
19571 delete arg2;
19572 }
19573 return resultobj;
19574 fail:
19575 {
19576 if (temp2)
19577 delete arg2;
19578 }
19579 return NULL;
19580}
19581
19582
c32bde28 19583static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19584 PyObject *resultobj;
19585 wxPrintData *arg1 = (wxPrintData *) 0 ;
19586 double arg2 ;
19587 PyObject * obj0 = 0 ;
19588 PyObject * obj1 = 0 ;
19589 char *kwnames[] = {
19590 (char *) "self",(char *) "x", NULL
19591 };
19592
19593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail;
19594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19596 arg2 = (double)SWIG_As_double(obj1);
d55e5bfc
RD
19597 if (PyErr_Occurred()) SWIG_fail;
19598 {
19599 PyThreadState* __tstate = wxPyBeginAllowThreads();
19600 (arg1)->SetPrinterScaleX(arg2);
19601
19602 wxPyEndAllowThreads(__tstate);
19603 if (PyErr_Occurred()) SWIG_fail;
19604 }
19605 Py_INCREF(Py_None); resultobj = Py_None;
19606 return resultobj;
19607 fail:
19608 return NULL;
19609}
19610
19611
c32bde28 19612static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19613 PyObject *resultobj;
19614 wxPrintData *arg1 = (wxPrintData *) 0 ;
19615 double arg2 ;
19616 PyObject * obj0 = 0 ;
19617 PyObject * obj1 = 0 ;
19618 char *kwnames[] = {
19619 (char *) "self",(char *) "y", NULL
19620 };
19621
19622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail;
19623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19625 arg2 = (double)SWIG_As_double(obj1);
d55e5bfc
RD
19626 if (PyErr_Occurred()) SWIG_fail;
19627 {
19628 PyThreadState* __tstate = wxPyBeginAllowThreads();
19629 (arg1)->SetPrinterScaleY(arg2);
19630
19631 wxPyEndAllowThreads(__tstate);
19632 if (PyErr_Occurred()) SWIG_fail;
19633 }
19634 Py_INCREF(Py_None); resultobj = Py_None;
19635 return resultobj;
19636 fail:
19637 return NULL;
19638}
19639
19640
c32bde28 19641static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19642 PyObject *resultobj;
19643 wxPrintData *arg1 = (wxPrintData *) 0 ;
19644 double arg2 ;
19645 double arg3 ;
19646 PyObject * obj0 = 0 ;
19647 PyObject * obj1 = 0 ;
19648 PyObject * obj2 = 0 ;
19649 char *kwnames[] = {
19650 (char *) "self",(char *) "x",(char *) "y", NULL
19651 };
19652
19653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail;
19654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19656 arg2 = (double)SWIG_As_double(obj1);
d55e5bfc 19657 if (PyErr_Occurred()) SWIG_fail;
c32bde28 19658 arg3 = (double)SWIG_As_double(obj2);
d55e5bfc
RD
19659 if (PyErr_Occurred()) SWIG_fail;
19660 {
19661 PyThreadState* __tstate = wxPyBeginAllowThreads();
19662 (arg1)->SetPrinterScaling(arg2,arg3);
19663
19664 wxPyEndAllowThreads(__tstate);
19665 if (PyErr_Occurred()) SWIG_fail;
19666 }
19667 Py_INCREF(Py_None); resultobj = Py_None;
19668 return resultobj;
19669 fail:
19670 return NULL;
19671}
19672
19673
c32bde28 19674static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19675 PyObject *resultobj;
19676 wxPrintData *arg1 = (wxPrintData *) 0 ;
19677 long arg2 ;
19678 PyObject * obj0 = 0 ;
19679 PyObject * obj1 = 0 ;
19680 char *kwnames[] = {
19681 (char *) "self",(char *) "x", NULL
19682 };
19683
19684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail;
19685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19687 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
19688 if (PyErr_Occurred()) SWIG_fail;
19689 {
19690 PyThreadState* __tstate = wxPyBeginAllowThreads();
19691 (arg1)->SetPrinterTranslateX(arg2);
19692
19693 wxPyEndAllowThreads(__tstate);
19694 if (PyErr_Occurred()) SWIG_fail;
19695 }
19696 Py_INCREF(Py_None); resultobj = Py_None;
19697 return resultobj;
19698 fail:
19699 return NULL;
19700}
19701
19702
c32bde28 19703static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19704 PyObject *resultobj;
19705 wxPrintData *arg1 = (wxPrintData *) 0 ;
19706 long arg2 ;
19707 PyObject * obj0 = 0 ;
19708 PyObject * obj1 = 0 ;
19709 char *kwnames[] = {
19710 (char *) "self",(char *) "y", NULL
19711 };
19712
19713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail;
19714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19716 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
19717 if (PyErr_Occurred()) SWIG_fail;
19718 {
19719 PyThreadState* __tstate = wxPyBeginAllowThreads();
19720 (arg1)->SetPrinterTranslateY(arg2);
19721
19722 wxPyEndAllowThreads(__tstate);
19723 if (PyErr_Occurred()) SWIG_fail;
19724 }
19725 Py_INCREF(Py_None); resultobj = Py_None;
19726 return resultobj;
19727 fail:
19728 return NULL;
19729}
19730
19731
c32bde28 19732static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19733 PyObject *resultobj;
19734 wxPrintData *arg1 = (wxPrintData *) 0 ;
19735 long arg2 ;
19736 long arg3 ;
19737 PyObject * obj0 = 0 ;
19738 PyObject * obj1 = 0 ;
19739 PyObject * obj2 = 0 ;
19740 char *kwnames[] = {
19741 (char *) "self",(char *) "x",(char *) "y", NULL
19742 };
19743
19744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail;
19745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19747 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc 19748 if (PyErr_Occurred()) SWIG_fail;
c32bde28 19749 arg3 = (long)SWIG_As_long(obj2);
d55e5bfc
RD
19750 if (PyErr_Occurred()) SWIG_fail;
19751 {
19752 PyThreadState* __tstate = wxPyBeginAllowThreads();
19753 (arg1)->SetPrinterTranslation(arg2,arg3);
19754
19755 wxPyEndAllowThreads(__tstate);
19756 if (PyErr_Occurred()) SWIG_fail;
19757 }
19758 Py_INCREF(Py_None); resultobj = Py_None;
19759 return resultobj;
19760 fail:
19761 return NULL;
19762}
19763
19764
c32bde28 19765static PyObject *_wrap_PrintData_SetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19766 PyObject *resultobj;
19767 wxPrintData *arg1 = (wxPrintData *) 0 ;
19768 int arg2 ;
19769 PyObject * obj0 = 0 ;
19770 PyObject * obj1 = 0 ;
19771 char *kwnames[] = {
19772 (char *) "self",(char *) "printMode", NULL
19773 };
19774
19775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
19776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19778 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
19779 if (PyErr_Occurred()) SWIG_fail;
19780 {
19781 PyThreadState* __tstate = wxPyBeginAllowThreads();
19782 (arg1)->SetPrintMode((wxPrintMode )arg2);
19783
19784 wxPyEndAllowThreads(__tstate);
19785 if (PyErr_Occurred()) SWIG_fail;
19786 }
19787 Py_INCREF(Py_None); resultobj = Py_None;
19788 return resultobj;
19789 fail:
19790 return NULL;
19791}
19792
19793
c32bde28 19794static PyObject *_wrap_PrintData_GetOutputStream(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19795 PyObject *resultobj;
19796 wxPrintData *arg1 = (wxPrintData *) 0 ;
19797 wxOutputStream *result;
19798 PyObject * obj0 = 0 ;
19799 char *kwnames[] = {
19800 (char *) "self", NULL
19801 };
19802
19803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOutputStream",kwnames,&obj0)) goto fail;
19804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19806 {
19807 PyThreadState* __tstate = wxPyBeginAllowThreads();
19808 result = (wxOutputStream *)(arg1)->GetOutputStream();
19809
19810 wxPyEndAllowThreads(__tstate);
19811 if (PyErr_Occurred()) SWIG_fail;
19812 }
19813 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0);
19814 return resultobj;
19815 fail:
19816 return NULL;
19817}
19818
19819
c32bde28 19820static PyObject *_wrap_PrintData_SetOutputStream(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19821 PyObject *resultobj;
19822 wxPrintData *arg1 = (wxPrintData *) 0 ;
19823 wxOutputStream *arg2 = (wxOutputStream *) 0 ;
19824 PyObject * obj0 = 0 ;
19825 PyObject * obj1 = 0 ;
19826 char *kwnames[] = {
19827 (char *) "self",(char *) "outputstream", NULL
19828 };
19829
19830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOutputStream",kwnames,&obj0,&obj1)) goto fail;
19831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19833 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxOutputStream,
19834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19835 {
19836 PyThreadState* __tstate = wxPyBeginAllowThreads();
19837 (arg1)->SetOutputStream(arg2);
19838
19839 wxPyEndAllowThreads(__tstate);
19840 if (PyErr_Occurred()) SWIG_fail;
19841 }
19842 Py_INCREF(Py_None); resultobj = Py_None;
19843 return resultobj;
19844 fail:
19845 return NULL;
19846}
19847
19848
c32bde28 19849static PyObject * PrintData_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
19850 PyObject *obj;
19851 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19852 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
19853 Py_INCREF(obj);
19854 return Py_BuildValue((char *)"");
19855}
c32bde28 19856static PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
19857 PyObject *resultobj;
19858 wxPageSetupDialogData *result;
d55e5bfc 19859
09c21d3b 19860 if(!PyArg_ParseTuple(args,(char *)":new_PageSetupDialogData")) goto fail;
d55e5bfc
RD
19861 {
19862 PyThreadState* __tstate = wxPyBeginAllowThreads();
19863 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
19864
19865 wxPyEndAllowThreads(__tstate);
19866 if (PyErr_Occurred()) SWIG_fail;
19867 }
19868 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
19869 return resultobj;
19870 fail:
19871 return NULL;
19872}
19873
19874
c32bde28 19875static PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *, PyObject *args) {
09c21d3b
RD
19876 PyObject *resultobj;
19877 wxPageSetupDialogData *arg1 = 0 ;
19878 wxPageSetupDialogData *result;
19879 PyObject * obj0 = 0 ;
19880
19881 if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail;
19882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19883 SWIG_POINTER_EXCEPTION | 0)) == -1)
19884 SWIG_fail;
19885 if (arg1 == NULL) {
19886 PyErr_SetString(PyExc_TypeError,"null reference");
19887 SWIG_fail;
19888 }
19889 {
19890 PyThreadState* __tstate = wxPyBeginAllowThreads();
19891 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
19892
19893 wxPyEndAllowThreads(__tstate);
19894 if (PyErr_Occurred()) SWIG_fail;
19895 }
19896 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
19897 return resultobj;
19898 fail:
19899 return NULL;
19900}
19901
19902
19903static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
19904 int argc;
19905 PyObject *argv[2];
19906 int ii;
19907
19908 argc = PyObject_Length(args);
19909 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
19910 argv[ii] = PyTuple_GetItem(args,ii);
19911 }
19912 if (argc == 0) {
19913 return _wrap_new_PageSetupDialogData__SWIG_0(self,args);
19914 }
19915 if (argc == 1) {
19916 int _v;
19917 {
19918 void *ptr;
19919 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPageSetupDialogData, 0) == -1) {
19920 _v = 0;
19921 PyErr_Clear();
19922 } else {
19923 _v = 1;
19924 }
19925 }
19926 if (_v) {
19927 return _wrap_new_PageSetupDialogData__SWIG_1(self,args);
19928 }
19929 }
19930
19931 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PageSetupDialogData'");
19932 return NULL;
19933}
19934
19935
c32bde28 19936static PyObject *_wrap_delete_PageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19937 PyObject *resultobj;
19938 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19939 PyObject * obj0 = 0 ;
19940 char *kwnames[] = {
19941 (char *) "self", NULL
19942 };
19943
19944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
19945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19947 {
19948 PyThreadState* __tstate = wxPyBeginAllowThreads();
19949 delete arg1;
19950
19951 wxPyEndAllowThreads(__tstate);
19952 if (PyErr_Occurred()) SWIG_fail;
19953 }
19954 Py_INCREF(Py_None); resultobj = Py_None;
19955 return resultobj;
19956 fail:
19957 return NULL;
19958}
19959
19960
c32bde28 19961static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19962 PyObject *resultobj;
19963 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19964 bool arg2 ;
19965 PyObject * obj0 = 0 ;
19966 PyObject * obj1 = 0 ;
19967 char *kwnames[] = {
19968 (char *) "self",(char *) "flag", NULL
19969 };
19970
19971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
19972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19974 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
19975 if (PyErr_Occurred()) SWIG_fail;
19976 {
19977 PyThreadState* __tstate = wxPyBeginAllowThreads();
19978 (arg1)->EnableHelp(arg2);
19979
19980 wxPyEndAllowThreads(__tstate);
19981 if (PyErr_Occurred()) SWIG_fail;
19982 }
19983 Py_INCREF(Py_None); resultobj = Py_None;
19984 return resultobj;
19985 fail:
19986 return NULL;
19987}
19988
19989
c32bde28 19990static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19991 PyObject *resultobj;
19992 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19993 bool arg2 ;
19994 PyObject * obj0 = 0 ;
19995 PyObject * obj1 = 0 ;
19996 char *kwnames[] = {
19997 (char *) "self",(char *) "flag", NULL
19998 };
19999
20000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
20001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 20003 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
20004 if (PyErr_Occurred()) SWIG_fail;
20005 {
20006 PyThreadState* __tstate = wxPyBeginAllowThreads();
20007 (arg1)->EnableMargins(arg2);
20008
20009 wxPyEndAllowThreads(__tstate);
20010 if (PyErr_Occurred()) SWIG_fail;
20011 }
20012 Py_INCREF(Py_None); resultobj = Py_None;
20013 return resultobj;
20014 fail:
20015 return NULL;
20016}
20017
20018
c32bde28 20019static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20020 PyObject *resultobj;
20021 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20022 bool arg2 ;
20023 PyObject * obj0 = 0 ;
20024 PyObject * obj1 = 0 ;
20025 char *kwnames[] = {
20026 (char *) "self",(char *) "flag", NULL
20027 };
20028
20029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
20030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 20032 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
20033 if (PyErr_Occurred()) SWIG_fail;
20034 {
20035 PyThreadState* __tstate = wxPyBeginAllowThreads();
20036 (arg1)->EnableOrientation(arg2);
20037
20038 wxPyEndAllowThreads(__tstate);
20039 if (PyErr_Occurred()) SWIG_fail;
20040 }
20041 Py_INCREF(Py_None); resultobj = Py_None;
20042 return resultobj;
20043 fail:
20044 return NULL;
20045}
20046
20047
c32bde28 20048static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20049 PyObject *resultobj;
20050 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20051 bool arg2 ;
20052 PyObject * obj0 = 0 ;
20053 PyObject * obj1 = 0 ;
20054 char *kwnames[] = {
20055 (char *) "self",(char *) "flag", NULL
20056 };
20057
20058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
20059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 20061 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
20062 if (PyErr_Occurred()) SWIG_fail;
20063 {
20064 PyThreadState* __tstate = wxPyBeginAllowThreads();
20065 (arg1)->EnablePaper(arg2);
20066
20067 wxPyEndAllowThreads(__tstate);
20068 if (PyErr_Occurred()) SWIG_fail;
20069 }
20070 Py_INCREF(Py_None); resultobj = Py_None;
20071 return resultobj;
20072 fail:
20073 return NULL;
20074}
20075
20076
c32bde28 20077static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20078 PyObject *resultobj;
20079 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20080 bool arg2 ;
20081 PyObject * obj0 = 0 ;
20082 PyObject * obj1 = 0 ;
20083 char *kwnames[] = {
20084 (char *) "self",(char *) "flag", NULL
20085 };
20086
20087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
20088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 20090 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
20091 if (PyErr_Occurred()) SWIG_fail;
20092 {
20093 PyThreadState* __tstate = wxPyBeginAllowThreads();
20094 (arg1)->EnablePrinter(arg2);
20095
20096 wxPyEndAllowThreads(__tstate);
20097 if (PyErr_Occurred()) SWIG_fail;
20098 }
20099 Py_INCREF(Py_None); resultobj = Py_None;
20100 return resultobj;
20101 fail:
20102 return NULL;
20103}
20104
20105
c32bde28 20106static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20107 PyObject *resultobj;
20108 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20109 bool result;
20110 PyObject * obj0 = 0 ;
20111 char *kwnames[] = {
20112 (char *) "self", NULL
20113 };
20114
20115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
20116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20118 {
20119 PyThreadState* __tstate = wxPyBeginAllowThreads();
20120 result = (bool)(arg1)->GetDefaultMinMargins();
20121
20122 wxPyEndAllowThreads(__tstate);
20123 if (PyErr_Occurred()) SWIG_fail;
20124 }
20125 {
20126 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20127 }
20128 return resultobj;
20129 fail:
20130 return NULL;
20131}
20132
20133
c32bde28 20134static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20135 PyObject *resultobj;
20136 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20137 bool result;
20138 PyObject * obj0 = 0 ;
20139 char *kwnames[] = {
20140 (char *) "self", NULL
20141 };
20142
20143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
20144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20146 {
20147 PyThreadState* __tstate = wxPyBeginAllowThreads();
20148 result = (bool)(arg1)->GetEnableMargins();
20149
20150 wxPyEndAllowThreads(__tstate);
20151 if (PyErr_Occurred()) SWIG_fail;
20152 }
20153 {
20154 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20155 }
20156 return resultobj;
20157 fail:
20158 return NULL;
20159}
20160
20161
c32bde28 20162static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20163 PyObject *resultobj;
20164 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20165 bool result;
20166 PyObject * obj0 = 0 ;
20167 char *kwnames[] = {
20168 (char *) "self", NULL
20169 };
20170
20171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
20172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20174 {
20175 PyThreadState* __tstate = wxPyBeginAllowThreads();
20176 result = (bool)(arg1)->GetEnableOrientation();
20177
20178 wxPyEndAllowThreads(__tstate);
20179 if (PyErr_Occurred()) SWIG_fail;
20180 }
20181 {
20182 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20183 }
20184 return resultobj;
20185 fail:
20186 return NULL;
20187}
20188
20189
c32bde28 20190static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20191 PyObject *resultobj;
20192 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20193 bool result;
20194 PyObject * obj0 = 0 ;
20195 char *kwnames[] = {
20196 (char *) "self", NULL
20197 };
20198
20199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
20200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20202 {
20203 PyThreadState* __tstate = wxPyBeginAllowThreads();
20204 result = (bool)(arg1)->GetEnablePaper();
20205
20206 wxPyEndAllowThreads(__tstate);
20207 if (PyErr_Occurred()) SWIG_fail;
20208 }
20209 {
20210 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20211 }
20212 return resultobj;
20213 fail:
20214 return NULL;
20215}
20216
20217
c32bde28 20218static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20219 PyObject *resultobj;
20220 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20221 bool result;
20222 PyObject * obj0 = 0 ;
20223 char *kwnames[] = {
20224 (char *) "self", NULL
20225 };
20226
20227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
20228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20230 {
20231 PyThreadState* __tstate = wxPyBeginAllowThreads();
20232 result = (bool)(arg1)->GetEnablePrinter();
20233
20234 wxPyEndAllowThreads(__tstate);
20235 if (PyErr_Occurred()) SWIG_fail;
20236 }
20237 {
20238 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20239 }
20240 return resultobj;
20241 fail:
20242 return NULL;
20243}
20244
20245
c32bde28 20246static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20247 PyObject *resultobj;
20248 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20249 bool result;
20250 PyObject * obj0 = 0 ;
20251 char *kwnames[] = {
20252 (char *) "self", NULL
20253 };
20254
20255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
20256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20258 {
20259 PyThreadState* __tstate = wxPyBeginAllowThreads();
20260 result = (bool)(arg1)->GetEnableHelp();
20261
20262 wxPyEndAllowThreads(__tstate);
20263 if (PyErr_Occurred()) SWIG_fail;
20264 }
20265 {
20266 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20267 }
20268 return resultobj;
20269 fail:
20270 return NULL;
20271}
20272
20273
c32bde28 20274static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20275 PyObject *resultobj;
20276 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20277 bool result;
20278 PyObject * obj0 = 0 ;
20279 char *kwnames[] = {
20280 (char *) "self", NULL
20281 };
20282
20283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
20284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20286 {
20287 PyThreadState* __tstate = wxPyBeginAllowThreads();
20288 result = (bool)(arg1)->GetDefaultInfo();
20289
20290 wxPyEndAllowThreads(__tstate);
20291 if (PyErr_Occurred()) SWIG_fail;
20292 }
20293 {
20294 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20295 }
20296 return resultobj;
20297 fail:
20298 return NULL;
20299}
20300
20301
c32bde28 20302static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20303 PyObject *resultobj;
20304 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20305 wxPoint result;
20306 PyObject * obj0 = 0 ;
20307 char *kwnames[] = {
20308 (char *) "self", NULL
20309 };
20310
20311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
20312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20314 {
20315 PyThreadState* __tstate = wxPyBeginAllowThreads();
20316 result = (arg1)->GetMarginTopLeft();
20317
20318 wxPyEndAllowThreads(__tstate);
20319 if (PyErr_Occurred()) SWIG_fail;
20320 }
20321 {
20322 wxPoint * resultptr;
20323 resultptr = new wxPoint((wxPoint &) result);
20324 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20325 }
20326 return resultobj;
20327 fail:
20328 return NULL;
20329}
20330
20331
c32bde28 20332static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20333 PyObject *resultobj;
20334 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20335 wxPoint result;
20336 PyObject * obj0 = 0 ;
20337 char *kwnames[] = {
20338 (char *) "self", NULL
20339 };
20340
20341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
20342 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20344 {
20345 PyThreadState* __tstate = wxPyBeginAllowThreads();
20346 result = (arg1)->GetMarginBottomRight();
20347
20348 wxPyEndAllowThreads(__tstate);
20349 if (PyErr_Occurred()) SWIG_fail;
20350 }
20351 {
20352 wxPoint * resultptr;
20353 resultptr = new wxPoint((wxPoint &) result);
20354 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20355 }
20356 return resultobj;
20357 fail:
20358 return NULL;
20359}
20360
20361
c32bde28 20362static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20363 PyObject *resultobj;
20364 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20365 wxPoint result;
20366 PyObject * obj0 = 0 ;
20367 char *kwnames[] = {
20368 (char *) "self", NULL
20369 };
20370
20371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
20372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20374 {
20375 PyThreadState* __tstate = wxPyBeginAllowThreads();
20376 result = (arg1)->GetMinMarginTopLeft();
20377
20378 wxPyEndAllowThreads(__tstate);
20379 if (PyErr_Occurred()) SWIG_fail;
20380 }
20381 {
20382 wxPoint * resultptr;
20383 resultptr = new wxPoint((wxPoint &) result);
20384 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20385 }
20386 return resultobj;
20387 fail:
20388 return NULL;
20389}
20390
20391
c32bde28 20392static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20393 PyObject *resultobj;
20394 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20395 wxPoint result;
20396 PyObject * obj0 = 0 ;
20397 char *kwnames[] = {
20398 (char *) "self", NULL
20399 };
20400
20401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
20402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20404 {
20405 PyThreadState* __tstate = wxPyBeginAllowThreads();
20406 result = (arg1)->GetMinMarginBottomRight();
20407
20408 wxPyEndAllowThreads(__tstate);
20409 if (PyErr_Occurred()) SWIG_fail;
20410 }
20411 {
20412 wxPoint * resultptr;
20413 resultptr = new wxPoint((wxPoint &) result);
20414 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20415 }
20416 return resultobj;
20417 fail:
20418 return NULL;
20419}
20420
20421
c32bde28 20422static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20423 PyObject *resultobj;
20424 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20425 int result;
20426 PyObject * obj0 = 0 ;
20427 char *kwnames[] = {
20428 (char *) "self", NULL
20429 };
20430
20431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
20432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20434 {
20435 PyThreadState* __tstate = wxPyBeginAllowThreads();
20436 result = (int)(arg1)->GetPaperId();
20437
20438 wxPyEndAllowThreads(__tstate);
20439 if (PyErr_Occurred()) SWIG_fail;
20440 }
c32bde28 20441 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
20442 return resultobj;
20443 fail:
20444 return NULL;
20445}
20446
20447
c32bde28 20448static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20449 PyObject *resultobj;
20450 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20451 wxSize result;
20452 PyObject * obj0 = 0 ;
20453 char *kwnames[] = {
20454 (char *) "self", NULL
20455 };
20456
20457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
20458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20460 {
20461 PyThreadState* __tstate = wxPyBeginAllowThreads();
20462 result = (arg1)->GetPaperSize();
20463
20464 wxPyEndAllowThreads(__tstate);
20465 if (PyErr_Occurred()) SWIG_fail;
20466 }
20467 {
20468 wxSize * resultptr;
20469 resultptr = new wxSize((wxSize &) result);
20470 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20471 }
20472 return resultobj;
20473 fail:
20474 return NULL;
20475}
20476
20477
c32bde28 20478static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20479 PyObject *resultobj;
20480 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20481 wxPrintData *result;
20482 PyObject * obj0 = 0 ;
20483 char *kwnames[] = {
20484 (char *) "self", NULL
20485 };
20486
20487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
20488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20490 {
20491 PyThreadState* __tstate = wxPyBeginAllowThreads();
20492 {
20493 wxPrintData &_result_ref = (arg1)->GetPrintData();
20494 result = (wxPrintData *) &_result_ref;
20495 }
20496
20497 wxPyEndAllowThreads(__tstate);
20498 if (PyErr_Occurred()) SWIG_fail;
20499 }
20500 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
20501 return resultobj;
20502 fail:
20503 return NULL;
20504}
20505
20506
c32bde28 20507static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20508 PyObject *resultobj;
20509 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20510 bool result;
20511 PyObject * obj0 = 0 ;
20512 char *kwnames[] = {
20513 (char *) "self", NULL
20514 };
20515
20516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
20517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20519 {
20520 PyThreadState* __tstate = wxPyBeginAllowThreads();
20521 result = (bool)(arg1)->Ok();
20522
20523 wxPyEndAllowThreads(__tstate);
20524 if (PyErr_Occurred()) SWIG_fail;
20525 }
20526 {
20527 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20528 }
20529 return resultobj;
20530 fail:
20531 return NULL;
20532}
20533
20534
c32bde28 20535static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20536 PyObject *resultobj;
20537 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20538 bool arg2 ;
20539 PyObject * obj0 = 0 ;
20540 PyObject * obj1 = 0 ;
20541 char *kwnames[] = {
20542 (char *) "self",(char *) "flag", NULL
20543 };
20544
20545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
20546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 20548 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
20549 if (PyErr_Occurred()) SWIG_fail;
20550 {
20551 PyThreadState* __tstate = wxPyBeginAllowThreads();
20552 (arg1)->SetDefaultInfo(arg2);
20553
20554 wxPyEndAllowThreads(__tstate);
20555 if (PyErr_Occurred()) SWIG_fail;
20556 }
20557 Py_INCREF(Py_None); resultobj = Py_None;
20558 return resultobj;
20559 fail:
20560 return NULL;
20561}
20562
20563
c32bde28 20564static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20565 PyObject *resultobj;
20566 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20567 bool arg2 ;
20568 PyObject * obj0 = 0 ;
20569 PyObject * obj1 = 0 ;
20570 char *kwnames[] = {
20571 (char *) "self",(char *) "flag", NULL
20572 };
20573
20574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
20575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 20577 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
20578 if (PyErr_Occurred()) SWIG_fail;
20579 {
20580 PyThreadState* __tstate = wxPyBeginAllowThreads();
20581 (arg1)->SetDefaultMinMargins(arg2);
20582
20583 wxPyEndAllowThreads(__tstate);
20584 if (PyErr_Occurred()) SWIG_fail;
20585 }
20586 Py_INCREF(Py_None); resultobj = Py_None;
20587 return resultobj;
20588 fail:
20589 return NULL;
20590}
20591
20592
c32bde28 20593static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20594 PyObject *resultobj;
20595 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20596 wxPoint *arg2 = 0 ;
20597 wxPoint temp2 ;
20598 PyObject * obj0 = 0 ;
20599 PyObject * obj1 = 0 ;
20600 char *kwnames[] = {
20601 (char *) "self",(char *) "pt", NULL
20602 };
20603
20604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
20605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20607 {
20608 arg2 = &temp2;
20609 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20610 }
20611 {
20612 PyThreadState* __tstate = wxPyBeginAllowThreads();
20613 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
20614
20615 wxPyEndAllowThreads(__tstate);
20616 if (PyErr_Occurred()) SWIG_fail;
20617 }
20618 Py_INCREF(Py_None); resultobj = Py_None;
20619 return resultobj;
20620 fail:
20621 return NULL;
20622}
20623
20624
c32bde28 20625static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20626 PyObject *resultobj;
20627 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20628 wxPoint *arg2 = 0 ;
20629 wxPoint temp2 ;
20630 PyObject * obj0 = 0 ;
20631 PyObject * obj1 = 0 ;
20632 char *kwnames[] = {
20633 (char *) "self",(char *) "pt", NULL
20634 };
20635
20636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
20637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20639 {
20640 arg2 = &temp2;
20641 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20642 }
20643 {
20644 PyThreadState* __tstate = wxPyBeginAllowThreads();
20645 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
20646
20647 wxPyEndAllowThreads(__tstate);
20648 if (PyErr_Occurred()) SWIG_fail;
20649 }
20650 Py_INCREF(Py_None); resultobj = Py_None;
20651 return resultobj;
20652 fail:
20653 return NULL;
20654}
20655
20656
c32bde28 20657static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20658 PyObject *resultobj;
20659 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20660 wxPoint *arg2 = 0 ;
20661 wxPoint temp2 ;
20662 PyObject * obj0 = 0 ;
20663 PyObject * obj1 = 0 ;
20664 char *kwnames[] = {
20665 (char *) "self",(char *) "pt", NULL
20666 };
20667
20668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
20669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20671 {
20672 arg2 = &temp2;
20673 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20674 }
20675 {
20676 PyThreadState* __tstate = wxPyBeginAllowThreads();
20677 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
20678
20679 wxPyEndAllowThreads(__tstate);
20680 if (PyErr_Occurred()) SWIG_fail;
20681 }
20682 Py_INCREF(Py_None); resultobj = Py_None;
20683 return resultobj;
20684 fail:
20685 return NULL;
20686}
20687
20688
c32bde28 20689static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20690 PyObject *resultobj;
20691 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20692 wxPoint *arg2 = 0 ;
20693 wxPoint temp2 ;
20694 PyObject * obj0 = 0 ;
20695 PyObject * obj1 = 0 ;
20696 char *kwnames[] = {
20697 (char *) "self",(char *) "pt", NULL
20698 };
20699
20700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
20701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20703 {
20704 arg2 = &temp2;
20705 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20706 }
20707 {
20708 PyThreadState* __tstate = wxPyBeginAllowThreads();
20709 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
20710
20711 wxPyEndAllowThreads(__tstate);
20712 if (PyErr_Occurred()) SWIG_fail;
20713 }
20714 Py_INCREF(Py_None); resultobj = Py_None;
20715 return resultobj;
20716 fail:
20717 return NULL;
20718}
20719
20720
c32bde28 20721static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20722 PyObject *resultobj;
20723 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20724 int arg2 ;
20725 PyObject * obj0 = 0 ;
20726 PyObject * obj1 = 0 ;
20727 char *kwnames[] = {
20728 (char *) "self",(char *) "id", NULL
20729 };
20730
20731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
20732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 20734 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
20735 if (PyErr_Occurred()) SWIG_fail;
20736 {
20737 PyThreadState* __tstate = wxPyBeginAllowThreads();
20738 (arg1)->SetPaperId((wxPaperSize )arg2);
20739
20740 wxPyEndAllowThreads(__tstate);
20741 if (PyErr_Occurred()) SWIG_fail;
20742 }
20743 Py_INCREF(Py_None); resultobj = Py_None;
20744 return resultobj;
20745 fail:
20746 return NULL;
20747}
20748
20749
c32bde28 20750static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20751 PyObject *resultobj;
20752 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20753 wxSize *arg2 = 0 ;
20754 wxSize temp2 ;
20755 PyObject * obj0 = 0 ;
20756 PyObject * obj1 = 0 ;
20757 char *kwnames[] = {
20758 (char *) "self",(char *) "size", NULL
20759 };
20760
20761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
20762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20764 {
20765 arg2 = &temp2;
20766 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20767 }
20768 {
20769 PyThreadState* __tstate = wxPyBeginAllowThreads();
20770 (arg1)->SetPaperSize((wxSize const &)*arg2);
20771
20772 wxPyEndAllowThreads(__tstate);
20773 if (PyErr_Occurred()) SWIG_fail;
20774 }
20775 Py_INCREF(Py_None); resultobj = Py_None;
20776 return resultobj;
20777 fail:
20778 return NULL;
20779}
20780
20781
c32bde28 20782static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20783 PyObject *resultobj;
20784 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20785 wxPrintData *arg2 = 0 ;
20786 PyObject * obj0 = 0 ;
20787 PyObject * obj1 = 0 ;
20788 char *kwnames[] = {
20789 (char *) "self",(char *) "printData", NULL
20790 };
20791
20792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
20793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20795 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
20796 SWIG_POINTER_EXCEPTION | 0)) == -1)
20797 SWIG_fail;
20798 if (arg2 == NULL) {
20799 PyErr_SetString(PyExc_TypeError,"null reference");
20800 SWIG_fail;
20801 }
20802 {
20803 PyThreadState* __tstate = wxPyBeginAllowThreads();
20804 (arg1)->SetPrintData((wxPrintData const &)*arg2);
20805
20806 wxPyEndAllowThreads(__tstate);
20807 if (PyErr_Occurred()) SWIG_fail;
20808 }
20809 Py_INCREF(Py_None); resultobj = Py_None;
20810 return resultobj;
20811 fail:
20812 return NULL;
20813}
20814
20815
c32bde28 20816static PyObject * PageSetupDialogData_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
20817 PyObject *obj;
20818 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20819 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
20820 Py_INCREF(obj);
20821 return Py_BuildValue((char *)"");
20822}
c32bde28 20823static PyObject *_wrap_new_PageSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20824 PyObject *resultobj;
20825 wxWindow *arg1 = (wxWindow *) 0 ;
20826 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
20827 wxPageSetupDialog *result;
20828 PyObject * obj0 = 0 ;
20829 PyObject * obj1 = 0 ;
20830 char *kwnames[] = {
20831 (char *) "parent",(char *) "data", NULL
20832 };
20833
20834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
20835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
20836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20837 if (obj1) {
20838 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPageSetupDialogData,
20839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20840 }
20841 {
0439c23b 20842 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
20843 PyThreadState* __tstate = wxPyBeginAllowThreads();
20844 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
20845
20846 wxPyEndAllowThreads(__tstate);
110da5b0 20847 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
20848 }
20849 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
20850 return resultobj;
20851 fail:
20852 return NULL;
20853}
20854
20855
c32bde28 20856static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20857 PyObject *resultobj;
20858 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
20859 wxPageSetupDialogData *result;
20860 PyObject * obj0 = 0 ;
20861 char *kwnames[] = {
20862 (char *) "self", NULL
20863 };
20864
20865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
20866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
20867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20868 {
20869 PyThreadState* __tstate = wxPyBeginAllowThreads();
20870 {
20871 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
20872 result = (wxPageSetupDialogData *) &_result_ref;
20873 }
20874
20875 wxPyEndAllowThreads(__tstate);
20876 if (PyErr_Occurred()) SWIG_fail;
20877 }
20878 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
20879 return resultobj;
20880 fail:
20881 return NULL;
20882}
20883
20884
c32bde28 20885static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20886 PyObject *resultobj;
20887 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
20888 int result;
20889 PyObject * obj0 = 0 ;
20890 char *kwnames[] = {
20891 (char *) "self", NULL
20892 };
20893
20894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
20895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
20896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20897 {
20898 PyThreadState* __tstate = wxPyBeginAllowThreads();
20899 result = (int)(arg1)->ShowModal();
20900
20901 wxPyEndAllowThreads(__tstate);
20902 if (PyErr_Occurred()) SWIG_fail;
20903 }
c32bde28 20904 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
20905 return resultobj;
20906 fail:
20907 return NULL;
20908}
20909
20910
c32bde28 20911static PyObject * PageSetupDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
20912 PyObject *obj;
20913 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20914 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
20915 Py_INCREF(obj);
20916 return Py_BuildValue((char *)"");
20917}
c32bde28 20918static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
20919 PyObject *resultobj;
20920 wxPrintDialogData *result;
20921
20922 if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail;
20923 {
20924 PyThreadState* __tstate = wxPyBeginAllowThreads();
20925 result = (wxPrintDialogData *)new wxPrintDialogData();
20926
20927 wxPyEndAllowThreads(__tstate);
20928 if (PyErr_Occurred()) SWIG_fail;
20929 }
20930 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
20931 return resultobj;
20932 fail:
20933 return NULL;
20934}
20935
20936
c32bde28 20937static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
20938 PyObject *resultobj;
20939 wxPrintData *arg1 = 0 ;
20940 wxPrintDialogData *result;
20941 PyObject * obj0 = 0 ;
20942
20943 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
20944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
20945 SWIG_POINTER_EXCEPTION | 0)) == -1)
20946 SWIG_fail;
20947 if (arg1 == NULL) {
20948 PyErr_SetString(PyExc_TypeError,"null reference");
20949 SWIG_fail;
20950 }
20951 {
20952 PyThreadState* __tstate = wxPyBeginAllowThreads();
20953 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
20954
20955 wxPyEndAllowThreads(__tstate);
20956 if (PyErr_Occurred()) SWIG_fail;
20957 }
20958 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
20959 return resultobj;
20960 fail:
20961 return NULL;
20962}
20963
20964
20965static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
20966 int argc;
20967 PyObject *argv[2];
20968 int ii;
20969
20970 argc = PyObject_Length(args);
20971 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
20972 argv[ii] = PyTuple_GetItem(args,ii);
20973 }
20974 if (argc == 0) {
20975 return _wrap_new_PrintDialogData__SWIG_0(self,args);
20976 }
20977 if (argc == 1) {
20978 int _v;
20979 {
20980 void *ptr;
20981 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
20982 _v = 0;
20983 PyErr_Clear();
20984 } else {
20985 _v = 1;
20986 }
20987 }
20988 if (_v) {
20989 return _wrap_new_PrintDialogData__SWIG_1(self,args);
20990 }
20991 }
20992
20993 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintDialogData'");
20994 return NULL;
20995}
20996
20997
c32bde28 20998static PyObject *_wrap_delete_PrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20999 PyObject *resultobj;
21000 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21001 PyObject * obj0 = 0 ;
21002 char *kwnames[] = {
21003 (char *) "self", NULL
21004 };
21005
21006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
21007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21009 {
21010 PyThreadState* __tstate = wxPyBeginAllowThreads();
21011 delete arg1;
21012
21013 wxPyEndAllowThreads(__tstate);
21014 if (PyErr_Occurred()) SWIG_fail;
21015 }
21016 Py_INCREF(Py_None); resultobj = Py_None;
21017 return resultobj;
21018 fail:
21019 return NULL;
21020}
21021
21022
c32bde28 21023static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21024 PyObject *resultobj;
21025 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21026 int result;
21027 PyObject * obj0 = 0 ;
21028 char *kwnames[] = {
21029 (char *) "self", NULL
21030 };
21031
21032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
21033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21035 {
21036 PyThreadState* __tstate = wxPyBeginAllowThreads();
21037 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
21038
21039 wxPyEndAllowThreads(__tstate);
21040 if (PyErr_Occurred()) SWIG_fail;
21041 }
c32bde28 21042 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
21043 return resultobj;
21044 fail:
21045 return NULL;
21046}
21047
21048
c32bde28 21049static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21050 PyObject *resultobj;
21051 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21052 int result;
21053 PyObject * obj0 = 0 ;
21054 char *kwnames[] = {
21055 (char *) "self", NULL
21056 };
21057
21058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
21059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21061 {
21062 PyThreadState* __tstate = wxPyBeginAllowThreads();
21063 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
21064
21065 wxPyEndAllowThreads(__tstate);
21066 if (PyErr_Occurred()) SWIG_fail;
21067 }
c32bde28 21068 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
21069 return resultobj;
21070 fail:
21071 return NULL;
21072}
21073
21074
c32bde28 21075static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21076 PyObject *resultobj;
21077 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21078 int result;
21079 PyObject * obj0 = 0 ;
21080 char *kwnames[] = {
21081 (char *) "self", NULL
21082 };
21083
21084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
21085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21087 {
21088 PyThreadState* __tstate = wxPyBeginAllowThreads();
21089 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
21090
21091 wxPyEndAllowThreads(__tstate);
21092 if (PyErr_Occurred()) SWIG_fail;
21093 }
c32bde28 21094 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
21095 return resultobj;
21096 fail:
21097 return NULL;
21098}
21099
21100
c32bde28 21101static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21102 PyObject *resultobj;
21103 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21104 int result;
21105 PyObject * obj0 = 0 ;
21106 char *kwnames[] = {
21107 (char *) "self", NULL
21108 };
21109
21110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
21111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21113 {
21114 PyThreadState* __tstate = wxPyBeginAllowThreads();
21115 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
21116
21117 wxPyEndAllowThreads(__tstate);
21118 if (PyErr_Occurred()) SWIG_fail;
21119 }
c32bde28 21120 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
21121 return resultobj;
21122 fail:
21123 return NULL;
21124}
21125
21126
c32bde28 21127static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21128 PyObject *resultobj;
21129 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21130 int result;
21131 PyObject * obj0 = 0 ;
21132 char *kwnames[] = {
21133 (char *) "self", NULL
21134 };
21135
21136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
21137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21139 {
21140 PyThreadState* __tstate = wxPyBeginAllowThreads();
21141 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
21142
21143 wxPyEndAllowThreads(__tstate);
21144 if (PyErr_Occurred()) SWIG_fail;
21145 }
c32bde28 21146 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
21147 return resultobj;
21148 fail:
21149 return NULL;
21150}
21151
21152
c32bde28 21153static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21154 PyObject *resultobj;
21155 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21156 bool result;
21157 PyObject * obj0 = 0 ;
21158 char *kwnames[] = {
21159 (char *) "self", NULL
21160 };
21161
21162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
21163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21165 {
21166 PyThreadState* __tstate = wxPyBeginAllowThreads();
21167 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
21168
21169 wxPyEndAllowThreads(__tstate);
21170 if (PyErr_Occurred()) SWIG_fail;
21171 }
21172 {
21173 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21174 }
21175 return resultobj;
21176 fail:
21177 return NULL;
21178}
21179
21180
c32bde28 21181static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21182 PyObject *resultobj;
21183 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21184 bool result;
21185 PyObject * obj0 = 0 ;
21186 char *kwnames[] = {
21187 (char *) "self", NULL
21188 };
21189
21190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
21191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21193 {
21194 PyThreadState* __tstate = wxPyBeginAllowThreads();
21195 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
21196
21197 wxPyEndAllowThreads(__tstate);
21198 if (PyErr_Occurred()) SWIG_fail;
21199 }
21200 {
21201 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21202 }
21203 return resultobj;
21204 fail:
21205 return NULL;
21206}
21207
21208
c32bde28 21209static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21210 PyObject *resultobj;
21211 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21212 bool result;
21213 PyObject * obj0 = 0 ;
21214 char *kwnames[] = {
21215 (char *) "self", NULL
21216 };
21217
21218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
21219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21221 {
21222 PyThreadState* __tstate = wxPyBeginAllowThreads();
21223 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
21224
21225 wxPyEndAllowThreads(__tstate);
21226 if (PyErr_Occurred()) SWIG_fail;
21227 }
21228 {
21229 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21230 }
21231 return resultobj;
21232 fail:
21233 return NULL;
21234}
21235
21236
c32bde28 21237static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21238 PyObject *resultobj;
21239 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21240 bool result;
21241 PyObject * obj0 = 0 ;
21242 char *kwnames[] = {
21243 (char *) "self", NULL
21244 };
21245
21246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
21247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21249 {
21250 PyThreadState* __tstate = wxPyBeginAllowThreads();
21251 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
21252
21253 wxPyEndAllowThreads(__tstate);
21254 if (PyErr_Occurred()) SWIG_fail;
21255 }
21256 {
21257 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21258 }
21259 return resultobj;
21260 fail:
21261 return NULL;
21262}
21263
21264
c32bde28 21265static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21266 PyObject *resultobj;
21267 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21268 bool result;
21269 PyObject * obj0 = 0 ;
21270 char *kwnames[] = {
21271 (char *) "self", NULL
21272 };
21273
21274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
21275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21277 {
21278 PyThreadState* __tstate = wxPyBeginAllowThreads();
21279 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
21280
21281 wxPyEndAllowThreads(__tstate);
21282 if (PyErr_Occurred()) SWIG_fail;
21283 }
21284 {
21285 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21286 }
21287 return resultobj;
21288 fail:
21289 return NULL;
21290}
21291
21292
c32bde28 21293static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21294 PyObject *resultobj;
21295 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21296 int arg2 ;
21297 PyObject * obj0 = 0 ;
21298 PyObject * obj1 = 0 ;
21299 char *kwnames[] = {
21300 (char *) "self",(char *) "v", NULL
21301 };
21302
21303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
21304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21306 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
21307 if (PyErr_Occurred()) SWIG_fail;
21308 {
21309 PyThreadState* __tstate = wxPyBeginAllowThreads();
21310 (arg1)->SetFromPage(arg2);
21311
21312 wxPyEndAllowThreads(__tstate);
21313 if (PyErr_Occurred()) SWIG_fail;
21314 }
21315 Py_INCREF(Py_None); resultobj = Py_None;
21316 return resultobj;
21317 fail:
21318 return NULL;
21319}
21320
21321
c32bde28 21322static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21323 PyObject *resultobj;
21324 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21325 int arg2 ;
21326 PyObject * obj0 = 0 ;
21327 PyObject * obj1 = 0 ;
21328 char *kwnames[] = {
21329 (char *) "self",(char *) "v", NULL
21330 };
21331
21332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
21333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21335 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
21336 if (PyErr_Occurred()) SWIG_fail;
21337 {
21338 PyThreadState* __tstate = wxPyBeginAllowThreads();
21339 (arg1)->SetToPage(arg2);
21340
21341 wxPyEndAllowThreads(__tstate);
21342 if (PyErr_Occurred()) SWIG_fail;
21343 }
21344 Py_INCREF(Py_None); resultobj = Py_None;
21345 return resultobj;
21346 fail:
21347 return NULL;
21348}
21349
21350
c32bde28 21351static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21352 PyObject *resultobj;
21353 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21354 int arg2 ;
21355 PyObject * obj0 = 0 ;
21356 PyObject * obj1 = 0 ;
21357 char *kwnames[] = {
21358 (char *) "self",(char *) "v", NULL
21359 };
21360
21361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
21362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21364 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
21365 if (PyErr_Occurred()) SWIG_fail;
21366 {
21367 PyThreadState* __tstate = wxPyBeginAllowThreads();
21368 (arg1)->SetMinPage(arg2);
21369
21370 wxPyEndAllowThreads(__tstate);
21371 if (PyErr_Occurred()) SWIG_fail;
21372 }
21373 Py_INCREF(Py_None); resultobj = Py_None;
21374 return resultobj;
21375 fail:
21376 return NULL;
21377}
21378
21379
c32bde28 21380static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21381 PyObject *resultobj;
21382 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21383 int arg2 ;
21384 PyObject * obj0 = 0 ;
21385 PyObject * obj1 = 0 ;
21386 char *kwnames[] = {
21387 (char *) "self",(char *) "v", NULL
21388 };
21389
21390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
21391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21393 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
21394 if (PyErr_Occurred()) SWIG_fail;
21395 {
21396 PyThreadState* __tstate = wxPyBeginAllowThreads();
21397 (arg1)->SetMaxPage(arg2);
21398
21399 wxPyEndAllowThreads(__tstate);
21400 if (PyErr_Occurred()) SWIG_fail;
21401 }
21402 Py_INCREF(Py_None); resultobj = Py_None;
21403 return resultobj;
21404 fail:
21405 return NULL;
21406}
21407
21408
c32bde28 21409static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21410 PyObject *resultobj;
21411 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21412 int arg2 ;
21413 PyObject * obj0 = 0 ;
21414 PyObject * obj1 = 0 ;
21415 char *kwnames[] = {
21416 (char *) "self",(char *) "v", NULL
21417 };
21418
21419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
21420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21422 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
21423 if (PyErr_Occurred()) SWIG_fail;
21424 {
21425 PyThreadState* __tstate = wxPyBeginAllowThreads();
21426 (arg1)->SetNoCopies(arg2);
21427
21428 wxPyEndAllowThreads(__tstate);
21429 if (PyErr_Occurred()) SWIG_fail;
21430 }
21431 Py_INCREF(Py_None); resultobj = Py_None;
21432 return resultobj;
21433 fail:
21434 return NULL;
21435}
21436
21437
c32bde28 21438static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21439 PyObject *resultobj;
21440 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21441 bool arg2 ;
21442 PyObject * obj0 = 0 ;
21443 PyObject * obj1 = 0 ;
21444 char *kwnames[] = {
21445 (char *) "self",(char *) "flag", NULL
21446 };
21447
21448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
21449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21451 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
21452 if (PyErr_Occurred()) SWIG_fail;
21453 {
21454 PyThreadState* __tstate = wxPyBeginAllowThreads();
21455 (arg1)->SetAllPages(arg2);
21456
21457 wxPyEndAllowThreads(__tstate);
21458 if (PyErr_Occurred()) SWIG_fail;
21459 }
21460 Py_INCREF(Py_None); resultobj = Py_None;
21461 return resultobj;
21462 fail:
21463 return NULL;
21464}
21465
21466
c32bde28 21467static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21468 PyObject *resultobj;
21469 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21470 bool arg2 ;
21471 PyObject * obj0 = 0 ;
21472 PyObject * obj1 = 0 ;
21473 char *kwnames[] = {
21474 (char *) "self",(char *) "flag", NULL
21475 };
21476
21477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
21478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21480 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
21481 if (PyErr_Occurred()) SWIG_fail;
21482 {
21483 PyThreadState* __tstate = wxPyBeginAllowThreads();
21484 (arg1)->SetSelection(arg2);
21485
21486 wxPyEndAllowThreads(__tstate);
21487 if (PyErr_Occurred()) SWIG_fail;
21488 }
21489 Py_INCREF(Py_None); resultobj = Py_None;
21490 return resultobj;
21491 fail:
21492 return NULL;
21493}
21494
21495
c32bde28 21496static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21497 PyObject *resultobj;
21498 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21499 bool arg2 ;
21500 PyObject * obj0 = 0 ;
21501 PyObject * obj1 = 0 ;
21502 char *kwnames[] = {
21503 (char *) "self",(char *) "flag", NULL
21504 };
21505
21506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
21507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21509 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
21510 if (PyErr_Occurred()) SWIG_fail;
21511 {
21512 PyThreadState* __tstate = wxPyBeginAllowThreads();
21513 (arg1)->SetCollate(arg2);
21514
21515 wxPyEndAllowThreads(__tstate);
21516 if (PyErr_Occurred()) SWIG_fail;
21517 }
21518 Py_INCREF(Py_None); resultobj = Py_None;
21519 return resultobj;
21520 fail:
21521 return NULL;
21522}
21523
21524
c32bde28 21525static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21526 PyObject *resultobj;
21527 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21528 bool arg2 ;
21529 PyObject * obj0 = 0 ;
21530 PyObject * obj1 = 0 ;
21531 char *kwnames[] = {
21532 (char *) "self",(char *) "flag", NULL
21533 };
21534
21535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
21536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21538 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
21539 if (PyErr_Occurred()) SWIG_fail;
21540 {
21541 PyThreadState* __tstate = wxPyBeginAllowThreads();
21542 (arg1)->SetPrintToFile(arg2);
21543
21544 wxPyEndAllowThreads(__tstate);
21545 if (PyErr_Occurred()) SWIG_fail;
21546 }
21547 Py_INCREF(Py_None); resultobj = Py_None;
21548 return resultobj;
21549 fail:
21550 return NULL;
21551}
21552
21553
c32bde28 21554static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21555 PyObject *resultobj;
21556 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21557 bool arg2 ;
21558 PyObject * obj0 = 0 ;
21559 PyObject * obj1 = 0 ;
21560 char *kwnames[] = {
21561 (char *) "self",(char *) "flag", NULL
21562 };
21563
21564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
21565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21567 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
21568 if (PyErr_Occurred()) SWIG_fail;
21569 {
21570 PyThreadState* __tstate = wxPyBeginAllowThreads();
21571 (arg1)->SetSetupDialog(arg2);
21572
21573 wxPyEndAllowThreads(__tstate);
21574 if (PyErr_Occurred()) SWIG_fail;
21575 }
21576 Py_INCREF(Py_None); resultobj = Py_None;
21577 return resultobj;
21578 fail:
21579 return NULL;
21580}
21581
21582
c32bde28 21583static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21584 PyObject *resultobj;
21585 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21586 bool arg2 ;
21587 PyObject * obj0 = 0 ;
21588 PyObject * obj1 = 0 ;
21589 char *kwnames[] = {
21590 (char *) "self",(char *) "flag", NULL
21591 };
21592
21593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
21594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21596 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
21597 if (PyErr_Occurred()) SWIG_fail;
21598 {
21599 PyThreadState* __tstate = wxPyBeginAllowThreads();
21600 (arg1)->EnablePrintToFile(arg2);
21601
21602 wxPyEndAllowThreads(__tstate);
21603 if (PyErr_Occurred()) SWIG_fail;
21604 }
21605 Py_INCREF(Py_None); resultobj = Py_None;
21606 return resultobj;
21607 fail:
21608 return NULL;
21609}
21610
21611
c32bde28 21612static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21613 PyObject *resultobj;
21614 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21615 bool arg2 ;
21616 PyObject * obj0 = 0 ;
21617 PyObject * obj1 = 0 ;
21618 char *kwnames[] = {
21619 (char *) "self",(char *) "flag", NULL
21620 };
21621
21622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
21623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21625 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
21626 if (PyErr_Occurred()) SWIG_fail;
21627 {
21628 PyThreadState* __tstate = wxPyBeginAllowThreads();
21629 (arg1)->EnableSelection(arg2);
21630
21631 wxPyEndAllowThreads(__tstate);
21632 if (PyErr_Occurred()) SWIG_fail;
21633 }
21634 Py_INCREF(Py_None); resultobj = Py_None;
21635 return resultobj;
21636 fail:
21637 return NULL;
21638}
21639
21640
c32bde28 21641static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21642 PyObject *resultobj;
21643 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21644 bool arg2 ;
21645 PyObject * obj0 = 0 ;
21646 PyObject * obj1 = 0 ;
21647 char *kwnames[] = {
21648 (char *) "self",(char *) "flag", NULL
21649 };
21650
21651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
21652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21654 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
21655 if (PyErr_Occurred()) SWIG_fail;
21656 {
21657 PyThreadState* __tstate = wxPyBeginAllowThreads();
21658 (arg1)->EnablePageNumbers(arg2);
21659
21660 wxPyEndAllowThreads(__tstate);
21661 if (PyErr_Occurred()) SWIG_fail;
21662 }
21663 Py_INCREF(Py_None); resultobj = Py_None;
21664 return resultobj;
21665 fail:
21666 return NULL;
21667}
21668
21669
c32bde28 21670static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21671 PyObject *resultobj;
21672 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21673 bool arg2 ;
21674 PyObject * obj0 = 0 ;
21675 PyObject * obj1 = 0 ;
21676 char *kwnames[] = {
21677 (char *) "self",(char *) "flag", NULL
21678 };
21679
21680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
21681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21683 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
21684 if (PyErr_Occurred()) SWIG_fail;
21685 {
21686 PyThreadState* __tstate = wxPyBeginAllowThreads();
21687 (arg1)->EnableHelp(arg2);
21688
21689 wxPyEndAllowThreads(__tstate);
21690 if (PyErr_Occurred()) SWIG_fail;
21691 }
21692 Py_INCREF(Py_None); resultobj = Py_None;
21693 return resultobj;
21694 fail:
21695 return NULL;
21696}
21697
21698
c32bde28 21699static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21700 PyObject *resultobj;
21701 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21702 bool result;
21703 PyObject * obj0 = 0 ;
21704 char *kwnames[] = {
21705 (char *) "self", NULL
21706 };
21707
21708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
21709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21711 {
21712 PyThreadState* __tstate = wxPyBeginAllowThreads();
21713 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
21714
21715 wxPyEndAllowThreads(__tstate);
21716 if (PyErr_Occurred()) SWIG_fail;
21717 }
21718 {
21719 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21720 }
21721 return resultobj;
21722 fail:
21723 return NULL;
21724}
21725
21726
c32bde28 21727static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21728 PyObject *resultobj;
21729 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21730 bool result;
21731 PyObject * obj0 = 0 ;
21732 char *kwnames[] = {
21733 (char *) "self", NULL
21734 };
21735
21736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
21737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21739 {
21740 PyThreadState* __tstate = wxPyBeginAllowThreads();
21741 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
21742
21743 wxPyEndAllowThreads(__tstate);
21744 if (PyErr_Occurred()) SWIG_fail;
21745 }
21746 {
21747 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21748 }
21749 return resultobj;
21750 fail:
21751 return NULL;
21752}
21753
21754
c32bde28 21755static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21756 PyObject *resultobj;
21757 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21758 bool result;
21759 PyObject * obj0 = 0 ;
21760 char *kwnames[] = {
21761 (char *) "self", NULL
21762 };
21763
21764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
21765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21767 {
21768 PyThreadState* __tstate = wxPyBeginAllowThreads();
21769 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
21770
21771 wxPyEndAllowThreads(__tstate);
21772 if (PyErr_Occurred()) SWIG_fail;
21773 }
21774 {
21775 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21776 }
21777 return resultobj;
21778 fail:
21779 return NULL;
21780}
21781
21782
c32bde28 21783static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21784 PyObject *resultobj;
21785 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21786 bool result;
21787 PyObject * obj0 = 0 ;
21788 char *kwnames[] = {
21789 (char *) "self", NULL
21790 };
21791
21792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
21793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21795 {
21796 PyThreadState* __tstate = wxPyBeginAllowThreads();
21797 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
21798
21799 wxPyEndAllowThreads(__tstate);
21800 if (PyErr_Occurred()) SWIG_fail;
21801 }
21802 {
21803 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21804 }
21805 return resultobj;
21806 fail:
21807 return NULL;
21808}
21809
21810
c32bde28 21811static PyObject *_wrap_PrintDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21812 PyObject *resultobj;
21813 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21814 bool result;
21815 PyObject * obj0 = 0 ;
21816 char *kwnames[] = {
21817 (char *) "self", NULL
21818 };
21819
21820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
21821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21823 {
21824 PyThreadState* __tstate = wxPyBeginAllowThreads();
21825 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
21826
21827 wxPyEndAllowThreads(__tstate);
21828 if (PyErr_Occurred()) SWIG_fail;
21829 }
21830 {
21831 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21832 }
21833 return resultobj;
21834 fail:
21835 return NULL;
21836}
21837
21838
c32bde28 21839static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21840 PyObject *resultobj;
21841 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21842 wxPrintData *result;
21843 PyObject * obj0 = 0 ;
21844 char *kwnames[] = {
21845 (char *) "self", NULL
21846 };
21847
21848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
21849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21851 {
21852 PyThreadState* __tstate = wxPyBeginAllowThreads();
21853 {
21854 wxPrintData &_result_ref = (arg1)->GetPrintData();
21855 result = (wxPrintData *) &_result_ref;
21856 }
21857
21858 wxPyEndAllowThreads(__tstate);
21859 if (PyErr_Occurred()) SWIG_fail;
21860 }
21861 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
21862 return resultobj;
21863 fail:
21864 return NULL;
21865}
21866
21867
c32bde28 21868static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21869 PyObject *resultobj;
21870 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21871 wxPrintData *arg2 = 0 ;
21872 PyObject * obj0 = 0 ;
21873 PyObject * obj1 = 0 ;
21874 char *kwnames[] = {
21875 (char *) "self",(char *) "printData", NULL
21876 };
21877
21878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
21879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21881 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
21882 SWIG_POINTER_EXCEPTION | 0)) == -1)
21883 SWIG_fail;
21884 if (arg2 == NULL) {
21885 PyErr_SetString(PyExc_TypeError,"null reference");
21886 SWIG_fail;
21887 }
21888 {
21889 PyThreadState* __tstate = wxPyBeginAllowThreads();
21890 (arg1)->SetPrintData((wxPrintData const &)*arg2);
21891
21892 wxPyEndAllowThreads(__tstate);
21893 if (PyErr_Occurred()) SWIG_fail;
21894 }
21895 Py_INCREF(Py_None); resultobj = Py_None;
21896 return resultobj;
21897 fail:
21898 return NULL;
21899}
21900
21901
c32bde28 21902static PyObject * PrintDialogData_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
21903 PyObject *obj;
21904 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21905 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
21906 Py_INCREF(obj);
21907 return Py_BuildValue((char *)"");
21908}
c32bde28 21909static PyObject *_wrap_new_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21910 PyObject *resultobj;
21911 wxWindow *arg1 = (wxWindow *) 0 ;
21912 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
21913 wxPrintDialog *result;
21914 PyObject * obj0 = 0 ;
21915 PyObject * obj1 = 0 ;
21916 char *kwnames[] = {
21917 (char *) "parent",(char *) "data", NULL
21918 };
21919
21920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
21921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21923 if (obj1) {
21924 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintDialogData,
21925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21926 }
21927 {
0439c23b 21928 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
21929 PyThreadState* __tstate = wxPyBeginAllowThreads();
21930 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
21931
21932 wxPyEndAllowThreads(__tstate);
110da5b0 21933 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
21934 }
21935 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
21936 return resultobj;
21937 fail:
21938 return NULL;
21939}
21940
21941
c32bde28 21942static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21943 PyObject *resultobj;
21944 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21945 wxPrintDialogData *result;
21946 PyObject * obj0 = 0 ;
21947 char *kwnames[] = {
21948 (char *) "self", NULL
21949 };
21950
21951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
21952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21954 {
21955 PyThreadState* __tstate = wxPyBeginAllowThreads();
21956 {
21957 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
21958 result = (wxPrintDialogData *) &_result_ref;
21959 }
21960
21961 wxPyEndAllowThreads(__tstate);
21962 if (PyErr_Occurred()) SWIG_fail;
21963 }
21964 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
21965 return resultobj;
21966 fail:
21967 return NULL;
21968}
21969
21970
c32bde28 21971static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21972 PyObject *resultobj;
21973 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21974 wxDC *result;
21975 PyObject * obj0 = 0 ;
21976 char *kwnames[] = {
21977 (char *) "self", NULL
21978 };
21979
21980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
21981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21983 {
21984 PyThreadState* __tstate = wxPyBeginAllowThreads();
21985 result = (wxDC *)(arg1)->GetPrintDC();
21986
21987 wxPyEndAllowThreads(__tstate);
21988 if (PyErr_Occurred()) SWIG_fail;
21989 }
21990 {
412d302d 21991 resultobj = wxPyMake_wxObject(result, 1);
d55e5bfc
RD
21992 }
21993 return resultobj;
21994 fail:
21995 return NULL;
21996}
21997
21998
c32bde28 21999static PyObject *_wrap_PrintDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22000 PyObject *resultobj;
22001 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
22002 int result;
22003 PyObject * obj0 = 0 ;
22004 char *kwnames[] = {
22005 (char *) "self", NULL
22006 };
22007
22008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
22009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
22010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22011 {
22012 PyThreadState* __tstate = wxPyBeginAllowThreads();
22013 result = (int)(arg1)->ShowModal();
22014
22015 wxPyEndAllowThreads(__tstate);
22016 if (PyErr_Occurred()) SWIG_fail;
22017 }
c32bde28 22018 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
22019 return resultobj;
22020 fail:
22021 return NULL;
22022}
22023
22024
c32bde28 22025static PyObject * PrintDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
22026 PyObject *obj;
22027 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22028 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
22029 Py_INCREF(obj);
22030 return Py_BuildValue((char *)"");
22031}
c32bde28 22032static PyObject *_wrap_new_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22033 PyObject *resultobj;
22034 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
22035 wxPrinter *result;
22036 PyObject * obj0 = 0 ;
22037 char *kwnames[] = {
22038 (char *) "data", NULL
22039 };
22040
22041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
22042 if (obj0) {
22043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
22044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22045 }
22046 {
0439c23b 22047 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
22048 PyThreadState* __tstate = wxPyBeginAllowThreads();
22049 result = (wxPrinter *)new wxPrinter(arg1);
22050
22051 wxPyEndAllowThreads(__tstate);
110da5b0 22052 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
22053 }
22054 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
22055 return resultobj;
22056 fail:
22057 return NULL;
22058}
22059
22060
c32bde28 22061static PyObject *_wrap_delete_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22062 PyObject *resultobj;
22063 wxPrinter *arg1 = (wxPrinter *) 0 ;
22064 PyObject * obj0 = 0 ;
22065 char *kwnames[] = {
22066 (char *) "self", NULL
22067 };
22068
22069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
22070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22072 {
22073 PyThreadState* __tstate = wxPyBeginAllowThreads();
22074 delete arg1;
22075
22076 wxPyEndAllowThreads(__tstate);
22077 if (PyErr_Occurred()) SWIG_fail;
22078 }
22079 Py_INCREF(Py_None); resultobj = Py_None;
22080 return resultobj;
22081 fail:
22082 return NULL;
22083}
22084
22085
c32bde28 22086static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22087 PyObject *resultobj;
22088 wxPrinter *arg1 = (wxPrinter *) 0 ;
22089 wxWindow *arg2 = (wxWindow *) 0 ;
22090 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
22091 PyObject * obj0 = 0 ;
22092 PyObject * obj1 = 0 ;
22093 PyObject * obj2 = 0 ;
22094 char *kwnames[] = {
22095 (char *) "self",(char *) "parent",(char *) "printout", NULL
22096 };
22097
22098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
22099 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22101 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22103 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
22104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22105 {
22106 PyThreadState* __tstate = wxPyBeginAllowThreads();
22107 (arg1)->CreateAbortWindow(arg2,arg3);
22108
22109 wxPyEndAllowThreads(__tstate);
22110 if (PyErr_Occurred()) SWIG_fail;
22111 }
22112 Py_INCREF(Py_None); resultobj = Py_None;
22113 return resultobj;
22114 fail:
22115 return NULL;
22116}
22117
22118
c32bde28 22119static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22120 PyObject *resultobj;
22121 wxPrinter *arg1 = (wxPrinter *) 0 ;
22122 wxPrintDialogData *result;
22123 PyObject * obj0 = 0 ;
22124 char *kwnames[] = {
22125 (char *) "self", NULL
22126 };
22127
22128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
22129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22131 {
22132 PyThreadState* __tstate = wxPyBeginAllowThreads();
22133 {
22134 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
22135 result = (wxPrintDialogData *) &_result_ref;
22136 }
22137
22138 wxPyEndAllowThreads(__tstate);
22139 if (PyErr_Occurred()) SWIG_fail;
22140 }
22141 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
22142 return resultobj;
22143 fail:
22144 return NULL;
22145}
22146
22147
c32bde28 22148static PyObject *_wrap_Printer_Print(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22149 PyObject *resultobj;
22150 wxPrinter *arg1 = (wxPrinter *) 0 ;
22151 wxWindow *arg2 = (wxWindow *) 0 ;
22152 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
ae8162c8 22153 int arg4 = (int) true ;
d55e5bfc
RD
22154 bool result;
22155 PyObject * obj0 = 0 ;
22156 PyObject * obj1 = 0 ;
22157 PyObject * obj2 = 0 ;
22158 PyObject * obj3 = 0 ;
22159 char *kwnames[] = {
22160 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
22161 };
22162
22163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22164 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22166 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22168 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
22169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22170 if (obj3) {
c32bde28 22171 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc
RD
22172 if (PyErr_Occurred()) SWIG_fail;
22173 }
22174 {
22175 PyThreadState* __tstate = wxPyBeginAllowThreads();
22176 result = (bool)(arg1)->Print(arg2,arg3,arg4);
22177
22178 wxPyEndAllowThreads(__tstate);
22179 if (PyErr_Occurred()) SWIG_fail;
22180 }
22181 {
22182 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22183 }
22184 return resultobj;
22185 fail:
22186 return NULL;
22187}
22188
22189
c32bde28 22190static PyObject *_wrap_Printer_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22191 PyObject *resultobj;
22192 wxPrinter *arg1 = (wxPrinter *) 0 ;
22193 wxWindow *arg2 = (wxWindow *) 0 ;
22194 wxDC *result;
22195 PyObject * obj0 = 0 ;
22196 PyObject * obj1 = 0 ;
22197 char *kwnames[] = {
22198 (char *) "self",(char *) "parent", NULL
22199 };
22200
22201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
22202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22204 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22206 {
22207 PyThreadState* __tstate = wxPyBeginAllowThreads();
22208 result = (wxDC *)(arg1)->PrintDialog(arg2);
22209
22210 wxPyEndAllowThreads(__tstate);
22211 if (PyErr_Occurred()) SWIG_fail;
22212 }
22213 {
412d302d 22214 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
22215 }
22216 return resultobj;
22217 fail:
22218 return NULL;
22219}
22220
22221
c32bde28 22222static PyObject *_wrap_Printer_ReportError(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22223 PyObject *resultobj;
22224 wxPrinter *arg1 = (wxPrinter *) 0 ;
22225 wxWindow *arg2 = (wxWindow *) 0 ;
22226 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
22227 wxString *arg4 = 0 ;
ae8162c8 22228 bool temp4 = false ;
d55e5bfc
RD
22229 PyObject * obj0 = 0 ;
22230 PyObject * obj1 = 0 ;
22231 PyObject * obj2 = 0 ;
22232 PyObject * obj3 = 0 ;
22233 char *kwnames[] = {
22234 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
22235 };
22236
22237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22240 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22242 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
22243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22244 {
22245 arg4 = wxString_in_helper(obj3);
22246 if (arg4 == NULL) SWIG_fail;
ae8162c8 22247 temp4 = true;
d55e5bfc
RD
22248 }
22249 {
22250 PyThreadState* __tstate = wxPyBeginAllowThreads();
22251 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
22252
22253 wxPyEndAllowThreads(__tstate);
22254 if (PyErr_Occurred()) SWIG_fail;
22255 }
22256 Py_INCREF(Py_None); resultobj = Py_None;
22257 {
22258 if (temp4)
22259 delete arg4;
22260 }
22261 return resultobj;
22262 fail:
22263 {
22264 if (temp4)
22265 delete arg4;
22266 }
22267 return NULL;
22268}
22269
22270
c32bde28 22271static PyObject *_wrap_Printer_Setup(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22272 PyObject *resultobj;
22273 wxPrinter *arg1 = (wxPrinter *) 0 ;
22274 wxWindow *arg2 = (wxWindow *) 0 ;
22275 bool result;
22276 PyObject * obj0 = 0 ;
22277 PyObject * obj1 = 0 ;
22278 char *kwnames[] = {
22279 (char *) "self",(char *) "parent", NULL
22280 };
22281
22282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
22283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22285 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22287 {
22288 PyThreadState* __tstate = wxPyBeginAllowThreads();
22289 result = (bool)(arg1)->Setup(arg2);
22290
22291 wxPyEndAllowThreads(__tstate);
22292 if (PyErr_Occurred()) SWIG_fail;
22293 }
22294 {
22295 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22296 }
22297 return resultobj;
22298 fail:
22299 return NULL;
22300}
22301
22302
c32bde28 22303static PyObject *_wrap_Printer_GetAbort(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22304 PyObject *resultobj;
22305 wxPrinter *arg1 = (wxPrinter *) 0 ;
22306 bool result;
22307 PyObject * obj0 = 0 ;
22308 char *kwnames[] = {
22309 (char *) "self", NULL
22310 };
22311
22312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
22313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
22314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22315 {
22316 PyThreadState* __tstate = wxPyBeginAllowThreads();
22317 result = (bool)(arg1)->GetAbort();
22318
22319 wxPyEndAllowThreads(__tstate);
22320 if (PyErr_Occurred()) SWIG_fail;
22321 }
22322 {
22323 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22324 }
22325 return resultobj;
22326 fail:
22327 return NULL;
22328}
22329
22330
c32bde28 22331static PyObject *_wrap_Printer_GetLastError(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22332 PyObject *resultobj;
22333 int result;
22334 char *kwnames[] = {
22335 NULL
22336 };
22337
22338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
22339 {
22340 PyThreadState* __tstate = wxPyBeginAllowThreads();
22341 result = (int)wxPrinter::GetLastError();
22342
22343 wxPyEndAllowThreads(__tstate);
22344 if (PyErr_Occurred()) SWIG_fail;
22345 }
c32bde28 22346 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
22347 return resultobj;
22348 fail:
22349 return NULL;
22350}
22351
22352
c32bde28 22353static PyObject * Printer_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
22354 PyObject *obj;
22355 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22356 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
22357 Py_INCREF(obj);
22358 return Py_BuildValue((char *)"");
22359}
c32bde28 22360static PyObject *_wrap_new_Printout(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22361 PyObject *resultobj;
22362 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
22363 wxString *arg1 = (wxString *) &arg1_defvalue ;
22364 wxPyPrintout *result;
ae8162c8 22365 bool temp1 = false ;
d55e5bfc
RD
22366 PyObject * obj0 = 0 ;
22367 char *kwnames[] = {
22368 (char *) "title", NULL
22369 };
22370
22371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
22372 if (obj0) {
22373 {
22374 arg1 = wxString_in_helper(obj0);
22375 if (arg1 == NULL) SWIG_fail;
ae8162c8 22376 temp1 = true;
d55e5bfc
RD
22377 }
22378 }
22379 {
0439c23b 22380 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
22381 PyThreadState* __tstate = wxPyBeginAllowThreads();
22382 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
22383
22384 wxPyEndAllowThreads(__tstate);
110da5b0 22385 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
22386 }
22387 {
412d302d 22388 resultobj = wxPyMake_wxObject(result, 1);
d55e5bfc
RD
22389 }
22390 {
22391 if (temp1)
22392 delete arg1;
22393 }
22394 return resultobj;
22395 fail:
22396 {
22397 if (temp1)
22398 delete arg1;
22399 }
22400 return NULL;
22401}
22402
22403
c32bde28 22404static PyObject *_wrap_Printout__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22405 PyObject *resultobj;
22406 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22407 PyObject *arg2 = (PyObject *) 0 ;
22408 PyObject *arg3 = (PyObject *) 0 ;
22409 PyObject * obj0 = 0 ;
22410 PyObject * obj1 = 0 ;
22411 PyObject * obj2 = 0 ;
22412 char *kwnames[] = {
22413 (char *) "self",(char *) "self",(char *) "_class", NULL
22414 };
22415
22416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22419 arg2 = obj1;
22420 arg3 = obj2;
22421 {
22422 PyThreadState* __tstate = wxPyBeginAllowThreads();
22423 (arg1)->_setCallbackInfo(arg2,arg3);
22424
22425 wxPyEndAllowThreads(__tstate);
22426 if (PyErr_Occurred()) SWIG_fail;
22427 }
22428 Py_INCREF(Py_None); resultobj = Py_None;
22429 return resultobj;
22430 fail:
22431 return NULL;
22432}
22433
22434
c32bde28 22435static PyObject *_wrap_Printout_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22436 PyObject *resultobj;
22437 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22438 wxString result;
22439 PyObject * obj0 = 0 ;
22440 char *kwnames[] = {
22441 (char *) "self", NULL
22442 };
22443
22444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
22445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22447 {
22448 PyThreadState* __tstate = wxPyBeginAllowThreads();
22449 result = ((wxPyPrintout const *)arg1)->GetTitle();
22450
22451 wxPyEndAllowThreads(__tstate);
22452 if (PyErr_Occurred()) SWIG_fail;
22453 }
22454 {
22455#if wxUSE_UNICODE
22456 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22457#else
22458 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22459#endif
22460 }
22461 return resultobj;
22462 fail:
22463 return NULL;
22464}
22465
22466
c32bde28 22467static PyObject *_wrap_Printout_GetDC(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22468 PyObject *resultobj;
22469 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22470 wxDC *result;
22471 PyObject * obj0 = 0 ;
22472 char *kwnames[] = {
22473 (char *) "self", NULL
22474 };
22475
22476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
22477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22479 {
22480 PyThreadState* __tstate = wxPyBeginAllowThreads();
22481 result = (wxDC *)(arg1)->GetDC();
22482
22483 wxPyEndAllowThreads(__tstate);
22484 if (PyErr_Occurred()) SWIG_fail;
22485 }
22486 {
412d302d 22487 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
22488 }
22489 return resultobj;
22490 fail:
22491 return NULL;
22492}
22493
22494
c32bde28 22495static PyObject *_wrap_Printout_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22496 PyObject *resultobj;
22497 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22498 wxDC *arg2 = (wxDC *) 0 ;
22499 PyObject * obj0 = 0 ;
22500 PyObject * obj1 = 0 ;
22501 char *kwnames[] = {
22502 (char *) "self",(char *) "dc", NULL
22503 };
22504
22505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
22506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22508 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22510 {
22511 PyThreadState* __tstate = wxPyBeginAllowThreads();
22512 (arg1)->SetDC(arg2);
22513
22514 wxPyEndAllowThreads(__tstate);
22515 if (PyErr_Occurred()) SWIG_fail;
22516 }
22517 Py_INCREF(Py_None); resultobj = Py_None;
22518 return resultobj;
22519 fail:
22520 return NULL;
22521}
22522
22523
c32bde28 22524static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22525 PyObject *resultobj;
22526 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22527 int arg2 ;
22528 int arg3 ;
22529 PyObject * obj0 = 0 ;
22530 PyObject * obj1 = 0 ;
22531 PyObject * obj2 = 0 ;
22532 char *kwnames[] = {
22533 (char *) "self",(char *) "w",(char *) "h", NULL
22534 };
22535
22536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
22537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22539 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 22540 if (PyErr_Occurred()) SWIG_fail;
c32bde28 22541 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
22542 if (PyErr_Occurred()) SWIG_fail;
22543 {
22544 PyThreadState* __tstate = wxPyBeginAllowThreads();
22545 (arg1)->SetPageSizePixels(arg2,arg3);
22546
22547 wxPyEndAllowThreads(__tstate);
22548 if (PyErr_Occurred()) SWIG_fail;
22549 }
22550 Py_INCREF(Py_None); resultobj = Py_None;
22551 return resultobj;
22552 fail:
22553 return NULL;
22554}
22555
22556
c32bde28 22557static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22558 PyObject *resultobj;
22559 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22560 int *arg2 = (int *) 0 ;
22561 int *arg3 = (int *) 0 ;
22562 int temp2 ;
c32bde28 22563 int res2 = 0 ;
d55e5bfc 22564 int temp3 ;
c32bde28 22565 int res3 = 0 ;
d55e5bfc
RD
22566 PyObject * obj0 = 0 ;
22567 char *kwnames[] = {
22568 (char *) "self", NULL
22569 };
22570
c32bde28
RD
22571 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22572 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc
RD
22573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
22574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22576 {
22577 PyThreadState* __tstate = wxPyBeginAllowThreads();
22578 (arg1)->GetPageSizePixels(arg2,arg3);
22579
22580 wxPyEndAllowThreads(__tstate);
22581 if (PyErr_Occurred()) SWIG_fail;
22582 }
22583 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
22584 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22585 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22586 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22587 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
22588 return resultobj;
22589 fail:
22590 return NULL;
22591}
22592
22593
c32bde28 22594static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22595 PyObject *resultobj;
22596 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22597 int arg2 ;
22598 int arg3 ;
22599 PyObject * obj0 = 0 ;
22600 PyObject * obj1 = 0 ;
22601 PyObject * obj2 = 0 ;
22602 char *kwnames[] = {
22603 (char *) "self",(char *) "w",(char *) "h", NULL
22604 };
22605
22606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
22607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22609 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 22610 if (PyErr_Occurred()) SWIG_fail;
c32bde28 22611 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
22612 if (PyErr_Occurred()) SWIG_fail;
22613 {
22614 PyThreadState* __tstate = wxPyBeginAllowThreads();
22615 (arg1)->SetPageSizeMM(arg2,arg3);
22616
22617 wxPyEndAllowThreads(__tstate);
22618 if (PyErr_Occurred()) SWIG_fail;
22619 }
22620 Py_INCREF(Py_None); resultobj = Py_None;
22621 return resultobj;
22622 fail:
22623 return NULL;
22624}
22625
22626
c32bde28 22627static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22628 PyObject *resultobj;
22629 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22630 int *arg2 = (int *) 0 ;
22631 int *arg3 = (int *) 0 ;
22632 int temp2 ;
c32bde28 22633 int res2 = 0 ;
d55e5bfc 22634 int temp3 ;
c32bde28 22635 int res3 = 0 ;
d55e5bfc
RD
22636 PyObject * obj0 = 0 ;
22637 char *kwnames[] = {
22638 (char *) "self", NULL
22639 };
22640
c32bde28
RD
22641 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22642 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc
RD
22643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
22644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22646 {
22647 PyThreadState* __tstate = wxPyBeginAllowThreads();
22648 (arg1)->GetPageSizeMM(arg2,arg3);
22649
22650 wxPyEndAllowThreads(__tstate);
22651 if (PyErr_Occurred()) SWIG_fail;
22652 }
22653 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
22654 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22655 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22656 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22657 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
22658 return resultobj;
22659 fail:
22660 return NULL;
22661}
22662
22663
c32bde28 22664static PyObject *_wrap_Printout_SetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22665 PyObject *resultobj;
22666 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22667 int arg2 ;
22668 int arg3 ;
22669 PyObject * obj0 = 0 ;
22670 PyObject * obj1 = 0 ;
22671 PyObject * obj2 = 0 ;
22672 char *kwnames[] = {
22673 (char *) "self",(char *) "x",(char *) "y", NULL
22674 };
22675
22676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
22677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22679 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 22680 if (PyErr_Occurred()) SWIG_fail;
c32bde28 22681 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
22682 if (PyErr_Occurred()) SWIG_fail;
22683 {
22684 PyThreadState* __tstate = wxPyBeginAllowThreads();
22685 (arg1)->SetPPIScreen(arg2,arg3);
22686
22687 wxPyEndAllowThreads(__tstate);
22688 if (PyErr_Occurred()) SWIG_fail;
22689 }
22690 Py_INCREF(Py_None); resultobj = Py_None;
22691 return resultobj;
22692 fail:
22693 return NULL;
22694}
22695
22696
c32bde28 22697static PyObject *_wrap_Printout_GetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22698 PyObject *resultobj;
22699 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22700 int *arg2 = (int *) 0 ;
22701 int *arg3 = (int *) 0 ;
22702 int temp2 ;
c32bde28 22703 int res2 = 0 ;
d55e5bfc 22704 int temp3 ;
c32bde28 22705 int res3 = 0 ;
d55e5bfc
RD
22706 PyObject * obj0 = 0 ;
22707 char *kwnames[] = {
22708 (char *) "self", NULL
22709 };
22710
c32bde28
RD
22711 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22712 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc
RD
22713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
22714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22716 {
22717 PyThreadState* __tstate = wxPyBeginAllowThreads();
22718 (arg1)->GetPPIScreen(arg2,arg3);
22719
22720 wxPyEndAllowThreads(__tstate);
22721 if (PyErr_Occurred()) SWIG_fail;
22722 }
22723 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
22724 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22725 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22726 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22727 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
22728 return resultobj;
22729 fail:
22730 return NULL;
22731}
22732
22733
c32bde28 22734static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22735 PyObject *resultobj;
22736 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22737 int arg2 ;
22738 int arg3 ;
22739 PyObject * obj0 = 0 ;
22740 PyObject * obj1 = 0 ;
22741 PyObject * obj2 = 0 ;
22742 char *kwnames[] = {
22743 (char *) "self",(char *) "x",(char *) "y", NULL
22744 };
22745
22746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
22747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22749 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 22750 if (PyErr_Occurred()) SWIG_fail;
c32bde28 22751 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
22752 if (PyErr_Occurred()) SWIG_fail;
22753 {
22754 PyThreadState* __tstate = wxPyBeginAllowThreads();
22755 (arg1)->SetPPIPrinter(arg2,arg3);
22756
22757 wxPyEndAllowThreads(__tstate);
22758 if (PyErr_Occurred()) SWIG_fail;
22759 }
22760 Py_INCREF(Py_None); resultobj = Py_None;
22761 return resultobj;
22762 fail:
22763 return NULL;
22764}
22765
22766
c32bde28 22767static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22768 PyObject *resultobj;
22769 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22770 int *arg2 = (int *) 0 ;
22771 int *arg3 = (int *) 0 ;
22772 int temp2 ;
c32bde28 22773 int res2 = 0 ;
d55e5bfc 22774 int temp3 ;
c32bde28 22775 int res3 = 0 ;
d55e5bfc
RD
22776 PyObject * obj0 = 0 ;
22777 char *kwnames[] = {
22778 (char *) "self", NULL
22779 };
22780
c32bde28
RD
22781 arg2 = &temp2; res2 = SWIG_NEWOBJ;
22782 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc
RD
22783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
22784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22786 {
22787 PyThreadState* __tstate = wxPyBeginAllowThreads();
22788 (arg1)->GetPPIPrinter(arg2,arg3);
22789
22790 wxPyEndAllowThreads(__tstate);
22791 if (PyErr_Occurred()) SWIG_fail;
22792 }
22793 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
22794 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
22795 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
22796 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
22797 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
22798 return resultobj;
22799 fail:
22800 return NULL;
22801}
22802
22803
c32bde28 22804static PyObject *_wrap_Printout_IsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22805 PyObject *resultobj;
22806 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22807 bool result;
22808 PyObject * obj0 = 0 ;
22809 char *kwnames[] = {
22810 (char *) "self", NULL
22811 };
22812
22813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
22814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22816 {
22817 PyThreadState* __tstate = wxPyBeginAllowThreads();
22818 result = (bool)(arg1)->IsPreview();
22819
22820 wxPyEndAllowThreads(__tstate);
22821 if (PyErr_Occurred()) SWIG_fail;
22822 }
22823 {
22824 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22825 }
22826 return resultobj;
22827 fail:
22828 return NULL;
22829}
22830
22831
c32bde28 22832static PyObject *_wrap_Printout_SetIsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22833 PyObject *resultobj;
22834 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22835 bool arg2 ;
22836 PyObject * obj0 = 0 ;
22837 PyObject * obj1 = 0 ;
22838 char *kwnames[] = {
22839 (char *) "self",(char *) "p", NULL
22840 };
22841
22842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
22843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22845 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
22846 if (PyErr_Occurred()) SWIG_fail;
22847 {
22848 PyThreadState* __tstate = wxPyBeginAllowThreads();
22849 (arg1)->SetIsPreview(arg2);
22850
22851 wxPyEndAllowThreads(__tstate);
22852 if (PyErr_Occurred()) SWIG_fail;
22853 }
22854 Py_INCREF(Py_None); resultobj = Py_None;
22855 return resultobj;
22856 fail:
22857 return NULL;
22858}
22859
22860
c32bde28 22861static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22862 PyObject *resultobj;
22863 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22864 int arg2 ;
22865 int arg3 ;
22866 bool result;
22867 PyObject * obj0 = 0 ;
22868 PyObject * obj1 = 0 ;
22869 PyObject * obj2 = 0 ;
22870 char *kwnames[] = {
22871 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
22872 };
22873
22874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
22875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22877 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 22878 if (PyErr_Occurred()) SWIG_fail;
c32bde28 22879 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
22880 if (PyErr_Occurred()) SWIG_fail;
22881 {
22882 PyThreadState* __tstate = wxPyBeginAllowThreads();
22883 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
22884
22885 wxPyEndAllowThreads(__tstate);
22886 if (PyErr_Occurred()) SWIG_fail;
22887 }
22888 {
22889 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22890 }
22891 return resultobj;
22892 fail:
22893 return NULL;
22894}
22895
22896
c32bde28 22897static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22898 PyObject *resultobj;
22899 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22900 PyObject * obj0 = 0 ;
22901 char *kwnames[] = {
22902 (char *) "self", NULL
22903 };
22904
22905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
22906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22908 {
22909 PyThreadState* __tstate = wxPyBeginAllowThreads();
22910 (arg1)->base_OnEndDocument();
22911
22912 wxPyEndAllowThreads(__tstate);
22913 if (PyErr_Occurred()) SWIG_fail;
22914 }
22915 Py_INCREF(Py_None); resultobj = Py_None;
22916 return resultobj;
22917 fail:
22918 return NULL;
22919}
22920
22921
c32bde28 22922static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22923 PyObject *resultobj;
22924 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22925 PyObject * obj0 = 0 ;
22926 char *kwnames[] = {
22927 (char *) "self", NULL
22928 };
22929
22930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
22931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22933 {
22934 PyThreadState* __tstate = wxPyBeginAllowThreads();
22935 (arg1)->base_OnBeginPrinting();
22936
22937 wxPyEndAllowThreads(__tstate);
22938 if (PyErr_Occurred()) SWIG_fail;
22939 }
22940 Py_INCREF(Py_None); resultobj = Py_None;
22941 return resultobj;
22942 fail:
22943 return NULL;
22944}
22945
22946
c32bde28 22947static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22948 PyObject *resultobj;
22949 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22950 PyObject * obj0 = 0 ;
22951 char *kwnames[] = {
22952 (char *) "self", NULL
22953 };
22954
22955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
22956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22958 {
22959 PyThreadState* __tstate = wxPyBeginAllowThreads();
22960 (arg1)->base_OnEndPrinting();
22961
22962 wxPyEndAllowThreads(__tstate);
22963 if (PyErr_Occurred()) SWIG_fail;
22964 }
22965 Py_INCREF(Py_None); resultobj = Py_None;
22966 return resultobj;
22967 fail:
22968 return NULL;
22969}
22970
22971
c32bde28 22972static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22973 PyObject *resultobj;
22974 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22975 PyObject * obj0 = 0 ;
22976 char *kwnames[] = {
22977 (char *) "self", NULL
22978 };
22979
22980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
22981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22983 {
22984 PyThreadState* __tstate = wxPyBeginAllowThreads();
22985 (arg1)->base_OnPreparePrinting();
22986
22987 wxPyEndAllowThreads(__tstate);
22988 if (PyErr_Occurred()) SWIG_fail;
22989 }
22990 Py_INCREF(Py_None); resultobj = Py_None;
22991 return resultobj;
22992 fail:
22993 return NULL;
22994}
22995
22996
c32bde28 22997static PyObject *_wrap_Printout_base_HasPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22998 PyObject *resultobj;
22999 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23000 int arg2 ;
23001 bool result;
23002 PyObject * obj0 = 0 ;
23003 PyObject * obj1 = 0 ;
23004 char *kwnames[] = {
23005 (char *) "self",(char *) "page", NULL
23006 };
23007
23008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
23009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 23011 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
23012 if (PyErr_Occurred()) SWIG_fail;
23013 {
23014 PyThreadState* __tstate = wxPyBeginAllowThreads();
23015 result = (bool)(arg1)->base_HasPage(arg2);
23016
23017 wxPyEndAllowThreads(__tstate);
23018 if (PyErr_Occurred()) SWIG_fail;
23019 }
23020 {
23021 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23022 }
23023 return resultobj;
23024 fail:
23025 return NULL;
23026}
23027
23028
c32bde28 23029static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23030 PyObject *resultobj;
23031 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23032 int *arg2 = (int *) 0 ;
23033 int *arg3 = (int *) 0 ;
23034 int *arg4 = (int *) 0 ;
23035 int *arg5 = (int *) 0 ;
23036 int temp2 ;
c32bde28 23037 int res2 = 0 ;
d55e5bfc 23038 int temp3 ;
c32bde28 23039 int res3 = 0 ;
d55e5bfc 23040 int temp4 ;
c32bde28 23041 int res4 = 0 ;
d55e5bfc 23042 int temp5 ;
c32bde28 23043 int res5 = 0 ;
d55e5bfc
RD
23044 PyObject * obj0 = 0 ;
23045 char *kwnames[] = {
23046 (char *) "self", NULL
23047 };
23048
c32bde28
RD
23049 arg2 = &temp2; res2 = SWIG_NEWOBJ;
23050 arg3 = &temp3; res3 = SWIG_NEWOBJ;
23051 arg4 = &temp4; res4 = SWIG_NEWOBJ;
23052 arg5 = &temp5; res5 = SWIG_NEWOBJ;
d55e5bfc
RD
23053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
23054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23056 {
23057 PyThreadState* __tstate = wxPyBeginAllowThreads();
23058 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
23059
23060 wxPyEndAllowThreads(__tstate);
23061 if (PyErr_Occurred()) SWIG_fail;
23062 }
23063 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
23064 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
23065 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
23066 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
23067 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
23068 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
23069 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
23070 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
23071 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
23072 return resultobj;
23073 fail:
23074 return NULL;
23075}
23076
23077
c32bde28 23078static PyObject * Printout_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
23079 PyObject *obj;
23080 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23081 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
23082 Py_INCREF(obj);
23083 return Py_BuildValue((char *)"");
23084}
c32bde28 23085static PyObject *_wrap_new_PreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23086 PyObject *resultobj;
23087 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23088 wxWindow *arg2 = (wxWindow *) 0 ;
23089 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23090 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23091 wxSize const &arg4_defvalue = wxDefaultSize ;
23092 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23093 long arg5 = (long) 0 ;
23094 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
23095 wxString *arg6 = (wxString *) &arg6_defvalue ;
23096 wxPreviewCanvas *result;
23097 wxPoint temp3 ;
23098 wxSize temp4 ;
ae8162c8 23099 bool temp6 = false ;
d55e5bfc
RD
23100 PyObject * obj0 = 0 ;
23101 PyObject * obj1 = 0 ;
23102 PyObject * obj2 = 0 ;
23103 PyObject * obj3 = 0 ;
23104 PyObject * obj4 = 0 ;
23105 PyObject * obj5 = 0 ;
23106 char *kwnames[] = {
23107 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23108 };
23109
23110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
23111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23113 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
23114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23115 if (obj2) {
23116 {
23117 arg3 = &temp3;
23118 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23119 }
23120 }
23121 if (obj3) {
23122 {
23123 arg4 = &temp4;
23124 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23125 }
23126 }
23127 if (obj4) {
c32bde28 23128 arg5 = (long)SWIG_As_long(obj4);
d55e5bfc
RD
23129 if (PyErr_Occurred()) SWIG_fail;
23130 }
23131 if (obj5) {
23132 {
23133 arg6 = wxString_in_helper(obj5);
23134 if (arg6 == NULL) SWIG_fail;
ae8162c8 23135 temp6 = true;
d55e5bfc
RD
23136 }
23137 }
23138 {
0439c23b 23139 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
23140 PyThreadState* __tstate = wxPyBeginAllowThreads();
23141 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
23142
23143 wxPyEndAllowThreads(__tstate);
110da5b0 23144 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
23145 }
23146 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
23147 {
23148 if (temp6)
23149 delete arg6;
23150 }
23151 return resultobj;
23152 fail:
23153 {
23154 if (temp6)
23155 delete arg6;
23156 }
23157 return NULL;
23158}
23159
23160
c32bde28 23161static PyObject * PreviewCanvas_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
23162 PyObject *obj;
23163 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23164 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
23165 Py_INCREF(obj);
23166 return Py_BuildValue((char *)"");
23167}
c32bde28 23168static PyObject *_wrap_new_PreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23169 PyObject *resultobj;
23170 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23171 wxFrame *arg2 = (wxFrame *) 0 ;
23172 wxString *arg3 = 0 ;
23173 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23174 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23175 wxSize const &arg5_defvalue = wxDefaultSize ;
23176 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23177 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
23178 wxString const &arg7_defvalue = wxPyFrameNameStr ;
23179 wxString *arg7 = (wxString *) &arg7_defvalue ;
23180 wxPreviewFrame *result;
ae8162c8 23181 bool temp3 = false ;
d55e5bfc
RD
23182 wxPoint temp4 ;
23183 wxSize temp5 ;
ae8162c8 23184 bool temp7 = false ;
d55e5bfc
RD
23185 PyObject * obj0 = 0 ;
23186 PyObject * obj1 = 0 ;
23187 PyObject * obj2 = 0 ;
23188 PyObject * obj3 = 0 ;
23189 PyObject * obj4 = 0 ;
23190 PyObject * obj5 = 0 ;
23191 PyObject * obj6 = 0 ;
23192 char *kwnames[] = {
23193 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23194 };
23195
23196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23199 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
23200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23201 {
23202 arg3 = wxString_in_helper(obj2);
23203 if (arg3 == NULL) SWIG_fail;
ae8162c8 23204 temp3 = true;
d55e5bfc
RD
23205 }
23206 if (obj3) {
23207 {
23208 arg4 = &temp4;
23209 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23210 }
23211 }
23212 if (obj4) {
23213 {
23214 arg5 = &temp5;
23215 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23216 }
23217 }
23218 if (obj5) {
c32bde28 23219 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
23220 if (PyErr_Occurred()) SWIG_fail;
23221 }
23222 if (obj6) {
23223 {
23224 arg7 = wxString_in_helper(obj6);
23225 if (arg7 == NULL) SWIG_fail;
ae8162c8 23226 temp7 = true;
d55e5bfc
RD
23227 }
23228 }
23229 {
0439c23b 23230 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
23231 PyThreadState* __tstate = wxPyBeginAllowThreads();
23232 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
23233
23234 wxPyEndAllowThreads(__tstate);
110da5b0 23235 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
23236 }
23237 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
23238 {
23239 if (temp3)
23240 delete arg3;
23241 }
23242 {
23243 if (temp7)
23244 delete arg7;
23245 }
23246 return resultobj;
23247 fail:
23248 {
23249 if (temp3)
23250 delete arg3;
23251 }
23252 {
23253 if (temp7)
23254 delete arg7;
23255 }
23256 return NULL;
23257}
23258
23259
c32bde28 23260static PyObject *_wrap_PreviewFrame_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23261 PyObject *resultobj;
23262 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
23263 PyObject * obj0 = 0 ;
23264 char *kwnames[] = {
23265 (char *) "self", NULL
23266 };
23267
23268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
23269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
23270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23271 {
23272 PyThreadState* __tstate = wxPyBeginAllowThreads();
23273 (arg1)->Initialize();
23274
23275 wxPyEndAllowThreads(__tstate);
23276 if (PyErr_Occurred()) SWIG_fail;
23277 }
23278 Py_INCREF(Py_None); resultobj = Py_None;
23279 return resultobj;
23280 fail:
23281 return NULL;
23282}
23283
23284
c32bde28 23285static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23286 PyObject *resultobj;
23287 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
23288 PyObject * obj0 = 0 ;
23289 char *kwnames[] = {
23290 (char *) "self", NULL
23291 };
23292
23293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
23294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
23295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23296 {
23297 PyThreadState* __tstate = wxPyBeginAllowThreads();
23298 (arg1)->CreateControlBar();
23299
23300 wxPyEndAllowThreads(__tstate);
23301 if (PyErr_Occurred()) SWIG_fail;
23302 }
23303 Py_INCREF(Py_None); resultobj = Py_None;
23304 return resultobj;
23305 fail:
23306 return NULL;
23307}
23308
23309
c32bde28 23310static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23311 PyObject *resultobj;
23312 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
23313 PyObject * obj0 = 0 ;
23314 char *kwnames[] = {
23315 (char *) "self", NULL
23316 };
23317
23318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
23319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
23320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23321 {
23322 PyThreadState* __tstate = wxPyBeginAllowThreads();
23323 (arg1)->CreateCanvas();
23324
23325 wxPyEndAllowThreads(__tstate);
23326 if (PyErr_Occurred()) SWIG_fail;
23327 }
23328 Py_INCREF(Py_None); resultobj = Py_None;
23329 return resultobj;
23330 fail:
23331 return NULL;
23332}
23333
23334
c32bde28 23335static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23336 PyObject *resultobj;
23337 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
23338 wxPreviewControlBar *result;
23339 PyObject * obj0 = 0 ;
23340 char *kwnames[] = {
23341 (char *) "self", NULL
23342 };
23343
23344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
23345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
23346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23347 {
23348 PyThreadState* __tstate = wxPyBeginAllowThreads();
23349 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
23350
23351 wxPyEndAllowThreads(__tstate);
23352 if (PyErr_Occurred()) SWIG_fail;
23353 }
23354 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
23355 return resultobj;
23356 fail:
23357 return NULL;
23358}
23359
23360
c32bde28 23361static PyObject * PreviewFrame_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
23362 PyObject *obj;
23363 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23364 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
23365 Py_INCREF(obj);
23366 return Py_BuildValue((char *)"");
23367}
c32bde28 23368static PyObject *_wrap_new_PreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23369 PyObject *resultobj;
23370 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23371 long arg2 ;
23372 wxWindow *arg3 = (wxWindow *) 0 ;
23373 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23374 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23375 wxSize const &arg5_defvalue = wxDefaultSize ;
23376 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23377 long arg6 = (long) wxTAB_TRAVERSAL ;
23378 wxString const &arg7_defvalue = wxPyPanelNameStr ;
23379 wxString *arg7 = (wxString *) &arg7_defvalue ;
23380 wxPreviewControlBar *result;
23381 wxPoint temp4 ;
23382 wxSize temp5 ;
ae8162c8 23383 bool temp7 = false ;
d55e5bfc
RD
23384 PyObject * obj0 = 0 ;
23385 PyObject * obj1 = 0 ;
23386 PyObject * obj2 = 0 ;
23387 PyObject * obj3 = 0 ;
23388 PyObject * obj4 = 0 ;
23389 PyObject * obj5 = 0 ;
23390 PyObject * obj6 = 0 ;
23391 char *kwnames[] = {
23392 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23393 };
23394
23395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 23398 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
23399 if (PyErr_Occurred()) SWIG_fail;
23400 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
23401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23402 if (obj3) {
23403 {
23404 arg4 = &temp4;
23405 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23406 }
23407 }
23408 if (obj4) {
23409 {
23410 arg5 = &temp5;
23411 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23412 }
23413 }
23414 if (obj5) {
c32bde28 23415 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
23416 if (PyErr_Occurred()) SWIG_fail;
23417 }
23418 if (obj6) {
23419 {
23420 arg7 = wxString_in_helper(obj6);
23421 if (arg7 == NULL) SWIG_fail;
ae8162c8 23422 temp7 = true;
d55e5bfc
RD
23423 }
23424 }
23425 {
0439c23b 23426 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
23427 PyThreadState* __tstate = wxPyBeginAllowThreads();
23428 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
23429
23430 wxPyEndAllowThreads(__tstate);
110da5b0 23431 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
23432 }
23433 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
23434 {
23435 if (temp7)
23436 delete arg7;
23437 }
23438 return resultobj;
23439 fail:
23440 {
23441 if (temp7)
23442 delete arg7;
23443 }
23444 return NULL;
23445}
23446
23447
c32bde28 23448static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23449 PyObject *resultobj;
23450 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23451 int result;
23452 PyObject * obj0 = 0 ;
23453 char *kwnames[] = {
23454 (char *) "self", NULL
23455 };
23456
23457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
23458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23460 {
23461 PyThreadState* __tstate = wxPyBeginAllowThreads();
23462 result = (int)(arg1)->GetZoomControl();
23463
23464 wxPyEndAllowThreads(__tstate);
23465 if (PyErr_Occurred()) SWIG_fail;
23466 }
c32bde28 23467 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
23468 return resultobj;
23469 fail:
23470 return NULL;
23471}
23472
23473
c32bde28 23474static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23475 PyObject *resultobj;
23476 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23477 int arg2 ;
23478 PyObject * obj0 = 0 ;
23479 PyObject * obj1 = 0 ;
23480 char *kwnames[] = {
23481 (char *) "self",(char *) "zoom", NULL
23482 };
23483
23484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
23485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 23487 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
23488 if (PyErr_Occurred()) SWIG_fail;
23489 {
23490 PyThreadState* __tstate = wxPyBeginAllowThreads();
23491 (arg1)->SetZoomControl(arg2);
23492
23493 wxPyEndAllowThreads(__tstate);
23494 if (PyErr_Occurred()) SWIG_fail;
23495 }
23496 Py_INCREF(Py_None); resultobj = Py_None;
23497 return resultobj;
23498 fail:
23499 return NULL;
23500}
23501
23502
c32bde28 23503static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23504 PyObject *resultobj;
23505 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23506 wxPrintPreview *result;
23507 PyObject * obj0 = 0 ;
23508 char *kwnames[] = {
23509 (char *) "self", NULL
23510 };
23511
23512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
23513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23515 {
23516 PyThreadState* __tstate = wxPyBeginAllowThreads();
23517 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
23518
23519 wxPyEndAllowThreads(__tstate);
23520 if (PyErr_Occurred()) SWIG_fail;
23521 }
23522 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
23523 return resultobj;
23524 fail:
23525 return NULL;
23526}
23527
23528
c32bde28 23529static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23530 PyObject *resultobj;
23531 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23532 PyObject * obj0 = 0 ;
23533 char *kwnames[] = {
23534 (char *) "self", NULL
23535 };
23536
23537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
23538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23540 {
23541 PyThreadState* __tstate = wxPyBeginAllowThreads();
23542 (arg1)->OnNext();
23543
23544 wxPyEndAllowThreads(__tstate);
23545 if (PyErr_Occurred()) SWIG_fail;
23546 }
23547 Py_INCREF(Py_None); resultobj = Py_None;
23548 return resultobj;
23549 fail:
23550 return NULL;
23551}
23552
23553
c32bde28 23554static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23555 PyObject *resultobj;
23556 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23557 PyObject * obj0 = 0 ;
23558 char *kwnames[] = {
23559 (char *) "self", NULL
23560 };
23561
23562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
23563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23565 {
23566 PyThreadState* __tstate = wxPyBeginAllowThreads();
23567 (arg1)->OnPrevious();
23568
23569 wxPyEndAllowThreads(__tstate);
23570 if (PyErr_Occurred()) SWIG_fail;
23571 }
23572 Py_INCREF(Py_None); resultobj = Py_None;
23573 return resultobj;
23574 fail:
23575 return NULL;
23576}
23577
23578
c32bde28 23579static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23580 PyObject *resultobj;
23581 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23582 PyObject * obj0 = 0 ;
23583 char *kwnames[] = {
23584 (char *) "self", NULL
23585 };
23586
23587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
23588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23590 {
23591 PyThreadState* __tstate = wxPyBeginAllowThreads();
23592 (arg1)->OnFirst();
23593
23594 wxPyEndAllowThreads(__tstate);
23595 if (PyErr_Occurred()) SWIG_fail;
23596 }
23597 Py_INCREF(Py_None); resultobj = Py_None;
23598 return resultobj;
23599 fail:
23600 return NULL;
23601}
23602
23603
c32bde28 23604static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23605 PyObject *resultobj;
23606 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23607 PyObject * obj0 = 0 ;
23608 char *kwnames[] = {
23609 (char *) "self", NULL
23610 };
23611
23612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
23613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23615 {
23616 PyThreadState* __tstate = wxPyBeginAllowThreads();
23617 (arg1)->OnLast();
23618
23619 wxPyEndAllowThreads(__tstate);
23620 if (PyErr_Occurred()) SWIG_fail;
23621 }
23622 Py_INCREF(Py_None); resultobj = Py_None;
23623 return resultobj;
23624 fail:
23625 return NULL;
23626}
23627
23628
c32bde28 23629static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23630 PyObject *resultobj;
23631 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23632 PyObject * obj0 = 0 ;
23633 char *kwnames[] = {
23634 (char *) "self", NULL
23635 };
23636
23637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
23638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23640 {
23641 PyThreadState* __tstate = wxPyBeginAllowThreads();
23642 (arg1)->OnGoto();
23643
23644 wxPyEndAllowThreads(__tstate);
23645 if (PyErr_Occurred()) SWIG_fail;
23646 }
23647 Py_INCREF(Py_None); resultobj = Py_None;
23648 return resultobj;
23649 fail:
23650 return NULL;
23651}
23652
23653
c32bde28 23654static PyObject * PreviewControlBar_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
23655 PyObject *obj;
23656 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23657 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
23658 Py_INCREF(obj);
23659 return Py_BuildValue((char *)"");
23660}
c32bde28 23661static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
23662 PyObject *resultobj;
23663 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23664 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23665 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
23666 wxPrintPreview *result;
23667 PyObject * obj0 = 0 ;
23668 PyObject * obj1 = 0 ;
23669 PyObject * obj2 = 0 ;
23670
23671 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
23672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23674 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23676 if (obj2) {
23677 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
23678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23679 }
23680 {
0439c23b 23681 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
23682 PyThreadState* __tstate = wxPyBeginAllowThreads();
23683 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
23684
23685 wxPyEndAllowThreads(__tstate);
110da5b0 23686 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
23687 }
23688 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
23689 return resultobj;
23690 fail:
23691 return NULL;
23692}
23693
23694
c32bde28 23695static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
23696 PyObject *resultobj;
23697 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23698 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23699 wxPrintData *arg3 = (wxPrintData *) 0 ;
23700 wxPrintPreview *result;
23701 PyObject * obj0 = 0 ;
23702 PyObject * obj1 = 0 ;
23703 PyObject * obj2 = 0 ;
23704
23705 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
23706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23708 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23710 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
23711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23712 {
0439c23b 23713 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
23714 PyThreadState* __tstate = wxPyBeginAllowThreads();
23715 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
23716
23717 wxPyEndAllowThreads(__tstate);
110da5b0 23718 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
23719 }
23720 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
23721 return resultobj;
23722 fail:
23723 return NULL;
23724}
23725
23726
23727static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
23728 int argc;
23729 PyObject *argv[4];
23730 int ii;
23731
23732 argc = PyObject_Length(args);
23733 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
23734 argv[ii] = PyTuple_GetItem(args,ii);
23735 }
23736 if ((argc >= 2) && (argc <= 3)) {
23737 int _v;
23738 {
23739 void *ptr;
23740 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23741 _v = 0;
23742 PyErr_Clear();
23743 } else {
23744 _v = 1;
23745 }
23746 }
23747 if (_v) {
23748 {
23749 void *ptr;
23750 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23751 _v = 0;
23752 PyErr_Clear();
23753 } else {
23754 _v = 1;
23755 }
23756 }
23757 if (_v) {
23758 if (argc <= 2) {
23759 return _wrap_new_PrintPreview__SWIG_0(self,args);
23760 }
23761 {
23762 void *ptr;
23763 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
23764 _v = 0;
23765 PyErr_Clear();
23766 } else {
23767 _v = 1;
23768 }
23769 }
23770 if (_v) {
23771 return _wrap_new_PrintPreview__SWIG_0(self,args);
23772 }
23773 }
23774 }
23775 }
23776 if (argc == 3) {
23777 int _v;
23778 {
23779 void *ptr;
23780 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23781 _v = 0;
23782 PyErr_Clear();
23783 } else {
23784 _v = 1;
23785 }
23786 }
23787 if (_v) {
23788 {
23789 void *ptr;
23790 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23791 _v = 0;
23792 PyErr_Clear();
23793 } else {
23794 _v = 1;
23795 }
23796 }
23797 if (_v) {
23798 {
23799 void *ptr;
23800 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
23801 _v = 0;
23802 PyErr_Clear();
23803 } else {
23804 _v = 1;
23805 }
23806 }
23807 if (_v) {
23808 return _wrap_new_PrintPreview__SWIG_1(self,args);
23809 }
23810 }
23811 }
23812 }
23813
23814 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintPreview'");
23815 return NULL;
23816}
23817
23818
c32bde28 23819static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23820 PyObject *resultobj;
23821 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23822 int arg2 ;
23823 bool result;
23824 PyObject * obj0 = 0 ;
23825 PyObject * obj1 = 0 ;
23826 char *kwnames[] = {
23827 (char *) "self",(char *) "pageNum", NULL
23828 };
23829
23830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
23831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 23833 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
23834 if (PyErr_Occurred()) SWIG_fail;
23835 {
23836 PyThreadState* __tstate = wxPyBeginAllowThreads();
23837 result = (bool)(arg1)->SetCurrentPage(arg2);
23838
23839 wxPyEndAllowThreads(__tstate);
23840 if (PyErr_Occurred()) SWIG_fail;
23841 }
23842 {
23843 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23844 }
23845 return resultobj;
23846 fail:
23847 return NULL;
23848}
23849
23850
c32bde28 23851static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23852 PyObject *resultobj;
23853 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23854 int result;
23855 PyObject * obj0 = 0 ;
23856 char *kwnames[] = {
23857 (char *) "self", NULL
23858 };
23859
23860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
23861 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23863 {
23864 PyThreadState* __tstate = wxPyBeginAllowThreads();
23865 result = (int)(arg1)->GetCurrentPage();
23866
23867 wxPyEndAllowThreads(__tstate);
23868 if (PyErr_Occurred()) SWIG_fail;
23869 }
c32bde28 23870 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
23871 return resultobj;
23872 fail:
23873 return NULL;
23874}
23875
23876
c32bde28 23877static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23878 PyObject *resultobj;
23879 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23880 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23881 PyObject * obj0 = 0 ;
23882 PyObject * obj1 = 0 ;
23883 char *kwnames[] = {
23884 (char *) "self",(char *) "printout", NULL
23885 };
23886
23887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
23888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23890 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23892 {
23893 PyThreadState* __tstate = wxPyBeginAllowThreads();
23894 (arg1)->SetPrintout(arg2);
23895
23896 wxPyEndAllowThreads(__tstate);
23897 if (PyErr_Occurred()) SWIG_fail;
23898 }
23899 Py_INCREF(Py_None); resultobj = Py_None;
23900 return resultobj;
23901 fail:
23902 return NULL;
23903}
23904
23905
c32bde28 23906static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23907 PyObject *resultobj;
23908 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23909 wxPyPrintout *result;
23910 PyObject * obj0 = 0 ;
23911 char *kwnames[] = {
23912 (char *) "self", NULL
23913 };
23914
23915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
23916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23918 {
23919 PyThreadState* __tstate = wxPyBeginAllowThreads();
23920 result = (wxPyPrintout *)(arg1)->GetPrintout();
23921
23922 wxPyEndAllowThreads(__tstate);
23923 if (PyErr_Occurred()) SWIG_fail;
23924 }
23925 {
412d302d 23926 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
23927 }
23928 return resultobj;
23929 fail:
23930 return NULL;
23931}
23932
23933
c32bde28 23934static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23935 PyObject *resultobj;
23936 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23937 wxPyPrintout *result;
23938 PyObject * obj0 = 0 ;
23939 char *kwnames[] = {
23940 (char *) "self", NULL
23941 };
23942
23943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
23944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23946 {
23947 PyThreadState* __tstate = wxPyBeginAllowThreads();
23948 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
23949
23950 wxPyEndAllowThreads(__tstate);
23951 if (PyErr_Occurred()) SWIG_fail;
23952 }
23953 {
412d302d 23954 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
23955 }
23956 return resultobj;
23957 fail:
23958 return NULL;
23959}
23960
23961
c32bde28 23962static PyObject *_wrap_PrintPreview_SetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23963 PyObject *resultobj;
23964 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23965 wxFrame *arg2 = (wxFrame *) 0 ;
23966 PyObject * obj0 = 0 ;
23967 PyObject * obj1 = 0 ;
23968 char *kwnames[] = {
23969 (char *) "self",(char *) "frame", NULL
23970 };
23971
23972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
23973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23975 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
23976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23977 {
23978 PyThreadState* __tstate = wxPyBeginAllowThreads();
23979 (arg1)->SetFrame(arg2);
23980
23981 wxPyEndAllowThreads(__tstate);
23982 if (PyErr_Occurred()) SWIG_fail;
23983 }
23984 Py_INCREF(Py_None); resultobj = Py_None;
23985 return resultobj;
23986 fail:
23987 return NULL;
23988}
23989
23990
c32bde28 23991static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23992 PyObject *resultobj;
23993 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23994 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23995 PyObject * obj0 = 0 ;
23996 PyObject * obj1 = 0 ;
23997 char *kwnames[] = {
23998 (char *) "self",(char *) "canvas", NULL
23999 };
24000
24001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
24002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24004 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24006 {
24007 PyThreadState* __tstate = wxPyBeginAllowThreads();
24008 (arg1)->SetCanvas(arg2);
24009
24010 wxPyEndAllowThreads(__tstate);
24011 if (PyErr_Occurred()) SWIG_fail;
24012 }
24013 Py_INCREF(Py_None); resultobj = Py_None;
24014 return resultobj;
24015 fail:
24016 return NULL;
24017}
24018
24019
c32bde28 24020static PyObject *_wrap_PrintPreview_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24021 PyObject *resultobj;
24022 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24023 wxFrame *result;
24024 PyObject * obj0 = 0 ;
24025 char *kwnames[] = {
24026 (char *) "self", NULL
24027 };
24028
24029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
24030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24032 {
24033 PyThreadState* __tstate = wxPyBeginAllowThreads();
24034 result = (wxFrame *)(arg1)->GetFrame();
24035
24036 wxPyEndAllowThreads(__tstate);
24037 if (PyErr_Occurred()) SWIG_fail;
24038 }
24039 {
412d302d 24040 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
24041 }
24042 return resultobj;
24043 fail:
24044 return NULL;
24045}
24046
24047
c32bde28 24048static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24049 PyObject *resultobj;
24050 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24051 wxPreviewCanvas *result;
24052 PyObject * obj0 = 0 ;
24053 char *kwnames[] = {
24054 (char *) "self", NULL
24055 };
24056
24057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
24058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24060 {
24061 PyThreadState* __tstate = wxPyBeginAllowThreads();
24062 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
24063
24064 wxPyEndAllowThreads(__tstate);
24065 if (PyErr_Occurred()) SWIG_fail;
24066 }
24067 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
24068 return resultobj;
24069 fail:
24070 return NULL;
24071}
24072
24073
c32bde28 24074static PyObject *_wrap_PrintPreview_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24075 PyObject *resultobj;
24076 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24077 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24078 wxDC *arg3 = 0 ;
24079 bool result;
24080 PyObject * obj0 = 0 ;
24081 PyObject * obj1 = 0 ;
24082 PyObject * obj2 = 0 ;
24083 char *kwnames[] = {
24084 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24085 };
24086
24087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24090 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24092 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
24093 SWIG_POINTER_EXCEPTION | 0)) == -1)
24094 SWIG_fail;
24095 if (arg3 == NULL) {
24096 PyErr_SetString(PyExc_TypeError,"null reference");
24097 SWIG_fail;
24098 }
24099 {
24100 PyThreadState* __tstate = wxPyBeginAllowThreads();
24101 result = (bool)(arg1)->PaintPage(arg2,*arg3);
24102
24103 wxPyEndAllowThreads(__tstate);
24104 if (PyErr_Occurred()) SWIG_fail;
24105 }
24106 {
24107 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24108 }
24109 return resultobj;
24110 fail:
24111 return NULL;
24112}
24113
24114
c32bde28 24115static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24116 PyObject *resultobj;
24117 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24118 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24119 wxDC *arg3 = 0 ;
24120 bool result;
24121 PyObject * obj0 = 0 ;
24122 PyObject * obj1 = 0 ;
24123 PyObject * obj2 = 0 ;
24124 char *kwnames[] = {
24125 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24126 };
24127
24128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24131 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24133 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
24134 SWIG_POINTER_EXCEPTION | 0)) == -1)
24135 SWIG_fail;
24136 if (arg3 == NULL) {
24137 PyErr_SetString(PyExc_TypeError,"null reference");
24138 SWIG_fail;
24139 }
24140 {
24141 PyThreadState* __tstate = wxPyBeginAllowThreads();
24142 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
24143
24144 wxPyEndAllowThreads(__tstate);
24145 if (PyErr_Occurred()) SWIG_fail;
24146 }
24147 {
24148 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24149 }
24150 return resultobj;
24151 fail:
24152 return NULL;
24153}
24154
24155
c32bde28 24156static PyObject *_wrap_PrintPreview_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24157 PyObject *resultobj;
24158 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24159 int arg2 ;
24160 bool result;
24161 PyObject * obj0 = 0 ;
24162 PyObject * obj1 = 0 ;
24163 char *kwnames[] = {
24164 (char *) "self",(char *) "pageNum", NULL
24165 };
24166
24167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
24168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24170 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
24171 if (PyErr_Occurred()) SWIG_fail;
24172 {
24173 PyThreadState* __tstate = wxPyBeginAllowThreads();
24174 result = (bool)(arg1)->RenderPage(arg2);
24175
24176 wxPyEndAllowThreads(__tstate);
24177 if (PyErr_Occurred()) SWIG_fail;
24178 }
24179 {
24180 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24181 }
24182 return resultobj;
24183 fail:
24184 return NULL;
24185}
24186
24187
c32bde28 24188static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24189 PyObject *resultobj;
24190 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24191 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24192 PyObject * obj0 = 0 ;
24193 PyObject * obj1 = 0 ;
24194 char *kwnames[] = {
24195 (char *) "self",(char *) "canvas", NULL
24196 };
24197
24198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
24199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24201 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24203 {
24204 PyThreadState* __tstate = wxPyBeginAllowThreads();
24205 (arg1)->AdjustScrollbars(arg2);
24206
24207 wxPyEndAllowThreads(__tstate);
24208 if (PyErr_Occurred()) SWIG_fail;
24209 }
24210 Py_INCREF(Py_None); resultobj = Py_None;
24211 return resultobj;
24212 fail:
24213 return NULL;
24214}
24215
24216
c32bde28 24217static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24218 PyObject *resultobj;
24219 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24220 wxPrintDialogData *result;
24221 PyObject * obj0 = 0 ;
24222 char *kwnames[] = {
24223 (char *) "self", NULL
24224 };
24225
24226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
24227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24229 {
24230 PyThreadState* __tstate = wxPyBeginAllowThreads();
24231 {
24232 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
24233 result = (wxPrintDialogData *) &_result_ref;
24234 }
24235
24236 wxPyEndAllowThreads(__tstate);
24237 if (PyErr_Occurred()) SWIG_fail;
24238 }
24239 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
24240 return resultobj;
24241 fail:
24242 return NULL;
24243}
24244
24245
c32bde28 24246static PyObject *_wrap_PrintPreview_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24247 PyObject *resultobj;
24248 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24249 int arg2 ;
24250 PyObject * obj0 = 0 ;
24251 PyObject * obj1 = 0 ;
24252 char *kwnames[] = {
24253 (char *) "self",(char *) "percent", NULL
24254 };
24255
24256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
24257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24259 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
24260 if (PyErr_Occurred()) SWIG_fail;
24261 {
24262 PyThreadState* __tstate = wxPyBeginAllowThreads();
24263 (arg1)->SetZoom(arg2);
24264
24265 wxPyEndAllowThreads(__tstate);
24266 if (PyErr_Occurred()) SWIG_fail;
24267 }
24268 Py_INCREF(Py_None); resultobj = Py_None;
24269 return resultobj;
24270 fail:
24271 return NULL;
24272}
24273
24274
c32bde28 24275static PyObject *_wrap_PrintPreview_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24276 PyObject *resultobj;
24277 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24278 int result;
24279 PyObject * obj0 = 0 ;
24280 char *kwnames[] = {
24281 (char *) "self", NULL
24282 };
24283
24284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
24285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24287 {
24288 PyThreadState* __tstate = wxPyBeginAllowThreads();
24289 result = (int)(arg1)->GetZoom();
24290
24291 wxPyEndAllowThreads(__tstate);
24292 if (PyErr_Occurred()) SWIG_fail;
24293 }
c32bde28 24294 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
24295 return resultobj;
24296 fail:
24297 return NULL;
24298}
24299
24300
c32bde28 24301static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24302 PyObject *resultobj;
24303 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24304 int result;
24305 PyObject * obj0 = 0 ;
24306 char *kwnames[] = {
24307 (char *) "self", NULL
24308 };
24309
24310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
24311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24313 {
24314 PyThreadState* __tstate = wxPyBeginAllowThreads();
24315 result = (int)(arg1)->GetMaxPage();
24316
24317 wxPyEndAllowThreads(__tstate);
24318 if (PyErr_Occurred()) SWIG_fail;
24319 }
c32bde28 24320 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
24321 return resultobj;
24322 fail:
24323 return NULL;
24324}
24325
24326
c32bde28 24327static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24328 PyObject *resultobj;
24329 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24330 int result;
24331 PyObject * obj0 = 0 ;
24332 char *kwnames[] = {
24333 (char *) "self", NULL
24334 };
24335
24336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
24337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24339 {
24340 PyThreadState* __tstate = wxPyBeginAllowThreads();
24341 result = (int)(arg1)->GetMinPage();
24342
24343 wxPyEndAllowThreads(__tstate);
24344 if (PyErr_Occurred()) SWIG_fail;
24345 }
c32bde28 24346 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
24347 return resultobj;
24348 fail:
24349 return NULL;
24350}
24351
24352
c32bde28 24353static PyObject *_wrap_PrintPreview_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24354 PyObject *resultobj;
24355 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24356 bool result;
24357 PyObject * obj0 = 0 ;
24358 char *kwnames[] = {
24359 (char *) "self", NULL
24360 };
24361
24362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
24363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24365 {
24366 PyThreadState* __tstate = wxPyBeginAllowThreads();
24367 result = (bool)(arg1)->Ok();
24368
24369 wxPyEndAllowThreads(__tstate);
24370 if (PyErr_Occurred()) SWIG_fail;
24371 }
24372 {
24373 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24374 }
24375 return resultobj;
24376 fail:
24377 return NULL;
24378}
24379
24380
c32bde28 24381static PyObject *_wrap_PrintPreview_SetOk(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24382 PyObject *resultobj;
24383 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24384 bool arg2 ;
24385 PyObject * obj0 = 0 ;
24386 PyObject * obj1 = 0 ;
24387 char *kwnames[] = {
24388 (char *) "self",(char *) "ok", NULL
24389 };
24390
24391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
24392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24394 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
24395 if (PyErr_Occurred()) SWIG_fail;
24396 {
24397 PyThreadState* __tstate = wxPyBeginAllowThreads();
24398 (arg1)->SetOk(arg2);
24399
24400 wxPyEndAllowThreads(__tstate);
24401 if (PyErr_Occurred()) SWIG_fail;
24402 }
24403 Py_INCREF(Py_None); resultobj = Py_None;
24404 return resultobj;
24405 fail:
24406 return NULL;
24407}
24408
24409
c32bde28 24410static PyObject *_wrap_PrintPreview_Print(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24411 PyObject *resultobj;
24412 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24413 bool arg2 ;
24414 bool result;
24415 PyObject * obj0 = 0 ;
24416 PyObject * obj1 = 0 ;
24417 char *kwnames[] = {
24418 (char *) "self",(char *) "interactive", NULL
24419 };
24420
24421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
24422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24424 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
24425 if (PyErr_Occurred()) SWIG_fail;
24426 {
24427 PyThreadState* __tstate = wxPyBeginAllowThreads();
24428 result = (bool)(arg1)->Print(arg2);
24429
24430 wxPyEndAllowThreads(__tstate);
24431 if (PyErr_Occurred()) SWIG_fail;
24432 }
24433 {
24434 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24435 }
24436 return resultobj;
24437 fail:
24438 return NULL;
24439}
24440
24441
c32bde28 24442static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24443 PyObject *resultobj;
24444 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24445 PyObject * obj0 = 0 ;
24446 char *kwnames[] = {
24447 (char *) "self", NULL
24448 };
24449
24450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
24451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24453 {
24454 PyThreadState* __tstate = wxPyBeginAllowThreads();
24455 (arg1)->DetermineScaling();
24456
24457 wxPyEndAllowThreads(__tstate);
24458 if (PyErr_Occurred()) SWIG_fail;
24459 }
24460 Py_INCREF(Py_None); resultobj = Py_None;
24461 return resultobj;
24462 fail:
24463 return NULL;
24464}
24465
24466
c32bde28 24467static PyObject * PrintPreview_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
24468 PyObject *obj;
24469 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24470 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
24471 Py_INCREF(obj);
24472 return Py_BuildValue((char *)"");
24473}
c32bde28 24474static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
24475 PyObject *resultobj;
24476 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24477 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
24478 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
24479 wxPyPrintPreview *result;
24480 PyObject * obj0 = 0 ;
24481 PyObject * obj1 = 0 ;
24482 PyObject * obj2 = 0 ;
24483
24484 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
24485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
24486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24487 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
24488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24489 if (obj2) {
24490 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
24491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24492 }
24493 {
0439c23b 24494 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
24495 PyThreadState* __tstate = wxPyBeginAllowThreads();
24496 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
24497
24498 wxPyEndAllowThreads(__tstate);
110da5b0 24499 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
24500 }
24501 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
24502 return resultobj;
24503 fail:
24504 return NULL;
24505}
24506
24507
c32bde28 24508static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
24509 PyObject *resultobj;
24510 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24511 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
24512 wxPrintData *arg3 = (wxPrintData *) 0 ;
24513 wxPyPrintPreview *result;
24514 PyObject * obj0 = 0 ;
24515 PyObject * obj1 = 0 ;
24516 PyObject * obj2 = 0 ;
24517
24518 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
24519 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
24520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24521 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
24522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24523 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
24524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24525 {
0439c23b 24526 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
24527 PyThreadState* __tstate = wxPyBeginAllowThreads();
24528 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
24529
24530 wxPyEndAllowThreads(__tstate);
110da5b0 24531 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
24532 }
24533 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
24534 return resultobj;
24535 fail:
24536 return NULL;
24537}
24538
24539
24540static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
24541 int argc;
24542 PyObject *argv[4];
24543 int ii;
24544
24545 argc = PyObject_Length(args);
24546 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
24547 argv[ii] = PyTuple_GetItem(args,ii);
24548 }
24549 if ((argc >= 2) && (argc <= 3)) {
24550 int _v;
24551 {
24552 void *ptr;
24553 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24554 _v = 0;
24555 PyErr_Clear();
24556 } else {
24557 _v = 1;
24558 }
24559 }
24560 if (_v) {
24561 {
24562 void *ptr;
24563 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24564 _v = 0;
24565 PyErr_Clear();
24566 } else {
24567 _v = 1;
24568 }
24569 }
24570 if (_v) {
24571 if (argc <= 2) {
24572 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
24573 }
24574 {
24575 void *ptr;
24576 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
24577 _v = 0;
24578 PyErr_Clear();
24579 } else {
24580 _v = 1;
24581 }
24582 }
24583 if (_v) {
24584 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
24585 }
24586 }
24587 }
24588 }
24589 if (argc == 3) {
24590 int _v;
24591 {
24592 void *ptr;
24593 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24594 _v = 0;
24595 PyErr_Clear();
24596 } else {
24597 _v = 1;
24598 }
24599 }
24600 if (_v) {
24601 {
24602 void *ptr;
24603 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24604 _v = 0;
24605 PyErr_Clear();
24606 } else {
24607 _v = 1;
24608 }
24609 }
24610 if (_v) {
24611 {
24612 void *ptr;
24613 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
24614 _v = 0;
24615 PyErr_Clear();
24616 } else {
24617 _v = 1;
24618 }
24619 }
24620 if (_v) {
24621 return _wrap_new_PyPrintPreview__SWIG_1(self,args);
24622 }
24623 }
24624 }
24625 }
24626
24627 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PyPrintPreview'");
24628 return NULL;
24629}
24630
24631
c32bde28 24632static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24633 PyObject *resultobj;
24634 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24635 PyObject *arg2 = (PyObject *) 0 ;
24636 PyObject *arg3 = (PyObject *) 0 ;
24637 PyObject * obj0 = 0 ;
24638 PyObject * obj1 = 0 ;
24639 PyObject * obj2 = 0 ;
24640 char *kwnames[] = {
24641 (char *) "self",(char *) "self",(char *) "_class", NULL
24642 };
24643
24644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24647 arg2 = obj1;
24648 arg3 = obj2;
24649 {
24650 PyThreadState* __tstate = wxPyBeginAllowThreads();
24651 (arg1)->_setCallbackInfo(arg2,arg3);
24652
24653 wxPyEndAllowThreads(__tstate);
24654 if (PyErr_Occurred()) SWIG_fail;
24655 }
24656 Py_INCREF(Py_None); resultobj = Py_None;
24657 return resultobj;
24658 fail:
24659 return NULL;
24660}
24661
24662
c32bde28 24663static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24664 PyObject *resultobj;
24665 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24666 int arg2 ;
24667 bool result;
24668 PyObject * obj0 = 0 ;
24669 PyObject * obj1 = 0 ;
24670 char *kwnames[] = {
24671 (char *) "self",(char *) "pageNum", NULL
24672 };
24673
24674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
24675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24677 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
24678 if (PyErr_Occurred()) SWIG_fail;
24679 {
24680 PyThreadState* __tstate = wxPyBeginAllowThreads();
24681 result = (bool)(arg1)->base_SetCurrentPage(arg2);
24682
24683 wxPyEndAllowThreads(__tstate);
24684 if (PyErr_Occurred()) SWIG_fail;
24685 }
24686 {
24687 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24688 }
24689 return resultobj;
24690 fail:
24691 return NULL;
24692}
24693
24694
c32bde28 24695static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24696 PyObject *resultobj;
24697 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24698 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24699 wxDC *arg3 = 0 ;
24700 bool result;
24701 PyObject * obj0 = 0 ;
24702 PyObject * obj1 = 0 ;
24703 PyObject * obj2 = 0 ;
24704 char *kwnames[] = {
24705 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24706 };
24707
24708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24711 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24713 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
24714 SWIG_POINTER_EXCEPTION | 0)) == -1)
24715 SWIG_fail;
24716 if (arg3 == NULL) {
24717 PyErr_SetString(PyExc_TypeError,"null reference");
24718 SWIG_fail;
24719 }
24720 {
24721 PyThreadState* __tstate = wxPyBeginAllowThreads();
24722 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
24723
24724 wxPyEndAllowThreads(__tstate);
24725 if (PyErr_Occurred()) SWIG_fail;
24726 }
24727 {
24728 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24729 }
24730 return resultobj;
24731 fail:
24732 return NULL;
24733}
24734
24735
c32bde28 24736static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24737 PyObject *resultobj;
24738 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24739 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24740 wxDC *arg3 = 0 ;
24741 bool result;
24742 PyObject * obj0 = 0 ;
24743 PyObject * obj1 = 0 ;
24744 PyObject * obj2 = 0 ;
24745 char *kwnames[] = {
24746 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24747 };
24748
24749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24752 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24754 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
24755 SWIG_POINTER_EXCEPTION | 0)) == -1)
24756 SWIG_fail;
24757 if (arg3 == NULL) {
24758 PyErr_SetString(PyExc_TypeError,"null reference");
24759 SWIG_fail;
24760 }
24761 {
24762 PyThreadState* __tstate = wxPyBeginAllowThreads();
24763 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
24764
24765 wxPyEndAllowThreads(__tstate);
24766 if (PyErr_Occurred()) SWIG_fail;
24767 }
24768 {
24769 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24770 }
24771 return resultobj;
24772 fail:
24773 return NULL;
24774}
24775
24776
c32bde28 24777static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24778 PyObject *resultobj;
24779 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24780 int arg2 ;
24781 bool result;
24782 PyObject * obj0 = 0 ;
24783 PyObject * obj1 = 0 ;
24784 char *kwnames[] = {
24785 (char *) "self",(char *) "pageNum", NULL
24786 };
24787
24788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
24789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24791 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
24792 if (PyErr_Occurred()) SWIG_fail;
24793 {
24794 PyThreadState* __tstate = wxPyBeginAllowThreads();
24795 result = (bool)(arg1)->base_RenderPage(arg2);
24796
24797 wxPyEndAllowThreads(__tstate);
24798 if (PyErr_Occurred()) SWIG_fail;
24799 }
24800 {
24801 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24802 }
24803 return resultobj;
24804 fail:
24805 return NULL;
24806}
24807
24808
c32bde28 24809static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24810 PyObject *resultobj;
24811 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24812 int arg2 ;
24813 PyObject * obj0 = 0 ;
24814 PyObject * obj1 = 0 ;
24815 char *kwnames[] = {
24816 (char *) "self",(char *) "percent", NULL
24817 };
24818
24819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
24820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24822 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
24823 if (PyErr_Occurred()) SWIG_fail;
24824 {
24825 PyThreadState* __tstate = wxPyBeginAllowThreads();
24826 (arg1)->base_SetZoom(arg2);
24827
24828 wxPyEndAllowThreads(__tstate);
24829 if (PyErr_Occurred()) SWIG_fail;
24830 }
24831 Py_INCREF(Py_None); resultobj = Py_None;
24832 return resultobj;
24833 fail:
24834 return NULL;
24835}
24836
24837
c32bde28 24838static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24839 PyObject *resultobj;
24840 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24841 bool arg2 ;
24842 bool result;
24843 PyObject * obj0 = 0 ;
24844 PyObject * obj1 = 0 ;
24845 char *kwnames[] = {
24846 (char *) "self",(char *) "interactive", NULL
24847 };
24848
24849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
24850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24852 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
24853 if (PyErr_Occurred()) SWIG_fail;
24854 {
24855 PyThreadState* __tstate = wxPyBeginAllowThreads();
24856 result = (bool)(arg1)->base_Print(arg2);
24857
24858 wxPyEndAllowThreads(__tstate);
24859 if (PyErr_Occurred()) SWIG_fail;
24860 }
24861 {
24862 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24863 }
24864 return resultobj;
24865 fail:
24866 return NULL;
24867}
24868
24869
c32bde28 24870static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24871 PyObject *resultobj;
24872 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24873 PyObject * obj0 = 0 ;
24874 char *kwnames[] = {
24875 (char *) "self", NULL
24876 };
24877
24878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
24879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24881 {
24882 PyThreadState* __tstate = wxPyBeginAllowThreads();
24883 (arg1)->base_DetermineScaling();
24884
24885 wxPyEndAllowThreads(__tstate);
24886 if (PyErr_Occurred()) SWIG_fail;
24887 }
24888 Py_INCREF(Py_None); resultobj = Py_None;
24889 return resultobj;
24890 fail:
24891 return NULL;
24892}
24893
24894
c32bde28 24895static PyObject * PyPrintPreview_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
24896 PyObject *obj;
24897 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24898 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
24899 Py_INCREF(obj);
24900 return Py_BuildValue((char *)"");
24901}
c32bde28 24902static PyObject *_wrap_new_PyPreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24903 PyObject *resultobj;
24904 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24905 wxFrame *arg2 = (wxFrame *) 0 ;
24906 wxString *arg3 = 0 ;
24907 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24908 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24909 wxSize const &arg5_defvalue = wxDefaultSize ;
24910 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24911 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
24912 wxString const &arg7_defvalue = wxPyFrameNameStr ;
24913 wxString *arg7 = (wxString *) &arg7_defvalue ;
24914 wxPyPreviewFrame *result;
ae8162c8 24915 bool temp3 = false ;
d55e5bfc
RD
24916 wxPoint temp4 ;
24917 wxSize temp5 ;
ae8162c8 24918 bool temp7 = false ;
d55e5bfc
RD
24919 PyObject * obj0 = 0 ;
24920 PyObject * obj1 = 0 ;
24921 PyObject * obj2 = 0 ;
24922 PyObject * obj3 = 0 ;
24923 PyObject * obj4 = 0 ;
24924 PyObject * obj5 = 0 ;
24925 PyObject * obj6 = 0 ;
24926 char *kwnames[] = {
24927 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24928 };
24929
24930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24933 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
24934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24935 {
24936 arg3 = wxString_in_helper(obj2);
24937 if (arg3 == NULL) SWIG_fail;
ae8162c8 24938 temp3 = true;
d55e5bfc
RD
24939 }
24940 if (obj3) {
24941 {
24942 arg4 = &temp4;
24943 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24944 }
24945 }
24946 if (obj4) {
24947 {
24948 arg5 = &temp5;
24949 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24950 }
24951 }
24952 if (obj5) {
c32bde28 24953 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
24954 if (PyErr_Occurred()) SWIG_fail;
24955 }
24956 if (obj6) {
24957 {
24958 arg7 = wxString_in_helper(obj6);
24959 if (arg7 == NULL) SWIG_fail;
ae8162c8 24960 temp7 = true;
d55e5bfc
RD
24961 }
24962 }
24963 {
0439c23b 24964 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
24965 PyThreadState* __tstate = wxPyBeginAllowThreads();
24966 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
24967
24968 wxPyEndAllowThreads(__tstate);
110da5b0 24969 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
24970 }
24971 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
24972 {
24973 if (temp3)
24974 delete arg3;
24975 }
24976 {
24977 if (temp7)
24978 delete arg7;
24979 }
24980 return resultobj;
24981 fail:
24982 {
24983 if (temp3)
24984 delete arg3;
24985 }
24986 {
24987 if (temp7)
24988 delete arg7;
24989 }
24990 return NULL;
24991}
24992
24993
c32bde28 24994static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24995 PyObject *resultobj;
24996 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24997 PyObject *arg2 = (PyObject *) 0 ;
24998 PyObject *arg3 = (PyObject *) 0 ;
24999 PyObject * obj0 = 0 ;
25000 PyObject * obj1 = 0 ;
25001 PyObject * obj2 = 0 ;
25002 char *kwnames[] = {
25003 (char *) "self",(char *) "self",(char *) "_class", NULL
25004 };
25005
25006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
25008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25009 arg2 = obj1;
25010 arg3 = obj2;
25011 {
25012 PyThreadState* __tstate = wxPyBeginAllowThreads();
25013 (arg1)->_setCallbackInfo(arg2,arg3);
25014
25015 wxPyEndAllowThreads(__tstate);
25016 if (PyErr_Occurred()) SWIG_fail;
25017 }
25018 Py_INCREF(Py_None); resultobj = Py_None;
25019 return resultobj;
25020 fail:
25021 return NULL;
25022}
25023
25024
c32bde28 25025static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25026 PyObject *resultobj;
25027 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
25028 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
25029 PyObject * obj0 = 0 ;
25030 PyObject * obj1 = 0 ;
25031 char *kwnames[] = {
25032 (char *) "self",(char *) "canvas", NULL
25033 };
25034
25035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
25036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
25037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25038 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
25039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25040 {
25041 PyThreadState* __tstate = wxPyBeginAllowThreads();
25042 (arg1)->SetPreviewCanvas(arg2);
25043
25044 wxPyEndAllowThreads(__tstate);
25045 if (PyErr_Occurred()) SWIG_fail;
25046 }
25047 Py_INCREF(Py_None); resultobj = Py_None;
25048 return resultobj;
25049 fail:
25050 return NULL;
25051}
25052
25053
c32bde28 25054static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25055 PyObject *resultobj;
25056 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
25057 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
25058 PyObject * obj0 = 0 ;
25059 PyObject * obj1 = 0 ;
25060 char *kwnames[] = {
25061 (char *) "self",(char *) "bar", NULL
25062 };
25063
25064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
25065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
25066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25067 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewControlBar,
25068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25069 {
25070 PyThreadState* __tstate = wxPyBeginAllowThreads();
25071 (arg1)->SetControlBar(arg2);
25072
25073 wxPyEndAllowThreads(__tstate);
25074 if (PyErr_Occurred()) SWIG_fail;
25075 }
25076 Py_INCREF(Py_None); resultobj = Py_None;
25077 return resultobj;
25078 fail:
25079 return NULL;
25080}
25081
25082
c32bde28 25083static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25084 PyObject *resultobj;
25085 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
25086 PyObject * obj0 = 0 ;
25087 char *kwnames[] = {
25088 (char *) "self", NULL
25089 };
25090
25091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
25092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
25093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25094 {
25095 PyThreadState* __tstate = wxPyBeginAllowThreads();
25096 (arg1)->base_Initialize();
25097
25098 wxPyEndAllowThreads(__tstate);
25099 if (PyErr_Occurred()) SWIG_fail;
25100 }
25101 Py_INCREF(Py_None); resultobj = Py_None;
25102 return resultobj;
25103 fail:
25104 return NULL;
25105}
25106
25107
c32bde28 25108static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25109 PyObject *resultobj;
25110 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
25111 PyObject * obj0 = 0 ;
25112 char *kwnames[] = {
25113 (char *) "self", NULL
25114 };
25115
25116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
25117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
25118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25119 {
25120 PyThreadState* __tstate = wxPyBeginAllowThreads();
25121 (arg1)->base_CreateCanvas();
25122
25123 wxPyEndAllowThreads(__tstate);
25124 if (PyErr_Occurred()) SWIG_fail;
25125 }
25126 Py_INCREF(Py_None); resultobj = Py_None;
25127 return resultobj;
25128 fail:
25129 return NULL;
25130}
25131
25132
c32bde28 25133static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25134 PyObject *resultobj;
25135 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
25136 PyObject * obj0 = 0 ;
25137 char *kwnames[] = {
25138 (char *) "self", NULL
25139 };
25140
25141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
25142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
25143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25144 {
25145 PyThreadState* __tstate = wxPyBeginAllowThreads();
25146 (arg1)->base_CreateControlBar();
25147
25148 wxPyEndAllowThreads(__tstate);
25149 if (PyErr_Occurred()) SWIG_fail;
25150 }
25151 Py_INCREF(Py_None); resultobj = Py_None;
25152 return resultobj;
25153 fail:
25154 return NULL;
25155}
25156
25157
c32bde28 25158static PyObject * PyPreviewFrame_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
25159 PyObject *obj;
25160 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25161 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
25162 Py_INCREF(obj);
25163 return Py_BuildValue((char *)"");
25164}
c32bde28 25165static PyObject *_wrap_new_PyPreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25166 PyObject *resultobj;
25167 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25168 long arg2 ;
25169 wxWindow *arg3 = (wxWindow *) 0 ;
25170 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25171 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25172 wxSize const &arg5_defvalue = wxDefaultSize ;
25173 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25174 long arg6 = (long) 0 ;
25175 wxString const &arg7_defvalue = wxPyPanelNameStr ;
25176 wxString *arg7 = (wxString *) &arg7_defvalue ;
25177 wxPyPreviewControlBar *result;
25178 wxPoint temp4 ;
25179 wxSize temp5 ;
ae8162c8 25180 bool temp7 = false ;
d55e5bfc
RD
25181 PyObject * obj0 = 0 ;
25182 PyObject * obj1 = 0 ;
25183 PyObject * obj2 = 0 ;
25184 PyObject * obj3 = 0 ;
25185 PyObject * obj4 = 0 ;
25186 PyObject * obj5 = 0 ;
25187 PyObject * obj6 = 0 ;
25188 char *kwnames[] = {
25189 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25190 };
25191
25192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
25194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 25195 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
25196 if (PyErr_Occurred()) SWIG_fail;
25197 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
25198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25199 if (obj3) {
25200 {
25201 arg4 = &temp4;
25202 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25203 }
25204 }
25205 if (obj4) {
25206 {
25207 arg5 = &temp5;
25208 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25209 }
25210 }
25211 if (obj5) {
c32bde28 25212 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
25213 if (PyErr_Occurred()) SWIG_fail;
25214 }
25215 if (obj6) {
25216 {
25217 arg7 = wxString_in_helper(obj6);
25218 if (arg7 == NULL) SWIG_fail;
ae8162c8 25219 temp7 = true;
d55e5bfc
RD
25220 }
25221 }
25222 {
0439c23b 25223 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
25224 PyThreadState* __tstate = wxPyBeginAllowThreads();
25225 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25226
25227 wxPyEndAllowThreads(__tstate);
110da5b0 25228 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
25229 }
25230 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
25231 {
25232 if (temp7)
25233 delete arg7;
25234 }
25235 return resultobj;
25236 fail:
25237 {
25238 if (temp7)
25239 delete arg7;
25240 }
25241 return NULL;
25242}
25243
25244
c32bde28 25245static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25246 PyObject *resultobj;
25247 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
25248 PyObject *arg2 = (PyObject *) 0 ;
25249 PyObject *arg3 = (PyObject *) 0 ;
25250 PyObject * obj0 = 0 ;
25251 PyObject * obj1 = 0 ;
25252 PyObject * obj2 = 0 ;
25253 char *kwnames[] = {
25254 (char *) "self",(char *) "self",(char *) "_class", NULL
25255 };
25256
25257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
25259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25260 arg2 = obj1;
25261 arg3 = obj2;
25262 {
25263 PyThreadState* __tstate = wxPyBeginAllowThreads();
25264 (arg1)->_setCallbackInfo(arg2,arg3);
25265
25266 wxPyEndAllowThreads(__tstate);
25267 if (PyErr_Occurred()) SWIG_fail;
25268 }
25269 Py_INCREF(Py_None); resultobj = Py_None;
25270 return resultobj;
25271 fail:
25272 return NULL;
25273}
25274
25275
c32bde28 25276static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25277 PyObject *resultobj;
25278 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
25279 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
25280 PyObject * obj0 = 0 ;
25281 PyObject * obj1 = 0 ;
25282 char *kwnames[] = {
25283 (char *) "self",(char *) "preview", NULL
25284 };
25285
25286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
25287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
25288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25289 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintPreview,
25290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25291 {
25292 PyThreadState* __tstate = wxPyBeginAllowThreads();
25293 (arg1)->SetPrintPreview(arg2);
25294
25295 wxPyEndAllowThreads(__tstate);
25296 if (PyErr_Occurred()) SWIG_fail;
25297 }
25298 Py_INCREF(Py_None); resultobj = Py_None;
25299 return resultobj;
25300 fail:
25301 return NULL;
25302}
25303
25304
c32bde28 25305static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25306 PyObject *resultobj;
25307 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
25308 PyObject * obj0 = 0 ;
25309 char *kwnames[] = {
25310 (char *) "self", NULL
25311 };
25312
25313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
25314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
25315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25316 {
25317 PyThreadState* __tstate = wxPyBeginAllowThreads();
25318 (arg1)->base_CreateButtons();
25319
25320 wxPyEndAllowThreads(__tstate);
25321 if (PyErr_Occurred()) SWIG_fail;
25322 }
25323 Py_INCREF(Py_None); resultobj = Py_None;
25324 return resultobj;
25325 fail:
25326 return NULL;
25327}
25328
25329
c32bde28 25330static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25331 PyObject *resultobj;
25332 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
25333 int arg2 ;
25334 PyObject * obj0 = 0 ;
25335 PyObject * obj1 = 0 ;
25336 char *kwnames[] = {
25337 (char *) "self",(char *) "zoom", NULL
25338 };
25339
25340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
25341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
25342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 25343 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
25344 if (PyErr_Occurred()) SWIG_fail;
25345 {
25346 PyThreadState* __tstate = wxPyBeginAllowThreads();
25347 (arg1)->base_SetZoomControl(arg2);
25348
25349 wxPyEndAllowThreads(__tstate);
25350 if (PyErr_Occurred()) SWIG_fail;
25351 }
25352 Py_INCREF(Py_None); resultobj = Py_None;
25353 return resultobj;
25354 fail:
25355 return NULL;
25356}
25357
25358
c32bde28 25359static PyObject * PyPreviewControlBar_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
25360 PyObject *obj;
25361 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25362 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
25363 Py_INCREF(obj);
25364 return Py_BuildValue((char *)"");
25365}
25366static PyMethodDef SwigMethods[] = {
c32bde28
RD
25367 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL },
25368 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS, NULL },
25369 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25370 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25371 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25372 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL },
25373 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25374 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25375 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25376 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL },
25377 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL },
25378 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
25379 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
25380 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL },
25381 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS, NULL },
25382 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL },
25383 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS, NULL },
25384 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL },
25385 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS, NULL },
25386 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS, NULL },
25387 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL },
25388 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL },
25389 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL },
25390 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL },
25391 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25392 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25393 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL },
25394 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL },
25395 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL },
25396 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25397 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL },
25398 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL },
25399 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS, NULL },
25400 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL },
25401 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS, NULL },
25402 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS, NULL },
25403 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25404 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25405 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL },
25406 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL },
25407 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS, NULL },
25408 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
25409 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
25410 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL },
25411 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL },
5e483524 25412 { (char *)"TopLevelWindow_IsActive", (PyCFunction) _wrap_TopLevelWindow_IsActive, METH_VARARGS | METH_KEYWORDS, NULL },
c32bde28
RD
25413 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL },
25414 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL },
25415 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25416 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25417 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS, NULL },
25418 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25419 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL },
25420 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL },
25421 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL },
25422 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
25423 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
25424 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
25425 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25426 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL },
25427 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25428 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25429 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL },
25430 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL },
25431 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
25432 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
25433 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
25434 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25435 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL },
25436 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25437 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL },
25438 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL },
25439 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25440 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25441 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL },
25442 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL },
25443 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL },
25444 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL },
25445 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS, NULL },
25446 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL },
25447 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL },
25448 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25449 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL },
25450 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25451 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25452 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25453 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL },
25454 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25455 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
25456 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
25457 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL },
25458 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL },
25459 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS, NULL },
25460 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25461 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS, NULL },
25462 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL },
25463 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
25464 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
25465 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25466 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL },
25467 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL },
25468 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25469 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25470 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25471 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
25472 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL },
25473 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL },
25474 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL },
25475 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL },
25476 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS, NULL },
25477 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS, NULL },
25478 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25479 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL },
25480 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25481 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25482 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25483 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS, NULL },
25484 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS, NULL },
25485 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL },
25486 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL },
25487 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL },
25488 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL },
25489 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL },
25490 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL },
25491 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25492 { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS, NULL },
25493 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS, NULL },
25494 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL },
25495 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25496 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS, NULL },
25497 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25498 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25499 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25500 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL },
25501 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL },
25502 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL },
25503 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL },
25504 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL },
25505 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL },
25506 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25507 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL },
25508 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25509 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25510 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25511 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS, NULL },
25512 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL },
25513 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL },
25514 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL },
25515 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25516 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25517 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25518 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL },
25519 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL },
25520 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL },
25521 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL },
25522 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL },
25523 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25524 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25525 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25526 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
25527 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
25528 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
25529 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
25530 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
25531 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
25532 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
25533 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
25534 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
25535 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL },
25536 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL },
25537 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL },
25538 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25539 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL },
25540 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS, NULL },
25541 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL },
25542 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS, NULL },
25543 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL },
25544 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL },
25545 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL },
25546 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25547 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL },
25548 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL },
25549 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25550 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25551 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25552 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25553 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25554 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25555 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
25556 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
25557 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL },
25558 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25559 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25560 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25561 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL },
25562 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL },
25563 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL },
25564 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25565 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25566 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25567 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
25568 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25569 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
25570 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL },
25571 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25572 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL },
25573 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL },
25574 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL },
25575 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25576 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25577 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25578 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL },
25579 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25580 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25581 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25582 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS, NULL },
25583 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL },
25584 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25585 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25586 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25587 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS, NULL },
25588 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS, NULL },
25589 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL },
25590 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25591 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL },
25592 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS, NULL },
25593 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL },
25594 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25595 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25596 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25597 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25598 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL },
25599 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL },
25600 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS, NULL },
25601 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS, NULL },
25602 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL },
25603 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL },
25604 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL },
25605 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
25606 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL },
25607 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL },
25608 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL },
25609 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL },
25610 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL },
25611 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL },
25612 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL },
25613 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS, NULL },
25614 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25615 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25616 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
25617 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25618 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25619 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL },
25620 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL },
25621 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS, NULL },
25622 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL },
25623 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL },
25624 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25625 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25626 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
25627 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS, NULL },
25628 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25629 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL },
25630 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL },
25631 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL },
25632 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL },
25633 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL },
25634 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25635 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL },
25636 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25637 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL },
25638 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL },
25639 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL },
25640 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25641 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25642 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL },
25643 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
25644 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction) _wrap_HtmlListBox_GetFileSystem, METH_VARARGS | METH_KEYWORDS, NULL },
25645 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL },
25646 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL },
5e483524 25647 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
c32bde28
RD
25648 { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
25649 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS, NULL },
25650 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS, NULL },
25651 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25652 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS, NULL },
25653 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL },
25654 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL },
25655 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25656 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL },
25657 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS, NULL },
25658 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS, NULL },
25659 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL },
25660 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25661 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL },
25662 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL },
25663 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25664 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL },
25665 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL },
25666 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25667 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS, NULL },
25668 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL },
25669 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25670 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL },
25671 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
25672 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
25673 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
25674 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL },
25675 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL },
25676 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25677 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
25678 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL },
25679 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL },
25680 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
25681 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL },
25682 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
25683 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL },
25684 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
25685 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL },
25686 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS, NULL },
25687 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
25688 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS, NULL },
25689 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
25690 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL },
25691 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS, NULL },
25692 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS, NULL },
25693 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL },
25694 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25695 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL },
25696 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL },
25697 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL },
25698 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25699 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25700 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25701 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25702 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL },
25703 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25704 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
25705 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
25706 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL },
25707 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS, NULL },
25708 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS, NULL },
25709 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL },
25710 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL },
25711 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25712 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL },
25713 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS, NULL },
25714 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL },
25715 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25716 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL },
25717 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL },
25718 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25719 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL },
25720 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL },
25721 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25722 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL },
25723 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25724 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS, NULL },
25725 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL },
25726 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25727 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL },
25728 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25729 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL },
25730 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS, NULL },
25731 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL },
25732 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL },
25733 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25734 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
25735 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
25736 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25737 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25738 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
25739 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
25740 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL },
25741 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL },
25742 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL },
25743 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
25744 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
25745 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25746 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
25747 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
25748 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
25749 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL },
25750 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25751 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25752 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25753 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
25754 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
25755 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL },
25756 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25757 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25758 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25759 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS, NULL },
25760 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS, NULL },
25761 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS, NULL },
25762 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS, NULL },
25763 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS, NULL },
25764 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25765 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
25766 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_GetWindowMenu, METH_VARARGS | METH_KEYWORDS, NULL },
25767 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_SetWindowMenu, METH_VARARGS | METH_KEYWORDS, NULL },
25768 { (char *)"MDIParentFrame_SetToolBar", (PyCFunction) _wrap_MDIParentFrame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
25769 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL },
25770 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL },
25771 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25772 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL },
25773 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25774 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS, NULL },
25775 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS, NULL },
25776 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS, NULL },
25777 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL },
25778 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25779 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25780 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
25781 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL },
25782 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25783 { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25784 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25785 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25786 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25787 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25788 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25789 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25790 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25791 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25792 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25793 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25794 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25795 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25796 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25797 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25798 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
25799 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
25800 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
25801 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
25802 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
25803 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
25804 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL },
25805 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25806 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25807 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL },
25808 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL },
25809 { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS, NULL },
25810 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25811 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25812 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25813 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25814 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25815 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25816 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25817 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25818 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25819 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25820 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25821 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25822 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25823 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25824 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
25825 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
25826 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
25827 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
25828 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
25829 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
25830 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL },
25831 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyPanel_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25832 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction) _wrap_PyPanel_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25833 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL },
25834 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25835 { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25836 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25837 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25838 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25839 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25840 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25841 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25842 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL },
25843 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
25844 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
25845 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
25846 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
25847 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25848 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25849 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25850 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
25851 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
25852 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
25853 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
25854 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
25855 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
25856 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL },
25857 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL },
25858 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyScrolledWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
25859 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL },
25860 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL },
25861 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS, NULL },
25862 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
25863 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
25864 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25865 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
25866 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL },
25867 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25868 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS, NULL },
25869 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
25870 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
25871 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS, NULL },
ae8162c8 25872 { (char *)"PrintData_GetBin", (PyCFunction) _wrap_PrintData_GetBin, METH_VARARGS | METH_KEYWORDS, NULL },
c32bde28
RD
25873 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
25874 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
25875 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25876 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL },
25877 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL },
25878 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL },
25879 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
25880 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
25881 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL },
ae8162c8 25882 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL },
c32bde28
RD
25883 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL },
25884 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL },
25885 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL },
25886 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
25887 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL },
25888 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL },
25889 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL },
25890 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL },
25891 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL },
25892 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL },
25893 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL },
25894 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL },
25895 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL },
25896 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
25897 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL },
25898 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL },
25899 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL },
25900 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS, NULL },
25901 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL },
25902 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL },
25903 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS, NULL },
25904 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL },
25905 { (char *)"PrintData_GetOutputStream", (PyCFunction) _wrap_PrintData_GetOutputStream, METH_VARARGS | METH_KEYWORDS, NULL },
25906 { (char *)"PrintData_SetOutputStream", (PyCFunction) _wrap_PrintData_SetOutputStream, METH_VARARGS | METH_KEYWORDS, NULL },
25907 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL },
25908 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL },
25909 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
25910 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25911 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25912 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25913 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL },
25914 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL },
25915 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25916 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25917 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
25918 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS, NULL },
25919 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL },
25920 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25921 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25922 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
25923 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
25924 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
25925 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
25926 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
25927 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
25928 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
25929 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
25930 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25931 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL },
25932 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
25933 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
25934 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
25935 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
25936 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
25937 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
25938 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
25939 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL },
25940 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25941 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL },
25942 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL },
25943 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL },
25944 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL },
25945 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
25946 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS, NULL },
25947 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS, NULL },
25948 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL },
25949 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL },
25950 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
25951 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS, NULL },
25952 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25953 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
25954 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
25955 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25956 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL },
25957 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL },
25958 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL },
25959 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL },
25960 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
25961 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL },
25962 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25963 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
25964 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
25965 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25966 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
25967 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25968 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL },
25969 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25970 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
25971 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS, NULL },
25972 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL },
25973 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
25974 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
25975 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
25976 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
25977 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL },
25978 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25979 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
25980 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS, NULL },
25981 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL },
25982 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL },
25983 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL },
25984 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS, NULL },
25985 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL },
25986 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
25987 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL },
25988 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL },
25989 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL },
25990 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL },
25991 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS, NULL },
25992 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS, NULL },
25993 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL },
25994 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL },
25995 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
25996 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
25997 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS, NULL },
25998 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL },
25999 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL },
26000 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL },
26001 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL },
26002 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL },
26003 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL },
26004 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL },
26005 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL },
26006 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL },
26007 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS, NULL },
26008 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL },
26009 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL },
26010 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS, NULL },
26011 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS, NULL },
26012 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS, NULL },
26013 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS, NULL },
26014 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS, NULL },
26015 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS, NULL },
26016 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL },
26017 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
26018 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL },
26019 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL },
26020 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS, NULL },
26021 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
26022 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
26023 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
26024 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL },
26025 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
26026 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL },
26027 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL },
26028 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL },
26029 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS, NULL },
26030 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS, NULL },
26031 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS, NULL },
26032 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS, NULL },
26033 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS, NULL },
26034 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL },
26035 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL },
26036 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL },
26037 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL },
26038 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL },
26039 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS, NULL },
26040 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS, NULL },
26041 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL },
26042 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
26043 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL },
26044 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
26045 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL },
26046 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL },
26047 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL },
26048 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL },
26049 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
26050 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL },
26051 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS, NULL },
26052 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL },
26053 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL },
26054 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
26055 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL },
26056 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL },
26057 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL },
26058 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL },
26059 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL },
26060 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
26061 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL },
26062 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL },
26063 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL },
26064 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL },
26065 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL },
26066 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS, NULL },
26067 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL },
26068 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL },
26069 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL },
26070 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
26071 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
26072 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
26073 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS, NULL },
26074 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
26075 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
26076 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL },
26077 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
26078 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
26079 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL },
26080 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS, NULL },
26081 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL },
26082 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL },
26083 { NULL, NULL, 0, NULL }
d55e5bfc
RD
26084};
26085
26086
26087/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
26088
26089static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
26090 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26091}
26092static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
26093 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
26094}
26095static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
26096 return (void *)((wxEvent *) ((wxMenuEvent *) x));
26097}
26098static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
26099 return (void *)((wxEvent *) ((wxCloseEvent *) x));
26100}
26101static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
26102 return (void *)((wxEvent *) ((wxMouseEvent *) x));
26103}
26104static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
26105 return (void *)((wxEvent *) ((wxEraseEvent *) x));
26106}
26107static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
26108 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
26109}
26110static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
26111 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
26112}
26113static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
26114 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
26115}
26116static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
26117 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
26118}
26119static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
26120 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
26121}
26122static void *_p_wxPyEventTo_p_wxEvent(void *x) {
26123 return (void *)((wxEvent *) ((wxPyEvent *) x));
26124}
26125static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
26126 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
26127}
26128static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
26129 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
26130}
26131static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
26132 return (void *)((wxEvent *) ((wxIdleEvent *) x));
26133}
26134static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
26135 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
26136}
26137static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
26138 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
26139}
26140static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
26141 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
26142}
26143static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
26144 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
26145}
26146static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
26147 return (void *)((wxEvent *) ((wxActivateEvent *) x));
26148}
26149static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
26150 return (void *)((wxEvent *) ((wxSizeEvent *) x));
26151}
26152static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
26153 return (void *)((wxEvent *) ((wxMoveEvent *) x));
26154}
26155static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
26156 return (void *)((wxEvent *) ((wxPaintEvent *) x));
26157}
26158static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
26159 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
26160}
26161static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
26162 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
26163}
26164static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
26165 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
26166}
26167static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
26168 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
26169}
26170static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
26171 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
26172}
26173static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
26174 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
26175}
26176static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
26177 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
26178}
26179static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
26180 return (void *)((wxEvent *) ((wxFocusEvent *) x));
26181}
26182static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
26183 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
26184}
26185static void *_p_wxSashEventTo_p_wxEvent(void *x) {
26186 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
26187}
26188static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
26189 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
26190}
26191static void *_p_wxShowEventTo_p_wxEvent(void *x) {
26192 return (void *)((wxEvent *) ((wxShowEvent *) x));
26193}
26194static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
26195 return (void *)((wxEvent *) ((wxCommandEvent *) x));
26196}
26197static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
26198 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
26199}
26200static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
26201 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26202}
26203static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
26204 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
26205}
26206static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
26207 return (void *)((wxEvent *) ((wxKeyEvent *) x));
26208}
26209static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
26210 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
26211}
26212static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
26213 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
26214}
26215static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
26216 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
26217}
26218static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
26219 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
26220}
26221static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
26222 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
26223}
26224static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
26225 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
26226}
26227static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
26228 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
26229}
26230static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
26231 return (void *)((wxEvtHandler *) ((wxValidator *) x));
26232}
26233static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
26234 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
26235}
26236static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
26237 return (void *)((wxEvtHandler *) ((wxMenu *) x));
26238}
26239static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
26240 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
26241}
26242static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
26243 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
26244}
26245static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
26246 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
26247}
26248static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
26249 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
26250}
26251static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
26252 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
26253}
26254static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
26255 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
26256}
26257static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
26258 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
26259}
26260static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
26261 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
26262}
26263static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
26264 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
26265}
26266static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
26267 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
26268}
26269static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
26270 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26271}
26272static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
26273 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26274}
26275static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
26276 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
26277}
26278static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
26279 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
26280}
26281static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
26282 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
26283}
26284static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
26285 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
26286}
26287static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
26288 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
26289}
26290static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
26291 return (void *)((wxEvtHandler *) ((wxWindow *) x));
26292}
26293static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
26294 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
26295}
26296static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
26297 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
26298}
26299static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
26300 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
26301}
26302static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
26303 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26304}
26305static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
26306 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
26307}
26308static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
26309 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
26310}
26311static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
26312 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26313}
26314static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
26315 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
26316}
26317static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
26318 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
26319}
26320static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
26321 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
26322}
26323static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
26324 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
26325}
26326static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
26327 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
26328}
26329static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
26330 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26331}
26332static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
26333 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26334}
26335static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
26336 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
26337}
26338static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
26339 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26340}
5e483524
RD
26341static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
26342 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d55e5bfc
RD
26343}
26344static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
26345 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
26346}
26347static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
26348 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
26349}
26350static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
26351 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
26352}
26353static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
26354 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
26355}
26356static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
26357 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
26358}
26359static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
26360 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
26361}
26362static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
26363 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
26364}
26365static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
26366 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
26367}
26368static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
26369 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
26370}
26371static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
26372 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
26373}
26374static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
26375 return (void *)((wxFrame *) ((wxProgressDialog *) x));
26376}
26377static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
26378 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
26379}
26380static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
26381 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26382}
26383static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
26384 return (void *)((wxFrame *) ((wxMiniFrame *) x));
26385}
26386static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
26387 return (void *)((wxFrame *) ((wxSplashScreen *) x));
26388}
26389static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
26390 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
26391}
26392static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
26393 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
26394}
26395static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
26396 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
26397}
26398static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
26399 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
26400}
26401static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
26402 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26403}
26404static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
26405 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
26406}
26407static void *_p_wxSizerItemTo_p_wxObject(void *x) {
26408 return (void *)((wxObject *) ((wxSizerItem *) x));
26409}
26410static void *_p_wxScrollEventTo_p_wxObject(void *x) {
26411 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
26412}
26413static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
26414 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
26415}
26416static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
26417 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
26418}
26419static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
26420 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
26421}
26422static void *_p_wxSizerTo_p_wxObject(void *x) {
26423 return (void *)((wxObject *) ((wxSizer *) x));
26424}
26425static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
26426 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
26427}
26428static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
26429 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
26430}
26431static void *_p_wxPyPanelTo_p_wxObject(void *x) {
26432 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
26433}
26434static void *_p_wxEventTo_p_wxObject(void *x) {
26435 return (void *)((wxObject *) ((wxEvent *) x));
26436}
26437static void *_p_wxFontDataTo_p_wxObject(void *x) {
26438 return (void *)((wxObject *) ((wxFontData *) x));
26439}
26440static void *_p_wxPrintDataTo_p_wxObject(void *x) {
26441 return (void *)((wxObject *) ((wxPrintData *) x));
26442}
26443static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
26444 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
26445}
26446static void *_p_wxGridSizerTo_p_wxObject(void *x) {
26447 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
26448}
26449static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
26450 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
26451}
26452static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
26453 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
26454}
5e483524
RD
26455static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
26456 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d55e5bfc
RD
26457}
26458static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
26459 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
26460}
26461static void *_p_wxPaintEventTo_p_wxObject(void *x) {
26462 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
26463}
26464static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
26465 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
26466}
26467static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
26468 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
26469}
26470static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
26471 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
26472}
26473static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
26474 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
26475}
26476static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
26477 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
26478}
26479static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
26480 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
26481}
26482static void *_p_wxControlTo_p_wxObject(void *x) {
26483 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
26484}
26485static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
26486 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
26487}
26488static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
26489 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
26490}
26491static void *_p_wxFSFileTo_p_wxObject(void *x) {
26492 return (void *)((wxObject *) ((wxFSFile *) x));
26493}
26494static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
26495 return (void *)((wxObject *) ((wxFindReplaceData *) x));
26496}
26497static void *_p_wxPySizerTo_p_wxObject(void *x) {
26498 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
26499}
26500static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
26501 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
26502}
26503static void *_p_wxColourDataTo_p_wxObject(void *x) {
26504 return (void *)((wxObject *) ((wxColourData *) x));
26505}
26506static void *_p_wxPyEventTo_p_wxObject(void *x) {
26507 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
26508}
26509static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
26510 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
26511}
26512static void *_p_wxPyWindowTo_p_wxObject(void *x) {
26513 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
26514}
26515static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
26516 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
26517}
26518static void *_p_wxFileDialogTo_p_wxObject(void *x) {
26519 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
26520}
26521static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
26522 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
26523}
26524static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
26525 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
26526}
26527static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
26528 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
26529}
26530static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
26531 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
26532}
26533static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
26534 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
26535}
26536static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
26537 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
26538}
26539static void *_p_wxShowEventTo_p_wxObject(void *x) {
26540 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
26541}
26542static void *_p_wxPrinterTo_p_wxObject(void *x) {
26543 return (void *)((wxObject *) ((wxPrinter *) x));
26544}
26545static void *_p_wxMenuItemTo_p_wxObject(void *x) {
26546 return (void *)((wxObject *) ((wxMenuItem *) x));
26547}
26548static void *_p_wxIdleEventTo_p_wxObject(void *x) {
26549 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
26550}
26551static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
26552 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
26553}
26554static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
26555 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
26556}
26557static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
26558 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
26559}
26560static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
26561 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
26562}
26563static void *_p_wxSizeEventTo_p_wxObject(void *x) {
26564 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
26565}
26566static void *_p_wxMoveEventTo_p_wxObject(void *x) {
26567 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
26568}
26569static void *_p_wxActivateEventTo_p_wxObject(void *x) {
26570 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
26571}
26572static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
26573 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
26574}
26575static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
26576 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
26577}
26578static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
26579 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
26580}
26581static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
26582 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
26583}
26584static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
26585 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
26586}
26587static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
26588 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
26589}
26590static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
26591 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
26592}
26593static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
26594 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
26595}
26596static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
26597 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
26598}
26599static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
26600 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
26601}
26602static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
26603 return (void *)((wxObject *) ((wxImageHandler *) x));
26604}
26605static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
26606 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
26607}
26608static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
26609 return (void *)((wxObject *) ((wxEvtHandler *) x));
26610}
26611static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
26612 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
26613}
26614static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
26615 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26616}
26617static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
26618 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26619}
26620static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
26621 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
26622}
26623static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
26624 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
26625}
26626static void *_p_wxImageTo_p_wxObject(void *x) {
26627 return (void *)((wxObject *) ((wxImage *) x));
26628}
26629static void *_p_wxFrameTo_p_wxObject(void *x) {
26630 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
26631}
26632static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
26633 return (void *)((wxObject *) ((wxPyPrintout *) x));
26634}
26635static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
26636 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
26637}
26638static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
26639 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
26640}
26641static void *_p_wxStatusBarTo_p_wxObject(void *x) {
26642 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
26643}
26644static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
26645 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
26646}
26647static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
26648 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26649}
26650static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
26651 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
26652}
26653static void *_p_wxKeyEventTo_p_wxObject(void *x) {
26654 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
26655}
26656static void *_p_wxWindowTo_p_wxObject(void *x) {
26657 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
26658}
26659static void *_p_wxMenuTo_p_wxObject(void *x) {
26660 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
26661}
26662static void *_p_wxMenuBarTo_p_wxObject(void *x) {
26663 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
26664}
26665static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
26666 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
26667}
26668static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
26669 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
26670}
26671static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
26672 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
26673}
26674static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
26675 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
26676}
26677static void *_p_wxSashWindowTo_p_wxObject(void *x) {
26678 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
26679}
26680static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
26681 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
26682}
26683static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
26684 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
26685}
26686static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
26687 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26688}
26689static void *_p_wxTipWindowTo_p_wxObject(void *x) {
26690 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26691}
26692static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
26693 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
26694}
26695static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
26696 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
26697}
26698static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
26699 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26700}
26701static void *_p_wxSashEventTo_p_wxObject(void *x) {
26702 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
26703}
26704static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
26705 return (void *)((wxObject *) ((wxPrintPreview *) x));
26706}
26707static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
26708 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
26709}
26710static void *_p_wxPanelTo_p_wxObject(void *x) {
26711 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
26712}
26713static void *_p_wxDialogTo_p_wxObject(void *x) {
26714 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
26715}
26716static void *_p_wxColourDialogTo_p_wxObject(void *x) {
26717 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
26718}
26719static void *_p_wxDirDialogTo_p_wxObject(void *x) {
26720 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
26721}
26722static void *_p_wxFontDialogTo_p_wxObject(void *x) {
26723 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
26724}
26725static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
26726 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
26727}
26728static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
26729 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
26730}
26731static void *_p_wxFileSystemTo_p_wxObject(void *x) {
26732 return (void *)((wxObject *) ((wxFileSystem *) x));
26733}
26734static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
26735 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
26736}
26737static void *_p_wxMenuEventTo_p_wxObject(void *x) {
26738 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
26739}
26740static void *_p_wxPyAppTo_p_wxObject(void *x) {
26741 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
26742}
26743static void *_p_wxCloseEventTo_p_wxObject(void *x) {
26744 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
26745}
26746static void *_p_wxMouseEventTo_p_wxObject(void *x) {
26747 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
26748}
26749static void *_p_wxEraseEventTo_p_wxObject(void *x) {
26750 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
26751}
26752static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
26753 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
26754}
26755static void *_p_wxCommandEventTo_p_wxObject(void *x) {
26756 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
26757}
26758static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
26759 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
26760}
26761static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
26762 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26763}
26764static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
26765 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
26766}
26767static void *_p_wxFocusEventTo_p_wxObject(void *x) {
26768 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
26769}
26770static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
26771 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
26772}
26773static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
26774 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
26775}
26776static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
26777 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
26778}
26779static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
26780 return (void *)((wxObject *) ((wxPrintDialogData *) x));
26781}
26782static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
26783 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
26784}
26785static void *_p_wxValidatorTo_p_wxObject(void *x) {
26786 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
26787}
26788static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
26789 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26790}
26791static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
26792 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
26793}
26794static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
26795 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26796}
26797static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
26798 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26799}
26800static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
26801 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26802}
26803static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
26804 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
26805}
26806static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
26807 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
26808}
26809static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
26810 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
26811}
26812static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
26813 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
26814}
26815static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
26816 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
26817}
26818static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
26819 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
26820}
26821static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
26822 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
26823}
26824static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
26825 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
26826}
26827static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
26828 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
26829}
26830static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
26831 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
26832}
26833static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
26834 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
26835}
26836static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
26837 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
26838}
26839static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
26840 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
26841}
26842static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
26843 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
26844}
26845static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
26846 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
26847}
26848static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
26849 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
26850}
26851static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
26852 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
26853}
26854static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
26855 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
26856}
26857static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
26858 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
26859}
26860static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
26861 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
26862}
26863static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
26864 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26865}
26866static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
26867 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
26868}
26869static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
26870 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
26871}
26872static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
26873 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
26874}
26875static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
26876 return (void *)((wxWindow *) ((wxMenuBar *) x));
26877}
26878static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
26879 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
26880}
26881static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
26882 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
26883}
26884static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
26885 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
26886}
26887static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
26888 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
26889}
26890static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
26891 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
26892}
26893static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
26894 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
26895}
26896static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
26897 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
26898}
26899static void *_p_wxPanelTo_p_wxWindow(void *x) {
26900 return (void *)((wxWindow *) ((wxPanel *) x));
26901}
26902static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
26903 return (void *)((wxWindow *) ((wxStatusBar *) x));
26904}
26905static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
26906 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
26907}
26908static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
26909 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
26910}
26911static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
26912 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26913}
26914static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
26915 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26916}
26917static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
26918 return (void *)((wxWindow *) ((wxPopupWindow *) x));
26919}
26920static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
26921 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
26922}
26923static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
26924 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
26925}
26926static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
26927 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
26928}
26929static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
26930 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
26931}
26932static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
26933 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
26934}
26935static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
26936 return (void *)((wxWindow *) ((wxSashWindow *) x));
26937}
26938static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
26939 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26940}
26941static void *_p_wxControlTo_p_wxWindow(void *x) {
26942 return (void *)((wxWindow *) ((wxControl *) x));
26943}
26944static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
26945 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
26946}
26947static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
26948 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26949}
26950static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
26951 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
26952}
26953static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
26954 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
26955}
26956static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
26957 return (void *)((wxWindow *) ((wxPyWindow *) x));
26958}
26959static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
26960 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
26961}
26962static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
26963 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26964}
26965static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
26966 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26967}
26968static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
26969 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
26970}
26971static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
26972 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26973}
26974static void *_p_wxFrameTo_p_wxWindow(void *x) {
26975 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
26976}
26977static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
26978 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
26979}
26980static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
26981 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
26982}
26983static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
26984 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
26985}
26986static void *_p_wxDialogTo_p_wxWindow(void *x) {
26987 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
26988}
26989static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
26990 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
26991}
26992static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
26993 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
26994}
26995static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
26996 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
26997}
26998static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
26999 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
27000}
27001static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
27002 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
27003}
27004static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
27005 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
27006}
27007static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
27008 return (void *)((wxDialog *) ((wxColourDialog *) x));
27009}
27010static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
27011 return (void *)((wxDialog *) ((wxDirDialog *) x));
27012}
27013static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
27014 return (void *)((wxDialog *) ((wxFontDialog *) x));
27015}
27016static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
27017 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
27018}
27019static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
27020 return (void *)((wxDialog *) ((wxPrintDialog *) x));
27021}
27022static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
27023 return (void *)((wxDialog *) ((wxFileDialog *) x));
27024}
27025static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
27026 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
27027}
27028static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
27029 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
27030}
27031static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
27032 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
27033}
27034static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
27035 return (void *)((wxDialog *) ((wxMessageDialog *) x));
27036}
27037static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
27038 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
27039}
27040static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
27041 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
27042}
27043static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
27044 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
27045}
27046static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
27047 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
27048}
27049static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
27050 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
27051}
27052static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
27053 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
27054}
27055static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
27056 return (void *)((wxPanel *) ((wxPyPanel *) x));
27057}
27058static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
27059 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
27060}
27061static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
27062 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
27063}
27064static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
27065 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
27066}
27067static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
27068 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
27069}
27070static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
27071 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
27072}
27073static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
27074 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
27075}
27076static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
27077 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
27078}
27079static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
27080 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
27081}
27082static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
27083 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
27084}
27085static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
27086 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
27087}
27088static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
27089 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
27090}
27091static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
27092 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
27093}
27094static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
27095 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
27096}
27097static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
27098 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
27099}
27100static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
27101 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
27102}
27103static 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}};
27104static 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}};
27105static 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}};
27106static 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}};
27107static 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
27108static 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}};
27109static 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 27110static 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 27111static swig_type_info _swigt__p_wxTaskBarIcon[] = {{"_p_wxTaskBarIcon", 0, "wxTaskBarIcon *", 0, 0, 0, 0},{"_p_wxTaskBarIcon", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
5e483524 27112static swig_type_info _swigt__p_wxPyTaskBarIcon[] = {{"_p_wxPyTaskBarIcon", 0, "wxPyTaskBarIcon *", 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
27113static 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}};
27114static 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}};
27115static 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}};
27116static 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}};
27117static 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}};
27118static 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}};
27119static 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}};
27120static 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}};
27121static 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}};
27122static 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}};
27123static 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}};
27124static 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 27125static 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
27126static 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}};
27127static 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}};
27128static 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}};
27129static 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}};
27130static 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}};
27131static 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}};
27132static 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}};
27133static 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}};
27134static 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}};
27135static 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}};
27136static 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}};
27137static 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}};
27138static 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}};
27139static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0, 0, 0, 0},{"_p_wxArrayInt", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
5e483524 27140static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
27141static 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}};
27142static 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}};
27143static 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}};
27144static 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}};
27145static 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}};
27146static 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}};
27147static 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}};
27148static 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}};
27149static 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}};
27150static 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}};
27151static 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}};
27152static 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}};
27153static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
5e483524 27154static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc 27155static 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
27156static 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}};
27157static 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}};
27158static 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}};
27159static 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 27160static 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
27161static 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}};
27162static 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}};
27163static 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}};
27164static 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}};
27165static 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}};
27166static 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}};
27167static 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 27168static swig_type_info _swigt__p_wxMenuBar[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0, 0, 0, 0},{"_p_wxMenuBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
5e483524 27169static 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}};
d55e5bfc
RD
27170static 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}};
27171static 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}};
27172static 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}};
27173static 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}};
27174static 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}};
27175static 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}};
27176static 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}};
27177static 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}};
27178static 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}};
27179static 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}};
27180static 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 27181static 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
27182static 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}};
27183static 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}};
27184static 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}};
27185static 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}};
27186static 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}};
27187static 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}};
27188static 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}};
27189static 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}};
27190
27191static swig_type_info *swig_types_initial[] = {
27192_swigt__p_wxQueryLayoutInfoEvent,
27193_swigt__p_wxPreviewFrame,
27194_swigt__p_wxPyPreviewFrame,
27195_swigt__p_wxPyPanel,
27196_swigt__p_wxMenu,
d55e5bfc
RD
27197_swigt__p_wxFontData,
27198_swigt__p_wxEvent,
f5b96ee1 27199_swigt__p_wxPrintData,
d55e5bfc 27200_swigt__p_wxTaskBarIcon,
5e483524 27201_swigt__p_wxPyTaskBarIcon,
d55e5bfc
RD
27202_swigt__p_wxIconBundle,
27203_swigt__p_wxLayoutAlgorithm,
27204_swigt__p_wxFindDialogEvent,
27205_swigt__p_wxPreviewCanvas,
27206_swigt__p_wxFont,
27207_swigt__p_wxSplitterEvent,
27208_swigt__p_wxRegion,
27209_swigt__p_wxFindReplaceData,
27210_swigt__p_int,
27211_swigt__p_wxSize,
27212_swigt__p_wxDC,
27213_swigt__p_wxIcon,
f20a2e1f 27214_swigt__p_wxVisualAttributes,
d55e5bfc
RD
27215_swigt__p_wxMDIChildFrame,
27216_swigt__p_wxColourData,
27217_swigt__p_wxNotifyEvent,
27218_swigt__p_wxPyWindow,
27219_swigt__p_wxSplashScreen,
27220_swigt__p_wxFindReplaceDialog,
27221_swigt__p_wxProgressDialog,
27222_swigt__p_wxMessageDialog,
27223_swigt__p_wxTextEntryDialog,
27224_swigt__p_wxSingleChoiceDialog,
27225_swigt__p_wxMultiChoiceDialog,
27226_swigt__p_wxFileDialog,
27227_swigt__p_wxPrinter,
27228_swigt__p_wxArrayInt,
27229_swigt__p_wxEvtHandler,
27230_swigt__p_wxCalculateLayoutEvent,
27231_swigt__p_wxPyHtmlListBox,
27232_swigt__p_wxPyVListBox,
27233_swigt__p_wxRect,
27234_swigt__p_char,
27235_swigt__p_wxMiniFrame,
27236_swigt__p_wxFrame,
27237_swigt__p_wxPyPrintout,
27238_swigt__p_wxTaskBarIconEvent,
27239_swigt__p_wxScrollWinEvent,
27240_swigt__p_wxStatusBar,
27241_swigt__p_wxMDIParentFrame,
27242_swigt__p_wxPoint,
27243_swigt__p_wxObject,
27244_swigt__p_wxOutputStream,
d55e5bfc
RD
27245_swigt__p_wxMDIClientWindow,
27246_swigt__p_wxTipWindow,
27247_swigt__p_wxSashLayoutWindow,
27248_swigt__p_wxSplitterWindow,
f20a2e1f 27249_swigt__p_wxSplashScreenWindow,
d55e5bfc
RD
27250_swigt__p_wxPyVScrolledWindow,
27251_swigt__p_wxPyPopupTransientWindow,
27252_swigt__p_wxPopupWindow,
27253_swigt__p_wxSashWindow,
27254_swigt__p_wxTopLevelWindow,
27255_swigt__p_wxWindow,
27256_swigt__p_wxScrolledWindow,
d55e5bfc 27257_swigt__p_wxMenuBar,
5e483524 27258_swigt__p_wxPyScrolledWindow,
d55e5bfc
RD
27259_swigt__p_wxPrintPreview,
27260_swigt__p_wxSashEvent,
27261_swigt__p_wxString,
27262_swigt__p_wxPyPrintPreview,
27263_swigt__p_wxFontDialog,
27264_swigt__p_wxDirDialog,
27265_swigt__p_wxColourDialog,
27266_swigt__p_wxDialog,
27267_swigt__p_wxPanel,
27268_swigt__p_wxPageSetupDialog,
27269_swigt__p_wxPrintDialog,
c24da6d6 27270_swigt__p_wxFileSystem,
d55e5bfc
RD
27271_swigt__p_wxBitmap,
27272_swigt__p_wxCommandEvent,
27273_swigt__p_wxPreviewControlBar,
27274_swigt__p_wxPyPreviewControlBar,
27275_swigt__p_wxColour,
27276_swigt__p_wxToolBar,
27277_swigt__p_wxPageSetupDialogData,
27278_swigt__p_wxPrintDialogData,
272790
27280};
27281
27282
27283/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
27284
27285static swig_const_info swig_const_table[] = {
c32bde28 27286{0, 0, 0, 0.0, 0, 0}};
d55e5bfc
RD
27287
27288#ifdef __cplusplus
27289}
27290#endif
27291
27292#ifdef __cplusplus
27293extern "C"
27294#endif
27295SWIGEXPORT(void) SWIG_init(void) {
27296 static PyObject *SWIG_globals = 0;
27297 static int typeinit = 0;
27298 PyObject *m, *d;
27299 int i;
27300 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
27301 m = Py_InitModule((char *) SWIG_name, SwigMethods);
27302 d = PyModule_GetDict(m);
27303
27304 if (!typeinit) {
27305 for (i = 0; swig_types_initial[i]; i++) {
27306 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
27307 }
27308 typeinit = 1;
27309 }
27310 SWIG_InstallConstants(d,swig_const_table);
27311
27312 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
27313 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
27314 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
27315 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
27316 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
c32bde28
RD
27317 PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_From_int((int)wxSTAY_ON_TOP));
27318 PyDict_SetItemString(d,"ICONIZE", SWIG_From_int((int)wxICONIZE));
27319 PyDict_SetItemString(d,"MINIMIZE", SWIG_From_int((int)wxMINIMIZE));
27320 PyDict_SetItemString(d,"MAXIMIZE", SWIG_From_int((int)wxMAXIMIZE));
27321 PyDict_SetItemString(d,"CLOSE_BOX", SWIG_From_int((int)wxCLOSE_BOX));
27322 PyDict_SetItemString(d,"THICK_FRAME", SWIG_From_int((int)wxTHICK_FRAME));
27323 PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_From_int((int)wxSYSTEM_MENU));
27324 PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_From_int((int)wxMINIMIZE_BOX));
27325 PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_From_int((int)wxMAXIMIZE_BOX));
27326 PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_From_int((int)wxTINY_CAPTION_HORIZ));
27327 PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_From_int((int)wxTINY_CAPTION_VERT));
27328 PyDict_SetItemString(d,"RESIZE_BOX", SWIG_From_int((int)wxRESIZE_BOX));
27329 PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_From_int((int)wxRESIZE_BORDER));
27330 PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_From_int((int)wxDIALOG_NO_PARENT));
27331 PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)wxDEFAULT_FRAME_STYLE));
27332 PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)wxDEFAULT_DIALOG_STYLE));
27333 PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_From_int((int)wxFRAME_TOOL_WINDOW));
27334 PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)wxFRAME_FLOAT_ON_PARENT));
27335 PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)wxFRAME_NO_WINDOW_MENU));
27336 PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_From_int((int)wxFRAME_NO_TASKBAR));
27337 PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_From_int((int)wxFRAME_SHAPED));
ae8162c8 27338 PyDict_SetItemString(d,"FRAME_DRAWER", SWIG_From_int((int)wxFRAME_DRAWER));
c32bde28
RD
27339 PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_From_int((int)wxDIALOG_MODAL));
27340 PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_From_int((int)wxDIALOG_MODELESS));
27341 PyDict_SetItemString(d,"USER_COLOURS", SWIG_From_int((int)wxUSER_COLOURS));
27342 PyDict_SetItemString(d,"NO_3D", SWIG_From_int((int)wxNO_3D));
27343 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)wxFULLSCREEN_NOMENUBAR));
27344 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)wxFULLSCREEN_NOTOOLBAR));
27345 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)wxFULLSCREEN_NOSTATUSBAR));
27346 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_From_int((int)wxFULLSCREEN_NOBORDER));
27347 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)wxFULLSCREEN_NOCAPTION));
27348 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_From_int((int)wxFULLSCREEN_ALL));
27349 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)wxTOPLEVEL_EX_DIALOG));
27350 PyDict_SetItemString(d,"USER_ATTENTION_INFO", SWIG_From_int((int)wxUSER_ATTENTION_INFO));
27351 PyDict_SetItemString(d,"USER_ATTENTION_ERROR", SWIG_From_int((int)wxUSER_ATTENTION_ERROR));
27352 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)wxSPLASH_CENTRE_ON_PARENT));
27353 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)wxSPLASH_CENTRE_ON_SCREEN));
27354 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_From_int((int)wxSPLASH_NO_CENTRE));
27355 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_From_int((int)wxSPLASH_TIMEOUT));
27356 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)wxSPLASH_NO_TIMEOUT));
27357 PyDict_SetItemString(d,"SB_NORMAL", SWIG_From_int((int)wxSB_NORMAL));
27358 PyDict_SetItemString(d,"SB_FLAT", SWIG_From_int((int)wxSB_FLAT));
27359 PyDict_SetItemString(d,"SB_RAISED", SWIG_From_int((int)wxSB_RAISED));
d55e5bfc 27360 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
c32bde28
RD
27361 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_From_int((int)wxSP_NOBORDER));
27362 PyDict_SetItemString(d,"SP_NOSASH", SWIG_From_int((int)wxSP_NOSASH));
27363 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)wxSP_PERMIT_UNSPLIT));
27364 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_From_int((int)wxSP_LIVE_UPDATE));
27365 PyDict_SetItemString(d,"SP_3DSASH", SWIG_From_int((int)wxSP_3DSASH));
27366 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_From_int((int)wxSP_3DBORDER));
27367 PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_From_int((int)wxSP_NO_XP_THEME));
27368 PyDict_SetItemString(d,"SP_BORDER", SWIG_From_int((int)wxSP_BORDER));
27369 PyDict_SetItemString(d,"SP_3D", SWIG_From_int((int)wxSP_3D));
27370 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_From_int((int)wxSPLIT_HORIZONTAL));
27371 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_From_int((int)wxSPLIT_VERTICAL));
27372 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_From_int((int)wxSPLIT_DRAG_NONE));
27373 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)wxSPLIT_DRAG_DRAGGING));
27374 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSPLIT_DRAG_LEFT_DOWN));
d55e5bfc
RD
27375 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
27376 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
27377 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
27378 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
27379 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
27380 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
c32bde28
RD
27381 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_From_int((int)wxSASH_DRAG_NONE));
27382 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_From_int((int)wxSASH_DRAG_DRAGGING));
27383 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSASH_DRAG_LEFT_DOWN));
27384 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_From_int((int)wxSW_NOBORDER));
27385 PyDict_SetItemString(d,"SW_BORDER", SWIG_From_int((int)wxSW_BORDER));
27386 PyDict_SetItemString(d,"SW_3DSASH", SWIG_From_int((int)wxSW_3DSASH));
27387 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_From_int((int)wxSW_3DBORDER));
27388 PyDict_SetItemString(d,"SW_3D", SWIG_From_int((int)wxSW_3D));
27389 PyDict_SetItemString(d,"SASH_TOP", SWIG_From_int((int)wxSASH_TOP));
27390 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_From_int((int)wxSASH_RIGHT));
27391 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_From_int((int)wxSASH_BOTTOM));
27392 PyDict_SetItemString(d,"SASH_LEFT", SWIG_From_int((int)wxSASH_LEFT));
27393 PyDict_SetItemString(d,"SASH_NONE", SWIG_From_int((int)wxSASH_NONE));
27394 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_From_int((int)wxSASH_STATUS_OK));
27395 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)wxSASH_STATUS_OUT_OF_RANGE));
d55e5bfc 27396 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
c32bde28
RD
27397 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_From_int((int)wxLAYOUT_HORIZONTAL));
27398 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_From_int((int)wxLAYOUT_VERTICAL));
27399 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_From_int((int)wxLAYOUT_NONE));
27400 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_From_int((int)wxLAYOUT_TOP));
27401 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_From_int((int)wxLAYOUT_LEFT));
27402 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_From_int((int)wxLAYOUT_RIGHT));
27403 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_From_int((int)wxLAYOUT_BOTTOM));
27404 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_From_int((int)wxLAYOUT_LENGTH_Y));
27405 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_From_int((int)wxLAYOUT_LENGTH_X));
27406 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)wxLAYOUT_MRU_LENGTH));
27407 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_From_int((int)wxLAYOUT_QUERY));
d55e5bfc
RD
27408 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
27409 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
27410 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
27411
27412 // Map renamed classes back to their common name for OOR
27413 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
27414 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
27415 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
27416
27417 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
27418 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
27419 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
27420 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
27421 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
27422 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
27423 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
27424 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
27425 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
27426 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
27427 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
27428 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
27429 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
c32bde28
RD
27430 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_From_int((int)wxCHOICEDLG_STYLE));
27431 PyDict_SetItemString(d,"FR_DOWN", SWIG_From_int((int)wxFR_DOWN));
27432 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_From_int((int)wxFR_WHOLEWORD));
27433 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_From_int((int)wxFR_MATCHCASE));
27434 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_From_int((int)wxFR_REPLACEDIALOG));
27435 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_From_int((int)wxFR_NOUPDOWN));
27436 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_From_int((int)wxFR_NOMATCHCASE));
27437 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_From_int((int)wxFR_NOWHOLEWORD));
d55e5bfc
RD
27438 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
27439 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
27440 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
27441 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
27442 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
c32bde28
RD
27443 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_From_int((int)4001));
27444 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_From_int((int)4001));
27445 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_From_int((int)4002));
27446 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_From_int((int)4003));
27447 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_From_int((int)4004));
27448 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_From_int((int)4005));
27449 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_From_int((int)4100));
27450 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_From_int((int)4600));
d55e5bfc
RD
27451 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
27452 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
c32bde28
RD
27453 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_From_int((int)wxPRINT_MODE_NONE));
27454 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_From_int((int)wxPRINT_MODE_PREVIEW));
27455 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_From_int((int)wxPRINT_MODE_FILE));
27456 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_From_int((int)wxPRINT_MODE_PRINTER));
27457 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_From_int((int)wxPRINT_MODE_STREAM));
ae8162c8
RD
27458 PyDict_SetItemString(d,"PRINTBIN_DEFAULT", SWIG_From_int((int)wxPRINTBIN_DEFAULT));
27459 PyDict_SetItemString(d,"PRINTBIN_ONLYONE", SWIG_From_int((int)wxPRINTBIN_ONLYONE));
27460 PyDict_SetItemString(d,"PRINTBIN_LOWER", SWIG_From_int((int)wxPRINTBIN_LOWER));
27461 PyDict_SetItemString(d,"PRINTBIN_MIDDLE", SWIG_From_int((int)wxPRINTBIN_MIDDLE));
27462 PyDict_SetItemString(d,"PRINTBIN_MANUAL", SWIG_From_int((int)wxPRINTBIN_MANUAL));
27463 PyDict_SetItemString(d,"PRINTBIN_ENVELOPE", SWIG_From_int((int)wxPRINTBIN_ENVELOPE));
27464 PyDict_SetItemString(d,"PRINTBIN_ENVMANUAL", SWIG_From_int((int)wxPRINTBIN_ENVMANUAL));
27465 PyDict_SetItemString(d,"PRINTBIN_AUTO", SWIG_From_int((int)wxPRINTBIN_AUTO));
27466 PyDict_SetItemString(d,"PRINTBIN_TRACTOR", SWIG_From_int((int)wxPRINTBIN_TRACTOR));
27467 PyDict_SetItemString(d,"PRINTBIN_SMALLFMT", SWIG_From_int((int)wxPRINTBIN_SMALLFMT));
27468 PyDict_SetItemString(d,"PRINTBIN_LARGEFMT", SWIG_From_int((int)wxPRINTBIN_LARGEFMT));
27469 PyDict_SetItemString(d,"PRINTBIN_LARGECAPACITY", SWIG_From_int((int)wxPRINTBIN_LARGECAPACITY));
27470 PyDict_SetItemString(d,"PRINTBIN_CASSETTE", SWIG_From_int((int)wxPRINTBIN_CASSETTE));
27471 PyDict_SetItemString(d,"PRINTBIN_FORMSOURCE", SWIG_From_int((int)wxPRINTBIN_FORMSOURCE));
27472 PyDict_SetItemString(d,"PRINTBIN_USER", SWIG_From_int((int)wxPRINTBIN_USER));
c32bde28
RD
27473 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_From_int((int)wxPRINTER_NO_ERROR));
27474 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_From_int((int)wxPRINTER_CANCELLED));
27475 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_From_int((int)wxPRINTER_ERROR));
27476 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_From_int((int)wxPREVIEW_PRINT));
27477 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_From_int((int)wxPREVIEW_PREVIOUS));
27478 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_From_int((int)wxPREVIEW_NEXT));
27479 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_From_int((int)wxPREVIEW_ZOOM));
27480 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_From_int((int)wxPREVIEW_FIRST));
27481 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_From_int((int)wxPREVIEW_LAST));
27482 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_From_int((int)wxPREVIEW_GOTO));
27483 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_From_int((int)wxPREVIEW_DEFAULT));
27484 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_From_int((int)wxID_PREVIEW_CLOSE));
27485 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_From_int((int)wxID_PREVIEW_NEXT));
27486 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)wxID_PREVIEW_PREVIOUS));
27487 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_From_int((int)wxID_PREVIEW_PRINT));
27488 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_From_int((int)wxID_PREVIEW_ZOOM));
27489 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_From_int((int)wxID_PREVIEW_FIRST));
27490 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_From_int((int)wxID_PREVIEW_LAST));
27491 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_From_int((int)wxID_PREVIEW_GOTO));
d55e5bfc
RD
27492
27493 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
27494
27495}
27496