]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/_windows_wrap.cpp
more about the downloadable swig
[wxWidgets.git] / wxPython / src / gtk / _windows_wrap.cpp
CommitLineData
d14a1e28
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
32fe5131 3 * Version 1.3.27
d14a1e28
RD
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11#define SWIGPYTHON
d14a1e28
RD
12
13#ifdef __cplusplus
14template<class T> class SwigValueWrapper {
15 T *tt;
16public:
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
19 SwigValueWrapper(const T& t) : tt(new T(t)) { }
20 ~SwigValueWrapper() { delete tt; }
21 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
22 operator T&() const { return *tt; }
23 T *operator&() { return tt; }
24private:
25 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
093d3ff1 26};
d14a1e28
RD
27#endif
28
32fe5131
RD
29/***********************************************************************
30 *
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 *
34 ************************************************************************/
d14a1e28 35
32fe5131
RD
36/* template workaround for compilers that cannot correctly implement the C++ standard */
37#ifndef SWIGTEMPLATEDISAMBIGUATOR
38# if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
39# define SWIGTEMPLATEDISAMBIGUATOR template
093d3ff1 40# else
32fe5131 41# define SWIGTEMPLATEDISAMBIGUATOR
093d3ff1
RD
42# endif
43#endif
d14a1e28 44
32fe5131
RD
45/* inline attribute */
46#ifndef SWIGINLINE
47# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
48# define SWIGINLINE inline
49# else
50# define SWIGINLINE
51# endif
52#endif
53
54/* attribute recognised by some compilers to avoid 'unused' warnings */
55#ifndef SWIGUNUSED
56# if defined(__GNUC__) || defined(__ICC)
57# define SWIGUNUSED __attribute__ ((unused))
58# else
59# define SWIGUNUSED
60# endif
61#endif
62
63/* internal SWIG method */
64#ifndef SWIGINTERN
65# define SWIGINTERN static SWIGUNUSED
66#endif
67
68/* internal inline SWIG method */
69#ifndef SWIGINTERNINLINE
70# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
71#endif
72
73/* exporting methods for Windows DLLs */
74#ifndef SWIGEXPORT
75# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
76# if defined(STATIC_LINKED)
77# define SWIGEXPORT
78# else
79# define SWIGEXPORT __declspec(dllexport)
80# endif
81# else
82# define SWIGEXPORT
83# endif
84#endif
85
86/* calling conventions for Windows */
87#ifndef SWIGSTDCALL
88# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
89# define SWIGSTDCALL __stdcall
90# else
91# define SWIGSTDCALL
92# endif
93#endif
94
95
c9c7117a 96
093d3ff1 97#include <Python.h>
d14a1e28
RD
98
99/***********************************************************************
093d3ff1 100 * swigrun.swg
d14a1e28 101 *
093d3ff1
RD
102 * This file contains generic CAPI SWIG runtime support for pointer
103 * type checking.
d14a1e28
RD
104 *
105 ************************************************************************/
106
093d3ff1
RD
107/* This should only be incremented when either the layout of swig_type_info changes,
108 or for whatever reason, the runtime changes incompatibly */
32fe5131 109#define SWIG_RUNTIME_VERSION "2"
d14a1e28 110
093d3ff1
RD
111/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
112#ifdef SWIG_TYPE_TABLE
32fe5131
RD
113# define SWIG_QUOTE_STRING(x) #x
114# define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
115# define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
d14a1e28 116#else
32fe5131 117# define SWIG_TYPE_TABLE_NAME
093d3ff1
RD
118#endif
119
120/*
121 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
122 creating a static or dynamic library from the swig runtime code.
123 In 99.9% of the cases, swig just needs to declare them as 'static'.
124
125 But only do this if is strictly necessary, ie, if you have problems
126 with your compiler or so.
127*/
32fe5131 128
093d3ff1 129#ifndef SWIGRUNTIME
32fe5131 130# define SWIGRUNTIME SWIGINTERN
093d3ff1 131#endif
32fe5131 132
093d3ff1 133#ifndef SWIGRUNTIMEINLINE
32fe5131 134# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
d14a1e28
RD
135#endif
136
32fe5131
RD
137#include <string.h>
138
d14a1e28
RD
139#ifdef __cplusplus
140extern "C" {
141#endif
142
143typedef void *(*swig_converter_func)(void *);
144typedef struct swig_type_info *(*swig_dycast_func)(void **);
145
32fe5131 146/* Structure to store inforomation on one type */
d14a1e28 147typedef struct swig_type_info {
32fe5131
RD
148 const char *name; /* mangled name of this type */
149 const char *str; /* human readable name of this type */
150 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
151 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
152 void *clientdata; /* language specific type data */
d14a1e28
RD
153} swig_type_info;
154
32fe5131
RD
155/* Structure to store a type and conversion function used for casting */
156typedef struct swig_cast_info {
157 swig_type_info *type; /* pointer to type that is equivalent to this type */
158 swig_converter_func converter; /* function to cast the void pointers */
159 struct swig_cast_info *next; /* pointer to next cast in linked list */
160 struct swig_cast_info *prev; /* pointer to the previous cast */
161} swig_cast_info;
162
163/* Structure used to store module information
164 * Each module generates one structure like this, and the runtime collects
165 * all of these structures and stores them in a circularly linked list.*/
166typedef struct swig_module_info {
167 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
168 size_t size; /* Number of types in this module */
169 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
170 swig_type_info **type_initial; /* Array of initially generated type structures */
171 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
172 void *clientdata; /* Language specific module data */
173} swig_module_info;
174
175
093d3ff1
RD
176/*
177 Compare two type names skipping the space characters, therefore
178 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
179
180 Return 0 when the two name types are equivalent, as in
181 strncmp, but skipping ' '.
182*/
183SWIGRUNTIME int
184SWIG_TypeNameComp(const char *f1, const char *l1,
185 const char *f2, const char *l2) {
186 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
187 while ((*f1 == ' ') && (f1 != l1)) ++f1;
188 while ((*f2 == ' ') && (f2 != l2)) ++f2;
32fe5131 189 if (*f1 != *f2) return (int)(*f1 - *f2);
093d3ff1
RD
190 }
191 return (l1 - f1) - (l2 - f2);
192}
193
194/*
195 Check type equivalence in a name list like <name1>|<name2>|...
32fe5131 196 Return 0 if not equal, 1 if equal
093d3ff1
RD
197*/
198SWIGRUNTIME int
199SWIG_TypeEquiv(const char *nb, const char *tb) {
200 int equiv = 0;
201 const char* te = tb + strlen(tb);
202 const char* ne = nb;
203 while (!equiv && *ne) {
204 for (nb = ne; *ne; ++ne) {
205 if (*ne == '|') break;
206 }
32fe5131 207 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
093d3ff1
RD
208 if (*ne) ++ne;
209 }
210 return equiv;
211}
212
213/*
32fe5131
RD
214 Check type equivalence in a name list like <name1>|<name2>|...
215 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
093d3ff1 216*/
32fe5131
RD
217SWIGRUNTIME int
218SWIG_TypeCompare(const char *nb, const char *tb) {
219 int equiv = 0;
220 const char* te = tb + strlen(tb);
221 const char* ne = nb;
222 while (!equiv && *ne) {
223 for (nb = ne; *ne; ++ne) {
224 if (*ne == '|') break;
093d3ff1 225 }
32fe5131
RD
226 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
227 if (*ne) ++ne;
093d3ff1 228 }
32fe5131 229 return equiv;
093d3ff1
RD
230}
231
32fe5131
RD
232
233/* think of this as a c++ template<> or a scheme macro */
234#define SWIG_TypeCheck_Template(comparison, ty) \
235 if (ty) { \
236 swig_cast_info *iter = ty->cast; \
237 while (iter) { \
238 if (comparison) { \
239 if (iter == ty->cast) return iter; \
240 /* Move iter to the top of the linked list */ \
241 iter->prev->next = iter->next; \
242 if (iter->next) \
243 iter->next->prev = iter->prev; \
244 iter->next = ty->cast; \
245 iter->prev = 0; \
246 if (ty->cast) ty->cast->prev = iter; \
247 ty->cast = iter; \
248 return iter; \
249 } \
250 iter = iter->next; \
251 } \
252 } \
253 return 0
254
093d3ff1
RD
255/*
256 Check the typename
257*/
32fe5131 258SWIGRUNTIME swig_cast_info *
093d3ff1 259SWIG_TypeCheck(const char *c, swig_type_info *ty) {
32fe5131
RD
260 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
261}
262
263/* Same as previous function, except strcmp is replaced with a pointer comparison */
264SWIGRUNTIME swig_cast_info *
265SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
266 SWIG_TypeCheck_Template(iter->type == from, into);
093d3ff1
RD
267}
268
269/*
270 Cast a pointer up an inheritance hierarchy
271*/
272SWIGRUNTIMEINLINE void *
32fe5131 273SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
093d3ff1
RD
274 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
275}
276
277/*
278 Dynamic pointer casting. Down an inheritance hierarchy
279*/
280SWIGRUNTIME swig_type_info *
281SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
282 swig_type_info *lastty = ty;
283 if (!ty || !ty->dcast) return ty;
284 while (ty && (ty->dcast)) {
285 ty = (*ty->dcast)(ptr);
286 if (ty) lastty = ty;
287 }
288 return lastty;
289}
290
291/*
292 Return the name associated with this type
293*/
294SWIGRUNTIMEINLINE const char *
295SWIG_TypeName(const swig_type_info *ty) {
296 return ty->name;
297}
298
299/*
300 Return the pretty name associated with this type,
301 that is an unmangled type name in a form presentable to the user.
302*/
303SWIGRUNTIME const char *
304SWIG_TypePrettyName(const swig_type_info *type) {
305 /* The "str" field contains the equivalent pretty names of the
306 type, separated by vertical-bar characters. We choose
307 to print the last name, as it is often (?) the most
308 specific. */
309 if (type->str != NULL) {
310 const char *last_name = type->str;
311 const char *s;
312 for (s = type->str; *s; s++)
313 if (*s == '|') last_name = s+1;
314 return last_name;
315 }
316 else
317 return type->name;
318}
319
093d3ff1
RD
320/*
321 Set the clientdata field for a type
322*/
323SWIGRUNTIME void
32fe5131
RD
324SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
325 swig_cast_info *cast = ti->cast;
093d3ff1
RD
326 /* if (ti->clientdata == clientdata) return; */
327 ti->clientdata = clientdata;
32fe5131
RD
328
329 while (cast) {
330 if (!cast->converter) {
331 swig_type_info *tc = cast->type;
332 if (!tc->clientdata) {
333 SWIG_TypeClientData(tc, clientdata);
093d3ff1 334 }
32fe5131
RD
335 }
336 cast = cast->next;
337 }
338}
339
340/*
341 Search for a swig_type_info structure only by mangled name
342 Search is a O(log #types)
343
344 We start searching at module start, and finish searching when start == end.
345 Note: if start == end at the beginning of the function, we go all the way around
346 the circular list.
347*/
348SWIGRUNTIME swig_type_info *
349SWIG_MangledTypeQueryModule(swig_module_info *start,
350 swig_module_info *end,
351 const char *name) {
352 swig_module_info *iter = start;
353 do {
354 if (iter->size) {
355 register size_t l = 0;
356 register size_t r = iter->size - 1;
357 do {
358 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
359 register size_t i = (l + r) >> 1;
360 const char *iname = iter->types[i]->name;
361 if (iname) {
362 register int compare = strcmp(name, iname);
363 if (compare == 0) {
364 return iter->types[i];
365 } else if (compare < 0) {
366 if (i) {
367 r = i - 1;
368 } else {
369 break;
370 }
371 } else if (compare > 0) {
372 l = i + 1;
373 }
374 } else {
375 break; /* should never happen */
376 }
377 } while (l <= r);
093d3ff1 378 }
32fe5131
RD
379 iter = iter->next;
380 } while (iter != end);
381 return 0;
382}
383
384/*
385 Search for a swig_type_info structure for either a mangled name or a human readable name.
386 It first searches the mangled names of the types, which is a O(log #types)
387 If a type is not found it then searches the human readable names, which is O(#types).
388
389 We start searching at module start, and finish searching when start == end.
390 Note: if start == end at the beginning of the function, we go all the way around
391 the circular list.
392*/
393SWIGRUNTIME swig_type_info *
394SWIG_TypeQueryModule(swig_module_info *start,
395 swig_module_info *end,
396 const char *name) {
397 /* STEP 1: Search the name field using binary search */
398 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
399 if (ret) {
400 return ret;
401 } else {
402 /* STEP 2: If the type hasn't been found, do a complete search
403 of the str field (the human readable name) */
404 swig_module_info *iter = start;
405 do {
406 register size_t i = 0;
407 for (; i < iter->size; ++i) {
408 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
409 return iter->types[i];
410 }
411 iter = iter->next;
412 } while (iter != end);
093d3ff1 413 }
32fe5131
RD
414
415 /* neither found a match */
416 return 0;
093d3ff1
RD
417}
418
32fe5131 419
093d3ff1
RD
420/*
421 Pack binary data into a string
422*/
423SWIGRUNTIME char *
424SWIG_PackData(char *c, void *ptr, size_t sz) {
32fe5131
RD
425 static const char hex[17] = "0123456789abcdef";
426 register const unsigned char *u = (unsigned char *) ptr;
427 register const unsigned char *eu = u + sz;
093d3ff1 428 for (; u != eu; ++u) {
32fe5131 429 register unsigned char uu = *u;
093d3ff1
RD
430 *(c++) = hex[(uu & 0xf0) >> 4];
431 *(c++) = hex[uu & 0xf];
432 }
433 return c;
434}
435
436/*
437 Unpack binary data from a string
438*/
439SWIGRUNTIME const char *
440SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
441 register unsigned char *u = (unsigned char *) ptr;
32fe5131 442 register const unsigned char *eu = u + sz;
093d3ff1 443 for (; u != eu; ++u) {
32fe5131 444 register char d = *(c++);
093d3ff1
RD
445 register unsigned char uu = 0;
446 if ((d >= '0') && (d <= '9'))
447 uu = ((d - '0') << 4);
448 else if ((d >= 'a') && (d <= 'f'))
449 uu = ((d - ('a'-10)) << 4);
450 else
451 return (char *) 0;
452 d = *(c++);
453 if ((d >= '0') && (d <= '9'))
454 uu |= (d - '0');
455 else if ((d >= 'a') && (d <= 'f'))
456 uu |= (d - ('a'-10));
457 else
458 return (char *) 0;
459 *u = uu;
460 }
461 return c;
462}
463
093d3ff1
RD
464/*
465 Pack 'void *' into a string buffer.
466*/
467SWIGRUNTIME char *
468SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
469 char *r = buff;
470 if ((2*sizeof(void *) + 2) > bsz) return 0;
471 *(r++) = '_';
472 r = SWIG_PackData(r,&ptr,sizeof(void *));
473 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
474 strcpy(r,name);
475 return buff;
476}
477
478SWIGRUNTIME const char *
479SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
480 if (*c != '_') {
481 if (strcmp(c,"NULL") == 0) {
482 *ptr = (void *) 0;
483 return name;
484 } else {
485 return 0;
486 }
487 }
488 return SWIG_UnpackData(++c,ptr,sizeof(void *));
489}
490
491SWIGRUNTIME char *
492SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
493 char *r = buff;
494 size_t lname = (name ? strlen(name) : 0);
495 if ((2*sz + 2 + lname) > bsz) return 0;
496 *(r++) = '_';
497 r = SWIG_PackData(r,ptr,sz);
498 if (lname) {
499 strncpy(r,name,lname+1);
500 } else {
501 *r = 0;
502 }
503 return buff;
504}
d14a1e28 505
093d3ff1
RD
506SWIGRUNTIME const char *
507SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
508 if (*c != '_') {
509 if (strcmp(c,"NULL") == 0) {
510 memset(ptr,0,sz);
511 return name;
512 } else {
513 return 0;
514 }
515 }
516 return SWIG_UnpackData(++c,ptr,sz);
517}
d14a1e28
RD
518
519#ifdef __cplusplus
520}
521#endif
522
093d3ff1
RD
523/* -----------------------------------------------------------------------------
524 * SWIG API. Portion that goes into the runtime
525 * ----------------------------------------------------------------------------- */
d14a1e28 526
093d3ff1
RD
527#ifdef __cplusplus
528extern "C" {
529#endif
c32bde28 530
093d3ff1
RD
531/* -----------------------------------------------------------------------------
532 * for internal method declarations
533 * ----------------------------------------------------------------------------- */
d14a1e28 534
093d3ff1 535#ifndef SWIGINTERN
32fe5131 536# define SWIGINTERN static SWIGUNUSED
093d3ff1 537#endif
d14a1e28 538
32fe5131
RD
539#ifndef SWIGINTERNINLINE
540# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
093d3ff1 541#endif
d14a1e28 542
093d3ff1
RD
543/*
544 Exception handling in wrappers
545*/
546#define SWIG_fail goto fail
547#define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
548#define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
549#define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
550#define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
551#define SWIG_null_ref(type) SWIG_Python_NullRef(type)
552
553/*
554 Contract support
555*/
556#define SWIG_contract_assert(expr, msg) \
557 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
558
559/* -----------------------------------------------------------------------------
560 * Constant declarations
561 * ----------------------------------------------------------------------------- */
d14a1e28 562
093d3ff1
RD
563/* Constant Types */
564#define SWIG_PY_INT 1
565#define SWIG_PY_FLOAT 2
566#define SWIG_PY_STRING 3
567#define SWIG_PY_POINTER 4
568#define SWIG_PY_BINARY 5
569
570/* Constant information structure */
571typedef struct swig_const_info {
572 int type;
573 char *name;
574 long lvalue;
575 double dvalue;
576 void *pvalue;
577 swig_type_info **ptype;
578} swig_const_info;
d14a1e28 579
c32bde28 580
093d3ff1
RD
581/* -----------------------------------------------------------------------------
582 * Alloc. memory flags
583 * ----------------------------------------------------------------------------- */
c32bde28
RD
584#define SWIG_OLDOBJ 1
585#define SWIG_NEWOBJ SWIG_OLDOBJ + 1
586#define SWIG_PYSTR SWIG_NEWOBJ + 1
994141e6 587
994141e6 588#ifdef __cplusplus
093d3ff1
RD
589}
590#endif
994141e6 591
15afbcd0 592
093d3ff1
RD
593/***********************************************************************
594 * pyrun.swg
595 *
596 * This file contains the runtime support for Python modules
597 * and includes code for managing global variables and pointer
598 * type checking.
599 *
600 * Author : David Beazley (beazley@cs.uchicago.edu)
601 ************************************************************************/
15afbcd0 602
093d3ff1
RD
603/* Common SWIG API */
604#define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
605#define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
606#define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
607
994141e6 608
093d3ff1
RD
609/* Python-specific SWIG API */
610#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
611#define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
994141e6 612
32fe5131
RD
613/* Runtime API */
614#define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
615#define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
994141e6 616
093d3ff1
RD
617/* -----------------------------------------------------------------------------
618 * Pointer declarations
619 * ----------------------------------------------------------------------------- */
620/*
621 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
622 C/C++ pointers in the python side. Very useful for debugging, but
623 not always safe.
624*/
625#if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
626# define SWIG_COBJECT_TYPES
627#endif
994141e6 628
093d3ff1
RD
629/* Flags for pointer conversion */
630#define SWIG_POINTER_EXCEPTION 0x1
631#define SWIG_POINTER_DISOWN 0x2
d14a1e28
RD
632
633
32fe5131
RD
634/* Add PyOS_snprintf for old Pythons */
635#if PY_VERSION_HEX < 0x02020000
636#define PyOS_snprintf snprintf
637#endif
638
093d3ff1
RD
639#ifdef __cplusplus
640extern "C" {
641#endif
d14a1e28 642
093d3ff1
RD
643/* -----------------------------------------------------------------------------
644 * Create a new pointer string
645 * ----------------------------------------------------------------------------- */
093d3ff1
RD
646#ifndef SWIG_BUFFER_SIZE
647#define SWIG_BUFFER_SIZE 1024
648#endif
15afbcd0 649
32fe5131
RD
650/* A crude PyString_FromFormat implementation for old Pythons */
651#if PY_VERSION_HEX < 0x02020000
652static PyObject *
653PyString_FromFormat(const char *fmt, ...) {
654 va_list ap;
655 char buf[SWIG_BUFFER_SIZE * 2];
656 int res;
657 va_start(ap, fmt);
658 res = vsnprintf(buf, sizeof(buf), fmt, ap);
659 va_end(ap);
660 return (res < 0 || res >= sizeof(buf)) ? 0 : PyString_FromString(buf);
661}
662#endif
663
664#if PY_VERSION_HEX < 0x01060000
665#define PyObject_Del(op) PyMem_DEL((op))
666#endif
667
093d3ff1
RD
668#if defined(SWIG_COBJECT_TYPES)
669#if !defined(SWIG_COBJECT_PYTHON)
670/* -----------------------------------------------------------------------------
671 * Implements a simple Swig Object type, and use it instead of PyCObject
672 * ----------------------------------------------------------------------------- */
15afbcd0 673
093d3ff1
RD
674typedef struct {
675 PyObject_HEAD
676 void *ptr;
677 const char *desc;
678} PySwigObject;
994141e6 679
093d3ff1 680/* Declarations for objects of type PySwigObject */
994141e6 681
093d3ff1
RD
682SWIGRUNTIME int
683PySwigObject_print(PySwigObject *v, FILE *fp, int flags)
994141e6 684{
093d3ff1 685 char result[SWIG_BUFFER_SIZE];
32fe5131 686 flags = flags;
093d3ff1
RD
687 if (SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result))) {
688 fputs("<Swig Object at ", fp); fputs(result, fp); fputs(">", fp);
689 return 0;
c32bde28 690 } else {
093d3ff1 691 return 1;
c32bde28 692 }
15afbcd0 693}
093d3ff1
RD
694
695SWIGRUNTIME PyObject *
696PySwigObject_repr(PySwigObject *v)
c32bde28 697{
093d3ff1
RD
698 char result[SWIG_BUFFER_SIZE];
699 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
700 PyString_FromFormat("<Swig Object at %s>", result) : 0;
c32bde28 701}
15afbcd0 702
093d3ff1
RD
703SWIGRUNTIME PyObject *
704PySwigObject_str(PySwigObject *v)
15afbcd0 705{
093d3ff1
RD
706 char result[SWIG_BUFFER_SIZE];
707 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
708 PyString_FromString(result) : 0;
15afbcd0
RD
709}
710
093d3ff1
RD
711SWIGRUNTIME PyObject *
712PySwigObject_long(PySwigObject *v)
15afbcd0 713{
32fe5131
RD
714 return PyLong_FromVoidPtr(v->ptr);
715}
716
717SWIGRUNTIME PyObject *
718PySwigObject_format(const char* fmt, PySwigObject *v)
719{
720 PyObject *res = NULL;
721 PyObject *args = PyTuple_New(1);
722 if (args && (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0)) {
723 PyObject *ofmt = PyString_FromString(fmt);
724 if (ofmt) {
725 res = PyString_Format(ofmt,args);
726 Py_DECREF(ofmt);
727 }
728 Py_DECREF(args);
729 }
730 return res;
15afbcd0
RD
731}
732
093d3ff1
RD
733SWIGRUNTIME PyObject *
734PySwigObject_oct(PySwigObject *v)
c32bde28 735{
32fe5131 736 return PySwigObject_format("%o",v);
c32bde28 737}
15afbcd0 738
093d3ff1
RD
739SWIGRUNTIME PyObject *
740PySwigObject_hex(PySwigObject *v)
994141e6 741{
32fe5131 742 return PySwigObject_format("%x",v);
994141e6
RD
743}
744
093d3ff1
RD
745SWIGRUNTIME int
746PySwigObject_compare(PySwigObject *v, PySwigObject *w)
15afbcd0 747{
093d3ff1
RD
748 int c = strcmp(v->desc, w->desc);
749 if (c) {
32fe5131 750 return (c > 0) ? 1 : -1;
093d3ff1
RD
751 } else {
752 void *i = v->ptr;
753 void *j = w->ptr;
32fe5131 754 return (i < j) ? -1 : ((i > j) ? 1 : 0);
c32bde28 755 }
c32bde28
RD
756}
757
093d3ff1
RD
758SWIGRUNTIME void
759PySwigObject_dealloc(PySwigObject *self)
c32bde28 760{
32fe5131 761 PyObject_Del(self);
15afbcd0
RD
762}
763
093d3ff1 764SWIGRUNTIME PyTypeObject*
32fe5131
RD
765PySwigObject_type(void) {
766 static char pyswigobject_type__doc__[] =
093d3ff1 767 "Swig object carries a C/C++ instance pointer";
c32bde28 768
093d3ff1
RD
769 static PyNumberMethods PySwigObject_as_number = {
770 (binaryfunc)0, /*nb_add*/
771 (binaryfunc)0, /*nb_subtract*/
772 (binaryfunc)0, /*nb_multiply*/
773 (binaryfunc)0, /*nb_divide*/
774 (binaryfunc)0, /*nb_remainder*/
775 (binaryfunc)0, /*nb_divmod*/
776 (ternaryfunc)0,/*nb_power*/
777 (unaryfunc)0, /*nb_negative*/
778 (unaryfunc)0, /*nb_positive*/
779 (unaryfunc)0, /*nb_absolute*/
780 (inquiry)0, /*nb_nonzero*/
781 0, /*nb_invert*/
782 0, /*nb_lshift*/
783 0, /*nb_rshift*/
784 0, /*nb_and*/
785 0, /*nb_xor*/
786 0, /*nb_or*/
787 (coercion)0, /*nb_coerce*/
788 (unaryfunc)PySwigObject_long, /*nb_int*/
789 (unaryfunc)PySwigObject_long, /*nb_long*/
790 (unaryfunc)0, /*nb_float*/
791 (unaryfunc)PySwigObject_oct, /*nb_oct*/
792 (unaryfunc)PySwigObject_hex, /*nb_hex*/
32fe5131 793#if PY_VERSION_HEX >= 0x02020000
093d3ff1 794 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
32fe5131
RD
795#elif PY_VERSION_HEX >= 0x02000000
796 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
093d3ff1
RD
797#endif
798 };
799
32fe5131
RD
800 static PyTypeObject pyswigobject_type
801#if !defined(__cplusplus)
802 ;
803 static int type_init = 0;
093d3ff1 804 if (!type_init) {
32fe5131
RD
805 PyTypeObject tmp
806#endif
807 = {
093d3ff1
RD
808 PyObject_HEAD_INIT(&PyType_Type)
809 0, /*ob_size*/
32fe5131 810 (char *)"PySwigObject", /*tp_name*/
093d3ff1
RD
811 sizeof(PySwigObject), /*tp_basicsize*/
812 0, /*tp_itemsize*/
813 /* methods */
814 (destructor)PySwigObject_dealloc, /*tp_dealloc*/
815 (printfunc)PySwigObject_print, /*tp_print*/
816 (getattrfunc)0, /*tp_getattr*/
817 (setattrfunc)0, /*tp_setattr*/
818 (cmpfunc)PySwigObject_compare, /*tp_compare*/
819 (reprfunc)PySwigObject_repr, /*tp_repr*/
820 &PySwigObject_as_number, /*tp_as_number*/
821 0, /*tp_as_sequence*/
822 0, /*tp_as_mapping*/
823 (hashfunc)0, /*tp_hash*/
824 (ternaryfunc)0, /*tp_call*/
825 (reprfunc)PySwigObject_str, /*tp_str*/
826 /* Space for future expansion */
32fe5131
RD
827 0,0,0,0,
828 pyswigobject_type__doc__, /* Documentation string */
093d3ff1
RD
829#if PY_VERSION_HEX >= 0x02000000
830 0, /* tp_traverse */
831 0, /* tp_clear */
832#endif
833#if PY_VERSION_HEX >= 0x02010000
834 0, /* tp_richcompare */
835 0, /* tp_weaklistoffset */
836#endif
837#if PY_VERSION_HEX >= 0x02020000
838 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
839#endif
840#if PY_VERSION_HEX >= 0x02030000
841 0, /* tp_del */
842#endif
843#ifdef COUNT_ALLOCS
844 0,0,0,0 /* tp_alloc -> tp_next */
845#endif
846 };
32fe5131
RD
847#if !defined(__cplusplus)
848 pyswigobject_type = tmp;
093d3ff1
RD
849 type_init = 1;
850 }
32fe5131
RD
851#endif
852 return &pyswigobject_type;
093d3ff1
RD
853}
854
855SWIGRUNTIME PyObject *
856PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc)
c32bde28 857{
32fe5131
RD
858 PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_type());
859 if (self) {
860 self->ptr = ptr;
861 self->desc = desc;
862 }
093d3ff1 863 return (PyObject *)self;
c32bde28 864}
15afbcd0 865
093d3ff1
RD
866SWIGRUNTIMEINLINE void *
867PySwigObject_AsVoidPtr(PyObject *self)
868{
869 return ((PySwigObject *)self)->ptr;
870}
c32bde28 871
093d3ff1
RD
872SWIGRUNTIMEINLINE const char *
873PySwigObject_GetDesc(PyObject *self)
874{
875 return ((PySwigObject *)self)->desc;
876}
d14a1e28 877
093d3ff1
RD
878SWIGRUNTIMEINLINE int
879PySwigObject_Check(PyObject *op) {
32fe5131 880 return ((op)->ob_type == PySwigObject_type())
093d3ff1
RD
881 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
882}
d14a1e28 883
093d3ff1
RD
884/* -----------------------------------------------------------------------------
885 * Implements a simple Swig Packed type, and use it instead of string
886 * ----------------------------------------------------------------------------- */
994141e6 887
093d3ff1
RD
888typedef struct {
889 PyObject_HEAD
890 void *pack;
891 const char *desc;
892 size_t size;
893} PySwigPacked;
c32bde28 894
093d3ff1
RD
895SWIGRUNTIME int
896PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags)
994141e6 897{
093d3ff1 898 char result[SWIG_BUFFER_SIZE];
32fe5131 899 flags = flags;
093d3ff1
RD
900 fputs("<Swig Packed ", fp);
901 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
902 fputs("at ", fp);
903 fputs(result, fp);
904 }
905 fputs(v->desc,fp);
906 fputs(">", fp);
907 return 0;
908}
909
910SWIGRUNTIME PyObject *
911PySwigPacked_repr(PySwigPacked *v)
912{
913 char result[SWIG_BUFFER_SIZE];
914 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
915 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->desc);
916 } else {
917 return PyString_FromFormat("<Swig Packed %s>", v->desc);
918 }
15afbcd0
RD
919}
920
093d3ff1
RD
921SWIGRUNTIME PyObject *
922PySwigPacked_str(PySwigPacked *v)
923{
924 char result[SWIG_BUFFER_SIZE];
925 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
926 return PyString_FromFormat("%s%s", result, v->desc);
927 } else {
32fe5131 928 return PyString_FromString(v->desc);
093d3ff1
RD
929 }
930}
15afbcd0 931
093d3ff1
RD
932SWIGRUNTIME int
933PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
15afbcd0 934{
093d3ff1
RD
935 int c = strcmp(v->desc, w->desc);
936 if (c) {
32fe5131 937 return (c > 0) ? 1 : -1;
093d3ff1
RD
938 } else {
939 size_t i = v->size;
940 size_t j = w->size;
32fe5131 941 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
093d3ff1 942 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
15afbcd0 943 }
c32bde28
RD
944}
945
093d3ff1
RD
946SWIGRUNTIME void
947PySwigPacked_dealloc(PySwigPacked *self)
c32bde28 948{
093d3ff1 949 free(self->pack);
32fe5131 950 PyObject_Del(self);
994141e6
RD
951}
952
093d3ff1 953SWIGRUNTIME PyTypeObject*
32fe5131
RD
954PySwigPacked_type(void) {
955 static char pyswigpacked_type__doc__[] =
093d3ff1 956 "Swig object carries a C/C++ instance pointer";
32fe5131
RD
957 static PyTypeObject pyswigpacked_type
958#if !defined(__cplusplus)
959 ;
960 static int type_init = 0;
093d3ff1 961 if (!type_init) {
32fe5131
RD
962 PyTypeObject tmp
963#endif
964 = {
093d3ff1
RD
965 PyObject_HEAD_INIT(&PyType_Type)
966 0, /*ob_size*/
32fe5131 967 (char *)"PySwigPacked", /*tp_name*/
093d3ff1
RD
968 sizeof(PySwigPacked), /*tp_basicsize*/
969 0, /*tp_itemsize*/
970 /* methods */
971 (destructor)PySwigPacked_dealloc, /*tp_dealloc*/
972 (printfunc)PySwigPacked_print, /*tp_print*/
973 (getattrfunc)0, /*tp_getattr*/
974 (setattrfunc)0, /*tp_setattr*/
975 (cmpfunc)PySwigPacked_compare, /*tp_compare*/
976 (reprfunc)PySwigPacked_repr, /*tp_repr*/
977 0, /*tp_as_number*/
978 0, /*tp_as_sequence*/
979 0, /*tp_as_mapping*/
980 (hashfunc)0, /*tp_hash*/
981 (ternaryfunc)0, /*tp_call*/
982 (reprfunc)PySwigPacked_str, /*tp_str*/
983 /* Space for future expansion */
32fe5131
RD
984 0,0,0,0,
985 pyswigpacked_type__doc__, /* Documentation string */
093d3ff1
RD
986#if PY_VERSION_HEX >= 0x02000000
987 0, /* tp_traverse */
988 0, /* tp_clear */
989#endif
990#if PY_VERSION_HEX >= 0x02010000
991 0, /* tp_richcompare */
992 0, /* tp_weaklistoffset */
993#endif
994#if PY_VERSION_HEX >= 0x02020000
995 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
996#endif
997#if PY_VERSION_HEX >= 0x02030000
998 0, /* tp_del */
999#endif
1000#ifdef COUNT_ALLOCS
1001 0,0,0,0 /* tp_alloc -> tp_next */
1002#endif
1003 };
32fe5131
RD
1004#if !defined(__cplusplus)
1005 pyswigpacked_type = tmp;
093d3ff1
RD
1006 type_init = 1;
1007 }
32fe5131
RD
1008#endif
1009 return &pyswigpacked_type;
093d3ff1 1010}
d14a1e28 1011
093d3ff1
RD
1012SWIGRUNTIME PyObject *
1013PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc)
1014{
32fe5131 1015 PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_type());
093d3ff1
RD
1016 if (self == NULL) {
1017 return NULL;
1018 } else {
1019 void *pack = malloc(size);
32fe5131
RD
1020 if (pack) {
1021 memcpy(pack, ptr, size);
1022 self->pack = pack;
1023 self->desc = desc;
1024 self->size = size;
1025 return (PyObject *) self;
1026 }
1027 return NULL;
093d3ff1
RD
1028 }
1029}
d14a1e28 1030
093d3ff1
RD
1031SWIGRUNTIMEINLINE const char *
1032PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
d14a1e28 1033{
093d3ff1
RD
1034 PySwigPacked *self = (PySwigPacked *)obj;
1035 if (self->size != size) return 0;
1036 memcpy(ptr, self->pack, size);
1037 return self->desc;
1038}
d14a1e28 1039
093d3ff1
RD
1040SWIGRUNTIMEINLINE const char *
1041PySwigPacked_GetDesc(PyObject *self)
1042{
1043 return ((PySwigPacked *)self)->desc;
1044}
d14a1e28 1045
093d3ff1
RD
1046SWIGRUNTIMEINLINE int
1047PySwigPacked_Check(PyObject *op) {
32fe5131 1048 return ((op)->ob_type == PySwigPacked_type())
093d3ff1
RD
1049 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1050}
d14a1e28 1051
093d3ff1
RD
1052#else
1053/* -----------------------------------------------------------------------------
1054 * Use the old Python PyCObject instead of PySwigObject
1055 * ----------------------------------------------------------------------------- */
d14a1e28 1056
093d3ff1
RD
1057#define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1058#define PySwigObject_Check(obj) PyCObject_Check(obj)
1059#define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1060#define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
d14a1e28 1061
093d3ff1 1062#endif
d14a1e28 1063
093d3ff1 1064#endif
d14a1e28 1065
093d3ff1
RD
1066/* -----------------------------------------------------------------------------
1067 * errors manipulation
1068 * ----------------------------------------------------------------------------- */
d14a1e28 1069
093d3ff1
RD
1070SWIGRUNTIME void
1071SWIG_Python_TypeError(const char *type, PyObject *obj)
1072{
1073 if (type) {
1074#if defined(SWIG_COBJECT_TYPES)
32fe5131 1075 if (obj && PySwigObject_Check(obj)) {
093d3ff1
RD
1076 const char *otype = (const char *) PySwigObject_GetDesc(obj);
1077 if (otype) {
1078 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
1079 type, otype);
1080 return;
1081 }
1082 } else
1083#endif
1084 {
1085 const char *otype = (obj ? obj->ob_type->tp_name : 0);
1086 if (otype) {
1087 PyObject *str = PyObject_Str(obj);
1088 const char *cstr = str ? PyString_AsString(str) : 0;
1089 if (cstr) {
1090 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
1091 type, otype, cstr);
1092 } else {
1093 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
1094 type, otype);
1095 }
32fe5131 1096 Py_XDECREF(str);
093d3ff1
RD
1097 return;
1098 }
1099 }
1100 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
1101 } else {
1102 PyErr_Format(PyExc_TypeError, "unexpected type is received");
1103 }
1104}
d14a1e28 1105
093d3ff1
RD
1106SWIGRUNTIMEINLINE void
1107SWIG_Python_NullRef(const char *type)
1108{
1109 if (type) {
1110 PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type);
1111 } else {
1112 PyErr_Format(PyExc_TypeError, "null reference was received");
1113 }
1114}
d14a1e28 1115
093d3ff1
RD
1116SWIGRUNTIME int
1117SWIG_Python_AddErrMesg(const char* mesg, int infront)
1118{
1119 if (PyErr_Occurred()) {
1120 PyObject *type = 0;
1121 PyObject *value = 0;
1122 PyObject *traceback = 0;
1123 PyErr_Fetch(&type, &value, &traceback);
1124 if (value) {
1125 PyObject *old_str = PyObject_Str(value);
1126 Py_XINCREF(type);
1127 PyErr_Clear();
1128 if (infront) {
1129 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
1130 } else {
1131 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
1132 }
1133 Py_DECREF(old_str);
1134 }
1135 return 1;
1136 } else {
1137 return 0;
1138 }
1139}
d14a1e28 1140
093d3ff1
RD
1141SWIGRUNTIME int
1142SWIG_Python_ArgFail(int argnum)
d14a1e28 1143{
093d3ff1
RD
1144 if (PyErr_Occurred()) {
1145 /* add information about failing argument */
1146 char mesg[256];
32fe5131 1147 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
093d3ff1
RD
1148 return SWIG_Python_AddErrMesg(mesg, 1);
1149 } else {
1150 return 0;
1151 }
1152}
d14a1e28 1153
d14a1e28 1154
093d3ff1
RD
1155/* -----------------------------------------------------------------------------
1156 * pointers/data manipulation
1157 * ----------------------------------------------------------------------------- */
d14a1e28 1158
093d3ff1
RD
1159/* Convert a pointer value */
1160SWIGRUNTIME int
1161SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
32fe5131 1162 swig_cast_info *tc;
093d3ff1
RD
1163 const char *c = 0;
1164 static PyObject *SWIG_this = 0;
1165 int newref = 0;
1166 PyObject *pyobj = 0;
1167 void *vptr;
1168
1169 if (!obj) return 0;
1170 if (obj == Py_None) {
1171 *ptr = 0;
1172 return 0;
1173 }
d14a1e28 1174
093d3ff1
RD
1175#ifdef SWIG_COBJECT_TYPES
1176 if (!(PySwigObject_Check(obj))) {
1177 if (!SWIG_this)
1178 SWIG_this = PyString_FromString("this");
1179 pyobj = obj;
1180 obj = PyObject_GetAttr(obj,SWIG_this);
1181 newref = 1;
1182 if (!obj) goto type_error;
1183 if (!PySwigObject_Check(obj)) {
1184 Py_DECREF(obj);
1185 goto type_error;
1186 }
1187 }
1188 vptr = PySwigObject_AsVoidPtr(obj);
1189 c = (const char *) PySwigObject_GetDesc(obj);
1190 if (newref) { Py_DECREF(obj); }
1191 goto type_check;
1192#else
1193 if (!(PyString_Check(obj))) {
1194 if (!SWIG_this)
1195 SWIG_this = PyString_FromString("this");
1196 pyobj = obj;
1197 obj = PyObject_GetAttr(obj,SWIG_this);
1198 newref = 1;
1199 if (!obj) goto type_error;
1200 if (!PyString_Check(obj)) {
1201 Py_DECREF(obj);
1202 goto type_error;
1203 }
1204 }
32fe5131 1205 c = PyString_AsString(obj);
093d3ff1
RD
1206 /* Pointer values must start with leading underscore */
1207 c = SWIG_UnpackVoidPtr(c, &vptr, ty->name);
1208 if (newref) { Py_DECREF(obj); }
1209 if (!c) goto type_error;
1210#endif
d14a1e28 1211
093d3ff1 1212type_check:
093d3ff1
RD
1213 if (ty) {
1214 tc = SWIG_TypeCheck(c,ty);
1215 if (!tc) goto type_error;
1216 *ptr = SWIG_TypeCast(tc,vptr);
1217 } else {
1218 *ptr = vptr;
1219 }
093d3ff1
RD
1220 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
1221 PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False);
1222 }
1223 return 0;
d14a1e28 1224
093d3ff1
RD
1225type_error:
1226 PyErr_Clear();
1227 if (pyobj && !obj) {
1228 obj = pyobj;
1229 if (PyCFunction_Check(obj)) {
1230 /* here we get the method pointer for callbacks */
1231 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
1232 c = doc ? strstr(doc, "swig_ptr: ") : 0;
1233 if (c) {
32fe5131 1234 c = ty ? SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name) : 0;
093d3ff1
RD
1235 if (!c) goto type_error;
1236 goto type_check;
1237 }
1238 }
1239 }
1240 if (flags & SWIG_POINTER_EXCEPTION) {
1241 if (ty) {
1242 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1243 } else {
1244 SWIG_Python_TypeError("C/C++ pointer", obj);
1245 }
1246 }
1247 return -1;
1248}
d14a1e28 1249
093d3ff1
RD
1250/* Convert a pointer value, signal an exception on a type mismatch */
1251SWIGRUNTIME void *
1252SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
1253 void *result;
1254 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
1255 PyErr_Clear();
1256 if (flags & SWIG_POINTER_EXCEPTION) {
1257 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1258 SWIG_Python_ArgFail(argnum);
1259 }
1260 }
1261 return result;
1262}
d14a1e28 1263
093d3ff1
RD
1264/* Convert a packed value value */
1265SWIGRUNTIME int
1266SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) {
32fe5131 1267 swig_cast_info *tc;
093d3ff1 1268 const char *c = 0;
d14a1e28 1269
093d3ff1
RD
1270#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1271 c = PySwigPacked_UnpackData(obj, ptr, sz);
1272#else
1273 if ((!obj) || (!PyString_Check(obj))) goto type_error;
32fe5131 1274 c = PyString_AsString(obj);
093d3ff1
RD
1275 /* Pointer values must start with leading underscore */
1276 c = SWIG_UnpackDataName(c, ptr, sz, ty->name);
1277#endif
1278 if (!c) goto type_error;
1279 if (ty) {
1280 tc = SWIG_TypeCheck(c,ty);
1281 if (!tc) goto type_error;
1282 }
1283 return 0;
d14a1e28 1284
093d3ff1
RD
1285type_error:
1286 PyErr_Clear();
1287 if (flags & SWIG_POINTER_EXCEPTION) {
1288 if (ty) {
1289 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1290 } else {
1291 SWIG_Python_TypeError("C/C++ packed data", obj);
1292 }
1293 }
1294 return -1;
1295}
1296
1297/* Create a new array object */
1298SWIGRUNTIME PyObject *
1299SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) {
1300 PyObject *robj = 0;
32fe5131
RD
1301 if (!type) {
1302 if (!PyErr_Occurred()) {
1303 PyErr_Format(PyExc_TypeError, "Swig: null type passed to NewPointerObj");
1304 }
1305 return robj;
1306 }
093d3ff1
RD
1307 if (!ptr) {
1308 Py_INCREF(Py_None);
1309 return Py_None;
1310 }
1311#ifdef SWIG_COBJECT_TYPES
1312 robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name);
1313#else
1314 {
1315 char result[SWIG_BUFFER_SIZE];
1316 robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ?
1317 PyString_FromString(result) : 0;
1318 }
1319#endif
1320 if (!robj || (robj == Py_None)) return robj;
1321 if (type->clientdata) {
1322 PyObject *inst;
1323 PyObject *args = Py_BuildValue((char*)"(O)", robj);
1324 Py_DECREF(robj);
1325 inst = PyObject_CallObject((PyObject *) type->clientdata, args);
1326 Py_DECREF(args);
1327 if (inst) {
1328 if (own) {
1329 PyObject_SetAttrString(inst,(char*)"thisown",Py_True);
1330 }
1331 robj = inst;
1332 }
1333 }
1334 return robj;
1335}
1336
1337SWIGRUNTIME PyObject *
1338SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
1339 PyObject *robj = 0;
1340 if (!ptr) {
1341 Py_INCREF(Py_None);
1342 return Py_None;
1343 }
1344#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1345 robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name);
1346#else
1347 {
1348 char result[SWIG_BUFFER_SIZE];
1349 robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ?
1350 PyString_FromString(result) : 0;
1351 }
1352#endif
1353 return robj;
1354}
1355
1356/* -----------------------------------------------------------------------------*
1357 * Get type list
1358 * -----------------------------------------------------------------------------*/
1359
1360#ifdef SWIG_LINK_RUNTIME
1361void *SWIG_ReturnGlobalTypeList(void *);
1362#endif
1363
32fe5131
RD
1364SWIGRUNTIME swig_module_info *
1365SWIG_Python_GetModule(void) {
093d3ff1
RD
1366 static void *type_pointer = (void *)0;
1367 /* first check if module already created */
1368 if (!type_pointer) {
1369#ifdef SWIG_LINK_RUNTIME
1370 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
1371#else
1372 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1373 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
1374 if (PyErr_Occurred()) {
1375 PyErr_Clear();
1376 type_pointer = (void *)0;
1377 }
093d3ff1 1378#endif
32fe5131
RD
1379 }
1380 return (swig_module_info *) type_pointer;
093d3ff1
RD
1381}
1382
32fe5131
RD
1383#if PY_MAJOR_VERSION < 2
1384/* PyModule_AddObject function was introduced in Python 2.0. The following function
1385is copied out of Python/modsupport.c in python version 2.3.4 */
1386SWIGINTERN int
1387PyModule_AddObject(PyObject *m, char *name, PyObject *o)
1388{
1389 PyObject *dict;
1390 if (!PyModule_Check(m)) {
1391 PyErr_SetString(PyExc_TypeError,
1392 "PyModule_AddObject() needs module as first arg");
1393 return -1;
1394 }
1395 if (!o) {
1396 PyErr_SetString(PyExc_TypeError,
1397 "PyModule_AddObject() needs non-NULL value");
1398 return -1;
1399 }
1400
1401 dict = PyModule_GetDict(m);
1402 if (dict == NULL) {
1403 /* Internal error -- modules must have a dict! */
1404 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
1405 PyModule_GetName(m));
1406 return -1;
1407 }
1408 if (PyDict_SetItemString(dict, name, o))
1409 return -1;
1410 Py_DECREF(o);
1411 return 0;
093d3ff1 1412}
32fe5131 1413#endif
093d3ff1 1414
32fe5131
RD
1415SWIGRUNTIME void
1416SWIG_Python_SetModule(swig_module_info *swig_module) {
1417 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
1418
1419 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1420 swig_empty_runtime_method_table);
1421 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, NULL);
1422 if (pointer && module) {
1423 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
1424 }
1425}
093d3ff1
RD
1426
1427#ifdef __cplusplus
1428}
1429#endif
1430
1431
1432/* -------- TYPES TABLE (BEGIN) -------- */
1433
32fe5131
RD
1434#define SWIGTYPE_p_char swig_types[0]
1435#define SWIGTYPE_p_form_ops_t swig_types[1]
1436#define SWIGTYPE_p_int swig_types[2]
1437#define SWIGTYPE_p_unsigned_char swig_types[3]
1438#define SWIGTYPE_p_unsigned_int swig_types[4]
1439#define SWIGTYPE_p_unsigned_long swig_types[5]
1440#define SWIGTYPE_p_wxANIHandler swig_types[6]
1441#define SWIGTYPE_p_wxAcceleratorTable swig_types[7]
1442#define SWIGTYPE_p_wxActivateEvent swig_types[8]
1443#define SWIGTYPE_p_wxArrayInt swig_types[9]
1444#define SWIGTYPE_p_wxBMPHandler swig_types[10]
1445#define SWIGTYPE_p_wxBitmap swig_types[11]
1446#define SWIGTYPE_p_wxBoxSizer swig_types[12]
1447#define SWIGTYPE_p_wxCURHandler swig_types[13]
1448#define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[14]
1449#define SWIGTYPE_p_wxChildFocusEvent swig_types[15]
1450#define SWIGTYPE_p_wxCloseEvent swig_types[16]
1451#define SWIGTYPE_p_wxColour swig_types[17]
1452#define SWIGTYPE_p_wxColourData swig_types[18]
1453#define SWIGTYPE_p_wxColourDialog swig_types[19]
1454#define SWIGTYPE_p_wxCommandEvent swig_types[20]
1455#define SWIGTYPE_p_wxContextMenuEvent swig_types[21]
1456#define SWIGTYPE_p_wxControl swig_types[22]
1457#define SWIGTYPE_p_wxControlWithItems swig_types[23]
1458#define SWIGTYPE_p_wxDC swig_types[24]
1459#define SWIGTYPE_p_wxDateEvent swig_types[25]
1460#define SWIGTYPE_p_wxDialog swig_types[26]
1461#define SWIGTYPE_p_wxDirDialog swig_types[27]
1462#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[28]
1463#define SWIGTYPE_p_wxDropFilesEvent swig_types[29]
1464#define SWIGTYPE_p_wxDuplexMode swig_types[30]
1465#define SWIGTYPE_p_wxEraseEvent swig_types[31]
1466#define SWIGTYPE_p_wxEvent swig_types[32]
1467#define SWIGTYPE_p_wxEvtHandler swig_types[33]
1468#define SWIGTYPE_p_wxFSFile swig_types[34]
1469#define SWIGTYPE_p_wxFileDialog swig_types[35]
1470#define SWIGTYPE_p_wxFileSystem swig_types[36]
1471#define SWIGTYPE_p_wxFindDialogEvent swig_types[37]
1472#define SWIGTYPE_p_wxFindReplaceData swig_types[38]
1473#define SWIGTYPE_p_wxFindReplaceDialog swig_types[39]
1474#define SWIGTYPE_p_wxFlexGridSizer swig_types[40]
1475#define SWIGTYPE_p_wxFocusEvent swig_types[41]
1476#define SWIGTYPE_p_wxFont swig_types[42]
1477#define SWIGTYPE_p_wxFontData swig_types[43]
1478#define SWIGTYPE_p_wxFontDialog swig_types[44]
1479#define SWIGTYPE_p_wxFrame swig_types[45]
1480#define SWIGTYPE_p_wxGBSizerItem swig_types[46]
1481#define SWIGTYPE_p_wxGIFHandler swig_types[47]
1482#define SWIGTYPE_p_wxGridBagSizer swig_types[48]
1483#define SWIGTYPE_p_wxGridSizer swig_types[49]
1484#define SWIGTYPE_p_wxICOHandler swig_types[50]
1485#define SWIGTYPE_p_wxIcon swig_types[51]
1486#define SWIGTYPE_p_wxIconBundle swig_types[52]
1487#define SWIGTYPE_p_wxIconizeEvent swig_types[53]
1488#define SWIGTYPE_p_wxIdleEvent swig_types[54]
1489#define SWIGTYPE_p_wxImage swig_types[55]
1490#define SWIGTYPE_p_wxImageHandler swig_types[56]
1491#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[57]
1492#define SWIGTYPE_p_wxInitDialogEvent swig_types[58]
1493#define SWIGTYPE_p_wxJPEGHandler swig_types[59]
1494#define SWIGTYPE_p_wxKeyEvent swig_types[60]
1495#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[61]
1496#define SWIGTYPE_p_wxLayoutConstraints swig_types[62]
1497#define SWIGTYPE_p_wxMDIChildFrame swig_types[63]
1498#define SWIGTYPE_p_wxMDIClientWindow swig_types[64]
1499#define SWIGTYPE_p_wxMDIParentFrame swig_types[65]
1500#define SWIGTYPE_p_wxMaximizeEvent swig_types[66]
1501#define SWIGTYPE_p_wxMenu swig_types[67]
1502#define SWIGTYPE_p_wxMenuBar swig_types[68]
1503#define SWIGTYPE_p_wxMenuEvent swig_types[69]
1504#define SWIGTYPE_p_wxMenuItem swig_types[70]
1505#define SWIGTYPE_p_wxMessageDialog swig_types[71]
1506#define SWIGTYPE_p_wxMiniFrame swig_types[72]
1507#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[73]
1508#define SWIGTYPE_p_wxMouseEvent swig_types[74]
1509#define SWIGTYPE_p_wxMoveEvent swig_types[75]
1510#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[76]
1511#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[77]
1512#define SWIGTYPE_p_wxNcPaintEvent swig_types[78]
1513#define SWIGTYPE_p_wxNotifyEvent swig_types[79]
1514#define SWIGTYPE_p_wxObject swig_types[80]
1515#define SWIGTYPE_p_wxPCXHandler swig_types[81]
1516#define SWIGTYPE_p_wxPNGHandler swig_types[82]
1517#define SWIGTYPE_p_wxPNMHandler swig_types[83]
1518#define SWIGTYPE_p_wxPageSetupDialog swig_types[84]
1519#define SWIGTYPE_p_wxPageSetupDialogData swig_types[85]
1520#define SWIGTYPE_p_wxPaintEvent swig_types[86]
1521#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[87]
1522#define SWIGTYPE_p_wxPanel swig_types[88]
1523#define SWIGTYPE_p_wxPaperSize swig_types[89]
1524#define SWIGTYPE_p_wxPasswordEntryDialog swig_types[90]
1525#define SWIGTYPE_p_wxPoint swig_types[91]
1526#define SWIGTYPE_p_wxPopupWindow swig_types[92]
1527#define SWIGTYPE_p_wxPreviewCanvas swig_types[93]
1528#define SWIGTYPE_p_wxPreviewControlBar swig_types[94]
1529#define SWIGTYPE_p_wxPreviewFrame swig_types[95]
1530#define SWIGTYPE_p_wxPrintData swig_types[96]
1531#define SWIGTYPE_p_wxPrintDialog swig_types[97]
1532#define SWIGTYPE_p_wxPrintDialogData swig_types[98]
1533#define SWIGTYPE_p_wxPrintPreview swig_types[99]
1534#define SWIGTYPE_p_wxPrinter swig_types[100]
1535#define SWIGTYPE_p_wxProgressDialog swig_types[101]
1536#define SWIGTYPE_p_wxPyApp swig_types[102]
1537#define SWIGTYPE_p_wxPyCommandEvent swig_types[103]
1538#define SWIGTYPE_p_wxPyEvent swig_types[104]
1539#define SWIGTYPE_p_wxPyHtmlListBox swig_types[105]
1540#define SWIGTYPE_p_wxPyImageHandler swig_types[106]
1541#define SWIGTYPE_p_wxPyPanel swig_types[107]
1542#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[108]
1543#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[109]
1544#define SWIGTYPE_p_wxPyPreviewFrame swig_types[110]
1545#define SWIGTYPE_p_wxPyPrintPreview swig_types[111]
1546#define SWIGTYPE_p_wxPyPrintout swig_types[112]
1547#define SWIGTYPE_p_wxPyScrolledWindow swig_types[113]
1548#define SWIGTYPE_p_wxPySizer swig_types[114]
1549#define SWIGTYPE_p_wxPyTaskBarIcon swig_types[115]
1550#define SWIGTYPE_p_wxPyVListBox swig_types[116]
1551#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[117]
1552#define SWIGTYPE_p_wxPyValidator swig_types[118]
1553#define SWIGTYPE_p_wxPyWindow swig_types[119]
1554#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[120]
1555#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[121]
1556#define SWIGTYPE_p_wxRect swig_types[122]
1557#define SWIGTYPE_p_wxRegion swig_types[123]
1558#define SWIGTYPE_p_wxSashEvent swig_types[124]
1559#define SWIGTYPE_p_wxSashLayoutWindow swig_types[125]
1560#define SWIGTYPE_p_wxSashWindow swig_types[126]
1561#define SWIGTYPE_p_wxScrollEvent swig_types[127]
1562#define SWIGTYPE_p_wxScrollWinEvent swig_types[128]
1563#define SWIGTYPE_p_wxScrolledWindow swig_types[129]
1564#define SWIGTYPE_p_wxSetCursorEvent swig_types[130]
1565#define SWIGTYPE_p_wxShowEvent swig_types[131]
1566#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[132]
1567#define SWIGTYPE_p_wxSize swig_types[133]
1568#define SWIGTYPE_p_wxSizeEvent swig_types[134]
1569#define SWIGTYPE_p_wxSizer swig_types[135]
1570#define SWIGTYPE_p_wxSizerItem swig_types[136]
1571#define SWIGTYPE_p_wxSplashScreen swig_types[137]
1572#define SWIGTYPE_p_wxSplashScreenWindow swig_types[138]
1573#define SWIGTYPE_p_wxSplitterEvent swig_types[139]
1574#define SWIGTYPE_p_wxSplitterWindow swig_types[140]
1575#define SWIGTYPE_p_wxStaticBoxSizer swig_types[141]
1576#define SWIGTYPE_p_wxStatusBar swig_types[142]
1577#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[143]
1578#define SWIGTYPE_p_wxString swig_types[144]
1579#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[145]
1580#define SWIGTYPE_p_wxTIFFHandler swig_types[146]
1581#define SWIGTYPE_p_wxTaskBarIcon swig_types[147]
1582#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[148]
1583#define SWIGTYPE_p_wxTextEntryDialog swig_types[149]
1584#define SWIGTYPE_p_wxTipWindow swig_types[150]
1585#define SWIGTYPE_p_wxToolBar swig_types[151]
1586#define SWIGTYPE_p_wxTopLevelWindow swig_types[152]
1587#define SWIGTYPE_p_wxUpdateUIEvent swig_types[153]
1588#define SWIGTYPE_p_wxValidator swig_types[154]
1589#define SWIGTYPE_p_wxVisualAttributes swig_types[155]
1590#define SWIGTYPE_p_wxWindow swig_types[156]
1591#define SWIGTYPE_p_wxWindowCreateEvent swig_types[157]
1592#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[158]
1593#define SWIGTYPE_p_wxXPMHandler swig_types[159]
1594#define SWIGTYPE_ptrdiff_t swig_types[160]
1595#define SWIGTYPE_std__ptrdiff_t swig_types[161]
1596#define SWIGTYPE_unsigned_int swig_types[162]
1597static swig_type_info *swig_types[164];
1598static swig_module_info swig_module = {swig_types, 163, 0, 0, 0, 0};
1599#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1600#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
093d3ff1
RD
1601
1602/* -------- TYPES TABLE (END) -------- */
1603
1604
1605/*-----------------------------------------------
1606 @(target):= _windows_.so
1607 ------------------------------------------------*/
1608#define SWIG_init init_windows_
1609
1610#define SWIG_name "_windows_"
1611
1612#include "wx/wxPython/wxPython.h"
1613#include "wx/wxPython/pyclasses.h"
1614
1615
1616 static const wxString wxPyEmptyString(wxEmptyString);
1617 static const wxString wxPyPanelNameStr(wxPanelNameStr);
1618
1619
1620
1621#include <limits.h>
1622
1623
1624SWIGINTERN int
1625 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1626 const char *errmsg)
1627{
1628 if (value < min_value) {
1629 if (errmsg) {
1630 PyErr_Format(PyExc_OverflowError,
1631 "value %ld is less than '%s' minimum %ld",
1632 value, errmsg, min_value);
1633 }
1634 return 0;
1635 } else if (value > max_value) {
1636 if (errmsg) {
1637 PyErr_Format(PyExc_OverflowError,
1638 "value %ld is greater than '%s' maximum %ld",
1639 value, errmsg, max_value);
1640 }
1641 return 0;
1642 }
1643 return 1;
1644}
1645
1646
1647SWIGINTERN int
1648SWIG_AsVal_long(PyObject* obj, long* val)
1649{
1650 if (PyNumber_Check(obj)) {
1651 if (val) *val = PyInt_AsLong(obj);
1652 return 1;
1653 }
1654 else {
1655 SWIG_type_error("number", obj);
1656 }
1657 return 0;
1658}
1659
1660
1661#if INT_MAX != LONG_MAX
1662SWIGINTERN int
1663 SWIG_AsVal_int(PyObject *obj, int *val)
1664{
1665 const char* errmsg = val ? "int" : (char*)0;
1666 long v;
1667 if (SWIG_AsVal_long(obj, &v)) {
1668 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
32fe5131 1669 if (val) *val = static_cast<int >(v);
093d3ff1
RD
1670 return 1;
1671 } else {
1672 return 0;
1673 }
1674 } else {
1675 PyErr_Clear();
1676 }
1677 if (val) {
1678 SWIG_type_error(errmsg, obj);
1679 }
1680 return 0;
1681}
1682#else
32fe5131 1683SWIGINTERNINLINE int
093d3ff1
RD
1684 SWIG_AsVal_int(PyObject *obj, int *val)
1685{
1686 return SWIG_AsVal_long(obj,(long*)val);
1687}
1688#endif
1689
1690
32fe5131 1691SWIGINTERNINLINE int
093d3ff1
RD
1692SWIG_As_int(PyObject* obj)
1693{
1694 int v;
1695 if (!SWIG_AsVal_int(obj, &v)) {
1696 /*
1697 this is needed to make valgrind/purify happier.
1698 */
1699 memset((void*)&v, 0, sizeof(int));
1700 }
1701 return v;
1702}
1703
1704
32fe5131 1705SWIGINTERNINLINE long
093d3ff1
RD
1706SWIG_As_long(PyObject* obj)
1707{
1708 long v;
1709 if (!SWIG_AsVal_long(obj, &v)) {
1710 /*
1711 this is needed to make valgrind/purify happier.
1712 */
1713 memset((void*)&v, 0, sizeof(long));
1714 }
1715 return v;
1716}
1717
1718
32fe5131 1719SWIGINTERNINLINE int
093d3ff1
RD
1720SWIG_Check_int(PyObject* obj)
1721{
1722 return SWIG_AsVal_int(obj, (int*)0);
1723}
1724
1725
32fe5131 1726SWIGINTERNINLINE int
093d3ff1
RD
1727SWIG_Check_long(PyObject* obj)
1728{
1729 return SWIG_AsVal_long(obj, (long*)0);
1730}
1731
1732
1733SWIGINTERN int
1734 SWIG_AsVal_bool(PyObject *obj, bool *val)
1735{
1736 if (obj == Py_True) {
1737 if (val) *val = true;
1738 return 1;
1739 }
1740 if (obj == Py_False) {
1741 if (val) *val = false;
1742 return 1;
1743 }
1744 int res = 0;
1745 if (SWIG_AsVal_int(obj, &res)) {
1746 if (val) *val = res ? true : false;
1747 return 1;
1748 } else {
1749 PyErr_Clear();
1750 }
1751 if (val) {
1752 SWIG_type_error("bool", obj);
1753 }
1754 return 0;
1755}
1756
1757
32fe5131 1758SWIGINTERNINLINE bool
093d3ff1
RD
1759SWIG_As_bool(PyObject* obj)
1760{
1761 bool v;
1762 if (!SWIG_AsVal_bool(obj, &v)) {
1763 /*
1764 this is needed to make valgrind/purify happier.
1765 */
1766 memset((void*)&v, 0, sizeof(bool));
1767 }
1768 return v;
1769}
1770
1771
32fe5131 1772SWIGINTERNINLINE int
093d3ff1
RD
1773SWIG_Check_bool(PyObject* obj)
1774{
1775 return SWIG_AsVal_bool(obj, (bool*)0);
1776}
1777
1778
32fe5131 1779 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
093d3ff1
RD
1780#define SWIG_From_int PyInt_FromLong
1781/*@@*/
1782
1783
1784 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
1785 PyObject* o2;
1786 PyObject* o3;
1787
1788 if (!target) {
1789 target = o;
1790 } else if (target == Py_None) {
1791 Py_DECREF(Py_None);
1792 target = o;
1793 } else {
1794 if (!PyTuple_Check(target)) {
1795 o2 = target;
1796 target = PyTuple_New(1);
1797 PyTuple_SetItem(target, 0, o2);
1798 }
1799 o3 = PyTuple_New(1);
1800 PyTuple_SetItem(o3, 0, o);
1801
1802 o2 = target;
1803 target = PySequence_Concat(o2, o3);
1804 Py_DECREF(o2);
1805 Py_DECREF(o3);
1806 }
1807 return target;
1808 }
1809
1810
1811
1812SWIGINTERN int
1813SWIG_AsVal_double(PyObject *obj, double* val)
1814{
1815 if (PyNumber_Check(obj)) {
1816 if (val) *val = PyFloat_AsDouble(obj);
1817 return 1;
1818 }
1819 else {
1820 SWIG_type_error("number", obj);
1821 }
1822 return 0;
1823}
1824
1825
32fe5131 1826SWIGINTERNINLINE double
093d3ff1
RD
1827SWIG_As_double(PyObject* obj)
1828{
1829 double v;
1830 if (!SWIG_AsVal_double(obj, &v)) {
1831 /*
1832 this is needed to make valgrind/purify happier.
1833 */
1834 memset((void*)&v, 0, sizeof(double));
1835 }
1836 return v;
1837}
1838
1839
32fe5131 1840SWIGINTERNINLINE int
093d3ff1
RD
1841SWIG_Check_double(PyObject* obj)
1842{
1843 return SWIG_AsVal_double(obj, (double*)0);
1844}
1845
1846
32fe5131 1847 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
093d3ff1
RD
1848#define SWIG_From_double PyFloat_FromDouble
1849/*@@*/
1850
1851 static const wxString wxPyFrameNameStr(wxFrameNameStr);
1852 static const wxString wxPyDialogNameStr(wxDialogNameStr);
1853 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
1854 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
1855static void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){ /*wxPyRaiseNotImplemented();*/ }
1856static bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow const *self){ /*wxPyRaiseNotImplemented();*/ return false; }
1857
32fe5131 1858 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
093d3ff1
RD
1859#define SWIG_From_long PyInt_FromLong
1860/*@@*/
1861
1862
1863
1864static wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
1865 wxRect r;
1866 self->GetFieldRect(i, r);
1867 return r;
1868 }
1869 static const wxString wxPySplitterNameStr(wxT("splitter"));
1870 static const wxString wxPySashNameStr(wxT("sashWindow"));
1871 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
1872
1873#include <wx/popupwin.h>
1874
1875
1876class wxPyPopupTransientWindow : public wxPopupTransientWindow
1877{
1878public:
1879 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
1880 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
1881 : wxPopupTransientWindow(parent, style) {}
1882
1883 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
1884 DEC_PYCALLBACK__(OnDismiss);
1885 DEC_PYCALLBACK_BOOL_(CanDismiss);
1886 PYPRIVATE;
1887};
1888
1889
1890IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
1891IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
1892IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
1893
1894
1895#include <wx/tipwin.h>
1896
1897static wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
1898 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
1899 }
1900
1901#include <wx/tipwin.h>
1902
1903
1904#include <wx/vscroll.h>
1905
1906
1907class wxPyVScrolledWindow : public wxVScrolledWindow
1908{
32fe5131 1909 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow)
093d3ff1
RD
1910public:
1911 wxPyVScrolledWindow() : wxVScrolledWindow() {}
1912
1913 wxPyVScrolledWindow(wxWindow *parent,
1914 wxWindowID id = wxID_ANY,
1915 const wxPoint& pos = wxDefaultPosition,
1916 const wxSize& size = wxDefaultSize,
1917 long style = 0,
1918 const wxString& name = wxPyPanelNameStr)
1919 : wxVScrolledWindow(parent, id, pos, size, style, name)
1920 {}
1921
1922 // Overridable virtuals
1923
1924 // this function must be overridden in the derived class and it should
1925 // return the height of the given line in pixels
1926 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
1927
1928
1929 // this function doesn't have to be overridden but it may be useful to do
1930 // it if calculating the lines heights is a relatively expensive operation
1931 // as it gives the user code a possibility to calculate several of them at
1932 // once
1933 //
1934 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
1935 // shouldn't rely on the latter being called for all lines in the interval
1936 // specified here. It is also possible that OnGetLineHeight() will be
1937 // called for the lines outside of this interval, so this is really just a
1938 // hint, not a promise.
1939 //
1940 // finally note that lineMin is inclusive, while lineMax is exclusive, as
1941 // usual
1942 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
1943
1944
1945 // when the number of lines changes, we try to estimate the total height
1946 // of all lines which is a rather expensive operation in terms of lines
1947 // access, so if the user code may estimate the average height
1948 // better/faster than we do, it should override this function to implement
1949 // its own logic
1950 //
1951 // this function should return the best guess for the total height it may
1952 // make
1953 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
1954
1955
1956 // Also expose some other interesting protected methods
1957
1958
1959 // find the index of the line we need to show at the top of the window such
1960 // that the last (fully or partially) visible line is the given one
1961 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
1962 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
1963
1964 // get the total height of the lines between lineMin (inclusive) and
1965 // lineMax (exclusive)
1966 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
1967 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
d14a1e28
RD
1968
1969
1970 PYPRIVATE;
1971};
1972
1973IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
1974
1975IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
1976IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
1977IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
1978
1979
093d3ff1 1980SWIGINTERN int
c32bde28 1981SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
15afbcd0 1982{
c32bde28
RD
1983 long v = 0;
1984 if (SWIG_AsVal_long(obj, &v) && v < 0) {
093d3ff1 1985 SWIG_type_error("unsigned number", obj);
15afbcd0 1986 }
c32bde28
RD
1987 else if (val)
1988 *val = (unsigned long)v;
1989 return 1;
15afbcd0
RD
1990}
1991
1992
32fe5131 1993SWIGINTERNINLINE unsigned long
c32bde28 1994SWIG_As_unsigned_SS_long(PyObject* obj)
15afbcd0 1995{
c32bde28
RD
1996 unsigned long v;
1997 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1998 /*
093d3ff1 1999 this is needed to make valgrind/purify happier.
c32bde28
RD
2000 */
2001 memset((void*)&v, 0, sizeof(unsigned long));
15afbcd0 2002 }
c32bde28
RD
2003 return v;
2004}
2005
2006
32fe5131 2007SWIGINTERNINLINE int
c32bde28
RD
2008SWIG_Check_unsigned_SS_long(PyObject* obj)
2009{
2010 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
15afbcd0
RD
2011}
2012
2013
32fe5131 2014SWIGINTERNINLINE PyObject*
c32bde28 2015 SWIG_From_unsigned_SS_long(unsigned long value)
994141e6 2016{
15afbcd0
RD
2017 return (value > LONG_MAX) ?
2018 PyLong_FromUnsignedLong(value)
32fe5131 2019 : PyInt_FromLong(static_cast<long >(value));
994141e6
RD
2020}
2021
2022
d14a1e28 2023#include <wx/vlbox.h>
d14a1e28 2024
b2dc1044 2025 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
d14a1e28
RD
2026
2027class wxPyVListBox : public wxVListBox
2028{
32fe5131 2029 DECLARE_ABSTRACT_CLASS(wxPyVListBox)
d14a1e28
RD
2030public:
2031 wxPyVListBox() : wxVListBox() {}
2032
2033 wxPyVListBox(wxWindow *parent,
2034 wxWindowID id = wxID_ANY,
2035 const wxPoint& pos = wxDefaultPosition,
2036 const wxSize& size = wxDefaultSize,
2037 long style = 0,
2038 const wxString& name = wxPyVListBoxNameStr)
2039 : wxVListBox(parent, id, pos, size, style, name)
2040 {}
2041
2042 // Overridable virtuals
2043
2044 // the derived class must implement this function to actually draw the item
2045 // with the given index on the provided DC
2046 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
2047 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
2048
2049
2050 // the derived class must implement this method to return the height of the
2051 // specified item
2052 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
2053 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
2054
2055
2056 // this method may be used to draw separators between the lines; note that
2057 // the rectangle may be modified, typically to deflate it a bit before
2058 // passing to OnDrawItem()
2059 //
2060 // the base class version doesn't do anything
2061 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
2062 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
2063
2064
2065 // this method is used to draw the items background and, maybe, a border
2066 // around it
2067 //
2068 // the base class version implements a reasonable default behaviour which
2069 // consists in drawing the selected item with the standard background
2070 // colour and drawing a border around the item if it is either selected or
2071 // current
2072 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
2073 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
2074
2075
2076 PYPRIVATE;
2077};
2078
2079IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
2080
2081IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
2082IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
2083IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
2084IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
2085
2086
093d3ff1 2087static PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
09c21d3b
RD
2088 unsigned long cookie = 0;
2089 int selected = self->GetFirstSelected(cookie);
5a446332 2090 wxPyBlock_t blocked = wxPyBeginBlockThreads();
09c21d3b
RD
2091 PyObject* tup = PyTuple_New(2);
2092 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
2093 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
2094 wxPyEndBlockThreads(blocked);
2095 return tup;
2096 }
093d3ff1 2097static PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
09c21d3b 2098 int selected = self->GetNextSelected(cookie);
5a446332 2099 wxPyBlock_t blocked = wxPyBeginBlockThreads();
09c21d3b
RD
2100 PyObject* tup = PyTuple_New(2);
2101 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
2102 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
2103 wxPyEndBlockThreads(blocked);
2104 return tup;
2105 }
d14a1e28
RD
2106
2107#include <wx/htmllbox.h>
2108
2109
2110class wxPyHtmlListBox : public wxHtmlListBox
2111{
32fe5131 2112 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox)
d14a1e28
RD
2113public:
2114 wxPyHtmlListBox() : wxHtmlListBox() {}
2115
2116 wxPyHtmlListBox(wxWindow *parent,
2117 wxWindowID id = wxID_ANY,
2118 const wxPoint& pos = wxDefaultPosition,
2119 const wxSize& size = wxDefaultSize,
2120 long style = 0,
2121 const wxString& name = wxPyVListBoxNameStr)
2122 : wxHtmlListBox(parent, id, pos, size, style, name)
2123 {}
2124
2125 // Overridable virtuals
2126
2127 // this method must be implemented in the derived class and should return
2128 // the body (i.e. without <html>) of the HTML for the given item
2129 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
2130
2131 // this function may be overridden to decorate HTML returned by OnGetItem()
2132 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
2133
2134// TODO:
2135// // this method allows to customize the selection appearance: it may be used
2136// // to specify the colour of the text which normally has the given colour
2137// // colFg when it is inside the selection
2138// //
2139// // by default, the original colour is not used at all and all text has the
2140// // same (default for this system) colour inside selection
2141// virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
2142
2143// // this is the same as GetSelectedTextColour() but allows to customize the
2144// // background colour -- this is even more rarely used as you can change it
2145// // globally using SetSelectionBackground()
2146// virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
2147
2148
2149 PYPRIVATE;
2150};
2151
2152
2153IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
2154
2155IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
2156IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
2157
2158
2159
2160
2161
ae8162c8
RD
2162#ifndef wxHAS_TASK_BAR_ICON
2163// implement dummy classes for platforms that don't have it
d14a1e28
RD
2164
2165class wxTaskBarIcon : public wxEvtHandler
2166{
2167public:
39f61e25 2168 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
d14a1e28 2169};
09c21d3b 2170
d14a1e28
RD
2171
2172class wxTaskBarIconEvent : public wxEvent
2173{
2174public:
2175 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
39f61e25 2176 { wxPyRaiseNotImplemented(); }
d14a1e28 2177 virtual wxEvent* Clone() const { return NULL; }
ae8162c8
RD
2178 bool IsOk() const { return false; }
2179 bool IsIconInstalled() const { return false; }
2180 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
2181 bool RemoveIcon() { return false; }
2182 bool PopupMenu(wxMenu *menu) { return false; }
d14a1e28
RD
2183};
2184
2185enum {
2186 wxEVT_TASKBAR_MOVE = 0,
2187 wxEVT_TASKBAR_LEFT_DOWN = 0,
2188 wxEVT_TASKBAR_LEFT_UP = 0,
2189 wxEVT_TASKBAR_RIGHT_DOWN = 0,
2190 wxEVT_TASKBAR_RIGHT_UP = 0,
2191 wxEVT_TASKBAR_LEFT_DCLICK = 0,
2192 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
2193};
09c21d3b
RD
2194
2195
2196#else
5e483524
RD
2197// Otherwise make a class that can virtualize CreatePopupMenu
2198class wxPyTaskBarIcon : public wxTaskBarIcon
2199{
32fe5131 2200 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon)
5e483524
RD
2201public:
2202 wxPyTaskBarIcon() : wxTaskBarIcon()
2203 {}
2204
2205 wxMenu* CreatePopupMenu() {
2206 wxMenu *rval = NULL;
2207 bool found;
5a446332 2208 wxPyBlock_t blocked = wxPyBeginBlockThreads();
5e483524
RD
2209 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
2210 PyObject* ro;
2211 wxMenu* ptr;
2212 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
2213 if (ro) {
2214 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
2215 rval = ptr;
2216 Py_DECREF(ro);
2217 }
2218 }
2219 wxPyEndBlockThreads(blocked);
2220 if (! found)
2221 rval = wxTaskBarIcon::CreatePopupMenu();
2222 return rval;
2223 }
2224
2225 PYPRIVATE;
2226};
2227
2228IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
09c21d3b 2229
d14a1e28
RD
2230#endif
2231
093d3ff1 2232static void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
74a57fcd 2233 self->RemoveIcon();
5e483524 2234 delete self;
74a57fcd 2235 }
b2dc1044
RD
2236 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
2237 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
2238 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
2239 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
2240 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
2241 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
093d3ff1 2242static PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
d14a1e28
RD
2243 wxArrayString arr;
2244 self->GetFilenames(arr);
2245 return wxArrayString2PyList_helper(arr);
2246 }
093d3ff1 2247static PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
d14a1e28
RD
2248 wxArrayString arr;
2249 self->GetPaths(arr);
2250 return wxArrayString2PyList_helper(arr);
2251 }
093d3ff1 2252static PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
d14a1e28
RD
2253 return wxArrayInt2PyList_helper(self->GetSelections());
2254 }
093d3ff1 2255static wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style=wxCHOICEDLG_STYLE,wxPoint const &pos=wxDefaultPosition){
d14a1e28
RD
2256 return new wxSingleChoiceDialog(parent, message, caption,
2257 choices, choices_array, NULL, style, pos);
2258 }
d3b6e4ff 2259 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
d14a1e28
RD
2260
2261#include <wx/mdi.h>
2262
2263 // C++ version of Python aware wxWindow
2264class wxPyWindow : public wxWindow
2265{
2266 DECLARE_DYNAMIC_CLASS(wxPyWindow)
2267public:
2268 wxPyWindow() : wxWindow() {}
2269 wxPyWindow(wxWindow* parent, const wxWindowID id,
2270 const wxPoint& pos = wxDefaultPosition,
2271 const wxSize& size = wxDefaultSize,
2272 long style = 0,
2273 const wxString& name = wxPyPanelNameStr)
2274 : wxWindow(parent, id, pos, size, style, name) {}
2275
db3e571a 2276 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
d14a1e28 2277
976dbff5
RD
2278 bool DoEraseBackground(wxDC* dc) {
2279#ifdef __WXMSW__
2280 return wxWindow::DoEraseBackground(dc->GetHDC());
2281#else
2282 dc->SetBackground(wxBrush(GetBackgroundColour()));
2283 dc->Clear();
2284 return true;
2285#endif
2286 }
2287
d14a1e28
RD
2288 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2289 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2290 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2291 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2292
2293 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2294 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2295 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2296
2297 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2298 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2299
2300 DEC_PYCALLBACK__(InitDialog);
2301 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2302 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2303 DEC_PYCALLBACK_BOOL_(Validate);
2304
2305 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2306 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2307 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2308
2309 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2310 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2311
db3e571a 2312 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
db3e571a 2313 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
4276dc52 2314
51b83b37
RD
2315 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2316
8d38bd1d
RD
2317 DEC_PYCALLBACK_VOID_(OnInternalIdle);
2318
d14a1e28
RD
2319 PYPRIVATE;
2320};
2321
2322IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
2323
2324IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
2325IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
2326IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
2327IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
2328
2329IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
2330IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
2331IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
2332
2333IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
2334IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
2335
2336IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
2337IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
2338IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
2339IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
2340
2341IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
2342IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
2343IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
2344
2345IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
2346IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
2347
db3e571a 2348IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
db3e571a 2349IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
51b83b37
RD
2350
2351IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
d14a1e28 2352
8d38bd1d
RD
2353IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle);
2354
d14a1e28
RD
2355 // C++ version of Python aware wxPanel
2356class wxPyPanel : public wxPanel
2357{
2358 DECLARE_DYNAMIC_CLASS(wxPyPanel)
2359public:
2360 wxPyPanel() : wxPanel() {}
2361 wxPyPanel(wxWindow* parent, const wxWindowID id,
2362 const wxPoint& pos = wxDefaultPosition,
2363 const wxSize& size = wxDefaultSize,
2364 long style = 0,
2365 const wxString& name = wxPyPanelNameStr)
2366 : wxPanel(parent, id, pos, size, style, name) {}
2367
db3e571a 2368 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
976dbff5
RD
2369 bool DoEraseBackground(wxDC* dc) {
2370#ifdef __WXMSW__
2371 return wxWindow::DoEraseBackground(dc->GetHDC());
2372#else
2373 dc->SetBackground(wxBrush(GetBackgroundColour()));
2374 dc->Clear();
2375 return true;
2376#endif
2377 }
db3e571a 2378
d14a1e28
RD
2379
2380 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2381 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2382 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2383 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2384
2385 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2386 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2387 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2388
2389 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2390 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2391
2392 DEC_PYCALLBACK__(InitDialog);
2393 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2394 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2395 DEC_PYCALLBACK_BOOL_(Validate);
2396
2397 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2398 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2399 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2400
2401 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2402 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2403
db3e571a 2404 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
db3e571a 2405 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
4276dc52 2406
51b83b37
RD
2407 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2408
8d38bd1d
RD
2409 DEC_PYCALLBACK_VOID_(OnInternalIdle);
2410
d14a1e28
RD
2411 PYPRIVATE;
2412};
2413
2414IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
2415
2416IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
2417IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
2418IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
2419IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
2420
2421IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
2422IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
2423IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
2424
2425IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
2426IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
2427
2428IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
2429IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
2430IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
2431IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
2432
2433IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
2434IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
2435IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
2436
2437IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
2438IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
2439
db3e571a 2440IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
db3e571a 2441IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
1cb4a8aa 2442
51b83b37
RD
2443IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
2444
8d38bd1d
RD
2445IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle);
2446
1cb4a8aa
RD
2447 // C++ version of Python aware wxScrolledWindow
2448class wxPyScrolledWindow : public wxScrolledWindow
2449{
2450 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
2451public:
2452 wxPyScrolledWindow() : wxScrolledWindow() {}
2453 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
2454 const wxPoint& pos = wxDefaultPosition,
2455 const wxSize& size = wxDefaultSize,
2456 long style = 0,
2457 const wxString& name = wxPyPanelNameStr)
2458 : wxScrolledWindow(parent, id, pos, size, style, name) {}
2459
db3e571a 2460 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
976dbff5
RD
2461 bool DoEraseBackground(wxDC* dc) {
2462#ifdef __WXMSW__
2463 return wxWindow::DoEraseBackground(dc->GetHDC());
2464#else
2465 dc->SetBackground(wxBrush(GetBackgroundColour()));
2466 dc->Clear();
2467 return true;
2468#endif
2469 }
1cb4a8aa
RD
2470
2471 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2472 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2473 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2474 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2475
2476 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2477 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2478 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2479
2480 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2481 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2482
2483 DEC_PYCALLBACK__(InitDialog);
2484 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2485 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2486 DEC_PYCALLBACK_BOOL_(Validate);
2487
2488 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2489 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2490 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2491
2492 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2493 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2494
db3e571a 2495 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
db3e571a 2496 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
1cb4a8aa 2497
51b83b37
RD
2498 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2499
8d38bd1d
RD
2500 DEC_PYCALLBACK_VOID_(OnInternalIdle);
2501
1cb4a8aa
RD
2502 PYPRIVATE;
2503};
2504
2505IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
2506
2507IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
2508IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
2509IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
2510IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
2511
2512IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
2513IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
2514IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
2515
2516IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
2517IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
2518
2519IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
2520IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
2521IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
2522IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
2523
2524IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
2525IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
2526IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
2527
2528IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
2529IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
2530
db3e571a 2531IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
db3e571a
RD
2532IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
2533
51b83b37 2534IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
d14a1e28 2535
8d38bd1d
RD
2536IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle);
2537
d14a1e28
RD
2538
2539#include "wx/wxPython/printfw.h"
2540
d14a1e28 2541
33b885b9
RD
2542 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
2543 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
b9d6a5f3
RD
2544static PyObject *wxPrintData_GetPrivData(wxPrintData *self){
2545 PyObject* data;
5a446332 2546 wxPyBlock_t blocked = wxPyBeginBlockThreads();
b9d6a5f3
RD
2547 data = PyString_FromStringAndSize(self->GetPrivData(),
2548 self->GetPrivDataLen());
2549 wxPyEndBlockThreads(blocked);
2550 return data;
2551 }
2552static void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
2553 if (! PyString_Check(data)) {
2554 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
2555 "Expected string object"));
2556 return /* NULL */ ;
2557 }
2558
5a446332 2559 wxPyBlock_t blocked = wxPyBeginBlockThreads();
b9d6a5f3
RD
2560 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
2561 wxPyEndBlockThreads(blocked);
2562 }
d14a1e28
RD
2563
2564
a68b8331 2565IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
d14a1e28
RD
2566
2567// Since this one would be tough and ugly to do with the Macros...
2568void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
ae8162c8 2569 bool hadErr = false;
d14a1e28
RD
2570 bool found;
2571
5a446332 2572 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28
RD
2573 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
2574 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
2575 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
2576 PyObject* val;
2577
2578 val = PyTuple_GetItem(result, 0);
2579 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
ae8162c8 2580 else hadErr = true;
d14a1e28
RD
2581
2582 val = PyTuple_GetItem(result, 1);
2583 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
ae8162c8 2584 else hadErr = true;
d14a1e28
RD
2585
2586 val = PyTuple_GetItem(result, 2);
2587 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
ae8162c8 2588 else hadErr = true;
d14a1e28
RD
2589
2590 val = PyTuple_GetItem(result, 3);
2591 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
ae8162c8 2592 else hadErr = true;
d14a1e28
RD
2593 }
2594 else
ae8162c8 2595 hadErr = true;
d14a1e28
RD
2596
2597 if (hadErr) {
2598 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
2599 PyErr_Print();
2600 }
2601 Py_DECREF(result);
2602 }
4f89f6a3 2603 wxPyEndBlockThreads(blocked);
d14a1e28
RD
2604 if (! found)
2605 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
2606}
2607
2608void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
2609 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
2610}
2611
2612
2613IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
2614IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
2615IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
2616IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
2617IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
2618IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
2619IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
2620
2621
2622
2623
2624
ae8162c8
RD
2625#define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
2626 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
d14a1e28
RD
2627 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
2628
2629
ae8162c8
RD
2630#define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
2631 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2632 bool rval=false; \
2633 bool found; \
32fe5131 2634 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
ae8162c8
RD
2635 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2636 PyObject* win = wxPyMake_wxObject(a,false); \
2637 PyObject* dc = wxPyMake_wxObject(&b,false); \
2638 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
2639 Py_DECREF(win); \
2640 Py_DECREF(dc); \
2641 } \
2642 wxPyEndBlockThreads(blocked); \
2643 if (! found) \
2644 rval = PCLASS::CBNAME(a, b); \
2645 return rval; \
2646 } \
2647 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2648 return PCLASS::CBNAME(a, b); \
d14a1e28
RD
2649 }
2650
2651
2652
2653
2654class wxPyPrintPreview : public wxPrintPreview
2655{
2656 DECLARE_CLASS(wxPyPrintPreview)
2657public:
4276dc52
RD
2658 wxPyPrintPreview(wxPyPrintout* printout,
2659 wxPyPrintout* printoutForPrinting,
2660 wxPrintDialogData* data=NULL)
2661 : wxPrintPreview(printout, printoutForPrinting, data)
2662 {}
d14a1e28
RD
2663 wxPyPrintPreview(wxPyPrintout* printout,
2664 wxPyPrintout* printoutForPrinting,
32fe5131 2665 wxPrintData* data)
d14a1e28
RD
2666 : wxPrintPreview(printout, printoutForPrinting, data)
2667 {}
2668
2669 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
2670 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
2671 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
2672 DEC_PYCALLBACK_BOOL_INT(RenderPage);
2673 DEC_PYCALLBACK_VOID_INT(SetZoom);
2674 DEC_PYCALLBACK_BOOL_BOOL(Print);
2675 DEC_PYCALLBACK_VOID_(DetermineScaling);
2676
2677 PYPRIVATE;
2678};
2679
2680// Stupid renamed classes... Fix this in 2.5...
2681#if defined(__WXMSW__)
2682IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
2683#elif defined(__WXMAC__)
2684IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
2685#else
2686IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
2687#endif
2688
2689IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
2690IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
2691IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
2692IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
2693IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
2694IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
2695IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
2696
2697
2698class wxPyPreviewFrame : public wxPreviewFrame
2699{
32fe5131 2700 DECLARE_CLASS(wxPyPreviewFrame)
d14a1e28
RD
2701public:
2702 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
2703 const wxString& title,
2704 const wxPoint& pos = wxDefaultPosition,
2705 const wxSize& size = wxDefaultSize,
2706 long style = wxDEFAULT_FRAME_STYLE,
2707 const wxString& name = wxPyFrameNameStr)
2708 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
2709 {}
2710
2711 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
2712 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
2713
2714 DEC_PYCALLBACK_VOID_(Initialize);
2715 DEC_PYCALLBACK_VOID_(CreateCanvas);
2716 DEC_PYCALLBACK_VOID_(CreateControlBar);
2717
2718 PYPRIVATE;
2719};
2720
2721IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
2722
2723IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
2724IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
2725IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
2726
2727
2728class wxPyPreviewControlBar : public wxPreviewControlBar
2729{
32fe5131 2730 DECLARE_CLASS(wxPyPreviewControlBar)
d14a1e28
RD
2731public:
2732 wxPyPreviewControlBar(wxPrintPreview *preview,
2733 long buttons,
2734 wxWindow *parent,
2735 const wxPoint& pos = wxDefaultPosition,
2736 const wxSize& size = wxDefaultSize,
2737 long style = 0,
2738 const wxString& name = wxPyPanelNameStr)
2739 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
2740 {}
2741
2742 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
2743
2744 DEC_PYCALLBACK_VOID_(CreateButtons);
2745 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
2746
2747 PYPRIVATE;
2748};
2749
2750IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
2751IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
2752IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
2753
2754#ifdef __cplusplus
2755extern "C" {
2756#endif
c32bde28 2757static PyObject *_wrap_new_Panel(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2758 PyObject *resultobj = NULL;
d14a1e28 2759 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 2760 int arg2 = (int) (int)-1 ;
d14a1e28
RD
2761 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2762 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2763 wxSize const &arg4_defvalue = wxDefaultSize ;
2764 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2765 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
2766 wxString const &arg6_defvalue = wxPyPanelNameStr ;
2767 wxString *arg6 = (wxString *) &arg6_defvalue ;
2768 wxPanel *result;
2769 wxPoint temp3 ;
2770 wxSize temp4 ;
ae8162c8 2771 bool temp6 = false ;
d14a1e28 2772 PyObject * obj0 = 0 ;
994141e6 2773 PyObject * obj1 = 0 ;
d14a1e28
RD
2774 PyObject * obj2 = 0 ;
2775 PyObject * obj3 = 0 ;
994141e6 2776 PyObject * obj4 = 0 ;
d14a1e28
RD
2777 PyObject * obj5 = 0 ;
2778 char *kwnames[] = {
2779 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2780 };
2781
994141e6 2782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
2783 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2784 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 2785 if (obj1) {
093d3ff1 2786 {
32fe5131 2787 arg2 = static_cast<int const >(SWIG_As_int(obj1));
093d3ff1
RD
2788 if (SWIG_arg_fail(2)) SWIG_fail;
2789 }
994141e6 2790 }
d14a1e28
RD
2791 if (obj2) {
2792 {
2793 arg3 = &temp3;
2794 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2795 }
2796 }
2797 if (obj3) {
2798 {
2799 arg4 = &temp4;
2800 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2801 }
2802 }
994141e6 2803 if (obj4) {
093d3ff1 2804 {
32fe5131 2805 arg5 = static_cast<long >(SWIG_As_long(obj4));
093d3ff1
RD
2806 if (SWIG_arg_fail(5)) SWIG_fail;
2807 }
994141e6 2808 }
d14a1e28
RD
2809 if (obj5) {
2810 {
2811 arg6 = wxString_in_helper(obj5);
2812 if (arg6 == NULL) SWIG_fail;
ae8162c8 2813 temp6 = true;
d14a1e28
RD
2814 }
2815 }
2816 {
e3b71cb8 2817 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
2818 PyThreadState* __tstate = wxPyBeginAllowThreads();
2819 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
2820
2821 wxPyEndAllowThreads(__tstate);
110da5b0 2822 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 2823 }
b0f7404b 2824 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
d14a1e28
RD
2825 {
2826 if (temp6)
2827 delete arg6;
2828 }
2829 return resultobj;
2830 fail:
2831 {
2832 if (temp6)
2833 delete arg6;
2834 }
2835 return NULL;
2836}
2837
2838
c32bde28 2839static PyObject *_wrap_new_PrePanel(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2840 PyObject *resultobj = NULL;
d14a1e28
RD
2841 wxPanel *result;
2842 char *kwnames[] = {
2843 NULL
2844 };
2845
2846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
2847 {
e3b71cb8 2848 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
2849 PyThreadState* __tstate = wxPyBeginAllowThreads();
2850 result = (wxPanel *)new wxPanel();
2851
2852 wxPyEndAllowThreads(__tstate);
110da5b0 2853 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 2854 }
b0f7404b 2855 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
d14a1e28
RD
2856 return resultobj;
2857 fail:
2858 return NULL;
2859}
2860
2861
c32bde28 2862static PyObject *_wrap_Panel_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2863 PyObject *resultobj = NULL;
d14a1e28
RD
2864 wxPanel *arg1 = (wxPanel *) 0 ;
2865 wxWindow *arg2 = (wxWindow *) 0 ;
cfe5e918 2866 int arg3 = (int) (int)-1 ;
d14a1e28
RD
2867 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2868 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2869 wxSize const &arg5_defvalue = wxDefaultSize ;
2870 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2871 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
2872 wxString const &arg7_defvalue = wxPyPanelNameStr ;
2873 wxString *arg7 = (wxString *) &arg7_defvalue ;
2874 bool result;
2875 wxPoint temp4 ;
2876 wxSize temp5 ;
ae8162c8 2877 bool temp7 = false ;
d14a1e28
RD
2878 PyObject * obj0 = 0 ;
2879 PyObject * obj1 = 0 ;
994141e6 2880 PyObject * obj2 = 0 ;
d14a1e28
RD
2881 PyObject * obj3 = 0 ;
2882 PyObject * obj4 = 0 ;
994141e6 2883 PyObject * obj5 = 0 ;
d14a1e28
RD
2884 PyObject * obj6 = 0 ;
2885 char *kwnames[] = {
2886 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2887 };
2888
cfe5e918 2889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
2890 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2891 if (SWIG_arg_fail(1)) SWIG_fail;
2892 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2893 if (SWIG_arg_fail(2)) SWIG_fail;
cfe5e918 2894 if (obj2) {
093d3ff1 2895 {
32fe5131 2896 arg3 = static_cast<int const >(SWIG_As_int(obj2));
093d3ff1
RD
2897 if (SWIG_arg_fail(3)) SWIG_fail;
2898 }
cfe5e918 2899 }
d14a1e28
RD
2900 if (obj3) {
2901 {
2902 arg4 = &temp4;
2903 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2904 }
2905 }
2906 if (obj4) {
2907 {
2908 arg5 = &temp5;
2909 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2910 }
2911 }
994141e6 2912 if (obj5) {
093d3ff1 2913 {
32fe5131 2914 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
2915 if (SWIG_arg_fail(6)) SWIG_fail;
2916 }
994141e6 2917 }
d14a1e28
RD
2918 if (obj6) {
2919 {
2920 arg7 = wxString_in_helper(obj6);
2921 if (arg7 == NULL) SWIG_fail;
ae8162c8 2922 temp7 = true;
d14a1e28
RD
2923 }
2924 }
2925 {
2926 PyThreadState* __tstate = wxPyBeginAllowThreads();
2927 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
2928
2929 wxPyEndAllowThreads(__tstate);
2930 if (PyErr_Occurred()) SWIG_fail;
2931 }
4f89f6a3
RD
2932 {
2933 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2934 }
d14a1e28
RD
2935 {
2936 if (temp7)
2937 delete arg7;
2938 }
2939 return resultobj;
2940 fail:
2941 {
2942 if (temp7)
2943 delete arg7;
2944 }
2945 return NULL;
2946}
2947
2948
c32bde28 2949static PyObject *_wrap_Panel_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2950 PyObject *resultobj = NULL;
d14a1e28
RD
2951 wxPanel *arg1 = (wxPanel *) 0 ;
2952 PyObject * obj0 = 0 ;
2953 char *kwnames[] = {
2954 (char *) "self", NULL
2955 };
2956
2957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
093d3ff1
RD
2958 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2959 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2960 {
2961 PyThreadState* __tstate = wxPyBeginAllowThreads();
2962 (arg1)->InitDialog();
2963
2964 wxPyEndAllowThreads(__tstate);
2965 if (PyErr_Occurred()) SWIG_fail;
2966 }
2967 Py_INCREF(Py_None); resultobj = Py_None;
2968 return resultobj;
2969 fail:
2970 return NULL;
2971}
2972
2973
5cbf236d 2974static PyObject *_wrap_Panel_SetFocus(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 2975 PyObject *resultobj = NULL;
5cbf236d
RD
2976 wxPanel *arg1 = (wxPanel *) 0 ;
2977 PyObject * obj0 = 0 ;
2978 char *kwnames[] = {
2979 (char *) "self", NULL
2980 };
2981
2982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_SetFocus",kwnames,&obj0)) goto fail;
093d3ff1
RD
2983 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2984 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
2985 {
2986 PyThreadState* __tstate = wxPyBeginAllowThreads();
2987 (arg1)->SetFocus();
2988
2989 wxPyEndAllowThreads(__tstate);
2990 if (PyErr_Occurred()) SWIG_fail;
2991 }
2992 Py_INCREF(Py_None); resultobj = Py_None;
2993 return resultobj;
2994 fail:
2995 return NULL;
2996}
2997
2998
2999static PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3000 PyObject *resultobj = NULL;
5cbf236d
RD
3001 wxPanel *arg1 = (wxPanel *) 0 ;
3002 PyObject * obj0 = 0 ;
3003 char *kwnames[] = {
3004 (char *) "self", NULL
3005 };
3006
3007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_SetFocusIgnoringChildren",kwnames,&obj0)) goto fail;
093d3ff1
RD
3008 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
3009 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
3010 {
3011 PyThreadState* __tstate = wxPyBeginAllowThreads();
3012 (arg1)->SetFocusIgnoringChildren();
3013
3014 wxPyEndAllowThreads(__tstate);
3015 if (PyErr_Occurred()) SWIG_fail;
3016 }
3017 Py_INCREF(Py_None); resultobj = Py_None;
3018 return resultobj;
3019 fail:
3020 return NULL;
3021}
3022
3023
c32bde28 3024static PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3025 PyObject *resultobj = NULL;
093d3ff1 3026 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
3027 wxVisualAttributes result;
3028 PyObject * obj0 = 0 ;
3029 char *kwnames[] = {
3030 (char *) "variant", NULL
3031 };
3032
3033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
3034 if (obj0) {
093d3ff1 3035 {
32fe5131 3036 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
3037 if (SWIG_arg_fail(1)) SWIG_fail;
3038 }
22bfe96c
RD
3039 }
3040 {
e3b71cb8 3041 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c 3042 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 3043 result = wxPanel::GetClassDefaultAttributes(arg1);
22bfe96c
RD
3044
3045 wxPyEndAllowThreads(__tstate);
110da5b0 3046 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
3047 }
3048 {
3049 wxVisualAttributes * resultptr;
32fe5131 3050 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
22bfe96c
RD
3051 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
3052 }
3053 return resultobj;
3054 fail:
3055 return NULL;
3056}
3057
3058
c32bde28 3059static PyObject * Panel_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
3060 PyObject *obj;
3061 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3062 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
3063 Py_INCREF(obj);
3064 return Py_BuildValue((char *)"");
3065}
c32bde28 3066static PyObject *_wrap_new_ScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3067 PyObject *resultobj = NULL;
d14a1e28 3068 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 3069 int arg2 = (int) (int)-1 ;
d14a1e28
RD
3070 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3071 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3072 wxSize const &arg4_defvalue = wxDefaultSize ;
3073 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3074 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
3075 wxString const &arg6_defvalue = wxPyPanelNameStr ;
3076 wxString *arg6 = (wxString *) &arg6_defvalue ;
3077 wxScrolledWindow *result;
3078 wxPoint temp3 ;
3079 wxSize temp4 ;
ae8162c8 3080 bool temp6 = false ;
d14a1e28 3081 PyObject * obj0 = 0 ;
994141e6 3082 PyObject * obj1 = 0 ;
d14a1e28
RD
3083 PyObject * obj2 = 0 ;
3084 PyObject * obj3 = 0 ;
994141e6 3085 PyObject * obj4 = 0 ;
d14a1e28
RD
3086 PyObject * obj5 = 0 ;
3087 char *kwnames[] = {
3088 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3089 };
3090
994141e6 3091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
3092 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3093 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 3094 if (obj1) {
093d3ff1 3095 {
32fe5131 3096 arg2 = static_cast<int const >(SWIG_As_int(obj1));
093d3ff1
RD
3097 if (SWIG_arg_fail(2)) SWIG_fail;
3098 }
994141e6 3099 }
d14a1e28
RD
3100 if (obj2) {
3101 {
3102 arg3 = &temp3;
3103 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3104 }
3105 }
3106 if (obj3) {
3107 {
3108 arg4 = &temp4;
3109 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3110 }
3111 }
994141e6 3112 if (obj4) {
093d3ff1 3113 {
32fe5131 3114 arg5 = static_cast<long >(SWIG_As_long(obj4));
093d3ff1
RD
3115 if (SWIG_arg_fail(5)) SWIG_fail;
3116 }
994141e6 3117 }
d14a1e28
RD
3118 if (obj5) {
3119 {
3120 arg6 = wxString_in_helper(obj5);
3121 if (arg6 == NULL) SWIG_fail;
ae8162c8 3122 temp6 = true;
d14a1e28
RD
3123 }
3124 }
3125 {
e3b71cb8 3126 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
3127 PyThreadState* __tstate = wxPyBeginAllowThreads();
3128 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3129
3130 wxPyEndAllowThreads(__tstate);
110da5b0 3131 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 3132 }
b0f7404b 3133 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
d14a1e28
RD
3134 {
3135 if (temp6)
3136 delete arg6;
3137 }
3138 return resultobj;
3139 fail:
3140 {
3141 if (temp6)
3142 delete arg6;
3143 }
3144 return NULL;
3145}
3146
3147
c32bde28 3148static PyObject *_wrap_new_PreScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3149 PyObject *resultobj = NULL;
d14a1e28
RD
3150 wxScrolledWindow *result;
3151 char *kwnames[] = {
3152 NULL
3153 };
3154
3155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
3156 {
e3b71cb8 3157 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
3158 PyThreadState* __tstate = wxPyBeginAllowThreads();
3159 result = (wxScrolledWindow *)new wxScrolledWindow();
3160
3161 wxPyEndAllowThreads(__tstate);
110da5b0 3162 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 3163 }
b0f7404b 3164 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
d14a1e28
RD
3165 return resultobj;
3166 fail:
3167 return NULL;
3168}
3169
3170
c32bde28 3171static PyObject *_wrap_ScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3172 PyObject *resultobj = NULL;
d14a1e28
RD
3173 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3174 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 3175 int arg3 = (int) (int)-1 ;
d14a1e28
RD
3176 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3177 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3178 wxSize const &arg5_defvalue = wxDefaultSize ;
3179 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3180 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
3181 wxString const &arg7_defvalue = wxPyPanelNameStr ;
3182 wxString *arg7 = (wxString *) &arg7_defvalue ;
3183 bool result;
3184 wxPoint temp4 ;
3185 wxSize temp5 ;
ae8162c8 3186 bool temp7 = false ;
d14a1e28
RD
3187 PyObject * obj0 = 0 ;
3188 PyObject * obj1 = 0 ;
994141e6 3189 PyObject * obj2 = 0 ;
d14a1e28
RD
3190 PyObject * obj3 = 0 ;
3191 PyObject * obj4 = 0 ;
994141e6 3192 PyObject * obj5 = 0 ;
d14a1e28
RD
3193 PyObject * obj6 = 0 ;
3194 char *kwnames[] = {
3195 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3196 };
3197
994141e6 3198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
3199 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3200 if (SWIG_arg_fail(1)) SWIG_fail;
3201 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3202 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6 3203 if (obj2) {
093d3ff1 3204 {
32fe5131 3205 arg3 = static_cast<int const >(SWIG_As_int(obj2));
093d3ff1
RD
3206 if (SWIG_arg_fail(3)) SWIG_fail;
3207 }
994141e6 3208 }
d14a1e28
RD
3209 if (obj3) {
3210 {
3211 arg4 = &temp4;
3212 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3213 }
3214 }
3215 if (obj4) {
3216 {
3217 arg5 = &temp5;
3218 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3219 }
3220 }
994141e6 3221 if (obj5) {
093d3ff1 3222 {
32fe5131 3223 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
3224 if (SWIG_arg_fail(6)) SWIG_fail;
3225 }
994141e6 3226 }
d14a1e28
RD
3227 if (obj6) {
3228 {
3229 arg7 = wxString_in_helper(obj6);
3230 if (arg7 == NULL) SWIG_fail;
ae8162c8 3231 temp7 = true;
d14a1e28
RD
3232 }
3233 }
3234 {
3235 PyThreadState* __tstate = wxPyBeginAllowThreads();
3236 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3237
3238 wxPyEndAllowThreads(__tstate);
3239 if (PyErr_Occurred()) SWIG_fail;
3240 }
4f89f6a3
RD
3241 {
3242 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3243 }
d14a1e28
RD
3244 {
3245 if (temp7)
3246 delete arg7;
3247 }
3248 return resultobj;
3249 fail:
3250 {
3251 if (temp7)
3252 delete arg7;
3253 }
3254 return NULL;
3255}
3256
3257
c32bde28 3258static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3259 PyObject *resultobj = NULL;
d14a1e28
RD
3260 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3261 int arg2 ;
3262 int arg3 ;
3263 int arg4 ;
3264 int arg5 ;
3265 int arg6 = (int) 0 ;
3266 int arg7 = (int) 0 ;
ae8162c8 3267 bool arg8 = (bool) false ;
d14a1e28 3268 PyObject * obj0 = 0 ;
994141e6
RD
3269 PyObject * obj1 = 0 ;
3270 PyObject * obj2 = 0 ;
3271 PyObject * obj3 = 0 ;
3272 PyObject * obj4 = 0 ;
3273 PyObject * obj5 = 0 ;
3274 PyObject * obj6 = 0 ;
d14a1e28
RD
3275 PyObject * obj7 = 0 ;
3276 char *kwnames[] = {
3277 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
3278 };
3279
994141e6 3280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
3281 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3282 if (SWIG_arg_fail(1)) SWIG_fail;
3283 {
32fe5131 3284 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
3285 if (SWIG_arg_fail(2)) SWIG_fail;
3286 }
3287 {
32fe5131 3288 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
3289 if (SWIG_arg_fail(3)) SWIG_fail;
3290 }
3291 {
32fe5131 3292 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
3293 if (SWIG_arg_fail(4)) SWIG_fail;
3294 }
3295 {
32fe5131 3296 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
3297 if (SWIG_arg_fail(5)) SWIG_fail;
3298 }
994141e6 3299 if (obj5) {
093d3ff1 3300 {
32fe5131 3301 arg6 = static_cast<int >(SWIG_As_int(obj5));
093d3ff1
RD
3302 if (SWIG_arg_fail(6)) SWIG_fail;
3303 }
994141e6
RD
3304 }
3305 if (obj6) {
093d3ff1 3306 {
32fe5131 3307 arg7 = static_cast<int >(SWIG_As_int(obj6));
093d3ff1
RD
3308 if (SWIG_arg_fail(7)) SWIG_fail;
3309 }
994141e6 3310 }
d14a1e28 3311 if (obj7) {
093d3ff1 3312 {
32fe5131 3313 arg8 = static_cast<bool >(SWIG_As_bool(obj7));
093d3ff1
RD
3314 if (SWIG_arg_fail(8)) SWIG_fail;
3315 }
d14a1e28
RD
3316 }
3317 {
3318 PyThreadState* __tstate = wxPyBeginAllowThreads();
3319 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
3320
3321 wxPyEndAllowThreads(__tstate);
3322 if (PyErr_Occurred()) SWIG_fail;
3323 }
3324 Py_INCREF(Py_None); resultobj = Py_None;
3325 return resultobj;
3326 fail:
3327 return NULL;
3328}
3329
3330
c32bde28 3331static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3332 PyObject *resultobj = NULL;
d14a1e28
RD
3333 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3334 int arg2 ;
3335 int arg3 ;
3336 PyObject * obj0 = 0 ;
994141e6
RD
3337 PyObject * obj1 = 0 ;
3338 PyObject * obj2 = 0 ;
d14a1e28
RD
3339 char *kwnames[] = {
3340 (char *) "self",(char *) "x",(char *) "y", NULL
3341 };
3342
994141e6 3343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
3344 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3345 if (SWIG_arg_fail(1)) SWIG_fail;
3346 {
32fe5131 3347 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
3348 if (SWIG_arg_fail(2)) SWIG_fail;
3349 }
3350 {
32fe5131 3351 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
3352 if (SWIG_arg_fail(3)) SWIG_fail;
3353 }
d14a1e28
RD
3354 {
3355 PyThreadState* __tstate = wxPyBeginAllowThreads();
3356 (arg1)->Scroll(arg2,arg3);
3357
3358 wxPyEndAllowThreads(__tstate);
3359 if (PyErr_Occurred()) SWIG_fail;
3360 }
3361 Py_INCREF(Py_None); resultobj = Py_None;
3362 return resultobj;
3363 fail:
3364 return NULL;
3365}
3366
3367
c32bde28 3368static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3369 PyObject *resultobj = NULL;
d14a1e28
RD
3370 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3371 int arg2 ;
3372 int result;
3373 PyObject * obj0 = 0 ;
994141e6 3374 PyObject * obj1 = 0 ;
d14a1e28
RD
3375 char *kwnames[] = {
3376 (char *) "self",(char *) "orient", NULL
3377 };
3378
994141e6 3379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3380 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3381 if (SWIG_arg_fail(1)) SWIG_fail;
3382 {
32fe5131 3383 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
3384 if (SWIG_arg_fail(2)) SWIG_fail;
3385 }
d14a1e28
RD
3386 {
3387 PyThreadState* __tstate = wxPyBeginAllowThreads();
3388 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
3389
3390 wxPyEndAllowThreads(__tstate);
3391 if (PyErr_Occurred()) SWIG_fail;
3392 }
093d3ff1 3393 {
32fe5131 3394 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 3395 }
d14a1e28
RD
3396 return resultobj;
3397 fail:
3398 return NULL;
3399}
3400
3401
c32bde28 3402static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3403 PyObject *resultobj = NULL;
d14a1e28
RD
3404 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3405 int arg2 ;
3406 int arg3 ;
3407 PyObject * obj0 = 0 ;
994141e6
RD
3408 PyObject * obj1 = 0 ;
3409 PyObject * obj2 = 0 ;
d14a1e28
RD
3410 char *kwnames[] = {
3411 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
3412 };
3413
994141e6 3414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
3415 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3416 if (SWIG_arg_fail(1)) SWIG_fail;
3417 {
32fe5131 3418 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
3419 if (SWIG_arg_fail(2)) SWIG_fail;
3420 }
3421 {
32fe5131 3422 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
3423 if (SWIG_arg_fail(3)) SWIG_fail;
3424 }
d14a1e28
RD
3425 {
3426 PyThreadState* __tstate = wxPyBeginAllowThreads();
3427 (arg1)->SetScrollPageSize(arg2,arg3);
3428
3429 wxPyEndAllowThreads(__tstate);
3430 if (PyErr_Occurred()) SWIG_fail;
3431 }
3432 Py_INCREF(Py_None); resultobj = Py_None;
3433 return resultobj;
3434 fail:
3435 return NULL;
3436}
3437
3438
c32bde28 3439static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3440 PyObject *resultobj = NULL;
d14a1e28
RD
3441 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3442 int arg2 ;
3443 int arg3 ;
3444 PyObject * obj0 = 0 ;
994141e6
RD
3445 PyObject * obj1 = 0 ;
3446 PyObject * obj2 = 0 ;
d14a1e28
RD
3447 char *kwnames[] = {
3448 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
3449 };
3450
994141e6 3451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
3452 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3453 if (SWIG_arg_fail(1)) SWIG_fail;
3454 {
32fe5131 3455 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
3456 if (SWIG_arg_fail(2)) SWIG_fail;
3457 }
3458 {
32fe5131 3459 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
3460 if (SWIG_arg_fail(3)) SWIG_fail;
3461 }
d14a1e28
RD
3462 {
3463 PyThreadState* __tstate = wxPyBeginAllowThreads();
3464 (arg1)->SetScrollRate(arg2,arg3);
3465
3466 wxPyEndAllowThreads(__tstate);
3467 if (PyErr_Occurred()) SWIG_fail;
3468 }
3469 Py_INCREF(Py_None); resultobj = Py_None;
3470 return resultobj;
3471 fail:
3472 return NULL;
3473}
3474
3475
c32bde28 3476static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3477 PyObject *resultobj = NULL;
d14a1e28
RD
3478 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3479 int *arg2 = (int *) 0 ;
3480 int *arg3 = (int *) 0 ;
3481 int temp2 ;
c32bde28 3482 int res2 = 0 ;
d14a1e28 3483 int temp3 ;
c32bde28 3484 int res3 = 0 ;
d14a1e28
RD
3485 PyObject * obj0 = 0 ;
3486 char *kwnames[] = {
3487 (char *) "self", NULL
3488 };
3489
c32bde28
RD
3490 arg2 = &temp2; res2 = SWIG_NEWOBJ;
3491 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 3492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
093d3ff1
RD
3493 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3494 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3495 {
3496 PyThreadState* __tstate = wxPyBeginAllowThreads();
3497 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
3498
3499 wxPyEndAllowThreads(__tstate);
3500 if (PyErr_Occurred()) SWIG_fail;
3501 }
3502 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
3503 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
3504 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
3505 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
3506 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
3507 return resultobj;
3508 fail:
3509 return NULL;
3510}
3511
3512
c32bde28 3513static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3514 PyObject *resultobj = NULL;
d14a1e28
RD
3515 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3516 bool arg2 ;
3517 bool arg3 ;
3518 PyObject * obj0 = 0 ;
3519 PyObject * obj1 = 0 ;
3520 PyObject * obj2 = 0 ;
3521 char *kwnames[] = {
3522 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
3523 };
3524
3525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
3526 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3527 if (SWIG_arg_fail(1)) SWIG_fail;
3528 {
32fe5131 3529 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
3530 if (SWIG_arg_fail(2)) SWIG_fail;
3531 }
3532 {
32fe5131 3533 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
3534 if (SWIG_arg_fail(3)) SWIG_fail;
3535 }
d14a1e28
RD
3536 {
3537 PyThreadState* __tstate = wxPyBeginAllowThreads();
3538 (arg1)->EnableScrolling(arg2,arg3);
3539
3540 wxPyEndAllowThreads(__tstate);
3541 if (PyErr_Occurred()) SWIG_fail;
3542 }
3543 Py_INCREF(Py_None); resultobj = Py_None;
3544 return resultobj;
3545 fail:
3546 return NULL;
3547}
3548
3549
c32bde28 3550static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3551 PyObject *resultobj = NULL;
d14a1e28
RD
3552 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3553 int *arg2 = (int *) 0 ;
3554 int *arg3 = (int *) 0 ;
3555 int temp2 ;
c32bde28 3556 int res2 = 0 ;
d14a1e28 3557 int temp3 ;
c32bde28 3558 int res3 = 0 ;
d14a1e28
RD
3559 PyObject * obj0 = 0 ;
3560 char *kwnames[] = {
3561 (char *) "self", NULL
3562 };
3563
c32bde28
RD
3564 arg2 = &temp2; res2 = SWIG_NEWOBJ;
3565 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 3566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
093d3ff1
RD
3567 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3568 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3569 {
3570 PyThreadState* __tstate = wxPyBeginAllowThreads();
3571 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
3572
3573 wxPyEndAllowThreads(__tstate);
3574 if (PyErr_Occurred()) SWIG_fail;
3575 }
3576 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
3577 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
3578 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
3579 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
3580 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
3581 return resultobj;
3582 fail:
3583 return NULL;
3584}
3585
3586
c32bde28 3587static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3588 PyObject *resultobj = NULL;
d14a1e28
RD
3589 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3590 double arg2 ;
3591 double arg3 ;
3592 PyObject * obj0 = 0 ;
994141e6
RD
3593 PyObject * obj1 = 0 ;
3594 PyObject * obj2 = 0 ;
d14a1e28
RD
3595 char *kwnames[] = {
3596 (char *) "self",(char *) "xs",(char *) "ys", NULL
3597 };
3598
994141e6 3599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
3600 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3601 if (SWIG_arg_fail(1)) SWIG_fail;
3602 {
32fe5131 3603 arg2 = static_cast<double >(SWIG_As_double(obj1));
093d3ff1
RD
3604 if (SWIG_arg_fail(2)) SWIG_fail;
3605 }
3606 {
32fe5131 3607 arg3 = static_cast<double >(SWIG_As_double(obj2));
093d3ff1
RD
3608 if (SWIG_arg_fail(3)) SWIG_fail;
3609 }
d14a1e28
RD
3610 {
3611 PyThreadState* __tstate = wxPyBeginAllowThreads();
3612 (arg1)->SetScale(arg2,arg3);
3613
3614 wxPyEndAllowThreads(__tstate);
3615 if (PyErr_Occurred()) SWIG_fail;
3616 }
3617 Py_INCREF(Py_None); resultobj = Py_None;
3618 return resultobj;
3619 fail:
3620 return NULL;
3621}
3622
3623
c32bde28 3624static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3625 PyObject *resultobj = NULL;
d14a1e28
RD
3626 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3627 double result;
3628 PyObject * obj0 = 0 ;
3629 char *kwnames[] = {
3630 (char *) "self", NULL
3631 };
3632
3633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
093d3ff1
RD
3634 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3635 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3636 {
3637 PyThreadState* __tstate = wxPyBeginAllowThreads();
3638 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
3639
3640 wxPyEndAllowThreads(__tstate);
3641 if (PyErr_Occurred()) SWIG_fail;
3642 }
093d3ff1 3643 {
32fe5131 3644 resultobj = SWIG_From_double(static_cast<double >(result));
093d3ff1 3645 }
d14a1e28
RD
3646 return resultobj;
3647 fail:
3648 return NULL;
3649}
3650
3651
c32bde28 3652static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3653 PyObject *resultobj = NULL;
d14a1e28
RD
3654 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3655 double result;
3656 PyObject * obj0 = 0 ;
3657 char *kwnames[] = {
3658 (char *) "self", NULL
3659 };
3660
3661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
093d3ff1
RD
3662 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3663 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3664 {
3665 PyThreadState* __tstate = wxPyBeginAllowThreads();
3666 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
3667
3668 wxPyEndAllowThreads(__tstate);
3669 if (PyErr_Occurred()) SWIG_fail;
3670 }
093d3ff1 3671 {
32fe5131 3672 resultobj = SWIG_From_double(static_cast<double >(result));
093d3ff1 3673 }
d14a1e28
RD
3674 return resultobj;
3675 fail:
3676 return NULL;
3677}
3678
3679
c32bde28 3680static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *, PyObject *args) {
32fe5131 3681 PyObject *resultobj = NULL;
d14a1e28 3682 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
322913ce
RD
3683 wxPoint *arg2 = 0 ;
3684 wxPoint result;
3685 wxPoint temp2 ;
d14a1e28 3686 PyObject * obj0 = 0 ;
322913ce 3687 PyObject * obj1 = 0 ;
d14a1e28 3688
322913ce 3689 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
093d3ff1
RD
3690 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3691 if (SWIG_arg_fail(1)) SWIG_fail;
322913ce
RD
3692 {
3693 arg2 = &temp2;
3694 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3695 }
d14a1e28
RD
3696 {
3697 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 3698 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
d14a1e28
RD
3699
3700 wxPyEndAllowThreads(__tstate);
3701 if (PyErr_Occurred()) SWIG_fail;
3702 }
d14a1e28 3703 {
322913ce 3704 wxPoint * resultptr;
32fe5131 3705 resultptr = new wxPoint(static_cast<wxPoint & >(result));
15afbcd0 3706 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
3707 }
3708 return resultobj;
3709 fail:
3710 return NULL;
3711}
3712
3713
c32bde28 3714static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *, PyObject *args) {
32fe5131 3715 PyObject *resultobj = NULL;
d14a1e28 3716 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
322913ce
RD
3717 int arg2 ;
3718 int arg3 ;
3719 int *arg4 = (int *) 0 ;
3720 int *arg5 = (int *) 0 ;
3721 int temp4 ;
c32bde28 3722 int res4 = 0 ;
322913ce 3723 int temp5 ;
c32bde28 3724 int res5 = 0 ;
d14a1e28 3725 PyObject * obj0 = 0 ;
994141e6
RD
3726 PyObject * obj1 = 0 ;
3727 PyObject * obj2 = 0 ;
d14a1e28 3728
c32bde28
RD
3729 arg4 = &temp4; res4 = SWIG_NEWOBJ;
3730 arg5 = &temp5; res5 = SWIG_NEWOBJ;
994141e6 3731 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
3732 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3733 if (SWIG_arg_fail(1)) SWIG_fail;
3734 {
32fe5131 3735 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
3736 if (SWIG_arg_fail(2)) SWIG_fail;
3737 }
3738 {
32fe5131 3739 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
3740 if (SWIG_arg_fail(3)) SWIG_fail;
3741 }
d14a1e28
RD
3742 {
3743 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 3744 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
d14a1e28
RD
3745
3746 wxPyEndAllowThreads(__tstate);
3747 if (PyErr_Occurred()) SWIG_fail;
3748 }
322913ce 3749 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
3750 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
3751 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
3752 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
3753 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
d14a1e28
RD
3754 return resultobj;
3755 fail:
3756 return NULL;
3757}
3758
3759
3760static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
3761 int argc;
3762 PyObject *argv[4];
3763 int ii;
3764
3765 argc = PyObject_Length(args);
3766 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
3767 argv[ii] = PyTuple_GetItem(args,ii);
3768 }
3769 if (argc == 2) {
3770 int _v;
3771 {
3772 void *ptr;
15afbcd0 3773 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
d14a1e28
RD
3774 _v = 0;
3775 PyErr_Clear();
3776 } else {
3777 _v = 1;
3778 }
3779 }
3780 if (_v) {
3781 {
3782 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
3783 }
3784 if (_v) {
322913ce 3785 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
d14a1e28
RD
3786 }
3787 }
3788 }
3789 if (argc == 3) {
3790 int _v;
3791 {
3792 void *ptr;
15afbcd0 3793 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
d14a1e28
RD
3794 _v = 0;
3795 PyErr_Clear();
3796 } else {
3797 _v = 1;
3798 }
3799 }
3800 if (_v) {
c32bde28 3801 _v = SWIG_Check_int(argv[1]);
d14a1e28 3802 if (_v) {
c32bde28 3803 _v = SWIG_Check_int(argv[2]);
d14a1e28 3804 if (_v) {
322913ce 3805 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
d14a1e28
RD
3806 }
3807 }
3808 }
3809 }
3810
093d3ff1 3811 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
d14a1e28
RD
3812 return NULL;
3813}
3814
3815
c32bde28 3816static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *, PyObject *args) {
32fe5131 3817 PyObject *resultobj = NULL;
d14a1e28 3818 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
322913ce
RD
3819 wxPoint *arg2 = 0 ;
3820 wxPoint result;
3821 wxPoint temp2 ;
d14a1e28 3822 PyObject * obj0 = 0 ;
322913ce 3823 PyObject * obj1 = 0 ;
d14a1e28 3824
322913ce 3825 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
093d3ff1
RD
3826 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3827 if (SWIG_arg_fail(1)) SWIG_fail;
322913ce
RD
3828 {
3829 arg2 = &temp2;
3830 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3831 }
d14a1e28
RD
3832 {
3833 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 3834 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
d14a1e28
RD
3835
3836 wxPyEndAllowThreads(__tstate);
3837 if (PyErr_Occurred()) SWIG_fail;
3838 }
d14a1e28 3839 {
322913ce 3840 wxPoint * resultptr;
32fe5131 3841 resultptr = new wxPoint(static_cast<wxPoint & >(result));
15afbcd0 3842 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
3843 }
3844 return resultobj;
3845 fail:
3846 return NULL;
3847}
3848
3849
c32bde28 3850static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *, PyObject *args) {
32fe5131 3851 PyObject *resultobj = NULL;
d14a1e28 3852 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
322913ce
RD
3853 int arg2 ;
3854 int arg3 ;
3855 int *arg4 = (int *) 0 ;
3856 int *arg5 = (int *) 0 ;
3857 int temp4 ;
c32bde28 3858 int res4 = 0 ;
322913ce 3859 int temp5 ;
c32bde28 3860 int res5 = 0 ;
d14a1e28 3861 PyObject * obj0 = 0 ;
994141e6
RD
3862 PyObject * obj1 = 0 ;
3863 PyObject * obj2 = 0 ;
d14a1e28 3864
c32bde28
RD
3865 arg4 = &temp4; res4 = SWIG_NEWOBJ;
3866 arg5 = &temp5; res5 = SWIG_NEWOBJ;
994141e6 3867 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
3868 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3869 if (SWIG_arg_fail(1)) SWIG_fail;
3870 {
32fe5131 3871 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
3872 if (SWIG_arg_fail(2)) SWIG_fail;
3873 }
3874 {
32fe5131 3875 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
3876 if (SWIG_arg_fail(3)) SWIG_fail;
3877 }
d14a1e28
RD
3878 {
3879 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 3880 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
d14a1e28
RD
3881
3882 wxPyEndAllowThreads(__tstate);
3883 if (PyErr_Occurred()) SWIG_fail;
3884 }
322913ce 3885 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
3886 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
3887 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
3888 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
3889 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
d14a1e28
RD
3890 return resultobj;
3891 fail:
3892 return NULL;
3893}
3894
3895
3896static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
3897 int argc;
3898 PyObject *argv[4];
3899 int ii;
3900
3901 argc = PyObject_Length(args);
3902 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
3903 argv[ii] = PyTuple_GetItem(args,ii);
3904 }
3905 if (argc == 2) {
3906 int _v;
3907 {
3908 void *ptr;
15afbcd0 3909 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
d14a1e28
RD
3910 _v = 0;
3911 PyErr_Clear();
3912 } else {
3913 _v = 1;
3914 }
3915 }
3916 if (_v) {
3917 {
3918 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
3919 }
3920 if (_v) {
322913ce 3921 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
d14a1e28
RD
3922 }
3923 }
3924 }
3925 if (argc == 3) {
3926 int _v;
3927 {
3928 void *ptr;
15afbcd0 3929 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
d14a1e28
RD
3930 _v = 0;
3931 PyErr_Clear();
3932 } else {
3933 _v = 1;
3934 }
3935 }
3936 if (_v) {
c32bde28 3937 _v = SWIG_Check_int(argv[1]);
d14a1e28 3938 if (_v) {
c32bde28 3939 _v = SWIG_Check_int(argv[2]);
d14a1e28 3940 if (_v) {
322913ce 3941 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
d14a1e28
RD
3942 }
3943 }
3944 }
3945 }
3946
093d3ff1 3947 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
d14a1e28
RD
3948 return NULL;
3949}
3950
3951
c32bde28 3952static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3953 PyObject *resultobj = NULL;
d14a1e28
RD
3954 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3955 PyObject * obj0 = 0 ;
3956 char *kwnames[] = {
3957 (char *) "self", NULL
3958 };
3959
3960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
093d3ff1
RD
3961 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3962 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3963 {
3964 PyThreadState* __tstate = wxPyBeginAllowThreads();
3965 (arg1)->AdjustScrollbars();
3966
3967 wxPyEndAllowThreads(__tstate);
3968 if (PyErr_Occurred()) SWIG_fail;
3969 }
3970 Py_INCREF(Py_None); resultobj = Py_None;
3971 return resultobj;
3972 fail:
3973 return NULL;
3974}
3975
3976
c32bde28 3977static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3978 PyObject *resultobj = NULL;
d14a1e28
RD
3979 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3980 wxScrollWinEvent *arg2 = 0 ;
3981 int result;
3982 PyObject * obj0 = 0 ;
3983 PyObject * obj1 = 0 ;
3984 char *kwnames[] = {
3985 (char *) "self",(char *) "event", NULL
3986 };
3987
3988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3989 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3990 if (SWIG_arg_fail(1)) SWIG_fail;
3991 {
3992 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxScrollWinEvent, SWIG_POINTER_EXCEPTION | 0);
3993 if (SWIG_arg_fail(2)) SWIG_fail;
3994 if (arg2 == NULL) {
3995 SWIG_null_ref("wxScrollWinEvent");
3996 }
3997 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
3998 }
3999 {
4000 PyThreadState* __tstate = wxPyBeginAllowThreads();
4001 result = (int)(arg1)->CalcScrollInc(*arg2);
4002
4003 wxPyEndAllowThreads(__tstate);
4004 if (PyErr_Occurred()) SWIG_fail;
4005 }
093d3ff1 4006 {
32fe5131 4007 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 4008 }
d14a1e28
RD
4009 return resultobj;
4010 fail:
4011 return NULL;
4012}
4013
4014
c32bde28 4015static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4016 PyObject *resultobj = NULL;
d14a1e28
RD
4017 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4018 wxWindow *arg2 = (wxWindow *) 0 ;
4019 PyObject * obj0 = 0 ;
4020 PyObject * obj1 = 0 ;
4021 char *kwnames[] = {
4022 (char *) "self",(char *) "target", NULL
4023 };
4024
4025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4026 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
4027 if (SWIG_arg_fail(1)) SWIG_fail;
4028 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4029 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
4030 {
4031 PyThreadState* __tstate = wxPyBeginAllowThreads();
4032 (arg1)->SetTargetWindow(arg2);
4033
4034 wxPyEndAllowThreads(__tstate);
4035 if (PyErr_Occurred()) SWIG_fail;
4036 }
4037 Py_INCREF(Py_None); resultobj = Py_None;
4038 return resultobj;
4039 fail:
4040 return NULL;
4041}
4042
4043
c32bde28 4044static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4045 PyObject *resultobj = NULL;
d14a1e28
RD
4046 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4047 wxWindow *result;
4048 PyObject * obj0 = 0 ;
4049 char *kwnames[] = {
4050 (char *) "self", NULL
4051 };
4052
4053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
4054 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
4055 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4056 {
4057 PyThreadState* __tstate = wxPyBeginAllowThreads();
4058 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
4059
4060 wxPyEndAllowThreads(__tstate);
4061 if (PyErr_Occurred()) SWIG_fail;
4062 }
4063 {
412d302d 4064 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
4065 }
4066 return resultobj;
4067 fail:
4068 return NULL;
4069}
4070
4071
c32bde28 4072static PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4073 PyObject *resultobj = NULL;
f5b96ee1
RD
4074 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4075 wxDC *arg2 = 0 ;
4076 PyObject * obj0 = 0 ;
4077 PyObject * obj1 = 0 ;
4078 char *kwnames[] = {
4079 (char *) "self",(char *) "dc", NULL
4080 };
4081
4082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4083 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
4084 if (SWIG_arg_fail(1)) SWIG_fail;
4085 {
4086 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
4087 if (SWIG_arg_fail(2)) SWIG_fail;
4088 if (arg2 == NULL) {
4089 SWIG_null_ref("wxDC");
4090 }
4091 if (SWIG_arg_fail(2)) SWIG_fail;
f5b96ee1
RD
4092 }
4093 {
4094 PyThreadState* __tstate = wxPyBeginAllowThreads();
4095 (arg1)->DoPrepareDC(*arg2);
4096
4097 wxPyEndAllowThreads(__tstate);
4098 if (PyErr_Occurred()) SWIG_fail;
4099 }
4100 Py_INCREF(Py_None); resultobj = Py_None;
4101 return resultobj;
4102 fail:
4103 return NULL;
4104}
4105
4106
c32bde28 4107static PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4108 PyObject *resultobj = NULL;
093d3ff1 4109 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
4110 wxVisualAttributes result;
4111 PyObject * obj0 = 0 ;
4112 char *kwnames[] = {
4113 (char *) "variant", NULL
4114 };
4115
4116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4117 if (obj0) {
093d3ff1 4118 {
32fe5131 4119 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
4120 if (SWIG_arg_fail(1)) SWIG_fail;
4121 }
22bfe96c
RD
4122 }
4123 {
e3b71cb8 4124 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c 4125 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 4126 result = wxScrolledWindow::GetClassDefaultAttributes(arg1);
22bfe96c
RD
4127
4128 wxPyEndAllowThreads(__tstate);
110da5b0 4129 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
4130 }
4131 {
4132 wxVisualAttributes * resultptr;
32fe5131 4133 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
22bfe96c
RD
4134 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4135 }
4136 return resultobj;
4137 fail:
4138 return NULL;
4139}
4140
4141
c32bde28 4142static PyObject * ScrolledWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
4143 PyObject *obj;
4144 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4145 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
4146 Py_INCREF(obj);
4147 return Py_BuildValue((char *)"");
4148}
c32bde28 4149static int _wrap_FrameNameStr_set(PyObject *) {
b2dc1044
RD
4150 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
4151 return 1;
4152}
4153
4154
093d3ff1 4155static PyObject *_wrap_FrameNameStr_get(void) {
32fe5131 4156 PyObject *pyobj = NULL;
b2dc1044
RD
4157
4158 {
4159#if wxUSE_UNICODE
4160 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
4161#else
4162 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
4163#endif
4164 }
4165 return pyobj;
4166}
4167
4168
c32bde28 4169static int _wrap_DialogNameStr_set(PyObject *) {
b2dc1044
RD
4170 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
4171 return 1;
4172}
4173
4174
093d3ff1 4175static PyObject *_wrap_DialogNameStr_get(void) {
32fe5131 4176 PyObject *pyobj = NULL;
b2dc1044
RD
4177
4178 {
4179#if wxUSE_UNICODE
4180 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
4181#else
4182 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
4183#endif
4184 }
4185 return pyobj;
4186}
4187
4188
c32bde28 4189static int _wrap_StatusLineNameStr_set(PyObject *) {
b2dc1044
RD
4190 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
4191 return 1;
4192}
4193
4194
093d3ff1 4195static PyObject *_wrap_StatusLineNameStr_get(void) {
32fe5131 4196 PyObject *pyobj = NULL;
b2dc1044
RD
4197
4198 {
4199#if wxUSE_UNICODE
4200 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
4201#else
4202 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
4203#endif
4204 }
4205 return pyobj;
4206}
4207
4208
c32bde28 4209static int _wrap_ToolBarNameStr_set(PyObject *) {
b2dc1044
RD
4210 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
4211 return 1;
4212}
4213
4214
093d3ff1 4215static PyObject *_wrap_ToolBarNameStr_get(void) {
32fe5131 4216 PyObject *pyobj = NULL;
b2dc1044
RD
4217
4218 {
4219#if wxUSE_UNICODE
4220 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
4221#else
4222 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
4223#endif
4224 }
4225 return pyobj;
4226}
4227
4228
c32bde28 4229static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4230 PyObject *resultobj = NULL;
d14a1e28 4231 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
ae8162c8 4232 bool arg2 = (bool) true ;
d14a1e28
RD
4233 PyObject * obj0 = 0 ;
4234 PyObject * obj1 = 0 ;
4235 char *kwnames[] = {
4236 (char *) "self",(char *) "maximize", NULL
4237 };
4238
4239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4240 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4241 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 4242 if (obj1) {
093d3ff1 4243 {
32fe5131 4244 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
4245 if (SWIG_arg_fail(2)) SWIG_fail;
4246 }
d14a1e28
RD
4247 }
4248 {
4249 PyThreadState* __tstate = wxPyBeginAllowThreads();
4250 (arg1)->Maximize(arg2);
4251
4252 wxPyEndAllowThreads(__tstate);
4253 if (PyErr_Occurred()) SWIG_fail;
4254 }
4255 Py_INCREF(Py_None); resultobj = Py_None;
4256 return resultobj;
4257 fail:
4258 return NULL;
4259}
4260
4261
c32bde28 4262static PyObject *_wrap_TopLevelWindow_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4263 PyObject *resultobj = NULL;
d14a1e28
RD
4264 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4265 PyObject * obj0 = 0 ;
4266 char *kwnames[] = {
4267 (char *) "self", NULL
4268 };
4269
4270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
093d3ff1
RD
4271 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4272 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4273 {
4274 PyThreadState* __tstate = wxPyBeginAllowThreads();
4275 (arg1)->Restore();
4276
4277 wxPyEndAllowThreads(__tstate);
4278 if (PyErr_Occurred()) SWIG_fail;
4279 }
4280 Py_INCREF(Py_None); resultobj = Py_None;
4281 return resultobj;
4282 fail:
4283 return NULL;
4284}
4285
4286
c32bde28 4287static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4288 PyObject *resultobj = NULL;
d14a1e28 4289 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
ae8162c8 4290 bool arg2 = (bool) true ;
d14a1e28
RD
4291 PyObject * obj0 = 0 ;
4292 PyObject * obj1 = 0 ;
4293 char *kwnames[] = {
4294 (char *) "self",(char *) "iconize", NULL
4295 };
4296
4297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4298 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4299 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 4300 if (obj1) {
093d3ff1 4301 {
32fe5131 4302 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
4303 if (SWIG_arg_fail(2)) SWIG_fail;
4304 }
d14a1e28
RD
4305 }
4306 {
4307 PyThreadState* __tstate = wxPyBeginAllowThreads();
4308 (arg1)->Iconize(arg2);
4309
4310 wxPyEndAllowThreads(__tstate);
4311 if (PyErr_Occurred()) SWIG_fail;
4312 }
4313 Py_INCREF(Py_None); resultobj = Py_None;
4314 return resultobj;
4315 fail:
4316 return NULL;
4317}
4318
4319
c32bde28 4320static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4321 PyObject *resultobj = NULL;
d14a1e28
RD
4322 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4323 bool result;
4324 PyObject * obj0 = 0 ;
4325 char *kwnames[] = {
4326 (char *) "self", NULL
4327 };
4328
4329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
093d3ff1
RD
4330 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4331 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4332 {
4333 PyThreadState* __tstate = wxPyBeginAllowThreads();
4334 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
4335
4336 wxPyEndAllowThreads(__tstate);
4337 if (PyErr_Occurred()) SWIG_fail;
4338 }
4f89f6a3
RD
4339 {
4340 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4341 }
d14a1e28
RD
4342 return resultobj;
4343 fail:
4344 return NULL;
4345}
4346
4347
c32bde28 4348static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4349 PyObject *resultobj = NULL;
d14a1e28
RD
4350 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4351 bool result;
4352 PyObject * obj0 = 0 ;
4353 char *kwnames[] = {
4354 (char *) "self", NULL
4355 };
4356
4357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
093d3ff1
RD
4358 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4359 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4360 {
4361 PyThreadState* __tstate = wxPyBeginAllowThreads();
4362 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
4363
4364 wxPyEndAllowThreads(__tstate);
4365 if (PyErr_Occurred()) SWIG_fail;
4366 }
4f89f6a3
RD
4367 {
4368 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4369 }
d14a1e28
RD
4370 return resultobj;
4371 fail:
4372 return NULL;
4373}
4374
4375
c32bde28 4376static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4377 PyObject *resultobj = NULL;
d14a1e28
RD
4378 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4379 wxIcon result;
4380 PyObject * obj0 = 0 ;
4381 char *kwnames[] = {
4382 (char *) "self", NULL
4383 };
4384
4385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
093d3ff1
RD
4386 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4387 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4388 {
4389 PyThreadState* __tstate = wxPyBeginAllowThreads();
4390 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
4391
4392 wxPyEndAllowThreads(__tstate);
4393 if (PyErr_Occurred()) SWIG_fail;
4394 }
4395 {
4396 wxIcon * resultptr;
32fe5131 4397 resultptr = new wxIcon(static_cast<wxIcon & >(result));
15afbcd0 4398 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
d14a1e28
RD
4399 }
4400 return resultobj;
4401 fail:
4402 return NULL;
4403}
4404
4405
c32bde28 4406static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4407 PyObject *resultobj = NULL;
d14a1e28
RD
4408 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4409 wxIcon *arg2 = 0 ;
4410 PyObject * obj0 = 0 ;
4411 PyObject * obj1 = 0 ;
4412 char *kwnames[] = {
4413 (char *) "self",(char *) "icon", NULL
4414 };
4415
4416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4417 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4418 if (SWIG_arg_fail(1)) SWIG_fail;
4419 {
4420 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
4421 if (SWIG_arg_fail(2)) SWIG_fail;
4422 if (arg2 == NULL) {
4423 SWIG_null_ref("wxIcon");
4424 }
4425 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
4426 }
4427 {
4428 PyThreadState* __tstate = wxPyBeginAllowThreads();
4429 (arg1)->SetIcon((wxIcon const &)*arg2);
4430
4431 wxPyEndAllowThreads(__tstate);
4432 if (PyErr_Occurred()) SWIG_fail;
4433 }
4434 Py_INCREF(Py_None); resultobj = Py_None;
4435 return resultobj;
4436 fail:
4437 return NULL;
4438}
4439
4440
c32bde28 4441static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4442 PyObject *resultobj = NULL;
d14a1e28
RD
4443 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4444 wxIconBundle *arg2 = 0 ;
4445 PyObject * obj0 = 0 ;
4446 PyObject * obj1 = 0 ;
4447 char *kwnames[] = {
4448 (char *) "self",(char *) "icons", NULL
4449 };
4450
4451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4452 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4453 if (SWIG_arg_fail(1)) SWIG_fail;
4454 {
4455 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIconBundle, SWIG_POINTER_EXCEPTION | 0);
4456 if (SWIG_arg_fail(2)) SWIG_fail;
4457 if (arg2 == NULL) {
4458 SWIG_null_ref("wxIconBundle");
4459 }
4460 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
4461 }
4462 {
4463 PyThreadState* __tstate = wxPyBeginAllowThreads();
4464 (arg1)->SetIcons((wxIconBundle const &)*arg2);
4465
4466 wxPyEndAllowThreads(__tstate);
4467 if (PyErr_Occurred()) SWIG_fail;
4468 }
4469 Py_INCREF(Py_None); resultobj = Py_None;
4470 return resultobj;
4471 fail:
4472 return NULL;
4473}
4474
4475
c32bde28 4476static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4477 PyObject *resultobj = NULL;
d14a1e28
RD
4478 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4479 bool arg2 ;
4480 long arg3 = (long) wxFULLSCREEN_ALL ;
4481 bool result;
4482 PyObject * obj0 = 0 ;
4483 PyObject * obj1 = 0 ;
994141e6 4484 PyObject * obj2 = 0 ;
d14a1e28
RD
4485 char *kwnames[] = {
4486 (char *) "self",(char *) "show",(char *) "style", NULL
4487 };
4488
994141e6 4489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
4490 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4491 if (SWIG_arg_fail(1)) SWIG_fail;
4492 {
32fe5131 4493 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
4494 if (SWIG_arg_fail(2)) SWIG_fail;
4495 }
994141e6 4496 if (obj2) {
093d3ff1 4497 {
32fe5131 4498 arg3 = static_cast<long >(SWIG_As_long(obj2));
093d3ff1
RD
4499 if (SWIG_arg_fail(3)) SWIG_fail;
4500 }
994141e6 4501 }
d14a1e28
RD
4502 {
4503 PyThreadState* __tstate = wxPyBeginAllowThreads();
4504 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
4505
4506 wxPyEndAllowThreads(__tstate);
4507 if (PyErr_Occurred()) SWIG_fail;
4508 }
4f89f6a3
RD
4509 {
4510 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4511 }
d14a1e28
RD
4512 return resultobj;
4513 fail:
4514 return NULL;
4515}
4516
4517
c32bde28 4518static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4519 PyObject *resultobj = NULL;
d14a1e28
RD
4520 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4521 bool result;
4522 PyObject * obj0 = 0 ;
4523 char *kwnames[] = {
4524 (char *) "self", NULL
4525 };
4526
4527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
093d3ff1
RD
4528 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4529 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4530 {
4531 PyThreadState* __tstate = wxPyBeginAllowThreads();
4532 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
4533
4534 wxPyEndAllowThreads(__tstate);
4535 if (PyErr_Occurred()) SWIG_fail;
4536 }
4f89f6a3
RD
4537 {
4538 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4539 }
d14a1e28
RD
4540 return resultobj;
4541 fail:
4542 return NULL;
4543}
4544
4545
c32bde28 4546static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4547 PyObject *resultobj = NULL;
d14a1e28
RD
4548 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4549 wxString *arg2 = 0 ;
ae8162c8 4550 bool temp2 = false ;
d14a1e28
RD
4551 PyObject * obj0 = 0 ;
4552 PyObject * obj1 = 0 ;
4553 char *kwnames[] = {
4554 (char *) "self",(char *) "title", NULL
4555 };
4556
4557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4558 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4559 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4560 {
4561 arg2 = wxString_in_helper(obj1);
4562 if (arg2 == NULL) SWIG_fail;
ae8162c8 4563 temp2 = true;
d14a1e28
RD
4564 }
4565 {
4566 PyThreadState* __tstate = wxPyBeginAllowThreads();
4567 (arg1)->SetTitle((wxString const &)*arg2);
4568
4569 wxPyEndAllowThreads(__tstate);
4570 if (PyErr_Occurred()) SWIG_fail;
4571 }
4572 Py_INCREF(Py_None); resultobj = Py_None;
4573 {
4574 if (temp2)
4575 delete arg2;
4576 }
4577 return resultobj;
4578 fail:
4579 {
4580 if (temp2)
4581 delete arg2;
4582 }
4583 return NULL;
4584}
4585
4586
c32bde28 4587static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4588 PyObject *resultobj = NULL;
d14a1e28
RD
4589 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4590 wxString result;
4591 PyObject * obj0 = 0 ;
4592 char *kwnames[] = {
4593 (char *) "self", NULL
4594 };
4595
4596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
093d3ff1
RD
4597 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4598 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4599 {
4600 PyThreadState* __tstate = wxPyBeginAllowThreads();
4601 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
4602
4603 wxPyEndAllowThreads(__tstate);
4604 if (PyErr_Occurred()) SWIG_fail;
4605 }
4606 {
4607#if wxUSE_UNICODE
4608 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4609#else
4610 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4611#endif
4612 }
4613 return resultobj;
4614 fail:
4615 return NULL;
4616}
4617
4618
c32bde28 4619static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4620 PyObject *resultobj = NULL;
d14a1e28
RD
4621 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4622 wxRegion *arg2 = 0 ;
4623 bool result;
4624 PyObject * obj0 = 0 ;
4625 PyObject * obj1 = 0 ;
4626 char *kwnames[] = {
4627 (char *) "self",(char *) "region", NULL
4628 };
4629
4630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4631 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4632 if (SWIG_arg_fail(1)) SWIG_fail;
4633 {
4634 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
4635 if (SWIG_arg_fail(2)) SWIG_fail;
4636 if (arg2 == NULL) {
4637 SWIG_null_ref("wxRegion");
4638 }
4639 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
4640 }
4641 {
4642 PyThreadState* __tstate = wxPyBeginAllowThreads();
4643 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
4644
4645 wxPyEndAllowThreads(__tstate);
4646 if (PyErr_Occurred()) SWIG_fail;
4647 }
4f89f6a3
RD
4648 {
4649 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4650 }
d14a1e28
RD
4651 return resultobj;
4652 fail:
4653 return NULL;
4654}
4655
4656
c32bde28 4657static PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4658 PyObject *resultobj = NULL;
c32bde28
RD
4659 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4660 int arg2 = (int) wxUSER_ATTENTION_INFO ;
4661 PyObject * obj0 = 0 ;
4662 PyObject * obj1 = 0 ;
4663 char *kwnames[] = {
4664 (char *) "self",(char *) "flags", NULL
4665 };
4666
4667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4668 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4669 if (SWIG_arg_fail(1)) SWIG_fail;
c32bde28 4670 if (obj1) {
093d3ff1 4671 {
32fe5131 4672 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
4673 if (SWIG_arg_fail(2)) SWIG_fail;
4674 }
c32bde28
RD
4675 }
4676 {
4677 PyThreadState* __tstate = wxPyBeginAllowThreads();
4678 (arg1)->RequestUserAttention(arg2);
4679
4680 wxPyEndAllowThreads(__tstate);
4681 if (PyErr_Occurred()) SWIG_fail;
4682 }
4683 Py_INCREF(Py_None); resultobj = Py_None;
4684 return resultobj;
4685 fail:
4686 return NULL;
4687}
4688
4689
b6294124 4690static PyObject *_wrap_TopLevelWindow_IsActive(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4691 PyObject *resultobj = NULL;
b6294124
RD
4692 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4693 bool result;
4694 PyObject * obj0 = 0 ;
4695 char *kwnames[] = {
4696 (char *) "self", NULL
4697 };
4698
4699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsActive",kwnames,&obj0)) goto fail;
093d3ff1
RD
4700 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4701 if (SWIG_arg_fail(1)) SWIG_fail;
b6294124
RD
4702 {
4703 PyThreadState* __tstate = wxPyBeginAllowThreads();
4704 result = (bool)(arg1)->IsActive();
4705
4706 wxPyEndAllowThreads(__tstate);
4707 if (PyErr_Occurred()) SWIG_fail;
4708 }
4709 {
4710 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4711 }
4712 return resultobj;
4713 fail:
4714 return NULL;
4715}
4716
4717
84f85550 4718static PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4719 PyObject *resultobj = NULL;
84f85550
RD
4720 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4721 bool arg2 ;
4722 PyObject * obj0 = 0 ;
4723 PyObject * obj1 = 0 ;
4724 char *kwnames[] = {
4725 (char *) "self",(char *) "on", NULL
4726 };
4727
4728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4729 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4730 if (SWIG_arg_fail(1)) SWIG_fail;
4731 {
32fe5131 4732 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
4733 if (SWIG_arg_fail(2)) SWIG_fail;
4734 }
84f85550
RD
4735 {
4736 PyThreadState* __tstate = wxPyBeginAllowThreads();
4737 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
4738
4739 wxPyEndAllowThreads(__tstate);
4740 if (PyErr_Occurred()) SWIG_fail;
4741 }
4742 Py_INCREF(Py_None); resultobj = Py_None;
4743 return resultobj;
4744 fail:
4745 return NULL;
4746}
4747
4748
4749static PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4750 PyObject *resultobj = NULL;
84f85550
RD
4751 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4752 bool result;
4753 PyObject * obj0 = 0 ;
4754 char *kwnames[] = {
4755 (char *) "self", NULL
4756 };
4757
4758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames,&obj0)) goto fail;
093d3ff1
RD
4759 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4760 if (SWIG_arg_fail(1)) SWIG_fail;
84f85550
RD
4761 {
4762 PyThreadState* __tstate = wxPyBeginAllowThreads();
4763 result = (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow const *)arg1);
4764
4765 wxPyEndAllowThreads(__tstate);
4766 if (PyErr_Occurred()) SWIG_fail;
4767 }
4768 {
4769 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4770 }
4771 return resultobj;
4772 fail:
4773 return NULL;
4774}
4775
4776
c32bde28 4777static PyObject * TopLevelWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
4778 PyObject *obj;
4779 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4780 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
4781 Py_INCREF(obj);
4782 return Py_BuildValue((char *)"");
4783}
c32bde28 4784static PyObject *_wrap_new_Frame(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4785 PyObject *resultobj = NULL;
d14a1e28 4786 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
4787 int arg2 = (int) (int)-1 ;
4788 wxString const &arg3_defvalue = wxPyEmptyString ;
4789 wxString *arg3 = (wxString *) &arg3_defvalue ;
d14a1e28
RD
4790 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4791 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4792 wxSize const &arg5_defvalue = wxDefaultSize ;
4793 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4794 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4795 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4796 wxString *arg7 = (wxString *) &arg7_defvalue ;
4797 wxFrame *result;
ae8162c8 4798 bool temp3 = false ;
d14a1e28
RD
4799 wxPoint temp4 ;
4800 wxSize temp5 ;
ae8162c8 4801 bool temp7 = false ;
d14a1e28 4802 PyObject * obj0 = 0 ;
994141e6 4803 PyObject * obj1 = 0 ;
d14a1e28
RD
4804 PyObject * obj2 = 0 ;
4805 PyObject * obj3 = 0 ;
4806 PyObject * obj4 = 0 ;
994141e6 4807 PyObject * obj5 = 0 ;
d14a1e28
RD
4808 PyObject * obj6 = 0 ;
4809 char *kwnames[] = {
4810 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4811 };
4812
248ed943 4813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
4814 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4815 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 4816 if (obj1) {
093d3ff1 4817 {
32fe5131 4818 arg2 = static_cast<int const >(SWIG_As_int(obj1));
093d3ff1
RD
4819 if (SWIG_arg_fail(2)) SWIG_fail;
4820 }
248ed943
RD
4821 }
4822 if (obj2) {
4823 {
4824 arg3 = wxString_in_helper(obj2);
4825 if (arg3 == NULL) SWIG_fail;
ae8162c8 4826 temp3 = true;
248ed943 4827 }
d14a1e28
RD
4828 }
4829 if (obj3) {
4830 {
4831 arg4 = &temp4;
4832 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4833 }
4834 }
4835 if (obj4) {
4836 {
4837 arg5 = &temp5;
4838 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4839 }
4840 }
994141e6 4841 if (obj5) {
093d3ff1 4842 {
32fe5131 4843 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
4844 if (SWIG_arg_fail(6)) SWIG_fail;
4845 }
994141e6 4846 }
d14a1e28
RD
4847 if (obj6) {
4848 {
4849 arg7 = wxString_in_helper(obj6);
4850 if (arg7 == NULL) SWIG_fail;
ae8162c8 4851 temp7 = true;
d14a1e28
RD
4852 }
4853 }
4854 {
e3b71cb8 4855 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
4856 PyThreadState* __tstate = wxPyBeginAllowThreads();
4857 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4858
4859 wxPyEndAllowThreads(__tstate);
110da5b0 4860 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 4861 }
b0f7404b 4862 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
d14a1e28
RD
4863 {
4864 if (temp3)
4865 delete arg3;
4866 }
4867 {
4868 if (temp7)
4869 delete arg7;
4870 }
4871 return resultobj;
4872 fail:
4873 {
4874 if (temp3)
4875 delete arg3;
4876 }
4877 {
4878 if (temp7)
4879 delete arg7;
4880 }
4881 return NULL;
4882}
4883
4884
c32bde28 4885static PyObject *_wrap_new_PreFrame(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4886 PyObject *resultobj = NULL;
d14a1e28
RD
4887 wxFrame *result;
4888 char *kwnames[] = {
4889 NULL
4890 };
4891
4892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
4893 {
e3b71cb8 4894 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
4895 PyThreadState* __tstate = wxPyBeginAllowThreads();
4896 result = (wxFrame *)new wxFrame();
4897
4898 wxPyEndAllowThreads(__tstate);
110da5b0 4899 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 4900 }
b0f7404b 4901 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
d14a1e28
RD
4902 return resultobj;
4903 fail:
4904 return NULL;
4905}
4906
4907
c32bde28 4908static PyObject *_wrap_Frame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4909 PyObject *resultobj = NULL;
d14a1e28
RD
4910 wxFrame *arg1 = (wxFrame *) 0 ;
4911 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
4912 int arg3 = (int) (int)-1 ;
4913 wxString const &arg4_defvalue = wxPyEmptyString ;
4914 wxString *arg4 = (wxString *) &arg4_defvalue ;
d14a1e28
RD
4915 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4916 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4917 wxSize const &arg6_defvalue = wxDefaultSize ;
4918 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4919 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4920 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4921 wxString *arg8 = (wxString *) &arg8_defvalue ;
4922 bool result;
ae8162c8 4923 bool temp4 = false ;
d14a1e28
RD
4924 wxPoint temp5 ;
4925 wxSize temp6 ;
ae8162c8 4926 bool temp8 = false ;
d14a1e28
RD
4927 PyObject * obj0 = 0 ;
4928 PyObject * obj1 = 0 ;
994141e6 4929 PyObject * obj2 = 0 ;
d14a1e28
RD
4930 PyObject * obj3 = 0 ;
4931 PyObject * obj4 = 0 ;
4932 PyObject * obj5 = 0 ;
994141e6 4933 PyObject * obj6 = 0 ;
d14a1e28
RD
4934 PyObject * obj7 = 0 ;
4935 char *kwnames[] = {
4936 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4937 };
4938
248ed943 4939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
4940 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4941 if (SWIG_arg_fail(1)) SWIG_fail;
4942 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4943 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 4944 if (obj2) {
093d3ff1 4945 {
32fe5131 4946 arg3 = static_cast<int const >(SWIG_As_int(obj2));
093d3ff1
RD
4947 if (SWIG_arg_fail(3)) SWIG_fail;
4948 }
248ed943
RD
4949 }
4950 if (obj3) {
4951 {
4952 arg4 = wxString_in_helper(obj3);
4953 if (arg4 == NULL) SWIG_fail;
ae8162c8 4954 temp4 = true;
248ed943 4955 }
d14a1e28
RD
4956 }
4957 if (obj4) {
4958 {
4959 arg5 = &temp5;
4960 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4961 }
4962 }
4963 if (obj5) {
4964 {
4965 arg6 = &temp6;
4966 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4967 }
4968 }
994141e6 4969 if (obj6) {
093d3ff1 4970 {
32fe5131 4971 arg7 = static_cast<long >(SWIG_As_long(obj6));
093d3ff1
RD
4972 if (SWIG_arg_fail(7)) SWIG_fail;
4973 }
994141e6 4974 }
d14a1e28
RD
4975 if (obj7) {
4976 {
4977 arg8 = wxString_in_helper(obj7);
4978 if (arg8 == NULL) SWIG_fail;
ae8162c8 4979 temp8 = true;
d14a1e28
RD
4980 }
4981 }
4982 {
4983 PyThreadState* __tstate = wxPyBeginAllowThreads();
4984 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4985
4986 wxPyEndAllowThreads(__tstate);
4987 if (PyErr_Occurred()) SWIG_fail;
4988 }
4f89f6a3
RD
4989 {
4990 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4991 }
d14a1e28
RD
4992 {
4993 if (temp4)
4994 delete arg4;
4995 }
4996 {
4997 if (temp8)
4998 delete arg8;
4999 }
5000 return resultobj;
5001 fail:
5002 {
5003 if (temp4)
5004 delete arg4;
5005 }
5006 {
5007 if (temp8)
5008 delete arg8;
5009 }
5010 return NULL;
5011}
5012
5013
c32bde28 5014static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5015 PyObject *resultobj = NULL;
d14a1e28
RD
5016 wxFrame *arg1 = (wxFrame *) 0 ;
5017 wxPoint result;
5018 PyObject * obj0 = 0 ;
5019 char *kwnames[] = {
5020 (char *) "self", NULL
5021 };
5022
5023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
093d3ff1
RD
5024 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5025 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5026 {
5027 PyThreadState* __tstate = wxPyBeginAllowThreads();
5028 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
5029
5030 wxPyEndAllowThreads(__tstate);
5031 if (PyErr_Occurred()) SWIG_fail;
5032 }
5033 {
5034 wxPoint * resultptr;
32fe5131 5035 resultptr = new wxPoint(static_cast<wxPoint & >(result));
15afbcd0 5036 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
5037 }
5038 return resultobj;
5039 fail:
5040 return NULL;
5041}
5042
5043
c32bde28 5044static PyObject *_wrap_Frame_SendSizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5045 PyObject *resultobj = NULL;
d14a1e28
RD
5046 wxFrame *arg1 = (wxFrame *) 0 ;
5047 PyObject * obj0 = 0 ;
5048 char *kwnames[] = {
5049 (char *) "self", NULL
5050 };
5051
5052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
093d3ff1
RD
5053 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5054 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5055 {
5056 PyThreadState* __tstate = wxPyBeginAllowThreads();
5057 (arg1)->SendSizeEvent();
5058
5059 wxPyEndAllowThreads(__tstate);
5060 if (PyErr_Occurred()) SWIG_fail;
5061 }
5062 Py_INCREF(Py_None); resultobj = Py_None;
5063 return resultobj;
5064 fail:
5065 return NULL;
5066}
5067
5068
c32bde28 5069static PyObject *_wrap_Frame_SetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5070 PyObject *resultobj = NULL;
d14a1e28
RD
5071 wxFrame *arg1 = (wxFrame *) 0 ;
5072 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
5073 PyObject * obj0 = 0 ;
5074 PyObject * obj1 = 0 ;
5075 char *kwnames[] = {
5076 (char *) "self",(char *) "menubar", NULL
5077 };
5078
5079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5080 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5081 if (SWIG_arg_fail(1)) SWIG_fail;
5082 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
5083 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
5084 {
5085 PyThreadState* __tstate = wxPyBeginAllowThreads();
5086 (arg1)->SetMenuBar(arg2);
5087
5088 wxPyEndAllowThreads(__tstate);
5089 if (PyErr_Occurred()) SWIG_fail;
5090 }
5091 Py_INCREF(Py_None); resultobj = Py_None;
5092 return resultobj;
5093 fail:
5094 return NULL;
5095}
5096
5097
c32bde28 5098static PyObject *_wrap_Frame_GetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5099 PyObject *resultobj = NULL;
d14a1e28
RD
5100 wxFrame *arg1 = (wxFrame *) 0 ;
5101 wxMenuBar *result;
5102 PyObject * obj0 = 0 ;
5103 char *kwnames[] = {
5104 (char *) "self", NULL
5105 };
5106
5107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
093d3ff1
RD
5108 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5109 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5110 {
5111 PyThreadState* __tstate = wxPyBeginAllowThreads();
5112 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
5113
5114 wxPyEndAllowThreads(__tstate);
5115 if (PyErr_Occurred()) SWIG_fail;
5116 }
5117 {
412d302d 5118 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
5119 }
5120 return resultobj;
5121 fail:
5122 return NULL;
5123}
5124
5125
c32bde28 5126static PyObject *_wrap_Frame_ProcessCommand(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5127 PyObject *resultobj = NULL;
d14a1e28
RD
5128 wxFrame *arg1 = (wxFrame *) 0 ;
5129 int arg2 ;
5130 bool result;
5131 PyObject * obj0 = 0 ;
994141e6 5132 PyObject * obj1 = 0 ;
d14a1e28
RD
5133 char *kwnames[] = {
5134 (char *) "self",(char *) "winid", NULL
5135 };
5136
994141e6 5137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5138 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5139 if (SWIG_arg_fail(1)) SWIG_fail;
5140 {
32fe5131 5141 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
5142 if (SWIG_arg_fail(2)) SWIG_fail;
5143 }
d14a1e28
RD
5144 {
5145 PyThreadState* __tstate = wxPyBeginAllowThreads();
5146 result = (bool)(arg1)->ProcessCommand(arg2);
5147
5148 wxPyEndAllowThreads(__tstate);
5149 if (PyErr_Occurred()) SWIG_fail;
5150 }
4f89f6a3
RD
5151 {
5152 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5153 }
d14a1e28
RD
5154 return resultobj;
5155 fail:
5156 return NULL;
5157}
5158
5159
c32bde28 5160static PyObject *_wrap_Frame_CreateStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5161 PyObject *resultobj = NULL;
d14a1e28
RD
5162 wxFrame *arg1 = (wxFrame *) 0 ;
5163 int arg2 = (int) 1 ;
6d88e192 5164 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
e811c8ce 5165 int arg4 = (int) 0 ;
d14a1e28
RD
5166 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
5167 wxString *arg5 = (wxString *) &arg5_defvalue ;
5168 wxStatusBar *result;
ae8162c8 5169 bool temp5 = false ;
d14a1e28 5170 PyObject * obj0 = 0 ;
994141e6
RD
5171 PyObject * obj1 = 0 ;
5172 PyObject * obj2 = 0 ;
5173 PyObject * obj3 = 0 ;
d14a1e28
RD
5174 PyObject * obj4 = 0 ;
5175 char *kwnames[] = {
5176 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
5177 };
5178
994141e6 5179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
5180 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5181 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 5182 if (obj1) {
093d3ff1 5183 {
32fe5131 5184 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
5185 if (SWIG_arg_fail(2)) SWIG_fail;
5186 }
994141e6
RD
5187 }
5188 if (obj2) {
093d3ff1 5189 {
32fe5131 5190 arg3 = static_cast<long >(SWIG_As_long(obj2));
093d3ff1
RD
5191 if (SWIG_arg_fail(3)) SWIG_fail;
5192 }
994141e6
RD
5193 }
5194 if (obj3) {
093d3ff1 5195 {
32fe5131 5196 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
5197 if (SWIG_arg_fail(4)) SWIG_fail;
5198 }
994141e6 5199 }
d14a1e28
RD
5200 if (obj4) {
5201 {
5202 arg5 = wxString_in_helper(obj4);
5203 if (arg5 == NULL) SWIG_fail;
ae8162c8 5204 temp5 = true;
d14a1e28
RD
5205 }
5206 }
5207 {
5208 PyThreadState* __tstate = wxPyBeginAllowThreads();
5209 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
5210
5211 wxPyEndAllowThreads(__tstate);
5212 if (PyErr_Occurred()) SWIG_fail;
5213 }
5214 {
412d302d 5215 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
5216 }
5217 {
5218 if (temp5)
5219 delete arg5;
5220 }
5221 return resultobj;
5222 fail:
5223 {
5224 if (temp5)
5225 delete arg5;
5226 }
5227 return NULL;
5228}
5229
5230
c32bde28 5231static PyObject *_wrap_Frame_GetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5232 PyObject *resultobj = NULL;
d14a1e28
RD
5233 wxFrame *arg1 = (wxFrame *) 0 ;
5234 wxStatusBar *result;
5235 PyObject * obj0 = 0 ;
5236 char *kwnames[] = {
5237 (char *) "self", NULL
5238 };
5239
5240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
093d3ff1
RD
5241 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5242 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5243 {
5244 PyThreadState* __tstate = wxPyBeginAllowThreads();
5245 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
5246
5247 wxPyEndAllowThreads(__tstate);
5248 if (PyErr_Occurred()) SWIG_fail;
5249 }
5250 {
412d302d 5251 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
5252 }
5253 return resultobj;
5254 fail:
5255 return NULL;
5256}
5257
5258
c32bde28 5259static PyObject *_wrap_Frame_SetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5260 PyObject *resultobj = NULL;
d14a1e28
RD
5261 wxFrame *arg1 = (wxFrame *) 0 ;
5262 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
5263 PyObject * obj0 = 0 ;
5264 PyObject * obj1 = 0 ;
5265 char *kwnames[] = {
5266 (char *) "self",(char *) "statBar", NULL
5267 };
5268
5269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5270 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5271 if (SWIG_arg_fail(1)) SWIG_fail;
5272 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
5273 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
5274 {
5275 PyThreadState* __tstate = wxPyBeginAllowThreads();
5276 (arg1)->SetStatusBar(arg2);
5277
5278 wxPyEndAllowThreads(__tstate);
5279 if (PyErr_Occurred()) SWIG_fail;
5280 }
5281 Py_INCREF(Py_None); resultobj = Py_None;
5282 return resultobj;
5283 fail:
5284 return NULL;
5285}
5286
5287
c32bde28 5288static PyObject *_wrap_Frame_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5289 PyObject *resultobj = NULL;
d14a1e28
RD
5290 wxFrame *arg1 = (wxFrame *) 0 ;
5291 wxString *arg2 = 0 ;
5292 int arg3 = (int) 0 ;
ae8162c8 5293 bool temp2 = false ;
d14a1e28
RD
5294 PyObject * obj0 = 0 ;
5295 PyObject * obj1 = 0 ;
994141e6 5296 PyObject * obj2 = 0 ;
d14a1e28
RD
5297 char *kwnames[] = {
5298 (char *) "self",(char *) "text",(char *) "number", NULL
5299 };
5300
994141e6 5301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
5302 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5303 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5304 {
5305 arg2 = wxString_in_helper(obj1);
5306 if (arg2 == NULL) SWIG_fail;
ae8162c8 5307 temp2 = true;
d14a1e28 5308 }
994141e6 5309 if (obj2) {
093d3ff1 5310 {
32fe5131 5311 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
5312 if (SWIG_arg_fail(3)) SWIG_fail;
5313 }
994141e6 5314 }
d14a1e28
RD
5315 {
5316 PyThreadState* __tstate = wxPyBeginAllowThreads();
5317 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
5318
5319 wxPyEndAllowThreads(__tstate);
5320 if (PyErr_Occurred()) SWIG_fail;
5321 }
5322 Py_INCREF(Py_None); resultobj = Py_None;
5323 {
5324 if (temp2)
5325 delete arg2;
5326 }
5327 return resultobj;
5328 fail:
5329 {
5330 if (temp2)
5331 delete arg2;
5332 }
5333 return NULL;
5334}
5335
5336
c32bde28 5337static PyObject *_wrap_Frame_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5338 PyObject *resultobj = NULL;
d14a1e28
RD
5339 wxFrame *arg1 = (wxFrame *) 0 ;
5340 int arg2 ;
5341 int *arg3 = (int *) 0 ;
5342 PyObject * obj0 = 0 ;
5343 PyObject * obj1 = 0 ;
5344 char *kwnames[] = {
5345 (char *) "self",(char *) "widths", NULL
5346 };
5347
5348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5349 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5350 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5351 {
5352 arg2 = PyList_Size(obj1);
5353 arg3 = int_LIST_helper(obj1);
5354 if (arg3 == NULL) SWIG_fail;
5355 }
5356 {
5357 PyThreadState* __tstate = wxPyBeginAllowThreads();
5358 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5359
5360 wxPyEndAllowThreads(__tstate);
5361 if (PyErr_Occurred()) SWIG_fail;
5362 }
5363 Py_INCREF(Py_None); resultobj = Py_None;
5364 {
5365 if (arg3) delete [] arg3;
5366 }
5367 return resultobj;
5368 fail:
5369 {
5370 if (arg3) delete [] arg3;
5371 }
5372 return NULL;
5373}
5374
5375
c32bde28 5376static PyObject *_wrap_Frame_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5377 PyObject *resultobj = NULL;
d14a1e28
RD
5378 wxFrame *arg1 = (wxFrame *) 0 ;
5379 wxString *arg2 = 0 ;
5380 int arg3 = (int) 0 ;
ae8162c8 5381 bool temp2 = false ;
d14a1e28
RD
5382 PyObject * obj0 = 0 ;
5383 PyObject * obj1 = 0 ;
994141e6 5384 PyObject * obj2 = 0 ;
d14a1e28
RD
5385 char *kwnames[] = {
5386 (char *) "self",(char *) "text",(char *) "number", NULL
5387 };
5388
994141e6 5389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
5390 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5391 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5392 {
5393 arg2 = wxString_in_helper(obj1);
5394 if (arg2 == NULL) SWIG_fail;
ae8162c8 5395 temp2 = true;
d14a1e28 5396 }
994141e6 5397 if (obj2) {
093d3ff1 5398 {
32fe5131 5399 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
5400 if (SWIG_arg_fail(3)) SWIG_fail;
5401 }
994141e6 5402 }
d14a1e28
RD
5403 {
5404 PyThreadState* __tstate = wxPyBeginAllowThreads();
5405 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5406
5407 wxPyEndAllowThreads(__tstate);
5408 if (PyErr_Occurred()) SWIG_fail;
5409 }
5410 Py_INCREF(Py_None); resultobj = Py_None;
5411 {
5412 if (temp2)
5413 delete arg2;
5414 }
5415 return resultobj;
5416 fail:
5417 {
5418 if (temp2)
5419 delete arg2;
5420 }
5421 return NULL;
5422}
5423
5424
c32bde28 5425static PyObject *_wrap_Frame_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5426 PyObject *resultobj = NULL;
d14a1e28
RD
5427 wxFrame *arg1 = (wxFrame *) 0 ;
5428 int arg2 = (int) 0 ;
5429 PyObject * obj0 = 0 ;
994141e6 5430 PyObject * obj1 = 0 ;
d14a1e28
RD
5431 char *kwnames[] = {
5432 (char *) "self",(char *) "number", NULL
5433 };
5434
994141e6 5435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5436 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5437 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 5438 if (obj1) {
093d3ff1 5439 {
32fe5131 5440 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
5441 if (SWIG_arg_fail(2)) SWIG_fail;
5442 }
994141e6 5443 }
d14a1e28
RD
5444 {
5445 PyThreadState* __tstate = wxPyBeginAllowThreads();
5446 (arg1)->PopStatusText(arg2);
5447
5448 wxPyEndAllowThreads(__tstate);
5449 if (PyErr_Occurred()) SWIG_fail;
5450 }
5451 Py_INCREF(Py_None); resultobj = Py_None;
5452 return resultobj;
5453 fail:
5454 return NULL;
5455}
5456
5457
c32bde28 5458static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5459 PyObject *resultobj = NULL;
d14a1e28
RD
5460 wxFrame *arg1 = (wxFrame *) 0 ;
5461 int arg2 ;
5462 PyObject * obj0 = 0 ;
994141e6 5463 PyObject * obj1 = 0 ;
d14a1e28
RD
5464 char *kwnames[] = {
5465 (char *) "self",(char *) "n", NULL
5466 };
5467
994141e6 5468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5469 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5470 if (SWIG_arg_fail(1)) SWIG_fail;
5471 {
32fe5131 5472 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
5473 if (SWIG_arg_fail(2)) SWIG_fail;
5474 }
d14a1e28
RD
5475 {
5476 PyThreadState* __tstate = wxPyBeginAllowThreads();
5477 (arg1)->SetStatusBarPane(arg2);
5478
5479 wxPyEndAllowThreads(__tstate);
5480 if (PyErr_Occurred()) SWIG_fail;
5481 }
5482 Py_INCREF(Py_None); resultobj = Py_None;
5483 return resultobj;
5484 fail:
5485 return NULL;
5486}
5487
5488
c32bde28 5489static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5490 PyObject *resultobj = NULL;
d14a1e28
RD
5491 wxFrame *arg1 = (wxFrame *) 0 ;
5492 int result;
5493 PyObject * obj0 = 0 ;
5494 char *kwnames[] = {
5495 (char *) "self", NULL
5496 };
5497
5498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
093d3ff1
RD
5499 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5500 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5501 {
5502 PyThreadState* __tstate = wxPyBeginAllowThreads();
5503 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
5504
5505 wxPyEndAllowThreads(__tstate);
5506 if (PyErr_Occurred()) SWIG_fail;
5507 }
093d3ff1 5508 {
32fe5131 5509 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 5510 }
d14a1e28
RD
5511 return resultobj;
5512 fail:
5513 return NULL;
5514}
5515
5516
c32bde28 5517static PyObject *_wrap_Frame_CreateToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5518 PyObject *resultobj = NULL;
d14a1e28
RD
5519 wxFrame *arg1 = (wxFrame *) 0 ;
5520 long arg2 = (long) -1 ;
e811c8ce 5521 int arg3 = (int) -1 ;
d14a1e28
RD
5522 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
5523 wxString *arg4 = (wxString *) &arg4_defvalue ;
5524 wxToolBar *result;
ae8162c8 5525 bool temp4 = false ;
d14a1e28 5526 PyObject * obj0 = 0 ;
994141e6
RD
5527 PyObject * obj1 = 0 ;
5528 PyObject * obj2 = 0 ;
d14a1e28
RD
5529 PyObject * obj3 = 0 ;
5530 char *kwnames[] = {
5531 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
5532 };
5533
994141e6 5534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
5535 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5536 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 5537 if (obj1) {
093d3ff1 5538 {
32fe5131 5539 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
5540 if (SWIG_arg_fail(2)) SWIG_fail;
5541 }
994141e6
RD
5542 }
5543 if (obj2) {
093d3ff1 5544 {
32fe5131 5545 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
5546 if (SWIG_arg_fail(3)) SWIG_fail;
5547 }
994141e6 5548 }
d14a1e28
RD
5549 if (obj3) {
5550 {
5551 arg4 = wxString_in_helper(obj3);
5552 if (arg4 == NULL) SWIG_fail;
ae8162c8 5553 temp4 = true;
d14a1e28
RD
5554 }
5555 }
5556 {
5557 PyThreadState* __tstate = wxPyBeginAllowThreads();
5558 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
5559
5560 wxPyEndAllowThreads(__tstate);
5561 if (PyErr_Occurred()) SWIG_fail;
5562 }
5563 {
412d302d 5564 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
5565 }
5566 {
5567 if (temp4)
5568 delete arg4;
5569 }
5570 return resultobj;
5571 fail:
5572 {
5573 if (temp4)
5574 delete arg4;
5575 }
5576 return NULL;
5577}
5578
5579
c32bde28 5580static PyObject *_wrap_Frame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5581 PyObject *resultobj = NULL;
d14a1e28
RD
5582 wxFrame *arg1 = (wxFrame *) 0 ;
5583 wxToolBar *result;
5584 PyObject * obj0 = 0 ;
5585 char *kwnames[] = {
5586 (char *) "self", NULL
5587 };
5588
5589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
093d3ff1
RD
5590 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5591 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5592 {
5593 PyThreadState* __tstate = wxPyBeginAllowThreads();
5594 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
5595
5596 wxPyEndAllowThreads(__tstate);
5597 if (PyErr_Occurred()) SWIG_fail;
5598 }
5599 {
412d302d 5600 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
5601 }
5602 return resultobj;
5603 fail:
5604 return NULL;
5605}
5606
5607
c32bde28 5608static PyObject *_wrap_Frame_SetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5609 PyObject *resultobj = NULL;
d14a1e28
RD
5610 wxFrame *arg1 = (wxFrame *) 0 ;
5611 wxToolBar *arg2 = (wxToolBar *) 0 ;
5612 PyObject * obj0 = 0 ;
5613 PyObject * obj1 = 0 ;
5614 char *kwnames[] = {
5615 (char *) "self",(char *) "toolbar", NULL
5616 };
5617
5618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5619 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5620 if (SWIG_arg_fail(1)) SWIG_fail;
5621 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
5622 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
5623 {
5624 PyThreadState* __tstate = wxPyBeginAllowThreads();
5625 (arg1)->SetToolBar(arg2);
5626
5627 wxPyEndAllowThreads(__tstate);
5628 if (PyErr_Occurred()) SWIG_fail;
5629 }
5630 Py_INCREF(Py_None); resultobj = Py_None;
5631 return resultobj;
5632 fail:
5633 return NULL;
5634}
5635
5636
c32bde28 5637static PyObject *_wrap_Frame_DoGiveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5638 PyObject *resultobj = NULL;
d14a1e28
RD
5639 wxFrame *arg1 = (wxFrame *) 0 ;
5640 wxString *arg2 = 0 ;
5641 bool arg3 ;
ae8162c8 5642 bool temp2 = false ;
d14a1e28
RD
5643 PyObject * obj0 = 0 ;
5644 PyObject * obj1 = 0 ;
5645 PyObject * obj2 = 0 ;
5646 char *kwnames[] = {
5647 (char *) "self",(char *) "text",(char *) "show", NULL
5648 };
5649
5650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
5651 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5652 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5653 {
5654 arg2 = wxString_in_helper(obj1);
5655 if (arg2 == NULL) SWIG_fail;
ae8162c8 5656 temp2 = true;
d14a1e28 5657 }
093d3ff1 5658 {
32fe5131 5659 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
5660 if (SWIG_arg_fail(3)) SWIG_fail;
5661 }
d14a1e28
RD
5662 {
5663 PyThreadState* __tstate = wxPyBeginAllowThreads();
5664 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
5665
5666 wxPyEndAllowThreads(__tstate);
5667 if (PyErr_Occurred()) SWIG_fail;
5668 }
5669 Py_INCREF(Py_None); resultobj = Py_None;
5670 {
5671 if (temp2)
5672 delete arg2;
5673 }
5674 return resultobj;
5675 fail:
5676 {
5677 if (temp2)
5678 delete arg2;
5679 }
5680 return NULL;
5681}
5682
5683
c32bde28 5684static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5685 PyObject *resultobj = NULL;
d14a1e28
RD
5686 wxFrame *arg1 = (wxFrame *) 0 ;
5687 wxMenu *arg2 = (wxMenu *) NULL ;
5688 PyObject * obj0 = 0 ;
5689 PyObject * obj1 = 0 ;
5690 char *kwnames[] = {
5691 (char *) "self",(char *) "menu", NULL
5692 };
5693
5694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5695 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5696 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 5697 if (obj1) {
093d3ff1
RD
5698 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
5699 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
5700 }
5701 {
5702 PyThreadState* __tstate = wxPyBeginAllowThreads();
5703 (arg1)->DoMenuUpdates(arg2);
5704
5705 wxPyEndAllowThreads(__tstate);
5706 if (PyErr_Occurred()) SWIG_fail;
5707 }
5708 Py_INCREF(Py_None); resultobj = Py_None;
5709 return resultobj;
5710 fail:
5711 return NULL;
5712}
5713
5714
c32bde28 5715static PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5716 PyObject *resultobj = NULL;
093d3ff1 5717 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
5718 wxVisualAttributes result;
5719 PyObject * obj0 = 0 ;
5720 char *kwnames[] = {
5721 (char *) "variant", NULL
5722 };
5723
5724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5725 if (obj0) {
093d3ff1 5726 {
32fe5131 5727 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
5728 if (SWIG_arg_fail(1)) SWIG_fail;
5729 }
22bfe96c
RD
5730 }
5731 {
e3b71cb8 5732 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c 5733 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 5734 result = wxFrame::GetClassDefaultAttributes(arg1);
22bfe96c
RD
5735
5736 wxPyEndAllowThreads(__tstate);
110da5b0 5737 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
5738 }
5739 {
5740 wxVisualAttributes * resultptr;
32fe5131 5741 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
22bfe96c
RD
5742 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5743 }
5744 return resultobj;
5745 fail:
5746 return NULL;
5747}
5748
5749
c32bde28 5750static PyObject * Frame_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5751 PyObject *obj;
5752 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5753 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
5754 Py_INCREF(obj);
5755 return Py_BuildValue((char *)"");
5756}
c32bde28 5757static PyObject *_wrap_new_Dialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5758 PyObject *resultobj = NULL;
d14a1e28 5759 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
5760 int arg2 = (int) (int)-1 ;
5761 wxString const &arg3_defvalue = wxPyEmptyString ;
5762 wxString *arg3 = (wxString *) &arg3_defvalue ;
d14a1e28
RD
5763 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5764 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5765 wxSize const &arg5_defvalue = wxDefaultSize ;
5766 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5767 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
5768 wxString const &arg7_defvalue = wxPyDialogNameStr ;
5769 wxString *arg7 = (wxString *) &arg7_defvalue ;
5770 wxDialog *result;
ae8162c8 5771 bool temp3 = false ;
d14a1e28
RD
5772 wxPoint temp4 ;
5773 wxSize temp5 ;
ae8162c8 5774 bool temp7 = false ;
d14a1e28 5775 PyObject * obj0 = 0 ;
994141e6 5776 PyObject * obj1 = 0 ;
d14a1e28
RD
5777 PyObject * obj2 = 0 ;
5778 PyObject * obj3 = 0 ;
5779 PyObject * obj4 = 0 ;
994141e6 5780 PyObject * obj5 = 0 ;
d14a1e28
RD
5781 PyObject * obj6 = 0 ;
5782 char *kwnames[] = {
5783 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5784 };
5785
248ed943 5786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
5787 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5788 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 5789 if (obj1) {
093d3ff1 5790 {
32fe5131 5791 arg2 = static_cast<int const >(SWIG_As_int(obj1));
093d3ff1
RD
5792 if (SWIG_arg_fail(2)) SWIG_fail;
5793 }
248ed943
RD
5794 }
5795 if (obj2) {
5796 {
5797 arg3 = wxString_in_helper(obj2);
5798 if (arg3 == NULL) SWIG_fail;
ae8162c8 5799 temp3 = true;
248ed943 5800 }
d14a1e28
RD
5801 }
5802 if (obj3) {
5803 {
5804 arg4 = &temp4;
5805 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5806 }
5807 }
5808 if (obj4) {
5809 {
5810 arg5 = &temp5;
5811 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5812 }
5813 }
994141e6 5814 if (obj5) {
093d3ff1 5815 {
32fe5131 5816 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
5817 if (SWIG_arg_fail(6)) SWIG_fail;
5818 }
994141e6 5819 }
d14a1e28
RD
5820 if (obj6) {
5821 {
5822 arg7 = wxString_in_helper(obj6);
5823 if (arg7 == NULL) SWIG_fail;
ae8162c8 5824 temp7 = true;
d14a1e28
RD
5825 }
5826 }
5827 {
e3b71cb8 5828 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
5829 PyThreadState* __tstate = wxPyBeginAllowThreads();
5830 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5831
5832 wxPyEndAllowThreads(__tstate);
110da5b0 5833 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 5834 }
b0f7404b 5835 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
d14a1e28
RD
5836 {
5837 if (temp3)
5838 delete arg3;
5839 }
5840 {
5841 if (temp7)
5842 delete arg7;
5843 }
5844 return resultobj;
5845 fail:
5846 {
5847 if (temp3)
5848 delete arg3;
5849 }
5850 {
5851 if (temp7)
5852 delete arg7;
5853 }
5854 return NULL;
5855}
5856
5857
c32bde28 5858static PyObject *_wrap_new_PreDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5859 PyObject *resultobj = NULL;
d14a1e28
RD
5860 wxDialog *result;
5861 char *kwnames[] = {
5862 NULL
5863 };
5864
5865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
5866 {
e3b71cb8 5867 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
5868 PyThreadState* __tstate = wxPyBeginAllowThreads();
5869 result = (wxDialog *)new wxDialog();
5870
5871 wxPyEndAllowThreads(__tstate);
110da5b0 5872 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 5873 }
b0f7404b 5874 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
d14a1e28
RD
5875 return resultobj;
5876 fail:
5877 return NULL;
5878}
5879
5880
c32bde28 5881static PyObject *_wrap_Dialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5882 PyObject *resultobj = NULL;
d14a1e28
RD
5883 wxDialog *arg1 = (wxDialog *) 0 ;
5884 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
5885 int arg3 = (int) (int)-1 ;
5886 wxString const &arg4_defvalue = wxPyEmptyString ;
5887 wxString *arg4 = (wxString *) &arg4_defvalue ;
d14a1e28
RD
5888 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5889 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5890 wxSize const &arg6_defvalue = wxDefaultSize ;
5891 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5892 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
5893 wxString const &arg8_defvalue = wxPyDialogNameStr ;
5894 wxString *arg8 = (wxString *) &arg8_defvalue ;
5895 bool result;
ae8162c8 5896 bool temp4 = false ;
d14a1e28
RD
5897 wxPoint temp5 ;
5898 wxSize temp6 ;
ae8162c8 5899 bool temp8 = false ;
d14a1e28
RD
5900 PyObject * obj0 = 0 ;
5901 PyObject * obj1 = 0 ;
994141e6 5902 PyObject * obj2 = 0 ;
d14a1e28
RD
5903 PyObject * obj3 = 0 ;
5904 PyObject * obj4 = 0 ;
5905 PyObject * obj5 = 0 ;
994141e6 5906 PyObject * obj6 = 0 ;
d14a1e28
RD
5907 PyObject * obj7 = 0 ;
5908 char *kwnames[] = {
5909 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5910 };
5911
248ed943 5912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
5913 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5914 if (SWIG_arg_fail(1)) SWIG_fail;
5915 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5916 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 5917 if (obj2) {
093d3ff1 5918 {
32fe5131 5919 arg3 = static_cast<int const >(SWIG_As_int(obj2));
093d3ff1
RD
5920 if (SWIG_arg_fail(3)) SWIG_fail;
5921 }
248ed943
RD
5922 }
5923 if (obj3) {
5924 {
5925 arg4 = wxString_in_helper(obj3);
5926 if (arg4 == NULL) SWIG_fail;
ae8162c8 5927 temp4 = true;
248ed943 5928 }
d14a1e28
RD
5929 }
5930 if (obj4) {
5931 {
5932 arg5 = &temp5;
5933 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5934 }
5935 }
5936 if (obj5) {
5937 {
5938 arg6 = &temp6;
5939 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5940 }
5941 }
994141e6 5942 if (obj6) {
093d3ff1 5943 {
32fe5131 5944 arg7 = static_cast<long >(SWIG_As_long(obj6));
093d3ff1
RD
5945 if (SWIG_arg_fail(7)) SWIG_fail;
5946 }
994141e6 5947 }
d14a1e28
RD
5948 if (obj7) {
5949 {
5950 arg8 = wxString_in_helper(obj7);
5951 if (arg8 == NULL) SWIG_fail;
ae8162c8 5952 temp8 = true;
d14a1e28
RD
5953 }
5954 }
5955 {
5956 PyThreadState* __tstate = wxPyBeginAllowThreads();
5957 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
5958
5959 wxPyEndAllowThreads(__tstate);
5960 if (PyErr_Occurred()) SWIG_fail;
5961 }
4f89f6a3
RD
5962 {
5963 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5964 }
d14a1e28
RD
5965 {
5966 if (temp4)
5967 delete arg4;
5968 }
5969 {
5970 if (temp8)
5971 delete arg8;
5972 }
5973 return resultobj;
5974 fail:
5975 {
5976 if (temp4)
5977 delete arg4;
5978 }
5979 {
5980 if (temp8)
5981 delete arg8;
5982 }
5983 return NULL;
5984}
5985
5986
c32bde28 5987static PyObject *_wrap_Dialog_SetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5988 PyObject *resultobj = NULL;
d14a1e28
RD
5989 wxDialog *arg1 = (wxDialog *) 0 ;
5990 int arg2 ;
5991 PyObject * obj0 = 0 ;
994141e6 5992 PyObject * obj1 = 0 ;
d14a1e28
RD
5993 char *kwnames[] = {
5994 (char *) "self",(char *) "returnCode", NULL
5995 };
5996
994141e6 5997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5998 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5999 if (SWIG_arg_fail(1)) SWIG_fail;
6000 {
32fe5131 6001 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
6002 if (SWIG_arg_fail(2)) SWIG_fail;
6003 }
d14a1e28
RD
6004 {
6005 PyThreadState* __tstate = wxPyBeginAllowThreads();
6006 (arg1)->SetReturnCode(arg2);
6007
6008 wxPyEndAllowThreads(__tstate);
6009 if (PyErr_Occurred()) SWIG_fail;
6010 }
6011 Py_INCREF(Py_None); resultobj = Py_None;
6012 return resultobj;
6013 fail:
6014 return NULL;
6015}
6016
6017
c32bde28 6018static PyObject *_wrap_Dialog_GetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6019 PyObject *resultobj = NULL;
d14a1e28
RD
6020 wxDialog *arg1 = (wxDialog *) 0 ;
6021 int result;
6022 PyObject * obj0 = 0 ;
6023 char *kwnames[] = {
6024 (char *) "self", NULL
6025 };
6026
6027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
093d3ff1
RD
6028 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6029 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6030 {
6031 PyThreadState* __tstate = wxPyBeginAllowThreads();
6032 result = (int)((wxDialog const *)arg1)->GetReturnCode();
6033
6034 wxPyEndAllowThreads(__tstate);
6035 if (PyErr_Occurred()) SWIG_fail;
6036 }
093d3ff1 6037 {
32fe5131 6038 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 6039 }
d14a1e28
RD
6040 return resultobj;
6041 fail:
6042 return NULL;
6043}
6044
6045
c32bde28 6046static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6047 PyObject *resultobj = NULL;
d14a1e28
RD
6048 wxDialog *arg1 = (wxDialog *) 0 ;
6049 wxString *arg2 = 0 ;
6050 wxSizer *result;
ae8162c8 6051 bool temp2 = false ;
d14a1e28
RD
6052 PyObject * obj0 = 0 ;
6053 PyObject * obj1 = 0 ;
6054 char *kwnames[] = {
6055 (char *) "self",(char *) "message", NULL
6056 };
6057
6058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6059 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6060 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6061 {
6062 arg2 = wxString_in_helper(obj1);
6063 if (arg2 == NULL) SWIG_fail;
ae8162c8 6064 temp2 = true;
d14a1e28
RD
6065 }
6066 {
6067 PyThreadState* __tstate = wxPyBeginAllowThreads();
6068 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
6069
6070 wxPyEndAllowThreads(__tstate);
6071 if (PyErr_Occurred()) SWIG_fail;
6072 }
6073 {
7a27cf7c 6074 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
6075 }
6076 {
6077 if (temp2)
6078 delete arg2;
6079 }
6080 return resultobj;
6081 fail:
6082 {
6083 if (temp2)
6084 delete arg2;
6085 }
6086 return NULL;
6087}
6088
6089
c32bde28 6090static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6091 PyObject *resultobj = NULL;
d14a1e28
RD
6092 wxDialog *arg1 = (wxDialog *) 0 ;
6093 long arg2 ;
32fe5131
RD
6094 bool arg3 = (bool) false ;
6095 int arg4 = (int) 0 ;
d14a1e28
RD
6096 wxSizer *result;
6097 PyObject * obj0 = 0 ;
994141e6 6098 PyObject * obj1 = 0 ;
32fe5131
RD
6099 PyObject * obj2 = 0 ;
6100 PyObject * obj3 = 0 ;
d14a1e28 6101 char *kwnames[] = {
32fe5131 6102 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
d14a1e28
RD
6103 };
6104
32fe5131 6105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
6106 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6107 if (SWIG_arg_fail(1)) SWIG_fail;
6108 {
32fe5131 6109 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
6110 if (SWIG_arg_fail(2)) SWIG_fail;
6111 }
32fe5131
RD
6112 if (obj2) {
6113 {
6114 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
6115 if (SWIG_arg_fail(3)) SWIG_fail;
6116 }
6117 }
6118 if (obj3) {
6119 {
6120 arg4 = static_cast<int >(SWIG_As_int(obj3));
6121 if (SWIG_arg_fail(4)) SWIG_fail;
6122 }
6123 }
d14a1e28
RD
6124 {
6125 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 6126 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2,arg3,arg4);
d14a1e28
RD
6127
6128 wxPyEndAllowThreads(__tstate);
6129 if (PyErr_Occurred()) SWIG_fail;
6130 }
6131 {
7a27cf7c 6132 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
6133 }
6134 return resultobj;
6135 fail:
6136 return NULL;
6137}
6138
6139
e505d15e 6140static PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6141 PyObject *resultobj = NULL;
e505d15e
RD
6142 wxDialog *arg1 = (wxDialog *) 0 ;
6143 long arg2 ;
6144 wxStdDialogButtonSizer *result;
6145 PyObject * obj0 = 0 ;
6146 PyObject * obj1 = 0 ;
6147 char *kwnames[] = {
6148 (char *) "self",(char *) "flags", NULL
6149 };
6150
6151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) goto fail;
6152 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6153 if (SWIG_arg_fail(1)) SWIG_fail;
6154 {
32fe5131 6155 arg2 = static_cast<long >(SWIG_As_long(obj1));
e505d15e
RD
6156 if (SWIG_arg_fail(2)) SWIG_fail;
6157 }
6158 {
6159 PyThreadState* __tstate = wxPyBeginAllowThreads();
6160 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
6161
6162 wxPyEndAllowThreads(__tstate);
6163 if (PyErr_Occurred()) SWIG_fail;
6164 }
6165 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0);
6166 return resultobj;
6167 fail:
6168 return NULL;
6169}
6170
6171
c32bde28 6172static PyObject *_wrap_Dialog_IsModal(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6173 PyObject *resultobj = NULL;
d14a1e28
RD
6174 wxDialog *arg1 = (wxDialog *) 0 ;
6175 bool result;
6176 PyObject * obj0 = 0 ;
6177 char *kwnames[] = {
6178 (char *) "self", NULL
6179 };
6180
6181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
093d3ff1
RD
6182 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6183 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6184 {
6185 PyThreadState* __tstate = wxPyBeginAllowThreads();
6186 result = (bool)((wxDialog const *)arg1)->IsModal();
6187
6188 wxPyEndAllowThreads(__tstate);
6189 if (PyErr_Occurred()) SWIG_fail;
6190 }
4f89f6a3
RD
6191 {
6192 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6193 }
d14a1e28
RD
6194 return resultobj;
6195 fail:
6196 return NULL;
6197}
6198
6199
c32bde28 6200static PyObject *_wrap_Dialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6201 PyObject *resultobj = NULL;
d14a1e28
RD
6202 wxDialog *arg1 = (wxDialog *) 0 ;
6203 int result;
6204 PyObject * obj0 = 0 ;
6205 char *kwnames[] = {
6206 (char *) "self", NULL
6207 };
6208
6209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
093d3ff1
RD
6210 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6211 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6212 {
6213 PyThreadState* __tstate = wxPyBeginAllowThreads();
6214 result = (int)(arg1)->ShowModal();
6215
6216 wxPyEndAllowThreads(__tstate);
6217 if (PyErr_Occurred()) SWIG_fail;
6218 }
093d3ff1 6219 {
32fe5131 6220 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 6221 }
d14a1e28
RD
6222 return resultobj;
6223 fail:
6224 return NULL;
6225}
6226
6227
c32bde28 6228static PyObject *_wrap_Dialog_EndModal(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6229 PyObject *resultobj = NULL;
d14a1e28
RD
6230 wxDialog *arg1 = (wxDialog *) 0 ;
6231 int arg2 ;
6232 PyObject * obj0 = 0 ;
994141e6 6233 PyObject * obj1 = 0 ;
d14a1e28
RD
6234 char *kwnames[] = {
6235 (char *) "self",(char *) "retCode", NULL
6236 };
6237
994141e6 6238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6239 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6240 if (SWIG_arg_fail(1)) SWIG_fail;
6241 {
32fe5131 6242 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
6243 if (SWIG_arg_fail(2)) SWIG_fail;
6244 }
d14a1e28
RD
6245 {
6246 PyThreadState* __tstate = wxPyBeginAllowThreads();
6247 (arg1)->EndModal(arg2);
6248
6249 wxPyEndAllowThreads(__tstate);
6250 if (PyErr_Occurred()) SWIG_fail;
6251 }
6252 Py_INCREF(Py_None); resultobj = Py_None;
6253 return resultobj;
6254 fail:
6255 return NULL;
6256}
6257
6258
c32bde28 6259static PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6260 PyObject *resultobj = NULL;
093d3ff1 6261 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
6262 wxVisualAttributes result;
6263 PyObject * obj0 = 0 ;
6264 char *kwnames[] = {
6265 (char *) "variant", NULL
6266 };
6267
6268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6269 if (obj0) {
093d3ff1 6270 {
32fe5131 6271 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
6272 if (SWIG_arg_fail(1)) SWIG_fail;
6273 }
22bfe96c
RD
6274 }
6275 {
e3b71cb8 6276 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c 6277 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 6278 result = wxDialog::GetClassDefaultAttributes(arg1);
22bfe96c
RD
6279
6280 wxPyEndAllowThreads(__tstate);
110da5b0 6281 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
6282 }
6283 {
6284 wxVisualAttributes * resultptr;
32fe5131 6285 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
22bfe96c
RD
6286 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6287 }
6288 return resultobj;
6289 fail:
6290 return NULL;
6291}
6292
6293
c32bde28 6294static PyObject * Dialog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6295 PyObject *obj;
6296 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6297 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
6298 Py_INCREF(obj);
6299 return Py_BuildValue((char *)"");
6300}
c32bde28 6301static PyObject *_wrap_new_MiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6302 PyObject *resultobj = NULL;
d14a1e28 6303 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
6304 int arg2 = (int) (int)-1 ;
6305 wxString const &arg3_defvalue = wxPyEmptyString ;
6306 wxString *arg3 = (wxString *) &arg3_defvalue ;
d14a1e28
RD
6307 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6308 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6309 wxSize const &arg5_defvalue = wxDefaultSize ;
6310 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6311 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6312 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6313 wxString *arg7 = (wxString *) &arg7_defvalue ;
6314 wxMiniFrame *result;
ae8162c8 6315 bool temp3 = false ;
d14a1e28
RD
6316 wxPoint temp4 ;
6317 wxSize temp5 ;
ae8162c8 6318 bool temp7 = false ;
d14a1e28 6319 PyObject * obj0 = 0 ;
994141e6 6320 PyObject * obj1 = 0 ;
d14a1e28
RD
6321 PyObject * obj2 = 0 ;
6322 PyObject * obj3 = 0 ;
6323 PyObject * obj4 = 0 ;
994141e6 6324 PyObject * obj5 = 0 ;
d14a1e28
RD
6325 PyObject * obj6 = 0 ;
6326 char *kwnames[] = {
6327 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6328 };
6329
248ed943 6330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
6331 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6332 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 6333 if (obj1) {
093d3ff1 6334 {
32fe5131 6335 arg2 = static_cast<int const >(SWIG_As_int(obj1));
093d3ff1
RD
6336 if (SWIG_arg_fail(2)) SWIG_fail;
6337 }
248ed943
RD
6338 }
6339 if (obj2) {
6340 {
6341 arg3 = wxString_in_helper(obj2);
6342 if (arg3 == NULL) SWIG_fail;
ae8162c8 6343 temp3 = true;
248ed943 6344 }
d14a1e28
RD
6345 }
6346 if (obj3) {
6347 {
6348 arg4 = &temp4;
6349 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6350 }
6351 }
6352 if (obj4) {
6353 {
6354 arg5 = &temp5;
6355 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6356 }
6357 }
994141e6 6358 if (obj5) {
093d3ff1 6359 {
32fe5131 6360 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
6361 if (SWIG_arg_fail(6)) SWIG_fail;
6362 }
994141e6 6363 }
d14a1e28
RD
6364 if (obj6) {
6365 {
6366 arg7 = wxString_in_helper(obj6);
6367 if (arg7 == NULL) SWIG_fail;
ae8162c8 6368 temp7 = true;
d14a1e28
RD
6369 }
6370 }
6371 {
e3b71cb8 6372 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
6373 PyThreadState* __tstate = wxPyBeginAllowThreads();
6374 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6375
6376 wxPyEndAllowThreads(__tstate);
110da5b0 6377 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6378 }
15afbcd0 6379 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
d14a1e28
RD
6380 {
6381 if (temp3)
6382 delete arg3;
6383 }
6384 {
6385 if (temp7)
6386 delete arg7;
6387 }
6388 return resultobj;
6389 fail:
6390 {
6391 if (temp3)
6392 delete arg3;
6393 }
6394 {
6395 if (temp7)
6396 delete arg7;
6397 }
6398 return NULL;
6399}
6400
6401
c32bde28 6402static PyObject *_wrap_new_PreMiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6403 PyObject *resultobj = NULL;
d14a1e28
RD
6404 wxMiniFrame *result;
6405 char *kwnames[] = {
6406 NULL
6407 };
6408
6409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
6410 {
e3b71cb8 6411 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
6412 PyThreadState* __tstate = wxPyBeginAllowThreads();
6413 result = (wxMiniFrame *)new wxMiniFrame();
6414
6415 wxPyEndAllowThreads(__tstate);
110da5b0 6416 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6417 }
15afbcd0 6418 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
d14a1e28
RD
6419 return resultobj;
6420 fail:
6421 return NULL;
6422}
6423
6424
c32bde28 6425static PyObject *_wrap_MiniFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6426 PyObject *resultobj = NULL;
d14a1e28
RD
6427 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
6428 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
6429 int arg3 = (int) (int)-1 ;
6430 wxString const &arg4_defvalue = wxPyEmptyString ;
6431 wxString *arg4 = (wxString *) &arg4_defvalue ;
d14a1e28
RD
6432 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6433 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6434 wxSize const &arg6_defvalue = wxDefaultSize ;
6435 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6436 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6437 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6438 wxString *arg8 = (wxString *) &arg8_defvalue ;
6439 bool result;
ae8162c8 6440 bool temp4 = false ;
d14a1e28
RD
6441 wxPoint temp5 ;
6442 wxSize temp6 ;
ae8162c8 6443 bool temp8 = false ;
d14a1e28
RD
6444 PyObject * obj0 = 0 ;
6445 PyObject * obj1 = 0 ;
994141e6 6446 PyObject * obj2 = 0 ;
d14a1e28
RD
6447 PyObject * obj3 = 0 ;
6448 PyObject * obj4 = 0 ;
6449 PyObject * obj5 = 0 ;
994141e6 6450 PyObject * obj6 = 0 ;
d14a1e28
RD
6451 PyObject * obj7 = 0 ;
6452 char *kwnames[] = {
6453 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6454 };
6455
248ed943 6456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
6457 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_EXCEPTION | 0);
6458 if (SWIG_arg_fail(1)) SWIG_fail;
6459 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6460 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 6461 if (obj2) {
093d3ff1 6462 {
32fe5131 6463 arg3 = static_cast<int const >(SWIG_As_int(obj2));
093d3ff1
RD
6464 if (SWIG_arg_fail(3)) SWIG_fail;
6465 }
248ed943
RD
6466 }
6467 if (obj3) {
6468 {
6469 arg4 = wxString_in_helper(obj3);
6470 if (arg4 == NULL) SWIG_fail;
ae8162c8 6471 temp4 = true;
248ed943 6472 }
d14a1e28
RD
6473 }
6474 if (obj4) {
6475 {
6476 arg5 = &temp5;
6477 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6478 }
6479 }
6480 if (obj5) {
6481 {
6482 arg6 = &temp6;
6483 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6484 }
6485 }
994141e6 6486 if (obj6) {
093d3ff1 6487 {
32fe5131 6488 arg7 = static_cast<long >(SWIG_As_long(obj6));
093d3ff1
RD
6489 if (SWIG_arg_fail(7)) SWIG_fail;
6490 }
994141e6 6491 }
d14a1e28
RD
6492 if (obj7) {
6493 {
6494 arg8 = wxString_in_helper(obj7);
6495 if (arg8 == NULL) SWIG_fail;
ae8162c8 6496 temp8 = true;
d14a1e28
RD
6497 }
6498 }
6499 {
6500 PyThreadState* __tstate = wxPyBeginAllowThreads();
6501 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6502
6503 wxPyEndAllowThreads(__tstate);
6504 if (PyErr_Occurred()) SWIG_fail;
6505 }
4f89f6a3
RD
6506 {
6507 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6508 }
d14a1e28
RD
6509 {
6510 if (temp4)
6511 delete arg4;
6512 }
6513 {
6514 if (temp8)
6515 delete arg8;
6516 }
6517 return resultobj;
6518 fail:
6519 {
6520 if (temp4)
6521 delete arg4;
6522 }
6523 {
6524 if (temp8)
6525 delete arg8;
6526 }
6527 return NULL;
6528}
6529
6530
c32bde28 6531static PyObject * MiniFrame_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6532 PyObject *obj;
6533 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6534 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
6535 Py_INCREF(obj);
6536 return Py_BuildValue((char *)"");
6537}
c32bde28 6538static PyObject *_wrap_new_SplashScreenWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6539 PyObject *resultobj = NULL;
d14a1e28
RD
6540 wxBitmap *arg1 = 0 ;
6541 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 6542 int arg3 ;
d14a1e28
RD
6543 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6544 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6545 wxSize const &arg5_defvalue = wxDefaultSize ;
6546 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6547 long arg6 = (long) wxNO_BORDER ;
6548 wxSplashScreenWindow *result;
6549 wxPoint temp4 ;
6550 wxSize temp5 ;
6551 PyObject * obj0 = 0 ;
6552 PyObject * obj1 = 0 ;
994141e6 6553 PyObject * obj2 = 0 ;
d14a1e28
RD
6554 PyObject * obj3 = 0 ;
6555 PyObject * obj4 = 0 ;
994141e6 6556 PyObject * obj5 = 0 ;
d14a1e28
RD
6557 char *kwnames[] = {
6558 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6559 };
6560
994141e6 6561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
6562 {
6563 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6564 if (SWIG_arg_fail(1)) SWIG_fail;
6565 if (arg1 == NULL) {
6566 SWIG_null_ref("wxBitmap");
6567 }
6568 if (SWIG_arg_fail(1)) SWIG_fail;
6569 }
6570 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6571 if (SWIG_arg_fail(2)) SWIG_fail;
6572 {
32fe5131 6573 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
6574 if (SWIG_arg_fail(3)) SWIG_fail;
6575 }
d14a1e28
RD
6576 if (obj3) {
6577 {
6578 arg4 = &temp4;
6579 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6580 }
6581 }
6582 if (obj4) {
6583 {
6584 arg5 = &temp5;
6585 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6586 }
6587 }
994141e6 6588 if (obj5) {
093d3ff1 6589 {
32fe5131 6590 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
6591 if (SWIG_arg_fail(6)) SWIG_fail;
6592 }
994141e6 6593 }
d14a1e28 6594 {
e3b71cb8 6595 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
6596 PyThreadState* __tstate = wxPyBeginAllowThreads();
6597 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
6598
6599 wxPyEndAllowThreads(__tstate);
110da5b0 6600 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6601 }
15afbcd0 6602 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
d14a1e28
RD
6603 return resultobj;
6604 fail:
6605 return NULL;
6606}
6607
6608
c32bde28 6609static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6610 PyObject *resultobj = NULL;
d14a1e28
RD
6611 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
6612 wxBitmap *arg2 = 0 ;
6613 PyObject * obj0 = 0 ;
6614 PyObject * obj1 = 0 ;
6615 char *kwnames[] = {
6616 (char *) "self",(char *) "bitmap", NULL
6617 };
6618
6619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6620 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_EXCEPTION | 0);
6621 if (SWIG_arg_fail(1)) SWIG_fail;
6622 {
6623 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6624 if (SWIG_arg_fail(2)) SWIG_fail;
6625 if (arg2 == NULL) {
6626 SWIG_null_ref("wxBitmap");
6627 }
6628 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
6629 }
6630 {
6631 PyThreadState* __tstate = wxPyBeginAllowThreads();
6632 (arg1)->SetBitmap((wxBitmap const &)*arg2);
6633
6634 wxPyEndAllowThreads(__tstate);
6635 if (PyErr_Occurred()) SWIG_fail;
6636 }
6637 Py_INCREF(Py_None); resultobj = Py_None;
6638 return resultobj;
6639 fail:
6640 return NULL;
6641}
6642
6643
c32bde28 6644static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6645 PyObject *resultobj = NULL;
d14a1e28
RD
6646 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
6647 wxBitmap *result;
6648 PyObject * obj0 = 0 ;
6649 char *kwnames[] = {
6650 (char *) "self", NULL
6651 };
6652
6653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
093d3ff1
RD
6654 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_EXCEPTION | 0);
6655 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6656 {
6657 PyThreadState* __tstate = wxPyBeginAllowThreads();
6658 {
6659 wxBitmap &_result_ref = (arg1)->GetBitmap();
6660 result = (wxBitmap *) &_result_ref;
6661 }
6662
6663 wxPyEndAllowThreads(__tstate);
6664 if (PyErr_Occurred()) SWIG_fail;
6665 }
4276dc52
RD
6666 {
6667 wxBitmap* resultptr = new wxBitmap(*result);
6668 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
6669 }
d14a1e28
RD
6670 return resultobj;
6671 fail:
6672 return NULL;
6673}
6674
6675
c32bde28 6676static PyObject * SplashScreenWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6677 PyObject *obj;
6678 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6679 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
6680 Py_INCREF(obj);
6681 return Py_BuildValue((char *)"");
6682}
c32bde28 6683static PyObject *_wrap_new_SplashScreen(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6684 PyObject *resultobj = NULL;
d14a1e28
RD
6685 wxBitmap *arg1 = 0 ;
6686 long arg2 ;
6687 int arg3 ;
6688 wxWindow *arg4 = (wxWindow *) 0 ;
248ed943 6689 int arg5 = (int) -1 ;
d14a1e28
RD
6690 wxPoint const &arg6_defvalue = wxDefaultPosition ;
6691 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
6692 wxSize const &arg7_defvalue = wxDefaultSize ;
6693 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
6694 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
6695 wxSplashScreen *result;
6696 wxPoint temp6 ;
6697 wxSize temp7 ;
6698 PyObject * obj0 = 0 ;
994141e6
RD
6699 PyObject * obj1 = 0 ;
6700 PyObject * obj2 = 0 ;
d14a1e28 6701 PyObject * obj3 = 0 ;
994141e6 6702 PyObject * obj4 = 0 ;
d14a1e28
RD
6703 PyObject * obj5 = 0 ;
6704 PyObject * obj6 = 0 ;
994141e6 6705 PyObject * obj7 = 0 ;
d14a1e28
RD
6706 char *kwnames[] = {
6707 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6708 };
6709
248ed943 6710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
6711 {
6712 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6713 if (SWIG_arg_fail(1)) SWIG_fail;
6714 if (arg1 == NULL) {
6715 SWIG_null_ref("wxBitmap");
6716 }
6717 if (SWIG_arg_fail(1)) SWIG_fail;
6718 }
6719 {
32fe5131 6720 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
6721 if (SWIG_arg_fail(2)) SWIG_fail;
6722 }
6723 {
32fe5131 6724 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
6725 if (SWIG_arg_fail(3)) SWIG_fail;
6726 }
6727 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6728 if (SWIG_arg_fail(4)) SWIG_fail;
248ed943 6729 if (obj4) {
093d3ff1 6730 {
32fe5131 6731 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
6732 if (SWIG_arg_fail(5)) SWIG_fail;
6733 }
248ed943 6734 }
d14a1e28
RD
6735 if (obj5) {
6736 {
6737 arg6 = &temp6;
6738 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
6739 }
6740 }
6741 if (obj6) {
6742 {
6743 arg7 = &temp7;
6744 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
6745 }
6746 }
994141e6 6747 if (obj7) {
093d3ff1 6748 {
32fe5131 6749 arg8 = static_cast<long >(SWIG_As_long(obj7));
093d3ff1
RD
6750 if (SWIG_arg_fail(8)) SWIG_fail;
6751 }
994141e6 6752 }
d14a1e28 6753 {
e3b71cb8 6754 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
6755 PyThreadState* __tstate = wxPyBeginAllowThreads();
6756 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
6757
6758 wxPyEndAllowThreads(__tstate);
110da5b0 6759 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6760 }
15afbcd0 6761 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
d14a1e28
RD
6762 return resultobj;
6763 fail:
6764 return NULL;
6765}
6766
6767
c32bde28 6768static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6769 PyObject *resultobj = NULL;
d14a1e28
RD
6770 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
6771 long result;
6772 PyObject * obj0 = 0 ;
6773 char *kwnames[] = {
6774 (char *) "self", NULL
6775 };
6776
6777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
093d3ff1
RD
6778 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0);
6779 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6780 {
6781 PyThreadState* __tstate = wxPyBeginAllowThreads();
6782 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
6783
6784 wxPyEndAllowThreads(__tstate);
6785 if (PyErr_Occurred()) SWIG_fail;
6786 }
093d3ff1 6787 {
32fe5131 6788 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 6789 }
d14a1e28
RD
6790 return resultobj;
6791 fail:
6792 return NULL;
6793}
6794
6795
c32bde28 6796static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6797 PyObject *resultobj = NULL;
d14a1e28
RD
6798 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
6799 wxSplashScreenWindow *result;
6800 PyObject * obj0 = 0 ;
6801 char *kwnames[] = {
6802 (char *) "self", NULL
6803 };
6804
6805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
6806 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0);
6807 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6808 {
6809 PyThreadState* __tstate = wxPyBeginAllowThreads();
6810 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
6811
6812 wxPyEndAllowThreads(__tstate);
6813 if (PyErr_Occurred()) SWIG_fail;
6814 }
15afbcd0 6815 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
d14a1e28
RD
6816 return resultobj;
6817 fail:
6818 return NULL;
6819}
6820
6821
c32bde28 6822static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6823 PyObject *resultobj = NULL;
d14a1e28
RD
6824 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
6825 int result;
6826 PyObject * obj0 = 0 ;
6827 char *kwnames[] = {
6828 (char *) "self", NULL
6829 };
6830
6831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
093d3ff1
RD
6832 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0);
6833 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6834 {
6835 PyThreadState* __tstate = wxPyBeginAllowThreads();
6836 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
6837
6838 wxPyEndAllowThreads(__tstate);
6839 if (PyErr_Occurred()) SWIG_fail;
6840 }
093d3ff1 6841 {
32fe5131 6842 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 6843 }
d14a1e28
RD
6844 return resultobj;
6845 fail:
6846 return NULL;
6847}
6848
6849
c32bde28 6850static PyObject * SplashScreen_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6851 PyObject *obj;
6852 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6853 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
6854 Py_INCREF(obj);
6855 return Py_BuildValue((char *)"");
6856}
c32bde28 6857static PyObject *_wrap_new_StatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6858 PyObject *resultobj = NULL;
d14a1e28 6859 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 6860 int arg2 = (int) -1 ;
6d88e192 6861 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
d14a1e28
RD
6862 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
6863 wxString *arg4 = (wxString *) &arg4_defvalue ;
6864 wxStatusBar *result;
ae8162c8 6865 bool temp4 = false ;
d14a1e28 6866 PyObject * obj0 = 0 ;
994141e6
RD
6867 PyObject * obj1 = 0 ;
6868 PyObject * obj2 = 0 ;
d14a1e28
RD
6869 PyObject * obj3 = 0 ;
6870 char *kwnames[] = {
6871 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6872 };
6873
994141e6 6874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
6875 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6876 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 6877 if (obj1) {
093d3ff1 6878 {
32fe5131 6879 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
6880 if (SWIG_arg_fail(2)) SWIG_fail;
6881 }
994141e6
RD
6882 }
6883 if (obj2) {
093d3ff1 6884 {
32fe5131 6885 arg3 = static_cast<long >(SWIG_As_long(obj2));
093d3ff1
RD
6886 if (SWIG_arg_fail(3)) SWIG_fail;
6887 }
994141e6 6888 }
d14a1e28
RD
6889 if (obj3) {
6890 {
6891 arg4 = wxString_in_helper(obj3);
6892 if (arg4 == NULL) SWIG_fail;
ae8162c8 6893 temp4 = true;
d14a1e28
RD
6894 }
6895 }
6896 {
e3b71cb8 6897 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
6898 PyThreadState* __tstate = wxPyBeginAllowThreads();
6899 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
6900
6901 wxPyEndAllowThreads(__tstate);
110da5b0 6902 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6903 }
b0f7404b 6904 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
d14a1e28
RD
6905 {
6906 if (temp4)
6907 delete arg4;
6908 }
6909 return resultobj;
6910 fail:
6911 {
6912 if (temp4)
6913 delete arg4;
6914 }
6915 return NULL;
6916}
6917
6918
c32bde28 6919static PyObject *_wrap_new_PreStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6920 PyObject *resultobj = NULL;
d14a1e28
RD
6921 wxStatusBar *result;
6922 char *kwnames[] = {
6923 NULL
6924 };
6925
6926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
6927 {
e3b71cb8 6928 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
6929 PyThreadState* __tstate = wxPyBeginAllowThreads();
6930 result = (wxStatusBar *)new wxStatusBar();
6931
6932 wxPyEndAllowThreads(__tstate);
110da5b0 6933 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6934 }
b0f7404b 6935 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
d14a1e28
RD
6936 return resultobj;
6937 fail:
6938 return NULL;
6939}
6940
6941
c32bde28 6942static PyObject *_wrap_StatusBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6943 PyObject *resultobj = NULL;
d14a1e28
RD
6944 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6945 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 6946 int arg3 = (int) -1 ;
d14a1e28
RD
6947 long arg4 = (long) wxST_SIZEGRIP ;
6948 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6949 wxString *arg5 = (wxString *) &arg5_defvalue ;
6950 bool result;
ae8162c8 6951 bool temp5 = false ;
d14a1e28
RD
6952 PyObject * obj0 = 0 ;
6953 PyObject * obj1 = 0 ;
994141e6
RD
6954 PyObject * obj2 = 0 ;
6955 PyObject * obj3 = 0 ;
d14a1e28
RD
6956 PyObject * obj4 = 0 ;
6957 char *kwnames[] = {
6958 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6959 };
6960
248ed943 6961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
6962 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6963 if (SWIG_arg_fail(1)) SWIG_fail;
6964 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6965 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 6966 if (obj2) {
093d3ff1 6967 {
32fe5131 6968 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
6969 if (SWIG_arg_fail(3)) SWIG_fail;
6970 }
248ed943 6971 }
994141e6 6972 if (obj3) {
093d3ff1 6973 {
32fe5131 6974 arg4 = static_cast<long >(SWIG_As_long(obj3));
093d3ff1
RD
6975 if (SWIG_arg_fail(4)) SWIG_fail;
6976 }
994141e6 6977 }
d14a1e28
RD
6978 if (obj4) {
6979 {
6980 arg5 = wxString_in_helper(obj4);
6981 if (arg5 == NULL) SWIG_fail;
ae8162c8 6982 temp5 = true;
d14a1e28
RD
6983 }
6984 }
6985 {
6986 PyThreadState* __tstate = wxPyBeginAllowThreads();
6987 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
6988
6989 wxPyEndAllowThreads(__tstate);
6990 if (PyErr_Occurred()) SWIG_fail;
6991 }
4f89f6a3
RD
6992 {
6993 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6994 }
d14a1e28
RD
6995 {
6996 if (temp5)
6997 delete arg5;
6998 }
6999 return resultobj;
7000 fail:
7001 {
7002 if (temp5)
7003 delete arg5;
7004 }
7005 return NULL;
7006}
7007
7008
c32bde28 7009static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7010 PyObject *resultobj = NULL;
d14a1e28
RD
7011 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7012 int arg2 = (int) 1 ;
7013 PyObject * obj0 = 0 ;
994141e6 7014 PyObject * obj1 = 0 ;
d14a1e28
RD
7015 char *kwnames[] = {
7016 (char *) "self",(char *) "number", NULL
7017 };
7018
994141e6 7019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7020 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7021 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 7022 if (obj1) {
093d3ff1 7023 {
32fe5131 7024 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
7025 if (SWIG_arg_fail(2)) SWIG_fail;
7026 }
994141e6 7027 }
d14a1e28
RD
7028 {
7029 PyThreadState* __tstate = wxPyBeginAllowThreads();
7030 (arg1)->SetFieldsCount(arg2);
7031
7032 wxPyEndAllowThreads(__tstate);
7033 if (PyErr_Occurred()) SWIG_fail;
7034 }
7035 Py_INCREF(Py_None); resultobj = Py_None;
7036 return resultobj;
7037 fail:
7038 return NULL;
7039}
7040
7041
c32bde28 7042static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7043 PyObject *resultobj = NULL;
d14a1e28
RD
7044 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7045 int result;
7046 PyObject * obj0 = 0 ;
7047 char *kwnames[] = {
7048 (char *) "self", NULL
7049 };
7050
7051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
7052 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7053 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7054 {
7055 PyThreadState* __tstate = wxPyBeginAllowThreads();
7056 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
7057
7058 wxPyEndAllowThreads(__tstate);
7059 if (PyErr_Occurred()) SWIG_fail;
7060 }
093d3ff1 7061 {
32fe5131 7062 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 7063 }
d14a1e28
RD
7064 return resultobj;
7065 fail:
7066 return NULL;
7067}
7068
7069
c32bde28 7070static PyObject *_wrap_StatusBar_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7071 PyObject *resultobj = NULL;
d14a1e28
RD
7072 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7073 wxString *arg2 = 0 ;
7074 int arg3 = (int) 0 ;
ae8162c8 7075 bool temp2 = false ;
d14a1e28
RD
7076 PyObject * obj0 = 0 ;
7077 PyObject * obj1 = 0 ;
994141e6 7078 PyObject * obj2 = 0 ;
d14a1e28
RD
7079 char *kwnames[] = {
7080 (char *) "self",(char *) "text",(char *) "number", NULL
7081 };
7082
994141e6 7083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
7084 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7085 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7086 {
7087 arg2 = wxString_in_helper(obj1);
7088 if (arg2 == NULL) SWIG_fail;
ae8162c8 7089 temp2 = true;
d14a1e28 7090 }
994141e6 7091 if (obj2) {
093d3ff1 7092 {
32fe5131 7093 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
7094 if (SWIG_arg_fail(3)) SWIG_fail;
7095 }
994141e6 7096 }
d14a1e28
RD
7097 {
7098 PyThreadState* __tstate = wxPyBeginAllowThreads();
7099 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
7100
7101 wxPyEndAllowThreads(__tstate);
7102 if (PyErr_Occurred()) SWIG_fail;
7103 }
7104 Py_INCREF(Py_None); resultobj = Py_None;
7105 {
7106 if (temp2)
7107 delete arg2;
7108 }
7109 return resultobj;
7110 fail:
7111 {
7112 if (temp2)
7113 delete arg2;
7114 }
7115 return NULL;
7116}
7117
7118
c32bde28 7119static PyObject *_wrap_StatusBar_GetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7120 PyObject *resultobj = NULL;
d14a1e28
RD
7121 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7122 int arg2 = (int) 0 ;
7123 wxString result;
7124 PyObject * obj0 = 0 ;
994141e6 7125 PyObject * obj1 = 0 ;
d14a1e28
RD
7126 char *kwnames[] = {
7127 (char *) "self",(char *) "number", NULL
7128 };
7129
994141e6 7130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7131 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7132 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 7133 if (obj1) {
093d3ff1 7134 {
32fe5131 7135 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
7136 if (SWIG_arg_fail(2)) SWIG_fail;
7137 }
994141e6 7138 }
d14a1e28
RD
7139 {
7140 PyThreadState* __tstate = wxPyBeginAllowThreads();
7141 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
7142
7143 wxPyEndAllowThreads(__tstate);
7144 if (PyErr_Occurred()) SWIG_fail;
7145 }
7146 {
7147#if wxUSE_UNICODE
7148 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7149#else
7150 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7151#endif
7152 }
7153 return resultobj;
7154 fail:
7155 return NULL;
7156}
7157
7158
c32bde28 7159static PyObject *_wrap_StatusBar_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7160 PyObject *resultobj = NULL;
d14a1e28
RD
7161 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7162 wxString *arg2 = 0 ;
7163 int arg3 = (int) 0 ;
ae8162c8 7164 bool temp2 = false ;
d14a1e28
RD
7165 PyObject * obj0 = 0 ;
7166 PyObject * obj1 = 0 ;
994141e6 7167 PyObject * obj2 = 0 ;
d14a1e28
RD
7168 char *kwnames[] = {
7169 (char *) "self",(char *) "text",(char *) "number", NULL
7170 };
7171
994141e6 7172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
7173 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7174 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7175 {
7176 arg2 = wxString_in_helper(obj1);
7177 if (arg2 == NULL) SWIG_fail;
ae8162c8 7178 temp2 = true;
d14a1e28 7179 }
994141e6 7180 if (obj2) {
093d3ff1 7181 {
32fe5131 7182 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
7183 if (SWIG_arg_fail(3)) SWIG_fail;
7184 }
994141e6 7185 }
d14a1e28
RD
7186 {
7187 PyThreadState* __tstate = wxPyBeginAllowThreads();
7188 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
7189
7190 wxPyEndAllowThreads(__tstate);
7191 if (PyErr_Occurred()) SWIG_fail;
7192 }
7193 Py_INCREF(Py_None); resultobj = Py_None;
7194 {
7195 if (temp2)
7196 delete arg2;
7197 }
7198 return resultobj;
7199 fail:
7200 {
7201 if (temp2)
7202 delete arg2;
7203 }
7204 return NULL;
7205}
7206
7207
c32bde28 7208static PyObject *_wrap_StatusBar_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7209 PyObject *resultobj = NULL;
d14a1e28
RD
7210 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7211 int arg2 = (int) 0 ;
7212 PyObject * obj0 = 0 ;
994141e6 7213 PyObject * obj1 = 0 ;
d14a1e28
RD
7214 char *kwnames[] = {
7215 (char *) "self",(char *) "number", NULL
7216 };
7217
994141e6 7218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7219 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7220 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 7221 if (obj1) {
093d3ff1 7222 {
32fe5131 7223 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
7224 if (SWIG_arg_fail(2)) SWIG_fail;
7225 }
994141e6 7226 }
d14a1e28
RD
7227 {
7228 PyThreadState* __tstate = wxPyBeginAllowThreads();
7229 (arg1)->PopStatusText(arg2);
7230
7231 wxPyEndAllowThreads(__tstate);
7232 if (PyErr_Occurred()) SWIG_fail;
7233 }
7234 Py_INCREF(Py_None); resultobj = Py_None;
7235 return resultobj;
7236 fail:
7237 return NULL;
7238}
7239
7240
c32bde28 7241static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7242 PyObject *resultobj = NULL;
d14a1e28
RD
7243 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7244 int arg2 ;
7245 int *arg3 = (int *) 0 ;
7246 PyObject * obj0 = 0 ;
7247 PyObject * obj1 = 0 ;
7248 char *kwnames[] = {
7249 (char *) "self",(char *) "widths", NULL
7250 };
7251
7252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7253 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7254 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7255 {
7256 arg2 = PyList_Size(obj1);
7257 arg3 = int_LIST_helper(obj1);
7258 if (arg3 == NULL) SWIG_fail;
7259 }
7260 {
7261 PyThreadState* __tstate = wxPyBeginAllowThreads();
7262 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
7263
7264 wxPyEndAllowThreads(__tstate);
7265 if (PyErr_Occurred()) SWIG_fail;
7266 }
7267 Py_INCREF(Py_None); resultobj = Py_None;
7268 {
7269 if (arg3) delete [] arg3;
7270 }
7271 return resultobj;
7272 fail:
7273 {
7274 if (arg3) delete [] arg3;
7275 }
7276 return NULL;
7277}
7278
7279
c32bde28 7280static PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7281 PyObject *resultobj = NULL;
f16ab95d
RD
7282 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7283 int arg2 ;
7284 int *arg3 = (int *) 0 ;
7285 PyObject * obj0 = 0 ;
7286 PyObject * obj1 = 0 ;
7287 char *kwnames[] = {
7288 (char *) "self",(char *) "styles", NULL
7289 };
7290
7291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7292 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7293 if (SWIG_arg_fail(1)) SWIG_fail;
f16ab95d
RD
7294 {
7295 arg2 = PyList_Size(obj1);
7296 arg3 = int_LIST_helper(obj1);
7297 if (arg3 == NULL) SWIG_fail;
7298 }
7299 {
7300 PyThreadState* __tstate = wxPyBeginAllowThreads();
7301 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
7302
7303 wxPyEndAllowThreads(__tstate);
7304 if (PyErr_Occurred()) SWIG_fail;
7305 }
7306 Py_INCREF(Py_None); resultobj = Py_None;
7307 {
7308 if (arg3) delete [] arg3;
7309 }
7310 return resultobj;
7311 fail:
7312 {
7313 if (arg3) delete [] arg3;
7314 }
7315 return NULL;
7316}
7317
7318
c32bde28 7319static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7320 PyObject *resultobj = NULL;
d14a1e28
RD
7321 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7322 int arg2 ;
7722248d 7323 wxRect result;
d14a1e28 7324 PyObject * obj0 = 0 ;
994141e6 7325 PyObject * obj1 = 0 ;
d14a1e28 7326 char *kwnames[] = {
7722248d 7327 (char *) "self",(char *) "i", NULL
d14a1e28
RD
7328 };
7329
994141e6 7330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7331 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7332 if (SWIG_arg_fail(1)) SWIG_fail;
7333 {
32fe5131 7334 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
7335 if (SWIG_arg_fail(2)) SWIG_fail;
7336 }
d14a1e28
RD
7337 {
7338 PyThreadState* __tstate = wxPyBeginAllowThreads();
7722248d 7339 result = wxStatusBar_GetFieldRect(arg1,arg2);
d14a1e28
RD
7340
7341 wxPyEndAllowThreads(__tstate);
7342 if (PyErr_Occurred()) SWIG_fail;
7343 }
7722248d
RD
7344 {
7345 wxRect * resultptr;
32fe5131 7346 resultptr = new wxRect(static_cast<wxRect & >(result));
15afbcd0 7347 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7722248d 7348 }
d14a1e28
RD
7349 return resultobj;
7350 fail:
7351 return NULL;
7352}
7353
7354
c32bde28 7355static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7356 PyObject *resultobj = NULL;
d14a1e28
RD
7357 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7358 int arg2 ;
7359 PyObject * obj0 = 0 ;
994141e6 7360 PyObject * obj1 = 0 ;
d14a1e28
RD
7361 char *kwnames[] = {
7362 (char *) "self",(char *) "height", NULL
7363 };
7364
994141e6 7365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7366 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7367 if (SWIG_arg_fail(1)) SWIG_fail;
7368 {
32fe5131 7369 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
7370 if (SWIG_arg_fail(2)) SWIG_fail;
7371 }
d14a1e28
RD
7372 {
7373 PyThreadState* __tstate = wxPyBeginAllowThreads();
7374 (arg1)->SetMinHeight(arg2);
7375
7376 wxPyEndAllowThreads(__tstate);
7377 if (PyErr_Occurred()) SWIG_fail;
7378 }
7379 Py_INCREF(Py_None); resultobj = Py_None;
7380 return resultobj;
7381 fail:
7382 return NULL;
7383}
7384
7385
c32bde28 7386static PyObject *_wrap_StatusBar_GetBorderX(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7387 PyObject *resultobj = NULL;
d14a1e28
RD
7388 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7389 int result;
7390 PyObject * obj0 = 0 ;
7391 char *kwnames[] = {
7392 (char *) "self", NULL
7393 };
7394
7395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
093d3ff1
RD
7396 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7397 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7398 {
7399 PyThreadState* __tstate = wxPyBeginAllowThreads();
7400 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
7401
7402 wxPyEndAllowThreads(__tstate);
7403 if (PyErr_Occurred()) SWIG_fail;
7404 }
093d3ff1 7405 {
32fe5131 7406 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 7407 }
d14a1e28
RD
7408 return resultobj;
7409 fail:
7410 return NULL;
7411}
7412
7413
c32bde28 7414static PyObject *_wrap_StatusBar_GetBorderY(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7415 PyObject *resultobj = NULL;
d14a1e28
RD
7416 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7417 int result;
7418 PyObject * obj0 = 0 ;
7419 char *kwnames[] = {
7420 (char *) "self", NULL
7421 };
7422
7423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
093d3ff1
RD
7424 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7425 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7426 {
7427 PyThreadState* __tstate = wxPyBeginAllowThreads();
7428 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
7429
7430 wxPyEndAllowThreads(__tstate);
7431 if (PyErr_Occurred()) SWIG_fail;
7432 }
093d3ff1 7433 {
32fe5131 7434 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 7435 }
d14a1e28
RD
7436 return resultobj;
7437 fail:
7438 return NULL;
7439}
7440
7441
c32bde28 7442static PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7443 PyObject *resultobj = NULL;
093d3ff1 7444 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
7445 wxVisualAttributes result;
7446 PyObject * obj0 = 0 ;
7447 char *kwnames[] = {
7448 (char *) "variant", NULL
7449 };
7450
7451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
7452 if (obj0) {
093d3ff1 7453 {
32fe5131 7454 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
7455 if (SWIG_arg_fail(1)) SWIG_fail;
7456 }
22bfe96c
RD
7457 }
7458 {
e3b71cb8 7459 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c 7460 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 7461 result = wxStatusBar::GetClassDefaultAttributes(arg1);
22bfe96c
RD
7462
7463 wxPyEndAllowThreads(__tstate);
110da5b0 7464 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
7465 }
7466 {
7467 wxVisualAttributes * resultptr;
32fe5131 7468 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
22bfe96c
RD
7469 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
7470 }
7471 return resultobj;
7472 fail:
7473 return NULL;
7474}
7475
7476
c32bde28 7477static PyObject * StatusBar_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7478 PyObject *obj;
7479 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7480 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
7481 Py_INCREF(obj);
7482 return Py_BuildValue((char *)"");
7483}
c32bde28 7484static int _wrap_SplitterNameStr_set(PyObject *) {
b2dc1044
RD
7485 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
7486 return 1;
7487}
7488
7489
093d3ff1 7490static PyObject *_wrap_SplitterNameStr_get(void) {
32fe5131 7491 PyObject *pyobj = NULL;
b2dc1044
RD
7492
7493 {
7494#if wxUSE_UNICODE
7495 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
7496#else
7497 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
7498#endif
7499 }
7500 return pyobj;
7501}
7502
7503
c32bde28 7504static PyObject *_wrap_new_SplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7505 PyObject *resultobj = NULL;
d14a1e28 7506 wxWindow *arg1 = (wxWindow *) 0 ;
74a57fcd 7507 int arg2 = (int) -1 ;
d14a1e28
RD
7508 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7509 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7510 wxSize const &arg4_defvalue = wxDefaultSize ;
7511 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7512 long arg5 = (long) wxSP_3D ;
7513 wxString const &arg6_defvalue = wxPySplitterNameStr ;
7514 wxString *arg6 = (wxString *) &arg6_defvalue ;
7515 wxSplitterWindow *result;
7516 wxPoint temp3 ;
7517 wxSize temp4 ;
ae8162c8 7518 bool temp6 = false ;
d14a1e28 7519 PyObject * obj0 = 0 ;
994141e6 7520 PyObject * obj1 = 0 ;
d14a1e28
RD
7521 PyObject * obj2 = 0 ;
7522 PyObject * obj3 = 0 ;
994141e6 7523 PyObject * obj4 = 0 ;
d14a1e28
RD
7524 PyObject * obj5 = 0 ;
7525 char *kwnames[] = {
994141e6 7526 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
d14a1e28
RD
7527 };
7528
74a57fcd 7529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
7530 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7531 if (SWIG_arg_fail(1)) SWIG_fail;
74a57fcd 7532 if (obj1) {
093d3ff1 7533 {
32fe5131 7534 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
7535 if (SWIG_arg_fail(2)) SWIG_fail;
7536 }
74a57fcd 7537 }
d14a1e28
RD
7538 if (obj2) {
7539 {
7540 arg3 = &temp3;
7541 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7542 }
7543 }
7544 if (obj3) {
7545 {
7546 arg4 = &temp4;
7547 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7548 }
7549 }
15afbcd0 7550 if (obj4) {
093d3ff1 7551 {
32fe5131 7552 arg5 = static_cast<long >(SWIG_As_long(obj4));
093d3ff1
RD
7553 if (SWIG_arg_fail(5)) SWIG_fail;
7554 }
994141e6 7555 }
d14a1e28
RD
7556 if (obj5) {
7557 {
7558 arg6 = wxString_in_helper(obj5);
7559 if (arg6 == NULL) SWIG_fail;
ae8162c8 7560 temp6 = true;
d14a1e28
RD
7561 }
7562 }
7563 {
e3b71cb8 7564 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
7565 PyThreadState* __tstate = wxPyBeginAllowThreads();
7566 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7567
7568 wxPyEndAllowThreads(__tstate);
110da5b0 7569 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 7570 }
15afbcd0 7571 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
d14a1e28
RD
7572 {
7573 if (temp6)
7574 delete arg6;
7575 }
7576 return resultobj;
7577 fail:
7578 {
7579 if (temp6)
7580 delete arg6;
7581 }
7582 return NULL;
7583}
7584
7585
c32bde28 7586static PyObject *_wrap_new_PreSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7587 PyObject *resultobj = NULL;
d14a1e28
RD
7588 wxSplitterWindow *result;
7589 char *kwnames[] = {
7590 NULL
7591 };
7592
7593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
7594 {
e3b71cb8 7595 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
7596 PyThreadState* __tstate = wxPyBeginAllowThreads();
7597 result = (wxSplitterWindow *)new wxSplitterWindow();
7598
7599 wxPyEndAllowThreads(__tstate);
110da5b0 7600 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 7601 }
15afbcd0 7602 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
d14a1e28
RD
7603 return resultobj;
7604 fail:
7605 return NULL;
7606}
7607
7608
c32bde28 7609static PyObject *_wrap_SplitterWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7610 PyObject *resultobj = NULL;
d14a1e28
RD
7611 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7612 wxWindow *arg2 = (wxWindow *) 0 ;
74a57fcd 7613 int arg3 = (int) -1 ;
d14a1e28
RD
7614 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7615 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7616 wxSize const &arg5_defvalue = wxDefaultSize ;
7617 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7618 long arg6 = (long) wxSP_3D ;
7619 wxString const &arg7_defvalue = wxPySplitterNameStr ;
7620 wxString *arg7 = (wxString *) &arg7_defvalue ;
7621 bool result;
7622 wxPoint temp4 ;
7623 wxSize temp5 ;
ae8162c8 7624 bool temp7 = false ;
d14a1e28
RD
7625 PyObject * obj0 = 0 ;
7626 PyObject * obj1 = 0 ;
994141e6 7627 PyObject * obj2 = 0 ;
d14a1e28
RD
7628 PyObject * obj3 = 0 ;
7629 PyObject * obj4 = 0 ;
994141e6 7630 PyObject * obj5 = 0 ;
d14a1e28
RD
7631 PyObject * obj6 = 0 ;
7632 char *kwnames[] = {
994141e6 7633 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
d14a1e28
RD
7634 };
7635
74a57fcd 7636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
7637 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7638 if (SWIG_arg_fail(1)) SWIG_fail;
7639 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7640 if (SWIG_arg_fail(2)) SWIG_fail;
74a57fcd 7641 if (obj2) {
093d3ff1 7642 {
32fe5131 7643 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
7644 if (SWIG_arg_fail(3)) SWIG_fail;
7645 }
74a57fcd 7646 }
d14a1e28
RD
7647 if (obj3) {
7648 {
7649 arg4 = &temp4;
7650 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7651 }
7652 }
7653 if (obj4) {
7654 {
7655 arg5 = &temp5;
7656 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7657 }
7658 }
994141e6 7659 if (obj5) {
093d3ff1 7660 {
32fe5131 7661 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
7662 if (SWIG_arg_fail(6)) SWIG_fail;
7663 }
994141e6 7664 }
d14a1e28
RD
7665 if (obj6) {
7666 {
7667 arg7 = wxString_in_helper(obj6);
7668 if (arg7 == NULL) SWIG_fail;
ae8162c8 7669 temp7 = true;
d14a1e28
RD
7670 }
7671 }
7672 {
7673 PyThreadState* __tstate = wxPyBeginAllowThreads();
7674 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7675
7676 wxPyEndAllowThreads(__tstate);
7677 if (PyErr_Occurred()) SWIG_fail;
7678 }
4f89f6a3
RD
7679 {
7680 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7681 }
d14a1e28
RD
7682 {
7683 if (temp7)
7684 delete arg7;
7685 }
7686 return resultobj;
7687 fail:
7688 {
7689 if (temp7)
7690 delete arg7;
7691 }
7692 return NULL;
7693}
7694
7695
c32bde28 7696static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7697 PyObject *resultobj = NULL;
d14a1e28
RD
7698 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7699 wxWindow *result;
7700 PyObject * obj0 = 0 ;
7701 char *kwnames[] = {
7702 (char *) "self", NULL
7703 };
7704
7705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
093d3ff1
RD
7706 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7707 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7708 {
7709 PyThreadState* __tstate = wxPyBeginAllowThreads();
7710 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
7711
7712 wxPyEndAllowThreads(__tstate);
7713 if (PyErr_Occurred()) SWIG_fail;
7714 }
7715 {
412d302d 7716 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
7717 }
7718 return resultobj;
7719 fail:
7720 return NULL;
7721}
7722
7723
c32bde28 7724static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7725 PyObject *resultobj = NULL;
d14a1e28
RD
7726 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7727 wxWindow *result;
7728 PyObject * obj0 = 0 ;
7729 char *kwnames[] = {
7730 (char *) "self", NULL
7731 };
7732
7733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
093d3ff1
RD
7734 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7735 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7736 {
7737 PyThreadState* __tstate = wxPyBeginAllowThreads();
7738 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
7739
7740 wxPyEndAllowThreads(__tstate);
7741 if (PyErr_Occurred()) SWIG_fail;
7742 }
7743 {
412d302d 7744 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
7745 }
7746 return resultobj;
7747 fail:
7748 return NULL;
7749}
7750
7751
c32bde28 7752static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7753 PyObject *resultobj = NULL;
d14a1e28
RD
7754 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7755 int arg2 ;
7756 PyObject * obj0 = 0 ;
994141e6 7757 PyObject * obj1 = 0 ;
d14a1e28
RD
7758 char *kwnames[] = {
7759 (char *) "self",(char *) "mode", NULL
7760 };
7761
994141e6 7762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7763 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7764 if (SWIG_arg_fail(1)) SWIG_fail;
7765 {
32fe5131 7766 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
7767 if (SWIG_arg_fail(2)) SWIG_fail;
7768 }
d14a1e28
RD
7769 {
7770 PyThreadState* __tstate = wxPyBeginAllowThreads();
7771 (arg1)->SetSplitMode(arg2);
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 *_wrap_SplitterWindow_GetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7784 PyObject *resultobj = NULL;
d14a1e28 7785 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
093d3ff1 7786 wxSplitMode result;
d14a1e28
RD
7787 PyObject * obj0 = 0 ;
7788 char *kwnames[] = {
7789 (char *) "self", NULL
7790 };
7791
7792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
093d3ff1
RD
7793 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7794 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7795 {
7796 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 7797 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
d14a1e28
RD
7798
7799 wxPyEndAllowThreads(__tstate);
7800 if (PyErr_Occurred()) SWIG_fail;
7801 }
093d3ff1 7802 resultobj = SWIG_From_int((result));
d14a1e28
RD
7803 return resultobj;
7804 fail:
7805 return NULL;
7806}
7807
7808
c32bde28 7809static PyObject *_wrap_SplitterWindow_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7810 PyObject *resultobj = NULL;
d14a1e28
RD
7811 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7812 wxWindow *arg2 = (wxWindow *) 0 ;
7813 PyObject * obj0 = 0 ;
7814 PyObject * obj1 = 0 ;
7815 char *kwnames[] = {
7816 (char *) "self",(char *) "window", NULL
7817 };
7818
7819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7820 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7821 if (SWIG_arg_fail(1)) SWIG_fail;
7822 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7823 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
7824 {
7825 PyThreadState* __tstate = wxPyBeginAllowThreads();
7826 (arg1)->Initialize(arg2);
7827
7828 wxPyEndAllowThreads(__tstate);
7829 if (PyErr_Occurred()) SWIG_fail;
7830 }
7831 Py_INCREF(Py_None); resultobj = Py_None;
7832 return resultobj;
7833 fail:
7834 return NULL;
7835}
7836
7837
c32bde28 7838static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7839 PyObject *resultobj = NULL;
d14a1e28
RD
7840 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7841 wxWindow *arg2 = (wxWindow *) 0 ;
7842 wxWindow *arg3 = (wxWindow *) 0 ;
7843 int arg4 = (int) 0 ;
7844 bool result;
7845 PyObject * obj0 = 0 ;
7846 PyObject * obj1 = 0 ;
7847 PyObject * obj2 = 0 ;
994141e6 7848 PyObject * obj3 = 0 ;
d14a1e28
RD
7849 char *kwnames[] = {
7850 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7851 };
7852
994141e6 7853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
7854 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7855 if (SWIG_arg_fail(1)) SWIG_fail;
7856 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7857 if (SWIG_arg_fail(2)) SWIG_fail;
7858 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7859 if (SWIG_arg_fail(3)) SWIG_fail;
994141e6 7860 if (obj3) {
093d3ff1 7861 {
32fe5131 7862 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
7863 if (SWIG_arg_fail(4)) SWIG_fail;
7864 }
994141e6 7865 }
d14a1e28
RD
7866 {
7867 PyThreadState* __tstate = wxPyBeginAllowThreads();
7868 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
7869
7870 wxPyEndAllowThreads(__tstate);
7871 if (PyErr_Occurred()) SWIG_fail;
7872 }
4f89f6a3
RD
7873 {
7874 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7875 }
d14a1e28
RD
7876 return resultobj;
7877 fail:
7878 return NULL;
7879}
7880
7881
c32bde28 7882static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7883 PyObject *resultobj = NULL;
d14a1e28
RD
7884 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7885 wxWindow *arg2 = (wxWindow *) 0 ;
7886 wxWindow *arg3 = (wxWindow *) 0 ;
7887 int arg4 = (int) 0 ;
7888 bool result;
7889 PyObject * obj0 = 0 ;
7890 PyObject * obj1 = 0 ;
7891 PyObject * obj2 = 0 ;
994141e6 7892 PyObject * obj3 = 0 ;
d14a1e28
RD
7893 char *kwnames[] = {
7894 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7895 };
7896
994141e6 7897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
7898 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7899 if (SWIG_arg_fail(1)) SWIG_fail;
7900 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7901 if (SWIG_arg_fail(2)) SWIG_fail;
7902 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7903 if (SWIG_arg_fail(3)) SWIG_fail;
994141e6 7904 if (obj3) {
093d3ff1 7905 {
32fe5131 7906 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
7907 if (SWIG_arg_fail(4)) SWIG_fail;
7908 }
994141e6 7909 }
d14a1e28
RD
7910 {
7911 PyThreadState* __tstate = wxPyBeginAllowThreads();
7912 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
7913
7914 wxPyEndAllowThreads(__tstate);
7915 if (PyErr_Occurred()) SWIG_fail;
7916 }
4f89f6a3
RD
7917 {
7918 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7919 }
d14a1e28
RD
7920 return resultobj;
7921 fail:
7922 return NULL;
7923}
7924
7925
c32bde28 7926static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7927 PyObject *resultobj = NULL;
d14a1e28
RD
7928 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7929 wxWindow *arg2 = (wxWindow *) NULL ;
7930 bool result;
7931 PyObject * obj0 = 0 ;
7932 PyObject * obj1 = 0 ;
7933 char *kwnames[] = {
7934 (char *) "self",(char *) "toRemove", NULL
7935 };
7936
7937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7938 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7939 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 7940 if (obj1) {
093d3ff1
RD
7941 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7942 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
7943 }
7944 {
7945 PyThreadState* __tstate = wxPyBeginAllowThreads();
7946 result = (bool)(arg1)->Unsplit(arg2);
7947
7948 wxPyEndAllowThreads(__tstate);
7949 if (PyErr_Occurred()) SWIG_fail;
7950 }
4f89f6a3
RD
7951 {
7952 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7953 }
d14a1e28
RD
7954 return resultobj;
7955 fail:
7956 return NULL;
7957}
7958
7959
c32bde28 7960static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7961 PyObject *resultobj = NULL;
d14a1e28
RD
7962 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7963 wxWindow *arg2 = (wxWindow *) 0 ;
7964 wxWindow *arg3 = (wxWindow *) 0 ;
7965 bool result;
7966 PyObject * obj0 = 0 ;
7967 PyObject * obj1 = 0 ;
7968 PyObject * obj2 = 0 ;
7969 char *kwnames[] = {
7970 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
7971 };
7972
7973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
7974 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7975 if (SWIG_arg_fail(1)) SWIG_fail;
7976 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7977 if (SWIG_arg_fail(2)) SWIG_fail;
7978 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7979 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
7980 {
7981 PyThreadState* __tstate = wxPyBeginAllowThreads();
7982 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
7983
7984 wxPyEndAllowThreads(__tstate);
7985 if (PyErr_Occurred()) SWIG_fail;
7986 }
4f89f6a3
RD
7987 {
7988 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7989 }
d14a1e28
RD
7990 return resultobj;
7991 fail:
7992 return NULL;
7993}
7994
7995
c32bde28 7996static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7997 PyObject *resultobj = NULL;
d00d1b88
RD
7998 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7999 PyObject * obj0 = 0 ;
8000 char *kwnames[] = {
8001 (char *) "self", NULL
8002 };
8003
8004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
8005 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8006 if (SWIG_arg_fail(1)) SWIG_fail;
d00d1b88
RD
8007 {
8008 PyThreadState* __tstate = wxPyBeginAllowThreads();
8009 (arg1)->UpdateSize();
8010
8011 wxPyEndAllowThreads(__tstate);
8012 if (PyErr_Occurred()) SWIG_fail;
8013 }
8014 Py_INCREF(Py_None); resultobj = Py_None;
8015 return resultobj;
8016 fail:
8017 return NULL;
8018}
8019
8020
c32bde28 8021static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8022 PyObject *resultobj = NULL;
d14a1e28
RD
8023 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8024 bool result;
8025 PyObject * obj0 = 0 ;
8026 char *kwnames[] = {
8027 (char *) "self", NULL
8028 };
8029
8030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
093d3ff1
RD
8031 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8032 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8033 {
8034 PyThreadState* __tstate = wxPyBeginAllowThreads();
8035 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
8036
8037 wxPyEndAllowThreads(__tstate);
8038 if (PyErr_Occurred()) SWIG_fail;
8039 }
4f89f6a3
RD
8040 {
8041 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8042 }
d14a1e28
RD
8043 return resultobj;
8044 fail:
8045 return NULL;
8046}
8047
8048
c32bde28 8049static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8050 PyObject *resultobj = NULL;
d14a1e28
RD
8051 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8052 int arg2 ;
8053 PyObject * obj0 = 0 ;
994141e6 8054 PyObject * obj1 = 0 ;
d14a1e28
RD
8055 char *kwnames[] = {
8056 (char *) "self",(char *) "width", NULL
8057 };
8058
994141e6 8059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8060 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8061 if (SWIG_arg_fail(1)) SWIG_fail;
8062 {
32fe5131 8063 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
8064 if (SWIG_arg_fail(2)) SWIG_fail;
8065 }
d14a1e28
RD
8066 {
8067 PyThreadState* __tstate = wxPyBeginAllowThreads();
8068 (arg1)->SetSashSize(arg2);
8069
8070 wxPyEndAllowThreads(__tstate);
8071 if (PyErr_Occurred()) SWIG_fail;
8072 }
8073 Py_INCREF(Py_None); resultobj = Py_None;
8074 return resultobj;
8075 fail:
8076 return NULL;
8077}
8078
8079
c32bde28 8080static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8081 PyObject *resultobj = NULL;
d14a1e28
RD
8082 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8083 int arg2 ;
8084 PyObject * obj0 = 0 ;
994141e6 8085 PyObject * obj1 = 0 ;
d14a1e28
RD
8086 char *kwnames[] = {
8087 (char *) "self",(char *) "width", NULL
8088 };
8089
994141e6 8090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8091 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8092 if (SWIG_arg_fail(1)) SWIG_fail;
8093 {
32fe5131 8094 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
8095 if (SWIG_arg_fail(2)) SWIG_fail;
8096 }
d14a1e28
RD
8097 {
8098 PyThreadState* __tstate = wxPyBeginAllowThreads();
8099 (arg1)->SetBorderSize(arg2);
8100
8101 wxPyEndAllowThreads(__tstate);
8102 if (PyErr_Occurred()) SWIG_fail;
8103 }
8104 Py_INCREF(Py_None); resultobj = Py_None;
8105 return resultobj;
8106 fail:
8107 return NULL;
8108}
8109
8110
c32bde28 8111static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8112 PyObject *resultobj = NULL;
d14a1e28
RD
8113 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8114 int result;
8115 PyObject * obj0 = 0 ;
8116 char *kwnames[] = {
8117 (char *) "self", NULL
8118 };
8119
8120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
8121 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8122 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8123 {
8124 PyThreadState* __tstate = wxPyBeginAllowThreads();
8125 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
8126
8127 wxPyEndAllowThreads(__tstate);
8128 if (PyErr_Occurred()) SWIG_fail;
8129 }
093d3ff1 8130 {
32fe5131 8131 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 8132 }
d14a1e28
RD
8133 return resultobj;
8134 fail:
8135 return NULL;
8136}
8137
8138
c32bde28 8139static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8140 PyObject *resultobj = NULL;
d14a1e28
RD
8141 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8142 int result;
8143 PyObject * obj0 = 0 ;
8144 char *kwnames[] = {
8145 (char *) "self", NULL
8146 };
8147
8148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
8149 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8150 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8151 {
8152 PyThreadState* __tstate = wxPyBeginAllowThreads();
8153 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
8154
8155 wxPyEndAllowThreads(__tstate);
8156 if (PyErr_Occurred()) SWIG_fail;
8157 }
093d3ff1 8158 {
32fe5131 8159 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 8160 }
d14a1e28
RD
8161 return resultobj;
8162 fail:
8163 return NULL;
8164}
8165
8166
c32bde28 8167static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8168 PyObject *resultobj = NULL;
d14a1e28
RD
8169 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8170 int arg2 ;
ae8162c8 8171 bool arg3 = (bool) true ;
d14a1e28 8172 PyObject * obj0 = 0 ;
994141e6 8173 PyObject * obj1 = 0 ;
d14a1e28
RD
8174 PyObject * obj2 = 0 ;
8175 char *kwnames[] = {
8176 (char *) "self",(char *) "position",(char *) "redraw", NULL
8177 };
8178
994141e6 8179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8180 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8181 if (SWIG_arg_fail(1)) SWIG_fail;
8182 {
32fe5131 8183 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
8184 if (SWIG_arg_fail(2)) SWIG_fail;
8185 }
d14a1e28 8186 if (obj2) {
093d3ff1 8187 {
32fe5131 8188 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
8189 if (SWIG_arg_fail(3)) SWIG_fail;
8190 }
d14a1e28
RD
8191 }
8192 {
8193 PyThreadState* __tstate = wxPyBeginAllowThreads();
8194 (arg1)->SetSashPosition(arg2,arg3);
8195
8196 wxPyEndAllowThreads(__tstate);
8197 if (PyErr_Occurred()) SWIG_fail;
8198 }
8199 Py_INCREF(Py_None); resultobj = Py_None;
8200 return resultobj;
8201 fail:
8202 return NULL;
8203}
8204
8205
c32bde28 8206static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8207 PyObject *resultobj = NULL;
d14a1e28
RD
8208 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8209 int result;
8210 PyObject * obj0 = 0 ;
8211 char *kwnames[] = {
8212 (char *) "self", NULL
8213 };
8214
8215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
8216 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8217 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8218 {
8219 PyThreadState* __tstate = wxPyBeginAllowThreads();
8220 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
8221
8222 wxPyEndAllowThreads(__tstate);
8223 if (PyErr_Occurred()) SWIG_fail;
8224 }
093d3ff1 8225 {
32fe5131 8226 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 8227 }
d14a1e28
RD
8228 return resultobj;
8229 fail:
8230 return NULL;
8231}
8232
8233
5cbf236d 8234static PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8235 PyObject *resultobj = NULL;
5cbf236d
RD
8236 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8237 double arg2 ;
8238 PyObject * obj0 = 0 ;
8239 PyObject * obj1 = 0 ;
8240 char *kwnames[] = {
8241 (char *) "self",(char *) "gravity", NULL
8242 };
8243
8244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8245 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8246 if (SWIG_arg_fail(1)) SWIG_fail;
8247 {
32fe5131 8248 arg2 = static_cast<double >(SWIG_As_double(obj1));
093d3ff1
RD
8249 if (SWIG_arg_fail(2)) SWIG_fail;
8250 }
5cbf236d
RD
8251 {
8252 PyThreadState* __tstate = wxPyBeginAllowThreads();
8253 (arg1)->SetSashGravity(arg2);
8254
8255 wxPyEndAllowThreads(__tstate);
8256 if (PyErr_Occurred()) SWIG_fail;
8257 }
8258 Py_INCREF(Py_None); resultobj = Py_None;
8259 return resultobj;
8260 fail:
8261 return NULL;
8262}
8263
8264
8265static PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8266 PyObject *resultobj = NULL;
5cbf236d
RD
8267 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8268 double result;
8269 PyObject * obj0 = 0 ;
8270 char *kwnames[] = {
8271 (char *) "self", NULL
8272 };
8273
8274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashGravity",kwnames,&obj0)) goto fail;
093d3ff1
RD
8275 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8276 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
8277 {
8278 PyThreadState* __tstate = wxPyBeginAllowThreads();
8279 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
8280
8281 wxPyEndAllowThreads(__tstate);
8282 if (PyErr_Occurred()) SWIG_fail;
8283 }
093d3ff1 8284 {
32fe5131 8285 resultobj = SWIG_From_double(static_cast<double >(result));
093d3ff1 8286 }
5cbf236d
RD
8287 return resultobj;
8288 fail:
8289 return NULL;
8290}
8291
8292
c32bde28 8293static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8294 PyObject *resultobj = NULL;
d14a1e28
RD
8295 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8296 int arg2 ;
8297 PyObject * obj0 = 0 ;
994141e6 8298 PyObject * obj1 = 0 ;
d14a1e28
RD
8299 char *kwnames[] = {
8300 (char *) "self",(char *) "min", NULL
8301 };
8302
994141e6 8303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8305 if (SWIG_arg_fail(1)) SWIG_fail;
8306 {
32fe5131 8307 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
8308 if (SWIG_arg_fail(2)) SWIG_fail;
8309 }
d14a1e28
RD
8310 {
8311 PyThreadState* __tstate = wxPyBeginAllowThreads();
8312 (arg1)->SetMinimumPaneSize(arg2);
8313
8314 wxPyEndAllowThreads(__tstate);
8315 if (PyErr_Occurred()) SWIG_fail;
8316 }
8317 Py_INCREF(Py_None); resultobj = Py_None;
8318 return resultobj;
8319 fail:
8320 return NULL;
8321}
8322
8323
c32bde28 8324static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8325 PyObject *resultobj = NULL;
d14a1e28
RD
8326 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8327 int result;
8328 PyObject * obj0 = 0 ;
8329 char *kwnames[] = {
8330 (char *) "self", NULL
8331 };
8332
8333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
8334 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8335 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8336 {
8337 PyThreadState* __tstate = wxPyBeginAllowThreads();
8338 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
8339
8340 wxPyEndAllowThreads(__tstate);
8341 if (PyErr_Occurred()) SWIG_fail;
8342 }
093d3ff1 8343 {
32fe5131 8344 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 8345 }
d14a1e28
RD
8346 return resultobj;
8347 fail:
8348 return NULL;
8349}
8350
8351
c32bde28 8352static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8353 PyObject *resultobj = NULL;
d14a1e28
RD
8354 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8355 int arg2 ;
8356 int arg3 ;
8357 int arg4 = (int) 5 ;
8358 bool result;
8359 PyObject * obj0 = 0 ;
994141e6
RD
8360 PyObject * obj1 = 0 ;
8361 PyObject * obj2 = 0 ;
8362 PyObject * obj3 = 0 ;
d14a1e28
RD
8363 char *kwnames[] = {
8364 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
8365 };
8366
994141e6 8367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
8368 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8369 if (SWIG_arg_fail(1)) SWIG_fail;
8370 {
32fe5131 8371 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
8372 if (SWIG_arg_fail(2)) SWIG_fail;
8373 }
8374 {
32fe5131 8375 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
8376 if (SWIG_arg_fail(3)) SWIG_fail;
8377 }
994141e6 8378 if (obj3) {
093d3ff1 8379 {
32fe5131 8380 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
8381 if (SWIG_arg_fail(4)) SWIG_fail;
8382 }
994141e6 8383 }
d14a1e28
RD
8384 {
8385 PyThreadState* __tstate = wxPyBeginAllowThreads();
8386 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
8387
8388 wxPyEndAllowThreads(__tstate);
8389 if (PyErr_Occurred()) SWIG_fail;
8390 }
4f89f6a3
RD
8391 {
8392 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8393 }
d14a1e28
RD
8394 return resultobj;
8395 fail:
8396 return NULL;
8397}
8398
8399
c32bde28 8400static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8401 PyObject *resultobj = NULL;
d14a1e28
RD
8402 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8403 PyObject * obj0 = 0 ;
8404 char *kwnames[] = {
8405 (char *) "self", NULL
8406 };
8407
8408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
093d3ff1
RD
8409 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8410 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8411 {
8412 PyThreadState* __tstate = wxPyBeginAllowThreads();
8413 (arg1)->SizeWindows();
8414
8415 wxPyEndAllowThreads(__tstate);
8416 if (PyErr_Occurred()) SWIG_fail;
8417 }
8418 Py_INCREF(Py_None); resultobj = Py_None;
8419 return resultobj;
8420 fail:
8421 return NULL;
8422}
8423
8424
c32bde28 8425static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8426 PyObject *resultobj = NULL;
d14a1e28
RD
8427 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8428 bool arg2 ;
8429 PyObject * obj0 = 0 ;
8430 PyObject * obj1 = 0 ;
8431 char *kwnames[] = {
8432 (char *) "self",(char *) "needUpdating", NULL
8433 };
8434
8435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8436 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8437 if (SWIG_arg_fail(1)) SWIG_fail;
8438 {
32fe5131 8439 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
8440 if (SWIG_arg_fail(2)) SWIG_fail;
8441 }
d14a1e28
RD
8442 {
8443 PyThreadState* __tstate = wxPyBeginAllowThreads();
8444 (arg1)->SetNeedUpdating(arg2);
8445
8446 wxPyEndAllowThreads(__tstate);
8447 if (PyErr_Occurred()) SWIG_fail;
8448 }
8449 Py_INCREF(Py_None); resultobj = Py_None;
8450 return resultobj;
8451 fail:
8452 return NULL;
8453}
8454
8455
c32bde28 8456static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8457 PyObject *resultobj = NULL;
d14a1e28
RD
8458 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8459 bool result;
8460 PyObject * obj0 = 0 ;
8461 char *kwnames[] = {
8462 (char *) "self", NULL
8463 };
8464
8465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
093d3ff1
RD
8466 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8467 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8468 {
8469 PyThreadState* __tstate = wxPyBeginAllowThreads();
8470 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
8471
8472 wxPyEndAllowThreads(__tstate);
8473 if (PyErr_Occurred()) SWIG_fail;
8474 }
4f89f6a3
RD
8475 {
8476 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8477 }
d14a1e28
RD
8478 return resultobj;
8479 fail:
8480 return NULL;
8481}
8482
8483
c32bde28 8484static PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8485 PyObject *resultobj = NULL;
093d3ff1 8486 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
8487 wxVisualAttributes result;
8488 PyObject * obj0 = 0 ;
8489 char *kwnames[] = {
8490 (char *) "variant", NULL
8491 };
8492
8493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
8494 if (obj0) {
093d3ff1 8495 {
32fe5131 8496 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
8497 if (SWIG_arg_fail(1)) SWIG_fail;
8498 }
22bfe96c
RD
8499 }
8500 {
e3b71cb8 8501 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c 8502 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 8503 result = wxSplitterWindow::GetClassDefaultAttributes(arg1);
22bfe96c
RD
8504
8505 wxPyEndAllowThreads(__tstate);
110da5b0 8506 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
8507 }
8508 {
8509 wxVisualAttributes * resultptr;
32fe5131 8510 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
22bfe96c
RD
8511 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
8512 }
8513 return resultobj;
8514 fail:
8515 return NULL;
8516}
8517
8518
c32bde28 8519static PyObject * SplitterWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
8520 PyObject *obj;
8521 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8522 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
8523 Py_INCREF(obj);
8524 return Py_BuildValue((char *)"");
8525}
c32bde28 8526static PyObject *_wrap_new_SplitterEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8527 PyObject *resultobj = NULL;
d14a1e28
RD
8528 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
8529 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
8530 wxSplitterEvent *result;
994141e6 8531 PyObject * obj0 = 0 ;
d14a1e28
RD
8532 PyObject * obj1 = 0 ;
8533 char *kwnames[] = {
8534 (char *) "type",(char *) "splitter", NULL
8535 };
8536
994141e6
RD
8537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
8538 if (obj0) {
093d3ff1 8539 {
32fe5131 8540 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
093d3ff1
RD
8541 if (SWIG_arg_fail(1)) SWIG_fail;
8542 }
994141e6 8543 }
d14a1e28 8544 if (obj1) {
093d3ff1
RD
8545 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8546 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
8547 }
8548 {
8549 PyThreadState* __tstate = wxPyBeginAllowThreads();
8550 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
8551
8552 wxPyEndAllowThreads(__tstate);
8553 if (PyErr_Occurred()) SWIG_fail;
8554 }
15afbcd0 8555 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
d14a1e28
RD
8556 return resultobj;
8557 fail:
8558 return NULL;
8559}
8560
8561
c32bde28 8562static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8563 PyObject *resultobj = NULL;
d14a1e28
RD
8564 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8565 int arg2 ;
8566 PyObject * obj0 = 0 ;
994141e6 8567 PyObject * obj1 = 0 ;
d14a1e28
RD
8568 char *kwnames[] = {
8569 (char *) "self",(char *) "pos", NULL
8570 };
8571
994141e6 8572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8573 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8574 if (SWIG_arg_fail(1)) SWIG_fail;
8575 {
32fe5131 8576 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
8577 if (SWIG_arg_fail(2)) SWIG_fail;
8578 }
d14a1e28
RD
8579 {
8580 PyThreadState* __tstate = wxPyBeginAllowThreads();
8581 (arg1)->SetSashPosition(arg2);
8582
8583 wxPyEndAllowThreads(__tstate);
8584 if (PyErr_Occurred()) SWIG_fail;
8585 }
8586 Py_INCREF(Py_None); resultobj = Py_None;
8587 return resultobj;
8588 fail:
8589 return NULL;
8590}
8591
8592
c32bde28 8593static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8594 PyObject *resultobj = NULL;
d14a1e28
RD
8595 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8596 int result;
8597 PyObject * obj0 = 0 ;
8598 char *kwnames[] = {
8599 (char *) "self", NULL
8600 };
8601
8602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
8603 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8604 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8605 {
8606 PyThreadState* __tstate = wxPyBeginAllowThreads();
8607 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
8608
8609 wxPyEndAllowThreads(__tstate);
8610 if (PyErr_Occurred()) SWIG_fail;
8611 }
093d3ff1 8612 {
32fe5131 8613 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 8614 }
d14a1e28
RD
8615 return resultobj;
8616 fail:
8617 return NULL;
8618}
8619
8620
c32bde28 8621static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8622 PyObject *resultobj = NULL;
d14a1e28
RD
8623 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8624 wxWindow *result;
8625 PyObject * obj0 = 0 ;
8626 char *kwnames[] = {
8627 (char *) "self", NULL
8628 };
8629
8630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
093d3ff1
RD
8631 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8632 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8633 {
8634 PyThreadState* __tstate = wxPyBeginAllowThreads();
8635 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
8636
8637 wxPyEndAllowThreads(__tstate);
8638 if (PyErr_Occurred()) SWIG_fail;
8639 }
8640 {
412d302d 8641 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
8642 }
8643 return resultobj;
8644 fail:
8645 return NULL;
8646}
8647
8648
c32bde28 8649static PyObject *_wrap_SplitterEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8650 PyObject *resultobj = NULL;
d14a1e28
RD
8651 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8652 int result;
8653 PyObject * obj0 = 0 ;
8654 char *kwnames[] = {
8655 (char *) "self", NULL
8656 };
8657
8658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
093d3ff1
RD
8659 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8660 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8661 {
8662 PyThreadState* __tstate = wxPyBeginAllowThreads();
8663 result = (int)((wxSplitterEvent const *)arg1)->GetX();
8664
8665 wxPyEndAllowThreads(__tstate);
8666 if (PyErr_Occurred()) SWIG_fail;
8667 }
093d3ff1 8668 {
32fe5131 8669 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 8670 }
d14a1e28
RD
8671 return resultobj;
8672 fail:
8673 return NULL;
8674}
8675
8676
c32bde28 8677static PyObject *_wrap_SplitterEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8678 PyObject *resultobj = NULL;
d14a1e28
RD
8679 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8680 int result;
8681 PyObject * obj0 = 0 ;
8682 char *kwnames[] = {
8683 (char *) "self", NULL
8684 };
8685
8686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
093d3ff1
RD
8687 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8688 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8689 {
8690 PyThreadState* __tstate = wxPyBeginAllowThreads();
8691 result = (int)((wxSplitterEvent const *)arg1)->GetY();
8692
8693 wxPyEndAllowThreads(__tstate);
8694 if (PyErr_Occurred()) SWIG_fail;
8695 }
093d3ff1 8696 {
32fe5131 8697 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 8698 }
d14a1e28
RD
8699 return resultobj;
8700 fail:
8701 return NULL;
8702}
8703
8704
c32bde28 8705static PyObject * SplitterEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
8706 PyObject *obj;
8707 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8708 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
8709 Py_INCREF(obj);
8710 return Py_BuildValue((char *)"");
8711}
c32bde28 8712static int _wrap_SashNameStr_set(PyObject *) {
b2dc1044
RD
8713 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
8714 return 1;
8715}
8716
8717
093d3ff1 8718static PyObject *_wrap_SashNameStr_get(void) {
32fe5131 8719 PyObject *pyobj = NULL;
b2dc1044
RD
8720
8721 {
8722#if wxUSE_UNICODE
8723 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
8724#else
8725 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
8726#endif
8727 }
8728 return pyobj;
8729}
8730
8731
c32bde28 8732static int _wrap_SashLayoutNameStr_set(PyObject *) {
b2dc1044
RD
8733 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
8734 return 1;
8735}
8736
8737
093d3ff1 8738static PyObject *_wrap_SashLayoutNameStr_get(void) {
32fe5131 8739 PyObject *pyobj = NULL;
b2dc1044
RD
8740
8741 {
8742#if wxUSE_UNICODE
8743 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
8744#else
8745 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
8746#endif
8747 }
8748 return pyobj;
8749}
8750
8751
c32bde28 8752static PyObject *_wrap_new_SashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8753 PyObject *resultobj = NULL;
d14a1e28 8754 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 8755 int arg2 = (int) -1 ;
d14a1e28
RD
8756 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8757 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8758 wxSize const &arg4_defvalue = wxDefaultSize ;
8759 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8760 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8761 wxString const &arg6_defvalue = wxPySashNameStr ;
8762 wxString *arg6 = (wxString *) &arg6_defvalue ;
8763 wxSashWindow *result;
8764 wxPoint temp3 ;
8765 wxSize temp4 ;
ae8162c8 8766 bool temp6 = false ;
d14a1e28 8767 PyObject * obj0 = 0 ;
994141e6 8768 PyObject * obj1 = 0 ;
d14a1e28
RD
8769 PyObject * obj2 = 0 ;
8770 PyObject * obj3 = 0 ;
994141e6 8771 PyObject * obj4 = 0 ;
d14a1e28
RD
8772 PyObject * obj5 = 0 ;
8773 char *kwnames[] = {
8774 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8775 };
8776
248ed943 8777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
8778 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8779 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 8780 if (obj1) {
093d3ff1 8781 {
32fe5131 8782 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
8783 if (SWIG_arg_fail(2)) SWIG_fail;
8784 }
248ed943 8785 }
d14a1e28
RD
8786 if (obj2) {
8787 {
8788 arg3 = &temp3;
8789 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8790 }
8791 }
8792 if (obj3) {
8793 {
8794 arg4 = &temp4;
8795 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8796 }
8797 }
994141e6 8798 if (obj4) {
093d3ff1 8799 {
32fe5131 8800 arg5 = static_cast<long >(SWIG_As_long(obj4));
093d3ff1
RD
8801 if (SWIG_arg_fail(5)) SWIG_fail;
8802 }
994141e6 8803 }
d14a1e28
RD
8804 if (obj5) {
8805 {
8806 arg6 = wxString_in_helper(obj5);
8807 if (arg6 == NULL) SWIG_fail;
ae8162c8 8808 temp6 = true;
d14a1e28
RD
8809 }
8810 }
8811 {
e3b71cb8 8812 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
8813 PyThreadState* __tstate = wxPyBeginAllowThreads();
8814 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8815
8816 wxPyEndAllowThreads(__tstate);
110da5b0 8817 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 8818 }
15afbcd0 8819 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
d14a1e28
RD
8820 {
8821 if (temp6)
8822 delete arg6;
8823 }
8824 return resultobj;
8825 fail:
8826 {
8827 if (temp6)
8828 delete arg6;
8829 }
8830 return NULL;
8831}
8832
8833
c32bde28 8834static PyObject *_wrap_new_PreSashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8835 PyObject *resultobj = NULL;
d14a1e28
RD
8836 wxSashWindow *result;
8837 char *kwnames[] = {
8838 NULL
8839 };
8840
8841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
8842 {
e3b71cb8 8843 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
8844 PyThreadState* __tstate = wxPyBeginAllowThreads();
8845 result = (wxSashWindow *)new wxSashWindow();
8846
8847 wxPyEndAllowThreads(__tstate);
110da5b0 8848 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 8849 }
15afbcd0 8850 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
d14a1e28
RD
8851 return resultobj;
8852 fail:
8853 return NULL;
8854}
8855
8856
c32bde28 8857static PyObject *_wrap_SashWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8858 PyObject *resultobj = NULL;
d14a1e28
RD
8859 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8860 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 8861 int arg3 = (int) -1 ;
d14a1e28
RD
8862 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8863 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8864 wxSize const &arg5_defvalue = wxDefaultSize ;
8865 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8866 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8867 wxString const &arg7_defvalue = wxPySashNameStr ;
8868 wxString *arg7 = (wxString *) &arg7_defvalue ;
8869 bool result;
8870 wxPoint temp4 ;
8871 wxSize temp5 ;
ae8162c8 8872 bool temp7 = false ;
d14a1e28
RD
8873 PyObject * obj0 = 0 ;
8874 PyObject * obj1 = 0 ;
994141e6 8875 PyObject * obj2 = 0 ;
d14a1e28
RD
8876 PyObject * obj3 = 0 ;
8877 PyObject * obj4 = 0 ;
994141e6 8878 PyObject * obj5 = 0 ;
d14a1e28
RD
8879 PyObject * obj6 = 0 ;
8880 char *kwnames[] = {
8881 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8882 };
8883
248ed943 8884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
8885 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8886 if (SWIG_arg_fail(1)) SWIG_fail;
8887 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8888 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 8889 if (obj2) {
093d3ff1 8890 {
32fe5131 8891 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
8892 if (SWIG_arg_fail(3)) SWIG_fail;
8893 }
248ed943 8894 }
d14a1e28
RD
8895 if (obj3) {
8896 {
8897 arg4 = &temp4;
8898 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8899 }
8900 }
8901 if (obj4) {
8902 {
8903 arg5 = &temp5;
8904 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8905 }
8906 }
994141e6 8907 if (obj5) {
093d3ff1 8908 {
32fe5131 8909 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
8910 if (SWIG_arg_fail(6)) SWIG_fail;
8911 }
994141e6 8912 }
d14a1e28
RD
8913 if (obj6) {
8914 {
8915 arg7 = wxString_in_helper(obj6);
8916 if (arg7 == NULL) SWIG_fail;
ae8162c8 8917 temp7 = true;
d14a1e28
RD
8918 }
8919 }
8920 {
8921 PyThreadState* __tstate = wxPyBeginAllowThreads();
8922 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8923
8924 wxPyEndAllowThreads(__tstate);
8925 if (PyErr_Occurred()) SWIG_fail;
8926 }
4f89f6a3
RD
8927 {
8928 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8929 }
d14a1e28
RD
8930 {
8931 if (temp7)
8932 delete arg7;
8933 }
8934 return resultobj;
8935 fail:
8936 {
8937 if (temp7)
8938 delete arg7;
8939 }
8940 return NULL;
8941}
8942
8943
c32bde28 8944static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8945 PyObject *resultobj = NULL;
d14a1e28 8946 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
093d3ff1 8947 wxSashEdgePosition arg2 ;
d14a1e28
RD
8948 bool arg3 ;
8949 PyObject * obj0 = 0 ;
994141e6 8950 PyObject * obj1 = 0 ;
d14a1e28
RD
8951 PyObject * obj2 = 0 ;
8952 char *kwnames[] = {
8953 (char *) "self",(char *) "edge",(char *) "sash", NULL
8954 };
8955
994141e6 8956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8957 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8958 if (SWIG_arg_fail(1)) SWIG_fail;
8959 {
32fe5131 8960 arg2 = static_cast<wxSashEdgePosition >(SWIG_As_int(obj1));
093d3ff1
RD
8961 if (SWIG_arg_fail(2)) SWIG_fail;
8962 }
8963 {
32fe5131 8964 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
8965 if (SWIG_arg_fail(3)) SWIG_fail;
8966 }
d14a1e28
RD
8967 {
8968 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 8969 (arg1)->SetSashVisible(arg2,arg3);
d14a1e28
RD
8970
8971 wxPyEndAllowThreads(__tstate);
8972 if (PyErr_Occurred()) SWIG_fail;
8973 }
8974 Py_INCREF(Py_None); resultobj = Py_None;
8975 return resultobj;
8976 fail:
8977 return NULL;
8978}
8979
8980
c32bde28 8981static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8982 PyObject *resultobj = NULL;
d14a1e28 8983 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
093d3ff1 8984 wxSashEdgePosition arg2 ;
d14a1e28
RD
8985 bool result;
8986 PyObject * obj0 = 0 ;
994141e6 8987 PyObject * obj1 = 0 ;
d14a1e28
RD
8988 char *kwnames[] = {
8989 (char *) "self",(char *) "edge", NULL
8990 };
8991
994141e6 8992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8993 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8994 if (SWIG_arg_fail(1)) SWIG_fail;
8995 {
32fe5131 8996 arg2 = static_cast<wxSashEdgePosition >(SWIG_As_int(obj1));
093d3ff1
RD
8997 if (SWIG_arg_fail(2)) SWIG_fail;
8998 }
d14a1e28
RD
8999 {
9000 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 9001 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible(arg2);
d14a1e28
RD
9002
9003 wxPyEndAllowThreads(__tstate);
9004 if (PyErr_Occurred()) SWIG_fail;
9005 }
4f89f6a3
RD
9006 {
9007 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9008 }
d14a1e28
RD
9009 return resultobj;
9010 fail:
9011 return NULL;
9012}
9013
9014
c32bde28 9015static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9016 PyObject *resultobj = NULL;
d14a1e28 9017 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
093d3ff1 9018 wxSashEdgePosition arg2 ;
d14a1e28
RD
9019 bool arg3 ;
9020 PyObject * obj0 = 0 ;
994141e6 9021 PyObject * obj1 = 0 ;
d14a1e28
RD
9022 PyObject * obj2 = 0 ;
9023 char *kwnames[] = {
9024 (char *) "self",(char *) "edge",(char *) "border", NULL
9025 };
9026
994141e6 9027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
9028 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9029 if (SWIG_arg_fail(1)) SWIG_fail;
9030 {
32fe5131 9031 arg2 = static_cast<wxSashEdgePosition >(SWIG_As_int(obj1));
093d3ff1
RD
9032 if (SWIG_arg_fail(2)) SWIG_fail;
9033 }
9034 {
32fe5131 9035 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
9036 if (SWIG_arg_fail(3)) SWIG_fail;
9037 }
d14a1e28
RD
9038 {
9039 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 9040 (arg1)->SetSashBorder(arg2,arg3);
d14a1e28
RD
9041
9042 wxPyEndAllowThreads(__tstate);
9043 if (PyErr_Occurred()) SWIG_fail;
9044 }
9045 Py_INCREF(Py_None); resultobj = Py_None;
9046 return resultobj;
9047 fail:
9048 return NULL;
9049}
9050
9051
c32bde28 9052static PyObject *_wrap_SashWindow_HasBorder(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9053 PyObject *resultobj = NULL;
d14a1e28 9054 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
093d3ff1 9055 wxSashEdgePosition arg2 ;
d14a1e28
RD
9056 bool result;
9057 PyObject * obj0 = 0 ;
994141e6 9058 PyObject * obj1 = 0 ;
d14a1e28
RD
9059 char *kwnames[] = {
9060 (char *) "self",(char *) "edge", NULL
9061 };
9062
994141e6 9063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9064 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9065 if (SWIG_arg_fail(1)) SWIG_fail;
9066 {
32fe5131 9067 arg2 = static_cast<wxSashEdgePosition >(SWIG_As_int(obj1));
093d3ff1
RD
9068 if (SWIG_arg_fail(2)) SWIG_fail;
9069 }
d14a1e28
RD
9070 {
9071 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 9072 result = (bool)((wxSashWindow const *)arg1)->HasBorder(arg2);
d14a1e28
RD
9073
9074 wxPyEndAllowThreads(__tstate);
9075 if (PyErr_Occurred()) SWIG_fail;
9076 }
4f89f6a3
RD
9077 {
9078 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9079 }
d14a1e28
RD
9080 return resultobj;
9081 fail:
9082 return NULL;
9083}
9084
9085
c32bde28 9086static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9087 PyObject *resultobj = NULL;
d14a1e28 9088 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
093d3ff1 9089 wxSashEdgePosition arg2 ;
d14a1e28
RD
9090 int result;
9091 PyObject * obj0 = 0 ;
994141e6 9092 PyObject * obj1 = 0 ;
d14a1e28
RD
9093 char *kwnames[] = {
9094 (char *) "self",(char *) "edge", NULL
9095 };
9096
994141e6 9097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9098 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9099 if (SWIG_arg_fail(1)) SWIG_fail;
9100 {
32fe5131 9101 arg2 = static_cast<wxSashEdgePosition >(SWIG_As_int(obj1));
093d3ff1
RD
9102 if (SWIG_arg_fail(2)) SWIG_fail;
9103 }
d14a1e28
RD
9104 {
9105 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 9106 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin(arg2);
d14a1e28
RD
9107
9108 wxPyEndAllowThreads(__tstate);
9109 if (PyErr_Occurred()) SWIG_fail;
9110 }
093d3ff1 9111 {
32fe5131 9112 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 9113 }
d14a1e28
RD
9114 return resultobj;
9115 fail:
9116 return NULL;
9117}
9118
9119
c32bde28 9120static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9121 PyObject *resultobj = NULL;
d14a1e28
RD
9122 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9123 int arg2 ;
9124 PyObject * obj0 = 0 ;
994141e6 9125 PyObject * obj1 = 0 ;
d14a1e28
RD
9126 char *kwnames[] = {
9127 (char *) "self",(char *) "width", NULL
9128 };
9129
994141e6 9130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9131 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9132 if (SWIG_arg_fail(1)) SWIG_fail;
9133 {
32fe5131 9134 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
9135 if (SWIG_arg_fail(2)) SWIG_fail;
9136 }
d14a1e28
RD
9137 {
9138 PyThreadState* __tstate = wxPyBeginAllowThreads();
9139 (arg1)->SetDefaultBorderSize(arg2);
9140
9141 wxPyEndAllowThreads(__tstate);
9142 if (PyErr_Occurred()) SWIG_fail;
9143 }
9144 Py_INCREF(Py_None); resultobj = Py_None;
9145 return resultobj;
9146 fail:
9147 return NULL;
9148}
9149
9150
c32bde28 9151static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9152 PyObject *resultobj = NULL;
d14a1e28
RD
9153 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9154 int result;
9155 PyObject * obj0 = 0 ;
9156 char *kwnames[] = {
9157 (char *) "self", NULL
9158 };
9159
9160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
9161 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9162 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9163 {
9164 PyThreadState* __tstate = wxPyBeginAllowThreads();
9165 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
9166
9167 wxPyEndAllowThreads(__tstate);
9168 if (PyErr_Occurred()) SWIG_fail;
9169 }
093d3ff1 9170 {
32fe5131 9171 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 9172 }
d14a1e28
RD
9173 return resultobj;
9174 fail:
9175 return NULL;
9176}
9177
9178
c32bde28 9179static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9180 PyObject *resultobj = NULL;
d14a1e28
RD
9181 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9182 int arg2 ;
9183 PyObject * obj0 = 0 ;
994141e6 9184 PyObject * obj1 = 0 ;
d14a1e28
RD
9185 char *kwnames[] = {
9186 (char *) "self",(char *) "width", NULL
9187 };
9188
994141e6 9189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9190 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9191 if (SWIG_arg_fail(1)) SWIG_fail;
9192 {
32fe5131 9193 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
9194 if (SWIG_arg_fail(2)) SWIG_fail;
9195 }
d14a1e28
RD
9196 {
9197 PyThreadState* __tstate = wxPyBeginAllowThreads();
9198 (arg1)->SetExtraBorderSize(arg2);
9199
9200 wxPyEndAllowThreads(__tstate);
9201 if (PyErr_Occurred()) SWIG_fail;
9202 }
9203 Py_INCREF(Py_None); resultobj = Py_None;
9204 return resultobj;
9205 fail:
9206 return NULL;
9207}
9208
9209
c32bde28 9210static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9211 PyObject *resultobj = NULL;
d14a1e28
RD
9212 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9213 int result;
9214 PyObject * obj0 = 0 ;
9215 char *kwnames[] = {
9216 (char *) "self", NULL
9217 };
9218
9219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
9220 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9221 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9222 {
9223 PyThreadState* __tstate = wxPyBeginAllowThreads();
9224 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
9225
9226 wxPyEndAllowThreads(__tstate);
9227 if (PyErr_Occurred()) SWIG_fail;
9228 }
093d3ff1 9229 {
32fe5131 9230 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 9231 }
d14a1e28
RD
9232 return resultobj;
9233 fail:
9234 return NULL;
9235}
9236
9237
c32bde28 9238static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9239 PyObject *resultobj = NULL;
d14a1e28
RD
9240 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9241 int arg2 ;
9242 PyObject * obj0 = 0 ;
994141e6 9243 PyObject * obj1 = 0 ;
d14a1e28
RD
9244 char *kwnames[] = {
9245 (char *) "self",(char *) "min", NULL
9246 };
9247
994141e6 9248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9249 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9250 if (SWIG_arg_fail(1)) SWIG_fail;
9251 {
32fe5131 9252 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
9253 if (SWIG_arg_fail(2)) SWIG_fail;
9254 }
d14a1e28
RD
9255 {
9256 PyThreadState* __tstate = wxPyBeginAllowThreads();
9257 (arg1)->SetMinimumSizeX(arg2);
9258
9259 wxPyEndAllowThreads(__tstate);
9260 if (PyErr_Occurred()) SWIG_fail;
9261 }
9262 Py_INCREF(Py_None); resultobj = Py_None;
9263 return resultobj;
9264 fail:
9265 return NULL;
9266}
9267
9268
c32bde28 9269static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9270 PyObject *resultobj = NULL;
d14a1e28
RD
9271 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9272 int arg2 ;
9273 PyObject * obj0 = 0 ;
994141e6 9274 PyObject * obj1 = 0 ;
d14a1e28
RD
9275 char *kwnames[] = {
9276 (char *) "self",(char *) "min", NULL
9277 };
9278
994141e6 9279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9280 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9281 if (SWIG_arg_fail(1)) SWIG_fail;
9282 {
32fe5131 9283 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
9284 if (SWIG_arg_fail(2)) SWIG_fail;
9285 }
d14a1e28
RD
9286 {
9287 PyThreadState* __tstate = wxPyBeginAllowThreads();
9288 (arg1)->SetMinimumSizeY(arg2);
9289
9290 wxPyEndAllowThreads(__tstate);
9291 if (PyErr_Occurred()) SWIG_fail;
9292 }
9293 Py_INCREF(Py_None); resultobj = Py_None;
9294 return resultobj;
9295 fail:
9296 return NULL;
9297}
9298
9299
c32bde28 9300static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9301 PyObject *resultobj = NULL;
d14a1e28
RD
9302 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9303 int result;
9304 PyObject * obj0 = 0 ;
9305 char *kwnames[] = {
9306 (char *) "self", NULL
9307 };
9308
9309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
093d3ff1
RD
9310 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9311 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9312 {
9313 PyThreadState* __tstate = wxPyBeginAllowThreads();
9314 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
9315
9316 wxPyEndAllowThreads(__tstate);
9317 if (PyErr_Occurred()) SWIG_fail;
9318 }
093d3ff1 9319 {
32fe5131 9320 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 9321 }
d14a1e28
RD
9322 return resultobj;
9323 fail:
9324 return NULL;
9325}
9326
9327
c32bde28 9328static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9329 PyObject *resultobj = NULL;
d14a1e28
RD
9330 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9331 int result;
9332 PyObject * obj0 = 0 ;
9333 char *kwnames[] = {
9334 (char *) "self", NULL
9335 };
9336
9337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
093d3ff1
RD
9338 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9339 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9340 {
9341 PyThreadState* __tstate = wxPyBeginAllowThreads();
9342 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
9343
9344 wxPyEndAllowThreads(__tstate);
9345 if (PyErr_Occurred()) SWIG_fail;
9346 }
093d3ff1 9347 {
32fe5131 9348 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 9349 }
d14a1e28
RD
9350 return resultobj;
9351 fail:
9352 return NULL;
9353}
9354
9355
c32bde28 9356static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9357 PyObject *resultobj = NULL;
d14a1e28
RD
9358 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9359 int arg2 ;
9360 PyObject * obj0 = 0 ;
994141e6 9361 PyObject * obj1 = 0 ;
d14a1e28
RD
9362 char *kwnames[] = {
9363 (char *) "self",(char *) "max", NULL
9364 };
9365
994141e6 9366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9367 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9368 if (SWIG_arg_fail(1)) SWIG_fail;
9369 {
32fe5131 9370 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
9371 if (SWIG_arg_fail(2)) SWIG_fail;
9372 }
d14a1e28
RD
9373 {
9374 PyThreadState* __tstate = wxPyBeginAllowThreads();
9375 (arg1)->SetMaximumSizeX(arg2);
9376
9377 wxPyEndAllowThreads(__tstate);
9378 if (PyErr_Occurred()) SWIG_fail;
9379 }
9380 Py_INCREF(Py_None); resultobj = Py_None;
9381 return resultobj;
9382 fail:
9383 return NULL;
9384}
9385
9386
c32bde28 9387static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9388 PyObject *resultobj = NULL;
d14a1e28
RD
9389 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9390 int arg2 ;
9391 PyObject * obj0 = 0 ;
994141e6 9392 PyObject * obj1 = 0 ;
d14a1e28
RD
9393 char *kwnames[] = {
9394 (char *) "self",(char *) "max", NULL
9395 };
9396
994141e6 9397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9398 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9399 if (SWIG_arg_fail(1)) SWIG_fail;
9400 {
32fe5131 9401 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
9402 if (SWIG_arg_fail(2)) SWIG_fail;
9403 }
d14a1e28
RD
9404 {
9405 PyThreadState* __tstate = wxPyBeginAllowThreads();
9406 (arg1)->SetMaximumSizeY(arg2);
9407
9408 wxPyEndAllowThreads(__tstate);
9409 if (PyErr_Occurred()) SWIG_fail;
9410 }
9411 Py_INCREF(Py_None); resultobj = Py_None;
9412 return resultobj;
9413 fail:
9414 return NULL;
9415}
9416
9417
c32bde28 9418static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9419 PyObject *resultobj = NULL;
d14a1e28
RD
9420 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9421 int result;
9422 PyObject * obj0 = 0 ;
9423 char *kwnames[] = {
9424 (char *) "self", NULL
9425 };
9426
9427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
093d3ff1
RD
9428 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9429 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9430 {
9431 PyThreadState* __tstate = wxPyBeginAllowThreads();
9432 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
9433
9434 wxPyEndAllowThreads(__tstate);
9435 if (PyErr_Occurred()) SWIG_fail;
9436 }
093d3ff1 9437 {
32fe5131 9438 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 9439 }
d14a1e28
RD
9440 return resultobj;
9441 fail:
9442 return NULL;
9443}
9444
9445
c32bde28 9446static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9447 PyObject *resultobj = NULL;
d14a1e28
RD
9448 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9449 int result;
9450 PyObject * obj0 = 0 ;
9451 char *kwnames[] = {
9452 (char *) "self", NULL
9453 };
9454
9455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
093d3ff1
RD
9456 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9457 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9458 {
9459 PyThreadState* __tstate = wxPyBeginAllowThreads();
9460 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
9461
9462 wxPyEndAllowThreads(__tstate);
9463 if (PyErr_Occurred()) SWIG_fail;
9464 }
093d3ff1 9465 {
32fe5131 9466 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 9467 }
d14a1e28
RD
9468 return resultobj;
9469 fail:
9470 return NULL;
9471}
9472
9473
c32bde28 9474static PyObject *_wrap_SashWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9475 PyObject *resultobj = NULL;
d14a1e28
RD
9476 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9477 int arg2 ;
9478 int arg3 ;
9479 int arg4 = (int) 2 ;
093d3ff1 9480 wxSashEdgePosition result;
d14a1e28 9481 PyObject * obj0 = 0 ;
994141e6
RD
9482 PyObject * obj1 = 0 ;
9483 PyObject * obj2 = 0 ;
9484 PyObject * obj3 = 0 ;
d14a1e28
RD
9485 char *kwnames[] = {
9486 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
9487 };
9488
994141e6 9489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
9490 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9491 if (SWIG_arg_fail(1)) SWIG_fail;
9492 {
32fe5131 9493 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
9494 if (SWIG_arg_fail(2)) SWIG_fail;
9495 }
9496 {
32fe5131 9497 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
9498 if (SWIG_arg_fail(3)) SWIG_fail;
9499 }
994141e6 9500 if (obj3) {
093d3ff1 9501 {
32fe5131 9502 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
9503 if (SWIG_arg_fail(4)) SWIG_fail;
9504 }
994141e6 9505 }
d14a1e28
RD
9506 {
9507 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 9508 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
d14a1e28
RD
9509
9510 wxPyEndAllowThreads(__tstate);
9511 if (PyErr_Occurred()) SWIG_fail;
9512 }
093d3ff1 9513 resultobj = SWIG_From_int((result));
d14a1e28
RD
9514 return resultobj;
9515 fail:
9516 return NULL;
9517}
9518
9519
c32bde28 9520static PyObject *_wrap_SashWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9521 PyObject *resultobj = NULL;
d14a1e28
RD
9522 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9523 PyObject * obj0 = 0 ;
9524 char *kwnames[] = {
9525 (char *) "self", NULL
9526 };
9527
9528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
093d3ff1
RD
9529 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9530 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9531 {
9532 PyThreadState* __tstate = wxPyBeginAllowThreads();
9533 (arg1)->SizeWindows();
9534
9535 wxPyEndAllowThreads(__tstate);
9536 if (PyErr_Occurred()) SWIG_fail;
9537 }
9538 Py_INCREF(Py_None); resultobj = Py_None;
9539 return resultobj;
9540 fail:
9541 return NULL;
9542}
9543
9544
c32bde28 9545static PyObject * SashWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
9546 PyObject *obj;
9547 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9548 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
9549 Py_INCREF(obj);
9550 return Py_BuildValue((char *)"");
9551}
c32bde28 9552static PyObject *_wrap_new_SashEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9553 PyObject *resultobj = NULL;
d14a1e28 9554 int arg1 = (int) 0 ;
093d3ff1 9555 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
d14a1e28 9556 wxSashEvent *result;
994141e6
RD
9557 PyObject * obj0 = 0 ;
9558 PyObject * obj1 = 0 ;
d14a1e28
RD
9559 char *kwnames[] = {
9560 (char *) "id",(char *) "edge", NULL
9561 };
9562
994141e6
RD
9563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
9564 if (obj0) {
093d3ff1 9565 {
32fe5131 9566 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
9567 if (SWIG_arg_fail(1)) SWIG_fail;
9568 }
994141e6
RD
9569 }
9570 if (obj1) {
093d3ff1 9571 {
32fe5131 9572 arg2 = static_cast<wxSashEdgePosition >(SWIG_As_int(obj1));
093d3ff1
RD
9573 if (SWIG_arg_fail(2)) SWIG_fail;
9574 }
994141e6 9575 }
d14a1e28
RD
9576 {
9577 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 9578 result = (wxSashEvent *)new wxSashEvent(arg1,arg2);
d14a1e28
RD
9579
9580 wxPyEndAllowThreads(__tstate);
9581 if (PyErr_Occurred()) SWIG_fail;
9582 }
15afbcd0 9583 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
d14a1e28
RD
9584 return resultobj;
9585 fail:
9586 return NULL;
9587}
9588
9589
c32bde28 9590static PyObject *_wrap_SashEvent_SetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9591 PyObject *resultobj = NULL;
d14a1e28 9592 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
093d3ff1 9593 wxSashEdgePosition arg2 ;
d14a1e28 9594 PyObject * obj0 = 0 ;
994141e6 9595 PyObject * obj1 = 0 ;
d14a1e28
RD
9596 char *kwnames[] = {
9597 (char *) "self",(char *) "edge", NULL
9598 };
9599
994141e6 9600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9601 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9602 if (SWIG_arg_fail(1)) SWIG_fail;
9603 {
32fe5131 9604 arg2 = static_cast<wxSashEdgePosition >(SWIG_As_int(obj1));
093d3ff1
RD
9605 if (SWIG_arg_fail(2)) SWIG_fail;
9606 }
d14a1e28
RD
9607 {
9608 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 9609 (arg1)->SetEdge(arg2);
d14a1e28
RD
9610
9611 wxPyEndAllowThreads(__tstate);
9612 if (PyErr_Occurred()) SWIG_fail;
9613 }
9614 Py_INCREF(Py_None); resultobj = Py_None;
9615 return resultobj;
9616 fail:
9617 return NULL;
9618}
9619
9620
c32bde28 9621static PyObject *_wrap_SashEvent_GetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9622 PyObject *resultobj = NULL;
d14a1e28 9623 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
093d3ff1 9624 wxSashEdgePosition result;
d14a1e28
RD
9625 PyObject * obj0 = 0 ;
9626 char *kwnames[] = {
9627 (char *) "self", NULL
9628 };
9629
9630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
093d3ff1
RD
9631 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9632 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9633 {
9634 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 9635 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
d14a1e28
RD
9636
9637 wxPyEndAllowThreads(__tstate);
9638 if (PyErr_Occurred()) SWIG_fail;
9639 }
093d3ff1 9640 resultobj = SWIG_From_int((result));
d14a1e28
RD
9641 return resultobj;
9642 fail:
9643 return NULL;
9644}
9645
9646
c32bde28 9647static PyObject *_wrap_SashEvent_SetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9648 PyObject *resultobj = NULL;
d14a1e28
RD
9649 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9650 wxRect *arg2 = 0 ;
9651 wxRect temp2 ;
9652 PyObject * obj0 = 0 ;
9653 PyObject * obj1 = 0 ;
9654 char *kwnames[] = {
9655 (char *) "self",(char *) "rect", NULL
9656 };
9657
9658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9659 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9660 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9661 {
9662 arg2 = &temp2;
9663 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
9664 }
9665 {
9666 PyThreadState* __tstate = wxPyBeginAllowThreads();
9667 (arg1)->SetDragRect((wxRect const &)*arg2);
9668
9669 wxPyEndAllowThreads(__tstate);
9670 if (PyErr_Occurred()) SWIG_fail;
9671 }
9672 Py_INCREF(Py_None); resultobj = Py_None;
9673 return resultobj;
9674 fail:
9675 return NULL;
9676}
9677
9678
c32bde28 9679static PyObject *_wrap_SashEvent_GetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9680 PyObject *resultobj = NULL;
d14a1e28
RD
9681 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9682 wxRect result;
9683 PyObject * obj0 = 0 ;
9684 char *kwnames[] = {
9685 (char *) "self", NULL
9686 };
9687
9688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
093d3ff1
RD
9689 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9690 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9691 {
9692 PyThreadState* __tstate = wxPyBeginAllowThreads();
9693 result = ((wxSashEvent const *)arg1)->GetDragRect();
9694
9695 wxPyEndAllowThreads(__tstate);
9696 if (PyErr_Occurred()) SWIG_fail;
9697 }
9698 {
9699 wxRect * resultptr;
32fe5131 9700 resultptr = new wxRect(static_cast<wxRect & >(result));
15afbcd0 9701 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
9702 }
9703 return resultobj;
9704 fail:
9705 return NULL;
9706}
9707
9708
c32bde28 9709static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9710 PyObject *resultobj = NULL;
d14a1e28 9711 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
093d3ff1 9712 wxSashDragStatus arg2 ;
d14a1e28 9713 PyObject * obj0 = 0 ;
994141e6 9714 PyObject * obj1 = 0 ;
d14a1e28
RD
9715 char *kwnames[] = {
9716 (char *) "self",(char *) "status", NULL
9717 };
9718
994141e6 9719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9720 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9721 if (SWIG_arg_fail(1)) SWIG_fail;
9722 {
32fe5131 9723 arg2 = static_cast<wxSashDragStatus >(SWIG_As_int(obj1));
093d3ff1
RD
9724 if (SWIG_arg_fail(2)) SWIG_fail;
9725 }
d14a1e28
RD
9726 {
9727 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 9728 (arg1)->SetDragStatus(arg2);
d14a1e28
RD
9729
9730 wxPyEndAllowThreads(__tstate);
9731 if (PyErr_Occurred()) SWIG_fail;
9732 }
9733 Py_INCREF(Py_None); resultobj = Py_None;
9734 return resultobj;
9735 fail:
9736 return NULL;
9737}
9738
9739
c32bde28 9740static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9741 PyObject *resultobj = NULL;
d14a1e28 9742 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
093d3ff1 9743 wxSashDragStatus result;
d14a1e28
RD
9744 PyObject * obj0 = 0 ;
9745 char *kwnames[] = {
9746 (char *) "self", NULL
9747 };
9748
9749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
093d3ff1
RD
9750 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9751 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9752 {
9753 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 9754 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
d14a1e28
RD
9755
9756 wxPyEndAllowThreads(__tstate);
9757 if (PyErr_Occurred()) SWIG_fail;
9758 }
093d3ff1 9759 resultobj = SWIG_From_int((result));
d14a1e28
RD
9760 return resultobj;
9761 fail:
9762 return NULL;
9763}
9764
9765
c32bde28 9766static PyObject * SashEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
9767 PyObject *obj;
9768 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9769 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
9770 Py_INCREF(obj);
9771 return Py_BuildValue((char *)"");
9772}
c32bde28 9773static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9774 PyObject *resultobj = NULL;
e811c8ce 9775 int arg1 = (int) 0 ;
d14a1e28 9776 wxQueryLayoutInfoEvent *result;
994141e6 9777 PyObject * obj0 = 0 ;
d14a1e28
RD
9778 char *kwnames[] = {
9779 (char *) "id", NULL
9780 };
9781
994141e6
RD
9782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
9783 if (obj0) {
093d3ff1 9784 {
32fe5131 9785 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
9786 if (SWIG_arg_fail(1)) SWIG_fail;
9787 }
994141e6 9788 }
d14a1e28
RD
9789 {
9790 PyThreadState* __tstate = wxPyBeginAllowThreads();
9791 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
9792
9793 wxPyEndAllowThreads(__tstate);
9794 if (PyErr_Occurred()) SWIG_fail;
9795 }
15afbcd0 9796 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
d14a1e28
RD
9797 return resultobj;
9798 fail:
9799 return NULL;
9800}
9801
9802
c32bde28 9803static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9804 PyObject *resultobj = NULL;
d14a1e28
RD
9805 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9806 int arg2 ;
9807 PyObject * obj0 = 0 ;
994141e6 9808 PyObject * obj1 = 0 ;
d14a1e28
RD
9809 char *kwnames[] = {
9810 (char *) "self",(char *) "length", NULL
9811 };
9812
994141e6 9813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9814 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9815 if (SWIG_arg_fail(1)) SWIG_fail;
9816 {
32fe5131 9817 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
9818 if (SWIG_arg_fail(2)) SWIG_fail;
9819 }
d14a1e28
RD
9820 {
9821 PyThreadState* __tstate = wxPyBeginAllowThreads();
9822 (arg1)->SetRequestedLength(arg2);
9823
9824 wxPyEndAllowThreads(__tstate);
9825 if (PyErr_Occurred()) SWIG_fail;
9826 }
9827 Py_INCREF(Py_None); resultobj = Py_None;
9828 return resultobj;
9829 fail:
9830 return NULL;
9831}
9832
9833
c32bde28 9834static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9835 PyObject *resultobj = NULL;
d14a1e28
RD
9836 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9837 int result;
9838 PyObject * obj0 = 0 ;
9839 char *kwnames[] = {
9840 (char *) "self", NULL
9841 };
9842
9843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
093d3ff1
RD
9844 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9845 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9846 {
9847 PyThreadState* __tstate = wxPyBeginAllowThreads();
9848 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
9849
9850 wxPyEndAllowThreads(__tstate);
9851 if (PyErr_Occurred()) SWIG_fail;
9852 }
093d3ff1 9853 {
32fe5131 9854 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 9855 }
d14a1e28
RD
9856 return resultobj;
9857 fail:
9858 return NULL;
9859}
9860
9861
c32bde28 9862static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9863 PyObject *resultobj = NULL;
d14a1e28
RD
9864 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9865 int arg2 ;
9866 PyObject * obj0 = 0 ;
994141e6 9867 PyObject * obj1 = 0 ;
d14a1e28
RD
9868 char *kwnames[] = {
9869 (char *) "self",(char *) "flags", NULL
9870 };
9871
994141e6 9872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9873 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9874 if (SWIG_arg_fail(1)) SWIG_fail;
9875 {
32fe5131 9876 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
9877 if (SWIG_arg_fail(2)) SWIG_fail;
9878 }
d14a1e28
RD
9879 {
9880 PyThreadState* __tstate = wxPyBeginAllowThreads();
9881 (arg1)->SetFlags(arg2);
9882
9883 wxPyEndAllowThreads(__tstate);
9884 if (PyErr_Occurred()) SWIG_fail;
9885 }
9886 Py_INCREF(Py_None); resultobj = Py_None;
9887 return resultobj;
9888 fail:
9889 return NULL;
9890}
9891
9892
c32bde28 9893static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9894 PyObject *resultobj = NULL;
d14a1e28
RD
9895 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9896 int result;
9897 PyObject * obj0 = 0 ;
9898 char *kwnames[] = {
9899 (char *) "self", NULL
9900 };
9901
9902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
093d3ff1
RD
9903 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9904 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9905 {
9906 PyThreadState* __tstate = wxPyBeginAllowThreads();
9907 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
9908
9909 wxPyEndAllowThreads(__tstate);
9910 if (PyErr_Occurred()) SWIG_fail;
9911 }
093d3ff1 9912 {
32fe5131 9913 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 9914 }
d14a1e28
RD
9915 return resultobj;
9916 fail:
9917 return NULL;
9918}
9919
9920
c32bde28 9921static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9922 PyObject *resultobj = NULL;
d14a1e28
RD
9923 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9924 wxSize *arg2 = 0 ;
9925 wxSize temp2 ;
9926 PyObject * obj0 = 0 ;
9927 PyObject * obj1 = 0 ;
9928 char *kwnames[] = {
9929 (char *) "self",(char *) "size", NULL
9930 };
9931
9932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9933 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9934 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9935 {
9936 arg2 = &temp2;
9937 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
9938 }
9939 {
9940 PyThreadState* __tstate = wxPyBeginAllowThreads();
9941 (arg1)->SetSize((wxSize const &)*arg2);
9942
9943 wxPyEndAllowThreads(__tstate);
9944 if (PyErr_Occurred()) SWIG_fail;
9945 }
9946 Py_INCREF(Py_None); resultobj = Py_None;
9947 return resultobj;
9948 fail:
9949 return NULL;
9950}
9951
9952
c32bde28 9953static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9954 PyObject *resultobj = NULL;
d14a1e28
RD
9955 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9956 wxSize result;
9957 PyObject * obj0 = 0 ;
9958 char *kwnames[] = {
9959 (char *) "self", NULL
9960 };
9961
9962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
9963 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9964 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9965 {
9966 PyThreadState* __tstate = wxPyBeginAllowThreads();
9967 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
9968
9969 wxPyEndAllowThreads(__tstate);
9970 if (PyErr_Occurred()) SWIG_fail;
9971 }
9972 {
9973 wxSize * resultptr;
32fe5131 9974 resultptr = new wxSize(static_cast<wxSize & >(result));
15afbcd0 9975 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
9976 }
9977 return resultobj;
9978 fail:
9979 return NULL;
9980}
9981
9982
c32bde28 9983static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9984 PyObject *resultobj = NULL;
d14a1e28 9985 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
093d3ff1 9986 wxLayoutOrientation arg2 ;
d14a1e28 9987 PyObject * obj0 = 0 ;
994141e6 9988 PyObject * obj1 = 0 ;
d14a1e28
RD
9989 char *kwnames[] = {
9990 (char *) "self",(char *) "orient", NULL
9991 };
9992
994141e6 9993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9994 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9995 if (SWIG_arg_fail(1)) SWIG_fail;
9996 {
32fe5131 9997 arg2 = static_cast<wxLayoutOrientation >(SWIG_As_int(obj1));
093d3ff1
RD
9998 if (SWIG_arg_fail(2)) SWIG_fail;
9999 }
d14a1e28
RD
10000 {
10001 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 10002 (arg1)->SetOrientation(arg2);
d14a1e28
RD
10003
10004 wxPyEndAllowThreads(__tstate);
10005 if (PyErr_Occurred()) SWIG_fail;
10006 }
10007 Py_INCREF(Py_None); resultobj = Py_None;
10008 return resultobj;
10009 fail:
10010 return NULL;
10011}
10012
10013
c32bde28 10014static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10015 PyObject *resultobj = NULL;
d14a1e28 10016 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
093d3ff1 10017 wxLayoutOrientation result;
d14a1e28
RD
10018 PyObject * obj0 = 0 ;
10019 char *kwnames[] = {
10020 (char *) "self", NULL
10021 };
10022
10023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
093d3ff1
RD
10024 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
10025 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10026 {
10027 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 10028 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
d14a1e28
RD
10029
10030 wxPyEndAllowThreads(__tstate);
10031 if (PyErr_Occurred()) SWIG_fail;
10032 }
093d3ff1 10033 resultobj = SWIG_From_int((result));
d14a1e28
RD
10034 return resultobj;
10035 fail:
10036 return NULL;
10037}
10038
10039
c32bde28 10040static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10041 PyObject *resultobj = NULL;
d14a1e28 10042 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
093d3ff1 10043 wxLayoutAlignment arg2 ;
d14a1e28 10044 PyObject * obj0 = 0 ;
994141e6 10045 PyObject * obj1 = 0 ;
d14a1e28
RD
10046 char *kwnames[] = {
10047 (char *) "self",(char *) "align", NULL
10048 };
10049
994141e6 10050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10051 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
10052 if (SWIG_arg_fail(1)) SWIG_fail;
10053 {
32fe5131 10054 arg2 = static_cast<wxLayoutAlignment >(SWIG_As_int(obj1));
093d3ff1
RD
10055 if (SWIG_arg_fail(2)) SWIG_fail;
10056 }
d14a1e28
RD
10057 {
10058 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 10059 (arg1)->SetAlignment(arg2);
d14a1e28
RD
10060
10061 wxPyEndAllowThreads(__tstate);
10062 if (PyErr_Occurred()) SWIG_fail;
10063 }
10064 Py_INCREF(Py_None); resultobj = Py_None;
10065 return resultobj;
10066 fail:
10067 return NULL;
10068}
10069
10070
c32bde28 10071static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10072 PyObject *resultobj = NULL;
d14a1e28 10073 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
093d3ff1 10074 wxLayoutAlignment result;
d14a1e28
RD
10075 PyObject * obj0 = 0 ;
10076 char *kwnames[] = {
10077 (char *) "self", NULL
10078 };
10079
10080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
093d3ff1
RD
10081 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
10082 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10083 {
10084 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 10085 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
d14a1e28
RD
10086
10087 wxPyEndAllowThreads(__tstate);
10088 if (PyErr_Occurred()) SWIG_fail;
10089 }
093d3ff1 10090 resultobj = SWIG_From_int((result));
d14a1e28
RD
10091 return resultobj;
10092 fail:
10093 return NULL;
10094}
10095
10096
c32bde28 10097static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
10098 PyObject *obj;
10099 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10100 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
10101 Py_INCREF(obj);
10102 return Py_BuildValue((char *)"");
10103}
c32bde28 10104static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10105 PyObject *resultobj = NULL;
e811c8ce 10106 int arg1 = (int) 0 ;
d14a1e28 10107 wxCalculateLayoutEvent *result;
994141e6 10108 PyObject * obj0 = 0 ;
d14a1e28
RD
10109 char *kwnames[] = {
10110 (char *) "id", NULL
10111 };
10112
994141e6
RD
10113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
10114 if (obj0) {
093d3ff1 10115 {
32fe5131 10116 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
10117 if (SWIG_arg_fail(1)) SWIG_fail;
10118 }
994141e6 10119 }
d14a1e28
RD
10120 {
10121 PyThreadState* __tstate = wxPyBeginAllowThreads();
10122 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
10123
10124 wxPyEndAllowThreads(__tstate);
10125 if (PyErr_Occurred()) SWIG_fail;
10126 }
15afbcd0 10127 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
d14a1e28
RD
10128 return resultobj;
10129 fail:
10130 return NULL;
10131}
10132
10133
c32bde28 10134static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10135 PyObject *resultobj = NULL;
d14a1e28
RD
10136 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
10137 int arg2 ;
10138 PyObject * obj0 = 0 ;
994141e6 10139 PyObject * obj1 = 0 ;
d14a1e28
RD
10140 char *kwnames[] = {
10141 (char *) "self",(char *) "flags", NULL
10142 };
10143
994141e6 10144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10145 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
10146 if (SWIG_arg_fail(1)) SWIG_fail;
10147 {
32fe5131 10148 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
10149 if (SWIG_arg_fail(2)) SWIG_fail;
10150 }
d14a1e28
RD
10151 {
10152 PyThreadState* __tstate = wxPyBeginAllowThreads();
10153 (arg1)->SetFlags(arg2);
10154
10155 wxPyEndAllowThreads(__tstate);
10156 if (PyErr_Occurred()) SWIG_fail;
10157 }
10158 Py_INCREF(Py_None); resultobj = Py_None;
10159 return resultobj;
10160 fail:
10161 return NULL;
10162}
10163
10164
c32bde28 10165static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10166 PyObject *resultobj = NULL;
d14a1e28
RD
10167 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
10168 int result;
10169 PyObject * obj0 = 0 ;
10170 char *kwnames[] = {
10171 (char *) "self", NULL
10172 };
10173
10174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
093d3ff1
RD
10175 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
10176 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10177 {
10178 PyThreadState* __tstate = wxPyBeginAllowThreads();
10179 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
10180
10181 wxPyEndAllowThreads(__tstate);
10182 if (PyErr_Occurred()) SWIG_fail;
10183 }
093d3ff1 10184 {
32fe5131 10185 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 10186 }
d14a1e28
RD
10187 return resultobj;
10188 fail:
10189 return NULL;
10190}
10191
10192
c32bde28 10193static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10194 PyObject *resultobj = NULL;
d14a1e28
RD
10195 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
10196 wxRect *arg2 = 0 ;
10197 wxRect temp2 ;
10198 PyObject * obj0 = 0 ;
10199 PyObject * obj1 = 0 ;
10200 char *kwnames[] = {
10201 (char *) "self",(char *) "rect", NULL
10202 };
10203
10204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10205 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
10206 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10207 {
10208 arg2 = &temp2;
10209 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10210 }
10211 {
10212 PyThreadState* __tstate = wxPyBeginAllowThreads();
10213 (arg1)->SetRect((wxRect const &)*arg2);
10214
10215 wxPyEndAllowThreads(__tstate);
10216 if (PyErr_Occurred()) SWIG_fail;
10217 }
10218 Py_INCREF(Py_None); resultobj = Py_None;
10219 return resultobj;
10220 fail:
10221 return NULL;
10222}
10223
10224
c32bde28 10225static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10226 PyObject *resultobj = NULL;
d14a1e28
RD
10227 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
10228 wxRect result;
10229 PyObject * obj0 = 0 ;
10230 char *kwnames[] = {
10231 (char *) "self", NULL
10232 };
10233
10234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
093d3ff1
RD
10235 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
10236 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10237 {
10238 PyThreadState* __tstate = wxPyBeginAllowThreads();
10239 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
10240
10241 wxPyEndAllowThreads(__tstate);
10242 if (PyErr_Occurred()) SWIG_fail;
10243 }
10244 {
10245 wxRect * resultptr;
32fe5131 10246 resultptr = new wxRect(static_cast<wxRect & >(result));
15afbcd0 10247 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
10248 }
10249 return resultobj;
10250 fail:
10251 return NULL;
10252}
10253
10254
c32bde28 10255static PyObject * CalculateLayoutEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
10256 PyObject *obj;
10257 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10258 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
10259 Py_INCREF(obj);
10260 return Py_BuildValue((char *)"");
10261}
c32bde28 10262static PyObject *_wrap_new_SashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10263 PyObject *resultobj = NULL;
d14a1e28 10264 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 10265 int arg2 = (int) -1 ;
d14a1e28
RD
10266 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10267 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10268 wxSize const &arg4_defvalue = wxDefaultSize ;
10269 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10270 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10271 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
10272 wxString *arg6 = (wxString *) &arg6_defvalue ;
10273 wxSashLayoutWindow *result;
10274 wxPoint temp3 ;
10275 wxSize temp4 ;
ae8162c8 10276 bool temp6 = false ;
d14a1e28 10277 PyObject * obj0 = 0 ;
994141e6 10278 PyObject * obj1 = 0 ;
d14a1e28
RD
10279 PyObject * obj2 = 0 ;
10280 PyObject * obj3 = 0 ;
994141e6 10281 PyObject * obj4 = 0 ;
d14a1e28
RD
10282 PyObject * obj5 = 0 ;
10283 char *kwnames[] = {
10284 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10285 };
10286
248ed943 10287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
10288 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10289 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 10290 if (obj1) {
093d3ff1 10291 {
32fe5131 10292 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
10293 if (SWIG_arg_fail(2)) SWIG_fail;
10294 }
248ed943 10295 }
d14a1e28
RD
10296 if (obj2) {
10297 {
10298 arg3 = &temp3;
10299 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10300 }
10301 }
10302 if (obj3) {
10303 {
10304 arg4 = &temp4;
10305 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10306 }
10307 }
994141e6 10308 if (obj4) {
093d3ff1 10309 {
32fe5131 10310 arg5 = static_cast<long >(SWIG_As_long(obj4));
093d3ff1
RD
10311 if (SWIG_arg_fail(5)) SWIG_fail;
10312 }
994141e6 10313 }
d14a1e28
RD
10314 if (obj5) {
10315 {
10316 arg6 = wxString_in_helper(obj5);
10317 if (arg6 == NULL) SWIG_fail;
ae8162c8 10318 temp6 = true;
d14a1e28
RD
10319 }
10320 }
10321 {
e3b71cb8 10322 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
10323 PyThreadState* __tstate = wxPyBeginAllowThreads();
10324 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10325
10326 wxPyEndAllowThreads(__tstate);
110da5b0 10327 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 10328 }
15afbcd0 10329 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
d14a1e28
RD
10330 {
10331 if (temp6)
10332 delete arg6;
10333 }
10334 return resultobj;
10335 fail:
10336 {
10337 if (temp6)
10338 delete arg6;
10339 }
10340 return NULL;
10341}
10342
10343
c32bde28 10344static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10345 PyObject *resultobj = NULL;
d14a1e28
RD
10346 wxSashLayoutWindow *result;
10347 char *kwnames[] = {
10348 NULL
10349 };
10350
10351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
10352 {
e3b71cb8 10353 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
10354 PyThreadState* __tstate = wxPyBeginAllowThreads();
10355 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
10356
10357 wxPyEndAllowThreads(__tstate);
110da5b0 10358 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 10359 }
15afbcd0 10360 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
d14a1e28
RD
10361 return resultobj;
10362 fail:
10363 return NULL;
10364}
10365
10366
c32bde28 10367static PyObject *_wrap_SashLayoutWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10368 PyObject *resultobj = NULL;
d14a1e28
RD
10369 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10370 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 10371 int arg3 = (int) -1 ;
d14a1e28
RD
10372 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10373 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10374 wxSize const &arg5_defvalue = wxDefaultSize ;
10375 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10376 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10377 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
10378 wxString *arg7 = (wxString *) &arg7_defvalue ;
10379 bool result;
10380 wxPoint temp4 ;
10381 wxSize temp5 ;
ae8162c8 10382 bool temp7 = false ;
d14a1e28
RD
10383 PyObject * obj0 = 0 ;
10384 PyObject * obj1 = 0 ;
994141e6 10385 PyObject * obj2 = 0 ;
d14a1e28
RD
10386 PyObject * obj3 = 0 ;
10387 PyObject * obj4 = 0 ;
994141e6 10388 PyObject * obj5 = 0 ;
d14a1e28
RD
10389 PyObject * obj6 = 0 ;
10390 char *kwnames[] = {
10391 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10392 };
10393
248ed943 10394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
10395 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10396 if (SWIG_arg_fail(1)) SWIG_fail;
10397 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10398 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 10399 if (obj2) {
093d3ff1 10400 {
32fe5131 10401 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
10402 if (SWIG_arg_fail(3)) SWIG_fail;
10403 }
248ed943 10404 }
d14a1e28
RD
10405 if (obj3) {
10406 {
10407 arg4 = &temp4;
10408 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10409 }
10410 }
10411 if (obj4) {
10412 {
10413 arg5 = &temp5;
10414 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10415 }
10416 }
994141e6 10417 if (obj5) {
093d3ff1 10418 {
32fe5131 10419 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
10420 if (SWIG_arg_fail(6)) SWIG_fail;
10421 }
994141e6 10422 }
d14a1e28
RD
10423 if (obj6) {
10424 {
10425 arg7 = wxString_in_helper(obj6);
10426 if (arg7 == NULL) SWIG_fail;
ae8162c8 10427 temp7 = true;
d14a1e28
RD
10428 }
10429 }
10430 {
10431 PyThreadState* __tstate = wxPyBeginAllowThreads();
10432 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10433
10434 wxPyEndAllowThreads(__tstate);
10435 if (PyErr_Occurred()) SWIG_fail;
10436 }
4f89f6a3
RD
10437 {
10438 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10439 }
d14a1e28
RD
10440 {
10441 if (temp7)
10442 delete arg7;
10443 }
10444 return resultobj;
10445 fail:
10446 {
10447 if (temp7)
10448 delete arg7;
10449 }
10450 return NULL;
10451}
10452
10453
c32bde28 10454static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10455 PyObject *resultobj = NULL;
d14a1e28 10456 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
093d3ff1 10457 wxLayoutAlignment result;
d14a1e28
RD
10458 PyObject * obj0 = 0 ;
10459 char *kwnames[] = {
10460 (char *) "self", NULL
10461 };
10462
10463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
093d3ff1
RD
10464 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10465 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10466 {
10467 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 10468 result = (wxLayoutAlignment)(arg1)->GetAlignment();
d14a1e28
RD
10469
10470 wxPyEndAllowThreads(__tstate);
10471 if (PyErr_Occurred()) SWIG_fail;
10472 }
093d3ff1 10473 resultobj = SWIG_From_int((result));
d14a1e28
RD
10474 return resultobj;
10475 fail:
10476 return NULL;
10477}
10478
10479
c32bde28 10480static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10481 PyObject *resultobj = NULL;
d14a1e28 10482 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
093d3ff1 10483 wxLayoutOrientation result;
d14a1e28
RD
10484 PyObject * obj0 = 0 ;
10485 char *kwnames[] = {
10486 (char *) "self", NULL
10487 };
10488
10489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
093d3ff1
RD
10490 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10491 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10492 {
10493 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 10494 result = (wxLayoutOrientation)(arg1)->GetOrientation();
d14a1e28
RD
10495
10496 wxPyEndAllowThreads(__tstate);
10497 if (PyErr_Occurred()) SWIG_fail;
10498 }
093d3ff1 10499 resultobj = SWIG_From_int((result));
d14a1e28
RD
10500 return resultobj;
10501 fail:
10502 return NULL;
10503}
10504
10505
c32bde28 10506static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10507 PyObject *resultobj = NULL;
d14a1e28 10508 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
093d3ff1 10509 wxLayoutAlignment arg2 ;
d14a1e28 10510 PyObject * obj0 = 0 ;
994141e6 10511 PyObject * obj1 = 0 ;
d14a1e28
RD
10512 char *kwnames[] = {
10513 (char *) "self",(char *) "alignment", NULL
10514 };
10515
994141e6 10516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10517 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10518 if (SWIG_arg_fail(1)) SWIG_fail;
10519 {
32fe5131 10520 arg2 = static_cast<wxLayoutAlignment >(SWIG_As_int(obj1));
093d3ff1
RD
10521 if (SWIG_arg_fail(2)) SWIG_fail;
10522 }
d14a1e28
RD
10523 {
10524 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 10525 (arg1)->SetAlignment(arg2);
d14a1e28
RD
10526
10527 wxPyEndAllowThreads(__tstate);
10528 if (PyErr_Occurred()) SWIG_fail;
10529 }
10530 Py_INCREF(Py_None); resultobj = Py_None;
10531 return resultobj;
10532 fail:
10533 return NULL;
10534}
10535
10536
c32bde28 10537static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10538 PyObject *resultobj = NULL;
d14a1e28
RD
10539 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10540 wxSize *arg2 = 0 ;
10541 wxSize temp2 ;
10542 PyObject * obj0 = 0 ;
10543 PyObject * obj1 = 0 ;
10544 char *kwnames[] = {
10545 (char *) "self",(char *) "size", NULL
10546 };
10547
10548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10549 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10550 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10551 {
10552 arg2 = &temp2;
10553 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
10554 }
10555 {
10556 PyThreadState* __tstate = wxPyBeginAllowThreads();
10557 (arg1)->SetDefaultSize((wxSize const &)*arg2);
10558
10559 wxPyEndAllowThreads(__tstate);
10560 if (PyErr_Occurred()) SWIG_fail;
10561 }
10562 Py_INCREF(Py_None); resultobj = Py_None;
10563 return resultobj;
10564 fail:
10565 return NULL;
10566}
10567
10568
c32bde28 10569static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10570 PyObject *resultobj = NULL;
d14a1e28 10571 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
093d3ff1 10572 wxLayoutOrientation arg2 ;
d14a1e28 10573 PyObject * obj0 = 0 ;
994141e6 10574 PyObject * obj1 = 0 ;
d14a1e28
RD
10575 char *kwnames[] = {
10576 (char *) "self",(char *) "orientation", NULL
10577 };
10578
994141e6 10579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10580 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10581 if (SWIG_arg_fail(1)) SWIG_fail;
10582 {
32fe5131 10583 arg2 = static_cast<wxLayoutOrientation >(SWIG_As_int(obj1));
093d3ff1
RD
10584 if (SWIG_arg_fail(2)) SWIG_fail;
10585 }
d14a1e28
RD
10586 {
10587 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 10588 (arg1)->SetOrientation(arg2);
d14a1e28
RD
10589
10590 wxPyEndAllowThreads(__tstate);
10591 if (PyErr_Occurred()) SWIG_fail;
10592 }
10593 Py_INCREF(Py_None); resultobj = Py_None;
10594 return resultobj;
10595 fail:
10596 return NULL;
10597}
10598
10599
c32bde28 10600static PyObject * SashLayoutWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
10601 PyObject *obj;
10602 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10603 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
10604 Py_INCREF(obj);
10605 return Py_BuildValue((char *)"");
10606}
c32bde28 10607static PyObject *_wrap_new_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10608 PyObject *resultobj = NULL;
d14a1e28
RD
10609 wxLayoutAlgorithm *result;
10610 char *kwnames[] = {
10611 NULL
10612 };
10613
10614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
10615 {
10616 PyThreadState* __tstate = wxPyBeginAllowThreads();
10617 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
10618
10619 wxPyEndAllowThreads(__tstate);
10620 if (PyErr_Occurred()) SWIG_fail;
10621 }
15afbcd0 10622 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
d14a1e28
RD
10623 return resultobj;
10624 fail:
10625 return NULL;
10626}
10627
10628
c32bde28 10629static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10630 PyObject *resultobj = NULL;
d14a1e28
RD
10631 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10632 PyObject * obj0 = 0 ;
10633 char *kwnames[] = {
10634 (char *) "self", NULL
10635 };
10636
10637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
093d3ff1
RD
10638 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10639 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10640 {
10641 PyThreadState* __tstate = wxPyBeginAllowThreads();
10642 delete arg1;
10643
10644 wxPyEndAllowThreads(__tstate);
10645 if (PyErr_Occurred()) SWIG_fail;
10646 }
10647 Py_INCREF(Py_None); resultobj = Py_None;
10648 return resultobj;
10649 fail:
10650 return NULL;
10651}
10652
10653
c32bde28 10654static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10655 PyObject *resultobj = NULL;
d14a1e28
RD
10656 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10657 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
10658 wxRect *arg3 = (wxRect *) NULL ;
10659 bool result;
10660 PyObject * obj0 = 0 ;
10661 PyObject * obj1 = 0 ;
10662 PyObject * obj2 = 0 ;
10663 char *kwnames[] = {
10664 (char *) "self",(char *) "frame",(char *) "rect", NULL
10665 };
10666
10667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10668 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10669 if (SWIG_arg_fail(1)) SWIG_fail;
10670 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
10671 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 10672 if (obj2) {
093d3ff1
RD
10673 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
10674 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
10675 }
10676 {
10677 PyThreadState* __tstate = wxPyBeginAllowThreads();
10678 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
10679
10680 wxPyEndAllowThreads(__tstate);
10681 if (PyErr_Occurred()) SWIG_fail;
10682 }
4f89f6a3
RD
10683 {
10684 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10685 }
d14a1e28
RD
10686 return resultobj;
10687 fail:
10688 return NULL;
10689}
10690
10691
c32bde28 10692static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10693 PyObject *resultobj = NULL;
d14a1e28
RD
10694 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10695 wxFrame *arg2 = (wxFrame *) 0 ;
10696 wxWindow *arg3 = (wxWindow *) NULL ;
10697 bool result;
10698 PyObject * obj0 = 0 ;
10699 PyObject * obj1 = 0 ;
10700 PyObject * obj2 = 0 ;
10701 char *kwnames[] = {
10702 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
10703 };
10704
10705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10706 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10707 if (SWIG_arg_fail(1)) SWIG_fail;
10708 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
10709 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 10710 if (obj2) {
093d3ff1
RD
10711 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10712 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
10713 }
10714 {
10715 PyThreadState* __tstate = wxPyBeginAllowThreads();
10716 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
10717
10718 wxPyEndAllowThreads(__tstate);
10719 if (PyErr_Occurred()) SWIG_fail;
10720 }
4f89f6a3
RD
10721 {
10722 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10723 }
d14a1e28
RD
10724 return resultobj;
10725 fail:
10726 return NULL;
10727}
10728
10729
c32bde28 10730static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10731 PyObject *resultobj = NULL;
d14a1e28
RD
10732 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10733 wxWindow *arg2 = (wxWindow *) 0 ;
10734 wxWindow *arg3 = (wxWindow *) NULL ;
10735 bool result;
10736 PyObject * obj0 = 0 ;
10737 PyObject * obj1 = 0 ;
10738 PyObject * obj2 = 0 ;
10739 char *kwnames[] = {
10740 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
10741 };
10742
10743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10744 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10745 if (SWIG_arg_fail(1)) SWIG_fail;
10746 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10747 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 10748 if (obj2) {
093d3ff1
RD
10749 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10750 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
10751 }
10752 {
10753 PyThreadState* __tstate = wxPyBeginAllowThreads();
10754 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
10755
10756 wxPyEndAllowThreads(__tstate);
10757 if (PyErr_Occurred()) SWIG_fail;
10758 }
4f89f6a3
RD
10759 {
10760 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10761 }
d14a1e28
RD
10762 return resultobj;
10763 fail:
10764 return NULL;
10765}
10766
10767
c32bde28 10768static PyObject * LayoutAlgorithm_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
10769 PyObject *obj;
10770 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10771 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
10772 Py_INCREF(obj);
10773 return Py_BuildValue((char *)"");
10774}
c32bde28 10775static PyObject *_wrap_new_PopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10776 PyObject *resultobj = NULL;
d14a1e28
RD
10777 wxWindow *arg1 = (wxWindow *) 0 ;
10778 int arg2 = (int) wxBORDER_NONE ;
10779 wxPopupWindow *result;
10780 PyObject * obj0 = 0 ;
994141e6 10781 PyObject * obj1 = 0 ;
d14a1e28
RD
10782 char *kwnames[] = {
10783 (char *) "parent",(char *) "flags", NULL
10784 };
10785
994141e6 10786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10787 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10788 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 10789 if (obj1) {
093d3ff1 10790 {
32fe5131 10791 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
10792 if (SWIG_arg_fail(2)) SWIG_fail;
10793 }
994141e6 10794 }
d14a1e28 10795 {
e3b71cb8 10796 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
10797 PyThreadState* __tstate = wxPyBeginAllowThreads();
10798 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
10799
10800 wxPyEndAllowThreads(__tstate);
110da5b0 10801 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 10802 }
15afbcd0 10803 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
d14a1e28
RD
10804 return resultobj;
10805 fail:
10806 return NULL;
10807}
10808
10809
c32bde28 10810static PyObject *_wrap_new_PrePopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10811 PyObject *resultobj = NULL;
d14a1e28
RD
10812 wxPopupWindow *result;
10813 char *kwnames[] = {
10814 NULL
10815 };
10816
10817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
10818 {
e3b71cb8 10819 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
10820 PyThreadState* __tstate = wxPyBeginAllowThreads();
10821 result = (wxPopupWindow *)new wxPopupWindow();
10822
10823 wxPyEndAllowThreads(__tstate);
110da5b0 10824 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 10825 }
15afbcd0 10826 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
d14a1e28
RD
10827 return resultobj;
10828 fail:
10829 return NULL;
10830}
10831
10832
c32bde28 10833static PyObject *_wrap_PopupWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10834 PyObject *resultobj = NULL;
d14a1e28
RD
10835 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
10836 wxWindow *arg2 = (wxWindow *) 0 ;
10837 int arg3 = (int) wxBORDER_NONE ;
10838 bool result;
10839 PyObject * obj0 = 0 ;
10840 PyObject * obj1 = 0 ;
994141e6 10841 PyObject * obj2 = 0 ;
d14a1e28
RD
10842 char *kwnames[] = {
10843 (char *) "self",(char *) "parent",(char *) "flags", NULL
10844 };
10845
994141e6 10846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10847 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_EXCEPTION | 0);
10848 if (SWIG_arg_fail(1)) SWIG_fail;
10849 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10850 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6 10851 if (obj2) {
093d3ff1 10852 {
32fe5131 10853 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
10854 if (SWIG_arg_fail(3)) SWIG_fail;
10855 }
994141e6 10856 }
d14a1e28
RD
10857 {
10858 PyThreadState* __tstate = wxPyBeginAllowThreads();
10859 result = (bool)(arg1)->Create(arg2,arg3);
10860
10861 wxPyEndAllowThreads(__tstate);
10862 if (PyErr_Occurred()) SWIG_fail;
10863 }
4f89f6a3
RD
10864 {
10865 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10866 }
d14a1e28
RD
10867 return resultobj;
10868 fail:
10869 return NULL;
10870}
10871
10872
c32bde28 10873static PyObject *_wrap_PopupWindow_Position(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10874 PyObject *resultobj = NULL;
d14a1e28
RD
10875 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
10876 wxPoint *arg2 = 0 ;
10877 wxSize *arg3 = 0 ;
10878 wxPoint temp2 ;
10879 wxSize temp3 ;
10880 PyObject * obj0 = 0 ;
10881 PyObject * obj1 = 0 ;
10882 PyObject * obj2 = 0 ;
10883 char *kwnames[] = {
10884 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
10885 };
10886
10887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10888 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_EXCEPTION | 0);
10889 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10890 {
10891 arg2 = &temp2;
10892 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10893 }
10894 {
10895 arg3 = &temp3;
10896 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
10897 }
10898 {
10899 PyThreadState* __tstate = wxPyBeginAllowThreads();
10900 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
10901
10902 wxPyEndAllowThreads(__tstate);
10903 if (PyErr_Occurred()) SWIG_fail;
10904 }
10905 Py_INCREF(Py_None); resultobj = Py_None;
10906 return resultobj;
10907 fail:
10908 return NULL;
10909}
10910
10911
c32bde28 10912static PyObject * PopupWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
10913 PyObject *obj;
10914 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10915 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
10916 Py_INCREF(obj);
10917 return Py_BuildValue((char *)"");
10918}
c32bde28 10919static PyObject *_wrap_new_PopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10920 PyObject *resultobj = NULL;
d14a1e28
RD
10921 wxWindow *arg1 = (wxWindow *) 0 ;
10922 int arg2 = (int) wxBORDER_NONE ;
10923 wxPyPopupTransientWindow *result;
10924 PyObject * obj0 = 0 ;
994141e6 10925 PyObject * obj1 = 0 ;
d14a1e28
RD
10926 char *kwnames[] = {
10927 (char *) "parent",(char *) "style", NULL
10928 };
10929
994141e6 10930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10931 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10932 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 10933 if (obj1) {
093d3ff1 10934 {
32fe5131 10935 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
10936 if (SWIG_arg_fail(2)) SWIG_fail;
10937 }
994141e6 10938 }
d14a1e28 10939 {
e3b71cb8 10940 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
10941 PyThreadState* __tstate = wxPyBeginAllowThreads();
10942 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
10943
10944 wxPyEndAllowThreads(__tstate);
110da5b0 10945 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 10946 }
15afbcd0 10947 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
d14a1e28
RD
10948 return resultobj;
10949 fail:
10950 return NULL;
10951}
10952
10953
c32bde28 10954static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10955 PyObject *resultobj = NULL;
d14a1e28
RD
10956 wxPyPopupTransientWindow *result;
10957 char *kwnames[] = {
10958 NULL
10959 };
10960
10961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
10962 {
e3b71cb8 10963 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
10964 PyThreadState* __tstate = wxPyBeginAllowThreads();
10965 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
10966
10967 wxPyEndAllowThreads(__tstate);
110da5b0 10968 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 10969 }
15afbcd0 10970 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
d14a1e28
RD
10971 return resultobj;
10972 fail:
10973 return NULL;
10974}
10975
10976
c32bde28 10977static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10978 PyObject *resultobj = NULL;
d14a1e28
RD
10979 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
10980 PyObject *arg2 = (PyObject *) 0 ;
10981 PyObject *arg3 = (PyObject *) 0 ;
10982 PyObject * obj0 = 0 ;
10983 PyObject * obj1 = 0 ;
10984 PyObject * obj2 = 0 ;
10985 char *kwnames[] = {
10986 (char *) "self",(char *) "self",(char *) "_class", NULL
10987 };
10988
10989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10990 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_EXCEPTION | 0);
10991 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10992 arg2 = obj1;
10993 arg3 = obj2;
10994 {
10995 PyThreadState* __tstate = wxPyBeginAllowThreads();
10996 (arg1)->_setCallbackInfo(arg2,arg3);
10997
10998 wxPyEndAllowThreads(__tstate);
10999 if (PyErr_Occurred()) SWIG_fail;
11000 }
11001 Py_INCREF(Py_None); resultobj = Py_None;
11002 return resultobj;
11003 fail:
11004 return NULL;
11005}
11006
11007
c32bde28 11008static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11009 PyObject *resultobj = NULL;
d14a1e28
RD
11010 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
11011 wxWindow *arg2 = (wxWindow *) NULL ;
11012 PyObject * obj0 = 0 ;
11013 PyObject * obj1 = 0 ;
11014 char *kwnames[] = {
11015 (char *) "self",(char *) "focus", NULL
11016 };
11017
11018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11019 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_EXCEPTION | 0);
11020 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 11021 if (obj1) {
093d3ff1
RD
11022 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11023 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
11024 }
11025 {
11026 PyThreadState* __tstate = wxPyBeginAllowThreads();
11027 (arg1)->Popup(arg2);
11028
11029 wxPyEndAllowThreads(__tstate);
11030 if (PyErr_Occurred()) SWIG_fail;
11031 }
11032 Py_INCREF(Py_None); resultobj = Py_None;
11033 return resultobj;
11034 fail:
11035 return NULL;
11036}
11037
11038
c32bde28 11039static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11040 PyObject *resultobj = NULL;
d14a1e28
RD
11041 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
11042 PyObject * obj0 = 0 ;
11043 char *kwnames[] = {
11044 (char *) "self", NULL
11045 };
11046
11047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail;
093d3ff1
RD
11048 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_EXCEPTION | 0);
11049 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11050 {
11051 PyThreadState* __tstate = wxPyBeginAllowThreads();
11052 (arg1)->Dismiss();
11053
11054 wxPyEndAllowThreads(__tstate);
11055 if (PyErr_Occurred()) SWIG_fail;
11056 }
11057 Py_INCREF(Py_None); resultobj = Py_None;
11058 return resultobj;
11059 fail:
11060 return NULL;
11061}
11062
11063
c32bde28 11064static PyObject * PopupTransientWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11065 PyObject *obj;
11066 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11067 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
11068 Py_INCREF(obj);
11069 return Py_BuildValue((char *)"");
11070}
c32bde28 11071static PyObject *_wrap_new_TipWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11072 PyObject *resultobj = NULL;
d14a1e28 11073 wxWindow *arg1 = (wxWindow *) 0 ;
fd3f2efe 11074 wxString *arg2 = 0 ;
e811c8ce 11075 int arg3 = (int) 100 ;
d14a1e28
RD
11076 wxRect *arg4 = (wxRect *) NULL ;
11077 wxTipWindow *result;
ae8162c8 11078 bool temp2 = false ;
d14a1e28
RD
11079 PyObject * obj0 = 0 ;
11080 PyObject * obj1 = 0 ;
994141e6 11081 PyObject * obj2 = 0 ;
d14a1e28
RD
11082 PyObject * obj3 = 0 ;
11083 char *kwnames[] = {
11084 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
11085 };
11086
994141e6 11087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
11088 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11089 if (SWIG_arg_fail(1)) SWIG_fail;
fd3f2efe
RD
11090 {
11091 arg2 = wxString_in_helper(obj1);
11092 if (arg2 == NULL) SWIG_fail;
ae8162c8 11093 temp2 = true;
fd3f2efe 11094 }
994141e6 11095 if (obj2) {
093d3ff1 11096 {
32fe5131 11097 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
11098 if (SWIG_arg_fail(3)) SWIG_fail;
11099 }
994141e6 11100 }
d14a1e28 11101 if (obj3) {
093d3ff1
RD
11102 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
11103 if (SWIG_arg_fail(4)) SWIG_fail;
d14a1e28
RD
11104 }
11105 {
e3b71cb8 11106 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 11107 PyThreadState* __tstate = wxPyBeginAllowThreads();
fd3f2efe 11108 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
d14a1e28
RD
11109
11110 wxPyEndAllowThreads(__tstate);
110da5b0 11111 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11112 }
15afbcd0 11113 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
fd3f2efe
RD
11114 {
11115 if (temp2)
11116 delete arg2;
11117 }
d14a1e28
RD
11118 return resultobj;
11119 fail:
fd3f2efe
RD
11120 {
11121 if (temp2)
11122 delete arg2;
11123 }
d14a1e28
RD
11124 return NULL;
11125}
11126
11127
c32bde28 11128static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11129 PyObject *resultobj = NULL;
d14a1e28
RD
11130 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
11131 wxRect *arg2 = 0 ;
11132 wxRect temp2 ;
11133 PyObject * obj0 = 0 ;
11134 PyObject * obj1 = 0 ;
11135 char *kwnames[] = {
11136 (char *) "self",(char *) "rectBound", NULL
11137 };
11138
11139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11140 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipWindow, SWIG_POINTER_EXCEPTION | 0);
11141 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11142 {
11143 arg2 = &temp2;
11144 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11145 }
11146 {
11147 PyThreadState* __tstate = wxPyBeginAllowThreads();
11148 (arg1)->SetBoundingRect((wxRect const &)*arg2);
11149
11150 wxPyEndAllowThreads(__tstate);
11151 if (PyErr_Occurred()) SWIG_fail;
11152 }
11153 Py_INCREF(Py_None); resultobj = Py_None;
11154 return resultobj;
11155 fail:
11156 return NULL;
11157}
11158
11159
c32bde28 11160static PyObject *_wrap_TipWindow_Close(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11161 PyObject *resultobj = NULL;
d14a1e28
RD
11162 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
11163 PyObject * obj0 = 0 ;
11164 char *kwnames[] = {
11165 (char *) "self", NULL
11166 };
11167
11168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
093d3ff1
RD
11169 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipWindow, SWIG_POINTER_EXCEPTION | 0);
11170 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11171 {
11172 PyThreadState* __tstate = wxPyBeginAllowThreads();
11173 (arg1)->Close();
11174
11175 wxPyEndAllowThreads(__tstate);
11176 if (PyErr_Occurred()) SWIG_fail;
11177 }
11178 Py_INCREF(Py_None); resultobj = Py_None;
11179 return resultobj;
11180 fail:
11181 return NULL;
11182}
11183
11184
c32bde28 11185static PyObject * TipWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11186 PyObject *obj;
11187 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11188 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
11189 Py_INCREF(obj);
11190 return Py_BuildValue((char *)"");
11191}
c32bde28 11192static PyObject *_wrap_new_VScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11193 PyObject *resultobj = NULL;
d14a1e28 11194 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 11195 int arg2 = (int) wxID_ANY ;
d14a1e28
RD
11196 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11197 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11198 wxSize const &arg4_defvalue = wxDefaultSize ;
11199 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11200 long arg5 = (long) 0 ;
11201 wxString const &arg6_defvalue = wxPyPanelNameStr ;
11202 wxString *arg6 = (wxString *) &arg6_defvalue ;
11203 wxPyVScrolledWindow *result;
11204 wxPoint temp3 ;
11205 wxSize temp4 ;
ae8162c8 11206 bool temp6 = false ;
d14a1e28 11207 PyObject * obj0 = 0 ;
994141e6 11208 PyObject * obj1 = 0 ;
d14a1e28
RD
11209 PyObject * obj2 = 0 ;
11210 PyObject * obj3 = 0 ;
994141e6 11211 PyObject * obj4 = 0 ;
d14a1e28
RD
11212 PyObject * obj5 = 0 ;
11213 char *kwnames[] = {
11214 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11215 };
11216
994141e6 11217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
11218 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11219 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 11220 if (obj1) {
093d3ff1 11221 {
32fe5131 11222 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
11223 if (SWIG_arg_fail(2)) SWIG_fail;
11224 }
994141e6 11225 }
d14a1e28
RD
11226 if (obj2) {
11227 {
11228 arg3 = &temp3;
11229 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11230 }
11231 }
11232 if (obj3) {
11233 {
11234 arg4 = &temp4;
11235 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11236 }
11237 }
994141e6 11238 if (obj4) {
093d3ff1 11239 {
32fe5131 11240 arg5 = static_cast<long >(SWIG_As_long(obj4));
093d3ff1
RD
11241 if (SWIG_arg_fail(5)) SWIG_fail;
11242 }
994141e6 11243 }
d14a1e28
RD
11244 if (obj5) {
11245 {
11246 arg6 = wxString_in_helper(obj5);
11247 if (arg6 == NULL) SWIG_fail;
ae8162c8 11248 temp6 = true;
d14a1e28
RD
11249 }
11250 }
11251 {
e3b71cb8 11252 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
11253 PyThreadState* __tstate = wxPyBeginAllowThreads();
11254 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
11255
11256 wxPyEndAllowThreads(__tstate);
110da5b0 11257 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11258 }
15afbcd0 11259 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
d14a1e28
RD
11260 {
11261 if (temp6)
11262 delete arg6;
11263 }
11264 return resultobj;
11265 fail:
11266 {
11267 if (temp6)
11268 delete arg6;
11269 }
11270 return NULL;
11271}
11272
11273
c32bde28 11274static PyObject *_wrap_new_PreVScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11275 PyObject *resultobj = NULL;
d14a1e28
RD
11276 wxPyVScrolledWindow *result;
11277 char *kwnames[] = {
11278 NULL
11279 };
11280
11281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
11282 {
e3b71cb8 11283 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
11284 PyThreadState* __tstate = wxPyBeginAllowThreads();
11285 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
11286
11287 wxPyEndAllowThreads(__tstate);
110da5b0 11288 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11289 }
15afbcd0 11290 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
d14a1e28
RD
11291 return resultobj;
11292 fail:
11293 return NULL;
11294}
11295
11296
c32bde28 11297static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11298 PyObject *resultobj = NULL;
d14a1e28
RD
11299 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11300 PyObject *arg2 = (PyObject *) 0 ;
11301 PyObject *arg3 = (PyObject *) 0 ;
11302 PyObject * obj0 = 0 ;
11303 PyObject * obj1 = 0 ;
11304 PyObject * obj2 = 0 ;
11305 char *kwnames[] = {
11306 (char *) "self",(char *) "self",(char *) "_class", NULL
11307 };
11308
11309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11310 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11311 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11312 arg2 = obj1;
11313 arg3 = obj2;
11314 {
11315 PyThreadState* __tstate = wxPyBeginAllowThreads();
11316 (arg1)->_setCallbackInfo(arg2,arg3);
11317
11318 wxPyEndAllowThreads(__tstate);
11319 if (PyErr_Occurred()) SWIG_fail;
11320 }
11321 Py_INCREF(Py_None); resultobj = Py_None;
11322 return resultobj;
11323 fail:
11324 return NULL;
11325}
11326
11327
c32bde28 11328static PyObject *_wrap_VScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11329 PyObject *resultobj = NULL;
d14a1e28
RD
11330 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11331 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 11332 int arg3 = (int) wxID_ANY ;
d14a1e28
RD
11333 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11334 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11335 wxSize const &arg5_defvalue = wxDefaultSize ;
11336 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11337 long arg6 = (long) 0 ;
11338 wxString const &arg7_defvalue = wxPyPanelNameStr ;
11339 wxString *arg7 = (wxString *) &arg7_defvalue ;
11340 bool result;
11341 wxPoint temp4 ;
11342 wxSize temp5 ;
ae8162c8 11343 bool temp7 = false ;
d14a1e28
RD
11344 PyObject * obj0 = 0 ;
11345 PyObject * obj1 = 0 ;
994141e6 11346 PyObject * obj2 = 0 ;
d14a1e28
RD
11347 PyObject * obj3 = 0 ;
11348 PyObject * obj4 = 0 ;
994141e6 11349 PyObject * obj5 = 0 ;
d14a1e28
RD
11350 PyObject * obj6 = 0 ;
11351 char *kwnames[] = {
11352 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11353 };
11354
994141e6 11355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
11356 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11357 if (SWIG_arg_fail(1)) SWIG_fail;
11358 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11359 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6 11360 if (obj2) {
093d3ff1 11361 {
32fe5131 11362 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
11363 if (SWIG_arg_fail(3)) SWIG_fail;
11364 }
994141e6 11365 }
d14a1e28
RD
11366 if (obj3) {
11367 {
11368 arg4 = &temp4;
11369 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11370 }
11371 }
11372 if (obj4) {
11373 {
11374 arg5 = &temp5;
11375 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11376 }
11377 }
994141e6 11378 if (obj5) {
093d3ff1 11379 {
32fe5131 11380 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
11381 if (SWIG_arg_fail(6)) SWIG_fail;
11382 }
994141e6 11383 }
d14a1e28
RD
11384 if (obj6) {
11385 {
11386 arg7 = wxString_in_helper(obj6);
11387 if (arg7 == NULL) SWIG_fail;
ae8162c8 11388 temp7 = true;
d14a1e28
RD
11389 }
11390 }
11391 {
11392 PyThreadState* __tstate = wxPyBeginAllowThreads();
11393 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11394
11395 wxPyEndAllowThreads(__tstate);
11396 if (PyErr_Occurred()) SWIG_fail;
11397 }
4f89f6a3
RD
11398 {
11399 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11400 }
d14a1e28
RD
11401 {
11402 if (temp7)
11403 delete arg7;
11404 }
11405 return resultobj;
11406 fail:
11407 {
11408 if (temp7)
11409 delete arg7;
11410 }
11411 return NULL;
11412}
11413
11414
c32bde28 11415static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11416 PyObject *resultobj = NULL;
d14a1e28
RD
11417 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11418 size_t arg2 ;
11419 PyObject * obj0 = 0 ;
11420 PyObject * obj1 = 0 ;
11421 char *kwnames[] = {
11422 (char *) "self",(char *) "count", NULL
11423 };
11424
11425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11426 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11427 if (SWIG_arg_fail(1)) SWIG_fail;
11428 {
32fe5131 11429 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
11430 if (SWIG_arg_fail(2)) SWIG_fail;
11431 }
d14a1e28
RD
11432 {
11433 PyThreadState* __tstate = wxPyBeginAllowThreads();
11434 (arg1)->SetLineCount(arg2);
11435
11436 wxPyEndAllowThreads(__tstate);
11437 if (PyErr_Occurred()) SWIG_fail;
11438 }
11439 Py_INCREF(Py_None); resultobj = Py_None;
11440 return resultobj;
11441 fail:
11442 return NULL;
11443}
11444
11445
c32bde28 11446static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11447 PyObject *resultobj = NULL;
d14a1e28
RD
11448 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11449 size_t arg2 ;
11450 bool result;
11451 PyObject * obj0 = 0 ;
11452 PyObject * obj1 = 0 ;
11453 char *kwnames[] = {
11454 (char *) "self",(char *) "line", NULL
11455 };
11456
11457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11459 if (SWIG_arg_fail(1)) SWIG_fail;
11460 {
32fe5131 11461 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
11462 if (SWIG_arg_fail(2)) SWIG_fail;
11463 }
d14a1e28
RD
11464 {
11465 PyThreadState* __tstate = wxPyBeginAllowThreads();
11466 result = (bool)(arg1)->ScrollToLine(arg2);
11467
11468 wxPyEndAllowThreads(__tstate);
11469 if (PyErr_Occurred()) SWIG_fail;
11470 }
4f89f6a3
RD
11471 {
11472 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11473 }
d14a1e28
RD
11474 return resultobj;
11475 fail:
11476 return NULL;
11477}
11478
11479
c32bde28 11480static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11481 PyObject *resultobj = NULL;
d14a1e28
RD
11482 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11483 int arg2 ;
11484 bool result;
11485 PyObject * obj0 = 0 ;
994141e6 11486 PyObject * obj1 = 0 ;
d14a1e28
RD
11487 char *kwnames[] = {
11488 (char *) "self",(char *) "lines", NULL
11489 };
11490
994141e6 11491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11492 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11493 if (SWIG_arg_fail(1)) SWIG_fail;
11494 {
32fe5131 11495 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
11496 if (SWIG_arg_fail(2)) SWIG_fail;
11497 }
d14a1e28
RD
11498 {
11499 PyThreadState* __tstate = wxPyBeginAllowThreads();
11500 result = (bool)(arg1)->ScrollLines(arg2);
11501
11502 wxPyEndAllowThreads(__tstate);
11503 if (PyErr_Occurred()) SWIG_fail;
11504 }
4f89f6a3
RD
11505 {
11506 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11507 }
d14a1e28
RD
11508 return resultobj;
11509 fail:
11510 return NULL;
11511}
11512
11513
c32bde28 11514static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11515 PyObject *resultobj = NULL;
d14a1e28
RD
11516 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11517 int arg2 ;
11518 bool result;
11519 PyObject * obj0 = 0 ;
994141e6 11520 PyObject * obj1 = 0 ;
d14a1e28
RD
11521 char *kwnames[] = {
11522 (char *) "self",(char *) "pages", NULL
11523 };
11524
994141e6 11525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11526 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11527 if (SWIG_arg_fail(1)) SWIG_fail;
11528 {
32fe5131 11529 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
11530 if (SWIG_arg_fail(2)) SWIG_fail;
11531 }
d14a1e28
RD
11532 {
11533 PyThreadState* __tstate = wxPyBeginAllowThreads();
11534 result = (bool)(arg1)->ScrollPages(arg2);
11535
11536 wxPyEndAllowThreads(__tstate);
11537 if (PyErr_Occurred()) SWIG_fail;
11538 }
4f89f6a3
RD
11539 {
11540 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11541 }
d14a1e28
RD
11542 return resultobj;
11543 fail:
11544 return NULL;
11545}
11546
11547
c32bde28 11548static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11549 PyObject *resultobj = NULL;
d14a1e28
RD
11550 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11551 size_t arg2 ;
11552 PyObject * obj0 = 0 ;
11553 PyObject * obj1 = 0 ;
11554 char *kwnames[] = {
11555 (char *) "self",(char *) "line", NULL
11556 };
11557
11558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11559 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11560 if (SWIG_arg_fail(1)) SWIG_fail;
11561 {
32fe5131 11562 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
11563 if (SWIG_arg_fail(2)) SWIG_fail;
11564 }
d14a1e28
RD
11565 {
11566 PyThreadState* __tstate = wxPyBeginAllowThreads();
11567 (arg1)->RefreshLine(arg2);
11568
11569 wxPyEndAllowThreads(__tstate);
11570 if (PyErr_Occurred()) SWIG_fail;
11571 }
11572 Py_INCREF(Py_None); resultobj = Py_None;
11573 return resultobj;
11574 fail:
11575 return NULL;
11576}
11577
11578
c32bde28 11579static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11580 PyObject *resultobj = NULL;
d14a1e28
RD
11581 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11582 size_t arg2 ;
11583 size_t arg3 ;
11584 PyObject * obj0 = 0 ;
11585 PyObject * obj1 = 0 ;
11586 PyObject * obj2 = 0 ;
11587 char *kwnames[] = {
11588 (char *) "self",(char *) "from",(char *) "to", NULL
11589 };
11590
11591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11592 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11593 if (SWIG_arg_fail(1)) SWIG_fail;
11594 {
32fe5131 11595 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
11596 if (SWIG_arg_fail(2)) SWIG_fail;
11597 }
11598 {
32fe5131 11599 arg3 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2));
093d3ff1
RD
11600 if (SWIG_arg_fail(3)) SWIG_fail;
11601 }
d14a1e28
RD
11602 {
11603 PyThreadState* __tstate = wxPyBeginAllowThreads();
11604 (arg1)->RefreshLines(arg2,arg3);
11605
11606 wxPyEndAllowThreads(__tstate);
11607 if (PyErr_Occurred()) SWIG_fail;
11608 }
11609 Py_INCREF(Py_None); resultobj = Py_None;
11610 return resultobj;
11611 fail:
11612 return NULL;
11613}
11614
11615
c32bde28 11616static PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11617 PyObject *resultobj = NULL;
d14a1e28 11618 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
e811c8ce
RD
11619 int arg2 ;
11620 int arg3 ;
d14a1e28
RD
11621 int result;
11622 PyObject * obj0 = 0 ;
994141e6
RD
11623 PyObject * obj1 = 0 ;
11624 PyObject * obj2 = 0 ;
d14a1e28
RD
11625 char *kwnames[] = {
11626 (char *) "self",(char *) "x",(char *) "y", NULL
11627 };
11628
354693ff 11629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11630 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11631 if (SWIG_arg_fail(1)) SWIG_fail;
11632 {
32fe5131 11633 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
11634 if (SWIG_arg_fail(2)) SWIG_fail;
11635 }
11636 {
32fe5131 11637 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
11638 if (SWIG_arg_fail(3)) SWIG_fail;
11639 }
d14a1e28
RD
11640 {
11641 PyThreadState* __tstate = wxPyBeginAllowThreads();
11642 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
11643
11644 wxPyEndAllowThreads(__tstate);
11645 if (PyErr_Occurred()) SWIG_fail;
11646 }
093d3ff1 11647 {
32fe5131 11648 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 11649 }
d14a1e28
RD
11650 return resultobj;
11651 fail:
11652 return NULL;
11653}
11654
11655
c32bde28 11656static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11657 PyObject *resultobj = NULL;
d14a1e28
RD
11658 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11659 wxPoint *arg2 = 0 ;
11660 int result;
11661 wxPoint temp2 ;
11662 PyObject * obj0 = 0 ;
11663 PyObject * obj1 = 0 ;
11664 char *kwnames[] = {
11665 (char *) "self",(char *) "pt", NULL
11666 };
11667
11668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11669 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11670 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11671 {
11672 arg2 = &temp2;
11673 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11674 }
11675 {
11676 PyThreadState* __tstate = wxPyBeginAllowThreads();
11677 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
11678
11679 wxPyEndAllowThreads(__tstate);
11680 if (PyErr_Occurred()) SWIG_fail;
11681 }
093d3ff1 11682 {
32fe5131 11683 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 11684 }
d14a1e28
RD
11685 return resultobj;
11686 fail:
11687 return NULL;
11688}
11689
11690
c32bde28 11691static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11692 PyObject *resultobj = NULL;
d14a1e28
RD
11693 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11694 PyObject * obj0 = 0 ;
11695 char *kwnames[] = {
11696 (char *) "self", NULL
11697 };
11698
11699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
11700 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11701 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11702 {
11703 PyThreadState* __tstate = wxPyBeginAllowThreads();
11704 (arg1)->RefreshAll();
11705
11706 wxPyEndAllowThreads(__tstate);
11707 if (PyErr_Occurred()) SWIG_fail;
11708 }
11709 Py_INCREF(Py_None); resultobj = Py_None;
11710 return resultobj;
11711 fail:
11712 return NULL;
11713}
11714
11715
c32bde28 11716static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11717 PyObject *resultobj = NULL;
d14a1e28
RD
11718 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11719 size_t result;
11720 PyObject * obj0 = 0 ;
11721 char *kwnames[] = {
11722 (char *) "self", NULL
11723 };
11724
11725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
11726 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11727 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11728 {
11729 PyThreadState* __tstate = wxPyBeginAllowThreads();
11730 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
11731
11732 wxPyEndAllowThreads(__tstate);
11733 if (PyErr_Occurred()) SWIG_fail;
11734 }
093d3ff1 11735 {
32fe5131 11736 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
093d3ff1 11737 }
d14a1e28
RD
11738 return resultobj;
11739 fail:
11740 return NULL;
11741}
11742
11743
70b7a5fe 11744static PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11745 PyObject *resultobj = NULL;
d14a1e28
RD
11746 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11747 size_t result;
11748 PyObject * obj0 = 0 ;
11749 char *kwnames[] = {
11750 (char *) "self", NULL
11751 };
11752
70b7a5fe 11753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetVisibleBegin",kwnames,&obj0)) goto fail;
093d3ff1
RD
11754 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11755 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11756 {
11757 PyThreadState* __tstate = wxPyBeginAllowThreads();
70b7a5fe 11758 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin();
d14a1e28
RD
11759
11760 wxPyEndAllowThreads(__tstate);
11761 if (PyErr_Occurred()) SWIG_fail;
11762 }
093d3ff1 11763 {
32fe5131 11764 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
093d3ff1 11765 }
d14a1e28
RD
11766 return resultobj;
11767 fail:
11768 return NULL;
11769}
11770
11771
70b7a5fe 11772static PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11773 PyObject *resultobj = NULL;
d14a1e28
RD
11774 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11775 size_t result;
11776 PyObject * obj0 = 0 ;
11777 char *kwnames[] = {
11778 (char *) "self", NULL
11779 };
11780
70b7a5fe 11781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetVisibleEnd",kwnames,&obj0)) goto fail;
093d3ff1
RD
11782 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11783 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11784 {
11785 PyThreadState* __tstate = wxPyBeginAllowThreads();
70b7a5fe 11786 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd();
d14a1e28
RD
11787
11788 wxPyEndAllowThreads(__tstate);
11789 if (PyErr_Occurred()) SWIG_fail;
11790 }
093d3ff1 11791 {
32fe5131 11792 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
093d3ff1 11793 }
d14a1e28
RD
11794 return resultobj;
11795 fail:
11796 return NULL;
11797}
11798
11799
c32bde28 11800static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11801 PyObject *resultobj = NULL;
d14a1e28
RD
11802 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11803 size_t arg2 ;
11804 bool result;
11805 PyObject * obj0 = 0 ;
11806 PyObject * obj1 = 0 ;
11807 char *kwnames[] = {
11808 (char *) "self",(char *) "line", NULL
11809 };
11810
11811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11812 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11813 if (SWIG_arg_fail(1)) SWIG_fail;
11814 {
32fe5131 11815 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
11816 if (SWIG_arg_fail(2)) SWIG_fail;
11817 }
d14a1e28
RD
11818 {
11819 PyThreadState* __tstate = wxPyBeginAllowThreads();
11820 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
11821
11822 wxPyEndAllowThreads(__tstate);
11823 if (PyErr_Occurred()) SWIG_fail;
11824 }
4f89f6a3
RD
11825 {
11826 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11827 }
d14a1e28
RD
11828 return resultobj;
11829 fail:
11830 return NULL;
11831}
11832
11833
70b7a5fe 11834static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11835 PyObject *resultobj = NULL;
70b7a5fe
RD
11836 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11837 size_t result;
11838 PyObject * obj0 = 0 ;
11839 char *kwnames[] = {
11840 (char *) "self", NULL
11841 };
11842
11843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
11844 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11845 if (SWIG_arg_fail(1)) SWIG_fail;
11846 {
11847 PyThreadState* __tstate = wxPyBeginAllowThreads();
11848 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
11849
11850 wxPyEndAllowThreads(__tstate);
11851 if (PyErr_Occurred()) SWIG_fail;
11852 }
11853 {
32fe5131 11854 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
70b7a5fe
RD
11855 }
11856 return resultobj;
11857 fail:
11858 return NULL;
11859}
11860
11861
11862static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11863 PyObject *resultobj = NULL;
70b7a5fe
RD
11864 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11865 size_t result;
11866 PyObject * obj0 = 0 ;
11867 char *kwnames[] = {
11868 (char *) "self", NULL
11869 };
11870
11871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
11872 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11873 if (SWIG_arg_fail(1)) SWIG_fail;
11874 {
11875 PyThreadState* __tstate = wxPyBeginAllowThreads();
11876 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
11877
11878 wxPyEndAllowThreads(__tstate);
11879 if (PyErr_Occurred()) SWIG_fail;
11880 }
11881 {
32fe5131 11882 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
70b7a5fe
RD
11883 }
11884 return resultobj;
11885 fail:
11886 return NULL;
11887}
11888
11889
c32bde28 11890static PyObject * VScrolledWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11891 PyObject *obj;
11892 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11893 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
11894 Py_INCREF(obj);
11895 return Py_BuildValue((char *)"");
11896}
c32bde28 11897static int _wrap_VListBoxNameStr_set(PyObject *) {
b2dc1044
RD
11898 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
11899 return 1;
11900}
11901
11902
093d3ff1 11903static PyObject *_wrap_VListBoxNameStr_get(void) {
32fe5131 11904 PyObject *pyobj = NULL;
b2dc1044
RD
11905
11906 {
11907#if wxUSE_UNICODE
11908 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
11909#else
11910 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
11911#endif
11912 }
11913 return pyobj;
11914}
11915
11916
c32bde28 11917static PyObject *_wrap_new_VListBox(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11918 PyObject *resultobj = NULL;
d14a1e28 11919 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 11920 int arg2 = (int) wxID_ANY ;
d14a1e28
RD
11921 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11922 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11923 wxSize const &arg4_defvalue = wxDefaultSize ;
11924 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11925 long arg5 = (long) 0 ;
11926 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
11927 wxString *arg6 = (wxString *) &arg6_defvalue ;
11928 wxPyVListBox *result;
11929 wxPoint temp3 ;
11930 wxSize temp4 ;
ae8162c8 11931 bool temp6 = false ;
d14a1e28 11932 PyObject * obj0 = 0 ;
994141e6 11933 PyObject * obj1 = 0 ;
d14a1e28
RD
11934 PyObject * obj2 = 0 ;
11935 PyObject * obj3 = 0 ;
994141e6 11936 PyObject * obj4 = 0 ;
d14a1e28
RD
11937 PyObject * obj5 = 0 ;
11938 char *kwnames[] = {
11939 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11940 };
11941
994141e6 11942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
11943 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11944 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 11945 if (obj1) {
093d3ff1 11946 {
32fe5131 11947 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
11948 if (SWIG_arg_fail(2)) SWIG_fail;
11949 }
994141e6 11950 }
d14a1e28
RD
11951 if (obj2) {
11952 {
11953 arg3 = &temp3;
11954 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11955 }
11956 }
11957 if (obj3) {
11958 {
11959 arg4 = &temp4;
11960 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11961 }
11962 }
994141e6 11963 if (obj4) {
093d3ff1 11964 {
32fe5131 11965 arg5 = static_cast<long >(SWIG_As_long(obj4));
093d3ff1
RD
11966 if (SWIG_arg_fail(5)) SWIG_fail;
11967 }
994141e6 11968 }
d14a1e28
RD
11969 if (obj5) {
11970 {
11971 arg6 = wxString_in_helper(obj5);
11972 if (arg6 == NULL) SWIG_fail;
ae8162c8 11973 temp6 = true;
d14a1e28
RD
11974 }
11975 }
11976 {
e3b71cb8 11977 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
11978 PyThreadState* __tstate = wxPyBeginAllowThreads();
11979 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
11980
11981 wxPyEndAllowThreads(__tstate);
110da5b0 11982 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11983 }
15afbcd0 11984 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
d14a1e28
RD
11985 {
11986 if (temp6)
11987 delete arg6;
11988 }
11989 return resultobj;
11990 fail:
11991 {
11992 if (temp6)
11993 delete arg6;
11994 }
11995 return NULL;
11996}
11997
11998
c32bde28 11999static PyObject *_wrap_new_PreVListBox(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12000 PyObject *resultobj = NULL;
d14a1e28
RD
12001 wxPyVListBox *result;
12002 char *kwnames[] = {
12003 NULL
12004 };
12005
12006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
12007 {
e3b71cb8 12008 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
12009 PyThreadState* __tstate = wxPyBeginAllowThreads();
12010 result = (wxPyVListBox *)new wxPyVListBox();
12011
12012 wxPyEndAllowThreads(__tstate);
110da5b0 12013 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 12014 }
15afbcd0 12015 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
d14a1e28
RD
12016 return resultobj;
12017 fail:
12018 return NULL;
12019}
12020
12021
c32bde28 12022static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12023 PyObject *resultobj = NULL;
d14a1e28
RD
12024 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12025 PyObject *arg2 = (PyObject *) 0 ;
12026 PyObject *arg3 = (PyObject *) 0 ;
12027 PyObject * obj0 = 0 ;
12028 PyObject * obj1 = 0 ;
12029 PyObject * obj2 = 0 ;
12030 char *kwnames[] = {
12031 (char *) "self",(char *) "self",(char *) "_class", NULL
12032 };
12033
12034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
12035 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12036 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12037 arg2 = obj1;
12038 arg3 = obj2;
12039 {
12040 PyThreadState* __tstate = wxPyBeginAllowThreads();
12041 (arg1)->_setCallbackInfo(arg2,arg3);
12042
12043 wxPyEndAllowThreads(__tstate);
12044 if (PyErr_Occurred()) SWIG_fail;
12045 }
12046 Py_INCREF(Py_None); resultobj = Py_None;
12047 return resultobj;
12048 fail:
12049 return NULL;
12050}
12051
12052
c32bde28 12053static PyObject *_wrap_VListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12054 PyObject *resultobj = NULL;
d14a1e28
RD
12055 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12056 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 12057 int arg3 = (int) wxID_ANY ;
d14a1e28
RD
12058 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12059 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12060 wxSize const &arg5_defvalue = wxDefaultSize ;
12061 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12062 long arg6 = (long) 0 ;
12063 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
12064 wxString *arg7 = (wxString *) &arg7_defvalue ;
12065 bool result;
12066 wxPoint temp4 ;
12067 wxSize temp5 ;
ae8162c8 12068 bool temp7 = false ;
d14a1e28
RD
12069 PyObject * obj0 = 0 ;
12070 PyObject * obj1 = 0 ;
994141e6 12071 PyObject * obj2 = 0 ;
d14a1e28
RD
12072 PyObject * obj3 = 0 ;
12073 PyObject * obj4 = 0 ;
994141e6 12074 PyObject * obj5 = 0 ;
d14a1e28
RD
12075 PyObject * obj6 = 0 ;
12076 char *kwnames[] = {
12077 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12078 };
12079
994141e6 12080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
12081 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12082 if (SWIG_arg_fail(1)) SWIG_fail;
12083 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12084 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6 12085 if (obj2) {
093d3ff1 12086 {
32fe5131 12087 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
12088 if (SWIG_arg_fail(3)) SWIG_fail;
12089 }
994141e6 12090 }
d14a1e28
RD
12091 if (obj3) {
12092 {
12093 arg4 = &temp4;
12094 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12095 }
12096 }
12097 if (obj4) {
12098 {
12099 arg5 = &temp5;
12100 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12101 }
12102 }
994141e6 12103 if (obj5) {
093d3ff1 12104 {
32fe5131 12105 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
12106 if (SWIG_arg_fail(6)) SWIG_fail;
12107 }
994141e6 12108 }
d14a1e28
RD
12109 if (obj6) {
12110 {
12111 arg7 = wxString_in_helper(obj6);
12112 if (arg7 == NULL) SWIG_fail;
ae8162c8 12113 temp7 = true;
d14a1e28
RD
12114 }
12115 }
12116 {
12117 PyThreadState* __tstate = wxPyBeginAllowThreads();
12118 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12119
12120 wxPyEndAllowThreads(__tstate);
12121 if (PyErr_Occurred()) SWIG_fail;
12122 }
4f89f6a3
RD
12123 {
12124 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12125 }
d14a1e28
RD
12126 {
12127 if (temp7)
12128 delete arg7;
12129 }
12130 return resultobj;
12131 fail:
12132 {
12133 if (temp7)
12134 delete arg7;
12135 }
12136 return NULL;
12137}
12138
12139
c32bde28 12140static PyObject *_wrap_VListBox_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12141 PyObject *resultobj = NULL;
d14a1e28
RD
12142 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12143 size_t result;
12144 PyObject * obj0 = 0 ;
12145 char *kwnames[] = {
12146 (char *) "self", NULL
12147 };
12148
12149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
12150 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12151 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12152 {
12153 PyThreadState* __tstate = wxPyBeginAllowThreads();
12154 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
12155
12156 wxPyEndAllowThreads(__tstate);
12157 if (PyErr_Occurred()) SWIG_fail;
12158 }
093d3ff1 12159 {
32fe5131 12160 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
093d3ff1 12161 }
d14a1e28
RD
12162 return resultobj;
12163 fail:
12164 return NULL;
12165}
12166
12167
c32bde28 12168static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12169 PyObject *resultobj = NULL;
d14a1e28
RD
12170 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12171 bool result;
12172 PyObject * obj0 = 0 ;
12173 char *kwnames[] = {
12174 (char *) "self", NULL
12175 };
12176
12177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
12178 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12179 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12180 {
12181 PyThreadState* __tstate = wxPyBeginAllowThreads();
12182 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
12183
12184 wxPyEndAllowThreads(__tstate);
12185 if (PyErr_Occurred()) SWIG_fail;
12186 }
4f89f6a3
RD
12187 {
12188 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12189 }
d14a1e28
RD
12190 return resultobj;
12191 fail:
12192 return NULL;
12193}
12194
12195
c32bde28 12196static PyObject *_wrap_VListBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12197 PyObject *resultobj = NULL;
d14a1e28
RD
12198 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12199 int result;
12200 PyObject * obj0 = 0 ;
12201 char *kwnames[] = {
12202 (char *) "self", NULL
12203 };
12204
12205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
12206 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12207 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12208 {
12209 PyThreadState* __tstate = wxPyBeginAllowThreads();
12210 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
12211
12212 wxPyEndAllowThreads(__tstate);
12213 if (PyErr_Occurred()) SWIG_fail;
12214 }
093d3ff1 12215 {
32fe5131 12216 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 12217 }
d14a1e28
RD
12218 return resultobj;
12219 fail:
12220 return NULL;
12221}
12222
12223
c32bde28 12224static PyObject *_wrap_VListBox_IsCurrent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12225 PyObject *resultobj = NULL;
d14a1e28
RD
12226 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12227 size_t arg2 ;
12228 bool result;
12229 PyObject * obj0 = 0 ;
12230 PyObject * obj1 = 0 ;
12231 char *kwnames[] = {
12232 (char *) "self",(char *) "item", NULL
12233 };
12234
12235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12236 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12237 if (SWIG_arg_fail(1)) SWIG_fail;
12238 {
32fe5131 12239 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
12240 if (SWIG_arg_fail(2)) SWIG_fail;
12241 }
d14a1e28
RD
12242 {
12243 PyThreadState* __tstate = wxPyBeginAllowThreads();
12244 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
12245
12246 wxPyEndAllowThreads(__tstate);
12247 if (PyErr_Occurred()) SWIG_fail;
12248 }
4f89f6a3
RD
12249 {
12250 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12251 }
d14a1e28
RD
12252 return resultobj;
12253 fail:
12254 return NULL;
12255}
12256
12257
c32bde28 12258static PyObject *_wrap_VListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12259 PyObject *resultobj = NULL;
d14a1e28
RD
12260 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12261 size_t arg2 ;
12262 bool result;
12263 PyObject * obj0 = 0 ;
12264 PyObject * obj1 = 0 ;
12265 char *kwnames[] = {
12266 (char *) "self",(char *) "item", NULL
12267 };
12268
12269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12270 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12271 if (SWIG_arg_fail(1)) SWIG_fail;
12272 {
32fe5131 12273 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
12274 if (SWIG_arg_fail(2)) SWIG_fail;
12275 }
d14a1e28
RD
12276 {
12277 PyThreadState* __tstate = wxPyBeginAllowThreads();
12278 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
12279
12280 wxPyEndAllowThreads(__tstate);
12281 if (PyErr_Occurred()) SWIG_fail;
12282 }
4f89f6a3
RD
12283 {
12284 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12285 }
d14a1e28
RD
12286 return resultobj;
12287 fail:
12288 return NULL;
12289}
12290
12291
c32bde28 12292static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12293 PyObject *resultobj = NULL;
d14a1e28
RD
12294 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12295 size_t result;
12296 PyObject * obj0 = 0 ;
12297 char *kwnames[] = {
12298 (char *) "self", NULL
12299 };
12300
12301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
12302 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12303 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12304 {
12305 PyThreadState* __tstate = wxPyBeginAllowThreads();
12306 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
12307
12308 wxPyEndAllowThreads(__tstate);
12309 if (PyErr_Occurred()) SWIG_fail;
12310 }
093d3ff1 12311 {
32fe5131 12312 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
093d3ff1 12313 }
d14a1e28
RD
12314 return resultobj;
12315 fail:
12316 return NULL;
12317}
12318
12319
c32bde28 12320static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12321 PyObject *resultobj = NULL;
d14a1e28 12322 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
09c21d3b 12323 PyObject *result;
d14a1e28 12324 PyObject * obj0 = 0 ;
d14a1e28 12325 char *kwnames[] = {
09c21d3b 12326 (char *) "self", NULL
d14a1e28
RD
12327 };
12328
09c21d3b 12329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetFirstSelected",kwnames,&obj0)) goto fail;
093d3ff1
RD
12330 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12331 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12332 {
12333 PyThreadState* __tstate = wxPyBeginAllowThreads();
09c21d3b 12334 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
d14a1e28
RD
12335
12336 wxPyEndAllowThreads(__tstate);
12337 if (PyErr_Occurred()) SWIG_fail;
12338 }
09c21d3b 12339 resultobj = result;
d14a1e28
RD
12340 return resultobj;
12341 fail:
12342 return NULL;
12343}
12344
12345
c32bde28 12346static PyObject *_wrap_VListBox_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12347 PyObject *resultobj = NULL;
d14a1e28 12348 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
09c21d3b
RD
12349 unsigned long arg2 ;
12350 PyObject *result;
d14a1e28
RD
12351 PyObject * obj0 = 0 ;
12352 PyObject * obj1 = 0 ;
12353 char *kwnames[] = {
12354 (char *) "self",(char *) "cookie", NULL
12355 };
12356
12357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12358 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12359 if (SWIG_arg_fail(1)) SWIG_fail;
12360 {
32fe5131 12361 arg2 = static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
12362 if (SWIG_arg_fail(2)) SWIG_fail;
12363 }
d14a1e28
RD
12364 {
12365 PyThreadState* __tstate = wxPyBeginAllowThreads();
09c21d3b 12366 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
d14a1e28
RD
12367
12368 wxPyEndAllowThreads(__tstate);
12369 if (PyErr_Occurred()) SWIG_fail;
12370 }
09c21d3b 12371 resultobj = result;
d14a1e28
RD
12372 return resultobj;
12373 fail:
12374 return NULL;
12375}
12376
12377
c32bde28 12378static PyObject *_wrap_VListBox_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12379 PyObject *resultobj = NULL;
d14a1e28
RD
12380 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12381 wxPoint result;
12382 PyObject * obj0 = 0 ;
12383 char *kwnames[] = {
12384 (char *) "self", NULL
12385 };
12386
12387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
093d3ff1
RD
12388 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12389 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12390 {
12391 PyThreadState* __tstate = wxPyBeginAllowThreads();
12392 result = ((wxPyVListBox const *)arg1)->GetMargins();
12393
12394 wxPyEndAllowThreads(__tstate);
12395 if (PyErr_Occurred()) SWIG_fail;
12396 }
12397 {
12398 wxPoint * resultptr;
32fe5131 12399 resultptr = new wxPoint(static_cast<wxPoint & >(result));
15afbcd0 12400 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
12401 }
12402 return resultobj;
12403 fail:
12404 return NULL;
12405}
12406
12407
c32bde28 12408static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12409 PyObject *resultobj = NULL;
d14a1e28
RD
12410 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12411 wxColour *result;
12412 PyObject * obj0 = 0 ;
12413 char *kwnames[] = {
12414 (char *) "self", NULL
12415 };
12416
12417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
093d3ff1
RD
12418 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12419 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12420 {
12421 PyThreadState* __tstate = wxPyBeginAllowThreads();
12422 {
12423 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
12424 result = (wxColour *) &_result_ref;
12425 }
12426
12427 wxPyEndAllowThreads(__tstate);
12428 if (PyErr_Occurred()) SWIG_fail;
12429 }
15afbcd0 12430 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
12431 return resultobj;
12432 fail:
12433 return NULL;
12434}
12435
12436
c32bde28 12437static PyObject *_wrap_VListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12438 PyObject *resultobj = NULL;
d14a1e28
RD
12439 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12440 size_t arg2 ;
12441 PyObject * obj0 = 0 ;
12442 PyObject * obj1 = 0 ;
12443 char *kwnames[] = {
12444 (char *) "self",(char *) "count", NULL
12445 };
12446
12447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12448 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12449 if (SWIG_arg_fail(1)) SWIG_fail;
12450 {
32fe5131 12451 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
12452 if (SWIG_arg_fail(2)) SWIG_fail;
12453 }
d14a1e28
RD
12454 {
12455 PyThreadState* __tstate = wxPyBeginAllowThreads();
12456 (arg1)->SetItemCount(arg2);
12457
12458 wxPyEndAllowThreads(__tstate);
12459 if (PyErr_Occurred()) SWIG_fail;
12460 }
12461 Py_INCREF(Py_None); resultobj = Py_None;
12462 return resultobj;
12463 fail:
12464 return NULL;
12465}
12466
12467
c32bde28 12468static PyObject *_wrap_VListBox_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12469 PyObject *resultobj = NULL;
d14a1e28
RD
12470 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12471 PyObject * obj0 = 0 ;
12472 char *kwnames[] = {
12473 (char *) "self", NULL
12474 };
12475
12476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
093d3ff1
RD
12477 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12478 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12479 {
12480 PyThreadState* __tstate = wxPyBeginAllowThreads();
12481 (arg1)->Clear();
12482
12483 wxPyEndAllowThreads(__tstate);
12484 if (PyErr_Occurred()) SWIG_fail;
12485 }
12486 Py_INCREF(Py_None); resultobj = Py_None;
12487 return resultobj;
12488 fail:
12489 return NULL;
12490}
12491
12492
c32bde28 12493static PyObject *_wrap_VListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12494 PyObject *resultobj = NULL;
d14a1e28
RD
12495 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12496 int arg2 ;
12497 PyObject * obj0 = 0 ;
994141e6 12498 PyObject * obj1 = 0 ;
d14a1e28
RD
12499 char *kwnames[] = {
12500 (char *) "self",(char *) "selection", NULL
12501 };
12502
994141e6 12503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12504 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12505 if (SWIG_arg_fail(1)) SWIG_fail;
12506 {
32fe5131 12507 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
12508 if (SWIG_arg_fail(2)) SWIG_fail;
12509 }
d14a1e28
RD
12510 {
12511 PyThreadState* __tstate = wxPyBeginAllowThreads();
12512 (arg1)->SetSelection(arg2);
12513
12514 wxPyEndAllowThreads(__tstate);
12515 if (PyErr_Occurred()) SWIG_fail;
12516 }
12517 Py_INCREF(Py_None); resultobj = Py_None;
12518 return resultobj;
12519 fail:
12520 return NULL;
12521}
12522
12523
c32bde28 12524static PyObject *_wrap_VListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12525 PyObject *resultobj = NULL;
d14a1e28
RD
12526 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12527 size_t arg2 ;
ae8162c8 12528 bool arg3 = (bool) true ;
d14a1e28
RD
12529 bool result;
12530 PyObject * obj0 = 0 ;
12531 PyObject * obj1 = 0 ;
12532 PyObject * obj2 = 0 ;
12533 char *kwnames[] = {
12534 (char *) "self",(char *) "item",(char *) "select", NULL
12535 };
12536
12537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
12538 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12539 if (SWIG_arg_fail(1)) SWIG_fail;
12540 {
32fe5131 12541 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
12542 if (SWIG_arg_fail(2)) SWIG_fail;
12543 }
a41e16b6 12544 if (obj2) {
093d3ff1 12545 {
32fe5131 12546 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
12547 if (SWIG_arg_fail(3)) SWIG_fail;
12548 }
a41e16b6 12549 }
d14a1e28
RD
12550 {
12551 PyThreadState* __tstate = wxPyBeginAllowThreads();
12552 result = (bool)(arg1)->Select(arg2,arg3);
12553
12554 wxPyEndAllowThreads(__tstate);
12555 if (PyErr_Occurred()) SWIG_fail;
12556 }
4f89f6a3
RD
12557 {
12558 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12559 }
d14a1e28
RD
12560 return resultobj;
12561 fail:
12562 return NULL;
12563}
12564
12565
c32bde28 12566static PyObject *_wrap_VListBox_SelectRange(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12567 PyObject *resultobj = NULL;
d14a1e28
RD
12568 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12569 size_t arg2 ;
12570 size_t arg3 ;
12571 bool result;
12572 PyObject * obj0 = 0 ;
12573 PyObject * obj1 = 0 ;
12574 PyObject * obj2 = 0 ;
15afbcd0
RD
12575 char *kwnames[] = {
12576 (char *) "self",(char *) "from",(char *) "to", NULL
12577 };
12578
12579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
12580 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12581 if (SWIG_arg_fail(1)) SWIG_fail;
12582 {
32fe5131 12583 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
12584 if (SWIG_arg_fail(2)) SWIG_fail;
12585 }
12586 {
32fe5131 12587 arg3 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2));
093d3ff1
RD
12588 if (SWIG_arg_fail(3)) SWIG_fail;
12589 }
d14a1e28
RD
12590 {
12591 PyThreadState* __tstate = wxPyBeginAllowThreads();
12592 result = (bool)(arg1)->SelectRange(arg2,arg3);
12593
12594 wxPyEndAllowThreads(__tstate);
12595 if (PyErr_Occurred()) SWIG_fail;
12596 }
4f89f6a3
RD
12597 {
12598 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12599 }
d14a1e28
RD
12600 return resultobj;
12601 fail:
12602 return NULL;
12603}
12604
12605
c32bde28 12606static PyObject *_wrap_VListBox_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12607 PyObject *resultobj = NULL;
d14a1e28
RD
12608 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12609 size_t arg2 ;
12610 PyObject * obj0 = 0 ;
12611 PyObject * obj1 = 0 ;
12612 char *kwnames[] = {
12613 (char *) "self",(char *) "item", NULL
12614 };
12615
12616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12617 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12618 if (SWIG_arg_fail(1)) SWIG_fail;
12619 {
32fe5131 12620 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
12621 if (SWIG_arg_fail(2)) SWIG_fail;
12622 }
d14a1e28
RD
12623 {
12624 PyThreadState* __tstate = wxPyBeginAllowThreads();
12625 (arg1)->Toggle(arg2);
12626
12627 wxPyEndAllowThreads(__tstate);
12628 if (PyErr_Occurred()) SWIG_fail;
12629 }
12630 Py_INCREF(Py_None); resultobj = Py_None;
12631 return resultobj;
12632 fail:
12633 return NULL;
12634}
12635
12636
c32bde28 12637static PyObject *_wrap_VListBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12638 PyObject *resultobj = NULL;
d14a1e28
RD
12639 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12640 bool result;
12641 PyObject * obj0 = 0 ;
12642 char *kwnames[] = {
12643 (char *) "self", NULL
12644 };
12645
12646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
12647 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12648 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12649 {
12650 PyThreadState* __tstate = wxPyBeginAllowThreads();
12651 result = (bool)(arg1)->SelectAll();
12652
12653 wxPyEndAllowThreads(__tstate);
12654 if (PyErr_Occurred()) SWIG_fail;
12655 }
4f89f6a3
RD
12656 {
12657 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12658 }
d14a1e28
RD
12659 return resultobj;
12660 fail:
12661 return NULL;
12662}
12663
12664
c32bde28 12665static PyObject *_wrap_VListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12666 PyObject *resultobj = NULL;
d14a1e28
RD
12667 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12668 bool result;
12669 PyObject * obj0 = 0 ;
12670 char *kwnames[] = {
12671 (char *) "self", NULL
12672 };
12673
12674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
12675 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12676 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12677 {
12678 PyThreadState* __tstate = wxPyBeginAllowThreads();
12679 result = (bool)(arg1)->DeselectAll();
12680
12681 wxPyEndAllowThreads(__tstate);
12682 if (PyErr_Occurred()) SWIG_fail;
12683 }
4f89f6a3
RD
12684 {
12685 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12686 }
d14a1e28
RD
12687 return resultobj;
12688 fail:
12689 return NULL;
12690}
12691
12692
c32bde28 12693static PyObject *_wrap_VListBox_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12694 PyObject *resultobj = NULL;
d14a1e28
RD
12695 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12696 wxPoint *arg2 = 0 ;
12697 wxPoint temp2 ;
12698 PyObject * obj0 = 0 ;
12699 PyObject * obj1 = 0 ;
12700 char *kwnames[] = {
12701 (char *) "self",(char *) "pt", NULL
12702 };
12703
12704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12705 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12706 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12707 {
12708 arg2 = &temp2;
12709 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
12710 }
12711 {
12712 PyThreadState* __tstate = wxPyBeginAllowThreads();
12713 (arg1)->SetMargins((wxPoint const &)*arg2);
12714
12715 wxPyEndAllowThreads(__tstate);
12716 if (PyErr_Occurred()) SWIG_fail;
12717 }
12718 Py_INCREF(Py_None); resultobj = Py_None;
12719 return resultobj;
12720 fail:
12721 return NULL;
12722}
12723
12724
c32bde28 12725static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12726 PyObject *resultobj = NULL;
d14a1e28 12727 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
e811c8ce
RD
12728 int arg2 ;
12729 int arg3 ;
d14a1e28 12730 PyObject * obj0 = 0 ;
994141e6
RD
12731 PyObject * obj1 = 0 ;
12732 PyObject * obj2 = 0 ;
d14a1e28
RD
12733 char *kwnames[] = {
12734 (char *) "self",(char *) "x",(char *) "y", NULL
12735 };
12736
994141e6 12737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
12738 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12739 if (SWIG_arg_fail(1)) SWIG_fail;
12740 {
32fe5131 12741 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
12742 if (SWIG_arg_fail(2)) SWIG_fail;
12743 }
12744 {
32fe5131 12745 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
12746 if (SWIG_arg_fail(3)) SWIG_fail;
12747 }
d14a1e28
RD
12748 {
12749 PyThreadState* __tstate = wxPyBeginAllowThreads();
12750 (arg1)->SetMargins(arg2,arg3);
12751
12752 wxPyEndAllowThreads(__tstate);
12753 if (PyErr_Occurred()) SWIG_fail;
12754 }
12755 Py_INCREF(Py_None); resultobj = Py_None;
12756 return resultobj;
12757 fail:
12758 return NULL;
12759}
12760
12761
c32bde28 12762static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12763 PyObject *resultobj = NULL;
d14a1e28
RD
12764 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12765 wxColour *arg2 = 0 ;
12766 wxColour temp2 ;
12767 PyObject * obj0 = 0 ;
12768 PyObject * obj1 = 0 ;
12769 char *kwnames[] = {
12770 (char *) "self",(char *) "col", NULL
12771 };
12772
12773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12774 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12775 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12776 {
12777 arg2 = &temp2;
12778 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12779 }
12780 {
12781 PyThreadState* __tstate = wxPyBeginAllowThreads();
12782 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
12783
12784 wxPyEndAllowThreads(__tstate);
12785 if (PyErr_Occurred()) SWIG_fail;
12786 }
12787 Py_INCREF(Py_None); resultobj = Py_None;
12788 return resultobj;
12789 fail:
12790 return NULL;
12791}
12792
12793
c32bde28 12794static PyObject * VListBox_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
12795 PyObject *obj;
12796 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12797 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
12798 Py_INCREF(obj);
12799 return Py_BuildValue((char *)"");
12800}
c32bde28 12801static PyObject *_wrap_new_HtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12802 PyObject *resultobj = NULL;
d14a1e28 12803 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 12804 int arg2 = (int) wxID_ANY ;
d14a1e28
RD
12805 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12806 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12807 wxSize const &arg4_defvalue = wxDefaultSize ;
12808 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12809 long arg5 = (long) 0 ;
12810 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
12811 wxString *arg6 = (wxString *) &arg6_defvalue ;
12812 wxPyHtmlListBox *result;
12813 wxPoint temp3 ;
12814 wxSize temp4 ;
ae8162c8 12815 bool temp6 = false ;
d14a1e28 12816 PyObject * obj0 = 0 ;
994141e6 12817 PyObject * obj1 = 0 ;
d14a1e28
RD
12818 PyObject * obj2 = 0 ;
12819 PyObject * obj3 = 0 ;
994141e6 12820 PyObject * obj4 = 0 ;
d14a1e28
RD
12821 PyObject * obj5 = 0 ;
12822 char *kwnames[] = {
12823 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12824 };
12825
994141e6 12826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
12827 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12828 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 12829 if (obj1) {
093d3ff1 12830 {
32fe5131 12831 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
12832 if (SWIG_arg_fail(2)) SWIG_fail;
12833 }
994141e6 12834 }
d14a1e28
RD
12835 if (obj2) {
12836 {
12837 arg3 = &temp3;
12838 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12839 }
12840 }
12841 if (obj3) {
12842 {
12843 arg4 = &temp4;
12844 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12845 }
12846 }
994141e6 12847 if (obj4) {
093d3ff1 12848 {
32fe5131 12849 arg5 = static_cast<long >(SWIG_As_long(obj4));
093d3ff1
RD
12850 if (SWIG_arg_fail(5)) SWIG_fail;
12851 }
994141e6 12852 }
d14a1e28
RD
12853 if (obj5) {
12854 {
12855 arg6 = wxString_in_helper(obj5);
12856 if (arg6 == NULL) SWIG_fail;
ae8162c8 12857 temp6 = true;
d14a1e28
RD
12858 }
12859 }
12860 {
e3b71cb8 12861 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
12862 PyThreadState* __tstate = wxPyBeginAllowThreads();
12863 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12864
12865 wxPyEndAllowThreads(__tstate);
110da5b0 12866 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 12867 }
15afbcd0 12868 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
d14a1e28
RD
12869 {
12870 if (temp6)
12871 delete arg6;
12872 }
12873 return resultobj;
12874 fail:
12875 {
12876 if (temp6)
12877 delete arg6;
12878 }
12879 return NULL;
12880}
12881
12882
c32bde28 12883static PyObject *_wrap_new_PreHtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12884 PyObject *resultobj = NULL;
d14a1e28
RD
12885 wxPyHtmlListBox *result;
12886 char *kwnames[] = {
12887 NULL
12888 };
12889
12890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
12891 {
e3b71cb8 12892 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
12893 PyThreadState* __tstate = wxPyBeginAllowThreads();
12894 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
12895
12896 wxPyEndAllowThreads(__tstate);
110da5b0 12897 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 12898 }
15afbcd0 12899 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
d14a1e28
RD
12900 return resultobj;
12901 fail:
12902 return NULL;
12903}
12904
12905
c32bde28 12906static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12907 PyObject *resultobj = NULL;
d14a1e28
RD
12908 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12909 PyObject *arg2 = (PyObject *) 0 ;
12910 PyObject *arg3 = (PyObject *) 0 ;
12911 PyObject * obj0 = 0 ;
12912 PyObject * obj1 = 0 ;
12913 PyObject * obj2 = 0 ;
12914 char *kwnames[] = {
12915 (char *) "self",(char *) "self",(char *) "_class", NULL
12916 };
12917
12918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
12919 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12920 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12921 arg2 = obj1;
12922 arg3 = obj2;
12923 {
12924 PyThreadState* __tstate = wxPyBeginAllowThreads();
12925 (arg1)->_setCallbackInfo(arg2,arg3);
12926
12927 wxPyEndAllowThreads(__tstate);
12928 if (PyErr_Occurred()) SWIG_fail;
12929 }
12930 Py_INCREF(Py_None); resultobj = Py_None;
12931 return resultobj;
12932 fail:
12933 return NULL;
12934}
12935
12936
c32bde28 12937static PyObject *_wrap_HtmlListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12938 PyObject *resultobj = NULL;
d14a1e28
RD
12939 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12940 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 12941 int arg3 = (int) wxID_ANY ;
d14a1e28
RD
12942 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12943 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12944 wxSize const &arg5_defvalue = wxDefaultSize ;
12945 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12946 long arg6 = (long) 0 ;
12947 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
12948 wxString *arg7 = (wxString *) &arg7_defvalue ;
12949 bool result;
12950 wxPoint temp4 ;
12951 wxSize temp5 ;
ae8162c8 12952 bool temp7 = false ;
d14a1e28
RD
12953 PyObject * obj0 = 0 ;
12954 PyObject * obj1 = 0 ;
994141e6 12955 PyObject * obj2 = 0 ;
d14a1e28
RD
12956 PyObject * obj3 = 0 ;
12957 PyObject * obj4 = 0 ;
994141e6 12958 PyObject * obj5 = 0 ;
d14a1e28
RD
12959 PyObject * obj6 = 0 ;
12960 char *kwnames[] = {
12961 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12962 };
12963
994141e6 12964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
12965 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12966 if (SWIG_arg_fail(1)) SWIG_fail;
12967 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12968 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6 12969 if (obj2) {
093d3ff1 12970 {
32fe5131 12971 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
12972 if (SWIG_arg_fail(3)) SWIG_fail;
12973 }
994141e6 12974 }
d14a1e28
RD
12975 if (obj3) {
12976 {
12977 arg4 = &temp4;
12978 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12979 }
12980 }
12981 if (obj4) {
12982 {
12983 arg5 = &temp5;
12984 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12985 }
12986 }
994141e6 12987 if (obj5) {
093d3ff1 12988 {
32fe5131 12989 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
12990 if (SWIG_arg_fail(6)) SWIG_fail;
12991 }
994141e6 12992 }
d14a1e28
RD
12993 if (obj6) {
12994 {
12995 arg7 = wxString_in_helper(obj6);
12996 if (arg7 == NULL) SWIG_fail;
ae8162c8 12997 temp7 = true;
d14a1e28
RD
12998 }
12999 }
13000 {
13001 PyThreadState* __tstate = wxPyBeginAllowThreads();
13002 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13003
13004 wxPyEndAllowThreads(__tstate);
13005 if (PyErr_Occurred()) SWIG_fail;
13006 }
4f89f6a3
RD
13007 {
13008 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13009 }
d14a1e28
RD
13010 {
13011 if (temp7)
13012 delete arg7;
13013 }
13014 return resultobj;
13015 fail:
13016 {
13017 if (temp7)
13018 delete arg7;
13019 }
13020 return NULL;
13021}
13022
13023
c32bde28 13024static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13025 PyObject *resultobj = NULL;
d14a1e28
RD
13026 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
13027 PyObject * obj0 = 0 ;
13028 char *kwnames[] = {
13029 (char *) "self", NULL
13030 };
13031
13032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
13033 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
13034 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13035 {
13036 PyThreadState* __tstate = wxPyBeginAllowThreads();
13037 (arg1)->RefreshAll();
13038
13039 wxPyEndAllowThreads(__tstate);
13040 if (PyErr_Occurred()) SWIG_fail;
13041 }
13042 Py_INCREF(Py_None); resultobj = Py_None;
13043 return resultobj;
13044 fail:
13045 return NULL;
13046}
13047
13048
c32bde28 13049static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13050 PyObject *resultobj = NULL;
d14a1e28
RD
13051 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
13052 size_t arg2 ;
13053 PyObject * obj0 = 0 ;
13054 PyObject * obj1 = 0 ;
13055 char *kwnames[] = {
13056 (char *) "self",(char *) "count", NULL
13057 };
13058
13059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13060 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
13061 if (SWIG_arg_fail(1)) SWIG_fail;
13062 {
32fe5131 13063 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
13064 if (SWIG_arg_fail(2)) SWIG_fail;
13065 }
d14a1e28
RD
13066 {
13067 PyThreadState* __tstate = wxPyBeginAllowThreads();
13068 (arg1)->SetItemCount(arg2);
13069
13070 wxPyEndAllowThreads(__tstate);
13071 if (PyErr_Occurred()) SWIG_fail;
13072 }
13073 Py_INCREF(Py_None); resultobj = Py_None;
13074 return resultobj;
13075 fail:
13076 return NULL;
13077}
13078
13079
c32bde28 13080static PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13081 PyObject *resultobj = NULL;
7fdaaabe
RD
13082 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
13083 wxFileSystem *result;
13084 PyObject * obj0 = 0 ;
13085 char *kwnames[] = {
13086 (char *) "self", NULL
13087 };
13088
13089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_GetFileSystem",kwnames,&obj0)) goto fail;
093d3ff1
RD
13090 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
13091 if (SWIG_arg_fail(1)) SWIG_fail;
7fdaaabe
RD
13092 {
13093 PyThreadState* __tstate = wxPyBeginAllowThreads();
13094 {
13095 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
13096 result = (wxFileSystem *) &_result_ref;
13097 }
13098
13099 wxPyEndAllowThreads(__tstate);
13100 if (PyErr_Occurred()) SWIG_fail;
13101 }
13102 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileSystem, 0);
13103 return resultobj;
13104 fail:
13105 return NULL;
13106}
13107
13108
c32bde28 13109static PyObject * HtmlListBox_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
13110 PyObject *obj;
13111 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13112 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
13113 Py_INCREF(obj);
13114 return Py_BuildValue((char *)"");
13115}
c32bde28 13116static PyObject *_wrap_new_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13117 PyObject *resultobj = NULL;
5e483524 13118 wxPyTaskBarIcon *result;
d14a1e28
RD
13119 char *kwnames[] = {
13120 NULL
13121 };
13122
13123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
13124 {
e3b71cb8 13125 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 13126 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e483524 13127 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
d14a1e28
RD
13128
13129 wxPyEndAllowThreads(__tstate);
110da5b0 13130 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 13131 }
5e483524 13132 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTaskBarIcon, 1);
d14a1e28
RD
13133 return resultobj;
13134 fail:
13135 return NULL;
13136}
13137
13138
5e483524 13139static PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13140 PyObject *resultobj = NULL;
5e483524
RD
13141 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
13142 PyObject *arg2 = (PyObject *) 0 ;
13143 PyObject *arg3 = (PyObject *) 0 ;
13144 int arg4 ;
d14a1e28 13145 PyObject * obj0 = 0 ;
5e483524
RD
13146 PyObject * obj1 = 0 ;
13147 PyObject * obj2 = 0 ;
13148 PyObject * obj3 = 0 ;
d14a1e28 13149 char *kwnames[] = {
5e483524 13150 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
d14a1e28
RD
13151 };
13152
5e483524 13153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
13154 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13155 if (SWIG_arg_fail(1)) SWIG_fail;
5e483524
RD
13156 arg2 = obj1;
13157 arg3 = obj2;
093d3ff1 13158 {
32fe5131 13159 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
13160 if (SWIG_arg_fail(4)) SWIG_fail;
13161 }
d14a1e28
RD
13162 {
13163 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e483524 13164 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
d14a1e28
RD
13165
13166 wxPyEndAllowThreads(__tstate);
13167 if (PyErr_Occurred()) SWIG_fail;
13168 }
13169 Py_INCREF(Py_None); resultobj = Py_None;
13170 return resultobj;
13171 fail:
13172 return NULL;
13173}
13174
13175
c32bde28 13176static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13177 PyObject *resultobj = NULL;
5e483524 13178 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
74a57fcd
RD
13179 PyObject * obj0 = 0 ;
13180 char *kwnames[] = {
13181 (char *) "self", NULL
13182 };
13183
13184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail;
093d3ff1
RD
13185 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13186 if (SWIG_arg_fail(1)) SWIG_fail;
74a57fcd
RD
13187 {
13188 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e483524 13189 wxPyTaskBarIcon_Destroy(arg1);
74a57fcd
RD
13190
13191 wxPyEndAllowThreads(__tstate);
13192 if (PyErr_Occurred()) SWIG_fail;
13193 }
13194 Py_INCREF(Py_None); resultobj = Py_None;
13195 return resultobj;
13196 fail:
13197 return NULL;
13198}
13199
13200
c32bde28 13201static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13202 PyObject *resultobj = NULL;
5e483524 13203 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
d14a1e28
RD
13204 bool result;
13205 PyObject * obj0 = 0 ;
13206 char *kwnames[] = {
13207 (char *) "self", NULL
13208 };
13209
13210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
093d3ff1
RD
13211 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13212 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13213 {
13214 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e483524 13215 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
d14a1e28
RD
13216
13217 wxPyEndAllowThreads(__tstate);
13218 if (PyErr_Occurred()) SWIG_fail;
13219 }
4f89f6a3
RD
13220 {
13221 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13222 }
d14a1e28
RD
13223 return resultobj;
13224 fail:
13225 return NULL;
13226}
13227
13228
c32bde28 13229static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13230 PyObject *resultobj = NULL;
5e483524 13231 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
d14a1e28
RD
13232 bool result;
13233 PyObject * obj0 = 0 ;
13234 char *kwnames[] = {
13235 (char *) "self", NULL
13236 };
13237
13238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
093d3ff1
RD
13239 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13240 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13241 {
13242 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e483524 13243 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
d14a1e28
RD
13244
13245 wxPyEndAllowThreads(__tstate);
13246 if (PyErr_Occurred()) SWIG_fail;
13247 }
4f89f6a3
RD
13248 {
13249 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13250 }
d14a1e28
RD
13251 return resultobj;
13252 fail:
13253 return NULL;
13254}
13255
13256
c32bde28 13257static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13258 PyObject *resultobj = NULL;
5e483524 13259 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
d14a1e28
RD
13260 wxIcon *arg2 = 0 ;
13261 wxString const &arg3_defvalue = wxPyEmptyString ;
13262 wxString *arg3 = (wxString *) &arg3_defvalue ;
13263 bool result;
ae8162c8 13264 bool temp3 = false ;
d14a1e28
RD
13265 PyObject * obj0 = 0 ;
13266 PyObject * obj1 = 0 ;
13267 PyObject * obj2 = 0 ;
13268 char *kwnames[] = {
13269 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
13270 };
13271
13272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
13273 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13274 if (SWIG_arg_fail(1)) SWIG_fail;
13275 {
13276 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
13277 if (SWIG_arg_fail(2)) SWIG_fail;
13278 if (arg2 == NULL) {
13279 SWIG_null_ref("wxIcon");
13280 }
13281 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
13282 }
13283 if (obj2) {
13284 {
13285 arg3 = wxString_in_helper(obj2);
13286 if (arg3 == NULL) SWIG_fail;
ae8162c8 13287 temp3 = true;
d14a1e28
RD
13288 }
13289 }
13290 {
13291 PyThreadState* __tstate = wxPyBeginAllowThreads();
13292 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
13293
13294 wxPyEndAllowThreads(__tstate);
13295 if (PyErr_Occurred()) SWIG_fail;
13296 }
4f89f6a3
RD
13297 {
13298 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13299 }
d14a1e28
RD
13300 {
13301 if (temp3)
13302 delete arg3;
13303 }
13304 return resultobj;
13305 fail:
13306 {
13307 if (temp3)
13308 delete arg3;
13309 }
13310 return NULL;
13311}
13312
13313
c32bde28 13314static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13315 PyObject *resultobj = NULL;
5e483524 13316 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
d14a1e28
RD
13317 bool result;
13318 PyObject * obj0 = 0 ;
13319 char *kwnames[] = {
13320 (char *) "self", NULL
13321 };
13322
13323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
093d3ff1
RD
13324 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13325 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13326 {
13327 PyThreadState* __tstate = wxPyBeginAllowThreads();
13328 result = (bool)(arg1)->RemoveIcon();
13329
13330 wxPyEndAllowThreads(__tstate);
13331 if (PyErr_Occurred()) SWIG_fail;
13332 }
4f89f6a3
RD
13333 {
13334 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13335 }
d14a1e28
RD
13336 return resultobj;
13337 fail:
13338 return NULL;
13339}
13340
13341
c32bde28 13342static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13343 PyObject *resultobj = NULL;
5e483524 13344 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
d14a1e28
RD
13345 wxMenu *arg2 = (wxMenu *) 0 ;
13346 bool result;
13347 PyObject * obj0 = 0 ;
13348 PyObject * obj1 = 0 ;
13349 char *kwnames[] = {
13350 (char *) "self",(char *) "menu", NULL
13351 };
13352
13353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13354 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13355 if (SWIG_arg_fail(1)) SWIG_fail;
13356 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
13357 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
13358 {
13359 PyThreadState* __tstate = wxPyBeginAllowThreads();
13360 result = (bool)(arg1)->PopupMenu(arg2);
13361
13362 wxPyEndAllowThreads(__tstate);
13363 if (PyErr_Occurred()) SWIG_fail;
13364 }
4f89f6a3
RD
13365 {
13366 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13367 }
d14a1e28
RD
13368 return resultobj;
13369 fail:
13370 return NULL;
13371}
13372
13373
c32bde28 13374static PyObject * TaskBarIcon_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
13375 PyObject *obj;
13376 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5e483524 13377 SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon, obj);
d14a1e28
RD
13378 Py_INCREF(obj);
13379 return Py_BuildValue((char *)"");
13380}
c32bde28 13381static PyObject *_wrap_new_TaskBarIconEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13382 PyObject *resultobj = NULL;
d14a1e28
RD
13383 wxEventType arg1 ;
13384 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
13385 wxTaskBarIconEvent *result;
994141e6 13386 PyObject * obj0 = 0 ;
d14a1e28
RD
13387 PyObject * obj1 = 0 ;
13388 char *kwnames[] = {
13389 (char *) "evtType",(char *) "tbIcon", NULL
13390 };
13391
994141e6 13392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1 13393 {
32fe5131 13394 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
093d3ff1
RD
13395 if (SWIG_arg_fail(1)) SWIG_fail;
13396 }
13397 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13398 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
13399 {
13400 PyThreadState* __tstate = wxPyBeginAllowThreads();
13401 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
13402
13403 wxPyEndAllowThreads(__tstate);
13404 if (PyErr_Occurred()) SWIG_fail;
13405 }
15afbcd0 13406 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
d14a1e28
RD
13407 return resultobj;
13408 fail:
13409 return NULL;
13410}
13411
13412
c32bde28 13413static PyObject * TaskBarIconEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
13414 PyObject *obj;
13415 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13416 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
13417 Py_INCREF(obj);
13418 return Py_BuildValue((char *)"");
13419}
c32bde28 13420static int _wrap_FileSelectorPromptStr_set(PyObject *) {
b2dc1044
RD
13421 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
13422 return 1;
13423}
13424
13425
093d3ff1 13426static PyObject *_wrap_FileSelectorPromptStr_get(void) {
32fe5131 13427 PyObject *pyobj = NULL;
b2dc1044
RD
13428
13429 {
13430#if wxUSE_UNICODE
13431 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
13432#else
13433 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
13434#endif
13435 }
13436 return pyobj;
13437}
13438
13439
c32bde28 13440static int _wrap_DirSelectorPromptStr_set(PyObject *) {
b2dc1044
RD
13441 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
13442 return 1;
13443}
13444
13445
093d3ff1 13446static PyObject *_wrap_DirSelectorPromptStr_get(void) {
32fe5131 13447 PyObject *pyobj = NULL;
b2dc1044
RD
13448
13449 {
13450#if wxUSE_UNICODE
13451 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
13452#else
13453 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
13454#endif
13455 }
13456 return pyobj;
13457}
13458
13459
c32bde28 13460static int _wrap_DirDialogNameStr_set(PyObject *) {
b2dc1044
RD
13461 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
13462 return 1;
13463}
13464
13465
093d3ff1 13466static PyObject *_wrap_DirDialogNameStr_get(void) {
32fe5131 13467 PyObject *pyobj = NULL;
b2dc1044
RD
13468
13469 {
13470#if wxUSE_UNICODE
13471 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
13472#else
13473 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
13474#endif
13475 }
13476 return pyobj;
13477}
13478
13479
c32bde28 13480static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) {
b2dc1044
RD
13481 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
13482 return 1;
13483}
13484
13485
093d3ff1 13486static PyObject *_wrap_FileSelectorDefaultWildcardStr_get(void) {
32fe5131 13487 PyObject *pyobj = NULL;
b2dc1044
RD
13488
13489 {
13490#if wxUSE_UNICODE
13491 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
13492#else
13493 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
13494#endif
13495 }
13496 return pyobj;
13497}
13498
13499
c32bde28 13500static int _wrap_GetTextFromUserPromptStr_set(PyObject *) {
b2dc1044
RD
13501 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
13502 return 1;
13503}
13504
13505
093d3ff1 13506static PyObject *_wrap_GetTextFromUserPromptStr_get(void) {
32fe5131 13507 PyObject *pyobj = NULL;
b2dc1044
RD
13508
13509 {
13510#if wxUSE_UNICODE
13511 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
13512#else
13513 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
13514#endif
13515 }
13516 return pyobj;
13517}
13518
13519
c32bde28 13520static int _wrap_MessageBoxCaptionStr_set(PyObject *) {
b2dc1044
RD
13521 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
13522 return 1;
13523}
13524
13525
093d3ff1 13526static PyObject *_wrap_MessageBoxCaptionStr_get(void) {
32fe5131 13527 PyObject *pyobj = NULL;
b2dc1044
RD
13528
13529 {
13530#if wxUSE_UNICODE
13531 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
13532#else
13533 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
13534#endif
13535 }
13536 return pyobj;
13537}
13538
13539
c32bde28 13540static PyObject *_wrap_new_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13541 PyObject *resultobj = NULL;
d14a1e28
RD
13542 wxColourData *result;
13543 char *kwnames[] = {
13544 NULL
13545 };
13546
13547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
13548 {
13549 PyThreadState* __tstate = wxPyBeginAllowThreads();
13550 result = (wxColourData *)new wxColourData();
13551
13552 wxPyEndAllowThreads(__tstate);
13553 if (PyErr_Occurred()) SWIG_fail;
13554 }
15afbcd0 13555 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
d14a1e28
RD
13556 return resultobj;
13557 fail:
13558 return NULL;
13559}
13560
13561
c32bde28 13562static PyObject *_wrap_delete_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13563 PyObject *resultobj = NULL;
d14a1e28
RD
13564 wxColourData *arg1 = (wxColourData *) 0 ;
13565 PyObject * obj0 = 0 ;
13566 char *kwnames[] = {
13567 (char *) "self", NULL
13568 };
13569
13570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
093d3ff1
RD
13571 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13572 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13573 {
13574 PyThreadState* __tstate = wxPyBeginAllowThreads();
13575 delete arg1;
13576
13577 wxPyEndAllowThreads(__tstate);
13578 if (PyErr_Occurred()) SWIG_fail;
13579 }
13580 Py_INCREF(Py_None); resultobj = Py_None;
13581 return resultobj;
13582 fail:
13583 return NULL;
13584}
13585
13586
c32bde28 13587static PyObject *_wrap_ColourData_GetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13588 PyObject *resultobj = NULL;
d14a1e28
RD
13589 wxColourData *arg1 = (wxColourData *) 0 ;
13590 bool result;
13591 PyObject * obj0 = 0 ;
13592 char *kwnames[] = {
13593 (char *) "self", NULL
13594 };
13595
13596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
093d3ff1
RD
13597 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13598 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13599 {
13600 PyThreadState* __tstate = wxPyBeginAllowThreads();
13601 result = (bool)(arg1)->GetChooseFull();
13602
13603 wxPyEndAllowThreads(__tstate);
13604 if (PyErr_Occurred()) SWIG_fail;
13605 }
4f89f6a3
RD
13606 {
13607 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13608 }
d14a1e28
RD
13609 return resultobj;
13610 fail:
13611 return NULL;
13612}
13613
13614
c32bde28 13615static PyObject *_wrap_ColourData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13616 PyObject *resultobj = NULL;
d14a1e28
RD
13617 wxColourData *arg1 = (wxColourData *) 0 ;
13618 wxColour result;
13619 PyObject * obj0 = 0 ;
13620 char *kwnames[] = {
13621 (char *) "self", NULL
13622 };
13623
13624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
13625 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13626 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13627 {
13628 PyThreadState* __tstate = wxPyBeginAllowThreads();
13629 result = (arg1)->GetColour();
13630
13631 wxPyEndAllowThreads(__tstate);
13632 if (PyErr_Occurred()) SWIG_fail;
13633 }
13634 {
13635 wxColour * resultptr;
32fe5131 13636 resultptr = new wxColour(static_cast<wxColour & >(result));
15afbcd0 13637 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
13638 }
13639 return resultobj;
13640 fail:
13641 return NULL;
13642}
13643
13644
c32bde28 13645static PyObject *_wrap_ColourData_GetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13646 PyObject *resultobj = NULL;
d14a1e28
RD
13647 wxColourData *arg1 = (wxColourData *) 0 ;
13648 int arg2 ;
13649 wxColour result;
13650 PyObject * obj0 = 0 ;
994141e6 13651 PyObject * obj1 = 0 ;
d14a1e28
RD
13652 char *kwnames[] = {
13653 (char *) "self",(char *) "i", NULL
13654 };
13655
994141e6 13656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13657 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13658 if (SWIG_arg_fail(1)) SWIG_fail;
13659 {
32fe5131 13660 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
13661 if (SWIG_arg_fail(2)) SWIG_fail;
13662 }
d14a1e28
RD
13663 {
13664 PyThreadState* __tstate = wxPyBeginAllowThreads();
13665 result = (arg1)->GetCustomColour(arg2);
13666
13667 wxPyEndAllowThreads(__tstate);
13668 if (PyErr_Occurred()) SWIG_fail;
13669 }
13670 {
13671 wxColour * resultptr;
32fe5131 13672 resultptr = new wxColour(static_cast<wxColour & >(result));
15afbcd0 13673 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
13674 }
13675 return resultobj;
13676 fail:
13677 return NULL;
13678}
13679
13680
c32bde28 13681static PyObject *_wrap_ColourData_SetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13682 PyObject *resultobj = NULL;
d14a1e28
RD
13683 wxColourData *arg1 = (wxColourData *) 0 ;
13684 int arg2 ;
13685 PyObject * obj0 = 0 ;
994141e6 13686 PyObject * obj1 = 0 ;
d14a1e28
RD
13687 char *kwnames[] = {
13688 (char *) "self",(char *) "flag", NULL
13689 };
13690
994141e6 13691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13692 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13693 if (SWIG_arg_fail(1)) SWIG_fail;
13694 {
32fe5131 13695 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
13696 if (SWIG_arg_fail(2)) SWIG_fail;
13697 }
d14a1e28
RD
13698 {
13699 PyThreadState* __tstate = wxPyBeginAllowThreads();
13700 (arg1)->SetChooseFull(arg2);
13701
13702 wxPyEndAllowThreads(__tstate);
13703 if (PyErr_Occurred()) SWIG_fail;
13704 }
13705 Py_INCREF(Py_None); resultobj = Py_None;
13706 return resultobj;
13707 fail:
13708 return NULL;
13709}
13710
13711
c32bde28 13712static PyObject *_wrap_ColourData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13713 PyObject *resultobj = NULL;
d14a1e28
RD
13714 wxColourData *arg1 = (wxColourData *) 0 ;
13715 wxColour *arg2 = 0 ;
13716 wxColour temp2 ;
13717 PyObject * obj0 = 0 ;
13718 PyObject * obj1 = 0 ;
13719 char *kwnames[] = {
13720 (char *) "self",(char *) "colour", NULL
13721 };
13722
13723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13724 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13725 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13726 {
13727 arg2 = &temp2;
13728 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13729 }
13730 {
13731 PyThreadState* __tstate = wxPyBeginAllowThreads();
13732 (arg1)->SetColour((wxColour const &)*arg2);
13733
13734 wxPyEndAllowThreads(__tstate);
13735 if (PyErr_Occurred()) SWIG_fail;
13736 }
13737 Py_INCREF(Py_None); resultobj = Py_None;
13738 return resultobj;
13739 fail:
13740 return NULL;
13741}
13742
13743
c32bde28 13744static PyObject *_wrap_ColourData_SetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13745 PyObject *resultobj = NULL;
d14a1e28
RD
13746 wxColourData *arg1 = (wxColourData *) 0 ;
13747 int arg2 ;
13748 wxColour *arg3 = 0 ;
13749 wxColour temp3 ;
13750 PyObject * obj0 = 0 ;
994141e6 13751 PyObject * obj1 = 0 ;
d14a1e28
RD
13752 PyObject * obj2 = 0 ;
13753 char *kwnames[] = {
13754 (char *) "self",(char *) "i",(char *) "colour", NULL
13755 };
13756
994141e6 13757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
13758 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13759 if (SWIG_arg_fail(1)) SWIG_fail;
13760 {
32fe5131 13761 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
13762 if (SWIG_arg_fail(2)) SWIG_fail;
13763 }
d14a1e28
RD
13764 {
13765 arg3 = &temp3;
13766 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
13767 }
13768 {
13769 PyThreadState* __tstate = wxPyBeginAllowThreads();
13770 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
13771
13772 wxPyEndAllowThreads(__tstate);
13773 if (PyErr_Occurred()) SWIG_fail;
13774 }
13775 Py_INCREF(Py_None); resultobj = Py_None;
13776 return resultobj;
13777 fail:
13778 return NULL;
13779}
13780
13781
c32bde28 13782static PyObject * ColourData_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
13783 PyObject *obj;
13784 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13785 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
13786 Py_INCREF(obj);
13787 return Py_BuildValue((char *)"");
13788}
c32bde28 13789static PyObject *_wrap_new_ColourDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13790 PyObject *resultobj = NULL;
d14a1e28
RD
13791 wxWindow *arg1 = (wxWindow *) 0 ;
13792 wxColourData *arg2 = (wxColourData *) NULL ;
13793 wxColourDialog *result;
13794 PyObject * obj0 = 0 ;
13795 PyObject * obj1 = 0 ;
13796 char *kwnames[] = {
13797 (char *) "parent",(char *) "data", NULL
13798 };
13799
13800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13801 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13802 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 13803 if (obj1) {
093d3ff1
RD
13804 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13805 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
13806 }
13807 {
e3b71cb8 13808 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
13809 PyThreadState* __tstate = wxPyBeginAllowThreads();
13810 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
13811
13812 wxPyEndAllowThreads(__tstate);
110da5b0 13813 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 13814 }
15afbcd0 13815 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
d14a1e28
RD
13816 return resultobj;
13817 fail:
13818 return NULL;
13819}
13820
13821
c32bde28 13822static PyObject *_wrap_ColourDialog_GetColourData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13823 PyObject *resultobj = NULL;
d14a1e28
RD
13824 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
13825 wxColourData *result;
13826 PyObject * obj0 = 0 ;
13827 char *kwnames[] = {
13828 (char *) "self", NULL
13829 };
13830
13831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
093d3ff1
RD
13832 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourDialog, SWIG_POINTER_EXCEPTION | 0);
13833 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13834 {
13835 PyThreadState* __tstate = wxPyBeginAllowThreads();
13836 {
13837 wxColourData &_result_ref = (arg1)->GetColourData();
13838 result = (wxColourData *) &_result_ref;
13839 }
13840
13841 wxPyEndAllowThreads(__tstate);
13842 if (PyErr_Occurred()) SWIG_fail;
13843 }
15afbcd0 13844 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
d14a1e28
RD
13845 return resultobj;
13846 fail:
13847 return NULL;
13848}
13849
13850
c32bde28 13851static PyObject * ColourDialog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
13852 PyObject *obj;
13853 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13854 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
13855 Py_INCREF(obj);
13856 return Py_BuildValue((char *)"");
13857}
32fe5131
RD
13858static PyObject *_wrap_GetColourFromUser(PyObject *, PyObject *args, PyObject *kwargs) {
13859 PyObject *resultobj = NULL;
13860 wxWindow *arg1 = (wxWindow *) (wxWindow *) NULL ;
13861 wxColour const &arg2_defvalue = wxNullColour ;
13862 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
13863 wxString const &arg3_defvalue = wxPyEmptyString ;
13864 wxString *arg3 = (wxString *) &arg3_defvalue ;
13865 wxColour result;
13866 wxColour temp2 ;
13867 bool temp3 = false ;
13868 PyObject * obj0 = 0 ;
13869 PyObject * obj1 = 0 ;
13870 PyObject * obj2 = 0 ;
13871 char *kwnames[] = {
13872 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
13873 };
13874
13875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetColourFromUser",kwnames,&obj0,&obj1,&obj2)) goto fail;
13876 if (obj0) {
13877 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13878 if (SWIG_arg_fail(1)) SWIG_fail;
13879 }
13880 if (obj1) {
13881 {
13882 arg2 = &temp2;
13883 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13884 }
13885 }
13886 if (obj2) {
13887 {
13888 arg3 = wxString_in_helper(obj2);
13889 if (arg3 == NULL) SWIG_fail;
13890 temp3 = true;
13891 }
13892 }
13893 {
13894 PyThreadState* __tstate = wxPyBeginAllowThreads();
13895 result = wxGetColourFromUser(arg1,(wxColour const &)*arg2,(wxString const &)*arg3);
13896
13897 wxPyEndAllowThreads(__tstate);
13898 if (PyErr_Occurred()) SWIG_fail;
13899 }
13900 {
13901 wxColour * resultptr;
13902 resultptr = new wxColour(static_cast<wxColour & >(result));
13903 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13904 }
13905 {
13906 if (temp3)
13907 delete arg3;
13908 }
13909 return resultobj;
13910 fail:
13911 {
13912 if (temp3)
13913 delete arg3;
13914 }
13915 return NULL;
13916}
13917
13918
c32bde28 13919static PyObject *_wrap_new_DirDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13920 PyObject *resultobj = NULL;
d14a1e28
RD
13921 wxWindow *arg1 = (wxWindow *) 0 ;
13922 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
13923 wxString *arg2 = (wxString *) &arg2_defvalue ;
13924 wxString const &arg3_defvalue = wxPyEmptyString ;
13925 wxString *arg3 = (wxString *) &arg3_defvalue ;
13926 long arg4 = (long) 0 ;
13927 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13928 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13929 wxSize const &arg6_defvalue = wxDefaultSize ;
13930 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13931 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
13932 wxString *arg7 = (wxString *) &arg7_defvalue ;
13933 wxDirDialog *result;
ae8162c8
RD
13934 bool temp2 = false ;
13935 bool temp3 = false ;
d14a1e28
RD
13936 wxPoint temp5 ;
13937 wxSize temp6 ;
ae8162c8 13938 bool temp7 = false ;
d14a1e28
RD
13939 PyObject * obj0 = 0 ;
13940 PyObject * obj1 = 0 ;
13941 PyObject * obj2 = 0 ;
994141e6 13942 PyObject * obj3 = 0 ;
d14a1e28
RD
13943 PyObject * obj4 = 0 ;
13944 PyObject * obj5 = 0 ;
13945 PyObject * obj6 = 0 ;
13946 char *kwnames[] = {
13947 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
13948 };
13949
994141e6 13950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
13951 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13952 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13953 if (obj1) {
13954 {
13955 arg2 = wxString_in_helper(obj1);
13956 if (arg2 == NULL) SWIG_fail;
ae8162c8 13957 temp2 = true;
d14a1e28
RD
13958 }
13959 }
13960 if (obj2) {
13961 {
13962 arg3 = wxString_in_helper(obj2);
13963 if (arg3 == NULL) SWIG_fail;
ae8162c8 13964 temp3 = true;
d14a1e28
RD
13965 }
13966 }
994141e6 13967 if (obj3) {
093d3ff1 13968 {
32fe5131 13969 arg4 = static_cast<long >(SWIG_As_long(obj3));
093d3ff1
RD
13970 if (SWIG_arg_fail(4)) SWIG_fail;
13971 }
994141e6 13972 }
d14a1e28
RD
13973 if (obj4) {
13974 {
13975 arg5 = &temp5;
13976 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13977 }
13978 }
13979 if (obj5) {
13980 {
13981 arg6 = &temp6;
13982 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13983 }
13984 }
13985 if (obj6) {
13986 {
13987 arg7 = wxString_in_helper(obj6);
13988 if (arg7 == NULL) SWIG_fail;
ae8162c8 13989 temp7 = true;
d14a1e28
RD
13990 }
13991 }
13992 {
e3b71cb8 13993 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
13994 PyThreadState* __tstate = wxPyBeginAllowThreads();
13995 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
13996
13997 wxPyEndAllowThreads(__tstate);
110da5b0 13998 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 13999 }
15afbcd0 14000 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
d14a1e28
RD
14001 {
14002 if (temp2)
14003 delete arg2;
14004 }
14005 {
14006 if (temp3)
14007 delete arg3;
14008 }
14009 {
14010 if (temp7)
14011 delete arg7;
14012 }
14013 return resultobj;
14014 fail:
14015 {
14016 if (temp2)
14017 delete arg2;
14018 }
14019 {
14020 if (temp3)
14021 delete arg3;
14022 }
14023 {
14024 if (temp7)
14025 delete arg7;
14026 }
14027 return NULL;
14028}
14029
14030
c32bde28 14031static PyObject *_wrap_DirDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14032 PyObject *resultobj = NULL;
d14a1e28
RD
14033 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
14034 wxString result;
14035 PyObject * obj0 = 0 ;
14036 char *kwnames[] = {
14037 (char *) "self", NULL
14038 };
14039
14040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
093d3ff1
RD
14041 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
14042 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14043 {
14044 PyThreadState* __tstate = wxPyBeginAllowThreads();
14045 result = (arg1)->GetPath();
14046
14047 wxPyEndAllowThreads(__tstate);
14048 if (PyErr_Occurred()) SWIG_fail;
14049 }
14050 {
14051#if wxUSE_UNICODE
14052 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14053#else
14054 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14055#endif
14056 }
14057 return resultobj;
14058 fail:
14059 return NULL;
14060}
14061
14062
c32bde28 14063static PyObject *_wrap_DirDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14064 PyObject *resultobj = NULL;
d14a1e28
RD
14065 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
14066 wxString result;
14067 PyObject * obj0 = 0 ;
14068 char *kwnames[] = {
14069 (char *) "self", NULL
14070 };
14071
14072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
093d3ff1
RD
14073 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
14074 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14075 {
14076 PyThreadState* __tstate = wxPyBeginAllowThreads();
14077 result = (arg1)->GetMessage();
14078
14079 wxPyEndAllowThreads(__tstate);
14080 if (PyErr_Occurred()) SWIG_fail;
14081 }
14082 {
14083#if wxUSE_UNICODE
14084 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14085#else
14086 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14087#endif
14088 }
14089 return resultobj;
14090 fail:
14091 return NULL;
14092}
14093
14094
c32bde28 14095static PyObject *_wrap_DirDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14096 PyObject *resultobj = NULL;
d14a1e28
RD
14097 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
14098 long result;
14099 PyObject * obj0 = 0 ;
14100 char *kwnames[] = {
14101 (char *) "self", NULL
14102 };
14103
14104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
093d3ff1
RD
14105 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
14106 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14107 {
14108 PyThreadState* __tstate = wxPyBeginAllowThreads();
14109 result = (long)(arg1)->GetStyle();
14110
14111 wxPyEndAllowThreads(__tstate);
14112 if (PyErr_Occurred()) SWIG_fail;
14113 }
093d3ff1 14114 {
32fe5131 14115 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 14116 }
d14a1e28
RD
14117 return resultobj;
14118 fail:
14119 return NULL;
14120}
14121
14122
c32bde28 14123static PyObject *_wrap_DirDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14124 PyObject *resultobj = NULL;
d14a1e28
RD
14125 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
14126 wxString *arg2 = 0 ;
ae8162c8 14127 bool temp2 = false ;
d14a1e28
RD
14128 PyObject * obj0 = 0 ;
14129 PyObject * obj1 = 0 ;
14130 char *kwnames[] = {
14131 (char *) "self",(char *) "message", NULL
14132 };
14133
14134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14135 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
14136 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14137 {
14138 arg2 = wxString_in_helper(obj1);
14139 if (arg2 == NULL) SWIG_fail;
ae8162c8 14140 temp2 = true;
d14a1e28
RD
14141 }
14142 {
14143 PyThreadState* __tstate = wxPyBeginAllowThreads();
14144 (arg1)->SetMessage((wxString const &)*arg2);
14145
14146 wxPyEndAllowThreads(__tstate);
14147 if (PyErr_Occurred()) SWIG_fail;
14148 }
14149 Py_INCREF(Py_None); resultobj = Py_None;
14150 {
14151 if (temp2)
14152 delete arg2;
14153 }
14154 return resultobj;
14155 fail:
14156 {
14157 if (temp2)
14158 delete arg2;
14159 }
14160 return NULL;
14161}
14162
14163
c32bde28 14164static PyObject *_wrap_DirDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14165 PyObject *resultobj = NULL;
d14a1e28
RD
14166 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
14167 wxString *arg2 = 0 ;
ae8162c8 14168 bool temp2 = false ;
d14a1e28
RD
14169 PyObject * obj0 = 0 ;
14170 PyObject * obj1 = 0 ;
14171 char *kwnames[] = {
14172 (char *) "self",(char *) "path", NULL
14173 };
14174
14175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14176 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
14177 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14178 {
14179 arg2 = wxString_in_helper(obj1);
14180 if (arg2 == NULL) SWIG_fail;
ae8162c8 14181 temp2 = true;
d14a1e28
RD
14182 }
14183 {
14184 PyThreadState* __tstate = wxPyBeginAllowThreads();
14185 (arg1)->SetPath((wxString const &)*arg2);
14186
14187 wxPyEndAllowThreads(__tstate);
14188 if (PyErr_Occurred()) SWIG_fail;
14189 }
14190 Py_INCREF(Py_None); resultobj = Py_None;
14191 {
14192 if (temp2)
14193 delete arg2;
14194 }
14195 return resultobj;
14196 fail:
14197 {
14198 if (temp2)
14199 delete arg2;
14200 }
14201 return NULL;
14202}
14203
14204
c32bde28 14205static PyObject * DirDialog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
14206 PyObject *obj;
14207 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14208 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
14209 Py_INCREF(obj);
14210 return Py_BuildValue((char *)"");
14211}
c32bde28 14212static PyObject *_wrap_new_FileDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14213 PyObject *resultobj = NULL;
d14a1e28
RD
14214 wxWindow *arg1 = (wxWindow *) 0 ;
14215 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
14216 wxString *arg2 = (wxString *) &arg2_defvalue ;
14217 wxString const &arg3_defvalue = wxPyEmptyString ;
14218 wxString *arg3 = (wxString *) &arg3_defvalue ;
14219 wxString const &arg4_defvalue = wxPyEmptyString ;
14220 wxString *arg4 = (wxString *) &arg4_defvalue ;
14221 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
14222 wxString *arg5 = (wxString *) &arg5_defvalue ;
14223 long arg6 = (long) 0 ;
14224 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14225 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14226 wxFileDialog *result;
ae8162c8
RD
14227 bool temp2 = false ;
14228 bool temp3 = false ;
14229 bool temp4 = false ;
14230 bool temp5 = false ;
d14a1e28
RD
14231 wxPoint temp7 ;
14232 PyObject * obj0 = 0 ;
14233 PyObject * obj1 = 0 ;
14234 PyObject * obj2 = 0 ;
14235 PyObject * obj3 = 0 ;
14236 PyObject * obj4 = 0 ;
994141e6 14237 PyObject * obj5 = 0 ;
d14a1e28
RD
14238 PyObject * obj6 = 0 ;
14239 char *kwnames[] = {
14240 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
14241 };
14242
994141e6 14243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
14244 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14245 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14246 if (obj1) {
14247 {
14248 arg2 = wxString_in_helper(obj1);
14249 if (arg2 == NULL) SWIG_fail;
ae8162c8 14250 temp2 = true;
d14a1e28
RD
14251 }
14252 }
14253 if (obj2) {
14254 {
14255 arg3 = wxString_in_helper(obj2);
14256 if (arg3 == NULL) SWIG_fail;
ae8162c8 14257 temp3 = true;
d14a1e28
RD
14258 }
14259 }
14260 if (obj3) {
14261 {
14262 arg4 = wxString_in_helper(obj3);
14263 if (arg4 == NULL) SWIG_fail;
ae8162c8 14264 temp4 = true;
d14a1e28
RD
14265 }
14266 }
14267 if (obj4) {
14268 {
14269 arg5 = wxString_in_helper(obj4);
14270 if (arg5 == NULL) SWIG_fail;
ae8162c8 14271 temp5 = true;
d14a1e28
RD
14272 }
14273 }
994141e6 14274 if (obj5) {
093d3ff1 14275 {
32fe5131 14276 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
14277 if (SWIG_arg_fail(6)) SWIG_fail;
14278 }
994141e6 14279 }
d14a1e28
RD
14280 if (obj6) {
14281 {
14282 arg7 = &temp7;
14283 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
14284 }
14285 }
14286 {
e3b71cb8 14287 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
14288 PyThreadState* __tstate = wxPyBeginAllowThreads();
14289 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
14290
14291 wxPyEndAllowThreads(__tstate);
110da5b0 14292 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 14293 }
15afbcd0 14294 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
d14a1e28
RD
14295 {
14296 if (temp2)
14297 delete arg2;
14298 }
14299 {
14300 if (temp3)
14301 delete arg3;
14302 }
14303 {
14304 if (temp4)
14305 delete arg4;
14306 }
14307 {
14308 if (temp5)
14309 delete arg5;
14310 }
14311 return resultobj;
14312 fail:
14313 {
14314 if (temp2)
14315 delete arg2;
14316 }
14317 {
14318 if (temp3)
14319 delete arg3;
14320 }
14321 {
14322 if (temp4)
14323 delete arg4;
14324 }
14325 {
14326 if (temp5)
14327 delete arg5;
14328 }
14329 return NULL;
14330}
14331
14332
c32bde28 14333static PyObject *_wrap_FileDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14334 PyObject *resultobj = NULL;
d14a1e28
RD
14335 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14336 wxString *arg2 = 0 ;
ae8162c8 14337 bool temp2 = false ;
d14a1e28
RD
14338 PyObject * obj0 = 0 ;
14339 PyObject * obj1 = 0 ;
14340 char *kwnames[] = {
14341 (char *) "self",(char *) "message", NULL
14342 };
14343
14344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14345 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14346 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14347 {
14348 arg2 = wxString_in_helper(obj1);
14349 if (arg2 == NULL) SWIG_fail;
ae8162c8 14350 temp2 = true;
d14a1e28
RD
14351 }
14352 {
14353 PyThreadState* __tstate = wxPyBeginAllowThreads();
14354 (arg1)->SetMessage((wxString const &)*arg2);
14355
14356 wxPyEndAllowThreads(__tstate);
14357 if (PyErr_Occurred()) SWIG_fail;
14358 }
14359 Py_INCREF(Py_None); resultobj = Py_None;
14360 {
14361 if (temp2)
14362 delete arg2;
14363 }
14364 return resultobj;
14365 fail:
14366 {
14367 if (temp2)
14368 delete arg2;
14369 }
14370 return NULL;
14371}
14372
14373
c32bde28 14374static PyObject *_wrap_FileDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14375 PyObject *resultobj = NULL;
d14a1e28
RD
14376 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14377 wxString *arg2 = 0 ;
ae8162c8 14378 bool temp2 = false ;
d14a1e28
RD
14379 PyObject * obj0 = 0 ;
14380 PyObject * obj1 = 0 ;
14381 char *kwnames[] = {
14382 (char *) "self",(char *) "path", NULL
14383 };
14384
14385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14386 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14387 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14388 {
14389 arg2 = wxString_in_helper(obj1);
14390 if (arg2 == NULL) SWIG_fail;
ae8162c8 14391 temp2 = true;
d14a1e28
RD
14392 }
14393 {
14394 PyThreadState* __tstate = wxPyBeginAllowThreads();
14395 (arg1)->SetPath((wxString const &)*arg2);
14396
14397 wxPyEndAllowThreads(__tstate);
14398 if (PyErr_Occurred()) SWIG_fail;
14399 }
14400 Py_INCREF(Py_None); resultobj = Py_None;
14401 {
14402 if (temp2)
14403 delete arg2;
14404 }
14405 return resultobj;
14406 fail:
14407 {
14408 if (temp2)
14409 delete arg2;
14410 }
14411 return NULL;
14412}
14413
14414
c32bde28 14415static PyObject *_wrap_FileDialog_SetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14416 PyObject *resultobj = NULL;
d14a1e28
RD
14417 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14418 wxString *arg2 = 0 ;
ae8162c8 14419 bool temp2 = false ;
d14a1e28
RD
14420 PyObject * obj0 = 0 ;
14421 PyObject * obj1 = 0 ;
14422 char *kwnames[] = {
14423 (char *) "self",(char *) "dir", NULL
14424 };
14425
14426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14427 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14428 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14429 {
14430 arg2 = wxString_in_helper(obj1);
14431 if (arg2 == NULL) SWIG_fail;
ae8162c8 14432 temp2 = true;
d14a1e28
RD
14433 }
14434 {
14435 PyThreadState* __tstate = wxPyBeginAllowThreads();
14436 (arg1)->SetDirectory((wxString const &)*arg2);
14437
14438 wxPyEndAllowThreads(__tstate);
14439 if (PyErr_Occurred()) SWIG_fail;
14440 }
14441 Py_INCREF(Py_None); resultobj = Py_None;
14442 {
14443 if (temp2)
14444 delete arg2;
14445 }
14446 return resultobj;
14447 fail:
14448 {
14449 if (temp2)
14450 delete arg2;
14451 }
14452 return NULL;
14453}
14454
14455
c32bde28 14456static PyObject *_wrap_FileDialog_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14457 PyObject *resultobj = NULL;
d14a1e28
RD
14458 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14459 wxString *arg2 = 0 ;
ae8162c8 14460 bool temp2 = false ;
d14a1e28
RD
14461 PyObject * obj0 = 0 ;
14462 PyObject * obj1 = 0 ;
14463 char *kwnames[] = {
14464 (char *) "self",(char *) "name", NULL
14465 };
14466
14467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14468 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14469 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14470 {
14471 arg2 = wxString_in_helper(obj1);
14472 if (arg2 == NULL) SWIG_fail;
ae8162c8 14473 temp2 = true;
d14a1e28
RD
14474 }
14475 {
14476 PyThreadState* __tstate = wxPyBeginAllowThreads();
14477 (arg1)->SetFilename((wxString const &)*arg2);
14478
14479 wxPyEndAllowThreads(__tstate);
14480 if (PyErr_Occurred()) SWIG_fail;
14481 }
14482 Py_INCREF(Py_None); resultobj = Py_None;
14483 {
14484 if (temp2)
14485 delete arg2;
14486 }
14487 return resultobj;
14488 fail:
14489 {
14490 if (temp2)
14491 delete arg2;
14492 }
14493 return NULL;
14494}
14495
14496
c32bde28 14497static PyObject *_wrap_FileDialog_SetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14498 PyObject *resultobj = NULL;
d14a1e28
RD
14499 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14500 wxString *arg2 = 0 ;
ae8162c8 14501 bool temp2 = false ;
d14a1e28
RD
14502 PyObject * obj0 = 0 ;
14503 PyObject * obj1 = 0 ;
14504 char *kwnames[] = {
14505 (char *) "self",(char *) "wildCard", NULL
14506 };
14507
14508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14509 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14510 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14511 {
14512 arg2 = wxString_in_helper(obj1);
14513 if (arg2 == NULL) SWIG_fail;
ae8162c8 14514 temp2 = true;
d14a1e28
RD
14515 }
14516 {
14517 PyThreadState* __tstate = wxPyBeginAllowThreads();
14518 (arg1)->SetWildcard((wxString const &)*arg2);
14519
14520 wxPyEndAllowThreads(__tstate);
14521 if (PyErr_Occurred()) SWIG_fail;
14522 }
14523 Py_INCREF(Py_None); resultobj = Py_None;
14524 {
14525 if (temp2)
14526 delete arg2;
14527 }
14528 return resultobj;
14529 fail:
14530 {
14531 if (temp2)
14532 delete arg2;
14533 }
14534 return NULL;
14535}
14536
14537
c32bde28 14538static PyObject *_wrap_FileDialog_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14539 PyObject *resultobj = NULL;
d14a1e28
RD
14540 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14541 long arg2 ;
14542 PyObject * obj0 = 0 ;
994141e6 14543 PyObject * obj1 = 0 ;
d14a1e28
RD
14544 char *kwnames[] = {
14545 (char *) "self",(char *) "style", NULL
14546 };
14547
994141e6 14548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14549 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14550 if (SWIG_arg_fail(1)) SWIG_fail;
14551 {
32fe5131 14552 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
14553 if (SWIG_arg_fail(2)) SWIG_fail;
14554 }
d14a1e28
RD
14555 {
14556 PyThreadState* __tstate = wxPyBeginAllowThreads();
14557 (arg1)->SetStyle(arg2);
14558
14559 wxPyEndAllowThreads(__tstate);
14560 if (PyErr_Occurred()) SWIG_fail;
14561 }
14562 Py_INCREF(Py_None); resultobj = Py_None;
14563 return resultobj;
14564 fail:
14565 return NULL;
14566}
14567
14568
c32bde28 14569static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14570 PyObject *resultobj = NULL;
d14a1e28
RD
14571 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14572 int arg2 ;
14573 PyObject * obj0 = 0 ;
994141e6 14574 PyObject * obj1 = 0 ;
d14a1e28
RD
14575 char *kwnames[] = {
14576 (char *) "self",(char *) "filterIndex", NULL
14577 };
14578
994141e6 14579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14580 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14581 if (SWIG_arg_fail(1)) SWIG_fail;
14582 {
32fe5131 14583 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
14584 if (SWIG_arg_fail(2)) SWIG_fail;
14585 }
d14a1e28
RD
14586 {
14587 PyThreadState* __tstate = wxPyBeginAllowThreads();
14588 (arg1)->SetFilterIndex(arg2);
14589
14590 wxPyEndAllowThreads(__tstate);
14591 if (PyErr_Occurred()) SWIG_fail;
14592 }
14593 Py_INCREF(Py_None); resultobj = Py_None;
14594 return resultobj;
14595 fail:
14596 return NULL;
14597}
14598
14599
c32bde28 14600static PyObject *_wrap_FileDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14601 PyObject *resultobj = NULL;
d14a1e28
RD
14602 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14603 wxString result;
14604 PyObject * obj0 = 0 ;
14605 char *kwnames[] = {
14606 (char *) "self", NULL
14607 };
14608
14609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
093d3ff1
RD
14610 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14611 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14612 {
14613 PyThreadState* __tstate = wxPyBeginAllowThreads();
14614 result = ((wxFileDialog const *)arg1)->GetMessage();
14615
14616 wxPyEndAllowThreads(__tstate);
14617 if (PyErr_Occurred()) SWIG_fail;
14618 }
14619 {
14620#if wxUSE_UNICODE
14621 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14622#else
14623 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14624#endif
14625 }
14626 return resultobj;
14627 fail:
14628 return NULL;
14629}
14630
14631
c32bde28 14632static PyObject *_wrap_FileDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14633 PyObject *resultobj = NULL;
d14a1e28
RD
14634 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14635 wxString result;
14636 PyObject * obj0 = 0 ;
14637 char *kwnames[] = {
14638 (char *) "self", NULL
14639 };
14640
14641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
093d3ff1
RD
14642 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14643 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14644 {
14645 PyThreadState* __tstate = wxPyBeginAllowThreads();
14646 result = ((wxFileDialog const *)arg1)->GetPath();
14647
14648 wxPyEndAllowThreads(__tstate);
14649 if (PyErr_Occurred()) SWIG_fail;
14650 }
14651 {
14652#if wxUSE_UNICODE
14653 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14654#else
14655 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14656#endif
14657 }
14658 return resultobj;
14659 fail:
14660 return NULL;
14661}
14662
14663
c32bde28 14664static PyObject *_wrap_FileDialog_GetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14665 PyObject *resultobj = NULL;
d14a1e28
RD
14666 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14667 wxString result;
14668 PyObject * obj0 = 0 ;
14669 char *kwnames[] = {
14670 (char *) "self", NULL
14671 };
14672
14673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
093d3ff1
RD
14674 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14675 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14676 {
14677 PyThreadState* __tstate = wxPyBeginAllowThreads();
14678 result = ((wxFileDialog const *)arg1)->GetDirectory();
14679
14680 wxPyEndAllowThreads(__tstate);
14681 if (PyErr_Occurred()) SWIG_fail;
14682 }
14683 {
14684#if wxUSE_UNICODE
14685 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14686#else
14687 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14688#endif
14689 }
14690 return resultobj;
14691 fail:
14692 return NULL;
14693}
14694
14695
c32bde28 14696static PyObject *_wrap_FileDialog_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14697 PyObject *resultobj = NULL;
d14a1e28
RD
14698 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14699 wxString result;
14700 PyObject * obj0 = 0 ;
14701 char *kwnames[] = {
14702 (char *) "self", NULL
14703 };
14704
14705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
093d3ff1
RD
14706 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14707 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14708 {
14709 PyThreadState* __tstate = wxPyBeginAllowThreads();
14710 result = ((wxFileDialog const *)arg1)->GetFilename();
14711
14712 wxPyEndAllowThreads(__tstate);
14713 if (PyErr_Occurred()) SWIG_fail;
14714 }
14715 {
14716#if wxUSE_UNICODE
14717 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14718#else
14719 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14720#endif
14721 }
14722 return resultobj;
14723 fail:
14724 return NULL;
14725}
14726
14727
c32bde28 14728static PyObject *_wrap_FileDialog_GetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14729 PyObject *resultobj = NULL;
d14a1e28
RD
14730 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14731 wxString result;
14732 PyObject * obj0 = 0 ;
14733 char *kwnames[] = {
14734 (char *) "self", NULL
14735 };
14736
14737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
093d3ff1
RD
14738 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14739 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14740 {
14741 PyThreadState* __tstate = wxPyBeginAllowThreads();
14742 result = ((wxFileDialog const *)arg1)->GetWildcard();
14743
14744 wxPyEndAllowThreads(__tstate);
14745 if (PyErr_Occurred()) SWIG_fail;
14746 }
14747 {
14748#if wxUSE_UNICODE
14749 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14750#else
14751 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14752#endif
14753 }
14754 return resultobj;
14755 fail:
14756 return NULL;
14757}
14758
14759
c32bde28 14760static PyObject *_wrap_FileDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14761 PyObject *resultobj = NULL;
d14a1e28
RD
14762 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14763 long result;
14764 PyObject * obj0 = 0 ;
14765 char *kwnames[] = {
14766 (char *) "self", NULL
14767 };
14768
14769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
093d3ff1
RD
14770 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14771 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14772 {
14773 PyThreadState* __tstate = wxPyBeginAllowThreads();
14774 result = (long)((wxFileDialog const *)arg1)->GetStyle();
14775
14776 wxPyEndAllowThreads(__tstate);
14777 if (PyErr_Occurred()) SWIG_fail;
14778 }
093d3ff1 14779 {
32fe5131 14780 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 14781 }
d14a1e28
RD
14782 return resultobj;
14783 fail:
14784 return NULL;
14785}
14786
14787
c32bde28 14788static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14789 PyObject *resultobj = NULL;
d14a1e28
RD
14790 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14791 int result;
14792 PyObject * obj0 = 0 ;
14793 char *kwnames[] = {
14794 (char *) "self", NULL
14795 };
14796
14797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
093d3ff1
RD
14798 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14799 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14800 {
14801 PyThreadState* __tstate = wxPyBeginAllowThreads();
14802 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
14803
14804 wxPyEndAllowThreads(__tstate);
14805 if (PyErr_Occurred()) SWIG_fail;
14806 }
093d3ff1 14807 {
32fe5131 14808 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 14809 }
d14a1e28
RD
14810 return resultobj;
14811 fail:
14812 return NULL;
14813}
14814
14815
c32bde28 14816static PyObject *_wrap_FileDialog_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14817 PyObject *resultobj = NULL;
d14a1e28
RD
14818 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14819 PyObject *result;
14820 PyObject * obj0 = 0 ;
14821 char *kwnames[] = {
14822 (char *) "self", NULL
14823 };
14824
14825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
093d3ff1
RD
14826 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14827 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14828 {
14829 PyThreadState* __tstate = wxPyBeginAllowThreads();
14830 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
14831
14832 wxPyEndAllowThreads(__tstate);
14833 if (PyErr_Occurred()) SWIG_fail;
14834 }
14835 resultobj = result;
14836 return resultobj;
14837 fail:
14838 return NULL;
14839}
14840
14841
c32bde28 14842static PyObject *_wrap_FileDialog_GetPaths(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14843 PyObject *resultobj = NULL;
d14a1e28
RD
14844 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14845 PyObject *result;
14846 PyObject * obj0 = 0 ;
14847 char *kwnames[] = {
14848 (char *) "self", NULL
14849 };
14850
14851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
093d3ff1
RD
14852 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14853 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14854 {
14855 PyThreadState* __tstate = wxPyBeginAllowThreads();
14856 result = (PyObject *)wxFileDialog_GetPaths(arg1);
14857
14858 wxPyEndAllowThreads(__tstate);
14859 if (PyErr_Occurred()) SWIG_fail;
14860 }
14861 resultobj = result;
14862 return resultobj;
14863 fail:
14864 return NULL;
14865}
14866
14867
c32bde28 14868static PyObject * FileDialog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
14869 PyObject *obj;
14870 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14871 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
14872 Py_INCREF(obj);
14873 return Py_BuildValue((char *)"");
14874}
c32bde28 14875static PyObject *_wrap_new_MultiChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14876 PyObject *resultobj = NULL;
d14a1e28
RD
14877 wxWindow *arg1 = (wxWindow *) 0 ;
14878 wxString *arg2 = 0 ;
14879 wxString *arg3 = 0 ;
4d5c3d91 14880 int arg4 = (int) 0 ;
248ed943 14881 wxString *arg5 = (wxString *) NULL ;
d14a1e28
RD
14882 long arg6 = (long) wxCHOICEDLG_STYLE ;
14883 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14884 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14885 wxMultiChoiceDialog *result;
ae8162c8
RD
14886 bool temp2 = false ;
14887 bool temp3 = false ;
093d3ff1 14888 wxPoint temp7 ;
d14a1e28
RD
14889 PyObject * obj0 = 0 ;
14890 PyObject * obj1 = 0 ;
14891 PyObject * obj2 = 0 ;
994141e6 14892 PyObject * obj3 = 0 ;
d14a1e28 14893 PyObject * obj4 = 0 ;
994141e6 14894 PyObject * obj5 = 0 ;
d14a1e28 14895 char *kwnames[] = {
4d5c3d91 14896 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
d14a1e28
RD
14897 };
14898
4d5c3d91 14899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
14900 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14901 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14902 {
14903 arg2 = wxString_in_helper(obj1);
14904 if (arg2 == NULL) SWIG_fail;
ae8162c8 14905 temp2 = true;
d14a1e28
RD
14906 }
14907 {
14908 arg3 = wxString_in_helper(obj2);
14909 if (arg3 == NULL) SWIG_fail;
ae8162c8 14910 temp3 = true;
d14a1e28 14911 }
4d5c3d91
RD
14912 if (obj3) {
14913 {
14914 arg4 = PyList_Size(obj3);
14915 arg5 = wxString_LIST_helper(obj3);
14916 if (arg5 == NULL) SWIG_fail;
14917 }
7eae615b 14918 }
4d5c3d91 14919 if (obj4) {
093d3ff1 14920 {
32fe5131 14921 arg6 = static_cast<long >(SWIG_As_long(obj4));
093d3ff1
RD
14922 if (SWIG_arg_fail(6)) SWIG_fail;
14923 }
994141e6 14924 }
4d5c3d91 14925 if (obj5) {
d14a1e28 14926 {
093d3ff1 14927 arg7 = &temp7;
4d5c3d91 14928 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
d14a1e28
RD
14929 }
14930 }
14931 {
e3b71cb8 14932 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
14933 PyThreadState* __tstate = wxPyBeginAllowThreads();
14934 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
14935
14936 wxPyEndAllowThreads(__tstate);
110da5b0 14937 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 14938 }
15afbcd0 14939 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
d14a1e28
RD
14940 {
14941 if (temp2)
14942 delete arg2;
14943 }
14944 {
14945 if (temp3)
14946 delete arg3;
14947 }
7eae615b 14948 {
4d5c3d91 14949 if (arg5) delete [] arg5;
7eae615b 14950 }
d14a1e28
RD
14951 return resultobj;
14952 fail:
14953 {
14954 if (temp2)
14955 delete arg2;
14956 }
14957 {
14958 if (temp3)
14959 delete arg3;
14960 }
7eae615b 14961 {
4d5c3d91 14962 if (arg5) delete [] arg5;
7eae615b 14963 }
d14a1e28
RD
14964 return NULL;
14965}
14966
14967
c32bde28 14968static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14969 PyObject *resultobj = NULL;
d14a1e28
RD
14970 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
14971 wxArrayInt *arg2 = 0 ;
ae8162c8 14972 bool temp2 = false ;
d14a1e28
RD
14973 PyObject * obj0 = 0 ;
14974 PyObject * obj1 = 0 ;
14975 char *kwnames[] = {
14976 (char *) "self",(char *) "selections", NULL
14977 };
14978
14979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14980 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14981 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14982 {
14983 if (! PySequence_Check(obj1)) {
14984 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
14985 SWIG_fail;
14986 }
14987 arg2 = new wxArrayInt;
ae8162c8 14988 temp2 = true;
d14a1e28
RD
14989 int i, len=PySequence_Length(obj1);
14990 for (i=0; i<len; i++) {
14991 PyObject* item = PySequence_GetItem(obj1, i);
14992 PyObject* number = PyNumber_Int(item);
14993 arg2->Add(PyInt_AS_LONG(number));
14994 Py_DECREF(item);
14995 Py_DECREF(number);
14996 }
14997 }
14998 {
14999 PyThreadState* __tstate = wxPyBeginAllowThreads();
15000 (arg1)->SetSelections((wxArrayInt const &)*arg2);
15001
15002 wxPyEndAllowThreads(__tstate);
15003 if (PyErr_Occurred()) SWIG_fail;
15004 }
15005 Py_INCREF(Py_None); resultobj = Py_None;
15006 {
3adfb63b 15007 if (temp2) delete arg2;
d14a1e28
RD
15008 }
15009 return resultobj;
15010 fail:
15011 {
3adfb63b 15012 if (temp2) delete arg2;
d14a1e28
RD
15013 }
15014 return NULL;
15015}
15016
15017
c32bde28 15018static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15019 PyObject *resultobj = NULL;
d14a1e28
RD
15020 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
15021 PyObject *result;
15022 PyObject * obj0 = 0 ;
15023 char *kwnames[] = {
15024 (char *) "self", NULL
15025 };
15026
15027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
093d3ff1
RD
15028 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
15029 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15030 {
15031 PyThreadState* __tstate = wxPyBeginAllowThreads();
15032 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
15033
15034 wxPyEndAllowThreads(__tstate);
15035 if (PyErr_Occurred()) SWIG_fail;
15036 }
15037 resultobj = result;
15038 return resultobj;
15039 fail:
15040 return NULL;
15041}
15042
15043
c32bde28 15044static PyObject * MultiChoiceDialog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15045 PyObject *obj;
15046 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15047 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
15048 Py_INCREF(obj);
15049 return Py_BuildValue((char *)"");
15050}
c32bde28 15051static PyObject *_wrap_new_SingleChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15052 PyObject *resultobj = NULL;
d14a1e28
RD
15053 wxWindow *arg1 = (wxWindow *) 0 ;
15054 wxString *arg2 = 0 ;
15055 wxString *arg3 = 0 ;
15056 int arg4 ;
15057 wxString *arg5 = (wxString *) 0 ;
15058 long arg6 = (long) wxCHOICEDLG_STYLE ;
15059 wxPoint const &arg7_defvalue = wxDefaultPosition ;
15060 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
15061 wxSingleChoiceDialog *result;
ae8162c8
RD
15062 bool temp2 = false ;
15063 bool temp3 = false ;
093d3ff1 15064 wxPoint temp7 ;
d14a1e28
RD
15065 PyObject * obj0 = 0 ;
15066 PyObject * obj1 = 0 ;
15067 PyObject * obj2 = 0 ;
15068 PyObject * obj3 = 0 ;
994141e6 15069 PyObject * obj4 = 0 ;
d14a1e28
RD
15070 PyObject * obj5 = 0 ;
15071 char *kwnames[] = {
15072 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
15073 };
15074
994141e6 15075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
15076 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15077 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15078 {
15079 arg2 = wxString_in_helper(obj1);
15080 if (arg2 == NULL) SWIG_fail;
ae8162c8 15081 temp2 = true;
d14a1e28
RD
15082 }
15083 {
15084 arg3 = wxString_in_helper(obj2);
15085 if (arg3 == NULL) SWIG_fail;
ae8162c8 15086 temp3 = true;
d14a1e28
RD
15087 }
15088 {
15089 arg4 = PyList_Size(obj3);
15090 arg5 = wxString_LIST_helper(obj3);
15091 if (arg5 == NULL) SWIG_fail;
15092 }
994141e6 15093 if (obj4) {
093d3ff1 15094 {
32fe5131 15095 arg6 = static_cast<long >(SWIG_As_long(obj4));
093d3ff1
RD
15096 if (SWIG_arg_fail(6)) SWIG_fail;
15097 }
994141e6 15098 }
d14a1e28
RD
15099 if (obj5) {
15100 {
093d3ff1 15101 arg7 = &temp7;
d14a1e28
RD
15102 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
15103 }
15104 }
15105 {
e3b71cb8 15106 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
15107 PyThreadState* __tstate = wxPyBeginAllowThreads();
15108 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
15109
15110 wxPyEndAllowThreads(__tstate);
110da5b0 15111 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 15112 }
15afbcd0 15113 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
d14a1e28
RD
15114 {
15115 if (temp2)
15116 delete arg2;
15117 }
15118 {
15119 if (temp3)
15120 delete arg3;
15121 }
15122 {
15123 if (arg5) delete [] arg5;
15124 }
15125 return resultobj;
15126 fail:
15127 {
15128 if (temp2)
15129 delete arg2;
15130 }
15131 {
15132 if (temp3)
15133 delete arg3;
15134 }
15135 {
15136 if (arg5) delete [] arg5;
15137 }
15138 return NULL;
15139}
15140
15141
c32bde28 15142static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15143 PyObject *resultobj = NULL;
d14a1e28
RD
15144 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
15145 int result;
15146 PyObject * obj0 = 0 ;
15147 char *kwnames[] = {
15148 (char *) "self", NULL
15149 };
15150
15151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
15152 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
15153 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15154 {
15155 PyThreadState* __tstate = wxPyBeginAllowThreads();
15156 result = (int)(arg1)->GetSelection();
15157
15158 wxPyEndAllowThreads(__tstate);
15159 if (PyErr_Occurred()) SWIG_fail;
15160 }
093d3ff1 15161 {
32fe5131 15162 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 15163 }
d14a1e28
RD
15164 return resultobj;
15165 fail:
15166 return NULL;
15167}
15168
15169
c32bde28 15170static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15171 PyObject *resultobj = NULL;
d14a1e28
RD
15172 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
15173 wxString result;
15174 PyObject * obj0 = 0 ;
15175 char *kwnames[] = {
15176 (char *) "self", NULL
15177 };
15178
15179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
15180 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
15181 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15182 {
15183 PyThreadState* __tstate = wxPyBeginAllowThreads();
15184 result = (arg1)->GetStringSelection();
15185
15186 wxPyEndAllowThreads(__tstate);
15187 if (PyErr_Occurred()) SWIG_fail;
15188 }
15189 {
15190#if wxUSE_UNICODE
15191 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15192#else
15193 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15194#endif
15195 }
15196 return resultobj;
15197 fail:
15198 return NULL;
15199}
15200
15201
c32bde28 15202static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15203 PyObject *resultobj = NULL;
d14a1e28
RD
15204 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
15205 int arg2 ;
15206 PyObject * obj0 = 0 ;
994141e6 15207 PyObject * obj1 = 0 ;
d14a1e28
RD
15208 char *kwnames[] = {
15209 (char *) "self",(char *) "sel", NULL
15210 };
15211
994141e6 15212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15213 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
15214 if (SWIG_arg_fail(1)) SWIG_fail;
15215 {
32fe5131 15216 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
15217 if (SWIG_arg_fail(2)) SWIG_fail;
15218 }
d14a1e28
RD
15219 {
15220 PyThreadState* __tstate = wxPyBeginAllowThreads();
15221 (arg1)->SetSelection(arg2);
15222
15223 wxPyEndAllowThreads(__tstate);
15224 if (PyErr_Occurred()) SWIG_fail;
15225 }
15226 Py_INCREF(Py_None); resultobj = Py_None;
15227 return resultobj;
15228 fail:
15229 return NULL;
15230}
15231
15232
c32bde28 15233static PyObject * SingleChoiceDialog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15234 PyObject *obj;
15235 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15236 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
15237 Py_INCREF(obj);
15238 return Py_BuildValue((char *)"");
15239}
c32bde28 15240static PyObject *_wrap_new_TextEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15241 PyObject *resultobj = NULL;
d14a1e28
RD
15242 wxWindow *arg1 = (wxWindow *) 0 ;
15243 wxString *arg2 = 0 ;
15244 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
15245 wxString *arg3 = (wxString *) &arg3_defvalue ;
15246 wxString const &arg4_defvalue = wxPyEmptyString ;
15247 wxString *arg4 = (wxString *) &arg4_defvalue ;
d3b6e4ff 15248 long arg5 = (long) wxTextEntryDialogStyle ;
d14a1e28
RD
15249 wxPoint const &arg6_defvalue = wxDefaultPosition ;
15250 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
15251 wxTextEntryDialog *result;
ae8162c8
RD
15252 bool temp2 = false ;
15253 bool temp3 = false ;
15254 bool temp4 = false ;
d14a1e28
RD
15255 wxPoint temp6 ;
15256 PyObject * obj0 = 0 ;
15257 PyObject * obj1 = 0 ;
15258 PyObject * obj2 = 0 ;
15259 PyObject * obj3 = 0 ;
994141e6 15260 PyObject * obj4 = 0 ;
d14a1e28
RD
15261 PyObject * obj5 = 0 ;
15262 char *kwnames[] = {
15263 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
15264 };
15265
994141e6 15266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
15267 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15268 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15269 {
15270 arg2 = wxString_in_helper(obj1);
15271 if (arg2 == NULL) SWIG_fail;
ae8162c8 15272 temp2 = true;
d14a1e28
RD
15273 }
15274 if (obj2) {
15275 {
15276 arg3 = wxString_in_helper(obj2);
15277 if (arg3 == NULL) SWIG_fail;
ae8162c8 15278 temp3 = true;
d14a1e28
RD
15279 }
15280 }
15281 if (obj3) {
15282 {
15283 arg4 = wxString_in_helper(obj3);
15284 if (arg4 == NULL) SWIG_fail;
ae8162c8 15285 temp4 = true;
d14a1e28
RD
15286 }
15287 }
994141e6 15288 if (obj4) {
093d3ff1 15289 {
32fe5131 15290 arg5 = static_cast<long >(SWIG_As_long(obj4));
093d3ff1
RD
15291 if (SWIG_arg_fail(5)) SWIG_fail;
15292 }
994141e6 15293 }
d14a1e28
RD
15294 if (obj5) {
15295 {
15296 arg6 = &temp6;
15297 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
15298 }
15299 }
15300 {
e3b71cb8 15301 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
15302 PyThreadState* __tstate = wxPyBeginAllowThreads();
15303 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
15304
15305 wxPyEndAllowThreads(__tstate);
110da5b0 15306 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 15307 }
15afbcd0 15308 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
d14a1e28
RD
15309 {
15310 if (temp2)
15311 delete arg2;
15312 }
15313 {
15314 if (temp3)
15315 delete arg3;
15316 }
15317 {
15318 if (temp4)
15319 delete arg4;
15320 }
15321 return resultobj;
15322 fail:
15323 {
15324 if (temp2)
15325 delete arg2;
15326 }
15327 {
15328 if (temp3)
15329 delete arg3;
15330 }
15331 {
15332 if (temp4)
15333 delete arg4;
15334 }
15335 return NULL;
15336}
15337
15338
c32bde28 15339static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15340 PyObject *resultobj = NULL;
d14a1e28
RD
15341 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
15342 wxString result;
15343 PyObject * obj0 = 0 ;
15344 char *kwnames[] = {
15345 (char *) "self", NULL
15346 };
15347
15348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
15349 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_EXCEPTION | 0);
15350 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15351 {
15352 PyThreadState* __tstate = wxPyBeginAllowThreads();
15353 result = (arg1)->GetValue();
15354
15355 wxPyEndAllowThreads(__tstate);
15356 if (PyErr_Occurred()) SWIG_fail;
15357 }
15358 {
15359#if wxUSE_UNICODE
15360 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15361#else
15362 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15363#endif
15364 }
15365 return resultobj;
15366 fail:
15367 return NULL;
15368}
15369
15370
c32bde28 15371static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15372 PyObject *resultobj = NULL;
d14a1e28
RD
15373 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
15374 wxString *arg2 = 0 ;
ae8162c8 15375 bool temp2 = false ;
d14a1e28
RD
15376 PyObject * obj0 = 0 ;
15377 PyObject * obj1 = 0 ;
15378 char *kwnames[] = {
15379 (char *) "self",(char *) "value", NULL
15380 };
15381
15382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15383 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_EXCEPTION | 0);
15384 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15385 {
15386 arg2 = wxString_in_helper(obj1);
15387 if (arg2 == NULL) SWIG_fail;
ae8162c8 15388 temp2 = true;
d14a1e28
RD
15389 }
15390 {
15391 PyThreadState* __tstate = wxPyBeginAllowThreads();
15392 (arg1)->SetValue((wxString const &)*arg2);
15393
15394 wxPyEndAllowThreads(__tstate);
15395 if (PyErr_Occurred()) SWIG_fail;
15396 }
15397 Py_INCREF(Py_None); resultobj = Py_None;
15398 {
15399 if (temp2)
15400 delete arg2;
15401 }
15402 return resultobj;
15403 fail:
15404 {
15405 if (temp2)
15406 delete arg2;
15407 }
15408 return NULL;
15409}
15410
15411
c32bde28 15412static PyObject * TextEntryDialog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15413 PyObject *obj;
15414 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15415 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
15416 Py_INCREF(obj);
15417 return Py_BuildValue((char *)"");
15418}
d3b6e4ff
RD
15419static int _wrap_GetPasswordFromUserPromptStr_set(PyObject *) {
15420 PyErr_SetString(PyExc_TypeError,"Variable GetPasswordFromUserPromptStr is read-only.");
15421 return 1;
15422}
15423
15424
093d3ff1 15425static PyObject *_wrap_GetPasswordFromUserPromptStr_get(void) {
32fe5131 15426 PyObject *pyobj = NULL;
d3b6e4ff
RD
15427
15428 {
15429#if wxUSE_UNICODE
15430 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
15431#else
15432 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
15433#endif
15434 }
15435 return pyobj;
15436}
15437
15438
15439static PyObject *_wrap_new_PasswordEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15440 PyObject *resultobj = NULL;
d3b6e4ff
RD
15441 wxWindow *arg1 = (wxWindow *) 0 ;
15442 wxString *arg2 = 0 ;
15443 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
15444 wxString *arg3 = (wxString *) &arg3_defvalue ;
15445 wxString const &arg4_defvalue = wxPyEmptyString ;
15446 wxString *arg4 = (wxString *) &arg4_defvalue ;
15447 long arg5 = (long) wxTextEntryDialogStyle ;
15448 wxPoint const &arg6_defvalue = wxDefaultPosition ;
15449 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
15450 wxPasswordEntryDialog *result;
15451 bool temp2 = false ;
15452 bool temp3 = false ;
15453 bool temp4 = false ;
15454 wxPoint temp6 ;
15455 PyObject * obj0 = 0 ;
15456 PyObject * obj1 = 0 ;
15457 PyObject * obj2 = 0 ;
15458 PyObject * obj3 = 0 ;
15459 PyObject * obj4 = 0 ;
15460 PyObject * obj5 = 0 ;
15461 char *kwnames[] = {
15462 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
15463 };
15464
15465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
15466 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15467 if (SWIG_arg_fail(1)) SWIG_fail;
d3b6e4ff
RD
15468 {
15469 arg2 = wxString_in_helper(obj1);
15470 if (arg2 == NULL) SWIG_fail;
15471 temp2 = true;
15472 }
15473 if (obj2) {
15474 {
15475 arg3 = wxString_in_helper(obj2);
15476 if (arg3 == NULL) SWIG_fail;
15477 temp3 = true;
15478 }
15479 }
15480 if (obj3) {
15481 {
15482 arg4 = wxString_in_helper(obj3);
15483 if (arg4 == NULL) SWIG_fail;
15484 temp4 = true;
15485 }
15486 }
15487 if (obj4) {
093d3ff1 15488 {
32fe5131 15489 arg5 = static_cast<long >(SWIG_As_long(obj4));
093d3ff1
RD
15490 if (SWIG_arg_fail(5)) SWIG_fail;
15491 }
d3b6e4ff
RD
15492 }
15493 if (obj5) {
15494 {
15495 arg6 = &temp6;
15496 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
15497 }
15498 }
15499 {
15500 PyThreadState* __tstate = wxPyBeginAllowThreads();
15501 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
15502
15503 wxPyEndAllowThreads(__tstate);
15504 if (PyErr_Occurred()) SWIG_fail;
15505 }
15506 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPasswordEntryDialog, 1);
15507 {
15508 if (temp2)
15509 delete arg2;
15510 }
15511 {
15512 if (temp3)
15513 delete arg3;
15514 }
15515 {
15516 if (temp4)
15517 delete arg4;
15518 }
15519 return resultobj;
15520 fail:
15521 {
15522 if (temp2)
15523 delete arg2;
15524 }
15525 {
15526 if (temp3)
15527 delete arg3;
15528 }
15529 {
15530 if (temp4)
15531 delete arg4;
15532 }
15533 return NULL;
15534}
15535
15536
15537static PyObject * PasswordEntryDialog_swigregister(PyObject *, PyObject *args) {
15538 PyObject *obj;
15539 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15540 SWIG_TypeClientData(SWIGTYPE_p_wxPasswordEntryDialog, obj);
15541 Py_INCREF(obj);
15542 return Py_BuildValue((char *)"");
15543}
c32bde28 15544static PyObject *_wrap_new_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15545 PyObject *resultobj = NULL;
d14a1e28
RD
15546 wxFontData *result;
15547 char *kwnames[] = {
15548 NULL
15549 };
15550
15551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
15552 {
15553 PyThreadState* __tstate = wxPyBeginAllowThreads();
15554 result = (wxFontData *)new wxFontData();
15555
15556 wxPyEndAllowThreads(__tstate);
15557 if (PyErr_Occurred()) SWIG_fail;
15558 }
15afbcd0 15559 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
d14a1e28
RD
15560 return resultobj;
15561 fail:
15562 return NULL;
15563}
15564
15565
c32bde28 15566static PyObject *_wrap_delete_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15567 PyObject *resultobj = NULL;
d14a1e28
RD
15568 wxFontData *arg1 = (wxFontData *) 0 ;
15569 PyObject * obj0 = 0 ;
15570 char *kwnames[] = {
15571 (char *) "self", NULL
15572 };
15573
15574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
093d3ff1
RD
15575 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15576 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15577 {
15578 PyThreadState* __tstate = wxPyBeginAllowThreads();
15579 delete arg1;
15580
15581 wxPyEndAllowThreads(__tstate);
15582 if (PyErr_Occurred()) SWIG_fail;
15583 }
15584 Py_INCREF(Py_None); resultobj = Py_None;
15585 return resultobj;
15586 fail:
15587 return NULL;
15588}
15589
15590
c32bde28 15591static PyObject *_wrap_FontData_EnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15592 PyObject *resultobj = NULL;
d14a1e28
RD
15593 wxFontData *arg1 = (wxFontData *) 0 ;
15594 bool arg2 ;
15595 PyObject * obj0 = 0 ;
15596 PyObject * obj1 = 0 ;
15597 char *kwnames[] = {
15598 (char *) "self",(char *) "enable", NULL
15599 };
15600
15601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15602 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15603 if (SWIG_arg_fail(1)) SWIG_fail;
15604 {
32fe5131 15605 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
15606 if (SWIG_arg_fail(2)) SWIG_fail;
15607 }
d14a1e28
RD
15608 {
15609 PyThreadState* __tstate = wxPyBeginAllowThreads();
15610 (arg1)->EnableEffects(arg2);
15611
15612 wxPyEndAllowThreads(__tstate);
15613 if (PyErr_Occurred()) SWIG_fail;
15614 }
15615 Py_INCREF(Py_None); resultobj = Py_None;
15616 return resultobj;
15617 fail:
15618 return NULL;
15619}
15620
15621
c32bde28 15622static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15623 PyObject *resultobj = NULL;
d14a1e28
RD
15624 wxFontData *arg1 = (wxFontData *) 0 ;
15625 bool result;
15626 PyObject * obj0 = 0 ;
15627 char *kwnames[] = {
15628 (char *) "self", NULL
15629 };
15630
15631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
093d3ff1
RD
15632 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15633 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15634 {
15635 PyThreadState* __tstate = wxPyBeginAllowThreads();
15636 result = (bool)(arg1)->GetAllowSymbols();
15637
15638 wxPyEndAllowThreads(__tstate);
15639 if (PyErr_Occurred()) SWIG_fail;
15640 }
4f89f6a3
RD
15641 {
15642 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15643 }
d14a1e28
RD
15644 return resultobj;
15645 fail:
15646 return NULL;
15647}
15648
15649
c32bde28 15650static PyObject *_wrap_FontData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15651 PyObject *resultobj = NULL;
d14a1e28
RD
15652 wxFontData *arg1 = (wxFontData *) 0 ;
15653 wxColour result;
15654 PyObject * obj0 = 0 ;
15655 char *kwnames[] = {
15656 (char *) "self", NULL
15657 };
15658
15659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
15660 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15661 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15662 {
15663 PyThreadState* __tstate = wxPyBeginAllowThreads();
15664 result = (arg1)->GetColour();
15665
15666 wxPyEndAllowThreads(__tstate);
15667 if (PyErr_Occurred()) SWIG_fail;
15668 }
15669 {
15670 wxColour * resultptr;
32fe5131 15671 resultptr = new wxColour(static_cast<wxColour & >(result));
15afbcd0 15672 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
15673 }
15674 return resultobj;
15675 fail:
15676 return NULL;
15677}
15678
15679
c32bde28 15680static PyObject *_wrap_FontData_GetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15681 PyObject *resultobj = NULL;
d14a1e28
RD
15682 wxFontData *arg1 = (wxFontData *) 0 ;
15683 wxFont result;
15684 PyObject * obj0 = 0 ;
15685 char *kwnames[] = {
15686 (char *) "self", NULL
15687 };
15688
15689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
093d3ff1
RD
15690 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15691 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15692 {
15693 PyThreadState* __tstate = wxPyBeginAllowThreads();
15694 result = (arg1)->GetChosenFont();
15695
15696 wxPyEndAllowThreads(__tstate);
15697 if (PyErr_Occurred()) SWIG_fail;
15698 }
15699 {
15700 wxFont * resultptr;
32fe5131 15701 resultptr = new wxFont(static_cast<wxFont & >(result));
15afbcd0 15702 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
15703 }
15704 return resultobj;
15705 fail:
15706 return NULL;
15707}
15708
15709
c32bde28 15710static PyObject *_wrap_FontData_GetEnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15711 PyObject *resultobj = NULL;
d14a1e28
RD
15712 wxFontData *arg1 = (wxFontData *) 0 ;
15713 bool result;
15714 PyObject * obj0 = 0 ;
15715 char *kwnames[] = {
15716 (char *) "self", NULL
15717 };
15718
15719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
093d3ff1
RD
15720 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15721 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15722 {
15723 PyThreadState* __tstate = wxPyBeginAllowThreads();
15724 result = (bool)(arg1)->GetEnableEffects();
15725
15726 wxPyEndAllowThreads(__tstate);
15727 if (PyErr_Occurred()) SWIG_fail;
15728 }
4f89f6a3
RD
15729 {
15730 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15731 }
d14a1e28
RD
15732 return resultobj;
15733 fail:
15734 return NULL;
15735}
15736
15737
c32bde28 15738static PyObject *_wrap_FontData_GetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15739 PyObject *resultobj = NULL;
d14a1e28
RD
15740 wxFontData *arg1 = (wxFontData *) 0 ;
15741 wxFont result;
15742 PyObject * obj0 = 0 ;
15743 char *kwnames[] = {
15744 (char *) "self", NULL
15745 };
15746
15747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
093d3ff1
RD
15748 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15749 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15750 {
15751 PyThreadState* __tstate = wxPyBeginAllowThreads();
15752 result = (arg1)->GetInitialFont();
15753
15754 wxPyEndAllowThreads(__tstate);
15755 if (PyErr_Occurred()) SWIG_fail;
15756 }
15757 {
15758 wxFont * resultptr;
32fe5131 15759 resultptr = new wxFont(static_cast<wxFont & >(result));
15afbcd0 15760 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
15761 }
15762 return resultobj;
15763 fail:
15764 return NULL;
15765}
15766
15767
c32bde28 15768static PyObject *_wrap_FontData_GetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15769 PyObject *resultobj = NULL;
d14a1e28
RD
15770 wxFontData *arg1 = (wxFontData *) 0 ;
15771 bool result;
15772 PyObject * obj0 = 0 ;
15773 char *kwnames[] = {
15774 (char *) "self", NULL
15775 };
15776
15777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
093d3ff1
RD
15778 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15779 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15780 {
15781 PyThreadState* __tstate = wxPyBeginAllowThreads();
15782 result = (bool)(arg1)->GetShowHelp();
15783
15784 wxPyEndAllowThreads(__tstate);
15785 if (PyErr_Occurred()) SWIG_fail;
15786 }
4f89f6a3
RD
15787 {
15788 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15789 }
d14a1e28
RD
15790 return resultobj;
15791 fail:
15792 return NULL;
15793}
15794
15795
c32bde28 15796static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15797 PyObject *resultobj = NULL;
d14a1e28
RD
15798 wxFontData *arg1 = (wxFontData *) 0 ;
15799 bool arg2 ;
15800 PyObject * obj0 = 0 ;
15801 PyObject * obj1 = 0 ;
15802 char *kwnames[] = {
15803 (char *) "self",(char *) "allowSymbols", NULL
15804 };
15805
15806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15807 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15808 if (SWIG_arg_fail(1)) SWIG_fail;
15809 {
32fe5131 15810 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
15811 if (SWIG_arg_fail(2)) SWIG_fail;
15812 }
d14a1e28
RD
15813 {
15814 PyThreadState* __tstate = wxPyBeginAllowThreads();
15815 (arg1)->SetAllowSymbols(arg2);
15816
15817 wxPyEndAllowThreads(__tstate);
15818 if (PyErr_Occurred()) SWIG_fail;
15819 }
15820 Py_INCREF(Py_None); resultobj = Py_None;
15821 return resultobj;
15822 fail:
15823 return NULL;
15824}
15825
15826
c32bde28 15827static PyObject *_wrap_FontData_SetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15828 PyObject *resultobj = NULL;
d14a1e28
RD
15829 wxFontData *arg1 = (wxFontData *) 0 ;
15830 wxFont *arg2 = 0 ;
15831 PyObject * obj0 = 0 ;
15832 PyObject * obj1 = 0 ;
15833 char *kwnames[] = {
15834 (char *) "self",(char *) "font", NULL
15835 };
15836
15837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15838 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15839 if (SWIG_arg_fail(1)) SWIG_fail;
15840 {
15841 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
15842 if (SWIG_arg_fail(2)) SWIG_fail;
15843 if (arg2 == NULL) {
15844 SWIG_null_ref("wxFont");
15845 }
15846 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
15847 }
15848 {
15849 PyThreadState* __tstate = wxPyBeginAllowThreads();
15850 (arg1)->SetChosenFont((wxFont const &)*arg2);
15851
15852 wxPyEndAllowThreads(__tstate);
15853 if (PyErr_Occurred()) SWIG_fail;
15854 }
15855 Py_INCREF(Py_None); resultobj = Py_None;
15856 return resultobj;
15857 fail:
15858 return NULL;
15859}
15860
15861
c32bde28 15862static PyObject *_wrap_FontData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15863 PyObject *resultobj = NULL;
d14a1e28
RD
15864 wxFontData *arg1 = (wxFontData *) 0 ;
15865 wxColour *arg2 = 0 ;
15866 wxColour temp2 ;
15867 PyObject * obj0 = 0 ;
15868 PyObject * obj1 = 0 ;
15869 char *kwnames[] = {
15870 (char *) "self",(char *) "colour", NULL
15871 };
15872
15873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15874 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15875 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15876 {
15877 arg2 = &temp2;
15878 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15879 }
15880 {
15881 PyThreadState* __tstate = wxPyBeginAllowThreads();
15882 (arg1)->SetColour((wxColour const &)*arg2);
15883
15884 wxPyEndAllowThreads(__tstate);
15885 if (PyErr_Occurred()) SWIG_fail;
15886 }
15887 Py_INCREF(Py_None); resultobj = Py_None;
15888 return resultobj;
15889 fail:
15890 return NULL;
15891}
15892
15893
c32bde28 15894static PyObject *_wrap_FontData_SetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15895 PyObject *resultobj = NULL;
d14a1e28
RD
15896 wxFontData *arg1 = (wxFontData *) 0 ;
15897 wxFont *arg2 = 0 ;
15898 PyObject * obj0 = 0 ;
15899 PyObject * obj1 = 0 ;
15900 char *kwnames[] = {
15901 (char *) "self",(char *) "font", NULL
15902 };
15903
15904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15905 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15906 if (SWIG_arg_fail(1)) SWIG_fail;
15907 {
15908 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
15909 if (SWIG_arg_fail(2)) SWIG_fail;
15910 if (arg2 == NULL) {
15911 SWIG_null_ref("wxFont");
15912 }
15913 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
15914 }
15915 {
15916 PyThreadState* __tstate = wxPyBeginAllowThreads();
15917 (arg1)->SetInitialFont((wxFont const &)*arg2);
15918
15919 wxPyEndAllowThreads(__tstate);
15920 if (PyErr_Occurred()) SWIG_fail;
15921 }
15922 Py_INCREF(Py_None); resultobj = Py_None;
15923 return resultobj;
15924 fail:
15925 return NULL;
15926}
15927
15928
c32bde28 15929static PyObject *_wrap_FontData_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15930 PyObject *resultobj = NULL;
d14a1e28
RD
15931 wxFontData *arg1 = (wxFontData *) 0 ;
15932 int arg2 ;
15933 int arg3 ;
15934 PyObject * obj0 = 0 ;
994141e6
RD
15935 PyObject * obj1 = 0 ;
15936 PyObject * obj2 = 0 ;
d14a1e28
RD
15937 char *kwnames[] = {
15938 (char *) "self",(char *) "min",(char *) "max", NULL
15939 };
15940
994141e6 15941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
15942 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15943 if (SWIG_arg_fail(1)) SWIG_fail;
15944 {
32fe5131 15945 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
15946 if (SWIG_arg_fail(2)) SWIG_fail;
15947 }
15948 {
32fe5131 15949 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
15950 if (SWIG_arg_fail(3)) SWIG_fail;
15951 }
d14a1e28
RD
15952 {
15953 PyThreadState* __tstate = wxPyBeginAllowThreads();
15954 (arg1)->SetRange(arg2,arg3);
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_FontData_SetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15967 PyObject *resultobj = NULL;
d14a1e28
RD
15968 wxFontData *arg1 = (wxFontData *) 0 ;
15969 bool arg2 ;
15970 PyObject * obj0 = 0 ;
15971 PyObject * obj1 = 0 ;
15972 char *kwnames[] = {
15973 (char *) "self",(char *) "showHelp", NULL
15974 };
15975
15976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15977 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15978 if (SWIG_arg_fail(1)) SWIG_fail;
15979 {
32fe5131 15980 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
15981 if (SWIG_arg_fail(2)) SWIG_fail;
15982 }
d14a1e28
RD
15983 {
15984 PyThreadState* __tstate = wxPyBeginAllowThreads();
15985 (arg1)->SetShowHelp(arg2);
15986
15987 wxPyEndAllowThreads(__tstate);
15988 if (PyErr_Occurred()) SWIG_fail;
15989 }
15990 Py_INCREF(Py_None); resultobj = Py_None;
15991 return resultobj;
15992 fail:
15993 return NULL;
15994}
15995
15996
c32bde28 15997static PyObject * FontData_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15998 PyObject *obj;
15999 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16000 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
16001 Py_INCREF(obj);
16002 return Py_BuildValue((char *)"");
16003}
c32bde28 16004static PyObject *_wrap_new_FontDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16005 PyObject *resultobj = NULL;
e498079e
RD
16006 wxWindow *arg1 = (wxWindow *) 0 ;
16007 wxFontData *arg2 = 0 ;
16008 wxFontDialog *result;
d14a1e28 16009 PyObject * obj0 = 0 ;
e498079e 16010 PyObject * obj1 = 0 ;
15afbcd0
RD
16011 char *kwnames[] = {
16012 (char *) "parent",(char *) "data", NULL
16013 };
d14a1e28 16014
15afbcd0 16015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16016 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16017 if (SWIG_arg_fail(1)) SWIG_fail;
16018 {
16019 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
16020 if (SWIG_arg_fail(2)) SWIG_fail;
16021 if (arg2 == NULL) {
16022 SWIG_null_ref("wxFontData");
16023 }
16024 if (SWIG_arg_fail(2)) SWIG_fail;
e498079e 16025 }
d14a1e28 16026 {
e3b71cb8 16027 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 16028 PyThreadState* __tstate = wxPyBeginAllowThreads();
e498079e 16029 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
d14a1e28
RD
16030
16031 wxPyEndAllowThreads(__tstate);
110da5b0 16032 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 16033 }
15afbcd0 16034 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
d14a1e28
RD
16035 return resultobj;
16036 fail:
16037 return NULL;
16038}
16039
16040
c32bde28 16041static PyObject *_wrap_FontDialog_GetFontData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16042 PyObject *resultobj = NULL;
d14a1e28 16043 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
e498079e 16044 wxFontData *result;
d14a1e28
RD
16045 PyObject * obj0 = 0 ;
16046 char *kwnames[] = {
32fe5131
RD
16047 (char *) "self", NULL
16048 };
16049
16050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
16051 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontDialog, SWIG_POINTER_EXCEPTION | 0);
16052 if (SWIG_arg_fail(1)) SWIG_fail;
16053 {
16054 PyThreadState* __tstate = wxPyBeginAllowThreads();
16055 {
16056 wxFontData &_result_ref = (arg1)->GetFontData();
16057 result = (wxFontData *) &_result_ref;
16058 }
16059
16060 wxPyEndAllowThreads(__tstate);
16061 if (PyErr_Occurred()) SWIG_fail;
16062 }
16063 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
16064 return resultobj;
16065 fail:
16066 return NULL;
16067}
16068
16069
16070static PyObject * FontDialog_swigregister(PyObject *, PyObject *args) {
16071 PyObject *obj;
16072 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16073 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
16074 Py_INCREF(obj);
16075 return Py_BuildValue((char *)"");
16076}
16077static PyObject *_wrap_GetFontFromUser(PyObject *, PyObject *args, PyObject *kwargs) {
16078 PyObject *resultobj = NULL;
16079 wxWindow *arg1 = (wxWindow *) NULL ;
16080 wxFont const &arg2_defvalue = wxNullFont ;
16081 wxFont *arg2 = (wxFont *) &arg2_defvalue ;
16082 wxString const &arg3_defvalue = wxPyEmptyString ;
16083 wxString *arg3 = (wxString *) &arg3_defvalue ;
16084 wxFont result;
16085 bool temp3 = false ;
16086 PyObject * obj0 = 0 ;
16087 PyObject * obj1 = 0 ;
16088 PyObject * obj2 = 0 ;
16089 char *kwnames[] = {
16090 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
d14a1e28
RD
16091 };
16092
32fe5131
RD
16093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetFontFromUser",kwnames,&obj0,&obj1,&obj2)) goto fail;
16094 if (obj0) {
16095 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16096 if (SWIG_arg_fail(1)) SWIG_fail;
16097 }
16098 if (obj1) {
e498079e 16099 {
32fe5131
RD
16100 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
16101 if (SWIG_arg_fail(2)) SWIG_fail;
16102 if (arg2 == NULL) {
16103 SWIG_null_ref("wxFont");
16104 }
16105 if (SWIG_arg_fail(2)) SWIG_fail;
16106 }
16107 }
16108 if (obj2) {
16109 {
16110 arg3 = wxString_in_helper(obj2);
16111 if (arg3 == NULL) SWIG_fail;
16112 temp3 = true;
e498079e 16113 }
32fe5131
RD
16114 }
16115 {
16116 PyThreadState* __tstate = wxPyBeginAllowThreads();
16117 result = wxGetFontFromUser(arg1,(wxFont const &)*arg2,(wxString const &)*arg3);
d14a1e28
RD
16118
16119 wxPyEndAllowThreads(__tstate);
16120 if (PyErr_Occurred()) SWIG_fail;
16121 }
32fe5131
RD
16122 {
16123 wxFont * resultptr;
16124 resultptr = new wxFont(static_cast<wxFont & >(result));
16125 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
16126 }
16127 {
16128 if (temp3)
16129 delete arg3;
16130 }
d14a1e28
RD
16131 return resultobj;
16132 fail:
32fe5131
RD
16133 {
16134 if (temp3)
16135 delete arg3;
16136 }
d14a1e28
RD
16137 return NULL;
16138}
16139
16140
c32bde28 16141static PyObject *_wrap_new_MessageDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16142 PyObject *resultobj = NULL;
d14a1e28
RD
16143 wxWindow *arg1 = (wxWindow *) 0 ;
16144 wxString *arg2 = 0 ;
16145 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
16146 wxString *arg3 = (wxString *) &arg3_defvalue ;
16147 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
16148 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16149 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16150 wxMessageDialog *result;
ae8162c8
RD
16151 bool temp2 = false ;
16152 bool temp3 = false ;
d14a1e28
RD
16153 wxPoint temp5 ;
16154 PyObject * obj0 = 0 ;
16155 PyObject * obj1 = 0 ;
16156 PyObject * obj2 = 0 ;
994141e6 16157 PyObject * obj3 = 0 ;
d14a1e28
RD
16158 PyObject * obj4 = 0 ;
16159 char *kwnames[] = {
16160 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
16161 };
16162
994141e6 16163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
16164 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16165 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16166 {
16167 arg2 = wxString_in_helper(obj1);
16168 if (arg2 == NULL) SWIG_fail;
ae8162c8 16169 temp2 = true;
d14a1e28
RD
16170 }
16171 if (obj2) {
16172 {
16173 arg3 = wxString_in_helper(obj2);
16174 if (arg3 == NULL) SWIG_fail;
ae8162c8 16175 temp3 = true;
d14a1e28
RD
16176 }
16177 }
994141e6 16178 if (obj3) {
093d3ff1 16179 {
32fe5131 16180 arg4 = static_cast<long >(SWIG_As_long(obj3));
093d3ff1
RD
16181 if (SWIG_arg_fail(4)) SWIG_fail;
16182 }
994141e6 16183 }
d14a1e28
RD
16184 if (obj4) {
16185 {
16186 arg5 = &temp5;
16187 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
16188 }
16189 }
16190 {
e3b71cb8 16191 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
16192 PyThreadState* __tstate = wxPyBeginAllowThreads();
16193 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
16194
16195 wxPyEndAllowThreads(__tstate);
110da5b0 16196 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 16197 }
15afbcd0 16198 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
d14a1e28
RD
16199 {
16200 if (temp2)
16201 delete arg2;
16202 }
16203 {
16204 if (temp3)
16205 delete arg3;
16206 }
16207 return resultobj;
16208 fail:
16209 {
16210 if (temp2)
16211 delete arg2;
16212 }
16213 {
16214 if (temp3)
16215 delete arg3;
16216 }
16217 return NULL;
16218}
16219
16220
c32bde28 16221static PyObject * MessageDialog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
16222 PyObject *obj;
16223 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16224 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
16225 Py_INCREF(obj);
16226 return Py_BuildValue((char *)"");
16227}
c32bde28 16228static PyObject *_wrap_new_ProgressDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16229 PyObject *resultobj = NULL;
d14a1e28
RD
16230 wxString *arg1 = 0 ;
16231 wxString *arg2 = 0 ;
16232 int arg3 = (int) 100 ;
16233 wxWindow *arg4 = (wxWindow *) NULL ;
16234 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
16235 wxProgressDialog *result;
ae8162c8
RD
16236 bool temp1 = false ;
16237 bool temp2 = false ;
d14a1e28
RD
16238 PyObject * obj0 = 0 ;
16239 PyObject * obj1 = 0 ;
994141e6 16240 PyObject * obj2 = 0 ;
d14a1e28 16241 PyObject * obj3 = 0 ;
994141e6 16242 PyObject * obj4 = 0 ;
d14a1e28
RD
16243 char *kwnames[] = {
16244 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
16245 };
16246
994141e6 16247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
d14a1e28
RD
16248 {
16249 arg1 = wxString_in_helper(obj0);
16250 if (arg1 == NULL) SWIG_fail;
ae8162c8 16251 temp1 = true;
d14a1e28
RD
16252 }
16253 {
16254 arg2 = wxString_in_helper(obj1);
16255 if (arg2 == NULL) SWIG_fail;
ae8162c8 16256 temp2 = true;
d14a1e28 16257 }
994141e6 16258 if (obj2) {
093d3ff1 16259 {
32fe5131 16260 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
16261 if (SWIG_arg_fail(3)) SWIG_fail;
16262 }
994141e6 16263 }
d14a1e28 16264 if (obj3) {
093d3ff1
RD
16265 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16266 if (SWIG_arg_fail(4)) SWIG_fail;
d14a1e28 16267 }
994141e6 16268 if (obj4) {
093d3ff1 16269 {
32fe5131 16270 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
16271 if (SWIG_arg_fail(5)) SWIG_fail;
16272 }
994141e6 16273 }
d14a1e28 16274 {
e3b71cb8 16275 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
16276 PyThreadState* __tstate = wxPyBeginAllowThreads();
16277 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
16278
16279 wxPyEndAllowThreads(__tstate);
110da5b0 16280 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 16281 }
15afbcd0 16282 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
d14a1e28
RD
16283 {
16284 if (temp1)
16285 delete arg1;
16286 }
16287 {
16288 if (temp2)
16289 delete arg2;
16290 }
16291 return resultobj;
16292 fail:
16293 {
16294 if (temp1)
16295 delete arg1;
16296 }
16297 {
16298 if (temp2)
16299 delete arg2;
16300 }
16301 return NULL;
16302}
16303
16304
c32bde28 16305static PyObject *_wrap_ProgressDialog_Update(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16306 PyObject *resultobj = NULL;
d14a1e28
RD
16307 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
16308 int arg2 ;
16309 wxString const &arg3_defvalue = wxPyEmptyString ;
16310 wxString *arg3 = (wxString *) &arg3_defvalue ;
16311 bool result;
ae8162c8 16312 bool temp3 = false ;
d14a1e28 16313 PyObject * obj0 = 0 ;
994141e6 16314 PyObject * obj1 = 0 ;
d14a1e28
RD
16315 PyObject * obj2 = 0 ;
16316 char *kwnames[] = {
16317 (char *) "self",(char *) "value",(char *) "newmsg", NULL
16318 };
16319
994141e6 16320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
16321 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_EXCEPTION | 0);
16322 if (SWIG_arg_fail(1)) SWIG_fail;
16323 {
32fe5131 16324 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
16325 if (SWIG_arg_fail(2)) SWIG_fail;
16326 }
d14a1e28
RD
16327 if (obj2) {
16328 {
16329 arg3 = wxString_in_helper(obj2);
16330 if (arg3 == NULL) SWIG_fail;
ae8162c8 16331 temp3 = true;
d14a1e28
RD
16332 }
16333 }
16334 {
16335 PyThreadState* __tstate = wxPyBeginAllowThreads();
16336 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
16337
16338 wxPyEndAllowThreads(__tstate);
16339 if (PyErr_Occurred()) SWIG_fail;
16340 }
4f89f6a3
RD
16341 {
16342 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16343 }
d14a1e28
RD
16344 {
16345 if (temp3)
16346 delete arg3;
16347 }
16348 return resultobj;
16349 fail:
16350 {
16351 if (temp3)
16352 delete arg3;
16353 }
16354 return NULL;
16355}
16356
16357
c32bde28 16358static PyObject *_wrap_ProgressDialog_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16359 PyObject *resultobj = NULL;
d14a1e28
RD
16360 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
16361 PyObject * obj0 = 0 ;
16362 char *kwnames[] = {
16363 (char *) "self", NULL
16364 };
16365
16366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
093d3ff1
RD
16367 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_EXCEPTION | 0);
16368 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16369 {
16370 PyThreadState* __tstate = wxPyBeginAllowThreads();
16371 (arg1)->Resume();
16372
16373 wxPyEndAllowThreads(__tstate);
16374 if (PyErr_Occurred()) SWIG_fail;
16375 }
16376 Py_INCREF(Py_None); resultobj = Py_None;
16377 return resultobj;
16378 fail:
16379 return NULL;
16380}
16381
16382
c32bde28 16383static PyObject * ProgressDialog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
16384 PyObject *obj;
16385 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16386 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
16387 Py_INCREF(obj);
16388 return Py_BuildValue((char *)"");
16389}
c32bde28 16390static PyObject *_wrap_new_FindDialogEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16391 PyObject *resultobj = NULL;
d14a1e28
RD
16392 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16393 int arg2 = (int) 0 ;
16394 wxFindDialogEvent *result;
994141e6
RD
16395 PyObject * obj0 = 0 ;
16396 PyObject * obj1 = 0 ;
d14a1e28
RD
16397 char *kwnames[] = {
16398 (char *) "commandType",(char *) "id", NULL
16399 };
16400
994141e6
RD
16401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
16402 if (obj0) {
093d3ff1 16403 {
32fe5131 16404 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
093d3ff1
RD
16405 if (SWIG_arg_fail(1)) SWIG_fail;
16406 }
994141e6
RD
16407 }
16408 if (obj1) {
093d3ff1 16409 {
32fe5131 16410 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
16411 if (SWIG_arg_fail(2)) SWIG_fail;
16412 }
994141e6 16413 }
d14a1e28
RD
16414 {
16415 PyThreadState* __tstate = wxPyBeginAllowThreads();
16416 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
16417
16418 wxPyEndAllowThreads(__tstate);
16419 if (PyErr_Occurred()) SWIG_fail;
16420 }
15afbcd0 16421 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
d14a1e28
RD
16422 return resultobj;
16423 fail:
16424 return NULL;
16425}
16426
16427
c32bde28 16428static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16429 PyObject *resultobj = NULL;
d14a1e28
RD
16430 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16431 int result;
16432 PyObject * obj0 = 0 ;
16433 char *kwnames[] = {
16434 (char *) "self", NULL
16435 };
16436
16437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
093d3ff1
RD
16438 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16439 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16440 {
16441 PyThreadState* __tstate = wxPyBeginAllowThreads();
16442 result = (int)(arg1)->GetFlags();
16443
16444 wxPyEndAllowThreads(__tstate);
16445 if (PyErr_Occurred()) SWIG_fail;
16446 }
093d3ff1 16447 {
32fe5131 16448 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 16449 }
d14a1e28
RD
16450 return resultobj;
16451 fail:
16452 return NULL;
16453}
16454
16455
c32bde28 16456static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16457 PyObject *resultobj = NULL;
d14a1e28 16458 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
cc6dd355 16459 wxString *result;
d14a1e28
RD
16460 PyObject * obj0 = 0 ;
16461 char *kwnames[] = {
16462 (char *) "self", NULL
16463 };
16464
16465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
093d3ff1
RD
16466 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16467 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16468 {
16469 PyThreadState* __tstate = wxPyBeginAllowThreads();
cc6dd355
RD
16470 {
16471 wxString const &_result_ref = (arg1)->GetFindString();
16472 result = (wxString *) &_result_ref;
16473 }
d14a1e28
RD
16474
16475 wxPyEndAllowThreads(__tstate);
16476 if (PyErr_Occurred()) SWIG_fail;
16477 }
16478 {
16479#if wxUSE_UNICODE
cc6dd355 16480 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
d14a1e28 16481#else
cc6dd355 16482 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
d14a1e28
RD
16483#endif
16484 }
16485 return resultobj;
16486 fail:
16487 return NULL;
16488}
16489
16490
c32bde28 16491static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16492 PyObject *resultobj = NULL;
d14a1e28
RD
16493 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16494 wxString *result;
16495 PyObject * obj0 = 0 ;
16496 char *kwnames[] = {
16497 (char *) "self", NULL
16498 };
16499
16500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
093d3ff1
RD
16501 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16502 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16503 {
16504 PyThreadState* __tstate = wxPyBeginAllowThreads();
16505 {
16506 wxString const &_result_ref = (arg1)->GetReplaceString();
16507 result = (wxString *) &_result_ref;
16508 }
16509
16510 wxPyEndAllowThreads(__tstate);
16511 if (PyErr_Occurred()) SWIG_fail;
16512 }
cc6dd355
RD
16513 {
16514#if wxUSE_UNICODE
16515 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16516#else
16517 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16518#endif
16519 }
d14a1e28
RD
16520 return resultobj;
16521 fail:
16522 return NULL;
16523}
16524
16525
c32bde28 16526static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16527 PyObject *resultobj = NULL;
d14a1e28
RD
16528 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16529 wxFindReplaceDialog *result;
16530 PyObject * obj0 = 0 ;
16531 char *kwnames[] = {
16532 (char *) "self", NULL
16533 };
16534
16535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
093d3ff1
RD
16536 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16537 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16538 {
16539 PyThreadState* __tstate = wxPyBeginAllowThreads();
16540 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
16541
16542 wxPyEndAllowThreads(__tstate);
16543 if (PyErr_Occurred()) SWIG_fail;
16544 }
15afbcd0 16545 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
d14a1e28
RD
16546 return resultobj;
16547 fail:
16548 return NULL;
16549}
16550
16551
c32bde28 16552static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16553 PyObject *resultobj = NULL;
d14a1e28
RD
16554 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16555 int arg2 ;
16556 PyObject * obj0 = 0 ;
994141e6 16557 PyObject * obj1 = 0 ;
d14a1e28
RD
16558 char *kwnames[] = {
16559 (char *) "self",(char *) "flags", NULL
16560 };
16561
994141e6 16562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16563 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16564 if (SWIG_arg_fail(1)) SWIG_fail;
16565 {
32fe5131 16566 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
16567 if (SWIG_arg_fail(2)) SWIG_fail;
16568 }
d14a1e28
RD
16569 {
16570 PyThreadState* __tstate = wxPyBeginAllowThreads();
16571 (arg1)->SetFlags(arg2);
16572
16573 wxPyEndAllowThreads(__tstate);
16574 if (PyErr_Occurred()) SWIG_fail;
16575 }
16576 Py_INCREF(Py_None); resultobj = Py_None;
16577 return resultobj;
16578 fail:
16579 return NULL;
16580}
16581
16582
c32bde28 16583static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16584 PyObject *resultobj = NULL;
d14a1e28
RD
16585 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16586 wxString *arg2 = 0 ;
ae8162c8 16587 bool temp2 = false ;
d14a1e28
RD
16588 PyObject * obj0 = 0 ;
16589 PyObject * obj1 = 0 ;
16590 char *kwnames[] = {
16591 (char *) "self",(char *) "str", NULL
16592 };
16593
16594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16595 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16596 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16597 {
16598 arg2 = wxString_in_helper(obj1);
16599 if (arg2 == NULL) SWIG_fail;
ae8162c8 16600 temp2 = true;
d14a1e28
RD
16601 }
16602 {
16603 PyThreadState* __tstate = wxPyBeginAllowThreads();
16604 (arg1)->SetFindString((wxString const &)*arg2);
16605
16606 wxPyEndAllowThreads(__tstate);
16607 if (PyErr_Occurred()) SWIG_fail;
16608 }
16609 Py_INCREF(Py_None); resultobj = Py_None;
16610 {
16611 if (temp2)
16612 delete arg2;
16613 }
16614 return resultobj;
16615 fail:
16616 {
16617 if (temp2)
16618 delete arg2;
16619 }
16620 return NULL;
16621}
16622
16623
c32bde28 16624static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16625 PyObject *resultobj = NULL;
d14a1e28
RD
16626 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16627 wxString *arg2 = 0 ;
ae8162c8 16628 bool temp2 = false ;
d14a1e28
RD
16629 PyObject * obj0 = 0 ;
16630 PyObject * obj1 = 0 ;
16631 char *kwnames[] = {
16632 (char *) "self",(char *) "str", NULL
16633 };
16634
16635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16636 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16637 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16638 {
16639 arg2 = wxString_in_helper(obj1);
16640 if (arg2 == NULL) SWIG_fail;
ae8162c8 16641 temp2 = true;
d14a1e28
RD
16642 }
16643 {
16644 PyThreadState* __tstate = wxPyBeginAllowThreads();
16645 (arg1)->SetReplaceString((wxString const &)*arg2);
16646
16647 wxPyEndAllowThreads(__tstate);
16648 if (PyErr_Occurred()) SWIG_fail;
16649 }
16650 Py_INCREF(Py_None); resultobj = Py_None;
16651 {
16652 if (temp2)
16653 delete arg2;
16654 }
16655 return resultobj;
16656 fail:
16657 {
16658 if (temp2)
16659 delete arg2;
16660 }
16661 return NULL;
16662}
16663
16664
c32bde28 16665static PyObject * FindDialogEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
16666 PyObject *obj;
16667 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16668 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
16669 Py_INCREF(obj);
16670 return Py_BuildValue((char *)"");
16671}
c32bde28 16672static PyObject *_wrap_new_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16673 PyObject *resultobj = NULL;
d14a1e28
RD
16674 int arg1 = (int) 0 ;
16675 wxFindReplaceData *result;
994141e6 16676 PyObject * obj0 = 0 ;
d14a1e28
RD
16677 char *kwnames[] = {
16678 (char *) "flags", NULL
16679 };
16680
994141e6
RD
16681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
16682 if (obj0) {
093d3ff1 16683 {
32fe5131 16684 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
16685 if (SWIG_arg_fail(1)) SWIG_fail;
16686 }
994141e6 16687 }
d14a1e28
RD
16688 {
16689 PyThreadState* __tstate = wxPyBeginAllowThreads();
16690 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
16691
16692 wxPyEndAllowThreads(__tstate);
16693 if (PyErr_Occurred()) SWIG_fail;
16694 }
15afbcd0 16695 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
d14a1e28
RD
16696 return resultobj;
16697 fail:
16698 return NULL;
16699}
16700
16701
c32bde28 16702static PyObject *_wrap_delete_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16703 PyObject *resultobj = NULL;
d14a1e28
RD
16704 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16705 PyObject * obj0 = 0 ;
16706 char *kwnames[] = {
16707 (char *) "self", NULL
16708 };
16709
16710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
093d3ff1
RD
16711 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16712 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16713 {
16714 PyThreadState* __tstate = wxPyBeginAllowThreads();
16715 delete arg1;
16716
16717 wxPyEndAllowThreads(__tstate);
16718 if (PyErr_Occurred()) SWIG_fail;
16719 }
16720 Py_INCREF(Py_None); resultobj = Py_None;
16721 return resultobj;
16722 fail:
16723 return NULL;
16724}
16725
16726
c32bde28 16727static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16728 PyObject *resultobj = NULL;
d14a1e28
RD
16729 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16730 wxString *result;
16731 PyObject * obj0 = 0 ;
16732 char *kwnames[] = {
16733 (char *) "self", NULL
16734 };
16735
16736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
093d3ff1
RD
16737 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16738 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16739 {
16740 PyThreadState* __tstate = wxPyBeginAllowThreads();
16741 {
16742 wxString const &_result_ref = (arg1)->GetFindString();
16743 result = (wxString *) &_result_ref;
16744 }
16745
16746 wxPyEndAllowThreads(__tstate);
16747 if (PyErr_Occurred()) SWIG_fail;
16748 }
cc6dd355
RD
16749 {
16750#if wxUSE_UNICODE
16751 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16752#else
16753 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16754#endif
16755 }
d14a1e28
RD
16756 return resultobj;
16757 fail:
16758 return NULL;
16759}
16760
16761
c32bde28 16762static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16763 PyObject *resultobj = NULL;
d14a1e28
RD
16764 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16765 wxString *result;
16766 PyObject * obj0 = 0 ;
16767 char *kwnames[] = {
16768 (char *) "self", NULL
16769 };
16770
16771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
093d3ff1
RD
16772 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16773 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16774 {
16775 PyThreadState* __tstate = wxPyBeginAllowThreads();
16776 {
16777 wxString const &_result_ref = (arg1)->GetReplaceString();
16778 result = (wxString *) &_result_ref;
16779 }
16780
16781 wxPyEndAllowThreads(__tstate);
16782 if (PyErr_Occurred()) SWIG_fail;
16783 }
cc6dd355
RD
16784 {
16785#if wxUSE_UNICODE
16786 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16787#else
16788 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16789#endif
16790 }
d14a1e28
RD
16791 return resultobj;
16792 fail:
16793 return NULL;
16794}
16795
16796
c32bde28 16797static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16798 PyObject *resultobj = NULL;
d14a1e28
RD
16799 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16800 int result;
16801 PyObject * obj0 = 0 ;
16802 char *kwnames[] = {
16803 (char *) "self", NULL
16804 };
16805
16806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
093d3ff1
RD
16807 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16808 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16809 {
16810 PyThreadState* __tstate = wxPyBeginAllowThreads();
16811 result = (int)(arg1)->GetFlags();
16812
16813 wxPyEndAllowThreads(__tstate);
16814 if (PyErr_Occurred()) SWIG_fail;
16815 }
093d3ff1 16816 {
32fe5131 16817 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 16818 }
d14a1e28
RD
16819 return resultobj;
16820 fail:
16821 return NULL;
16822}
16823
16824
c32bde28 16825static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16826 PyObject *resultobj = NULL;
d14a1e28
RD
16827 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16828 int arg2 ;
16829 PyObject * obj0 = 0 ;
994141e6 16830 PyObject * obj1 = 0 ;
d14a1e28
RD
16831 char *kwnames[] = {
16832 (char *) "self",(char *) "flags", NULL
16833 };
16834
994141e6 16835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16836 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16837 if (SWIG_arg_fail(1)) SWIG_fail;
16838 {
32fe5131 16839 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
16840 if (SWIG_arg_fail(2)) SWIG_fail;
16841 }
d14a1e28
RD
16842 {
16843 PyThreadState* __tstate = wxPyBeginAllowThreads();
16844 (arg1)->SetFlags(arg2);
16845
16846 wxPyEndAllowThreads(__tstate);
16847 if (PyErr_Occurred()) SWIG_fail;
16848 }
16849 Py_INCREF(Py_None); resultobj = Py_None;
16850 return resultobj;
16851 fail:
16852 return NULL;
16853}
16854
16855
c32bde28 16856static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16857 PyObject *resultobj = NULL;
d14a1e28
RD
16858 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16859 wxString *arg2 = 0 ;
ae8162c8 16860 bool temp2 = false ;
d14a1e28
RD
16861 PyObject * obj0 = 0 ;
16862 PyObject * obj1 = 0 ;
16863 char *kwnames[] = {
16864 (char *) "self",(char *) "str", NULL
16865 };
16866
16867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16868 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16869 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16870 {
16871 arg2 = wxString_in_helper(obj1);
16872 if (arg2 == NULL) SWIG_fail;
ae8162c8 16873 temp2 = true;
d14a1e28
RD
16874 }
16875 {
16876 PyThreadState* __tstate = wxPyBeginAllowThreads();
16877 (arg1)->SetFindString((wxString const &)*arg2);
16878
16879 wxPyEndAllowThreads(__tstate);
16880 if (PyErr_Occurred()) SWIG_fail;
16881 }
16882 Py_INCREF(Py_None); resultobj = Py_None;
16883 {
16884 if (temp2)
16885 delete arg2;
16886 }
16887 return resultobj;
16888 fail:
16889 {
16890 if (temp2)
16891 delete arg2;
16892 }
16893 return NULL;
16894}
16895
16896
c32bde28 16897static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16898 PyObject *resultobj = NULL;
d14a1e28
RD
16899 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16900 wxString *arg2 = 0 ;
ae8162c8 16901 bool temp2 = false ;
d14a1e28
RD
16902 PyObject * obj0 = 0 ;
16903 PyObject * obj1 = 0 ;
16904 char *kwnames[] = {
16905 (char *) "self",(char *) "str", NULL
16906 };
16907
16908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16909 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16910 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16911 {
16912 arg2 = wxString_in_helper(obj1);
16913 if (arg2 == NULL) SWIG_fail;
ae8162c8 16914 temp2 = true;
d14a1e28
RD
16915 }
16916 {
16917 PyThreadState* __tstate = wxPyBeginAllowThreads();
16918 (arg1)->SetReplaceString((wxString const &)*arg2);
16919
16920 wxPyEndAllowThreads(__tstate);
16921 if (PyErr_Occurred()) SWIG_fail;
16922 }
16923 Py_INCREF(Py_None); resultobj = Py_None;
16924 {
16925 if (temp2)
16926 delete arg2;
16927 }
16928 return resultobj;
16929 fail:
16930 {
16931 if (temp2)
16932 delete arg2;
16933 }
16934 return NULL;
16935}
16936
16937
c32bde28 16938static PyObject * FindReplaceData_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
16939 PyObject *obj;
16940 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16941 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
16942 Py_INCREF(obj);
16943 return Py_BuildValue((char *)"");
16944}
c32bde28 16945static PyObject *_wrap_new_FindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16946 PyObject *resultobj = NULL;
d14a1e28
RD
16947 wxWindow *arg1 = (wxWindow *) 0 ;
16948 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
16949 wxString *arg3 = 0 ;
16950 int arg4 = (int) 0 ;
16951 wxFindReplaceDialog *result;
ae8162c8 16952 bool temp3 = false ;
d14a1e28
RD
16953 PyObject * obj0 = 0 ;
16954 PyObject * obj1 = 0 ;
16955 PyObject * obj2 = 0 ;
994141e6 16956 PyObject * obj3 = 0 ;
d14a1e28
RD
16957 char *kwnames[] = {
16958 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16959 };
16960
994141e6 16961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
16962 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16963 if (SWIG_arg_fail(1)) SWIG_fail;
16964 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16965 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
16966 {
16967 arg3 = wxString_in_helper(obj2);
16968 if (arg3 == NULL) SWIG_fail;
ae8162c8 16969 temp3 = true;
d14a1e28 16970 }
994141e6 16971 if (obj3) {
093d3ff1 16972 {
32fe5131 16973 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
16974 if (SWIG_arg_fail(4)) SWIG_fail;
16975 }
994141e6 16976 }
d14a1e28 16977 {
e3b71cb8 16978 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
16979 PyThreadState* __tstate = wxPyBeginAllowThreads();
16980 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
16981
16982 wxPyEndAllowThreads(__tstate);
110da5b0 16983 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 16984 }
15afbcd0 16985 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
d14a1e28
RD
16986 {
16987 if (temp3)
16988 delete arg3;
16989 }
16990 return resultobj;
16991 fail:
16992 {
16993 if (temp3)
16994 delete arg3;
16995 }
16996 return NULL;
16997}
16998
16999
c32bde28 17000static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17001 PyObject *resultobj = NULL;
d14a1e28
RD
17002 wxFindReplaceDialog *result;
17003 char *kwnames[] = {
17004 NULL
17005 };
17006
17007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
17008 {
e3b71cb8 17009 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
17010 PyThreadState* __tstate = wxPyBeginAllowThreads();
17011 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
17012
17013 wxPyEndAllowThreads(__tstate);
110da5b0 17014 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 17015 }
15afbcd0 17016 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
d14a1e28
RD
17017 return resultobj;
17018 fail:
17019 return NULL;
17020}
17021
17022
c32bde28 17023static PyObject *_wrap_FindReplaceDialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17024 PyObject *resultobj = NULL;
d14a1e28
RD
17025 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
17026 wxWindow *arg2 = (wxWindow *) 0 ;
17027 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
17028 wxString *arg4 = 0 ;
17029 int arg5 = (int) 0 ;
17030 bool result;
ae8162c8 17031 bool temp4 = false ;
d14a1e28
RD
17032 PyObject * obj0 = 0 ;
17033 PyObject * obj1 = 0 ;
17034 PyObject * obj2 = 0 ;
17035 PyObject * obj3 = 0 ;
994141e6 17036 PyObject * obj4 = 0 ;
d14a1e28
RD
17037 char *kwnames[] = {
17038 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
17039 };
17040
994141e6 17041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
17042 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0);
17043 if (SWIG_arg_fail(1)) SWIG_fail;
17044 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17045 if (SWIG_arg_fail(2)) SWIG_fail;
17046 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
17047 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
17048 {
17049 arg4 = wxString_in_helper(obj3);
17050 if (arg4 == NULL) SWIG_fail;
ae8162c8 17051 temp4 = true;
d14a1e28 17052 }
994141e6 17053 if (obj4) {
093d3ff1 17054 {
32fe5131 17055 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
17056 if (SWIG_arg_fail(5)) SWIG_fail;
17057 }
994141e6 17058 }
d14a1e28
RD
17059 {
17060 PyThreadState* __tstate = wxPyBeginAllowThreads();
17061 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
17062
17063 wxPyEndAllowThreads(__tstate);
17064 if (PyErr_Occurred()) SWIG_fail;
17065 }
4f89f6a3
RD
17066 {
17067 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17068 }
d14a1e28
RD
17069 {
17070 if (temp4)
17071 delete arg4;
17072 }
17073 return resultobj;
17074 fail:
17075 {
17076 if (temp4)
17077 delete arg4;
17078 }
17079 return NULL;
17080}
17081
17082
c32bde28 17083static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17084 PyObject *resultobj = NULL;
d14a1e28
RD
17085 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
17086 wxFindReplaceData *result;
17087 PyObject * obj0 = 0 ;
17088 char *kwnames[] = {
17089 (char *) "self", NULL
17090 };
17091
17092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
093d3ff1
RD
17093 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0);
17094 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17095 {
17096 PyThreadState* __tstate = wxPyBeginAllowThreads();
17097 result = (wxFindReplaceData *)(arg1)->GetData();
17098
17099 wxPyEndAllowThreads(__tstate);
17100 if (PyErr_Occurred()) SWIG_fail;
17101 }
15afbcd0 17102 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
d14a1e28
RD
17103 return resultobj;
17104 fail:
17105 return NULL;
17106}
17107
17108
c32bde28 17109static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17110 PyObject *resultobj = NULL;
d14a1e28
RD
17111 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
17112 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
17113 PyObject * obj0 = 0 ;
17114 PyObject * obj1 = 0 ;
17115 char *kwnames[] = {
17116 (char *) "self",(char *) "data", NULL
17117 };
17118
17119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17120 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0);
17121 if (SWIG_arg_fail(1)) SWIG_fail;
17122 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
17123 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
17124 {
17125 PyThreadState* __tstate = wxPyBeginAllowThreads();
17126 (arg1)->SetData(arg2);
17127
17128 wxPyEndAllowThreads(__tstate);
17129 if (PyErr_Occurred()) SWIG_fail;
17130 }
17131 Py_INCREF(Py_None); resultobj = Py_None;
17132 return resultobj;
17133 fail:
17134 return NULL;
17135}
17136
17137
c32bde28 17138static PyObject * FindReplaceDialog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17139 PyObject *obj;
17140 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17141 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
17142 Py_INCREF(obj);
17143 return Py_BuildValue((char *)"");
17144}
c32bde28 17145static PyObject *_wrap_new_MDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17146 PyObject *resultobj = NULL;
d14a1e28 17147 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
17148 int arg2 = (int) (int)-1 ;
17149 wxString const &arg3_defvalue = wxPyEmptyString ;
17150 wxString *arg3 = (wxString *) &arg3_defvalue ;
d14a1e28
RD
17151 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17152 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17153 wxSize const &arg5_defvalue = wxDefaultSize ;
17154 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17155 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
17156 wxString const &arg7_defvalue = wxPyFrameNameStr ;
17157 wxString *arg7 = (wxString *) &arg7_defvalue ;
17158 wxMDIParentFrame *result;
ae8162c8 17159 bool temp3 = false ;
d14a1e28
RD
17160 wxPoint temp4 ;
17161 wxSize temp5 ;
ae8162c8 17162 bool temp7 = false ;
d14a1e28 17163 PyObject * obj0 = 0 ;
994141e6 17164 PyObject * obj1 = 0 ;
d14a1e28
RD
17165 PyObject * obj2 = 0 ;
17166 PyObject * obj3 = 0 ;
17167 PyObject * obj4 = 0 ;
994141e6 17168 PyObject * obj5 = 0 ;
d14a1e28
RD
17169 PyObject * obj6 = 0 ;
17170 char *kwnames[] = {
17171 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17172 };
17173
248ed943 17174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
17175 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17176 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 17177 if (obj1) {
093d3ff1 17178 {
32fe5131 17179 arg2 = static_cast<int const >(SWIG_As_int(obj1));
093d3ff1
RD
17180 if (SWIG_arg_fail(2)) SWIG_fail;
17181 }
248ed943
RD
17182 }
17183 if (obj2) {
17184 {
17185 arg3 = wxString_in_helper(obj2);
17186 if (arg3 == NULL) SWIG_fail;
ae8162c8 17187 temp3 = true;
248ed943 17188 }
d14a1e28
RD
17189 }
17190 if (obj3) {
17191 {
17192 arg4 = &temp4;
17193 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17194 }
17195 }
17196 if (obj4) {
17197 {
17198 arg5 = &temp5;
17199 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17200 }
17201 }
994141e6 17202 if (obj5) {
093d3ff1 17203 {
32fe5131 17204 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
17205 if (SWIG_arg_fail(6)) SWIG_fail;
17206 }
994141e6 17207 }
d14a1e28
RD
17208 if (obj6) {
17209 {
17210 arg7 = wxString_in_helper(obj6);
17211 if (arg7 == NULL) SWIG_fail;
ae8162c8 17212 temp7 = true;
d14a1e28
RD
17213 }
17214 }
17215 {
e3b71cb8 17216 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
17217 PyThreadState* __tstate = wxPyBeginAllowThreads();
17218 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17219
17220 wxPyEndAllowThreads(__tstate);
110da5b0 17221 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 17222 }
15afbcd0 17223 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
d14a1e28
RD
17224 {
17225 if (temp3)
17226 delete arg3;
17227 }
17228 {
17229 if (temp7)
17230 delete arg7;
17231 }
17232 return resultobj;
17233 fail:
17234 {
17235 if (temp3)
17236 delete arg3;
17237 }
17238 {
17239 if (temp7)
17240 delete arg7;
17241 }
17242 return NULL;
17243}
17244
17245
c32bde28 17246static PyObject *_wrap_new_PreMDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17247 PyObject *resultobj = NULL;
d14a1e28
RD
17248 wxMDIParentFrame *result;
17249 char *kwnames[] = {
17250 NULL
17251 };
17252
17253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
17254 {
e3b71cb8 17255 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
17256 PyThreadState* __tstate = wxPyBeginAllowThreads();
17257 result = (wxMDIParentFrame *)new wxMDIParentFrame();
17258
17259 wxPyEndAllowThreads(__tstate);
110da5b0 17260 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 17261 }
15afbcd0 17262 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
d14a1e28
RD
17263 return resultobj;
17264 fail:
17265 return NULL;
17266}
17267
17268
c32bde28 17269static PyObject *_wrap_MDIParentFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17270 PyObject *resultobj = NULL;
d14a1e28
RD
17271 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17272 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
17273 int arg3 = (int) (int)-1 ;
17274 wxString const &arg4_defvalue = wxPyEmptyString ;
17275 wxString *arg4 = (wxString *) &arg4_defvalue ;
d14a1e28
RD
17276 wxPoint const &arg5_defvalue = wxDefaultPosition ;
17277 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
17278 wxSize const &arg6_defvalue = wxDefaultSize ;
17279 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
17280 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
17281 wxString const &arg8_defvalue = wxPyFrameNameStr ;
17282 wxString *arg8 = (wxString *) &arg8_defvalue ;
17283 bool result;
ae8162c8 17284 bool temp4 = false ;
d14a1e28
RD
17285 wxPoint temp5 ;
17286 wxSize temp6 ;
ae8162c8 17287 bool temp8 = false ;
d14a1e28
RD
17288 PyObject * obj0 = 0 ;
17289 PyObject * obj1 = 0 ;
994141e6 17290 PyObject * obj2 = 0 ;
d14a1e28
RD
17291 PyObject * obj3 = 0 ;
17292 PyObject * obj4 = 0 ;
17293 PyObject * obj5 = 0 ;
994141e6 17294 PyObject * obj6 = 0 ;
d14a1e28
RD
17295 PyObject * obj7 = 0 ;
17296 char *kwnames[] = {
17297 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17298 };
17299
248ed943 17300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
17301 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17302 if (SWIG_arg_fail(1)) SWIG_fail;
17303 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17304 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 17305 if (obj2) {
093d3ff1 17306 {
32fe5131 17307 arg3 = static_cast<int const >(SWIG_As_int(obj2));
093d3ff1
RD
17308 if (SWIG_arg_fail(3)) SWIG_fail;
17309 }
248ed943
RD
17310 }
17311 if (obj3) {
17312 {
17313 arg4 = wxString_in_helper(obj3);
17314 if (arg4 == NULL) SWIG_fail;
ae8162c8 17315 temp4 = true;
248ed943 17316 }
d14a1e28
RD
17317 }
17318 if (obj4) {
17319 {
17320 arg5 = &temp5;
17321 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
17322 }
17323 }
17324 if (obj5) {
17325 {
17326 arg6 = &temp6;
17327 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
17328 }
17329 }
994141e6 17330 if (obj6) {
093d3ff1 17331 {
32fe5131 17332 arg7 = static_cast<long >(SWIG_As_long(obj6));
093d3ff1
RD
17333 if (SWIG_arg_fail(7)) SWIG_fail;
17334 }
994141e6 17335 }
d14a1e28
RD
17336 if (obj7) {
17337 {
17338 arg8 = wxString_in_helper(obj7);
17339 if (arg8 == NULL) SWIG_fail;
ae8162c8 17340 temp8 = true;
d14a1e28
RD
17341 }
17342 }
17343 {
17344 PyThreadState* __tstate = wxPyBeginAllowThreads();
17345 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
17346
17347 wxPyEndAllowThreads(__tstate);
17348 if (PyErr_Occurred()) SWIG_fail;
17349 }
4f89f6a3
RD
17350 {
17351 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17352 }
d14a1e28
RD
17353 {
17354 if (temp4)
17355 delete arg4;
17356 }
17357 {
17358 if (temp8)
17359 delete arg8;
17360 }
17361 return resultobj;
17362 fail:
17363 {
17364 if (temp4)
17365 delete arg4;
17366 }
17367 {
17368 if (temp8)
17369 delete arg8;
17370 }
17371 return NULL;
17372}
17373
17374
c32bde28 17375static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17376 PyObject *resultobj = NULL;
d14a1e28
RD
17377 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17378 PyObject * obj0 = 0 ;
17379 char *kwnames[] = {
17380 (char *) "self", NULL
17381 };
17382
17383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
093d3ff1
RD
17384 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17385 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17386 {
17387 PyThreadState* __tstate = wxPyBeginAllowThreads();
17388 (arg1)->ActivateNext();
17389
17390 wxPyEndAllowThreads(__tstate);
17391 if (PyErr_Occurred()) SWIG_fail;
17392 }
17393 Py_INCREF(Py_None); resultobj = Py_None;
17394 return resultobj;
17395 fail:
17396 return NULL;
17397}
17398
17399
c32bde28 17400static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17401 PyObject *resultobj = NULL;
d14a1e28
RD
17402 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17403 PyObject * obj0 = 0 ;
17404 char *kwnames[] = {
17405 (char *) "self", NULL
17406 };
17407
17408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
093d3ff1
RD
17409 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17410 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17411 {
17412 PyThreadState* __tstate = wxPyBeginAllowThreads();
17413 (arg1)->ActivatePrevious();
17414
17415 wxPyEndAllowThreads(__tstate);
17416 if (PyErr_Occurred()) SWIG_fail;
17417 }
17418 Py_INCREF(Py_None); resultobj = Py_None;
17419 return resultobj;
17420 fail:
17421 return NULL;
17422}
17423
17424
c32bde28 17425static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17426 PyObject *resultobj = NULL;
d14a1e28
RD
17427 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17428 PyObject * obj0 = 0 ;
17429 char *kwnames[] = {
17430 (char *) "self", NULL
17431 };
17432
17433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
093d3ff1
RD
17434 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17435 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17436 {
17437 PyThreadState* __tstate = wxPyBeginAllowThreads();
17438 (arg1)->ArrangeIcons();
17439
17440 wxPyEndAllowThreads(__tstate);
17441 if (PyErr_Occurred()) SWIG_fail;
17442 }
17443 Py_INCREF(Py_None); resultobj = Py_None;
17444 return resultobj;
17445 fail:
17446 return NULL;
17447}
17448
17449
c32bde28 17450static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17451 PyObject *resultobj = NULL;
d14a1e28
RD
17452 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17453 PyObject * obj0 = 0 ;
17454 char *kwnames[] = {
17455 (char *) "self", NULL
17456 };
17457
17458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
093d3ff1
RD
17459 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17460 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17461 {
17462 PyThreadState* __tstate = wxPyBeginAllowThreads();
17463 (arg1)->Cascade();
17464
17465 wxPyEndAllowThreads(__tstate);
17466 if (PyErr_Occurred()) SWIG_fail;
17467 }
17468 Py_INCREF(Py_None); resultobj = Py_None;
17469 return resultobj;
17470 fail:
17471 return NULL;
17472}
17473
17474
c32bde28 17475static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17476 PyObject *resultobj = NULL;
d14a1e28
RD
17477 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17478 wxMDIChildFrame *result;
17479 PyObject * obj0 = 0 ;
17480 char *kwnames[] = {
17481 (char *) "self", NULL
17482 };
17483
17484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
093d3ff1
RD
17485 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17486 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17487 {
17488 PyThreadState* __tstate = wxPyBeginAllowThreads();
17489 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
17490
17491 wxPyEndAllowThreads(__tstate);
17492 if (PyErr_Occurred()) SWIG_fail;
17493 }
17494 {
412d302d 17495 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
17496 }
17497 return resultobj;
17498 fail:
17499 return NULL;
17500}
17501
17502
c32bde28 17503static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17504 PyObject *resultobj = NULL;
d14a1e28
RD
17505 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17506 wxMDIClientWindow *result;
17507 PyObject * obj0 = 0 ;
17508 char *kwnames[] = {
17509 (char *) "self", NULL
17510 };
17511
17512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
17513 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17514 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17515 {
17516 PyThreadState* __tstate = wxPyBeginAllowThreads();
17517 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
17518
17519 wxPyEndAllowThreads(__tstate);
17520 if (PyErr_Occurred()) SWIG_fail;
17521 }
17522 {
412d302d 17523 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
17524 }
17525 return resultobj;
17526 fail:
17527 return NULL;
17528}
17529
17530
c32bde28 17531static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17532 PyObject *resultobj = NULL;
d14a1e28
RD
17533 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17534 wxWindow *result;
17535 PyObject * obj0 = 0 ;
17536 char *kwnames[] = {
17537 (char *) "self", NULL
17538 };
17539
17540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
093d3ff1
RD
17541 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17542 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17543 {
17544 PyThreadState* __tstate = wxPyBeginAllowThreads();
17545 result = (wxWindow *)(arg1)->GetToolBar();
17546
17547 wxPyEndAllowThreads(__tstate);
17548 if (PyErr_Occurred()) SWIG_fail;
17549 }
17550 {
412d302d 17551 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
17552 }
17553 return resultobj;
17554 fail:
17555 return NULL;
17556}
17557
17558
c32bde28 17559static PyObject *_wrap_MDIParentFrame_Tile(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17560 PyObject *resultobj = NULL;
d14a1e28 17561 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
396fb509 17562 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
d14a1e28 17563 PyObject * obj0 = 0 ;
396fb509 17564 PyObject * obj1 = 0 ;
d14a1e28 17565 char *kwnames[] = {
396fb509 17566 (char *) "self",(char *) "orient", NULL
d14a1e28
RD
17567 };
17568
396fb509 17569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17570 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17571 if (SWIG_arg_fail(1)) SWIG_fail;
396fb509
RD
17572 if (obj1) {
17573 {
32fe5131 17574 arg2 = static_cast<wxOrientation >(SWIG_As_int(obj1));
396fb509
RD
17575 if (SWIG_arg_fail(2)) SWIG_fail;
17576 }
17577 }
d14a1e28
RD
17578 {
17579 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 17580 (arg1)->Tile(arg2);
d14a1e28
RD
17581
17582 wxPyEndAllowThreads(__tstate);
17583 if (PyErr_Occurred()) SWIG_fail;
17584 }
17585 Py_INCREF(Py_None); resultobj = Py_None;
17586 return resultobj;
17587 fail:
17588 return NULL;
17589}
17590
17591
c32bde28 17592static PyObject * MDIParentFrame_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17593 PyObject *obj;
17594 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17595 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
17596 Py_INCREF(obj);
17597 return Py_BuildValue((char *)"");
17598}
c32bde28 17599static PyObject *_wrap_new_MDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17600 PyObject *resultobj = NULL;
d14a1e28 17601 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
248ed943
RD
17602 int arg2 = (int) (int)-1 ;
17603 wxString const &arg3_defvalue = wxPyEmptyString ;
17604 wxString *arg3 = (wxString *) &arg3_defvalue ;
d14a1e28
RD
17605 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17606 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17607 wxSize const &arg5_defvalue = wxDefaultSize ;
17608 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17609 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
17610 wxString const &arg7_defvalue = wxPyFrameNameStr ;
17611 wxString *arg7 = (wxString *) &arg7_defvalue ;
17612 wxMDIChildFrame *result;
ae8162c8 17613 bool temp3 = false ;
d14a1e28
RD
17614 wxPoint temp4 ;
17615 wxSize temp5 ;
ae8162c8 17616 bool temp7 = false ;
d14a1e28 17617 PyObject * obj0 = 0 ;
994141e6 17618 PyObject * obj1 = 0 ;
d14a1e28
RD
17619 PyObject * obj2 = 0 ;
17620 PyObject * obj3 = 0 ;
17621 PyObject * obj4 = 0 ;
994141e6 17622 PyObject * obj5 = 0 ;
d14a1e28
RD
17623 PyObject * obj6 = 0 ;
17624 char *kwnames[] = {
17625 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17626 };
17627
248ed943 17628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
17629 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17630 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 17631 if (obj1) {
093d3ff1 17632 {
32fe5131 17633 arg2 = static_cast<int const >(SWIG_As_int(obj1));
093d3ff1
RD
17634 if (SWIG_arg_fail(2)) SWIG_fail;
17635 }
248ed943
RD
17636 }
17637 if (obj2) {
17638 {
17639 arg3 = wxString_in_helper(obj2);
17640 if (arg3 == NULL) SWIG_fail;
ae8162c8 17641 temp3 = true;
248ed943 17642 }
d14a1e28
RD
17643 }
17644 if (obj3) {
17645 {
17646 arg4 = &temp4;
17647 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17648 }
17649 }
17650 if (obj4) {
17651 {
17652 arg5 = &temp5;
17653 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17654 }
17655 }
994141e6 17656 if (obj5) {
093d3ff1 17657 {
32fe5131 17658 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
17659 if (SWIG_arg_fail(6)) SWIG_fail;
17660 }
994141e6 17661 }
d14a1e28
RD
17662 if (obj6) {
17663 {
17664 arg7 = wxString_in_helper(obj6);
17665 if (arg7 == NULL) SWIG_fail;
ae8162c8 17666 temp7 = true;
d14a1e28
RD
17667 }
17668 }
17669 {
e3b71cb8 17670 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
17671 PyThreadState* __tstate = wxPyBeginAllowThreads();
17672 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17673
17674 wxPyEndAllowThreads(__tstate);
110da5b0 17675 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 17676 }
b0f7404b 17677 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
d14a1e28
RD
17678 {
17679 if (temp3)
17680 delete arg3;
17681 }
17682 {
17683 if (temp7)
17684 delete arg7;
17685 }
17686 return resultobj;
17687 fail:
17688 {
17689 if (temp3)
17690 delete arg3;
17691 }
17692 {
17693 if (temp7)
17694 delete arg7;
17695 }
17696 return NULL;
17697}
17698
17699
c32bde28 17700static PyObject *_wrap_new_PreMDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17701 PyObject *resultobj = NULL;
d14a1e28
RD
17702 wxMDIChildFrame *result;
17703 char *kwnames[] = {
17704 NULL
17705 };
17706
17707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
17708 {
e3b71cb8 17709 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
17710 PyThreadState* __tstate = wxPyBeginAllowThreads();
17711 result = (wxMDIChildFrame *)new wxMDIChildFrame();
17712
17713 wxPyEndAllowThreads(__tstate);
110da5b0 17714 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 17715 }
b0f7404b 17716 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
d14a1e28
RD
17717 return resultobj;
17718 fail:
17719 return NULL;
17720}
17721
17722
c32bde28 17723static PyObject *_wrap_MDIChildFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17724 PyObject *resultobj = NULL;
d14a1e28
RD
17725 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17726 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
248ed943
RD
17727 int arg3 = (int) (int)-1 ;
17728 wxString const &arg4_defvalue = wxPyEmptyString ;
17729 wxString *arg4 = (wxString *) &arg4_defvalue ;
d14a1e28
RD
17730 wxPoint const &arg5_defvalue = wxDefaultPosition ;
17731 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
17732 wxSize const &arg6_defvalue = wxDefaultSize ;
17733 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
17734 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
17735 wxString const &arg8_defvalue = wxPyFrameNameStr ;
17736 wxString *arg8 = (wxString *) &arg8_defvalue ;
17737 bool result;
ae8162c8 17738 bool temp4 = false ;
d14a1e28
RD
17739 wxPoint temp5 ;
17740 wxSize temp6 ;
ae8162c8 17741 bool temp8 = false ;
d14a1e28
RD
17742 PyObject * obj0 = 0 ;
17743 PyObject * obj1 = 0 ;
994141e6 17744 PyObject * obj2 = 0 ;
d14a1e28
RD
17745 PyObject * obj3 = 0 ;
17746 PyObject * obj4 = 0 ;
17747 PyObject * obj5 = 0 ;
994141e6 17748 PyObject * obj6 = 0 ;
d14a1e28
RD
17749 PyObject * obj7 = 0 ;
17750 char *kwnames[] = {
17751 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17752 };
17753
248ed943 17754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
17755 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17756 if (SWIG_arg_fail(1)) SWIG_fail;
17757 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17758 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 17759 if (obj2) {
093d3ff1 17760 {
32fe5131 17761 arg3 = static_cast<int const >(SWIG_As_int(obj2));
093d3ff1
RD
17762 if (SWIG_arg_fail(3)) SWIG_fail;
17763 }
248ed943
RD
17764 }
17765 if (obj3) {
17766 {
17767 arg4 = wxString_in_helper(obj3);
17768 if (arg4 == NULL) SWIG_fail;
ae8162c8 17769 temp4 = true;
248ed943 17770 }
d14a1e28
RD
17771 }
17772 if (obj4) {
17773 {
17774 arg5 = &temp5;
17775 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
17776 }
17777 }
17778 if (obj5) {
17779 {
17780 arg6 = &temp6;
17781 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
17782 }
17783 }
994141e6 17784 if (obj6) {
093d3ff1 17785 {
32fe5131 17786 arg7 = static_cast<long >(SWIG_As_long(obj6));
093d3ff1
RD
17787 if (SWIG_arg_fail(7)) SWIG_fail;
17788 }
994141e6 17789 }
d14a1e28
RD
17790 if (obj7) {
17791 {
17792 arg8 = wxString_in_helper(obj7);
17793 if (arg8 == NULL) SWIG_fail;
ae8162c8 17794 temp8 = true;
d14a1e28
RD
17795 }
17796 }
17797 {
17798 PyThreadState* __tstate = wxPyBeginAllowThreads();
17799 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
17800
17801 wxPyEndAllowThreads(__tstate);
17802 if (PyErr_Occurred()) SWIG_fail;
17803 }
4f89f6a3
RD
17804 {
17805 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17806 }
d14a1e28
RD
17807 {
17808 if (temp4)
17809 delete arg4;
17810 }
17811 {
17812 if (temp8)
17813 delete arg8;
17814 }
17815 return resultobj;
17816 fail:
17817 {
17818 if (temp4)
17819 delete arg4;
17820 }
17821 {
17822 if (temp8)
17823 delete arg8;
17824 }
17825 return NULL;
17826}
17827
17828
c32bde28 17829static PyObject *_wrap_MDIChildFrame_Activate(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17830 PyObject *resultobj = NULL;
d14a1e28
RD
17831 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17832 PyObject * obj0 = 0 ;
17833 char *kwnames[] = {
17834 (char *) "self", NULL
17835 };
17836
17837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
093d3ff1
RD
17838 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17839 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17840 {
17841 PyThreadState* __tstate = wxPyBeginAllowThreads();
17842 (arg1)->Activate();
17843
17844 wxPyEndAllowThreads(__tstate);
17845 if (PyErr_Occurred()) SWIG_fail;
17846 }
17847 Py_INCREF(Py_None); resultobj = Py_None;
17848 return resultobj;
17849 fail:
17850 return NULL;
17851}
17852
17853
c32bde28 17854static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17855 PyObject *resultobj = NULL;
d14a1e28 17856 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
5cbf236d 17857 bool arg2 = (bool) true ;
d14a1e28
RD
17858 PyObject * obj0 = 0 ;
17859 PyObject * obj1 = 0 ;
17860 char *kwnames[] = {
17861 (char *) "self",(char *) "maximize", NULL
17862 };
17863
5cbf236d 17864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17865 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17866 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d 17867 if (obj1) {
093d3ff1 17868 {
32fe5131 17869 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
17870 if (SWIG_arg_fail(2)) SWIG_fail;
17871 }
5cbf236d 17872 }
d14a1e28
RD
17873 {
17874 PyThreadState* __tstate = wxPyBeginAllowThreads();
17875 (arg1)->Maximize(arg2);
17876
17877 wxPyEndAllowThreads(__tstate);
17878 if (PyErr_Occurred()) SWIG_fail;
17879 }
17880 Py_INCREF(Py_None); resultobj = Py_None;
17881 return resultobj;
17882 fail:
17883 return NULL;
17884}
17885
17886
c32bde28 17887static PyObject *_wrap_MDIChildFrame_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17888 PyObject *resultobj = NULL;
d14a1e28
RD
17889 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17890 PyObject * obj0 = 0 ;
17891 char *kwnames[] = {
17892 (char *) "self", NULL
17893 };
17894
17895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
093d3ff1
RD
17896 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17897 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17898 {
17899 PyThreadState* __tstate = wxPyBeginAllowThreads();
17900 (arg1)->Restore();
17901
17902 wxPyEndAllowThreads(__tstate);
17903 if (PyErr_Occurred()) SWIG_fail;
17904 }
17905 Py_INCREF(Py_None); resultobj = Py_None;
17906 return resultobj;
17907 fail:
17908 return NULL;
17909}
17910
17911
c32bde28 17912static PyObject * MDIChildFrame_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17913 PyObject *obj;
17914 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17915 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
17916 Py_INCREF(obj);
17917 return Py_BuildValue((char *)"");
17918}
c32bde28 17919static PyObject *_wrap_new_MDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17920 PyObject *resultobj = NULL;
d14a1e28
RD
17921 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17922 long arg2 = (long) 0 ;
17923 wxMDIClientWindow *result;
17924 PyObject * obj0 = 0 ;
994141e6 17925 PyObject * obj1 = 0 ;
d14a1e28
RD
17926 char *kwnames[] = {
17927 (char *) "parent",(char *) "style", NULL
17928 };
17929
994141e6 17930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17931 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17932 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 17933 if (obj1) {
093d3ff1 17934 {
32fe5131 17935 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
17936 if (SWIG_arg_fail(2)) SWIG_fail;
17937 }
994141e6 17938 }
d14a1e28 17939 {
e3b71cb8 17940 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
17941 PyThreadState* __tstate = wxPyBeginAllowThreads();
17942 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
17943
17944 wxPyEndAllowThreads(__tstate);
110da5b0 17945 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 17946 }
b0f7404b 17947 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
d14a1e28
RD
17948 return resultobj;
17949 fail:
17950 return NULL;
17951}
17952
17953
c32bde28 17954static PyObject *_wrap_new_PreMDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17955 PyObject *resultobj = NULL;
d14a1e28
RD
17956 wxMDIClientWindow *result;
17957 char *kwnames[] = {
17958 NULL
17959 };
17960
17961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
17962 {
e3b71cb8 17963 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
17964 PyThreadState* __tstate = wxPyBeginAllowThreads();
17965 result = (wxMDIClientWindow *)new wxMDIClientWindow();
17966
17967 wxPyEndAllowThreads(__tstate);
110da5b0 17968 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 17969 }
b0f7404b 17970 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
d14a1e28
RD
17971 return resultobj;
17972 fail:
17973 return NULL;
17974}
17975
17976
c32bde28 17977static PyObject *_wrap_MDIClientWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17978 PyObject *resultobj = NULL;
d14a1e28
RD
17979 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
17980 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
17981 long arg3 = (long) 0 ;
17982 bool result;
17983 PyObject * obj0 = 0 ;
17984 PyObject * obj1 = 0 ;
994141e6 17985 PyObject * obj2 = 0 ;
d14a1e28
RD
17986 char *kwnames[] = {
17987 (char *) "self",(char *) "parent",(char *) "style", NULL
17988 };
17989
994141e6 17990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
17991 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_EXCEPTION | 0);
17992 if (SWIG_arg_fail(1)) SWIG_fail;
17993 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17994 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6 17995 if (obj2) {
093d3ff1 17996 {
32fe5131 17997 arg3 = static_cast<long >(SWIG_As_long(obj2));
093d3ff1
RD
17998 if (SWIG_arg_fail(3)) SWIG_fail;
17999 }
994141e6 18000 }
d14a1e28
RD
18001 {
18002 PyThreadState* __tstate = wxPyBeginAllowThreads();
18003 result = (bool)(arg1)->Create(arg2,arg3);
18004
18005 wxPyEndAllowThreads(__tstate);
18006 if (PyErr_Occurred()) SWIG_fail;
18007 }
4f89f6a3
RD
18008 {
18009 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18010 }
d14a1e28
RD
18011 return resultobj;
18012 fail:
18013 return NULL;
18014}
18015
18016
c32bde28 18017static PyObject * MDIClientWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
18018 PyObject *obj;
18019 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18020 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
18021 Py_INCREF(obj);
18022 return Py_BuildValue((char *)"");
18023}
c32bde28 18024static PyObject *_wrap_new_PyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18025 PyObject *resultobj = NULL;
d14a1e28 18026 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 18027 int arg2 = (int) (int)-1 ;
d14a1e28
RD
18028 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18029 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18030 wxSize const &arg4_defvalue = wxDefaultSize ;
18031 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18032 long arg5 = (long) 0 ;
18033 wxString const &arg6_defvalue = wxPyPanelNameStr ;
18034 wxString *arg6 = (wxString *) &arg6_defvalue ;
18035 wxPyWindow *result;
18036 wxPoint temp3 ;
18037 wxSize temp4 ;
ae8162c8 18038 bool temp6 = false ;
d14a1e28 18039 PyObject * obj0 = 0 ;
994141e6 18040 PyObject * obj1 = 0 ;
d14a1e28
RD
18041 PyObject * obj2 = 0 ;
18042 PyObject * obj3 = 0 ;
994141e6 18043 PyObject * obj4 = 0 ;
d14a1e28
RD
18044 PyObject * obj5 = 0 ;
18045 char *kwnames[] = {
18046 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18047 };
18048
248ed943 18049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
18050 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18051 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 18052 if (obj1) {
093d3ff1 18053 {
32fe5131 18054 arg2 = static_cast<int const >(SWIG_As_int(obj1));
093d3ff1
RD
18055 if (SWIG_arg_fail(2)) SWIG_fail;
18056 }
248ed943 18057 }
d14a1e28
RD
18058 if (obj2) {
18059 {
18060 arg3 = &temp3;
18061 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18062 }
18063 }
18064 if (obj3) {
18065 {
18066 arg4 = &temp4;
18067 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18068 }
18069 }
994141e6 18070 if (obj4) {
093d3ff1 18071 {
32fe5131 18072 arg5 = static_cast<long >(SWIG_As_long(obj4));
093d3ff1
RD
18073 if (SWIG_arg_fail(5)) SWIG_fail;
18074 }
994141e6 18075 }
d14a1e28
RD
18076 if (obj5) {
18077 {
18078 arg6 = wxString_in_helper(obj5);
18079 if (arg6 == NULL) SWIG_fail;
ae8162c8 18080 temp6 = true;
d14a1e28
RD
18081 }
18082 }
18083 {
e3b71cb8 18084 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
18085 PyThreadState* __tstate = wxPyBeginAllowThreads();
18086 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18087
18088 wxPyEndAllowThreads(__tstate);
110da5b0 18089 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 18090 }
15afbcd0 18091 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
d14a1e28
RD
18092 {
18093 if (temp6)
18094 delete arg6;
18095 }
18096 return resultobj;
18097 fail:
18098 {
18099 if (temp6)
18100 delete arg6;
18101 }
18102 return NULL;
18103}
18104
18105
c32bde28 18106static PyObject *_wrap_new_PrePyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18107 PyObject *resultobj = NULL;
1cb4a8aa
RD
18108 wxPyWindow *result;
18109 char *kwnames[] = {
18110 NULL
18111 };
18112
18113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail;
18114 {
e3b71cb8 18115 if (!wxPyCheckForApp()) SWIG_fail;
1cb4a8aa
RD
18116 PyThreadState* __tstate = wxPyBeginAllowThreads();
18117 result = (wxPyWindow *)new wxPyWindow();
18118
18119 wxPyEndAllowThreads(__tstate);
110da5b0 18120 if (PyErr_Occurred()) SWIG_fail;
1cb4a8aa
RD
18121 }
18122 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
18123 return resultobj;
18124 fail:
18125 return NULL;
18126}
18127
18128
c32bde28 18129static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18130 PyObject *resultobj = NULL;
d14a1e28
RD
18131 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18132 PyObject *arg2 = (PyObject *) 0 ;
18133 PyObject *arg3 = (PyObject *) 0 ;
18134 PyObject * obj0 = 0 ;
18135 PyObject * obj1 = 0 ;
18136 PyObject * obj2 = 0 ;
18137 char *kwnames[] = {
18138 (char *) "self",(char *) "self",(char *) "_class", NULL
18139 };
18140
18141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
18142 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18143 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18144 arg2 = obj1;
18145 arg3 = obj2;
18146 {
18147 PyThreadState* __tstate = wxPyBeginAllowThreads();
18148 (arg1)->_setCallbackInfo(arg2,arg3);
18149
18150 wxPyEndAllowThreads(__tstate);
18151 if (PyErr_Occurred()) SWIG_fail;
18152 }
18153 Py_INCREF(Py_None); resultobj = Py_None;
18154 return resultobj;
18155 fail:
18156 return NULL;
18157}
18158
18159
c32bde28 18160static PyObject *_wrap_PyWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18161 PyObject *resultobj = NULL;
db3e571a
RD
18162 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18163 wxSize *arg2 = 0 ;
18164 wxSize temp2 ;
18165 PyObject * obj0 = 0 ;
18166 PyObject * obj1 = 0 ;
18167 char *kwnames[] = {
18168 (char *) "self",(char *) "size", NULL
18169 };
18170
18171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18172 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18173 if (SWIG_arg_fail(1)) SWIG_fail;
db3e571a
RD
18174 {
18175 arg2 = &temp2;
18176 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18177 }
18178 {
18179 PyThreadState* __tstate = wxPyBeginAllowThreads();
18180 (arg1)->SetBestSize((wxSize const &)*arg2);
18181
18182 wxPyEndAllowThreads(__tstate);
18183 if (PyErr_Occurred()) SWIG_fail;
18184 }
18185 Py_INCREF(Py_None); resultobj = Py_None;
18186 return resultobj;
18187 fail:
18188 return NULL;
18189}
18190
18191
976dbff5 18192static PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18193 PyObject *resultobj = NULL;
976dbff5
RD
18194 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18195 wxDC *arg2 = (wxDC *) 0 ;
18196 bool result;
18197 PyObject * obj0 = 0 ;
18198 PyObject * obj1 = 0 ;
18199 char *kwnames[] = {
18200 (char *) "self",(char *) "dc", NULL
18201 };
18202
18203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) goto fail;
18204 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18205 if (SWIG_arg_fail(1)) SWIG_fail;
18206 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
18207 if (SWIG_arg_fail(2)) SWIG_fail;
18208 {
18209 PyThreadState* __tstate = wxPyBeginAllowThreads();
18210 result = (bool)(arg1)->DoEraseBackground(arg2);
18211
18212 wxPyEndAllowThreads(__tstate);
18213 if (PyErr_Occurred()) SWIG_fail;
18214 }
18215 {
18216 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18217 }
18218 return resultobj;
18219 fail:
18220 return NULL;
18221}
18222
18223
c32bde28 18224static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18225 PyObject *resultobj = NULL;
d14a1e28
RD
18226 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18227 int arg2 ;
18228 int arg3 ;
18229 int arg4 ;
18230 int arg5 ;
18231 PyObject * obj0 = 0 ;
994141e6
RD
18232 PyObject * obj1 = 0 ;
18233 PyObject * obj2 = 0 ;
18234 PyObject * obj3 = 0 ;
18235 PyObject * obj4 = 0 ;
d14a1e28
RD
18236 char *kwnames[] = {
18237 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18238 };
18239
994141e6 18240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
18241 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18242 if (SWIG_arg_fail(1)) SWIG_fail;
18243 {
32fe5131 18244 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
18245 if (SWIG_arg_fail(2)) SWIG_fail;
18246 }
18247 {
32fe5131 18248 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
18249 if (SWIG_arg_fail(3)) SWIG_fail;
18250 }
18251 {
32fe5131 18252 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
18253 if (SWIG_arg_fail(4)) SWIG_fail;
18254 }
18255 {
32fe5131 18256 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
18257 if (SWIG_arg_fail(5)) SWIG_fail;
18258 }
d14a1e28
RD
18259 {
18260 PyThreadState* __tstate = wxPyBeginAllowThreads();
18261 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
18262
18263 wxPyEndAllowThreads(__tstate);
18264 if (PyErr_Occurred()) SWIG_fail;
18265 }
18266 Py_INCREF(Py_None); resultobj = Py_None;
18267 return resultobj;
18268 fail:
18269 return NULL;
18270}
18271
18272
c32bde28 18273static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18274 PyObject *resultobj = NULL;
d14a1e28
RD
18275 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18276 int arg2 ;
18277 int arg3 ;
18278 int arg4 ;
18279 int arg5 ;
18280 int arg6 = (int) wxSIZE_AUTO ;
18281 PyObject * obj0 = 0 ;
994141e6
RD
18282 PyObject * obj1 = 0 ;
18283 PyObject * obj2 = 0 ;
18284 PyObject * obj3 = 0 ;
18285 PyObject * obj4 = 0 ;
18286 PyObject * obj5 = 0 ;
d14a1e28
RD
18287 char *kwnames[] = {
18288 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
18289 };
18290
994141e6 18291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
18292 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18293 if (SWIG_arg_fail(1)) SWIG_fail;
18294 {
32fe5131 18295 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
18296 if (SWIG_arg_fail(2)) SWIG_fail;
18297 }
18298 {
32fe5131 18299 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
18300 if (SWIG_arg_fail(3)) SWIG_fail;
18301 }
18302 {
32fe5131 18303 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
18304 if (SWIG_arg_fail(4)) SWIG_fail;
18305 }
18306 {
32fe5131 18307 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
18308 if (SWIG_arg_fail(5)) SWIG_fail;
18309 }
994141e6 18310 if (obj5) {
093d3ff1 18311 {
32fe5131 18312 arg6 = static_cast<int >(SWIG_As_int(obj5));
093d3ff1
RD
18313 if (SWIG_arg_fail(6)) SWIG_fail;
18314 }
994141e6 18315 }
d14a1e28
RD
18316 {
18317 PyThreadState* __tstate = wxPyBeginAllowThreads();
18318 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
18319
18320 wxPyEndAllowThreads(__tstate);
18321 if (PyErr_Occurred()) SWIG_fail;
18322 }
18323 Py_INCREF(Py_None); resultobj = Py_None;
18324 return resultobj;
18325 fail:
18326 return NULL;
18327}
18328
18329
c32bde28 18330static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18331 PyObject *resultobj = NULL;
d14a1e28
RD
18332 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18333 int arg2 ;
18334 int arg3 ;
18335 PyObject * obj0 = 0 ;
994141e6
RD
18336 PyObject * obj1 = 0 ;
18337 PyObject * obj2 = 0 ;
d14a1e28
RD
18338 char *kwnames[] = {
18339 (char *) "self",(char *) "width",(char *) "height", NULL
18340 };
18341
994141e6 18342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
18343 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18344 if (SWIG_arg_fail(1)) SWIG_fail;
18345 {
32fe5131 18346 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
18347 if (SWIG_arg_fail(2)) SWIG_fail;
18348 }
18349 {
32fe5131 18350 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
18351 if (SWIG_arg_fail(3)) SWIG_fail;
18352 }
d14a1e28
RD
18353 {
18354 PyThreadState* __tstate = wxPyBeginAllowThreads();
18355 (arg1)->base_DoSetClientSize(arg2,arg3);
18356
18357 wxPyEndAllowThreads(__tstate);
18358 if (PyErr_Occurred()) SWIG_fail;
18359 }
18360 Py_INCREF(Py_None); resultobj = Py_None;
18361 return resultobj;
18362 fail:
18363 return NULL;
18364}
18365
18366
c32bde28 18367static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18368 PyObject *resultobj = NULL;
d14a1e28
RD
18369 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18370 int arg2 ;
18371 int arg3 ;
18372 PyObject * obj0 = 0 ;
994141e6
RD
18373 PyObject * obj1 = 0 ;
18374 PyObject * obj2 = 0 ;
d14a1e28 18375 char *kwnames[] = {
15afbcd0
RD
18376 (char *) "self",(char *) "x",(char *) "y", NULL
18377 };
18378
18379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
18380 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18381 if (SWIG_arg_fail(1)) SWIG_fail;
18382 {
32fe5131 18383 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
18384 if (SWIG_arg_fail(2)) SWIG_fail;
18385 }
18386 {
32fe5131 18387 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
18388 if (SWIG_arg_fail(3)) SWIG_fail;
18389 }
d14a1e28
RD
18390 {
18391 PyThreadState* __tstate = wxPyBeginAllowThreads();
18392 (arg1)->base_DoSetVirtualSize(arg2,arg3);
18393
18394 wxPyEndAllowThreads(__tstate);
18395 if (PyErr_Occurred()) SWIG_fail;
18396 }
18397 Py_INCREF(Py_None); resultobj = Py_None;
18398 return resultobj;
18399 fail:
18400 return NULL;
18401}
18402
18403
c32bde28 18404static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18405 PyObject *resultobj = NULL;
d14a1e28
RD
18406 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18407 int *arg2 = (int *) 0 ;
18408 int *arg3 = (int *) 0 ;
18409 int temp2 ;
c32bde28 18410 int res2 = 0 ;
d14a1e28 18411 int temp3 ;
c32bde28 18412 int res3 = 0 ;
d14a1e28
RD
18413 PyObject * obj0 = 0 ;
18414 char *kwnames[] = {
18415 (char *) "self", NULL
18416 };
18417
c32bde28
RD
18418 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18419 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 18420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
18421 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18422 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18423 {
18424 PyThreadState* __tstate = wxPyBeginAllowThreads();
18425 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
18426
18427 wxPyEndAllowThreads(__tstate);
18428 if (PyErr_Occurred()) SWIG_fail;
18429 }
18430 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
18431 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18432 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18433 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18434 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
18435 return resultobj;
18436 fail:
18437 return NULL;
18438}
18439
18440
c32bde28 18441static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18442 PyObject *resultobj = NULL;
d14a1e28
RD
18443 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18444 int *arg2 = (int *) 0 ;
18445 int *arg3 = (int *) 0 ;
18446 int temp2 ;
c32bde28 18447 int res2 = 0 ;
d14a1e28 18448 int temp3 ;
c32bde28 18449 int res3 = 0 ;
d14a1e28
RD
18450 PyObject * obj0 = 0 ;
18451 char *kwnames[] = {
18452 (char *) "self", NULL
18453 };
18454
c32bde28
RD
18455 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18456 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 18457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
18458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18459 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18460 {
18461 PyThreadState* __tstate = wxPyBeginAllowThreads();
18462 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
18463
18464 wxPyEndAllowThreads(__tstate);
18465 if (PyErr_Occurred()) SWIG_fail;
18466 }
18467 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
18468 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18469 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18470 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18471 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
18472 return resultobj;
18473 fail:
18474 return NULL;
18475}
18476
18477
c32bde28 18478static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18479 PyObject *resultobj = NULL;
d14a1e28
RD
18480 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18481 int *arg2 = (int *) 0 ;
18482 int *arg3 = (int *) 0 ;
18483 int temp2 ;
c32bde28 18484 int res2 = 0 ;
d14a1e28 18485 int temp3 ;
c32bde28 18486 int res3 = 0 ;
d14a1e28
RD
18487 PyObject * obj0 = 0 ;
18488 char *kwnames[] = {
18489 (char *) "self", NULL
18490 };
18491
c32bde28
RD
18492 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18493 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 18494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
18495 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18496 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18497 {
18498 PyThreadState* __tstate = wxPyBeginAllowThreads();
18499 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
18500
18501 wxPyEndAllowThreads(__tstate);
18502 if (PyErr_Occurred()) SWIG_fail;
18503 }
18504 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
18505 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18506 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18507 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18508 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
18509 return resultobj;
18510 fail:
18511 return NULL;
18512}
18513
18514
c32bde28 18515static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18516 PyObject *resultobj = NULL;
d14a1e28
RD
18517 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18518 wxSize result;
18519 PyObject * obj0 = 0 ;
18520 char *kwnames[] = {
18521 (char *) "self", NULL
18522 };
18523
18524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
18525 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18526 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18527 {
18528 PyThreadState* __tstate = wxPyBeginAllowThreads();
18529 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
18530
18531 wxPyEndAllowThreads(__tstate);
18532 if (PyErr_Occurred()) SWIG_fail;
18533 }
18534 {
18535 wxSize * resultptr;
32fe5131 18536 resultptr = new wxSize(static_cast<wxSize & >(result));
15afbcd0 18537 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
18538 }
18539 return resultobj;
18540 fail:
18541 return NULL;
18542}
18543
18544
c32bde28 18545static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18546 PyObject *resultobj = NULL;
d14a1e28
RD
18547 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18548 wxSize result;
18549 PyObject * obj0 = 0 ;
18550 char *kwnames[] = {
18551 (char *) "self", NULL
18552 };
18553
18554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
18555 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18556 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18557 {
18558 PyThreadState* __tstate = wxPyBeginAllowThreads();
18559 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
18560
18561 wxPyEndAllowThreads(__tstate);
18562 if (PyErr_Occurred()) SWIG_fail;
18563 }
18564 {
18565 wxSize * resultptr;
32fe5131 18566 resultptr = new wxSize(static_cast<wxSize & >(result));
15afbcd0 18567 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
18568 }
18569 return resultobj;
18570 fail:
18571 return NULL;
18572}
18573
18574
c32bde28 18575static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18576 PyObject *resultobj = NULL;
d14a1e28
RD
18577 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18578 PyObject * obj0 = 0 ;
18579 char *kwnames[] = {
18580 (char *) "self", NULL
18581 };
18582
18583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
093d3ff1
RD
18584 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18585 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18586 {
18587 PyThreadState* __tstate = wxPyBeginAllowThreads();
18588 (arg1)->base_InitDialog();
18589
18590 wxPyEndAllowThreads(__tstate);
18591 if (PyErr_Occurred()) SWIG_fail;
18592 }
18593 Py_INCREF(Py_None); resultobj = Py_None;
18594 return resultobj;
18595 fail:
18596 return NULL;
18597}
18598
18599
c32bde28 18600static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18601 PyObject *resultobj = NULL;
d14a1e28
RD
18602 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18603 bool result;
18604 PyObject * obj0 = 0 ;
18605 char *kwnames[] = {
18606 (char *) "self", NULL
18607 };
18608
18609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
18610 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18611 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18612 {
18613 PyThreadState* __tstate = wxPyBeginAllowThreads();
18614 result = (bool)(arg1)->base_TransferDataToWindow();
18615
18616 wxPyEndAllowThreads(__tstate);
18617 if (PyErr_Occurred()) SWIG_fail;
18618 }
4f89f6a3
RD
18619 {
18620 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18621 }
d14a1e28
RD
18622 return resultobj;
18623 fail:
18624 return NULL;
18625}
18626
18627
c32bde28 18628static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18629 PyObject *resultobj = NULL;
d14a1e28
RD
18630 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18631 bool result;
18632 PyObject * obj0 = 0 ;
18633 char *kwnames[] = {
18634 (char *) "self", NULL
18635 };
18636
18637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
18638 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18639 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18640 {
18641 PyThreadState* __tstate = wxPyBeginAllowThreads();
18642 result = (bool)(arg1)->base_TransferDataFromWindow();
18643
18644 wxPyEndAllowThreads(__tstate);
18645 if (PyErr_Occurred()) SWIG_fail;
18646 }
4f89f6a3
RD
18647 {
18648 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18649 }
d14a1e28
RD
18650 return resultobj;
18651 fail:
18652 return NULL;
18653}
18654
18655
c32bde28 18656static PyObject *_wrap_PyWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18657 PyObject *resultobj = NULL;
d14a1e28
RD
18658 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18659 bool result;
18660 PyObject * obj0 = 0 ;
18661 char *kwnames[] = {
18662 (char *) "self", NULL
18663 };
18664
18665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
093d3ff1
RD
18666 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18667 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18668 {
18669 PyThreadState* __tstate = wxPyBeginAllowThreads();
18670 result = (bool)(arg1)->base_Validate();
18671
18672 wxPyEndAllowThreads(__tstate);
18673 if (PyErr_Occurred()) SWIG_fail;
18674 }
4f89f6a3
RD
18675 {
18676 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18677 }
d14a1e28
RD
18678 return resultobj;
18679 fail:
18680 return NULL;
18681}
18682
18683
c32bde28 18684static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18685 PyObject *resultobj = NULL;
d14a1e28
RD
18686 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18687 bool result;
18688 PyObject * obj0 = 0 ;
18689 char *kwnames[] = {
18690 (char *) "self", NULL
18691 };
18692
18693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
093d3ff1
RD
18694 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18695 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18696 {
18697 PyThreadState* __tstate = wxPyBeginAllowThreads();
18698 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
18699
18700 wxPyEndAllowThreads(__tstate);
18701 if (PyErr_Occurred()) SWIG_fail;
18702 }
4f89f6a3
RD
18703 {
18704 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18705 }
d14a1e28
RD
18706 return resultobj;
18707 fail:
18708 return NULL;
18709}
18710
18711
c32bde28 18712static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18713 PyObject *resultobj = NULL;
d14a1e28
RD
18714 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18715 bool result;
18716 PyObject * obj0 = 0 ;
18717 char *kwnames[] = {
18718 (char *) "self", NULL
18719 };
18720
18721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
093d3ff1
RD
18722 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18723 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18724 {
18725 PyThreadState* __tstate = wxPyBeginAllowThreads();
18726 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
18727
18728 wxPyEndAllowThreads(__tstate);
18729 if (PyErr_Occurred()) SWIG_fail;
18730 }
4f89f6a3
RD
18731 {
18732 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18733 }
d14a1e28
RD
18734 return resultobj;
18735 fail:
18736 return NULL;
18737}
18738
18739
c32bde28 18740static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18741 PyObject *resultobj = NULL;
d14a1e28
RD
18742 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18743 wxSize result;
18744 PyObject * obj0 = 0 ;
18745 char *kwnames[] = {
18746 (char *) "self", NULL
18747 };
18748
18749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
18750 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18751 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18752 {
18753 PyThreadState* __tstate = wxPyBeginAllowThreads();
18754 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
18755
18756 wxPyEndAllowThreads(__tstate);
18757 if (PyErr_Occurred()) SWIG_fail;
18758 }
18759 {
18760 wxSize * resultptr;
32fe5131 18761 resultptr = new wxSize(static_cast<wxSize & >(result));
15afbcd0 18762 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
18763 }
18764 return resultobj;
18765 fail:
18766 return NULL;
18767}
18768
18769
c32bde28 18770static PyObject *_wrap_PyWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18771 PyObject *resultobj = NULL;
d14a1e28
RD
18772 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18773 wxWindow *arg2 = (wxWindow *) 0 ;
18774 PyObject * obj0 = 0 ;
18775 PyObject * obj1 = 0 ;
18776 char *kwnames[] = {
18777 (char *) "self",(char *) "child", NULL
18778 };
18779
18780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18781 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18782 if (SWIG_arg_fail(1)) SWIG_fail;
18783 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18784 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
18785 {
18786 PyThreadState* __tstate = wxPyBeginAllowThreads();
18787 (arg1)->base_AddChild(arg2);
18788
18789 wxPyEndAllowThreads(__tstate);
18790 if (PyErr_Occurred()) SWIG_fail;
18791 }
18792 Py_INCREF(Py_None); resultobj = Py_None;
18793 return resultobj;
18794 fail:
18795 return NULL;
18796}
18797
18798
c32bde28 18799static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18800 PyObject *resultobj = NULL;
d14a1e28
RD
18801 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18802 wxWindow *arg2 = (wxWindow *) 0 ;
18803 PyObject * obj0 = 0 ;
18804 PyObject * obj1 = 0 ;
18805 char *kwnames[] = {
18806 (char *) "self",(char *) "child", NULL
18807 };
18808
18809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18810 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18811 if (SWIG_arg_fail(1)) SWIG_fail;
18812 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18813 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
18814 {
18815 PyThreadState* __tstate = wxPyBeginAllowThreads();
18816 (arg1)->base_RemoveChild(arg2);
18817
18818 wxPyEndAllowThreads(__tstate);
18819 if (PyErr_Occurred()) SWIG_fail;
18820 }
18821 Py_INCREF(Py_None); resultobj = Py_None;
18822 return resultobj;
18823 fail:
18824 return NULL;
18825}
18826
18827
c32bde28 18828static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18829 PyObject *resultobj = NULL;
1cb4a8aa
RD
18830 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18831 bool result;
18832 PyObject * obj0 = 0 ;
18833 char *kwnames[] = {
18834 (char *) "self", NULL
18835 };
18836
18837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
093d3ff1
RD
18838 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18839 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
18840 {
18841 PyThreadState* __tstate = wxPyBeginAllowThreads();
db3e571a 18842 result = (bool)((wxPyWindow const *)arg1)->base_ShouldInheritColours();
1cb4a8aa
RD
18843
18844 wxPyEndAllowThreads(__tstate);
18845 if (PyErr_Occurred()) SWIG_fail;
18846 }
18847 {
18848 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18849 }
18850 return resultobj;
18851 fail:
18852 return NULL;
18853}
18854
18855
c32bde28 18856static PyObject *_wrap_PyWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18857 PyObject *resultobj = NULL;
db3e571a
RD
18858 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18859 wxVisualAttributes result;
18860 PyObject * obj0 = 0 ;
18861 char *kwnames[] = {
18862 (char *) "self", NULL
18863 };
18864
18865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
093d3ff1
RD
18866 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18867 if (SWIG_arg_fail(1)) SWIG_fail;
db3e571a
RD
18868 {
18869 PyThreadState* __tstate = wxPyBeginAllowThreads();
18870 result = (arg1)->base_GetDefaultAttributes();
18871
18872 wxPyEndAllowThreads(__tstate);
18873 if (PyErr_Occurred()) SWIG_fail;
18874 }
18875 {
18876 wxVisualAttributes * resultptr;
32fe5131 18877 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
db3e571a
RD
18878 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
18879 }
18880 return resultobj;
18881 fail:
18882 return NULL;
18883}
18884
18885
8d38bd1d 18886static PyObject *_wrap_PyWindow_base_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18887 PyObject *resultobj = NULL;
8d38bd1d
RD
18888 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18889 PyObject * obj0 = 0 ;
18890 char *kwnames[] = {
18891 (char *) "self", NULL
18892 };
18893
18894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_OnInternalIdle",kwnames,&obj0)) goto fail;
18895 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18896 if (SWIG_arg_fail(1)) SWIG_fail;
18897 {
18898 PyThreadState* __tstate = wxPyBeginAllowThreads();
18899 (arg1)->base_OnInternalIdle();
18900
18901 wxPyEndAllowThreads(__tstate);
18902 if (PyErr_Occurred()) SWIG_fail;
18903 }
18904 Py_INCREF(Py_None); resultobj = Py_None;
18905 return resultobj;
18906 fail:
18907 return NULL;
18908}
18909
18910
c32bde28 18911static PyObject * PyWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
18912 PyObject *obj;
18913 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18914 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
18915 Py_INCREF(obj);
18916 return Py_BuildValue((char *)"");
18917}
c32bde28 18918static PyObject *_wrap_new_PyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18919 PyObject *resultobj = NULL;
d14a1e28 18920 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 18921 int arg2 = (int) (int)-1 ;
d14a1e28
RD
18922 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18923 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18924 wxSize const &arg4_defvalue = wxDefaultSize ;
18925 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18926 long arg5 = (long) 0 ;
18927 wxString const &arg6_defvalue = wxPyPanelNameStr ;
18928 wxString *arg6 = (wxString *) &arg6_defvalue ;
18929 wxPyPanel *result;
18930 wxPoint temp3 ;
18931 wxSize temp4 ;
ae8162c8 18932 bool temp6 = false ;
d14a1e28 18933 PyObject * obj0 = 0 ;
994141e6 18934 PyObject * obj1 = 0 ;
d14a1e28
RD
18935 PyObject * obj2 = 0 ;
18936 PyObject * obj3 = 0 ;
994141e6 18937 PyObject * obj4 = 0 ;
d14a1e28
RD
18938 PyObject * obj5 = 0 ;
18939 char *kwnames[] = {
18940 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18941 };
18942
248ed943 18943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
18944 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18945 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 18946 if (obj1) {
093d3ff1 18947 {
32fe5131 18948 arg2 = static_cast<int const >(SWIG_As_int(obj1));
093d3ff1
RD
18949 if (SWIG_arg_fail(2)) SWIG_fail;
18950 }
248ed943 18951 }
d14a1e28
RD
18952 if (obj2) {
18953 {
18954 arg3 = &temp3;
18955 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18956 }
18957 }
18958 if (obj3) {
18959 {
18960 arg4 = &temp4;
18961 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18962 }
18963 }
994141e6 18964 if (obj4) {
093d3ff1 18965 {
32fe5131 18966 arg5 = static_cast<long >(SWIG_As_long(obj4));
093d3ff1
RD
18967 if (SWIG_arg_fail(5)) SWIG_fail;
18968 }
994141e6 18969 }
d14a1e28
RD
18970 if (obj5) {
18971 {
18972 arg6 = wxString_in_helper(obj5);
18973 if (arg6 == NULL) SWIG_fail;
ae8162c8 18974 temp6 = true;
d14a1e28
RD
18975 }
18976 }
18977 {
e3b71cb8 18978 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
18979 PyThreadState* __tstate = wxPyBeginAllowThreads();
18980 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18981
18982 wxPyEndAllowThreads(__tstate);
110da5b0 18983 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 18984 }
15afbcd0 18985 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
d14a1e28
RD
18986 {
18987 if (temp6)
18988 delete arg6;
18989 }
18990 return resultobj;
18991 fail:
18992 {
18993 if (temp6)
18994 delete arg6;
18995 }
18996 return NULL;
18997}
18998
18999
c32bde28 19000static PyObject *_wrap_new_PrePyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19001 PyObject *resultobj = NULL;
1cb4a8aa
RD
19002 wxPyPanel *result;
19003 char *kwnames[] = {
19004 NULL
19005 };
19006
19007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail;
19008 {
e3b71cb8 19009 if (!wxPyCheckForApp()) SWIG_fail;
1cb4a8aa
RD
19010 PyThreadState* __tstate = wxPyBeginAllowThreads();
19011 result = (wxPyPanel *)new wxPyPanel();
19012
19013 wxPyEndAllowThreads(__tstate);
110da5b0 19014 if (PyErr_Occurred()) SWIG_fail;
1cb4a8aa
RD
19015 }
19016 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
19017 return resultobj;
19018 fail:
19019 return NULL;
19020}
19021
19022
c32bde28 19023static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19024 PyObject *resultobj = NULL;
d14a1e28
RD
19025 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19026 PyObject *arg2 = (PyObject *) 0 ;
19027 PyObject *arg3 = (PyObject *) 0 ;
19028 PyObject * obj0 = 0 ;
19029 PyObject * obj1 = 0 ;
19030 PyObject * obj2 = 0 ;
19031 char *kwnames[] = {
19032 (char *) "self",(char *) "self",(char *) "_class", NULL
19033 };
19034
19035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
19036 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19037 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19038 arg2 = obj1;
19039 arg3 = obj2;
19040 {
19041 PyThreadState* __tstate = wxPyBeginAllowThreads();
19042 (arg1)->_setCallbackInfo(arg2,arg3);
19043
19044 wxPyEndAllowThreads(__tstate);
19045 if (PyErr_Occurred()) SWIG_fail;
19046 }
19047 Py_INCREF(Py_None); resultobj = Py_None;
19048 return resultobj;
19049 fail:
19050 return NULL;
19051}
19052
19053
c32bde28 19054static PyObject *_wrap_PyPanel_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19055 PyObject *resultobj = NULL;
db3e571a
RD
19056 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19057 wxSize *arg2 = 0 ;
19058 wxSize temp2 ;
19059 PyObject * obj0 = 0 ;
19060 PyObject * obj1 = 0 ;
19061 char *kwnames[] = {
19062 (char *) "self",(char *) "size", NULL
19063 };
19064
19065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19066 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19067 if (SWIG_arg_fail(1)) SWIG_fail;
db3e571a
RD
19068 {
19069 arg2 = &temp2;
19070 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19071 }
19072 {
19073 PyThreadState* __tstate = wxPyBeginAllowThreads();
19074 (arg1)->SetBestSize((wxSize const &)*arg2);
19075
19076 wxPyEndAllowThreads(__tstate);
19077 if (PyErr_Occurred()) SWIG_fail;
19078 }
19079 Py_INCREF(Py_None); resultobj = Py_None;
19080 return resultobj;
19081 fail:
19082 return NULL;
19083}
19084
19085
976dbff5 19086static PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19087 PyObject *resultobj = NULL;
976dbff5
RD
19088 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19089 wxDC *arg2 = (wxDC *) 0 ;
19090 bool result;
19091 PyObject * obj0 = 0 ;
19092 PyObject * obj1 = 0 ;
19093 char *kwnames[] = {
19094 (char *) "self",(char *) "dc", NULL
19095 };
19096
19097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) goto fail;
19098 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19099 if (SWIG_arg_fail(1)) SWIG_fail;
19100 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
19101 if (SWIG_arg_fail(2)) SWIG_fail;
19102 {
19103 PyThreadState* __tstate = wxPyBeginAllowThreads();
19104 result = (bool)(arg1)->DoEraseBackground(arg2);
19105
19106 wxPyEndAllowThreads(__tstate);
19107 if (PyErr_Occurred()) SWIG_fail;
19108 }
19109 {
19110 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19111 }
19112 return resultobj;
19113 fail:
19114 return NULL;
19115}
19116
19117
c32bde28 19118static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19119 PyObject *resultobj = NULL;
d14a1e28
RD
19120 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19121 int arg2 ;
19122 int arg3 ;
19123 int arg4 ;
19124 int arg5 ;
19125 PyObject * obj0 = 0 ;
994141e6
RD
19126 PyObject * obj1 = 0 ;
19127 PyObject * obj2 = 0 ;
19128 PyObject * obj3 = 0 ;
19129 PyObject * obj4 = 0 ;
d14a1e28
RD
19130 char *kwnames[] = {
19131 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19132 };
19133
994141e6 19134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
19135 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19136 if (SWIG_arg_fail(1)) SWIG_fail;
19137 {
32fe5131 19138 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
19139 if (SWIG_arg_fail(2)) SWIG_fail;
19140 }
19141 {
32fe5131 19142 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
19143 if (SWIG_arg_fail(3)) SWIG_fail;
19144 }
19145 {
32fe5131 19146 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
19147 if (SWIG_arg_fail(4)) SWIG_fail;
19148 }
19149 {
32fe5131 19150 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
19151 if (SWIG_arg_fail(5)) SWIG_fail;
19152 }
d14a1e28
RD
19153 {
19154 PyThreadState* __tstate = wxPyBeginAllowThreads();
19155 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
19156
19157 wxPyEndAllowThreads(__tstate);
19158 if (PyErr_Occurred()) SWIG_fail;
19159 }
19160 Py_INCREF(Py_None); resultobj = Py_None;
19161 return resultobj;
19162 fail:
19163 return NULL;
19164}
19165
19166
c32bde28 19167static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19168 PyObject *resultobj = NULL;
d14a1e28
RD
19169 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19170 int arg2 ;
19171 int arg3 ;
19172 int arg4 ;
19173 int arg5 ;
19174 int arg6 = (int) wxSIZE_AUTO ;
19175 PyObject * obj0 = 0 ;
994141e6
RD
19176 PyObject * obj1 = 0 ;
19177 PyObject * obj2 = 0 ;
19178 PyObject * obj3 = 0 ;
19179 PyObject * obj4 = 0 ;
19180 PyObject * obj5 = 0 ;
d14a1e28
RD
19181 char *kwnames[] = {
19182 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19183 };
19184
994141e6 19185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
19186 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19187 if (SWIG_arg_fail(1)) SWIG_fail;
19188 {
32fe5131 19189 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
19190 if (SWIG_arg_fail(2)) SWIG_fail;
19191 }
19192 {
32fe5131 19193 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
19194 if (SWIG_arg_fail(3)) SWIG_fail;
19195 }
19196 {
32fe5131 19197 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
19198 if (SWIG_arg_fail(4)) SWIG_fail;
19199 }
19200 {
32fe5131 19201 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
19202 if (SWIG_arg_fail(5)) SWIG_fail;
19203 }
994141e6 19204 if (obj5) {
093d3ff1 19205 {
32fe5131 19206 arg6 = static_cast<int >(SWIG_As_int(obj5));
093d3ff1
RD
19207 if (SWIG_arg_fail(6)) SWIG_fail;
19208 }
994141e6 19209 }
d14a1e28
RD
19210 {
19211 PyThreadState* __tstate = wxPyBeginAllowThreads();
19212 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
19213
19214 wxPyEndAllowThreads(__tstate);
19215 if (PyErr_Occurred()) SWIG_fail;
19216 }
19217 Py_INCREF(Py_None); resultobj = Py_None;
19218 return resultobj;
19219 fail:
19220 return NULL;
19221}
19222
19223
c32bde28 19224static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19225 PyObject *resultobj = NULL;
d14a1e28
RD
19226 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19227 int arg2 ;
19228 int arg3 ;
19229 PyObject * obj0 = 0 ;
994141e6
RD
19230 PyObject * obj1 = 0 ;
19231 PyObject * obj2 = 0 ;
d14a1e28
RD
19232 char *kwnames[] = {
19233 (char *) "self",(char *) "width",(char *) "height", NULL
19234 };
19235
994141e6 19236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
19237 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19238 if (SWIG_arg_fail(1)) SWIG_fail;
19239 {
32fe5131 19240 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
19241 if (SWIG_arg_fail(2)) SWIG_fail;
19242 }
19243 {
32fe5131 19244 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
19245 if (SWIG_arg_fail(3)) SWIG_fail;
19246 }
d14a1e28
RD
19247 {
19248 PyThreadState* __tstate = wxPyBeginAllowThreads();
19249 (arg1)->base_DoSetClientSize(arg2,arg3);
19250
19251 wxPyEndAllowThreads(__tstate);
19252 if (PyErr_Occurred()) SWIG_fail;
19253 }
19254 Py_INCREF(Py_None); resultobj = Py_None;
19255 return resultobj;
19256 fail:
19257 return NULL;
19258}
19259
19260
c32bde28 19261static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19262 PyObject *resultobj = NULL;
d14a1e28
RD
19263 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19264 int arg2 ;
19265 int arg3 ;
19266 PyObject * obj0 = 0 ;
994141e6
RD
19267 PyObject * obj1 = 0 ;
19268 PyObject * obj2 = 0 ;
d14a1e28
RD
19269 char *kwnames[] = {
19270 (char *) "self",(char *) "x",(char *) "y", NULL
19271 };
19272
994141e6 19273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
19274 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19275 if (SWIG_arg_fail(1)) SWIG_fail;
19276 {
32fe5131 19277 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
19278 if (SWIG_arg_fail(2)) SWIG_fail;
19279 }
19280 {
32fe5131 19281 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
19282 if (SWIG_arg_fail(3)) SWIG_fail;
19283 }
d14a1e28
RD
19284 {
19285 PyThreadState* __tstate = wxPyBeginAllowThreads();
19286 (arg1)->base_DoSetVirtualSize(arg2,arg3);
19287
19288 wxPyEndAllowThreads(__tstate);
19289 if (PyErr_Occurred()) SWIG_fail;
19290 }
19291 Py_INCREF(Py_None); resultobj = Py_None;
19292 return resultobj;
19293 fail:
19294 return NULL;
19295}
19296
19297
c32bde28 19298static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19299 PyObject *resultobj = NULL;
d14a1e28
RD
19300 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19301 int *arg2 = (int *) 0 ;
19302 int *arg3 = (int *) 0 ;
19303 int temp2 ;
c32bde28 19304 int res2 = 0 ;
d14a1e28 19305 int temp3 ;
c32bde28 19306 int res3 = 0 ;
d14a1e28
RD
19307 PyObject * obj0 = 0 ;
19308 char *kwnames[] = {
19309 (char *) "self", NULL
19310 };
19311
c32bde28
RD
19312 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19313 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 19314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
19315 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19316 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19317 {
19318 PyThreadState* __tstate = wxPyBeginAllowThreads();
19319 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
19320
19321 wxPyEndAllowThreads(__tstate);
19322 if (PyErr_Occurred()) SWIG_fail;
19323 }
19324 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
19325 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19326 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19327 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19328 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
19329 return resultobj;
19330 fail:
19331 return NULL;
19332}
19333
19334
c32bde28 19335static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19336 PyObject *resultobj = NULL;
d14a1e28
RD
19337 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19338 int *arg2 = (int *) 0 ;
19339 int *arg3 = (int *) 0 ;
19340 int temp2 ;
c32bde28 19341 int res2 = 0 ;
d14a1e28 19342 int temp3 ;
c32bde28 19343 int res3 = 0 ;
d14a1e28
RD
19344 PyObject * obj0 = 0 ;
19345 char *kwnames[] = {
19346 (char *) "self", NULL
19347 };
19348
c32bde28
RD
19349 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19350 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 19351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
19352 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19353 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19354 {
19355 PyThreadState* __tstate = wxPyBeginAllowThreads();
19356 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
19357
19358 wxPyEndAllowThreads(__tstate);
19359 if (PyErr_Occurred()) SWIG_fail;
19360 }
19361 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
19362 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19363 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19364 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19365 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
19366 return resultobj;
19367 fail:
19368 return NULL;
19369}
19370
19371
c32bde28 19372static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19373 PyObject *resultobj = NULL;
d14a1e28
RD
19374 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19375 int *arg2 = (int *) 0 ;
19376 int *arg3 = (int *) 0 ;
19377 int temp2 ;
c32bde28 19378 int res2 = 0 ;
d14a1e28 19379 int temp3 ;
c32bde28 19380 int res3 = 0 ;
d14a1e28
RD
19381 PyObject * obj0 = 0 ;
19382 char *kwnames[] = {
19383 (char *) "self", NULL
19384 };
19385
c32bde28
RD
19386 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19387 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 19388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
19389 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19390 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19391 {
19392 PyThreadState* __tstate = wxPyBeginAllowThreads();
19393 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
19394
19395 wxPyEndAllowThreads(__tstate);
19396 if (PyErr_Occurred()) SWIG_fail;
19397 }
19398 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
19399 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19400 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19401 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19402 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
19403 return resultobj;
19404 fail:
19405 return NULL;
19406}
19407
19408
c32bde28 19409static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19410 PyObject *resultobj = NULL;
d14a1e28
RD
19411 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19412 wxSize result;
19413 PyObject * obj0 = 0 ;
19414 char *kwnames[] = {
19415 (char *) "self", NULL
19416 };
19417
19418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
19419 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19420 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19421 {
19422 PyThreadState* __tstate = wxPyBeginAllowThreads();
19423 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
19424
19425 wxPyEndAllowThreads(__tstate);
19426 if (PyErr_Occurred()) SWIG_fail;
19427 }
19428 {
19429 wxSize * resultptr;
32fe5131 19430 resultptr = new wxSize(static_cast<wxSize & >(result));
15afbcd0 19431 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
19432 }
19433 return resultobj;
19434 fail:
19435 return NULL;
19436}
19437
19438
c32bde28 19439static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19440 PyObject *resultobj = NULL;
d14a1e28
RD
19441 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19442 wxSize result;
19443 PyObject * obj0 = 0 ;
19444 char *kwnames[] = {
19445 (char *) "self", NULL
19446 };
19447
19448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
19449 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19450 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19451 {
19452 PyThreadState* __tstate = wxPyBeginAllowThreads();
19453 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
19454
19455 wxPyEndAllowThreads(__tstate);
19456 if (PyErr_Occurred()) SWIG_fail;
19457 }
19458 {
19459 wxSize * resultptr;
32fe5131 19460 resultptr = new wxSize(static_cast<wxSize & >(result));
15afbcd0 19461 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
19462 }
19463 return resultobj;
19464 fail:
19465 return NULL;
19466}
19467
19468
c32bde28 19469static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19470 PyObject *resultobj = NULL;
d14a1e28
RD
19471 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19472 PyObject * obj0 = 0 ;
19473 char *kwnames[] = {
19474 (char *) "self", NULL
19475 };
19476
19477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
093d3ff1
RD
19478 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19479 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19480 {
19481 PyThreadState* __tstate = wxPyBeginAllowThreads();
19482 (arg1)->base_InitDialog();
19483
19484 wxPyEndAllowThreads(__tstate);
19485 if (PyErr_Occurred()) SWIG_fail;
19486 }
19487 Py_INCREF(Py_None); resultobj = Py_None;
19488 return resultobj;
19489 fail:
19490 return NULL;
19491}
19492
19493
c32bde28 19494static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19495 PyObject *resultobj = NULL;
d14a1e28
RD
19496 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19497 bool result;
19498 PyObject * obj0 = 0 ;
19499 char *kwnames[] = {
19500 (char *) "self", NULL
19501 };
19502
19503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
19504 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19505 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19506 {
19507 PyThreadState* __tstate = wxPyBeginAllowThreads();
19508 result = (bool)(arg1)->base_TransferDataToWindow();
19509
19510 wxPyEndAllowThreads(__tstate);
19511 if (PyErr_Occurred()) SWIG_fail;
19512 }
4f89f6a3
RD
19513 {
19514 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19515 }
d14a1e28
RD
19516 return resultobj;
19517 fail:
19518 return NULL;
19519}
19520
19521
c32bde28 19522static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19523 PyObject *resultobj = NULL;
d14a1e28
RD
19524 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19525 bool result;
19526 PyObject * obj0 = 0 ;
19527 char *kwnames[] = {
19528 (char *) "self", NULL
19529 };
19530
19531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
19532 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19533 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19534 {
19535 PyThreadState* __tstate = wxPyBeginAllowThreads();
19536 result = (bool)(arg1)->base_TransferDataFromWindow();
19537
19538 wxPyEndAllowThreads(__tstate);
19539 if (PyErr_Occurred()) SWIG_fail;
19540 }
4f89f6a3
RD
19541 {
19542 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19543 }
d14a1e28
RD
19544 return resultobj;
19545 fail:
19546 return NULL;
19547}
19548
19549
c32bde28 19550static PyObject *_wrap_PyPanel_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19551 PyObject *resultobj = NULL;
d14a1e28
RD
19552 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19553 bool result;
19554 PyObject * obj0 = 0 ;
19555 char *kwnames[] = {
19556 (char *) "self", NULL
19557 };
19558
19559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
093d3ff1
RD
19560 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19561 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19562 {
19563 PyThreadState* __tstate = wxPyBeginAllowThreads();
19564 result = (bool)(arg1)->base_Validate();
19565
19566 wxPyEndAllowThreads(__tstate);
19567 if (PyErr_Occurred()) SWIG_fail;
19568 }
4f89f6a3
RD
19569 {
19570 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19571 }
d14a1e28
RD
19572 return resultobj;
19573 fail:
19574 return NULL;
19575}
19576
19577
c32bde28 19578static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19579 PyObject *resultobj = NULL;
d14a1e28
RD
19580 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19581 bool result;
19582 PyObject * obj0 = 0 ;
19583 char *kwnames[] = {
19584 (char *) "self", NULL
19585 };
19586
19587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
093d3ff1
RD
19588 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19589 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19590 {
19591 PyThreadState* __tstate = wxPyBeginAllowThreads();
19592 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
19593
19594 wxPyEndAllowThreads(__tstate);
19595 if (PyErr_Occurred()) SWIG_fail;
19596 }
4f89f6a3
RD
19597 {
19598 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19599 }
d14a1e28
RD
19600 return resultobj;
19601 fail:
19602 return NULL;
19603}
19604
19605
c32bde28 19606static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19607 PyObject *resultobj = NULL;
d14a1e28
RD
19608 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19609 bool result;
19610 PyObject * obj0 = 0 ;
19611 char *kwnames[] = {
19612 (char *) "self", NULL
19613 };
19614
19615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
093d3ff1
RD
19616 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19617 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19618 {
19619 PyThreadState* __tstate = wxPyBeginAllowThreads();
19620 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
19621
19622 wxPyEndAllowThreads(__tstate);
19623 if (PyErr_Occurred()) SWIG_fail;
19624 }
4f89f6a3
RD
19625 {
19626 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19627 }
d14a1e28
RD
19628 return resultobj;
19629 fail:
19630 return NULL;
19631}
19632
19633
c32bde28 19634static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19635 PyObject *resultobj = NULL;
d14a1e28
RD
19636 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19637 wxSize result;
19638 PyObject * obj0 = 0 ;
19639 char *kwnames[] = {
19640 (char *) "self", NULL
19641 };
19642
19643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
19644 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19645 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19646 {
19647 PyThreadState* __tstate = wxPyBeginAllowThreads();
19648 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
19649
19650 wxPyEndAllowThreads(__tstate);
19651 if (PyErr_Occurred()) SWIG_fail;
19652 }
19653 {
19654 wxSize * resultptr;
32fe5131 19655 resultptr = new wxSize(static_cast<wxSize & >(result));
15afbcd0 19656 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
19657 }
19658 return resultobj;
19659 fail:
19660 return NULL;
19661}
19662
19663
c32bde28 19664static PyObject *_wrap_PyPanel_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19665 PyObject *resultobj = NULL;
d14a1e28
RD
19666 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19667 wxWindow *arg2 = (wxWindow *) 0 ;
19668 PyObject * obj0 = 0 ;
19669 PyObject * obj1 = 0 ;
19670 char *kwnames[] = {
19671 (char *) "self",(char *) "child", NULL
19672 };
19673
19674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19675 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19676 if (SWIG_arg_fail(1)) SWIG_fail;
19677 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19678 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
19679 {
19680 PyThreadState* __tstate = wxPyBeginAllowThreads();
19681 (arg1)->base_AddChild(arg2);
19682
19683 wxPyEndAllowThreads(__tstate);
19684 if (PyErr_Occurred()) SWIG_fail;
19685 }
19686 Py_INCREF(Py_None); resultobj = Py_None;
19687 return resultobj;
19688 fail:
19689 return NULL;
19690}
19691
19692
c32bde28 19693static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19694 PyObject *resultobj = NULL;
d14a1e28
RD
19695 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19696 wxWindow *arg2 = (wxWindow *) 0 ;
19697 PyObject * obj0 = 0 ;
19698 PyObject * obj1 = 0 ;
19699 char *kwnames[] = {
19700 (char *) "self",(char *) "child", NULL
19701 };
19702
19703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19704 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19705 if (SWIG_arg_fail(1)) SWIG_fail;
19706 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19707 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
19708 {
19709 PyThreadState* __tstate = wxPyBeginAllowThreads();
19710 (arg1)->base_RemoveChild(arg2);
19711
19712 wxPyEndAllowThreads(__tstate);
19713 if (PyErr_Occurred()) SWIG_fail;
19714 }
19715 Py_INCREF(Py_None); resultobj = Py_None;
19716 return resultobj;
19717 fail:
19718 return NULL;
19719}
19720
19721
c32bde28 19722static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19723 PyObject *resultobj = NULL;
1cb4a8aa
RD
19724 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19725 bool result;
19726 PyObject * obj0 = 0 ;
d14a1e28 19727 char *kwnames[] = {
1cb4a8aa 19728 (char *) "self", NULL
d14a1e28
RD
19729 };
19730
1cb4a8aa 19731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
093d3ff1
RD
19732 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19733 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19734 {
19735 PyThreadState* __tstate = wxPyBeginAllowThreads();
db3e571a 19736 result = (bool)((wxPyPanel const *)arg1)->base_ShouldInheritColours();
d14a1e28
RD
19737
19738 wxPyEndAllowThreads(__tstate);
19739 if (PyErr_Occurred()) SWIG_fail;
19740 }
1cb4a8aa
RD
19741 {
19742 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19743 }
d14a1e28
RD
19744 return resultobj;
19745 fail:
19746 return NULL;
19747}
19748
19749
c32bde28 19750static PyObject *_wrap_PyPanel_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19751 PyObject *resultobj = NULL;
db3e571a
RD
19752 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19753 wxVisualAttributes result;
19754 PyObject * obj0 = 0 ;
19755 char *kwnames[] = {
19756 (char *) "self", NULL
19757 };
19758
19759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
093d3ff1
RD
19760 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19761 if (SWIG_arg_fail(1)) SWIG_fail;
db3e571a
RD
19762 {
19763 PyThreadState* __tstate = wxPyBeginAllowThreads();
19764 result = (arg1)->base_GetDefaultAttributes();
19765
19766 wxPyEndAllowThreads(__tstate);
19767 if (PyErr_Occurred()) SWIG_fail;
19768 }
19769 {
19770 wxVisualAttributes * resultptr;
32fe5131 19771 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
db3e571a
RD
19772 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
19773 }
19774 return resultobj;
19775 fail:
19776 return NULL;
19777}
19778
19779
8d38bd1d 19780static PyObject *_wrap_PyPanel_base_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19781 PyObject *resultobj = NULL;
8d38bd1d
RD
19782 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19783 PyObject * obj0 = 0 ;
19784 char *kwnames[] = {
19785 (char *) "self", NULL
19786 };
19787
19788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_OnInternalIdle",kwnames,&obj0)) goto fail;
19789 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19790 if (SWIG_arg_fail(1)) SWIG_fail;
19791 {
19792 PyThreadState* __tstate = wxPyBeginAllowThreads();
19793 (arg1)->base_OnInternalIdle();
19794
19795 wxPyEndAllowThreads(__tstate);
19796 if (PyErr_Occurred()) SWIG_fail;
19797 }
19798 Py_INCREF(Py_None); resultobj = Py_None;
19799 return resultobj;
19800 fail:
19801 return NULL;
19802}
19803
19804
c32bde28 19805static PyObject * PyPanel_swigregister(PyObject *, PyObject *args) {
1cb4a8aa
RD
19806 PyObject *obj;
19807 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19808 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
19809 Py_INCREF(obj);
19810 return Py_BuildValue((char *)"");
19811}
c32bde28 19812static PyObject *_wrap_new_PyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19813 PyObject *resultobj = NULL;
1cb4a8aa 19814 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 19815 int arg2 = (int) (int)-1 ;
1cb4a8aa
RD
19816 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19817 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19818 wxSize const &arg4_defvalue = wxDefaultSize ;
19819 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19820 long arg5 = (long) 0 ;
19821 wxString const &arg6_defvalue = wxPyPanelNameStr ;
19822 wxString *arg6 = (wxString *) &arg6_defvalue ;
19823 wxPyScrolledWindow *result;
19824 wxPoint temp3 ;
19825 wxSize temp4 ;
ae8162c8 19826 bool temp6 = false ;
d14a1e28 19827 PyObject * obj0 = 0 ;
1cb4a8aa
RD
19828 PyObject * obj1 = 0 ;
19829 PyObject * obj2 = 0 ;
19830 PyObject * obj3 = 0 ;
19831 PyObject * obj4 = 0 ;
19832 PyObject * obj5 = 0 ;
d14a1e28 19833 char *kwnames[] = {
1cb4a8aa 19834 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
d14a1e28
RD
19835 };
19836
248ed943 19837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
19838 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19839 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 19840 if (obj1) {
093d3ff1 19841 {
32fe5131 19842 arg2 = static_cast<int const >(SWIG_As_int(obj1));
093d3ff1
RD
19843 if (SWIG_arg_fail(2)) SWIG_fail;
19844 }
248ed943 19845 }
1cb4a8aa
RD
19846 if (obj2) {
19847 {
19848 arg3 = &temp3;
19849 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19850 }
19851 }
19852 if (obj3) {
19853 {
19854 arg4 = &temp4;
19855 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19856 }
19857 }
19858 if (obj4) {
093d3ff1 19859 {
32fe5131 19860 arg5 = static_cast<long >(SWIG_As_long(obj4));
093d3ff1
RD
19861 if (SWIG_arg_fail(5)) SWIG_fail;
19862 }
1cb4a8aa
RD
19863 }
19864 if (obj5) {
19865 {
19866 arg6 = wxString_in_helper(obj5);
19867 if (arg6 == NULL) SWIG_fail;
ae8162c8 19868 temp6 = true;
1cb4a8aa
RD
19869 }
19870 }
19871 {
e3b71cb8 19872 if (!wxPyCheckForApp()) SWIG_fail;
1cb4a8aa
RD
19873 PyThreadState* __tstate = wxPyBeginAllowThreads();
19874 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
19875
19876 wxPyEndAllowThreads(__tstate);
110da5b0 19877 if (PyErr_Occurred()) SWIG_fail;
1cb4a8aa
RD
19878 }
19879 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
19880 {
19881 if (temp6)
19882 delete arg6;
19883 }
19884 return resultobj;
19885 fail:
19886 {
19887 if (temp6)
19888 delete arg6;
19889 }
19890 return NULL;
19891}
19892
19893
c32bde28 19894static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19895 PyObject *resultobj = NULL;
1cb4a8aa
RD
19896 wxPyScrolledWindow *result;
19897 char *kwnames[] = {
19898 NULL
19899 };
19900
19901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail;
19902 {
e3b71cb8 19903 if (!wxPyCheckForApp()) SWIG_fail;
1cb4a8aa
RD
19904 PyThreadState* __tstate = wxPyBeginAllowThreads();
19905 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
19906
19907 wxPyEndAllowThreads(__tstate);
110da5b0 19908 if (PyErr_Occurred()) SWIG_fail;
1cb4a8aa
RD
19909 }
19910 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
19911 return resultobj;
19912 fail:
19913 return NULL;
19914}
19915
19916
c32bde28 19917static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19918 PyObject *resultobj = NULL;
1cb4a8aa
RD
19919 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19920 PyObject *arg2 = (PyObject *) 0 ;
19921 PyObject *arg3 = (PyObject *) 0 ;
19922 PyObject * obj0 = 0 ;
19923 PyObject * obj1 = 0 ;
19924 PyObject * obj2 = 0 ;
19925 char *kwnames[] = {
19926 (char *) "self",(char *) "self",(char *) "_class", NULL
19927 };
19928
19929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
19930 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19931 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
19932 arg2 = obj1;
19933 arg3 = obj2;
19934 {
19935 PyThreadState* __tstate = wxPyBeginAllowThreads();
19936 (arg1)->_setCallbackInfo(arg2,arg3);
19937
19938 wxPyEndAllowThreads(__tstate);
19939 if (PyErr_Occurred()) SWIG_fail;
19940 }
19941 Py_INCREF(Py_None); resultobj = Py_None;
19942 return resultobj;
19943 fail:
19944 return NULL;
19945}
19946
19947
c32bde28 19948static PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19949 PyObject *resultobj = NULL;
db3e571a
RD
19950 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19951 wxSize *arg2 = 0 ;
19952 wxSize temp2 ;
19953 PyObject * obj0 = 0 ;
19954 PyObject * obj1 = 0 ;
19955 char *kwnames[] = {
19956 (char *) "self",(char *) "size", NULL
19957 };
19958
19959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19960 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19961 if (SWIG_arg_fail(1)) SWIG_fail;
db3e571a
RD
19962 {
19963 arg2 = &temp2;
19964 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19965 }
19966 {
19967 PyThreadState* __tstate = wxPyBeginAllowThreads();
19968 (arg1)->SetBestSize((wxSize const &)*arg2);
19969
19970 wxPyEndAllowThreads(__tstate);
19971 if (PyErr_Occurred()) SWIG_fail;
19972 }
19973 Py_INCREF(Py_None); resultobj = Py_None;
19974 return resultobj;
19975 fail:
19976 return NULL;
19977}
19978
19979
976dbff5 19980static PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19981 PyObject *resultobj = NULL;
976dbff5
RD
19982 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19983 wxDC *arg2 = (wxDC *) 0 ;
19984 bool result;
19985 PyObject * obj0 = 0 ;
19986 PyObject * obj1 = 0 ;
19987 char *kwnames[] = {
19988 (char *) "self",(char *) "dc", NULL
19989 };
19990
19991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) goto fail;
19992 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19993 if (SWIG_arg_fail(1)) SWIG_fail;
19994 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
19995 if (SWIG_arg_fail(2)) SWIG_fail;
19996 {
19997 PyThreadState* __tstate = wxPyBeginAllowThreads();
19998 result = (bool)(arg1)->DoEraseBackground(arg2);
19999
20000 wxPyEndAllowThreads(__tstate);
20001 if (PyErr_Occurred()) SWIG_fail;
20002 }
20003 {
20004 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20005 }
20006 return resultobj;
20007 fail:
20008 return NULL;
20009}
20010
20011
c32bde28 20012static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20013 PyObject *resultobj = NULL;
1cb4a8aa
RD
20014 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20015 int arg2 ;
20016 int arg3 ;
20017 int arg4 ;
20018 int arg5 ;
20019 PyObject * obj0 = 0 ;
20020 PyObject * obj1 = 0 ;
20021 PyObject * obj2 = 0 ;
20022 PyObject * obj3 = 0 ;
20023 PyObject * obj4 = 0 ;
20024 char *kwnames[] = {
20025 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
20026 };
20027
20028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
20029 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20030 if (SWIG_arg_fail(1)) SWIG_fail;
20031 {
32fe5131 20032 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
20033 if (SWIG_arg_fail(2)) SWIG_fail;
20034 }
20035 {
32fe5131 20036 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
20037 if (SWIG_arg_fail(3)) SWIG_fail;
20038 }
20039 {
32fe5131 20040 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
20041 if (SWIG_arg_fail(4)) SWIG_fail;
20042 }
20043 {
32fe5131 20044 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
20045 if (SWIG_arg_fail(5)) SWIG_fail;
20046 }
1cb4a8aa
RD
20047 {
20048 PyThreadState* __tstate = wxPyBeginAllowThreads();
20049 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
20050
20051 wxPyEndAllowThreads(__tstate);
20052 if (PyErr_Occurred()) SWIG_fail;
20053 }
20054 Py_INCREF(Py_None); resultobj = Py_None;
20055 return resultobj;
20056 fail:
20057 return NULL;
20058}
20059
20060
c32bde28 20061static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20062 PyObject *resultobj = NULL;
1cb4a8aa
RD
20063 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20064 int arg2 ;
20065 int arg3 ;
20066 int arg4 ;
20067 int arg5 ;
20068 int arg6 = (int) wxSIZE_AUTO ;
20069 PyObject * obj0 = 0 ;
20070 PyObject * obj1 = 0 ;
20071 PyObject * obj2 = 0 ;
20072 PyObject * obj3 = 0 ;
20073 PyObject * obj4 = 0 ;
20074 PyObject * obj5 = 0 ;
20075 char *kwnames[] = {
20076 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
20077 };
20078
20079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
20080 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20081 if (SWIG_arg_fail(1)) SWIG_fail;
20082 {
32fe5131 20083 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
20084 if (SWIG_arg_fail(2)) SWIG_fail;
20085 }
20086 {
32fe5131 20087 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
20088 if (SWIG_arg_fail(3)) SWIG_fail;
20089 }
20090 {
32fe5131 20091 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
20092 if (SWIG_arg_fail(4)) SWIG_fail;
20093 }
20094 {
32fe5131 20095 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
20096 if (SWIG_arg_fail(5)) SWIG_fail;
20097 }
1cb4a8aa 20098 if (obj5) {
093d3ff1 20099 {
32fe5131 20100 arg6 = static_cast<int >(SWIG_As_int(obj5));
093d3ff1
RD
20101 if (SWIG_arg_fail(6)) SWIG_fail;
20102 }
1cb4a8aa
RD
20103 }
20104 {
20105 PyThreadState* __tstate = wxPyBeginAllowThreads();
20106 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
20107
20108 wxPyEndAllowThreads(__tstate);
20109 if (PyErr_Occurred()) SWIG_fail;
20110 }
20111 Py_INCREF(Py_None); resultobj = Py_None;
20112 return resultobj;
20113 fail:
20114 return NULL;
20115}
20116
20117
c32bde28 20118static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20119 PyObject *resultobj = NULL;
1cb4a8aa
RD
20120 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20121 int arg2 ;
20122 int arg3 ;
20123 PyObject * obj0 = 0 ;
20124 PyObject * obj1 = 0 ;
20125 PyObject * obj2 = 0 ;
20126 char *kwnames[] = {
20127 (char *) "self",(char *) "width",(char *) "height", NULL
20128 };
20129
20130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
20131 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20132 if (SWIG_arg_fail(1)) SWIG_fail;
20133 {
32fe5131 20134 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
20135 if (SWIG_arg_fail(2)) SWIG_fail;
20136 }
20137 {
32fe5131 20138 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
20139 if (SWIG_arg_fail(3)) SWIG_fail;
20140 }
1cb4a8aa
RD
20141 {
20142 PyThreadState* __tstate = wxPyBeginAllowThreads();
20143 (arg1)->base_DoSetClientSize(arg2,arg3);
20144
20145 wxPyEndAllowThreads(__tstate);
20146 if (PyErr_Occurred()) SWIG_fail;
20147 }
20148 Py_INCREF(Py_None); resultobj = Py_None;
20149 return resultobj;
20150 fail:
20151 return NULL;
20152}
20153
20154
c32bde28 20155static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20156 PyObject *resultobj = NULL;
1cb4a8aa
RD
20157 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20158 int arg2 ;
20159 int arg3 ;
20160 PyObject * obj0 = 0 ;
20161 PyObject * obj1 = 0 ;
20162 PyObject * obj2 = 0 ;
20163 char *kwnames[] = {
20164 (char *) "self",(char *) "x",(char *) "y", NULL
20165 };
20166
20167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
20168 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20169 if (SWIG_arg_fail(1)) SWIG_fail;
20170 {
32fe5131 20171 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
20172 if (SWIG_arg_fail(2)) SWIG_fail;
20173 }
20174 {
32fe5131 20175 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
20176 if (SWIG_arg_fail(3)) SWIG_fail;
20177 }
1cb4a8aa
RD
20178 {
20179 PyThreadState* __tstate = wxPyBeginAllowThreads();
20180 (arg1)->base_DoSetVirtualSize(arg2,arg3);
20181
20182 wxPyEndAllowThreads(__tstate);
20183 if (PyErr_Occurred()) SWIG_fail;
20184 }
20185 Py_INCREF(Py_None); resultobj = Py_None;
20186 return resultobj;
20187 fail:
20188 return NULL;
20189}
20190
20191
c32bde28 20192static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20193 PyObject *resultobj = NULL;
1cb4a8aa
RD
20194 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20195 int *arg2 = (int *) 0 ;
20196 int *arg3 = (int *) 0 ;
20197 int temp2 ;
c32bde28 20198 int res2 = 0 ;
1cb4a8aa 20199 int temp3 ;
c32bde28 20200 int res3 = 0 ;
1cb4a8aa
RD
20201 PyObject * obj0 = 0 ;
20202 char *kwnames[] = {
20203 (char *) "self", NULL
20204 };
20205
c32bde28
RD
20206 arg2 = &temp2; res2 = SWIG_NEWOBJ;
20207 arg3 = &temp3; res3 = SWIG_NEWOBJ;
1cb4a8aa 20208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
20209 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20210 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
20211 {
20212 PyThreadState* __tstate = wxPyBeginAllowThreads();
20213 ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3);
20214
20215 wxPyEndAllowThreads(__tstate);
20216 if (PyErr_Occurred()) SWIG_fail;
20217 }
20218 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
20219 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
20220 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
20221 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
20222 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
1cb4a8aa
RD
20223 return resultobj;
20224 fail:
20225 return NULL;
20226}
20227
20228
c32bde28 20229static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20230 PyObject *resultobj = NULL;
1cb4a8aa
RD
20231 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20232 int *arg2 = (int *) 0 ;
20233 int *arg3 = (int *) 0 ;
20234 int temp2 ;
c32bde28 20235 int res2 = 0 ;
1cb4a8aa 20236 int temp3 ;
c32bde28 20237 int res3 = 0 ;
1cb4a8aa
RD
20238 PyObject * obj0 = 0 ;
20239 char *kwnames[] = {
20240 (char *) "self", NULL
20241 };
20242
c32bde28
RD
20243 arg2 = &temp2; res2 = SWIG_NEWOBJ;
20244 arg3 = &temp3; res3 = SWIG_NEWOBJ;
1cb4a8aa 20245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
20246 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20247 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
20248 {
20249 PyThreadState* __tstate = wxPyBeginAllowThreads();
20250 ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
20251
20252 wxPyEndAllowThreads(__tstate);
20253 if (PyErr_Occurred()) SWIG_fail;
20254 }
20255 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
20256 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
20257 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
20258 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
20259 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
1cb4a8aa
RD
20260 return resultobj;
20261 fail:
20262 return NULL;
20263}
20264
20265
c32bde28 20266static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20267 PyObject *resultobj = NULL;
1cb4a8aa
RD
20268 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20269 int *arg2 = (int *) 0 ;
20270 int *arg3 = (int *) 0 ;
20271 int temp2 ;
c32bde28 20272 int res2 = 0 ;
1cb4a8aa 20273 int temp3 ;
c32bde28 20274 int res3 = 0 ;
1cb4a8aa
RD
20275 PyObject * obj0 = 0 ;
20276 char *kwnames[] = {
20277 (char *) "self", NULL
20278 };
20279
c32bde28
RD
20280 arg2 = &temp2; res2 = SWIG_NEWOBJ;
20281 arg3 = &temp3; res3 = SWIG_NEWOBJ;
1cb4a8aa 20282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
20283 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20284 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
20285 {
20286 PyThreadState* __tstate = wxPyBeginAllowThreads();
20287 ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
20288
20289 wxPyEndAllowThreads(__tstate);
20290 if (PyErr_Occurred()) SWIG_fail;
20291 }
20292 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
20293 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
20294 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
20295 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
20296 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
1cb4a8aa
RD
20297 return resultobj;
20298 fail:
20299 return NULL;
20300}
20301
20302
c32bde28 20303static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20304 PyObject *resultobj = NULL;
1cb4a8aa
RD
20305 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20306 wxSize result;
20307 PyObject * obj0 = 0 ;
20308 char *kwnames[] = {
20309 (char *) "self", NULL
20310 };
20311
20312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
20313 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20314 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
20315 {
20316 PyThreadState* __tstate = wxPyBeginAllowThreads();
20317 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize();
20318
20319 wxPyEndAllowThreads(__tstate);
20320 if (PyErr_Occurred()) SWIG_fail;
20321 }
20322 {
20323 wxSize * resultptr;
32fe5131 20324 resultptr = new wxSize(static_cast<wxSize & >(result));
1cb4a8aa
RD
20325 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20326 }
20327 return resultobj;
20328 fail:
20329 return NULL;
20330}
20331
20332
c32bde28 20333static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20334 PyObject *resultobj = NULL;
1cb4a8aa
RD
20335 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20336 wxSize result;
20337 PyObject * obj0 = 0 ;
20338 char *kwnames[] = {
20339 (char *) "self", NULL
20340 };
20341
20342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
20343 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20344 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
20345 {
20346 PyThreadState* __tstate = wxPyBeginAllowThreads();
20347 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize();
20348
20349 wxPyEndAllowThreads(__tstate);
20350 if (PyErr_Occurred()) SWIG_fail;
20351 }
20352 {
20353 wxSize * resultptr;
32fe5131 20354 resultptr = new wxSize(static_cast<wxSize & >(result));
1cb4a8aa
RD
20355 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20356 }
20357 return resultobj;
20358 fail:
20359 return NULL;
20360}
20361
20362
c32bde28 20363static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20364 PyObject *resultobj = NULL;
1cb4a8aa
RD
20365 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20366 PyObject * obj0 = 0 ;
20367 char *kwnames[] = {
20368 (char *) "self", NULL
20369 };
20370
20371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail;
093d3ff1
RD
20372 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20373 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
20374 {
20375 PyThreadState* __tstate = wxPyBeginAllowThreads();
20376 (arg1)->base_InitDialog();
20377
20378 wxPyEndAllowThreads(__tstate);
20379 if (PyErr_Occurred()) SWIG_fail;
20380 }
20381 Py_INCREF(Py_None); resultobj = Py_None;
20382 return resultobj;
20383 fail:
20384 return NULL;
20385}
20386
20387
c32bde28 20388static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20389 PyObject *resultobj = NULL;
1cb4a8aa
RD
20390 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20391 bool result;
20392 PyObject * obj0 = 0 ;
20393 char *kwnames[] = {
20394 (char *) "self", NULL
20395 };
20396
20397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
20398 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20399 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
20400 {
20401 PyThreadState* __tstate = wxPyBeginAllowThreads();
20402 result = (bool)(arg1)->base_TransferDataToWindow();
20403
20404 wxPyEndAllowThreads(__tstate);
20405 if (PyErr_Occurred()) SWIG_fail;
20406 }
20407 {
20408 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20409 }
20410 return resultobj;
20411 fail:
20412 return NULL;
20413}
20414
20415
c32bde28 20416static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20417 PyObject *resultobj = NULL;
1cb4a8aa
RD
20418 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20419 bool result;
20420 PyObject * obj0 = 0 ;
20421 char *kwnames[] = {
20422 (char *) "self", NULL
20423 };
20424
20425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
20426 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20427 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
20428 {
20429 PyThreadState* __tstate = wxPyBeginAllowThreads();
20430 result = (bool)(arg1)->base_TransferDataFromWindow();
20431
20432 wxPyEndAllowThreads(__tstate);
20433 if (PyErr_Occurred()) SWIG_fail;
20434 }
20435 {
20436 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20437 }
20438 return resultobj;
20439 fail:
20440 return NULL;
20441}
20442
20443
c32bde28 20444static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20445 PyObject *resultobj = NULL;
1cb4a8aa
RD
20446 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20447 bool result;
20448 PyObject * obj0 = 0 ;
20449 char *kwnames[] = {
20450 (char *) "self", NULL
20451 };
20452
20453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail;
093d3ff1
RD
20454 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20455 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
20456 {
20457 PyThreadState* __tstate = wxPyBeginAllowThreads();
20458 result = (bool)(arg1)->base_Validate();
20459
20460 wxPyEndAllowThreads(__tstate);
20461 if (PyErr_Occurred()) SWIG_fail;
20462 }
20463 {
20464 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20465 }
20466 return resultobj;
20467 fail:
20468 return NULL;
20469}
20470
20471
c32bde28 20472static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20473 PyObject *resultobj = NULL;
1cb4a8aa
RD
20474 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20475 bool result;
20476 PyObject * obj0 = 0 ;
20477 char *kwnames[] = {
20478 (char *) "self", NULL
20479 };
20480
20481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
093d3ff1
RD
20482 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20483 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
20484 {
20485 PyThreadState* __tstate = wxPyBeginAllowThreads();
20486 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus();
20487
20488 wxPyEndAllowThreads(__tstate);
20489 if (PyErr_Occurred()) SWIG_fail;
20490 }
20491 {
20492 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20493 }
20494 return resultobj;
20495 fail:
20496 return NULL;
20497}
20498
20499
c32bde28 20500static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20501 PyObject *resultobj = NULL;
1cb4a8aa
RD
20502 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20503 bool result;
20504 PyObject * obj0 = 0 ;
20505 char *kwnames[] = {
20506 (char *) "self", NULL
20507 };
20508
20509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
093d3ff1
RD
20510 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20511 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
20512 {
20513 PyThreadState* __tstate = wxPyBeginAllowThreads();
20514 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
20515
20516 wxPyEndAllowThreads(__tstate);
20517 if (PyErr_Occurred()) SWIG_fail;
20518 }
20519 {
20520 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20521 }
20522 return resultobj;
20523 fail:
20524 return NULL;
20525}
20526
20527
c32bde28 20528static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20529 PyObject *resultobj = NULL;
1cb4a8aa
RD
20530 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20531 wxSize result;
20532 PyObject * obj0 = 0 ;
20533 char *kwnames[] = {
20534 (char *) "self", NULL
20535 };
20536
20537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
20538 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20539 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
20540 {
20541 PyThreadState* __tstate = wxPyBeginAllowThreads();
20542 result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize();
20543
20544 wxPyEndAllowThreads(__tstate);
20545 if (PyErr_Occurred()) SWIG_fail;
20546 }
20547 {
20548 wxSize * resultptr;
32fe5131 20549 resultptr = new wxSize(static_cast<wxSize & >(result));
1cb4a8aa
RD
20550 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20551 }
20552 return resultobj;
20553 fail:
20554 return NULL;
20555}
20556
20557
c32bde28 20558static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20559 PyObject *resultobj = NULL;
1cb4a8aa
RD
20560 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20561 wxWindow *arg2 = (wxWindow *) 0 ;
20562 PyObject * obj0 = 0 ;
20563 PyObject * obj1 = 0 ;
20564 char *kwnames[] = {
20565 (char *) "self",(char *) "child", NULL
20566 };
20567
20568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20569 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20570 if (SWIG_arg_fail(1)) SWIG_fail;
20571 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
20572 if (SWIG_arg_fail(2)) SWIG_fail;
1cb4a8aa
RD
20573 {
20574 PyThreadState* __tstate = wxPyBeginAllowThreads();
20575 (arg1)->base_AddChild(arg2);
20576
20577 wxPyEndAllowThreads(__tstate);
20578 if (PyErr_Occurred()) SWIG_fail;
20579 }
20580 Py_INCREF(Py_None); resultobj = Py_None;
20581 return resultobj;
20582 fail:
20583 return NULL;
20584}
20585
20586
c32bde28 20587static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20588 PyObject *resultobj = NULL;
1cb4a8aa
RD
20589 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20590 wxWindow *arg2 = (wxWindow *) 0 ;
20591 PyObject * obj0 = 0 ;
20592 PyObject * obj1 = 0 ;
20593 char *kwnames[] = {
20594 (char *) "self",(char *) "child", NULL
20595 };
20596
20597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20598 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20599 if (SWIG_arg_fail(1)) SWIG_fail;
20600 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
20601 if (SWIG_arg_fail(2)) SWIG_fail;
1cb4a8aa
RD
20602 {
20603 PyThreadState* __tstate = wxPyBeginAllowThreads();
20604 (arg1)->base_RemoveChild(arg2);
20605
20606 wxPyEndAllowThreads(__tstate);
20607 if (PyErr_Occurred()) SWIG_fail;
20608 }
20609 Py_INCREF(Py_None); resultobj = Py_None;
20610 return resultobj;
20611 fail:
20612 return NULL;
20613}
20614
20615
c32bde28 20616static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20617 PyObject *resultobj = NULL;
1cb4a8aa
RD
20618 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20619 bool result;
20620 PyObject * obj0 = 0 ;
20621 char *kwnames[] = {
20622 (char *) "self", NULL
20623 };
20624
20625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
093d3ff1
RD
20626 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20627 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
20628 {
20629 PyThreadState* __tstate = wxPyBeginAllowThreads();
db3e571a 20630 result = (bool)((wxPyScrolledWindow const *)arg1)->base_ShouldInheritColours();
1cb4a8aa
RD
20631
20632 wxPyEndAllowThreads(__tstate);
20633 if (PyErr_Occurred()) SWIG_fail;
20634 }
20635 {
20636 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20637 }
20638 return resultobj;
20639 fail:
20640 return NULL;
20641}
20642
20643
c32bde28 20644static PyObject *_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20645 PyObject *resultobj = NULL;
db3e571a
RD
20646 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20647 wxVisualAttributes result;
20648 PyObject * obj0 = 0 ;
20649 char *kwnames[] = {
20650 (char *) "self", NULL
20651 };
20652
20653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
093d3ff1
RD
20654 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20655 if (SWIG_arg_fail(1)) SWIG_fail;
db3e571a
RD
20656 {
20657 PyThreadState* __tstate = wxPyBeginAllowThreads();
20658 result = (arg1)->base_GetDefaultAttributes();
20659
20660 wxPyEndAllowThreads(__tstate);
20661 if (PyErr_Occurred()) SWIG_fail;
20662 }
20663 {
20664 wxVisualAttributes * resultptr;
32fe5131 20665 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
db3e571a
RD
20666 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
20667 }
20668 return resultobj;
20669 fail:
20670 return NULL;
20671}
20672
20673
8d38bd1d 20674static PyObject *_wrap_PyScrolledWindow_base_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20675 PyObject *resultobj = NULL;
8d38bd1d
RD
20676 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20677 PyObject * obj0 = 0 ;
20678 char *kwnames[] = {
20679 (char *) "self", NULL
20680 };
20681
20682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_OnInternalIdle",kwnames,&obj0)) goto fail;
20683 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20684 if (SWIG_arg_fail(1)) SWIG_fail;
20685 {
20686 PyThreadState* __tstate = wxPyBeginAllowThreads();
20687 (arg1)->base_OnInternalIdle();
20688
20689 wxPyEndAllowThreads(__tstate);
20690 if (PyErr_Occurred()) SWIG_fail;
20691 }
20692 Py_INCREF(Py_None); resultobj = Py_None;
20693 return resultobj;
20694 fail:
20695 return NULL;
20696}
20697
20698
c32bde28 20699static PyObject * PyScrolledWindow_swigregister(PyObject *, PyObject *args) {
1cb4a8aa
RD
20700 PyObject *obj;
20701 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20702 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj);
20703 Py_INCREF(obj);
20704 return Py_BuildValue((char *)"");
20705}
c32bde28 20706static int _wrap_PrintoutTitleStr_set(PyObject *) {
1cb4a8aa
RD
20707 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
20708 return 1;
20709}
20710
20711
093d3ff1 20712static PyObject *_wrap_PrintoutTitleStr_get(void) {
32fe5131 20713 PyObject *pyobj = NULL;
1cb4a8aa
RD
20714
20715 {
20716#if wxUSE_UNICODE
20717 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
20718#else
20719 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
20720#endif
20721 }
20722 return pyobj;
20723}
20724
20725
c32bde28 20726static int _wrap_PreviewCanvasNameStr_set(PyObject *) {
1cb4a8aa
RD
20727 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
20728 return 1;
20729}
20730
20731
093d3ff1 20732static PyObject *_wrap_PreviewCanvasNameStr_get(void) {
32fe5131 20733 PyObject *pyobj = NULL;
1cb4a8aa
RD
20734
20735 {
20736#if wxUSE_UNICODE
20737 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
20738#else
20739 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
20740#endif
20741 }
20742 return pyobj;
20743}
20744
20745
c32bde28 20746static PyObject *_wrap_new_PrintData__SWIG_0(PyObject *, PyObject *args) {
32fe5131 20747 PyObject *resultobj = NULL;
1cb4a8aa 20748 wxPrintData *result;
1cb4a8aa 20749
11207aef 20750 if(!PyArg_ParseTuple(args,(char *)":new_PrintData")) goto fail;
1cb4a8aa
RD
20751 {
20752 PyThreadState* __tstate = wxPyBeginAllowThreads();
20753 result = (wxPrintData *)new wxPrintData();
20754
20755 wxPyEndAllowThreads(__tstate);
20756 if (PyErr_Occurred()) SWIG_fail;
20757 }
20758 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
20759 return resultobj;
20760 fail:
20761 return NULL;
20762}
20763
20764
c32bde28 20765static PyObject *_wrap_new_PrintData__SWIG_1(PyObject *, PyObject *args) {
32fe5131 20766 PyObject *resultobj = NULL;
11207aef
RD
20767 wxPrintData *arg1 = 0 ;
20768 wxPrintData *result;
20769 PyObject * obj0 = 0 ;
20770
20771 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintData",&obj0)) goto fail;
093d3ff1
RD
20772 {
20773 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20774 if (SWIG_arg_fail(1)) SWIG_fail;
20775 if (arg1 == NULL) {
20776 SWIG_null_ref("wxPrintData");
20777 }
20778 if (SWIG_arg_fail(1)) SWIG_fail;
11207aef
RD
20779 }
20780 {
20781 PyThreadState* __tstate = wxPyBeginAllowThreads();
20782 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
20783
20784 wxPyEndAllowThreads(__tstate);
20785 if (PyErr_Occurred()) SWIG_fail;
20786 }
20787 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
20788 return resultobj;
20789 fail:
20790 return NULL;
20791}
20792
20793
20794static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
20795 int argc;
20796 PyObject *argv[2];
20797 int ii;
20798
20799 argc = PyObject_Length(args);
20800 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
20801 argv[ii] = PyTuple_GetItem(args,ii);
20802 }
20803 if (argc == 0) {
20804 return _wrap_new_PrintData__SWIG_0(self,args);
20805 }
20806 if (argc == 1) {
20807 int _v;
20808 {
093d3ff1 20809 void *ptr = 0;
11207aef
RD
20810 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
20811 _v = 0;
20812 PyErr_Clear();
20813 } else {
093d3ff1 20814 _v = (ptr != 0);
11207aef
RD
20815 }
20816 }
20817 if (_v) {
20818 return _wrap_new_PrintData__SWIG_1(self,args);
20819 }
20820 }
20821
093d3ff1 20822 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
11207aef
RD
20823 return NULL;
20824}
20825
20826
c32bde28 20827static PyObject *_wrap_delete_PrintData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20828 PyObject *resultobj = NULL;
1cb4a8aa
RD
20829 wxPrintData *arg1 = (wxPrintData *) 0 ;
20830 PyObject * obj0 = 0 ;
20831 char *kwnames[] = {
20832 (char *) "self", NULL
20833 };
20834
20835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
093d3ff1
RD
20836 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20837 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
20838 {
20839 PyThreadState* __tstate = wxPyBeginAllowThreads();
20840 delete arg1;
20841
20842 wxPyEndAllowThreads(__tstate);
20843 if (PyErr_Occurred()) SWIG_fail;
20844 }
20845 Py_INCREF(Py_None); resultobj = Py_None;
20846 return resultobj;
20847 fail:
20848 return NULL;
20849}
20850
20851
c32bde28 20852static PyObject *_wrap_PrintData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20853 PyObject *resultobj = NULL;
1cb4a8aa
RD
20854 wxPrintData *arg1 = (wxPrintData *) 0 ;
20855 int result;
20856 PyObject * obj0 = 0 ;
20857 char *kwnames[] = {
20858 (char *) "self", NULL
20859 };
20860
20861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
093d3ff1
RD
20862 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20863 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
20864 {
20865 PyThreadState* __tstate = wxPyBeginAllowThreads();
20866 result = (int)(arg1)->GetNoCopies();
20867
20868 wxPyEndAllowThreads(__tstate);
20869 if (PyErr_Occurred()) SWIG_fail;
20870 }
093d3ff1 20871 {
32fe5131 20872 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 20873 }
1cb4a8aa
RD
20874 return resultobj;
20875 fail:
d14a1e28
RD
20876 return NULL;
20877}
20878
20879
c32bde28 20880static PyObject *_wrap_PrintData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20881 PyObject *resultobj = NULL;
d14a1e28
RD
20882 wxPrintData *arg1 = (wxPrintData *) 0 ;
20883 bool result;
20884 PyObject * obj0 = 0 ;
20885 char *kwnames[] = {
20886 (char *) "self", NULL
20887 };
20888
20889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
093d3ff1
RD
20890 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20891 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20892 {
20893 PyThreadState* __tstate = wxPyBeginAllowThreads();
20894 result = (bool)(arg1)->GetCollate();
20895
20896 wxPyEndAllowThreads(__tstate);
20897 if (PyErr_Occurred()) SWIG_fail;
20898 }
4f89f6a3
RD
20899 {
20900 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20901 }
d14a1e28
RD
20902 return resultobj;
20903 fail:
20904 return NULL;
20905}
20906
20907
c32bde28 20908static PyObject *_wrap_PrintData_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20909 PyObject *resultobj = NULL;
d14a1e28
RD
20910 wxPrintData *arg1 = (wxPrintData *) 0 ;
20911 int result;
20912 PyObject * obj0 = 0 ;
20913 char *kwnames[] = {
20914 (char *) "self", NULL
20915 };
20916
20917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
093d3ff1
RD
20918 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20919 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20920 {
20921 PyThreadState* __tstate = wxPyBeginAllowThreads();
20922 result = (int)(arg1)->GetOrientation();
20923
20924 wxPyEndAllowThreads(__tstate);
20925 if (PyErr_Occurred()) SWIG_fail;
20926 }
093d3ff1 20927 {
32fe5131 20928 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 20929 }
d14a1e28
RD
20930 return resultobj;
20931 fail:
20932 return NULL;
20933}
20934
20935
c32bde28 20936static PyObject *_wrap_PrintData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20937 PyObject *resultobj = NULL;
d14a1e28
RD
20938 wxPrintData *arg1 = (wxPrintData *) 0 ;
20939 bool result;
20940 PyObject * obj0 = 0 ;
20941 char *kwnames[] = {
20942 (char *) "self", NULL
20943 };
20944
20945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
093d3ff1
RD
20946 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20947 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20948 {
20949 PyThreadState* __tstate = wxPyBeginAllowThreads();
20950 result = (bool)(arg1)->Ok();
20951
20952 wxPyEndAllowThreads(__tstate);
20953 if (PyErr_Occurred()) SWIG_fail;
20954 }
4f89f6a3
RD
20955 {
20956 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20957 }
d14a1e28
RD
20958 return resultobj;
20959 fail:
20960 return NULL;
20961}
20962
20963
c32bde28 20964static PyObject *_wrap_PrintData_GetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20965 PyObject *resultobj = NULL;
d14a1e28
RD
20966 wxPrintData *arg1 = (wxPrintData *) 0 ;
20967 wxString *result;
20968 PyObject * obj0 = 0 ;
20969 char *kwnames[] = {
20970 (char *) "self", NULL
20971 };
20972
20973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
093d3ff1
RD
20974 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20975 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20976 {
20977 PyThreadState* __tstate = wxPyBeginAllowThreads();
20978 {
20979 wxString const &_result_ref = (arg1)->GetPrinterName();
20980 result = (wxString *) &_result_ref;
20981 }
20982
20983 wxPyEndAllowThreads(__tstate);
20984 if (PyErr_Occurred()) SWIG_fail;
20985 }
cc6dd355
RD
20986 {
20987#if wxUSE_UNICODE
20988 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20989#else
20990 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20991#endif
20992 }
d14a1e28
RD
20993 return resultobj;
20994 fail:
20995 return NULL;
20996}
20997
20998
c32bde28 20999static PyObject *_wrap_PrintData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21000 PyObject *resultobj = NULL;
d14a1e28
RD
21001 wxPrintData *arg1 = (wxPrintData *) 0 ;
21002 bool result;
21003 PyObject * obj0 = 0 ;
21004 char *kwnames[] = {
21005 (char *) "self", NULL
21006 };
21007
21008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
21009 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21010 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21011 {
21012 PyThreadState* __tstate = wxPyBeginAllowThreads();
21013 result = (bool)(arg1)->GetColour();
21014
21015 wxPyEndAllowThreads(__tstate);
21016 if (PyErr_Occurred()) SWIG_fail;
21017 }
4f89f6a3
RD
21018 {
21019 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21020 }
d14a1e28
RD
21021 return resultobj;
21022 fail:
21023 return NULL;
21024}
21025
21026
c32bde28 21027static PyObject *_wrap_PrintData_GetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21028 PyObject *resultobj = NULL;
d14a1e28 21029 wxPrintData *arg1 = (wxPrintData *) 0 ;
093d3ff1 21030 wxDuplexMode result;
d14a1e28
RD
21031 PyObject * obj0 = 0 ;
21032 char *kwnames[] = {
21033 (char *) "self", NULL
21034 };
21035
21036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
093d3ff1
RD
21037 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21038 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21039 {
21040 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 21041 result = (wxDuplexMode)(arg1)->GetDuplex();
d14a1e28
RD
21042
21043 wxPyEndAllowThreads(__tstate);
21044 if (PyErr_Occurred()) SWIG_fail;
21045 }
093d3ff1 21046 resultobj = SWIG_From_int((result));
d14a1e28
RD
21047 return resultobj;
21048 fail:
21049 return NULL;
21050}
21051
21052
c32bde28 21053static PyObject *_wrap_PrintData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21054 PyObject *resultobj = NULL;
d14a1e28 21055 wxPrintData *arg1 = (wxPrintData *) 0 ;
093d3ff1 21056 wxPaperSize result;
d14a1e28
RD
21057 PyObject * obj0 = 0 ;
21058 char *kwnames[] = {
21059 (char *) "self", NULL
21060 };
21061
21062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
093d3ff1
RD
21063 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21064 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21065 {
21066 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 21067 result = (wxPaperSize)(arg1)->GetPaperId();
d14a1e28
RD
21068
21069 wxPyEndAllowThreads(__tstate);
21070 if (PyErr_Occurred()) SWIG_fail;
21071 }
093d3ff1 21072 resultobj = SWIG_From_int((result));
d14a1e28
RD
21073 return resultobj;
21074 fail:
21075 return NULL;
21076}
21077
21078
c32bde28 21079static PyObject *_wrap_PrintData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21080 PyObject *resultobj = NULL;
d14a1e28
RD
21081 wxPrintData *arg1 = (wxPrintData *) 0 ;
21082 wxSize *result;
21083 PyObject * obj0 = 0 ;
21084 char *kwnames[] = {
21085 (char *) "self", NULL
21086 };
21087
21088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
21089 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21090 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21091 {
21092 PyThreadState* __tstate = wxPyBeginAllowThreads();
21093 {
21094 wxSize const &_result_ref = (arg1)->GetPaperSize();
21095 result = (wxSize *) &_result_ref;
21096 }
21097
21098 wxPyEndAllowThreads(__tstate);
21099 if (PyErr_Occurred()) SWIG_fail;
21100 }
15afbcd0 21101 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
d14a1e28
RD
21102 return resultobj;
21103 fail:
21104 return NULL;
21105}
21106
21107
c32bde28 21108static PyObject *_wrap_PrintData_GetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21109 PyObject *resultobj = NULL;
d14a1e28 21110 wxPrintData *arg1 = (wxPrintData *) 0 ;
b2dc1044 21111 int result;
d14a1e28
RD
21112 PyObject * obj0 = 0 ;
21113 char *kwnames[] = {
21114 (char *) "self", NULL
21115 };
21116
21117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
093d3ff1
RD
21118 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21119 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21120 {
21121 PyThreadState* __tstate = wxPyBeginAllowThreads();
b2dc1044 21122 result = (int)(arg1)->GetQuality();
d14a1e28
RD
21123
21124 wxPyEndAllowThreads(__tstate);
21125 if (PyErr_Occurred()) SWIG_fail;
21126 }
093d3ff1 21127 {
32fe5131 21128 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 21129 }
d14a1e28
RD
21130 return resultobj;
21131 fail:
21132 return NULL;
21133}
21134
21135
2ef75293 21136static PyObject *_wrap_PrintData_GetBin(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21137 PyObject *resultobj = NULL;
2ef75293 21138 wxPrintData *arg1 = (wxPrintData *) 0 ;
093d3ff1 21139 wxPrintBin result;
2ef75293
RD
21140 PyObject * obj0 = 0 ;
21141 char *kwnames[] = {
21142 (char *) "self", NULL
21143 };
21144
21145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetBin",kwnames,&obj0)) goto fail;
093d3ff1
RD
21146 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21147 if (SWIG_arg_fail(1)) SWIG_fail;
2ef75293
RD
21148 {
21149 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 21150 result = (wxPrintBin)(arg1)->GetBin();
2ef75293
RD
21151
21152 wxPyEndAllowThreads(__tstate);
21153 if (PyErr_Occurred()) SWIG_fail;
21154 }
093d3ff1 21155 resultobj = SWIG_From_int((result));
2ef75293
RD
21156 return resultobj;
21157 fail:
21158 return NULL;
21159}
21160
21161
d3b6e4ff 21162static PyObject *_wrap_PrintData_GetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21163 PyObject *resultobj = NULL;
d3b6e4ff 21164 wxPrintData *arg1 = (wxPrintData *) 0 ;
093d3ff1 21165 wxPrintMode result;
d3b6e4ff
RD
21166 PyObject * obj0 = 0 ;
21167 char *kwnames[] = {
21168 (char *) "self", NULL
21169 };
21170
21171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
093d3ff1
RD
21172 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21173 if (SWIG_arg_fail(1)) SWIG_fail;
d3b6e4ff
RD
21174 {
21175 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 21176 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
d3b6e4ff
RD
21177
21178 wxPyEndAllowThreads(__tstate);
21179 if (PyErr_Occurred()) SWIG_fail;
21180 }
093d3ff1 21181 resultobj = SWIG_From_int((result));
d3b6e4ff
RD
21182 return resultobj;
21183 fail:
21184 return NULL;
21185}
21186
21187
c32bde28 21188static PyObject *_wrap_PrintData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21189 PyObject *resultobj = NULL;
d14a1e28
RD
21190 wxPrintData *arg1 = (wxPrintData *) 0 ;
21191 int arg2 ;
21192 PyObject * obj0 = 0 ;
994141e6 21193 PyObject * obj1 = 0 ;
d14a1e28
RD
21194 char *kwnames[] = {
21195 (char *) "self",(char *) "v", NULL
21196 };
21197
994141e6 21198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21199 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21200 if (SWIG_arg_fail(1)) SWIG_fail;
21201 {
32fe5131 21202 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21203 if (SWIG_arg_fail(2)) SWIG_fail;
21204 }
d14a1e28
RD
21205 {
21206 PyThreadState* __tstate = wxPyBeginAllowThreads();
21207 (arg1)->SetNoCopies(arg2);
21208
21209 wxPyEndAllowThreads(__tstate);
21210 if (PyErr_Occurred()) SWIG_fail;
21211 }
21212 Py_INCREF(Py_None); resultobj = Py_None;
21213 return resultobj;
21214 fail:
21215 return NULL;
21216}
21217
21218
c32bde28 21219static PyObject *_wrap_PrintData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21220 PyObject *resultobj = NULL;
d14a1e28
RD
21221 wxPrintData *arg1 = (wxPrintData *) 0 ;
21222 bool arg2 ;
21223 PyObject * obj0 = 0 ;
21224 PyObject * obj1 = 0 ;
21225 char *kwnames[] = {
21226 (char *) "self",(char *) "flag", NULL
21227 };
21228
21229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21230 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21231 if (SWIG_arg_fail(1)) SWIG_fail;
21232 {
32fe5131 21233 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
21234 if (SWIG_arg_fail(2)) SWIG_fail;
21235 }
d14a1e28
RD
21236 {
21237 PyThreadState* __tstate = wxPyBeginAllowThreads();
21238 (arg1)->SetCollate(arg2);
21239
21240 wxPyEndAllowThreads(__tstate);
21241 if (PyErr_Occurred()) SWIG_fail;
21242 }
21243 Py_INCREF(Py_None); resultobj = Py_None;
21244 return resultobj;
21245 fail:
21246 return NULL;
21247}
21248
21249
c32bde28 21250static PyObject *_wrap_PrintData_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21251 PyObject *resultobj = NULL;
d14a1e28
RD
21252 wxPrintData *arg1 = (wxPrintData *) 0 ;
21253 int arg2 ;
21254 PyObject * obj0 = 0 ;
994141e6 21255 PyObject * obj1 = 0 ;
d14a1e28
RD
21256 char *kwnames[] = {
21257 (char *) "self",(char *) "orient", NULL
21258 };
21259
994141e6 21260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21261 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21262 if (SWIG_arg_fail(1)) SWIG_fail;
21263 {
32fe5131 21264 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21265 if (SWIG_arg_fail(2)) SWIG_fail;
21266 }
d14a1e28
RD
21267 {
21268 PyThreadState* __tstate = wxPyBeginAllowThreads();
21269 (arg1)->SetOrientation(arg2);
21270
21271 wxPyEndAllowThreads(__tstate);
21272 if (PyErr_Occurred()) SWIG_fail;
21273 }
21274 Py_INCREF(Py_None); resultobj = Py_None;
21275 return resultobj;
21276 fail:
21277 return NULL;
21278}
21279
21280
c32bde28 21281static PyObject *_wrap_PrintData_SetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21282 PyObject *resultobj = NULL;
d14a1e28
RD
21283 wxPrintData *arg1 = (wxPrintData *) 0 ;
21284 wxString *arg2 = 0 ;
ae8162c8 21285 bool temp2 = false ;
d14a1e28
RD
21286 PyObject * obj0 = 0 ;
21287 PyObject * obj1 = 0 ;
21288 char *kwnames[] = {
21289 (char *) "self",(char *) "name", NULL
21290 };
21291
21292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21293 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21294 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21295 {
21296 arg2 = wxString_in_helper(obj1);
21297 if (arg2 == NULL) SWIG_fail;
ae8162c8 21298 temp2 = true;
d14a1e28
RD
21299 }
21300 {
21301 PyThreadState* __tstate = wxPyBeginAllowThreads();
21302 (arg1)->SetPrinterName((wxString const &)*arg2);
21303
21304 wxPyEndAllowThreads(__tstate);
21305 if (PyErr_Occurred()) SWIG_fail;
21306 }
21307 Py_INCREF(Py_None); resultobj = Py_None;
21308 {
21309 if (temp2)
21310 delete arg2;
21311 }
21312 return resultobj;
21313 fail:
21314 {
21315 if (temp2)
21316 delete arg2;
21317 }
21318 return NULL;
21319}
21320
21321
c32bde28 21322static PyObject *_wrap_PrintData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21323 PyObject *resultobj = NULL;
d14a1e28
RD
21324 wxPrintData *arg1 = (wxPrintData *) 0 ;
21325 bool arg2 ;
21326 PyObject * obj0 = 0 ;
21327 PyObject * obj1 = 0 ;
21328 char *kwnames[] = {
21329 (char *) "self",(char *) "colour", NULL
21330 };
21331
21332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21333 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21334 if (SWIG_arg_fail(1)) SWIG_fail;
21335 {
32fe5131 21336 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
21337 if (SWIG_arg_fail(2)) SWIG_fail;
21338 }
d14a1e28
RD
21339 {
21340 PyThreadState* __tstate = wxPyBeginAllowThreads();
21341 (arg1)->SetColour(arg2);
21342
21343 wxPyEndAllowThreads(__tstate);
21344 if (PyErr_Occurred()) SWIG_fail;
21345 }
21346 Py_INCREF(Py_None); resultobj = Py_None;
21347 return resultobj;
21348 fail:
21349 return NULL;
21350}
21351
21352
c32bde28 21353static PyObject *_wrap_PrintData_SetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21354 PyObject *resultobj = NULL;
d14a1e28 21355 wxPrintData *arg1 = (wxPrintData *) 0 ;
093d3ff1 21356 wxDuplexMode arg2 ;
d14a1e28 21357 PyObject * obj0 = 0 ;
994141e6 21358 PyObject * obj1 = 0 ;
d14a1e28
RD
21359 char *kwnames[] = {
21360 (char *) "self",(char *) "duplex", NULL
21361 };
21362
994141e6 21363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21364 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21365 if (SWIG_arg_fail(1)) SWIG_fail;
21366 {
32fe5131 21367 arg2 = static_cast<wxDuplexMode >(SWIG_As_int(obj1));
093d3ff1
RD
21368 if (SWIG_arg_fail(2)) SWIG_fail;
21369 }
d14a1e28
RD
21370 {
21371 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 21372 (arg1)->SetDuplex(arg2);
d14a1e28
RD
21373
21374 wxPyEndAllowThreads(__tstate);
21375 if (PyErr_Occurred()) SWIG_fail;
21376 }
21377 Py_INCREF(Py_None); resultobj = Py_None;
21378 return resultobj;
21379 fail:
21380 return NULL;
21381}
21382
21383
c32bde28 21384static PyObject *_wrap_PrintData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21385 PyObject *resultobj = NULL;
d14a1e28 21386 wxPrintData *arg1 = (wxPrintData *) 0 ;
093d3ff1 21387 wxPaperSize arg2 ;
d14a1e28 21388 PyObject * obj0 = 0 ;
994141e6 21389 PyObject * obj1 = 0 ;
d14a1e28
RD
21390 char *kwnames[] = {
21391 (char *) "self",(char *) "sizeId", NULL
21392 };
21393
994141e6 21394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21395 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21396 if (SWIG_arg_fail(1)) SWIG_fail;
21397 {
32fe5131 21398 arg2 = static_cast<wxPaperSize >(SWIG_As_int(obj1));
093d3ff1
RD
21399 if (SWIG_arg_fail(2)) SWIG_fail;
21400 }
d14a1e28
RD
21401 {
21402 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 21403 (arg1)->SetPaperId(arg2);
d14a1e28
RD
21404
21405 wxPyEndAllowThreads(__tstate);
21406 if (PyErr_Occurred()) SWIG_fail;
21407 }
21408 Py_INCREF(Py_None); resultobj = Py_None;
21409 return resultobj;
21410 fail:
21411 return NULL;
21412}
21413
21414
c32bde28 21415static PyObject *_wrap_PrintData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21416 PyObject *resultobj = NULL;
d14a1e28
RD
21417 wxPrintData *arg1 = (wxPrintData *) 0 ;
21418 wxSize *arg2 = 0 ;
21419 wxSize temp2 ;
21420 PyObject * obj0 = 0 ;
21421 PyObject * obj1 = 0 ;
21422 char *kwnames[] = {
21423 (char *) "self",(char *) "sz", NULL
21424 };
21425
21426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21427 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21428 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21429 {
21430 arg2 = &temp2;
21431 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21432 }
21433 {
21434 PyThreadState* __tstate = wxPyBeginAllowThreads();
21435 (arg1)->SetPaperSize((wxSize const &)*arg2);
21436
21437 wxPyEndAllowThreads(__tstate);
21438 if (PyErr_Occurred()) SWIG_fail;
21439 }
21440 Py_INCREF(Py_None); resultobj = Py_None;
21441 return resultobj;
21442 fail:
21443 return NULL;
21444}
21445
21446
c32bde28 21447static PyObject *_wrap_PrintData_SetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21448 PyObject *resultobj = NULL;
d14a1e28 21449 wxPrintData *arg1 = (wxPrintData *) 0 ;
b2dc1044 21450 int arg2 ;
d14a1e28 21451 PyObject * obj0 = 0 ;
994141e6 21452 PyObject * obj1 = 0 ;
d14a1e28
RD
21453 char *kwnames[] = {
21454 (char *) "self",(char *) "quality", NULL
21455 };
21456
994141e6 21457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21459 if (SWIG_arg_fail(1)) SWIG_fail;
21460 {
32fe5131 21461 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21462 if (SWIG_arg_fail(2)) SWIG_fail;
21463 }
d14a1e28
RD
21464 {
21465 PyThreadState* __tstate = wxPyBeginAllowThreads();
21466 (arg1)->SetQuality(arg2);
21467
21468 wxPyEndAllowThreads(__tstate);
21469 if (PyErr_Occurred()) SWIG_fail;
21470 }
21471 Py_INCREF(Py_None); resultobj = Py_None;
21472 return resultobj;
21473 fail:
21474 return NULL;
21475}
21476
21477
2ef75293 21478static PyObject *_wrap_PrintData_SetBin(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21479 PyObject *resultobj = NULL;
2ef75293 21480 wxPrintData *arg1 = (wxPrintData *) 0 ;
093d3ff1 21481 wxPrintBin arg2 ;
2ef75293
RD
21482 PyObject * obj0 = 0 ;
21483 PyObject * obj1 = 0 ;
21484 char *kwnames[] = {
21485 (char *) "self",(char *) "bin", NULL
21486 };
21487
21488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21489 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21490 if (SWIG_arg_fail(1)) SWIG_fail;
21491 {
32fe5131 21492 arg2 = static_cast<wxPrintBin >(SWIG_As_int(obj1));
093d3ff1
RD
21493 if (SWIG_arg_fail(2)) SWIG_fail;
21494 }
2ef75293
RD
21495 {
21496 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 21497 (arg1)->SetBin(arg2);
2ef75293
RD
21498
21499 wxPyEndAllowThreads(__tstate);
21500 if (PyErr_Occurred()) SWIG_fail;
21501 }
21502 Py_INCREF(Py_None); resultobj = Py_None;
21503 return resultobj;
21504 fail:
21505 return NULL;
21506}
21507
21508
d3b6e4ff 21509static PyObject *_wrap_PrintData_SetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21510 PyObject *resultobj = NULL;
d14a1e28 21511 wxPrintData *arg1 = (wxPrintData *) 0 ;
093d3ff1 21512 wxPrintMode arg2 ;
d3b6e4ff
RD
21513 PyObject * obj0 = 0 ;
21514 PyObject * obj1 = 0 ;
21515 char *kwnames[] = {
21516 (char *) "self",(char *) "printMode", NULL
21517 };
21518
21519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21520 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21521 if (SWIG_arg_fail(1)) SWIG_fail;
21522 {
32fe5131 21523 arg2 = static_cast<wxPrintMode >(SWIG_As_int(obj1));
093d3ff1
RD
21524 if (SWIG_arg_fail(2)) SWIG_fail;
21525 }
d3b6e4ff
RD
21526 {
21527 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 21528 (arg1)->SetPrintMode(arg2);
d3b6e4ff
RD
21529
21530 wxPyEndAllowThreads(__tstate);
21531 if (PyErr_Occurred()) SWIG_fail;
21532 }
21533 Py_INCREF(Py_None); resultobj = Py_None;
21534 return resultobj;
21535 fail:
21536 return NULL;
21537}
21538
21539
21540static PyObject *_wrap_PrintData_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21541 PyObject *resultobj = NULL;
d3b6e4ff
RD
21542 wxPrintData *arg1 = (wxPrintData *) 0 ;
21543 wxString result;
d14a1e28
RD
21544 PyObject * obj0 = 0 ;
21545 char *kwnames[] = {
21546 (char *) "self", NULL
21547 };
21548
d3b6e4ff 21549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
093d3ff1
RD
21550 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21551 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21552 {
21553 PyThreadState* __tstate = wxPyBeginAllowThreads();
d3b6e4ff 21554 result = ((wxPrintData const *)arg1)->GetFilename();
d14a1e28
RD
21555
21556 wxPyEndAllowThreads(__tstate);
21557 if (PyErr_Occurred()) SWIG_fail;
21558 }
cc6dd355
RD
21559 {
21560#if wxUSE_UNICODE
d3b6e4ff 21561 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
cc6dd355 21562#else
d3b6e4ff 21563 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
cc6dd355
RD
21564#endif
21565 }
d14a1e28
RD
21566 return resultobj;
21567 fail:
21568 return NULL;
21569}
21570
21571
d3b6e4ff 21572static PyObject *_wrap_PrintData_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21573 PyObject *resultobj = NULL;
d3b6e4ff
RD
21574 wxPrintData *arg1 = (wxPrintData *) 0 ;
21575 wxString *arg2 = 0 ;
21576 bool temp2 = false ;
21577 PyObject * obj0 = 0 ;
21578 PyObject * obj1 = 0 ;
21579 char *kwnames[] = {
21580 (char *) "self",(char *) "filename", NULL
21581 };
21582
21583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21584 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21585 if (SWIG_arg_fail(1)) SWIG_fail;
d3b6e4ff
RD
21586 {
21587 arg2 = wxString_in_helper(obj1);
21588 if (arg2 == NULL) SWIG_fail;
21589 temp2 = true;
21590 }
21591 {
21592 PyThreadState* __tstate = wxPyBeginAllowThreads();
21593 (arg1)->SetFilename((wxString const &)*arg2);
21594
21595 wxPyEndAllowThreads(__tstate);
21596 if (PyErr_Occurred()) SWIG_fail;
21597 }
21598 Py_INCREF(Py_None); resultobj = Py_None;
21599 {
21600 if (temp2)
21601 delete arg2;
21602 }
21603 return resultobj;
21604 fail:
21605 {
21606 if (temp2)
21607 delete arg2;
21608 }
21609 return NULL;
21610}
21611
21612
b9d6a5f3 21613static PyObject *_wrap_PrintData_GetPrivData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21614 PyObject *resultobj = NULL;
b9d6a5f3
RD
21615 wxPrintData *arg1 = (wxPrintData *) 0 ;
21616 PyObject *result;
21617 PyObject * obj0 = 0 ;
21618 char *kwnames[] = {
21619 (char *) "self", NULL
21620 };
21621
21622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrivData",kwnames,&obj0)) goto fail;
21623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21624 if (SWIG_arg_fail(1)) SWIG_fail;
21625 {
21626 PyThreadState* __tstate = wxPyBeginAllowThreads();
21627 result = (PyObject *)wxPrintData_GetPrivData(arg1);
21628
21629 wxPyEndAllowThreads(__tstate);
21630 if (PyErr_Occurred()) SWIG_fail;
21631 }
21632 resultobj = result;
21633 return resultobj;
21634 fail:
21635 return NULL;
21636}
21637
21638
21639static PyObject *_wrap_PrintData_SetPrivData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21640 PyObject *resultobj = NULL;
b9d6a5f3
RD
21641 wxPrintData *arg1 = (wxPrintData *) 0 ;
21642 PyObject *arg2 = (PyObject *) 0 ;
21643 PyObject * obj0 = 0 ;
21644 PyObject * obj1 = 0 ;
21645 char *kwnames[] = {
21646 (char *) "self",(char *) "data", NULL
21647 };
21648
21649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) goto fail;
21650 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21651 if (SWIG_arg_fail(1)) SWIG_fail;
21652 arg2 = obj1;
21653 {
21654 PyThreadState* __tstate = wxPyBeginAllowThreads();
21655 wxPrintData_SetPrivData(arg1,arg2);
21656
21657 wxPyEndAllowThreads(__tstate);
21658 if (PyErr_Occurred()) SWIG_fail;
21659 }
21660 Py_INCREF(Py_None); resultobj = Py_None;
21661 return resultobj;
21662 fail:
21663 return NULL;
21664}
21665
21666
c32bde28 21667static PyObject * PrintData_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
21668 PyObject *obj;
21669 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21670 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
21671 Py_INCREF(obj);
21672 return Py_BuildValue((char *)"");
21673}
c32bde28 21674static PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *, PyObject *args) {
32fe5131 21675 PyObject *resultobj = NULL;
d14a1e28 21676 wxPageSetupDialogData *result;
d14a1e28 21677
11207aef 21678 if(!PyArg_ParseTuple(args,(char *)":new_PageSetupDialogData")) goto fail;
d14a1e28
RD
21679 {
21680 PyThreadState* __tstate = wxPyBeginAllowThreads();
21681 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
21682
21683 wxPyEndAllowThreads(__tstate);
21684 if (PyErr_Occurred()) SWIG_fail;
21685 }
15afbcd0 21686 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
d14a1e28
RD
21687 return resultobj;
21688 fail:
21689 return NULL;
21690}
21691
21692
c32bde28 21693static PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *, PyObject *args) {
32fe5131 21694 PyObject *resultobj = NULL;
11207aef
RD
21695 wxPageSetupDialogData *arg1 = 0 ;
21696 wxPageSetupDialogData *result;
21697 PyObject * obj0 = 0 ;
21698
21699 if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail;
093d3ff1
RD
21700 {
21701 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21702 if (SWIG_arg_fail(1)) SWIG_fail;
21703 if (arg1 == NULL) {
21704 SWIG_null_ref("wxPageSetupDialogData");
21705 }
21706 if (SWIG_arg_fail(1)) SWIG_fail;
11207aef
RD
21707 }
21708 {
21709 PyThreadState* __tstate = wxPyBeginAllowThreads();
21710 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
21711
21712 wxPyEndAllowThreads(__tstate);
21713 if (PyErr_Occurred()) SWIG_fail;
21714 }
21715 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
21716 return resultobj;
21717 fail:
21718 return NULL;
21719}
21720
21721
7557b9b5 21722static PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *, PyObject *args) {
32fe5131 21723 PyObject *resultobj = NULL;
7557b9b5
RD
21724 wxPrintData *arg1 = 0 ;
21725 wxPageSetupDialogData *result;
21726 PyObject * obj0 = 0 ;
21727
21728 if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail;
21729 {
21730 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21731 if (SWIG_arg_fail(1)) SWIG_fail;
21732 if (arg1 == NULL) {
21733 SWIG_null_ref("wxPrintData");
21734 }
21735 if (SWIG_arg_fail(1)) SWIG_fail;
21736 }
21737 {
21738 PyThreadState* __tstate = wxPyBeginAllowThreads();
21739 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
21740
21741 wxPyEndAllowThreads(__tstate);
21742 if (PyErr_Occurred()) SWIG_fail;
21743 }
21744 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
21745 return resultobj;
21746 fail:
21747 return NULL;
21748}
21749
21750
11207aef
RD
21751static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
21752 int argc;
21753 PyObject *argv[2];
21754 int ii;
21755
21756 argc = PyObject_Length(args);
21757 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
21758 argv[ii] = PyTuple_GetItem(args,ii);
21759 }
21760 if (argc == 0) {
21761 return _wrap_new_PageSetupDialogData__SWIG_0(self,args);
21762 }
21763 if (argc == 1) {
21764 int _v;
21765 {
093d3ff1 21766 void *ptr = 0;
11207aef
RD
21767 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPageSetupDialogData, 0) == -1) {
21768 _v = 0;
21769 PyErr_Clear();
21770 } else {
093d3ff1 21771 _v = (ptr != 0);
11207aef
RD
21772 }
21773 }
21774 if (_v) {
21775 return _wrap_new_PageSetupDialogData__SWIG_1(self,args);
21776 }
21777 }
7557b9b5
RD
21778 if (argc == 1) {
21779 int _v;
21780 {
21781 void *ptr = 0;
21782 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
21783 _v = 0;
21784 PyErr_Clear();
21785 } else {
21786 _v = (ptr != 0);
21787 }
21788 }
21789 if (_v) {
21790 return _wrap_new_PageSetupDialogData__SWIG_2(self,args);
21791 }
21792 }
11207aef 21793
093d3ff1 21794 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
11207aef
RD
21795 return NULL;
21796}
21797
21798
c32bde28 21799static PyObject *_wrap_delete_PageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21800 PyObject *resultobj = NULL;
d14a1e28
RD
21801 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21802 PyObject * obj0 = 0 ;
21803 char *kwnames[] = {
21804 (char *) "self", NULL
21805 };
21806
21807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
093d3ff1
RD
21808 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21809 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21810 {
21811 PyThreadState* __tstate = wxPyBeginAllowThreads();
21812 delete arg1;
21813
21814 wxPyEndAllowThreads(__tstate);
21815 if (PyErr_Occurred()) SWIG_fail;
21816 }
21817 Py_INCREF(Py_None); resultobj = Py_None;
21818 return resultobj;
21819 fail:
21820 return NULL;
21821}
21822
21823
c32bde28 21824static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21825 PyObject *resultobj = NULL;
d14a1e28
RD
21826 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21827 bool arg2 ;
21828 PyObject * obj0 = 0 ;
21829 PyObject * obj1 = 0 ;
21830 char *kwnames[] = {
21831 (char *) "self",(char *) "flag", NULL
21832 };
21833
21834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21835 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21836 if (SWIG_arg_fail(1)) SWIG_fail;
21837 {
32fe5131 21838 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
21839 if (SWIG_arg_fail(2)) SWIG_fail;
21840 }
d14a1e28
RD
21841 {
21842 PyThreadState* __tstate = wxPyBeginAllowThreads();
21843 (arg1)->EnableHelp(arg2);
21844
21845 wxPyEndAllowThreads(__tstate);
21846 if (PyErr_Occurred()) SWIG_fail;
21847 }
21848 Py_INCREF(Py_None); resultobj = Py_None;
21849 return resultobj;
21850 fail:
21851 return NULL;
21852}
21853
21854
c32bde28 21855static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21856 PyObject *resultobj = NULL;
d14a1e28
RD
21857 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21858 bool arg2 ;
21859 PyObject * obj0 = 0 ;
21860 PyObject * obj1 = 0 ;
21861 char *kwnames[] = {
21862 (char *) "self",(char *) "flag", NULL
21863 };
21864
21865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21866 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21867 if (SWIG_arg_fail(1)) SWIG_fail;
21868 {
32fe5131 21869 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
21870 if (SWIG_arg_fail(2)) SWIG_fail;
21871 }
d14a1e28
RD
21872 {
21873 PyThreadState* __tstate = wxPyBeginAllowThreads();
21874 (arg1)->EnableMargins(arg2);
21875
21876 wxPyEndAllowThreads(__tstate);
21877 if (PyErr_Occurred()) SWIG_fail;
21878 }
21879 Py_INCREF(Py_None); resultobj = Py_None;
21880 return resultobj;
21881 fail:
21882 return NULL;
21883}
21884
21885
c32bde28 21886static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21887 PyObject *resultobj = NULL;
d14a1e28
RD
21888 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21889 bool arg2 ;
21890 PyObject * obj0 = 0 ;
21891 PyObject * obj1 = 0 ;
21892 char *kwnames[] = {
21893 (char *) "self",(char *) "flag", NULL
21894 };
21895
21896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21897 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21898 if (SWIG_arg_fail(1)) SWIG_fail;
21899 {
32fe5131 21900 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
21901 if (SWIG_arg_fail(2)) SWIG_fail;
21902 }
d14a1e28
RD
21903 {
21904 PyThreadState* __tstate = wxPyBeginAllowThreads();
21905 (arg1)->EnableOrientation(arg2);
21906
21907 wxPyEndAllowThreads(__tstate);
21908 if (PyErr_Occurred()) SWIG_fail;
21909 }
21910 Py_INCREF(Py_None); resultobj = Py_None;
21911 return resultobj;
21912 fail:
21913 return NULL;
21914}
21915
21916
c32bde28 21917static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21918 PyObject *resultobj = NULL;
d14a1e28
RD
21919 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21920 bool arg2 ;
21921 PyObject * obj0 = 0 ;
21922 PyObject * obj1 = 0 ;
21923 char *kwnames[] = {
21924 (char *) "self",(char *) "flag", NULL
21925 };
21926
21927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21928 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21929 if (SWIG_arg_fail(1)) SWIG_fail;
21930 {
32fe5131 21931 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
21932 if (SWIG_arg_fail(2)) SWIG_fail;
21933 }
d14a1e28
RD
21934 {
21935 PyThreadState* __tstate = wxPyBeginAllowThreads();
21936 (arg1)->EnablePaper(arg2);
21937
21938 wxPyEndAllowThreads(__tstate);
21939 if (PyErr_Occurred()) SWIG_fail;
21940 }
21941 Py_INCREF(Py_None); resultobj = Py_None;
21942 return resultobj;
21943 fail:
21944 return NULL;
21945}
21946
21947
c32bde28 21948static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21949 PyObject *resultobj = NULL;
d14a1e28
RD
21950 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21951 bool arg2 ;
21952 PyObject * obj0 = 0 ;
21953 PyObject * obj1 = 0 ;
21954 char *kwnames[] = {
21955 (char *) "self",(char *) "flag", NULL
21956 };
21957
21958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21959 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21960 if (SWIG_arg_fail(1)) SWIG_fail;
21961 {
32fe5131 21962 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
21963 if (SWIG_arg_fail(2)) SWIG_fail;
21964 }
d14a1e28
RD
21965 {
21966 PyThreadState* __tstate = wxPyBeginAllowThreads();
21967 (arg1)->EnablePrinter(arg2);
21968
21969 wxPyEndAllowThreads(__tstate);
21970 if (PyErr_Occurred()) SWIG_fail;
21971 }
21972 Py_INCREF(Py_None); resultobj = Py_None;
21973 return resultobj;
21974 fail:
21975 return NULL;
21976}
21977
21978
c32bde28 21979static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21980 PyObject *resultobj = NULL;
d14a1e28
RD
21981 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21982 bool result;
21983 PyObject * obj0 = 0 ;
21984 char *kwnames[] = {
21985 (char *) "self", NULL
21986 };
21987
21988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
093d3ff1
RD
21989 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21990 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21991 {
21992 PyThreadState* __tstate = wxPyBeginAllowThreads();
21993 result = (bool)(arg1)->GetDefaultMinMargins();
21994
21995 wxPyEndAllowThreads(__tstate);
21996 if (PyErr_Occurred()) SWIG_fail;
21997 }
4f89f6a3
RD
21998 {
21999 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22000 }
d14a1e28
RD
22001 return resultobj;
22002 fail:
22003 return NULL;
22004}
22005
22006
c32bde28 22007static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22008 PyObject *resultobj = NULL;
d14a1e28
RD
22009 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22010 bool result;
22011 PyObject * obj0 = 0 ;
22012 char *kwnames[] = {
22013 (char *) "self", NULL
22014 };
22015
22016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
093d3ff1
RD
22017 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22018 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22019 {
22020 PyThreadState* __tstate = wxPyBeginAllowThreads();
22021 result = (bool)(arg1)->GetEnableMargins();
22022
22023 wxPyEndAllowThreads(__tstate);
22024 if (PyErr_Occurred()) SWIG_fail;
22025 }
4f89f6a3
RD
22026 {
22027 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22028 }
d14a1e28
RD
22029 return resultobj;
22030 fail:
22031 return NULL;
22032}
22033
22034
c32bde28 22035static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22036 PyObject *resultobj = NULL;
d14a1e28
RD
22037 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22038 bool result;
22039 PyObject * obj0 = 0 ;
22040 char *kwnames[] = {
22041 (char *) "self", NULL
22042 };
22043
22044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
093d3ff1
RD
22045 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22046 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22047 {
22048 PyThreadState* __tstate = wxPyBeginAllowThreads();
22049 result = (bool)(arg1)->GetEnableOrientation();
22050
22051 wxPyEndAllowThreads(__tstate);
22052 if (PyErr_Occurred()) SWIG_fail;
22053 }
4f89f6a3
RD
22054 {
22055 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22056 }
d14a1e28
RD
22057 return resultobj;
22058 fail:
22059 return NULL;
22060}
22061
22062
c32bde28 22063static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22064 PyObject *resultobj = NULL;
d14a1e28
RD
22065 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22066 bool result;
22067 PyObject * obj0 = 0 ;
22068 char *kwnames[] = {
22069 (char *) "self", NULL
22070 };
22071
22072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
093d3ff1
RD
22073 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22074 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22075 {
22076 PyThreadState* __tstate = wxPyBeginAllowThreads();
22077 result = (bool)(arg1)->GetEnablePaper();
22078
22079 wxPyEndAllowThreads(__tstate);
22080 if (PyErr_Occurred()) SWIG_fail;
22081 }
4f89f6a3
RD
22082 {
22083 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22084 }
d14a1e28
RD
22085 return resultobj;
22086 fail:
22087 return NULL;
22088}
22089
22090
c32bde28 22091static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22092 PyObject *resultobj = NULL;
d14a1e28
RD
22093 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22094 bool result;
22095 PyObject * obj0 = 0 ;
22096 char *kwnames[] = {
22097 (char *) "self", NULL
22098 };
22099
22100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
093d3ff1
RD
22101 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22102 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22103 {
22104 PyThreadState* __tstate = wxPyBeginAllowThreads();
22105 result = (bool)(arg1)->GetEnablePrinter();
22106
22107 wxPyEndAllowThreads(__tstate);
22108 if (PyErr_Occurred()) SWIG_fail;
22109 }
4f89f6a3
RD
22110 {
22111 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22112 }
d14a1e28
RD
22113 return resultobj;
22114 fail:
22115 return NULL;
22116}
22117
22118
c32bde28 22119static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22120 PyObject *resultobj = NULL;
d14a1e28
RD
22121 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22122 bool result;
22123 PyObject * obj0 = 0 ;
22124 char *kwnames[] = {
22125 (char *) "self", NULL
22126 };
22127
22128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
093d3ff1
RD
22129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22130 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22131 {
22132 PyThreadState* __tstate = wxPyBeginAllowThreads();
22133 result = (bool)(arg1)->GetEnableHelp();
22134
22135 wxPyEndAllowThreads(__tstate);
22136 if (PyErr_Occurred()) SWIG_fail;
22137 }
4f89f6a3
RD
22138 {
22139 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22140 }
d14a1e28
RD
22141 return resultobj;
22142 fail:
22143 return NULL;
22144}
22145
22146
c32bde28 22147static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22148 PyObject *resultobj = NULL;
d14a1e28
RD
22149 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22150 bool result;
22151 PyObject * obj0 = 0 ;
22152 char *kwnames[] = {
22153 (char *) "self", NULL
22154 };
22155
22156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
093d3ff1
RD
22157 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22158 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22159 {
22160 PyThreadState* __tstate = wxPyBeginAllowThreads();
22161 result = (bool)(arg1)->GetDefaultInfo();
22162
22163 wxPyEndAllowThreads(__tstate);
22164 if (PyErr_Occurred()) SWIG_fail;
22165 }
4f89f6a3
RD
22166 {
22167 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22168 }
d14a1e28
RD
22169 return resultobj;
22170 fail:
22171 return NULL;
22172}
22173
22174
c32bde28 22175static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22176 PyObject *resultobj = NULL;
d14a1e28
RD
22177 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22178 wxPoint result;
22179 PyObject * obj0 = 0 ;
22180 char *kwnames[] = {
22181 (char *) "self", NULL
22182 };
22183
22184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
093d3ff1
RD
22185 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22186 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22187 {
22188 PyThreadState* __tstate = wxPyBeginAllowThreads();
22189 result = (arg1)->GetMarginTopLeft();
22190
22191 wxPyEndAllowThreads(__tstate);
22192 if (PyErr_Occurred()) SWIG_fail;
22193 }
22194 {
22195 wxPoint * resultptr;
32fe5131 22196 resultptr = new wxPoint(static_cast<wxPoint & >(result));
15afbcd0 22197 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
22198 }
22199 return resultobj;
22200 fail:
22201 return NULL;
22202}
22203
22204
c32bde28 22205static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22206 PyObject *resultobj = NULL;
d14a1e28
RD
22207 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22208 wxPoint result;
22209 PyObject * obj0 = 0 ;
22210 char *kwnames[] = {
22211 (char *) "self", NULL
22212 };
22213
22214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
093d3ff1
RD
22215 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22216 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22217 {
22218 PyThreadState* __tstate = wxPyBeginAllowThreads();
22219 result = (arg1)->GetMarginBottomRight();
22220
22221 wxPyEndAllowThreads(__tstate);
22222 if (PyErr_Occurred()) SWIG_fail;
22223 }
22224 {
22225 wxPoint * resultptr;
32fe5131 22226 resultptr = new wxPoint(static_cast<wxPoint & >(result));
15afbcd0 22227 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
22228 }
22229 return resultobj;
22230 fail:
22231 return NULL;
22232}
22233
22234
c32bde28 22235static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22236 PyObject *resultobj = NULL;
d14a1e28
RD
22237 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22238 wxPoint result;
22239 PyObject * obj0 = 0 ;
22240 char *kwnames[] = {
22241 (char *) "self", NULL
22242 };
22243
22244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
093d3ff1
RD
22245 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22246 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22247 {
22248 PyThreadState* __tstate = wxPyBeginAllowThreads();
22249 result = (arg1)->GetMinMarginTopLeft();
22250
22251 wxPyEndAllowThreads(__tstate);
22252 if (PyErr_Occurred()) SWIG_fail;
22253 }
22254 {
22255 wxPoint * resultptr;
32fe5131 22256 resultptr = new wxPoint(static_cast<wxPoint & >(result));
15afbcd0 22257 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
22258 }
22259 return resultobj;
22260 fail:
22261 return NULL;
22262}
22263
22264
c32bde28 22265static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22266 PyObject *resultobj = NULL;
d14a1e28
RD
22267 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22268 wxPoint result;
22269 PyObject * obj0 = 0 ;
22270 char *kwnames[] = {
22271 (char *) "self", NULL
22272 };
22273
22274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
093d3ff1
RD
22275 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22276 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22277 {
22278 PyThreadState* __tstate = wxPyBeginAllowThreads();
22279 result = (arg1)->GetMinMarginBottomRight();
22280
22281 wxPyEndAllowThreads(__tstate);
22282 if (PyErr_Occurred()) SWIG_fail;
22283 }
22284 {
22285 wxPoint * resultptr;
32fe5131 22286 resultptr = new wxPoint(static_cast<wxPoint & >(result));
15afbcd0 22287 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
22288 }
22289 return resultobj;
22290 fail:
22291 return NULL;
22292}
22293
22294
c32bde28 22295static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22296 PyObject *resultobj = NULL;
d14a1e28 22297 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
093d3ff1 22298 wxPaperSize result;
d14a1e28
RD
22299 PyObject * obj0 = 0 ;
22300 char *kwnames[] = {
22301 (char *) "self", NULL
22302 };
22303
22304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
093d3ff1
RD
22305 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22306 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22307 {
22308 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 22309 result = (wxPaperSize)(arg1)->GetPaperId();
d14a1e28
RD
22310
22311 wxPyEndAllowThreads(__tstate);
22312 if (PyErr_Occurred()) SWIG_fail;
22313 }
093d3ff1 22314 resultobj = SWIG_From_int((result));
d14a1e28
RD
22315 return resultobj;
22316 fail:
22317 return NULL;
22318}
22319
22320
c32bde28 22321static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22322 PyObject *resultobj = NULL;
d14a1e28
RD
22323 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22324 wxSize result;
22325 PyObject * obj0 = 0 ;
22326 char *kwnames[] = {
22327 (char *) "self", NULL
22328 };
22329
22330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
22331 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22332 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22333 {
22334 PyThreadState* __tstate = wxPyBeginAllowThreads();
22335 result = (arg1)->GetPaperSize();
22336
22337 wxPyEndAllowThreads(__tstate);
22338 if (PyErr_Occurred()) SWIG_fail;
22339 }
22340 {
22341 wxSize * resultptr;
32fe5131 22342 resultptr = new wxSize(static_cast<wxSize & >(result));
15afbcd0 22343 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
22344 }
22345 return resultobj;
22346 fail:
22347 return NULL;
22348}
22349
22350
c32bde28 22351static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22352 PyObject *resultobj = NULL;
d14a1e28
RD
22353 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22354 wxPrintData *result;
22355 PyObject * obj0 = 0 ;
22356 char *kwnames[] = {
22357 (char *) "self", NULL
22358 };
22359
22360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
093d3ff1
RD
22361 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22362 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22363 {
22364 PyThreadState* __tstate = wxPyBeginAllowThreads();
22365 {
22366 wxPrintData &_result_ref = (arg1)->GetPrintData();
22367 result = (wxPrintData *) &_result_ref;
22368 }
22369
22370 wxPyEndAllowThreads(__tstate);
22371 if (PyErr_Occurred()) SWIG_fail;
22372 }
15afbcd0 22373 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
d14a1e28
RD
22374 return resultobj;
22375 fail:
22376 return NULL;
22377}
22378
22379
c32bde28 22380static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22381 PyObject *resultobj = NULL;
d14a1e28
RD
22382 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22383 bool result;
22384 PyObject * obj0 = 0 ;
22385 char *kwnames[] = {
22386 (char *) "self", NULL
22387 };
22388
22389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
093d3ff1
RD
22390 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22391 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22392 {
22393 PyThreadState* __tstate = wxPyBeginAllowThreads();
22394 result = (bool)(arg1)->Ok();
22395
22396 wxPyEndAllowThreads(__tstate);
22397 if (PyErr_Occurred()) SWIG_fail;
22398 }
4f89f6a3
RD
22399 {
22400 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22401 }
d14a1e28
RD
22402 return resultobj;
22403 fail:
22404 return NULL;
22405}
22406
22407
c32bde28 22408static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22409 PyObject *resultobj = NULL;
d14a1e28
RD
22410 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22411 bool arg2 ;
22412 PyObject * obj0 = 0 ;
22413 PyObject * obj1 = 0 ;
22414 char *kwnames[] = {
22415 (char *) "self",(char *) "flag", NULL
22416 };
22417
22418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22419 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22420 if (SWIG_arg_fail(1)) SWIG_fail;
22421 {
32fe5131 22422 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
22423 if (SWIG_arg_fail(2)) SWIG_fail;
22424 }
d14a1e28
RD
22425 {
22426 PyThreadState* __tstate = wxPyBeginAllowThreads();
22427 (arg1)->SetDefaultInfo(arg2);
22428
22429 wxPyEndAllowThreads(__tstate);
22430 if (PyErr_Occurred()) SWIG_fail;
22431 }
22432 Py_INCREF(Py_None); resultobj = Py_None;
22433 return resultobj;
22434 fail:
22435 return NULL;
22436}
22437
22438
c32bde28 22439static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22440 PyObject *resultobj = NULL;
d14a1e28
RD
22441 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22442 bool arg2 ;
22443 PyObject * obj0 = 0 ;
22444 PyObject * obj1 = 0 ;
22445 char *kwnames[] = {
22446 (char *) "self",(char *) "flag", NULL
22447 };
22448
22449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22450 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22451 if (SWIG_arg_fail(1)) SWIG_fail;
22452 {
32fe5131 22453 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
22454 if (SWIG_arg_fail(2)) SWIG_fail;
22455 }
d14a1e28
RD
22456 {
22457 PyThreadState* __tstate = wxPyBeginAllowThreads();
22458 (arg1)->SetDefaultMinMargins(arg2);
22459
22460 wxPyEndAllowThreads(__tstate);
22461 if (PyErr_Occurred()) SWIG_fail;
22462 }
22463 Py_INCREF(Py_None); resultobj = Py_None;
22464 return resultobj;
22465 fail:
22466 return NULL;
22467}
22468
22469
c32bde28 22470static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22471 PyObject *resultobj = NULL;
d14a1e28
RD
22472 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22473 wxPoint *arg2 = 0 ;
22474 wxPoint temp2 ;
22475 PyObject * obj0 = 0 ;
22476 PyObject * obj1 = 0 ;
22477 char *kwnames[] = {
22478 (char *) "self",(char *) "pt", NULL
22479 };
22480
22481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22482 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22483 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22484 {
22485 arg2 = &temp2;
22486 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22487 }
22488 {
22489 PyThreadState* __tstate = wxPyBeginAllowThreads();
22490 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
22491
22492 wxPyEndAllowThreads(__tstate);
22493 if (PyErr_Occurred()) SWIG_fail;
22494 }
22495 Py_INCREF(Py_None); resultobj = Py_None;
22496 return resultobj;
22497 fail:
22498 return NULL;
22499}
22500
22501
c32bde28 22502static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22503 PyObject *resultobj = NULL;
d14a1e28
RD
22504 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22505 wxPoint *arg2 = 0 ;
22506 wxPoint temp2 ;
22507 PyObject * obj0 = 0 ;
22508 PyObject * obj1 = 0 ;
22509 char *kwnames[] = {
22510 (char *) "self",(char *) "pt", NULL
22511 };
22512
22513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22514 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22515 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22516 {
22517 arg2 = &temp2;
22518 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22519 }
22520 {
22521 PyThreadState* __tstate = wxPyBeginAllowThreads();
22522 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
22523
22524 wxPyEndAllowThreads(__tstate);
22525 if (PyErr_Occurred()) SWIG_fail;
22526 }
22527 Py_INCREF(Py_None); resultobj = Py_None;
22528 return resultobj;
22529 fail:
22530 return NULL;
22531}
22532
22533
c32bde28 22534static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22535 PyObject *resultobj = NULL;
d14a1e28
RD
22536 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22537 wxPoint *arg2 = 0 ;
22538 wxPoint temp2 ;
22539 PyObject * obj0 = 0 ;
22540 PyObject * obj1 = 0 ;
22541 char *kwnames[] = {
22542 (char *) "self",(char *) "pt", NULL
22543 };
22544
22545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22546 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22547 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22548 {
22549 arg2 = &temp2;
22550 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22551 }
22552 {
22553 PyThreadState* __tstate = wxPyBeginAllowThreads();
22554 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
22555
22556 wxPyEndAllowThreads(__tstate);
22557 if (PyErr_Occurred()) SWIG_fail;
22558 }
22559 Py_INCREF(Py_None); resultobj = Py_None;
22560 return resultobj;
22561 fail:
22562 return NULL;
22563}
22564
22565
c32bde28 22566static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22567 PyObject *resultobj = NULL;
d14a1e28
RD
22568 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22569 wxPoint *arg2 = 0 ;
22570 wxPoint temp2 ;
22571 PyObject * obj0 = 0 ;
22572 PyObject * obj1 = 0 ;
22573 char *kwnames[] = {
22574 (char *) "self",(char *) "pt", NULL
22575 };
22576
22577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22578 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22579 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22580 {
22581 arg2 = &temp2;
22582 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22583 }
22584 {
22585 PyThreadState* __tstate = wxPyBeginAllowThreads();
22586 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
22587
22588 wxPyEndAllowThreads(__tstate);
22589 if (PyErr_Occurred()) SWIG_fail;
22590 }
22591 Py_INCREF(Py_None); resultobj = Py_None;
22592 return resultobj;
22593 fail:
22594 return NULL;
22595}
22596
22597
c32bde28 22598static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22599 PyObject *resultobj = NULL;
d14a1e28 22600 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
093d3ff1 22601 wxPaperSize arg2 ;
d14a1e28 22602 PyObject * obj0 = 0 ;
994141e6 22603 PyObject * obj1 = 0 ;
d14a1e28
RD
22604 char *kwnames[] = {
22605 (char *) "self",(char *) "id", NULL
22606 };
22607
994141e6 22608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22609 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22610 if (SWIG_arg_fail(1)) SWIG_fail;
22611 {
32fe5131 22612 arg2 = static_cast<wxPaperSize >(SWIG_As_int(obj1));
093d3ff1
RD
22613 if (SWIG_arg_fail(2)) SWIG_fail;
22614 }
d14a1e28
RD
22615 {
22616 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 22617 (arg1)->SetPaperId(arg2);
d14a1e28
RD
22618
22619 wxPyEndAllowThreads(__tstate);
22620 if (PyErr_Occurred()) SWIG_fail;
22621 }
22622 Py_INCREF(Py_None); resultobj = Py_None;
22623 return resultobj;
22624 fail:
22625 return NULL;
22626}
22627
22628
c32bde28 22629static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22630 PyObject *resultobj = NULL;
d14a1e28
RD
22631 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22632 wxSize *arg2 = 0 ;
22633 wxSize temp2 ;
22634 PyObject * obj0 = 0 ;
22635 PyObject * obj1 = 0 ;
22636 char *kwnames[] = {
22637 (char *) "self",(char *) "size", NULL
22638 };
22639
22640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22641 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22642 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22643 {
22644 arg2 = &temp2;
22645 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22646 }
22647 {
22648 PyThreadState* __tstate = wxPyBeginAllowThreads();
22649 (arg1)->SetPaperSize((wxSize const &)*arg2);
22650
22651 wxPyEndAllowThreads(__tstate);
22652 if (PyErr_Occurred()) SWIG_fail;
22653 }
22654 Py_INCREF(Py_None); resultobj = Py_None;
22655 return resultobj;
22656 fail:
22657 return NULL;
22658}
22659
22660
c32bde28 22661static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22662 PyObject *resultobj = NULL;
d14a1e28
RD
22663 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22664 wxPrintData *arg2 = 0 ;
22665 PyObject * obj0 = 0 ;
22666 PyObject * obj1 = 0 ;
22667 char *kwnames[] = {
22668 (char *) "self",(char *) "printData", NULL
22669 };
22670
22671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22672 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22673 if (SWIG_arg_fail(1)) SWIG_fail;
22674 {
22675 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
22676 if (SWIG_arg_fail(2)) SWIG_fail;
22677 if (arg2 == NULL) {
22678 SWIG_null_ref("wxPrintData");
22679 }
22680 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
22681 }
22682 {
22683 PyThreadState* __tstate = wxPyBeginAllowThreads();
22684 (arg1)->SetPrintData((wxPrintData const &)*arg2);
22685
22686 wxPyEndAllowThreads(__tstate);
22687 if (PyErr_Occurred()) SWIG_fail;
22688 }
22689 Py_INCREF(Py_None); resultobj = Py_None;
22690 return resultobj;
22691 fail:
22692 return NULL;
22693}
22694
22695
7557b9b5 22696static PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22697 PyObject *resultobj = NULL;
7557b9b5
RD
22698 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22699 PyObject * obj0 = 0 ;
22700 char *kwnames[] = {
22701 (char *) "self", NULL
22702 };
22703
22704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_CalculateIdFromPaperSize",kwnames,&obj0)) goto fail;
22705 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22706 if (SWIG_arg_fail(1)) SWIG_fail;
22707 {
22708 PyThreadState* __tstate = wxPyBeginAllowThreads();
22709 (arg1)->CalculateIdFromPaperSize();
22710
22711 wxPyEndAllowThreads(__tstate);
22712 if (PyErr_Occurred()) SWIG_fail;
22713 }
22714 Py_INCREF(Py_None); resultobj = Py_None;
22715 return resultobj;
22716 fail:
22717 return NULL;
22718}
22719
22720
22721static PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22722 PyObject *resultobj = NULL;
7557b9b5
RD
22723 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22724 PyObject * obj0 = 0 ;
22725 char *kwnames[] = {
22726 (char *) "self", NULL
22727 };
22728
22729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_CalculatePaperSizeFromId",kwnames,&obj0)) goto fail;
22730 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22731 if (SWIG_arg_fail(1)) SWIG_fail;
22732 {
22733 PyThreadState* __tstate = wxPyBeginAllowThreads();
22734 (arg1)->CalculatePaperSizeFromId();
22735
22736 wxPyEndAllowThreads(__tstate);
22737 if (PyErr_Occurred()) SWIG_fail;
22738 }
22739 Py_INCREF(Py_None); resultobj = Py_None;
22740 return resultobj;
22741 fail:
22742 return NULL;
22743}
22744
22745
c32bde28 22746static PyObject * PageSetupDialogData_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
22747 PyObject *obj;
22748 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22749 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
22750 Py_INCREF(obj);
22751 return Py_BuildValue((char *)"");
22752}
c32bde28 22753static PyObject *_wrap_new_PageSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22754 PyObject *resultobj = NULL;
d14a1e28
RD
22755 wxWindow *arg1 = (wxWindow *) 0 ;
22756 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
22757 wxPageSetupDialog *result;
22758 PyObject * obj0 = 0 ;
22759 PyObject * obj1 = 0 ;
22760 char *kwnames[] = {
22761 (char *) "parent",(char *) "data", NULL
22762 };
22763
22764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22765 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
22766 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 22767 if (obj1) {
093d3ff1
RD
22768 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22769 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
22770 }
22771 {
e3b71cb8 22772 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
22773 PyThreadState* __tstate = wxPyBeginAllowThreads();
22774 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
22775
22776 wxPyEndAllowThreads(__tstate);
110da5b0 22777 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 22778 }
15afbcd0 22779 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
d14a1e28
RD
22780 return resultobj;
22781 fail:
22782 return NULL;
22783}
22784
22785
c32bde28 22786static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22787 PyObject *resultobj = NULL;
d14a1e28
RD
22788 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
22789 wxPageSetupDialogData *result;
22790 PyObject * obj0 = 0 ;
22791 char *kwnames[] = {
22792 (char *) "self", NULL
22793 };
22794
22795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
093d3ff1
RD
22796 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0);
22797 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22798 {
22799 PyThreadState* __tstate = wxPyBeginAllowThreads();
22800 {
22801 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
22802 result = (wxPageSetupDialogData *) &_result_ref;
22803 }
22804
22805 wxPyEndAllowThreads(__tstate);
22806 if (PyErr_Occurred()) SWIG_fail;
22807 }
15afbcd0 22808 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
d14a1e28
RD
22809 return resultobj;
22810 fail:
22811 return NULL;
22812}
22813
22814
8ac8dba0 22815static PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22816 PyObject *resultobj = NULL;
8ac8dba0
RD
22817 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
22818 wxPageSetupDialogData *result;
22819 PyObject * obj0 = 0 ;
22820 char *kwnames[] = {
22821 (char *) "self", NULL
22822 };
22823
22824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupDialogData",kwnames,&obj0)) goto fail;
093d3ff1
RD
22825 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0);
22826 if (SWIG_arg_fail(1)) SWIG_fail;
8ac8dba0
RD
22827 {
22828 PyThreadState* __tstate = wxPyBeginAllowThreads();
22829 {
22830 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
22831 result = (wxPageSetupDialogData *) &_result_ref;
22832 }
22833
22834 wxPyEndAllowThreads(__tstate);
22835 if (PyErr_Occurred()) SWIG_fail;
22836 }
22837 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
22838 return resultobj;
22839 fail:
22840 return NULL;
22841}
22842
22843
c32bde28 22844static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22845 PyObject *resultobj = NULL;
d14a1e28
RD
22846 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
22847 int result;
22848 PyObject * obj0 = 0 ;
22849 char *kwnames[] = {
22850 (char *) "self", NULL
22851 };
22852
22853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
093d3ff1
RD
22854 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0);
22855 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22856 {
22857 PyThreadState* __tstate = wxPyBeginAllowThreads();
22858 result = (int)(arg1)->ShowModal();
22859
22860 wxPyEndAllowThreads(__tstate);
22861 if (PyErr_Occurred()) SWIG_fail;
22862 }
093d3ff1 22863 {
32fe5131 22864 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 22865 }
d14a1e28
RD
22866 return resultobj;
22867 fail:
22868 return NULL;
22869}
22870
22871
c32bde28 22872static PyObject * PageSetupDialog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
22873 PyObject *obj;
22874 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22875 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
22876 Py_INCREF(obj);
22877 return Py_BuildValue((char *)"");
22878}
c32bde28 22879static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *, PyObject *args) {
32fe5131 22880 PyObject *resultobj = NULL;
d14a1e28 22881 wxPrintDialogData *result;
d14a1e28 22882
4276dc52 22883 if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail;
d14a1e28
RD
22884 {
22885 PyThreadState* __tstate = wxPyBeginAllowThreads();
22886 result = (wxPrintDialogData *)new wxPrintDialogData();
22887
22888 wxPyEndAllowThreads(__tstate);
22889 if (PyErr_Occurred()) SWIG_fail;
22890 }
15afbcd0 22891 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
d14a1e28
RD
22892 return resultobj;
22893 fail:
22894 return NULL;
22895}
22896
22897
c32bde28 22898static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *, PyObject *args) {
32fe5131 22899 PyObject *resultobj = NULL;
4276dc52
RD
22900 wxPrintData *arg1 = 0 ;
22901 wxPrintDialogData *result;
22902 PyObject * obj0 = 0 ;
22903
22904 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
093d3ff1
RD
22905 {
22906 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
22907 if (SWIG_arg_fail(1)) SWIG_fail;
22908 if (arg1 == NULL) {
22909 SWIG_null_ref("wxPrintData");
22910 }
22911 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
22912 }
22913 {
22914 PyThreadState* __tstate = wxPyBeginAllowThreads();
22915 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
22916
22917 wxPyEndAllowThreads(__tstate);
22918 if (PyErr_Occurred()) SWIG_fail;
22919 }
22920 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
22921 return resultobj;
22922 fail:
22923 return NULL;
22924}
22925
22926
7557b9b5 22927static PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *, PyObject *args) {
32fe5131 22928 PyObject *resultobj = NULL;
7557b9b5
RD
22929 wxPrintDialogData *arg1 = 0 ;
22930 wxPrintDialogData *result;
22931 PyObject * obj0 = 0 ;
22932
22933 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
22934 {
22935 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
22936 if (SWIG_arg_fail(1)) SWIG_fail;
22937 if (arg1 == NULL) {
22938 SWIG_null_ref("wxPrintDialogData");
22939 }
22940 if (SWIG_arg_fail(1)) SWIG_fail;
22941 }
22942 {
22943 PyThreadState* __tstate = wxPyBeginAllowThreads();
22944 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
22945
22946 wxPyEndAllowThreads(__tstate);
22947 if (PyErr_Occurred()) SWIG_fail;
22948 }
22949 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
22950 return resultobj;
22951 fail:
22952 return NULL;
22953}
22954
22955
4276dc52
RD
22956static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
22957 int argc;
22958 PyObject *argv[2];
22959 int ii;
22960
22961 argc = PyObject_Length(args);
22962 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
22963 argv[ii] = PyTuple_GetItem(args,ii);
22964 }
22965 if (argc == 0) {
22966 return _wrap_new_PrintDialogData__SWIG_0(self,args);
22967 }
22968 if (argc == 1) {
22969 int _v;
22970 {
093d3ff1 22971 void *ptr = 0;
4276dc52
RD
22972 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
22973 _v = 0;
22974 PyErr_Clear();
22975 } else {
093d3ff1 22976 _v = (ptr != 0);
4276dc52
RD
22977 }
22978 }
22979 if (_v) {
22980 return _wrap_new_PrintDialogData__SWIG_1(self,args);
22981 }
22982 }
7557b9b5
RD
22983 if (argc == 1) {
22984 int _v;
22985 {
22986 void *ptr = 0;
22987 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
22988 _v = 0;
22989 PyErr_Clear();
22990 } else {
22991 _v = (ptr != 0);
22992 }
22993 }
22994 if (_v) {
22995 return _wrap_new_PrintDialogData__SWIG_2(self,args);
22996 }
22997 }
4276dc52 22998
093d3ff1 22999 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
4276dc52
RD
23000 return NULL;
23001}
23002
23003
c32bde28 23004static PyObject *_wrap_delete_PrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23005 PyObject *resultobj = NULL;
d14a1e28
RD
23006 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23007 PyObject * obj0 = 0 ;
23008 char *kwnames[] = {
23009 (char *) "self", NULL
23010 };
23011
23012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
093d3ff1
RD
23013 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23014 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23015 {
23016 PyThreadState* __tstate = wxPyBeginAllowThreads();
23017 delete arg1;
23018
23019 wxPyEndAllowThreads(__tstate);
23020 if (PyErr_Occurred()) SWIG_fail;
23021 }
23022 Py_INCREF(Py_None); resultobj = Py_None;
23023 return resultobj;
23024 fail:
23025 return NULL;
23026}
23027
23028
c32bde28 23029static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23030 PyObject *resultobj = NULL;
d14a1e28
RD
23031 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23032 int result;
23033 PyObject * obj0 = 0 ;
23034 char *kwnames[] = {
23035 (char *) "self", NULL
23036 };
23037
23038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
23039 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23040 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23041 {
23042 PyThreadState* __tstate = wxPyBeginAllowThreads();
23043 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
23044
23045 wxPyEndAllowThreads(__tstate);
23046 if (PyErr_Occurred()) SWIG_fail;
23047 }
093d3ff1 23048 {
32fe5131 23049 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 23050 }
d14a1e28
RD
23051 return resultobj;
23052 fail:
23053 return NULL;
23054}
23055
23056
c32bde28 23057static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23058 PyObject *resultobj = NULL;
d14a1e28
RD
23059 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23060 int result;
23061 PyObject * obj0 = 0 ;
23062 char *kwnames[] = {
23063 (char *) "self", NULL
23064 };
23065
23066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
23067 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23068 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23069 {
23070 PyThreadState* __tstate = wxPyBeginAllowThreads();
23071 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
23072
23073 wxPyEndAllowThreads(__tstate);
23074 if (PyErr_Occurred()) SWIG_fail;
23075 }
093d3ff1 23076 {
32fe5131 23077 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 23078 }
d14a1e28
RD
23079 return resultobj;
23080 fail:
23081 return NULL;
23082}
23083
23084
c32bde28 23085static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23086 PyObject *resultobj = NULL;
d14a1e28
RD
23087 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23088 int result;
23089 PyObject * obj0 = 0 ;
23090 char *kwnames[] = {
23091 (char *) "self", NULL
23092 };
23093
23094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
23095 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23096 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23097 {
23098 PyThreadState* __tstate = wxPyBeginAllowThreads();
23099 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
23100
23101 wxPyEndAllowThreads(__tstate);
23102 if (PyErr_Occurred()) SWIG_fail;
23103 }
093d3ff1 23104 {
32fe5131 23105 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 23106 }
d14a1e28
RD
23107 return resultobj;
23108 fail:
23109 return NULL;
23110}
23111
23112
c32bde28 23113static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23114 PyObject *resultobj = NULL;
d14a1e28
RD
23115 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23116 int result;
23117 PyObject * obj0 = 0 ;
23118 char *kwnames[] = {
23119 (char *) "self", NULL
23120 };
23121
23122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
23123 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23124 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23125 {
23126 PyThreadState* __tstate = wxPyBeginAllowThreads();
23127 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
23128
23129 wxPyEndAllowThreads(__tstate);
23130 if (PyErr_Occurred()) SWIG_fail;
23131 }
093d3ff1 23132 {
32fe5131 23133 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 23134 }
d14a1e28
RD
23135 return resultobj;
23136 fail:
23137 return NULL;
23138}
23139
23140
c32bde28 23141static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23142 PyObject *resultobj = NULL;
d14a1e28
RD
23143 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23144 int result;
23145 PyObject * obj0 = 0 ;
23146 char *kwnames[] = {
23147 (char *) "self", NULL
23148 };
23149
23150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
093d3ff1
RD
23151 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23152 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23153 {
23154 PyThreadState* __tstate = wxPyBeginAllowThreads();
23155 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
23156
23157 wxPyEndAllowThreads(__tstate);
23158 if (PyErr_Occurred()) SWIG_fail;
23159 }
093d3ff1 23160 {
32fe5131 23161 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 23162 }
d14a1e28
RD
23163 return resultobj;
23164 fail:
23165 return NULL;
23166}
23167
23168
c32bde28 23169static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23170 PyObject *resultobj = NULL;
d14a1e28
RD
23171 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23172 bool result;
23173 PyObject * obj0 = 0 ;
23174 char *kwnames[] = {
23175 (char *) "self", NULL
23176 };
23177
23178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
093d3ff1
RD
23179 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23180 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23181 {
23182 PyThreadState* __tstate = wxPyBeginAllowThreads();
23183 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
23184
23185 wxPyEndAllowThreads(__tstate);
23186 if (PyErr_Occurred()) SWIG_fail;
23187 }
4f89f6a3
RD
23188 {
23189 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23190 }
d14a1e28
RD
23191 return resultobj;
23192 fail:
23193 return NULL;
23194}
23195
23196
c32bde28 23197static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23198 PyObject *resultobj = NULL;
d14a1e28
RD
23199 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23200 bool result;
23201 PyObject * obj0 = 0 ;
23202 char *kwnames[] = {
23203 (char *) "self", NULL
23204 };
23205
23206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
23207 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23208 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23209 {
23210 PyThreadState* __tstate = wxPyBeginAllowThreads();
23211 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
23212
23213 wxPyEndAllowThreads(__tstate);
23214 if (PyErr_Occurred()) SWIG_fail;
23215 }
4f89f6a3
RD
23216 {
23217 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23218 }
d14a1e28
RD
23219 return resultobj;
23220 fail:
23221 return NULL;
23222}
23223
23224
c32bde28 23225static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23226 PyObject *resultobj = NULL;
d14a1e28
RD
23227 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23228 bool result;
23229 PyObject * obj0 = 0 ;
23230 char *kwnames[] = {
23231 (char *) "self", NULL
23232 };
23233
23234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
093d3ff1
RD
23235 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23236 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23237 {
23238 PyThreadState* __tstate = wxPyBeginAllowThreads();
23239 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
23240
23241 wxPyEndAllowThreads(__tstate);
23242 if (PyErr_Occurred()) SWIG_fail;
23243 }
4f89f6a3
RD
23244 {
23245 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23246 }
d14a1e28
RD
23247 return resultobj;
23248 fail:
23249 return NULL;
23250}
23251
23252
c32bde28 23253static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23254 PyObject *resultobj = NULL;
d14a1e28
RD
23255 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23256 bool result;
23257 PyObject * obj0 = 0 ;
23258 char *kwnames[] = {
23259 (char *) "self", NULL
23260 };
23261
23262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
093d3ff1
RD
23263 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23264 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23265 {
23266 PyThreadState* __tstate = wxPyBeginAllowThreads();
23267 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
23268
23269 wxPyEndAllowThreads(__tstate);
23270 if (PyErr_Occurred()) SWIG_fail;
23271 }
4f89f6a3
RD
23272 {
23273 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23274 }
d14a1e28
RD
23275 return resultobj;
23276 fail:
23277 return NULL;
23278}
23279
23280
c32bde28 23281static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23282 PyObject *resultobj = NULL;
d14a1e28
RD
23283 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23284 int arg2 ;
23285 PyObject * obj0 = 0 ;
994141e6 23286 PyObject * obj1 = 0 ;
d14a1e28
RD
23287 char *kwnames[] = {
23288 (char *) "self",(char *) "v", NULL
23289 };
23290
994141e6 23291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23292 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23293 if (SWIG_arg_fail(1)) SWIG_fail;
23294 {
32fe5131 23295 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
23296 if (SWIG_arg_fail(2)) SWIG_fail;
23297 }
d14a1e28
RD
23298 {
23299 PyThreadState* __tstate = wxPyBeginAllowThreads();
23300 (arg1)->SetFromPage(arg2);
23301
23302 wxPyEndAllowThreads(__tstate);
23303 if (PyErr_Occurred()) SWIG_fail;
23304 }
23305 Py_INCREF(Py_None); resultobj = Py_None;
23306 return resultobj;
23307 fail:
23308 return NULL;
23309}
23310
23311
c32bde28 23312static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23313 PyObject *resultobj = NULL;
d14a1e28
RD
23314 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23315 int arg2 ;
23316 PyObject * obj0 = 0 ;
994141e6 23317 PyObject * obj1 = 0 ;
d14a1e28
RD
23318 char *kwnames[] = {
23319 (char *) "self",(char *) "v", NULL
23320 };
23321
994141e6 23322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23323 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23324 if (SWIG_arg_fail(1)) SWIG_fail;
23325 {
32fe5131 23326 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
23327 if (SWIG_arg_fail(2)) SWIG_fail;
23328 }
d14a1e28
RD
23329 {
23330 PyThreadState* __tstate = wxPyBeginAllowThreads();
23331 (arg1)->SetToPage(arg2);
23332
23333 wxPyEndAllowThreads(__tstate);
23334 if (PyErr_Occurred()) SWIG_fail;
23335 }
23336 Py_INCREF(Py_None); resultobj = Py_None;
23337 return resultobj;
23338 fail:
23339 return NULL;
23340}
23341
23342
c32bde28 23343static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23344 PyObject *resultobj = NULL;
d14a1e28
RD
23345 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23346 int arg2 ;
23347 PyObject * obj0 = 0 ;
994141e6 23348 PyObject * obj1 = 0 ;
d14a1e28
RD
23349 char *kwnames[] = {
23350 (char *) "self",(char *) "v", NULL
23351 };
23352
994141e6 23353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23354 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23355 if (SWIG_arg_fail(1)) SWIG_fail;
23356 {
32fe5131 23357 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
23358 if (SWIG_arg_fail(2)) SWIG_fail;
23359 }
d14a1e28
RD
23360 {
23361 PyThreadState* __tstate = wxPyBeginAllowThreads();
23362 (arg1)->SetMinPage(arg2);
23363
23364 wxPyEndAllowThreads(__tstate);
23365 if (PyErr_Occurred()) SWIG_fail;
23366 }
23367 Py_INCREF(Py_None); resultobj = Py_None;
23368 return resultobj;
23369 fail:
23370 return NULL;
23371}
23372
23373
c32bde28 23374static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23375 PyObject *resultobj = NULL;
d14a1e28
RD
23376 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23377 int arg2 ;
23378 PyObject * obj0 = 0 ;
994141e6 23379 PyObject * obj1 = 0 ;
d14a1e28
RD
23380 char *kwnames[] = {
23381 (char *) "self",(char *) "v", NULL
23382 };
23383
994141e6 23384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23385 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23386 if (SWIG_arg_fail(1)) SWIG_fail;
23387 {
32fe5131 23388 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
23389 if (SWIG_arg_fail(2)) SWIG_fail;
23390 }
d14a1e28
RD
23391 {
23392 PyThreadState* __tstate = wxPyBeginAllowThreads();
23393 (arg1)->SetMaxPage(arg2);
23394
23395 wxPyEndAllowThreads(__tstate);
23396 if (PyErr_Occurred()) SWIG_fail;
23397 }
23398 Py_INCREF(Py_None); resultobj = Py_None;
23399 return resultobj;
23400 fail:
23401 return NULL;
23402}
23403
23404
c32bde28 23405static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23406 PyObject *resultobj = NULL;
d14a1e28
RD
23407 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23408 int arg2 ;
23409 PyObject * obj0 = 0 ;
994141e6 23410 PyObject * obj1 = 0 ;
d14a1e28
RD
23411 char *kwnames[] = {
23412 (char *) "self",(char *) "v", NULL
23413 };
23414
994141e6 23415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23416 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23417 if (SWIG_arg_fail(1)) SWIG_fail;
23418 {
32fe5131 23419 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
23420 if (SWIG_arg_fail(2)) SWIG_fail;
23421 }
d14a1e28
RD
23422 {
23423 PyThreadState* __tstate = wxPyBeginAllowThreads();
23424 (arg1)->SetNoCopies(arg2);
23425
23426 wxPyEndAllowThreads(__tstate);
23427 if (PyErr_Occurred()) SWIG_fail;
23428 }
23429 Py_INCREF(Py_None); resultobj = Py_None;
23430 return resultobj;
23431 fail:
23432 return NULL;
23433}
23434
23435
c32bde28 23436static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23437 PyObject *resultobj = NULL;
d14a1e28
RD
23438 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23439 bool arg2 ;
23440 PyObject * obj0 = 0 ;
23441 PyObject * obj1 = 0 ;
23442 char *kwnames[] = {
23443 (char *) "self",(char *) "flag", NULL
23444 };
23445
23446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23447 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23448 if (SWIG_arg_fail(1)) SWIG_fail;
23449 {
32fe5131 23450 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
23451 if (SWIG_arg_fail(2)) SWIG_fail;
23452 }
d14a1e28
RD
23453 {
23454 PyThreadState* __tstate = wxPyBeginAllowThreads();
23455 (arg1)->SetAllPages(arg2);
23456
23457 wxPyEndAllowThreads(__tstate);
23458 if (PyErr_Occurred()) SWIG_fail;
23459 }
23460 Py_INCREF(Py_None); resultobj = Py_None;
23461 return resultobj;
23462 fail:
23463 return NULL;
23464}
23465
23466
c32bde28 23467static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23468 PyObject *resultobj = NULL;
d14a1e28
RD
23469 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23470 bool arg2 ;
23471 PyObject * obj0 = 0 ;
23472 PyObject * obj1 = 0 ;
23473 char *kwnames[] = {
23474 (char *) "self",(char *) "flag", NULL
23475 };
23476
23477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23478 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23479 if (SWIG_arg_fail(1)) SWIG_fail;
23480 {
32fe5131 23481 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
23482 if (SWIG_arg_fail(2)) SWIG_fail;
23483 }
d14a1e28
RD
23484 {
23485 PyThreadState* __tstate = wxPyBeginAllowThreads();
23486 (arg1)->SetSelection(arg2);
23487
23488 wxPyEndAllowThreads(__tstate);
23489 if (PyErr_Occurred()) SWIG_fail;
23490 }
23491 Py_INCREF(Py_None); resultobj = Py_None;
23492 return resultobj;
23493 fail:
23494 return NULL;
23495}
23496
23497
c32bde28 23498static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23499 PyObject *resultobj = NULL;
d14a1e28
RD
23500 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23501 bool arg2 ;
23502 PyObject * obj0 = 0 ;
23503 PyObject * obj1 = 0 ;
23504 char *kwnames[] = {
23505 (char *) "self",(char *) "flag", NULL
23506 };
23507
23508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23509 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23510 if (SWIG_arg_fail(1)) SWIG_fail;
23511 {
32fe5131 23512 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
23513 if (SWIG_arg_fail(2)) SWIG_fail;
23514 }
d14a1e28
RD
23515 {
23516 PyThreadState* __tstate = wxPyBeginAllowThreads();
23517 (arg1)->SetCollate(arg2);
23518
23519 wxPyEndAllowThreads(__tstate);
23520 if (PyErr_Occurred()) SWIG_fail;
23521 }
23522 Py_INCREF(Py_None); resultobj = Py_None;
23523 return resultobj;
23524 fail:
23525 return NULL;
23526}
23527
23528
c32bde28 23529static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23530 PyObject *resultobj = NULL;
d14a1e28
RD
23531 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23532 bool arg2 ;
23533 PyObject * obj0 = 0 ;
23534 PyObject * obj1 = 0 ;
23535 char *kwnames[] = {
23536 (char *) "self",(char *) "flag", NULL
23537 };
23538
23539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23540 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23541 if (SWIG_arg_fail(1)) SWIG_fail;
23542 {
32fe5131 23543 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
23544 if (SWIG_arg_fail(2)) SWIG_fail;
23545 }
d14a1e28
RD
23546 {
23547 PyThreadState* __tstate = wxPyBeginAllowThreads();
23548 (arg1)->SetPrintToFile(arg2);
23549
23550 wxPyEndAllowThreads(__tstate);
23551 if (PyErr_Occurred()) SWIG_fail;
23552 }
23553 Py_INCREF(Py_None); resultobj = Py_None;
23554 return resultobj;
23555 fail:
23556 return NULL;
23557}
23558
23559
c32bde28 23560static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23561 PyObject *resultobj = NULL;
d14a1e28
RD
23562 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23563 bool arg2 ;
23564 PyObject * obj0 = 0 ;
23565 PyObject * obj1 = 0 ;
23566 char *kwnames[] = {
23567 (char *) "self",(char *) "flag", NULL
23568 };
23569
23570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23571 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23572 if (SWIG_arg_fail(1)) SWIG_fail;
23573 {
32fe5131 23574 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
23575 if (SWIG_arg_fail(2)) SWIG_fail;
23576 }
d14a1e28
RD
23577 {
23578 PyThreadState* __tstate = wxPyBeginAllowThreads();
23579 (arg1)->EnablePrintToFile(arg2);
23580
23581 wxPyEndAllowThreads(__tstate);
23582 if (PyErr_Occurred()) SWIG_fail;
23583 }
23584 Py_INCREF(Py_None); resultobj = Py_None;
23585 return resultobj;
23586 fail:
23587 return NULL;
23588}
23589
23590
c32bde28 23591static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23592 PyObject *resultobj = NULL;
d14a1e28
RD
23593 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23594 bool arg2 ;
23595 PyObject * obj0 = 0 ;
23596 PyObject * obj1 = 0 ;
23597 char *kwnames[] = {
23598 (char *) "self",(char *) "flag", NULL
23599 };
23600
23601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23602 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23603 if (SWIG_arg_fail(1)) SWIG_fail;
23604 {
32fe5131 23605 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
23606 if (SWIG_arg_fail(2)) SWIG_fail;
23607 }
d14a1e28
RD
23608 {
23609 PyThreadState* __tstate = wxPyBeginAllowThreads();
23610 (arg1)->EnableSelection(arg2);
23611
23612 wxPyEndAllowThreads(__tstate);
23613 if (PyErr_Occurred()) SWIG_fail;
23614 }
23615 Py_INCREF(Py_None); resultobj = Py_None;
23616 return resultobj;
23617 fail:
23618 return NULL;
23619}
23620
23621
c32bde28 23622static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23623 PyObject *resultobj = NULL;
d14a1e28
RD
23624 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23625 bool arg2 ;
23626 PyObject * obj0 = 0 ;
23627 PyObject * obj1 = 0 ;
23628 char *kwnames[] = {
23629 (char *) "self",(char *) "flag", NULL
23630 };
23631
23632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23633 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23634 if (SWIG_arg_fail(1)) SWIG_fail;
23635 {
32fe5131 23636 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
23637 if (SWIG_arg_fail(2)) SWIG_fail;
23638 }
d14a1e28
RD
23639 {
23640 PyThreadState* __tstate = wxPyBeginAllowThreads();
23641 (arg1)->EnablePageNumbers(arg2);
23642
23643 wxPyEndAllowThreads(__tstate);
23644 if (PyErr_Occurred()) SWIG_fail;
23645 }
23646 Py_INCREF(Py_None); resultobj = Py_None;
23647 return resultobj;
23648 fail:
23649 return NULL;
23650}
23651
23652
c32bde28 23653static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23654 PyObject *resultobj = NULL;
d14a1e28
RD
23655 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23656 bool arg2 ;
23657 PyObject * obj0 = 0 ;
23658 PyObject * obj1 = 0 ;
23659 char *kwnames[] = {
23660 (char *) "self",(char *) "flag", NULL
23661 };
23662
23663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23664 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23665 if (SWIG_arg_fail(1)) SWIG_fail;
23666 {
32fe5131 23667 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
23668 if (SWIG_arg_fail(2)) SWIG_fail;
23669 }
d14a1e28
RD
23670 {
23671 PyThreadState* __tstate = wxPyBeginAllowThreads();
23672 (arg1)->EnableHelp(arg2);
23673
23674 wxPyEndAllowThreads(__tstate);
23675 if (PyErr_Occurred()) SWIG_fail;
23676 }
23677 Py_INCREF(Py_None); resultobj = Py_None;
23678 return resultobj;
23679 fail:
23680 return NULL;
23681}
23682
23683
c32bde28 23684static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23685 PyObject *resultobj = NULL;
d14a1e28
RD
23686 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23687 bool result;
23688 PyObject * obj0 = 0 ;
23689 char *kwnames[] = {
23690 (char *) "self", NULL
23691 };
23692
23693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
093d3ff1
RD
23694 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23695 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23696 {
23697 PyThreadState* __tstate = wxPyBeginAllowThreads();
23698 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
23699
23700 wxPyEndAllowThreads(__tstate);
23701 if (PyErr_Occurred()) SWIG_fail;
23702 }
4f89f6a3
RD
23703 {
23704 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23705 }
d14a1e28
RD
23706 return resultobj;
23707 fail:
23708 return NULL;
23709}
23710
23711
c32bde28 23712static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23713 PyObject *resultobj = NULL;
d14a1e28
RD
23714 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23715 bool result;
23716 PyObject * obj0 = 0 ;
23717 char *kwnames[] = {
23718 (char *) "self", NULL
23719 };
23720
23721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
23722 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23723 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23724 {
23725 PyThreadState* __tstate = wxPyBeginAllowThreads();
23726 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
23727
23728 wxPyEndAllowThreads(__tstate);
23729 if (PyErr_Occurred()) SWIG_fail;
23730 }
4f89f6a3
RD
23731 {
23732 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23733 }
d14a1e28
RD
23734 return resultobj;
23735 fail:
23736 return NULL;
23737}
23738
23739
c32bde28 23740static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23741 PyObject *resultobj = NULL;
d14a1e28
RD
23742 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23743 bool result;
23744 PyObject * obj0 = 0 ;
23745 char *kwnames[] = {
23746 (char *) "self", NULL
23747 };
23748
23749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
093d3ff1
RD
23750 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23751 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23752 {
23753 PyThreadState* __tstate = wxPyBeginAllowThreads();
23754 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
23755
23756 wxPyEndAllowThreads(__tstate);
23757 if (PyErr_Occurred()) SWIG_fail;
23758 }
4f89f6a3
RD
23759 {
23760 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23761 }
d14a1e28
RD
23762 return resultobj;
23763 fail:
23764 return NULL;
23765}
23766
23767
c32bde28 23768static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23769 PyObject *resultobj = NULL;
d14a1e28
RD
23770 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23771 bool result;
23772 PyObject * obj0 = 0 ;
23773 char *kwnames[] = {
23774 (char *) "self", NULL
23775 };
23776
23777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
093d3ff1
RD
23778 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23779 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23780 {
23781 PyThreadState* __tstate = wxPyBeginAllowThreads();
23782 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
23783
23784 wxPyEndAllowThreads(__tstate);
23785 if (PyErr_Occurred()) SWIG_fail;
23786 }
4f89f6a3
RD
23787 {
23788 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23789 }
d14a1e28
RD
23790 return resultobj;
23791 fail:
23792 return NULL;
23793}
23794
23795
c32bde28 23796static PyObject *_wrap_PrintDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23797 PyObject *resultobj = NULL;
d14a1e28
RD
23798 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23799 bool result;
23800 PyObject * obj0 = 0 ;
23801 char *kwnames[] = {
23802 (char *) "self", NULL
23803 };
23804
23805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
093d3ff1
RD
23806 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23807 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23808 {
23809 PyThreadState* __tstate = wxPyBeginAllowThreads();
23810 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
23811
23812 wxPyEndAllowThreads(__tstate);
23813 if (PyErr_Occurred()) SWIG_fail;
23814 }
4f89f6a3
RD
23815 {
23816 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23817 }
d14a1e28
RD
23818 return resultobj;
23819 fail:
23820 return NULL;
23821}
23822
23823
c32bde28 23824static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23825 PyObject *resultobj = NULL;
d14a1e28
RD
23826 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23827 wxPrintData *result;
23828 PyObject * obj0 = 0 ;
23829 char *kwnames[] = {
23830 (char *) "self", NULL
23831 };
23832
23833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
093d3ff1
RD
23834 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23835 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23836 {
23837 PyThreadState* __tstate = wxPyBeginAllowThreads();
23838 {
23839 wxPrintData &_result_ref = (arg1)->GetPrintData();
23840 result = (wxPrintData *) &_result_ref;
23841 }
23842
23843 wxPyEndAllowThreads(__tstate);
23844 if (PyErr_Occurred()) SWIG_fail;
23845 }
15afbcd0 23846 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
d14a1e28
RD
23847 return resultobj;
23848 fail:
23849 return NULL;
23850}
23851
23852
c32bde28 23853static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23854 PyObject *resultobj = NULL;
d14a1e28
RD
23855 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23856 wxPrintData *arg2 = 0 ;
23857 PyObject * obj0 = 0 ;
23858 PyObject * obj1 = 0 ;
23859 char *kwnames[] = {
23860 (char *) "self",(char *) "printData", NULL
23861 };
23862
23863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23864 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23865 if (SWIG_arg_fail(1)) SWIG_fail;
23866 {
23867 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
23868 if (SWIG_arg_fail(2)) SWIG_fail;
23869 if (arg2 == NULL) {
23870 SWIG_null_ref("wxPrintData");
23871 }
23872 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
23873 }
23874 {
23875 PyThreadState* __tstate = wxPyBeginAllowThreads();
23876 (arg1)->SetPrintData((wxPrintData const &)*arg2);
23877
23878 wxPyEndAllowThreads(__tstate);
23879 if (PyErr_Occurred()) SWIG_fail;
23880 }
23881 Py_INCREF(Py_None); resultobj = Py_None;
23882 return resultobj;
23883 fail:
23884 return NULL;
23885}
23886
23887
c32bde28 23888static PyObject * PrintDialogData_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
23889 PyObject *obj;
23890 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23891 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
23892 Py_INCREF(obj);
23893 return Py_BuildValue((char *)"");
23894}
c32bde28 23895static PyObject *_wrap_new_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23896 PyObject *resultobj = NULL;
d14a1e28
RD
23897 wxWindow *arg1 = (wxWindow *) 0 ;
23898 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
23899 wxPrintDialog *result;
23900 PyObject * obj0 = 0 ;
23901 PyObject * obj1 = 0 ;
23902 char *kwnames[] = {
23903 (char *) "parent",(char *) "data", NULL
23904 };
23905
23906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23907 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
23908 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 23909 if (obj1) {
093d3ff1
RD
23910 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23911 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
23912 }
23913 {
e3b71cb8 23914 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
23915 PyThreadState* __tstate = wxPyBeginAllowThreads();
23916 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
23917
23918 wxPyEndAllowThreads(__tstate);
110da5b0 23919 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 23920 }
15afbcd0 23921 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
d14a1e28
RD
23922 return resultobj;
23923 fail:
23924 return NULL;
23925}
23926
23927
d3b6e4ff 23928static PyObject *_wrap_PrintDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23929 PyObject *resultobj = NULL;
d3b6e4ff
RD
23930 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
23931 int result;
23932 PyObject * obj0 = 0 ;
23933 char *kwnames[] = {
23934 (char *) "self", NULL
23935 };
23936
23937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
093d3ff1
RD
23938 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
23939 if (SWIG_arg_fail(1)) SWIG_fail;
d3b6e4ff
RD
23940 {
23941 PyThreadState* __tstate = wxPyBeginAllowThreads();
23942 result = (int)(arg1)->ShowModal();
23943
23944 wxPyEndAllowThreads(__tstate);
23945 if (PyErr_Occurred()) SWIG_fail;
23946 }
093d3ff1 23947 {
32fe5131 23948 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 23949 }
d3b6e4ff
RD
23950 return resultobj;
23951 fail:
23952 return NULL;
23953}
23954
23955
c32bde28 23956static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23957 PyObject *resultobj = NULL;
d14a1e28
RD
23958 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
23959 wxPrintDialogData *result;
23960 PyObject * obj0 = 0 ;
23961 char *kwnames[] = {
23962 (char *) "self", NULL
23963 };
23964
23965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
093d3ff1
RD
23966 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
23967 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23968 {
23969 PyThreadState* __tstate = wxPyBeginAllowThreads();
23970 {
23971 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
23972 result = (wxPrintDialogData *) &_result_ref;
23973 }
23974
23975 wxPyEndAllowThreads(__tstate);
23976 if (PyErr_Occurred()) SWIG_fail;
23977 }
15afbcd0 23978 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
d14a1e28
RD
23979 return resultobj;
23980 fail:
23981 return NULL;
23982}
23983
23984
d3b6e4ff 23985static PyObject *_wrap_PrintDialog_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23986 PyObject *resultobj = NULL;
d14a1e28 23987 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
d3b6e4ff 23988 wxPrintData *result;
d14a1e28
RD
23989 PyObject * obj0 = 0 ;
23990 char *kwnames[] = {
23991 (char *) "self", NULL
23992 };
23993
d3b6e4ff 23994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintData",kwnames,&obj0)) goto fail;
093d3ff1
RD
23995 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
23996 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23997 {
23998 PyThreadState* __tstate = wxPyBeginAllowThreads();
d3b6e4ff
RD
23999 {
24000 wxPrintData &_result_ref = (arg1)->GetPrintData();
24001 result = (wxPrintData *) &_result_ref;
24002 }
d14a1e28
RD
24003
24004 wxPyEndAllowThreads(__tstate);
24005 if (PyErr_Occurred()) SWIG_fail;
24006 }
d3b6e4ff 24007 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
d14a1e28
RD
24008 return resultobj;
24009 fail:
24010 return NULL;
24011}
24012
24013
d3b6e4ff 24014static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24015 PyObject *resultobj = NULL;
d14a1e28 24016 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
d3b6e4ff 24017 wxDC *result;
d14a1e28
RD
24018 PyObject * obj0 = 0 ;
24019 char *kwnames[] = {
24020 (char *) "self", NULL
24021 };
24022
d3b6e4ff 24023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
093d3ff1
RD
24024 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
24025 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24026 {
24027 PyThreadState* __tstate = wxPyBeginAllowThreads();
d3b6e4ff 24028 result = (wxDC *)(arg1)->GetPrintDC();
d14a1e28
RD
24029
24030 wxPyEndAllowThreads(__tstate);
24031 if (PyErr_Occurred()) SWIG_fail;
24032 }
d3b6e4ff
RD
24033 {
24034 resultobj = wxPyMake_wxObject(result, 1);
24035 }
d14a1e28
RD
24036 return resultobj;
24037 fail:
24038 return NULL;
24039}
24040
24041
c32bde28 24042static PyObject * PrintDialog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
24043 PyObject *obj;
24044 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24045 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
24046 Py_INCREF(obj);
24047 return Py_BuildValue((char *)"");
24048}
c32bde28 24049static PyObject *_wrap_new_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24050 PyObject *resultobj = NULL;
d14a1e28
RD
24051 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
24052 wxPrinter *result;
24053 PyObject * obj0 = 0 ;
24054 char *kwnames[] = {
24055 (char *) "data", NULL
24056 };
24057
24058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
24059 if (obj0) {
093d3ff1
RD
24060 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24061 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24062 }
24063 {
e3b71cb8 24064 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
24065 PyThreadState* __tstate = wxPyBeginAllowThreads();
24066 result = (wxPrinter *)new wxPrinter(arg1);
24067
24068 wxPyEndAllowThreads(__tstate);
110da5b0 24069 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 24070 }
15afbcd0 24071 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
d14a1e28
RD
24072 return resultobj;
24073 fail:
24074 return NULL;
24075}
24076
24077
c32bde28 24078static PyObject *_wrap_delete_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24079 PyObject *resultobj = NULL;
d14a1e28
RD
24080 wxPrinter *arg1 = (wxPrinter *) 0 ;
24081 PyObject * obj0 = 0 ;
24082 char *kwnames[] = {
24083 (char *) "self", NULL
24084 };
24085
24086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
093d3ff1
RD
24087 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24088 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24089 {
24090 PyThreadState* __tstate = wxPyBeginAllowThreads();
24091 delete arg1;
24092
24093 wxPyEndAllowThreads(__tstate);
24094 if (PyErr_Occurred()) SWIG_fail;
24095 }
24096 Py_INCREF(Py_None); resultobj = Py_None;
24097 return resultobj;
24098 fail:
24099 return NULL;
24100}
24101
24102
c32bde28 24103static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24104 PyObject *resultobj = NULL;
d14a1e28
RD
24105 wxPrinter *arg1 = (wxPrinter *) 0 ;
24106 wxWindow *arg2 = (wxWindow *) 0 ;
a68b8331 24107 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
d3b6e4ff 24108 wxWindow *result;
d14a1e28
RD
24109 PyObject * obj0 = 0 ;
24110 PyObject * obj1 = 0 ;
24111 PyObject * obj2 = 0 ;
24112 char *kwnames[] = {
24113 (char *) "self",(char *) "parent",(char *) "printout", NULL
24114 };
24115
24116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24117 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24118 if (SWIG_arg_fail(1)) SWIG_fail;
24119 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24120 if (SWIG_arg_fail(2)) SWIG_fail;
24121 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24122 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
24123 {
24124 PyThreadState* __tstate = wxPyBeginAllowThreads();
d3b6e4ff 24125 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
d14a1e28
RD
24126
24127 wxPyEndAllowThreads(__tstate);
24128 if (PyErr_Occurred()) SWIG_fail;
24129 }
d3b6e4ff
RD
24130 {
24131 resultobj = wxPyMake_wxObject(result, 0);
24132 }
d14a1e28
RD
24133 return resultobj;
24134 fail:
24135 return NULL;
24136}
24137
24138
d3b6e4ff 24139static PyObject *_wrap_Printer_ReportError(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24140 PyObject *resultobj = NULL;
d14a1e28 24141 wxPrinter *arg1 = (wxPrinter *) 0 ;
d3b6e4ff 24142 wxWindow *arg2 = (wxWindow *) 0 ;
a68b8331 24143 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
d3b6e4ff
RD
24144 wxString *arg4 = 0 ;
24145 bool temp4 = false ;
d14a1e28 24146 PyObject * obj0 = 0 ;
d3b6e4ff
RD
24147 PyObject * obj1 = 0 ;
24148 PyObject * obj2 = 0 ;
24149 PyObject * obj3 = 0 ;
d14a1e28 24150 char *kwnames[] = {
d3b6e4ff 24151 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
d14a1e28
RD
24152 };
24153
d3b6e4ff 24154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
24155 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24156 if (SWIG_arg_fail(1)) SWIG_fail;
24157 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24158 if (SWIG_arg_fail(2)) SWIG_fail;
24159 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24160 if (SWIG_arg_fail(3)) SWIG_fail;
d3b6e4ff
RD
24161 {
24162 arg4 = wxString_in_helper(obj3);
24163 if (arg4 == NULL) SWIG_fail;
24164 temp4 = true;
24165 }
d14a1e28
RD
24166 {
24167 PyThreadState* __tstate = wxPyBeginAllowThreads();
d3b6e4ff 24168 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
d14a1e28
RD
24169
24170 wxPyEndAllowThreads(__tstate);
24171 if (PyErr_Occurred()) SWIG_fail;
24172 }
d3b6e4ff
RD
24173 Py_INCREF(Py_None); resultobj = Py_None;
24174 {
24175 if (temp4)
24176 delete arg4;
24177 }
d14a1e28
RD
24178 return resultobj;
24179 fail:
d3b6e4ff
RD
24180 {
24181 if (temp4)
24182 delete arg4;
24183 }
d14a1e28
RD
24184 return NULL;
24185}
24186
24187
d3b6e4ff 24188static PyObject *_wrap_Printer_Setup(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24189 PyObject *resultobj = NULL;
d14a1e28
RD
24190 wxPrinter *arg1 = (wxPrinter *) 0 ;
24191 wxWindow *arg2 = (wxWindow *) 0 ;
d14a1e28
RD
24192 bool result;
24193 PyObject * obj0 = 0 ;
24194 PyObject * obj1 = 0 ;
d14a1e28 24195 char *kwnames[] = {
d3b6e4ff 24196 (char *) "self",(char *) "parent", NULL
d14a1e28
RD
24197 };
24198
d3b6e4ff 24199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24200 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24201 if (SWIG_arg_fail(1)) SWIG_fail;
24202 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24203 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
24204 {
24205 PyThreadState* __tstate = wxPyBeginAllowThreads();
d3b6e4ff 24206 result = (bool)(arg1)->Setup(arg2);
d14a1e28
RD
24207
24208 wxPyEndAllowThreads(__tstate);
24209 if (PyErr_Occurred()) SWIG_fail;
24210 }
4f89f6a3
RD
24211 {
24212 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24213 }
d14a1e28
RD
24214 return resultobj;
24215 fail:
24216 return NULL;
24217}
24218
24219
d3b6e4ff 24220static PyObject *_wrap_Printer_Print(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24221 PyObject *resultobj = NULL;
d14a1e28
RD
24222 wxPrinter *arg1 = (wxPrinter *) 0 ;
24223 wxWindow *arg2 = (wxWindow *) 0 ;
a68b8331 24224 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
d3b6e4ff
RD
24225 bool arg4 = (bool) true ;
24226 bool result;
d14a1e28
RD
24227 PyObject * obj0 = 0 ;
24228 PyObject * obj1 = 0 ;
d3b6e4ff
RD
24229 PyObject * obj2 = 0 ;
24230 PyObject * obj3 = 0 ;
d14a1e28 24231 char *kwnames[] = {
d3b6e4ff 24232 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
d14a1e28
RD
24233 };
24234
d3b6e4ff 24235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
24236 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24237 if (SWIG_arg_fail(1)) SWIG_fail;
24238 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24239 if (SWIG_arg_fail(2)) SWIG_fail;
24240 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24241 if (SWIG_arg_fail(3)) SWIG_fail;
d3b6e4ff 24242 if (obj3) {
093d3ff1 24243 {
32fe5131 24244 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
093d3ff1
RD
24245 if (SWIG_arg_fail(4)) SWIG_fail;
24246 }
d3b6e4ff 24247 }
d14a1e28
RD
24248 {
24249 PyThreadState* __tstate = wxPyBeginAllowThreads();
d3b6e4ff 24250 result = (bool)(arg1)->Print(arg2,arg3,arg4);
d14a1e28
RD
24251
24252 wxPyEndAllowThreads(__tstate);
24253 if (PyErr_Occurred()) SWIG_fail;
24254 }
24255 {
d3b6e4ff 24256 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
24257 }
24258 return resultobj;
24259 fail:
24260 return NULL;
24261}
24262
24263
d3b6e4ff 24264static PyObject *_wrap_Printer_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24265 PyObject *resultobj = NULL;
d14a1e28
RD
24266 wxPrinter *arg1 = (wxPrinter *) 0 ;
24267 wxWindow *arg2 = (wxWindow *) 0 ;
d3b6e4ff 24268 wxDC *result;
d14a1e28
RD
24269 PyObject * obj0 = 0 ;
24270 PyObject * obj1 = 0 ;
d14a1e28 24271 char *kwnames[] = {
d3b6e4ff 24272 (char *) "self",(char *) "parent", NULL
d14a1e28
RD
24273 };
24274
d3b6e4ff 24275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24276 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24277 if (SWIG_arg_fail(1)) SWIG_fail;
24278 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24279 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
24280 {
24281 PyThreadState* __tstate = wxPyBeginAllowThreads();
d3b6e4ff 24282 result = (wxDC *)(arg1)->PrintDialog(arg2);
d14a1e28
RD
24283
24284 wxPyEndAllowThreads(__tstate);
24285 if (PyErr_Occurred()) SWIG_fail;
24286 }
d14a1e28 24287 {
d3b6e4ff 24288 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
24289 }
24290 return resultobj;
24291 fail:
d14a1e28
RD
24292 return NULL;
24293}
24294
24295
d3b6e4ff 24296static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24297 PyObject *resultobj = NULL;
d14a1e28 24298 wxPrinter *arg1 = (wxPrinter *) 0 ;
d3b6e4ff 24299 wxPrintDialogData *result;
d14a1e28 24300 PyObject * obj0 = 0 ;
d14a1e28 24301 char *kwnames[] = {
d3b6e4ff 24302 (char *) "self", NULL
d14a1e28
RD
24303 };
24304
d3b6e4ff 24305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
093d3ff1
RD
24306 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24307 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24308 {
24309 PyThreadState* __tstate = wxPyBeginAllowThreads();
d3b6e4ff
RD
24310 {
24311 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
24312 result = (wxPrintDialogData *) &_result_ref;
24313 }
d14a1e28
RD
24314
24315 wxPyEndAllowThreads(__tstate);
24316 if (PyErr_Occurred()) SWIG_fail;
24317 }
d3b6e4ff 24318 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
d14a1e28
RD
24319 return resultobj;
24320 fail:
24321 return NULL;
24322}
24323
24324
c32bde28 24325static PyObject *_wrap_Printer_GetAbort(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24326 PyObject *resultobj = NULL;
d14a1e28
RD
24327 wxPrinter *arg1 = (wxPrinter *) 0 ;
24328 bool result;
24329 PyObject * obj0 = 0 ;
24330 char *kwnames[] = {
24331 (char *) "self", NULL
24332 };
24333
24334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
093d3ff1
RD
24335 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24336 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24337 {
24338 PyThreadState* __tstate = wxPyBeginAllowThreads();
24339 result = (bool)(arg1)->GetAbort();
24340
24341 wxPyEndAllowThreads(__tstate);
24342 if (PyErr_Occurred()) SWIG_fail;
24343 }
4f89f6a3
RD
24344 {
24345 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24346 }
d14a1e28
RD
24347 return resultobj;
24348 fail:
24349 return NULL;
24350}
24351
24352
c32bde28 24353static PyObject *_wrap_Printer_GetLastError(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24354 PyObject *resultobj = NULL;
093d3ff1 24355 wxPrinterError result;
d14a1e28
RD
24356 char *kwnames[] = {
24357 NULL
24358 };
24359
24360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
24361 {
24362 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 24363 result = (wxPrinterError)wxPrinter::GetLastError();
d14a1e28
RD
24364
24365 wxPyEndAllowThreads(__tstate);
24366 if (PyErr_Occurred()) SWIG_fail;
24367 }
093d3ff1 24368 resultobj = SWIG_From_int((result));
d14a1e28
RD
24369 return resultobj;
24370 fail:
24371 return NULL;
24372}
24373
24374
c32bde28 24375static PyObject * Printer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
24376 PyObject *obj;
24377 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24378 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
24379 Py_INCREF(obj);
24380 return Py_BuildValue((char *)"");
24381}
c32bde28 24382static PyObject *_wrap_new_Printout(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24383 PyObject *resultobj = NULL;
d14a1e28
RD
24384 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
24385 wxString *arg1 = (wxString *) &arg1_defvalue ;
24386 wxPyPrintout *result;
ae8162c8 24387 bool temp1 = false ;
d14a1e28
RD
24388 PyObject * obj0 = 0 ;
24389 char *kwnames[] = {
24390 (char *) "title", NULL
24391 };
24392
24393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
24394 if (obj0) {
24395 {
24396 arg1 = wxString_in_helper(obj0);
24397 if (arg1 == NULL) SWIG_fail;
ae8162c8 24398 temp1 = true;
d14a1e28
RD
24399 }
24400 }
24401 {
e3b71cb8 24402 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
24403 PyThreadState* __tstate = wxPyBeginAllowThreads();
24404 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
24405
24406 wxPyEndAllowThreads(__tstate);
110da5b0 24407 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24408 }
24409 {
412d302d 24410 resultobj = wxPyMake_wxObject(result, 1);
d14a1e28
RD
24411 }
24412 {
24413 if (temp1)
24414 delete arg1;
24415 }
24416 return resultobj;
24417 fail:
24418 {
24419 if (temp1)
24420 delete arg1;
24421 }
24422 return NULL;
24423}
24424
24425
c32bde28 24426static PyObject *_wrap_Printout__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24427 PyObject *resultobj = NULL;
d14a1e28
RD
24428 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24429 PyObject *arg2 = (PyObject *) 0 ;
24430 PyObject *arg3 = (PyObject *) 0 ;
24431 PyObject * obj0 = 0 ;
24432 PyObject * obj1 = 0 ;
24433 PyObject * obj2 = 0 ;
24434 char *kwnames[] = {
24435 (char *) "self",(char *) "self",(char *) "_class", NULL
24436 };
24437
24438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24439 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24440 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24441 arg2 = obj1;
24442 arg3 = obj2;
24443 {
24444 PyThreadState* __tstate = wxPyBeginAllowThreads();
24445 (arg1)->_setCallbackInfo(arg2,arg3);
24446
24447 wxPyEndAllowThreads(__tstate);
24448 if (PyErr_Occurred()) SWIG_fail;
24449 }
24450 Py_INCREF(Py_None); resultobj = Py_None;
24451 return resultobj;
24452 fail:
24453 return NULL;
24454}
24455
24456
c32bde28 24457static PyObject *_wrap_Printout_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24458 PyObject *resultobj = NULL;
d14a1e28
RD
24459 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24460 wxString result;
24461 PyObject * obj0 = 0 ;
24462 char *kwnames[] = {
24463 (char *) "self", NULL
24464 };
24465
24466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
093d3ff1
RD
24467 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24468 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24469 {
24470 PyThreadState* __tstate = wxPyBeginAllowThreads();
24471 result = ((wxPyPrintout const *)arg1)->GetTitle();
24472
24473 wxPyEndAllowThreads(__tstate);
24474 if (PyErr_Occurred()) SWIG_fail;
24475 }
24476 {
24477#if wxUSE_UNICODE
24478 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24479#else
24480 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24481#endif
24482 }
24483 return resultobj;
24484 fail:
24485 return NULL;
24486}
24487
24488
c32bde28 24489static PyObject *_wrap_Printout_GetDC(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24490 PyObject *resultobj = NULL;
d14a1e28
RD
24491 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24492 wxDC *result;
24493 PyObject * obj0 = 0 ;
24494 char *kwnames[] = {
24495 (char *) "self", NULL
24496 };
24497
24498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
093d3ff1
RD
24499 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24500 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24501 {
24502 PyThreadState* __tstate = wxPyBeginAllowThreads();
24503 result = (wxDC *)(arg1)->GetDC();
24504
24505 wxPyEndAllowThreads(__tstate);
24506 if (PyErr_Occurred()) SWIG_fail;
24507 }
24508 {
412d302d 24509 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
24510 }
24511 return resultobj;
24512 fail:
24513 return NULL;
24514}
24515
24516
c32bde28 24517static PyObject *_wrap_Printout_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24518 PyObject *resultobj = NULL;
d14a1e28
RD
24519 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24520 wxDC *arg2 = (wxDC *) 0 ;
24521 PyObject * obj0 = 0 ;
24522 PyObject * obj1 = 0 ;
24523 char *kwnames[] = {
24524 (char *) "self",(char *) "dc", NULL
24525 };
24526
24527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24528 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24529 if (SWIG_arg_fail(1)) SWIG_fail;
24530 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
24531 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
24532 {
24533 PyThreadState* __tstate = wxPyBeginAllowThreads();
24534 (arg1)->SetDC(arg2);
24535
24536 wxPyEndAllowThreads(__tstate);
24537 if (PyErr_Occurred()) SWIG_fail;
24538 }
24539 Py_INCREF(Py_None); resultobj = Py_None;
24540 return resultobj;
24541 fail:
24542 return NULL;
24543}
24544
24545
c32bde28 24546static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24547 PyObject *resultobj = NULL;
d14a1e28 24548 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
322913ce
RD
24549 int arg2 ;
24550 int arg3 ;
d14a1e28 24551 PyObject * obj0 = 0 ;
994141e6
RD
24552 PyObject * obj1 = 0 ;
24553 PyObject * obj2 = 0 ;
d14a1e28 24554 char *kwnames[] = {
322913ce 24555 (char *) "self",(char *) "w",(char *) "h", NULL
d14a1e28
RD
24556 };
24557
994141e6 24558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24559 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24560 if (SWIG_arg_fail(1)) SWIG_fail;
24561 {
32fe5131 24562 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
24563 if (SWIG_arg_fail(2)) SWIG_fail;
24564 }
24565 {
32fe5131 24566 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
24567 if (SWIG_arg_fail(3)) SWIG_fail;
24568 }
d14a1e28
RD
24569 {
24570 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 24571 (arg1)->SetPageSizePixels(arg2,arg3);
d14a1e28
RD
24572
24573 wxPyEndAllowThreads(__tstate);
24574 if (PyErr_Occurred()) SWIG_fail;
24575 }
24576 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
24577 return resultobj;
24578 fail:
24579 return NULL;
24580}
24581
24582
c32bde28 24583static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24584 PyObject *resultobj = NULL;
d14a1e28 24585 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
322913ce
RD
24586 int *arg2 = (int *) 0 ;
24587 int *arg3 = (int *) 0 ;
24588 int temp2 ;
c32bde28 24589 int res2 = 0 ;
322913ce 24590 int temp3 ;
c32bde28 24591 int res3 = 0 ;
d14a1e28
RD
24592 PyObject * obj0 = 0 ;
24593 char *kwnames[] = {
322913ce 24594 (char *) "self", NULL
d14a1e28
RD
24595 };
24596
c32bde28
RD
24597 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24598 arg3 = &temp3; res3 = SWIG_NEWOBJ;
322913ce 24599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
093d3ff1
RD
24600 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24601 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24602 {
24603 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 24604 (arg1)->GetPageSizePixels(arg2,arg3);
d14a1e28
RD
24605
24606 wxPyEndAllowThreads(__tstate);
24607 if (PyErr_Occurred()) SWIG_fail;
24608 }
24609 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
24610 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24611 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24612 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24613 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
24614 return resultobj;
24615 fail:
24616 return NULL;
24617}
24618
24619
c32bde28 24620static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24621 PyObject *resultobj = NULL;
d14a1e28
RD
24622 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24623 int arg2 ;
24624 int arg3 ;
24625 PyObject * obj0 = 0 ;
994141e6
RD
24626 PyObject * obj1 = 0 ;
24627 PyObject * obj2 = 0 ;
d14a1e28
RD
24628 char *kwnames[] = {
24629 (char *) "self",(char *) "w",(char *) "h", NULL
24630 };
24631
994141e6 24632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24633 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24634 if (SWIG_arg_fail(1)) SWIG_fail;
24635 {
32fe5131 24636 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
24637 if (SWIG_arg_fail(2)) SWIG_fail;
24638 }
24639 {
32fe5131 24640 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
24641 if (SWIG_arg_fail(3)) SWIG_fail;
24642 }
d14a1e28
RD
24643 {
24644 PyThreadState* __tstate = wxPyBeginAllowThreads();
24645 (arg1)->SetPageSizeMM(arg2,arg3);
24646
24647 wxPyEndAllowThreads(__tstate);
24648 if (PyErr_Occurred()) SWIG_fail;
24649 }
24650 Py_INCREF(Py_None); resultobj = Py_None;
24651 return resultobj;
24652 fail:
24653 return NULL;
24654}
24655
24656
c32bde28 24657static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24658 PyObject *resultobj = NULL;
d14a1e28
RD
24659 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24660 int *arg2 = (int *) 0 ;
24661 int *arg3 = (int *) 0 ;
24662 int temp2 ;
c32bde28 24663 int res2 = 0 ;
d14a1e28 24664 int temp3 ;
c32bde28 24665 int res3 = 0 ;
d14a1e28
RD
24666 PyObject * obj0 = 0 ;
24667 char *kwnames[] = {
24668 (char *) "self", NULL
24669 };
24670
c32bde28
RD
24671 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24672 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 24673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
093d3ff1
RD
24674 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24675 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24676 {
24677 PyThreadState* __tstate = wxPyBeginAllowThreads();
24678 (arg1)->GetPageSizeMM(arg2,arg3);
24679
24680 wxPyEndAllowThreads(__tstate);
24681 if (PyErr_Occurred()) SWIG_fail;
24682 }
24683 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
24684 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24685 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24686 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24687 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
24688 return resultobj;
24689 fail:
24690 return NULL;
24691}
24692
24693
c32bde28 24694static PyObject *_wrap_Printout_SetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24695 PyObject *resultobj = NULL;
d14a1e28
RD
24696 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24697 int arg2 ;
24698 int arg3 ;
24699 PyObject * obj0 = 0 ;
994141e6
RD
24700 PyObject * obj1 = 0 ;
24701 PyObject * obj2 = 0 ;
d14a1e28
RD
24702 char *kwnames[] = {
24703 (char *) "self",(char *) "x",(char *) "y", NULL
24704 };
24705
994141e6 24706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24707 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24708 if (SWIG_arg_fail(1)) SWIG_fail;
24709 {
32fe5131 24710 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
24711 if (SWIG_arg_fail(2)) SWIG_fail;
24712 }
24713 {
32fe5131 24714 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
24715 if (SWIG_arg_fail(3)) SWIG_fail;
24716 }
d14a1e28
RD
24717 {
24718 PyThreadState* __tstate = wxPyBeginAllowThreads();
24719 (arg1)->SetPPIScreen(arg2,arg3);
24720
24721 wxPyEndAllowThreads(__tstate);
24722 if (PyErr_Occurred()) SWIG_fail;
24723 }
24724 Py_INCREF(Py_None); resultobj = Py_None;
24725 return resultobj;
24726 fail:
24727 return NULL;
24728}
24729
24730
c32bde28 24731static PyObject *_wrap_Printout_GetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24732 PyObject *resultobj = NULL;
d14a1e28
RD
24733 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24734 int *arg2 = (int *) 0 ;
24735 int *arg3 = (int *) 0 ;
24736 int temp2 ;
c32bde28 24737 int res2 = 0 ;
d14a1e28 24738 int temp3 ;
c32bde28 24739 int res3 = 0 ;
d14a1e28
RD
24740 PyObject * obj0 = 0 ;
24741 char *kwnames[] = {
24742 (char *) "self", NULL
24743 };
24744
c32bde28
RD
24745 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24746 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 24747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
093d3ff1
RD
24748 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24749 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24750 {
24751 PyThreadState* __tstate = wxPyBeginAllowThreads();
24752 (arg1)->GetPPIScreen(arg2,arg3);
24753
24754 wxPyEndAllowThreads(__tstate);
24755 if (PyErr_Occurred()) SWIG_fail;
24756 }
24757 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
24758 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24759 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24760 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24761 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
24762 return resultobj;
24763 fail:
24764 return NULL;
24765}
24766
24767
c32bde28 24768static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24769 PyObject *resultobj = NULL;
d14a1e28
RD
24770 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24771 int arg2 ;
24772 int arg3 ;
24773 PyObject * obj0 = 0 ;
994141e6
RD
24774 PyObject * obj1 = 0 ;
24775 PyObject * obj2 = 0 ;
d14a1e28
RD
24776 char *kwnames[] = {
24777 (char *) "self",(char *) "x",(char *) "y", NULL
24778 };
24779
994141e6 24780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24781 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24782 if (SWIG_arg_fail(1)) SWIG_fail;
24783 {
32fe5131 24784 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
24785 if (SWIG_arg_fail(2)) SWIG_fail;
24786 }
24787 {
32fe5131 24788 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
24789 if (SWIG_arg_fail(3)) SWIG_fail;
24790 }
d14a1e28
RD
24791 {
24792 PyThreadState* __tstate = wxPyBeginAllowThreads();
24793 (arg1)->SetPPIPrinter(arg2,arg3);
24794
24795 wxPyEndAllowThreads(__tstate);
24796 if (PyErr_Occurred()) SWIG_fail;
24797 }
24798 Py_INCREF(Py_None); resultobj = Py_None;
24799 return resultobj;
24800 fail:
24801 return NULL;
24802}
24803
24804
c32bde28 24805static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24806 PyObject *resultobj = NULL;
d14a1e28
RD
24807 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24808 int *arg2 = (int *) 0 ;
24809 int *arg3 = (int *) 0 ;
24810 int temp2 ;
c32bde28 24811 int res2 = 0 ;
d14a1e28 24812 int temp3 ;
c32bde28 24813 int res3 = 0 ;
d14a1e28
RD
24814 PyObject * obj0 = 0 ;
24815 char *kwnames[] = {
24816 (char *) "self", NULL
24817 };
24818
c32bde28
RD
24819 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24820 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 24821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
093d3ff1
RD
24822 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24823 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24824 {
24825 PyThreadState* __tstate = wxPyBeginAllowThreads();
24826 (arg1)->GetPPIPrinter(arg2,arg3);
24827
24828 wxPyEndAllowThreads(__tstate);
24829 if (PyErr_Occurred()) SWIG_fail;
24830 }
24831 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
24832 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24833 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24834 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24835 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
24836 return resultobj;
24837 fail:
24838 return NULL;
24839}
24840
24841
c32bde28 24842static PyObject *_wrap_Printout_IsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24843 PyObject *resultobj = NULL;
d14a1e28
RD
24844 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24845 bool result;
24846 PyObject * obj0 = 0 ;
24847 char *kwnames[] = {
24848 (char *) "self", NULL
24849 };
24850
24851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
093d3ff1
RD
24852 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24853 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24854 {
24855 PyThreadState* __tstate = wxPyBeginAllowThreads();
24856 result = (bool)(arg1)->IsPreview();
24857
24858 wxPyEndAllowThreads(__tstate);
24859 if (PyErr_Occurred()) SWIG_fail;
24860 }
4f89f6a3
RD
24861 {
24862 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24863 }
d14a1e28
RD
24864 return resultobj;
24865 fail:
24866 return NULL;
24867}
24868
24869
c32bde28 24870static PyObject *_wrap_Printout_SetIsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24871 PyObject *resultobj = NULL;
d14a1e28
RD
24872 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24873 bool arg2 ;
24874 PyObject * obj0 = 0 ;
24875 PyObject * obj1 = 0 ;
24876 char *kwnames[] = {
24877 (char *) "self",(char *) "p", NULL
24878 };
24879
24880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24881 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24882 if (SWIG_arg_fail(1)) SWIG_fail;
24883 {
32fe5131 24884 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
24885 if (SWIG_arg_fail(2)) SWIG_fail;
24886 }
d14a1e28
RD
24887 {
24888 PyThreadState* __tstate = wxPyBeginAllowThreads();
24889 (arg1)->SetIsPreview(arg2);
24890
24891 wxPyEndAllowThreads(__tstate);
24892 if (PyErr_Occurred()) SWIG_fail;
24893 }
24894 Py_INCREF(Py_None); resultobj = Py_None;
24895 return resultobj;
24896 fail:
24897 return NULL;
24898}
24899
24900
c32bde28 24901static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24902 PyObject *resultobj = NULL;
d14a1e28
RD
24903 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24904 int arg2 ;
24905 int arg3 ;
24906 bool result;
24907 PyObject * obj0 = 0 ;
994141e6
RD
24908 PyObject * obj1 = 0 ;
24909 PyObject * obj2 = 0 ;
d14a1e28
RD
24910 char *kwnames[] = {
24911 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
24912 };
24913
994141e6 24914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24915 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24916 if (SWIG_arg_fail(1)) SWIG_fail;
24917 {
32fe5131 24918 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
24919 if (SWIG_arg_fail(2)) SWIG_fail;
24920 }
24921 {
32fe5131 24922 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
24923 if (SWIG_arg_fail(3)) SWIG_fail;
24924 }
d14a1e28
RD
24925 {
24926 PyThreadState* __tstate = wxPyBeginAllowThreads();
24927 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
24928
24929 wxPyEndAllowThreads(__tstate);
24930 if (PyErr_Occurred()) SWIG_fail;
24931 }
4f89f6a3
RD
24932 {
24933 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24934 }
d14a1e28
RD
24935 return resultobj;
24936 fail:
24937 return NULL;
24938}
24939
24940
c32bde28 24941static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24942 PyObject *resultobj = NULL;
d14a1e28
RD
24943 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24944 PyObject * obj0 = 0 ;
24945 char *kwnames[] = {
24946 (char *) "self", NULL
24947 };
24948
24949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
093d3ff1
RD
24950 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24951 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24952 {
24953 PyThreadState* __tstate = wxPyBeginAllowThreads();
24954 (arg1)->base_OnEndDocument();
24955
24956 wxPyEndAllowThreads(__tstate);
24957 if (PyErr_Occurred()) SWIG_fail;
24958 }
24959 Py_INCREF(Py_None); resultobj = Py_None;
24960 return resultobj;
24961 fail:
24962 return NULL;
24963}
24964
24965
c32bde28 24966static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24967 PyObject *resultobj = NULL;
d14a1e28
RD
24968 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24969 PyObject * obj0 = 0 ;
24970 char *kwnames[] = {
24971 (char *) "self", NULL
24972 };
24973
24974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
093d3ff1
RD
24975 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24976 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24977 {
24978 PyThreadState* __tstate = wxPyBeginAllowThreads();
24979 (arg1)->base_OnBeginPrinting();
24980
24981 wxPyEndAllowThreads(__tstate);
24982 if (PyErr_Occurred()) SWIG_fail;
24983 }
24984 Py_INCREF(Py_None); resultobj = Py_None;
24985 return resultobj;
24986 fail:
24987 return NULL;
24988}
24989
24990
c32bde28 24991static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24992 PyObject *resultobj = NULL;
d14a1e28
RD
24993 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24994 PyObject * obj0 = 0 ;
24995 char *kwnames[] = {
24996 (char *) "self", NULL
24997 };
24998
24999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
093d3ff1
RD
25000 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25001 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25002 {
25003 PyThreadState* __tstate = wxPyBeginAllowThreads();
25004 (arg1)->base_OnEndPrinting();
25005
25006 wxPyEndAllowThreads(__tstate);
25007 if (PyErr_Occurred()) SWIG_fail;
25008 }
25009 Py_INCREF(Py_None); resultobj = Py_None;
25010 return resultobj;
25011 fail:
25012 return NULL;
25013}
25014
25015
c32bde28 25016static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25017 PyObject *resultobj = NULL;
d14a1e28
RD
25018 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25019 PyObject * obj0 = 0 ;
25020 char *kwnames[] = {
25021 (char *) "self", NULL
25022 };
25023
25024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
093d3ff1
RD
25025 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25026 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25027 {
25028 PyThreadState* __tstate = wxPyBeginAllowThreads();
25029 (arg1)->base_OnPreparePrinting();
25030
25031 wxPyEndAllowThreads(__tstate);
25032 if (PyErr_Occurred()) SWIG_fail;
25033 }
25034 Py_INCREF(Py_None); resultobj = Py_None;
25035 return resultobj;
25036 fail:
25037 return NULL;
25038}
25039
25040
c32bde28 25041static PyObject *_wrap_Printout_base_HasPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25042 PyObject *resultobj = NULL;
322913ce
RD
25043 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25044 int arg2 ;
25045 bool result;
25046 PyObject * obj0 = 0 ;
994141e6 25047 PyObject * obj1 = 0 ;
322913ce
RD
25048 char *kwnames[] = {
25049 (char *) "self",(char *) "page", NULL
25050 };
25051
994141e6 25052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25053 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25054 if (SWIG_arg_fail(1)) SWIG_fail;
25055 {
32fe5131 25056 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
25057 if (SWIG_arg_fail(2)) SWIG_fail;
25058 }
322913ce
RD
25059 {
25060 PyThreadState* __tstate = wxPyBeginAllowThreads();
25061 result = (bool)(arg1)->base_HasPage(arg2);
25062
25063 wxPyEndAllowThreads(__tstate);
25064 if (PyErr_Occurred()) SWIG_fail;
25065 }
4f89f6a3
RD
25066 {
25067 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25068 }
322913ce
RD
25069 return resultobj;
25070 fail:
25071 return NULL;
25072}
25073
25074
c32bde28 25075static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25076 PyObject *resultobj = NULL;
d14a1e28
RD
25077 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25078 int *arg2 = (int *) 0 ;
25079 int *arg3 = (int *) 0 ;
25080 int *arg4 = (int *) 0 ;
25081 int *arg5 = (int *) 0 ;
25082 int temp2 ;
c32bde28 25083 int res2 = 0 ;
d14a1e28 25084 int temp3 ;
c32bde28 25085 int res3 = 0 ;
d14a1e28 25086 int temp4 ;
c32bde28 25087 int res4 = 0 ;
d14a1e28 25088 int temp5 ;
c32bde28 25089 int res5 = 0 ;
d14a1e28
RD
25090 PyObject * obj0 = 0 ;
25091 char *kwnames[] = {
25092 (char *) "self", NULL
25093 };
25094
c32bde28
RD
25095 arg2 = &temp2; res2 = SWIG_NEWOBJ;
25096 arg3 = &temp3; res3 = SWIG_NEWOBJ;
25097 arg4 = &temp4; res4 = SWIG_NEWOBJ;
25098 arg5 = &temp5; res5 = SWIG_NEWOBJ;
d14a1e28 25099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
093d3ff1
RD
25100 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25101 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25102 {
25103 PyThreadState* __tstate = wxPyBeginAllowThreads();
25104 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
25105
25106 wxPyEndAllowThreads(__tstate);
25107 if (PyErr_Occurred()) SWIG_fail;
25108 }
25109 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
25110 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
25111 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
25112 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
25113 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
25114 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
25115 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
25116 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
25117 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
d14a1e28
RD
25118 return resultobj;
25119 fail:
25120 return NULL;
25121}
25122
25123
c32bde28 25124static PyObject * Printout_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
25125 PyObject *obj;
25126 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25127 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
25128 Py_INCREF(obj);
25129 return Py_BuildValue((char *)"");
25130}
c32bde28 25131static PyObject *_wrap_new_PreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25132 PyObject *resultobj = NULL;
d14a1e28
RD
25133 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25134 wxWindow *arg2 = (wxWindow *) 0 ;
25135 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25136 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25137 wxSize const &arg4_defvalue = wxDefaultSize ;
25138 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25139 long arg5 = (long) 0 ;
25140 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
25141 wxString *arg6 = (wxString *) &arg6_defvalue ;
25142 wxPreviewCanvas *result;
25143 wxPoint temp3 ;
25144 wxSize temp4 ;
ae8162c8 25145 bool temp6 = false ;
d14a1e28
RD
25146 PyObject * obj0 = 0 ;
25147 PyObject * obj1 = 0 ;
25148 PyObject * obj2 = 0 ;
25149 PyObject * obj3 = 0 ;
994141e6 25150 PyObject * obj4 = 0 ;
d14a1e28
RD
25151 PyObject * obj5 = 0 ;
25152 char *kwnames[] = {
25153 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25154 };
25155
994141e6 25156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
25157 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25158 if (SWIG_arg_fail(1)) SWIG_fail;
25159 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25160 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
25161 if (obj2) {
25162 {
25163 arg3 = &temp3;
25164 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25165 }
25166 }
25167 if (obj3) {
25168 {
25169 arg4 = &temp4;
25170 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25171 }
25172 }
994141e6 25173 if (obj4) {
093d3ff1 25174 {
32fe5131 25175 arg5 = static_cast<long >(SWIG_As_long(obj4));
093d3ff1
RD
25176 if (SWIG_arg_fail(5)) SWIG_fail;
25177 }
994141e6 25178 }
d14a1e28
RD
25179 if (obj5) {
25180 {
25181 arg6 = wxString_in_helper(obj5);
25182 if (arg6 == NULL) SWIG_fail;
ae8162c8 25183 temp6 = true;
d14a1e28
RD
25184 }
25185 }
25186 {
e3b71cb8 25187 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
25188 PyThreadState* __tstate = wxPyBeginAllowThreads();
25189 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
25190
25191 wxPyEndAllowThreads(__tstate);
110da5b0 25192 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 25193 }
15afbcd0 25194 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
d14a1e28
RD
25195 {
25196 if (temp6)
25197 delete arg6;
25198 }
25199 return resultobj;
25200 fail:
25201 {
25202 if (temp6)
25203 delete arg6;
25204 }
25205 return NULL;
25206}
25207
25208
c32bde28 25209static PyObject * PreviewCanvas_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
25210 PyObject *obj;
25211 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25212 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
25213 Py_INCREF(obj);
25214 return Py_BuildValue((char *)"");
25215}
c32bde28 25216static PyObject *_wrap_new_PreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25217 PyObject *resultobj = NULL;
d14a1e28
RD
25218 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25219 wxFrame *arg2 = (wxFrame *) 0 ;
25220 wxString *arg3 = 0 ;
25221 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25222 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25223 wxSize const &arg5_defvalue = wxDefaultSize ;
25224 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25225 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
25226 wxString const &arg7_defvalue = wxPyFrameNameStr ;
25227 wxString *arg7 = (wxString *) &arg7_defvalue ;
25228 wxPreviewFrame *result;
ae8162c8 25229 bool temp3 = false ;
d14a1e28
RD
25230 wxPoint temp4 ;
25231 wxSize temp5 ;
ae8162c8 25232 bool temp7 = false ;
d14a1e28
RD
25233 PyObject * obj0 = 0 ;
25234 PyObject * obj1 = 0 ;
25235 PyObject * obj2 = 0 ;
25236 PyObject * obj3 = 0 ;
25237 PyObject * obj4 = 0 ;
994141e6 25238 PyObject * obj5 = 0 ;
d14a1e28
RD
25239 PyObject * obj6 = 0 ;
25240 char *kwnames[] = {
25241 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25242 };
25243
994141e6 25244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
25245 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25246 if (SWIG_arg_fail(1)) SWIG_fail;
25247 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
25248 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
25249 {
25250 arg3 = wxString_in_helper(obj2);
25251 if (arg3 == NULL) SWIG_fail;
ae8162c8 25252 temp3 = true;
d14a1e28
RD
25253 }
25254 if (obj3) {
25255 {
25256 arg4 = &temp4;
25257 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25258 }
25259 }
25260 if (obj4) {
25261 {
25262 arg5 = &temp5;
25263 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25264 }
25265 }
994141e6 25266 if (obj5) {
093d3ff1 25267 {
32fe5131 25268 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
25269 if (SWIG_arg_fail(6)) SWIG_fail;
25270 }
994141e6 25271 }
d14a1e28
RD
25272 if (obj6) {
25273 {
25274 arg7 = wxString_in_helper(obj6);
25275 if (arg7 == NULL) SWIG_fail;
ae8162c8 25276 temp7 = true;
d14a1e28
RD
25277 }
25278 }
25279 {
e3b71cb8 25280 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
25281 PyThreadState* __tstate = wxPyBeginAllowThreads();
25282 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25283
25284 wxPyEndAllowThreads(__tstate);
110da5b0 25285 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 25286 }
15afbcd0 25287 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
d14a1e28
RD
25288 {
25289 if (temp3)
25290 delete arg3;
25291 }
25292 {
25293 if (temp7)
25294 delete arg7;
25295 }
25296 return resultobj;
25297 fail:
25298 {
25299 if (temp3)
25300 delete arg3;
25301 }
25302 {
25303 if (temp7)
25304 delete arg7;
25305 }
25306 return NULL;
25307}
25308
25309
c32bde28 25310static PyObject *_wrap_PreviewFrame_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25311 PyObject *resultobj = NULL;
d14a1e28
RD
25312 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25313 PyObject * obj0 = 0 ;
25314 char *kwnames[] = {
25315 (char *) "self", NULL
25316 };
25317
25318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
093d3ff1
RD
25319 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25320 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25321 {
25322 PyThreadState* __tstate = wxPyBeginAllowThreads();
25323 (arg1)->Initialize();
25324
25325 wxPyEndAllowThreads(__tstate);
25326 if (PyErr_Occurred()) SWIG_fail;
25327 }
25328 Py_INCREF(Py_None); resultobj = Py_None;
25329 return resultobj;
25330 fail:
25331 return NULL;
25332}
25333
25334
c32bde28 25335static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25336 PyObject *resultobj = NULL;
d14a1e28
RD
25337 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25338 PyObject * obj0 = 0 ;
25339 char *kwnames[] = {
25340 (char *) "self", NULL
25341 };
25342
25343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
093d3ff1
RD
25344 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25345 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25346 {
25347 PyThreadState* __tstate = wxPyBeginAllowThreads();
25348 (arg1)->CreateControlBar();
25349
25350 wxPyEndAllowThreads(__tstate);
25351 if (PyErr_Occurred()) SWIG_fail;
25352 }
25353 Py_INCREF(Py_None); resultobj = Py_None;
25354 return resultobj;
25355 fail:
25356 return NULL;
25357}
25358
25359
c32bde28 25360static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25361 PyObject *resultobj = NULL;
d14a1e28
RD
25362 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25363 PyObject * obj0 = 0 ;
25364 char *kwnames[] = {
25365 (char *) "self", NULL
25366 };
25367
25368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
093d3ff1
RD
25369 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25370 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25371 {
25372 PyThreadState* __tstate = wxPyBeginAllowThreads();
25373 (arg1)->CreateCanvas();
25374
25375 wxPyEndAllowThreads(__tstate);
25376 if (PyErr_Occurred()) SWIG_fail;
25377 }
25378 Py_INCREF(Py_None); resultobj = Py_None;
25379 return resultobj;
25380 fail:
25381 return NULL;
25382}
25383
25384
c32bde28 25385static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25386 PyObject *resultobj = NULL;
d14a1e28
RD
25387 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25388 wxPreviewControlBar *result;
25389 PyObject * obj0 = 0 ;
25390 char *kwnames[] = {
25391 (char *) "self", NULL
25392 };
25393
25394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
093d3ff1
RD
25395 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25396 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25397 {
25398 PyThreadState* __tstate = wxPyBeginAllowThreads();
25399 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
25400
25401 wxPyEndAllowThreads(__tstate);
25402 if (PyErr_Occurred()) SWIG_fail;
25403 }
15afbcd0 25404 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
d14a1e28
RD
25405 return resultobj;
25406 fail:
25407 return NULL;
25408}
25409
25410
c32bde28 25411static PyObject * PreviewFrame_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
25412 PyObject *obj;
25413 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25414 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
25415 Py_INCREF(obj);
25416 return Py_BuildValue((char *)"");
25417}
c32bde28 25418static PyObject *_wrap_new_PreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25419 PyObject *resultobj = NULL;
d14a1e28
RD
25420 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25421 long arg2 ;
25422 wxWindow *arg3 = (wxWindow *) 0 ;
25423 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25424 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25425 wxSize const &arg5_defvalue = wxDefaultSize ;
25426 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25427 long arg6 = (long) wxTAB_TRAVERSAL ;
25428 wxString const &arg7_defvalue = wxPyPanelNameStr ;
25429 wxString *arg7 = (wxString *) &arg7_defvalue ;
25430 wxPreviewControlBar *result;
25431 wxPoint temp4 ;
25432 wxSize temp5 ;
ae8162c8 25433 bool temp7 = false ;
d14a1e28 25434 PyObject * obj0 = 0 ;
994141e6 25435 PyObject * obj1 = 0 ;
d14a1e28
RD
25436 PyObject * obj2 = 0 ;
25437 PyObject * obj3 = 0 ;
25438 PyObject * obj4 = 0 ;
994141e6 25439 PyObject * obj5 = 0 ;
d14a1e28
RD
25440 PyObject * obj6 = 0 ;
25441 char *kwnames[] = {
25442 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25443 };
25444
994141e6 25445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
25446 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25447 if (SWIG_arg_fail(1)) SWIG_fail;
25448 {
32fe5131 25449 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
25450 if (SWIG_arg_fail(2)) SWIG_fail;
25451 }
25452 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25453 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
25454 if (obj3) {
25455 {
25456 arg4 = &temp4;
25457 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25458 }
25459 }
25460 if (obj4) {
25461 {
25462 arg5 = &temp5;
25463 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25464 }
25465 }
994141e6 25466 if (obj5) {
093d3ff1 25467 {
32fe5131 25468 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
25469 if (SWIG_arg_fail(6)) SWIG_fail;
25470 }
994141e6 25471 }
d14a1e28
RD
25472 if (obj6) {
25473 {
25474 arg7 = wxString_in_helper(obj6);
25475 if (arg7 == NULL) SWIG_fail;
ae8162c8 25476 temp7 = true;
d14a1e28
RD
25477 }
25478 }
25479 {
e3b71cb8 25480 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
25481 PyThreadState* __tstate = wxPyBeginAllowThreads();
25482 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25483
25484 wxPyEndAllowThreads(__tstate);
110da5b0 25485 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 25486 }
15afbcd0 25487 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
d14a1e28
RD
25488 {
25489 if (temp7)
25490 delete arg7;
25491 }
25492 return resultobj;
25493 fail:
25494 {
25495 if (temp7)
25496 delete arg7;
25497 }
25498 return NULL;
25499}
25500
25501
c32bde28 25502static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25503 PyObject *resultobj = NULL;
d14a1e28
RD
25504 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25505 int result;
25506 PyObject * obj0 = 0 ;
25507 char *kwnames[] = {
25508 (char *) "self", NULL
25509 };
25510
25511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
093d3ff1
RD
25512 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25513 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25514 {
25515 PyThreadState* __tstate = wxPyBeginAllowThreads();
25516 result = (int)(arg1)->GetZoomControl();
25517
25518 wxPyEndAllowThreads(__tstate);
25519 if (PyErr_Occurred()) SWIG_fail;
25520 }
093d3ff1 25521 {
32fe5131 25522 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 25523 }
d14a1e28
RD
25524 return resultobj;
25525 fail:
25526 return NULL;
25527}
25528
25529
c32bde28 25530static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25531 PyObject *resultobj = NULL;
d14a1e28
RD
25532 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25533 int arg2 ;
25534 PyObject * obj0 = 0 ;
994141e6 25535 PyObject * obj1 = 0 ;
d14a1e28
RD
25536 char *kwnames[] = {
25537 (char *) "self",(char *) "zoom", NULL
25538 };
25539
994141e6 25540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25541 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25542 if (SWIG_arg_fail(1)) SWIG_fail;
25543 {
32fe5131 25544 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
25545 if (SWIG_arg_fail(2)) SWIG_fail;
25546 }
d14a1e28
RD
25547 {
25548 PyThreadState* __tstate = wxPyBeginAllowThreads();
25549 (arg1)->SetZoomControl(arg2);
25550
25551 wxPyEndAllowThreads(__tstate);
25552 if (PyErr_Occurred()) SWIG_fail;
25553 }
25554 Py_INCREF(Py_None); resultobj = Py_None;
25555 return resultobj;
25556 fail:
25557 return NULL;
25558}
25559
25560
c32bde28 25561static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25562 PyObject *resultobj = NULL;
d14a1e28
RD
25563 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25564 wxPrintPreview *result;
25565 PyObject * obj0 = 0 ;
25566 char *kwnames[] = {
25567 (char *) "self", NULL
25568 };
25569
25570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
093d3ff1
RD
25571 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25572 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25573 {
25574 PyThreadState* __tstate = wxPyBeginAllowThreads();
25575 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
25576
25577 wxPyEndAllowThreads(__tstate);
25578 if (PyErr_Occurred()) SWIG_fail;
25579 }
15afbcd0 25580 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
d14a1e28
RD
25581 return resultobj;
25582 fail:
25583 return NULL;
25584}
25585
25586
c32bde28 25587static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25588 PyObject *resultobj = NULL;
d14a1e28
RD
25589 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25590 PyObject * obj0 = 0 ;
25591 char *kwnames[] = {
25592 (char *) "self", NULL
25593 };
25594
25595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
093d3ff1
RD
25596 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25597 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25598 {
25599 PyThreadState* __tstate = wxPyBeginAllowThreads();
25600 (arg1)->OnNext();
25601
25602 wxPyEndAllowThreads(__tstate);
25603 if (PyErr_Occurred()) SWIG_fail;
25604 }
25605 Py_INCREF(Py_None); resultobj = Py_None;
25606 return resultobj;
25607 fail:
25608 return NULL;
25609}
25610
25611
c32bde28 25612static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25613 PyObject *resultobj = NULL;
d14a1e28
RD
25614 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25615 PyObject * obj0 = 0 ;
25616 char *kwnames[] = {
25617 (char *) "self", NULL
25618 };
25619
25620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
093d3ff1
RD
25621 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25622 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25623 {
25624 PyThreadState* __tstate = wxPyBeginAllowThreads();
25625 (arg1)->OnPrevious();
25626
25627 wxPyEndAllowThreads(__tstate);
25628 if (PyErr_Occurred()) SWIG_fail;
25629 }
25630 Py_INCREF(Py_None); resultobj = Py_None;
25631 return resultobj;
25632 fail:
25633 return NULL;
25634}
25635
25636
c32bde28 25637static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25638 PyObject *resultobj = NULL;
d14a1e28
RD
25639 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25640 PyObject * obj0 = 0 ;
25641 char *kwnames[] = {
25642 (char *) "self", NULL
25643 };
25644
25645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
093d3ff1
RD
25646 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25647 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25648 {
25649 PyThreadState* __tstate = wxPyBeginAllowThreads();
25650 (arg1)->OnFirst();
25651
25652 wxPyEndAllowThreads(__tstate);
25653 if (PyErr_Occurred()) SWIG_fail;
25654 }
25655 Py_INCREF(Py_None); resultobj = Py_None;
25656 return resultobj;
25657 fail:
25658 return NULL;
25659}
25660
25661
c32bde28 25662static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25663 PyObject *resultobj = NULL;
d14a1e28
RD
25664 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25665 PyObject * obj0 = 0 ;
25666 char *kwnames[] = {
25667 (char *) "self", NULL
25668 };
25669
25670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
093d3ff1
RD
25671 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25672 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25673 {
25674 PyThreadState* __tstate = wxPyBeginAllowThreads();
25675 (arg1)->OnLast();
25676
25677 wxPyEndAllowThreads(__tstate);
25678 if (PyErr_Occurred()) SWIG_fail;
25679 }
25680 Py_INCREF(Py_None); resultobj = Py_None;
25681 return resultobj;
25682 fail:
25683 return NULL;
25684}
25685
25686
c32bde28 25687static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25688 PyObject *resultobj = NULL;
d14a1e28
RD
25689 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25690 PyObject * obj0 = 0 ;
25691 char *kwnames[] = {
25692 (char *) "self", NULL
25693 };
25694
25695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
093d3ff1
RD
25696 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25697 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25698 {
25699 PyThreadState* __tstate = wxPyBeginAllowThreads();
25700 (arg1)->OnGoto();
25701
25702 wxPyEndAllowThreads(__tstate);
25703 if (PyErr_Occurred()) SWIG_fail;
25704 }
25705 Py_INCREF(Py_None); resultobj = Py_None;
25706 return resultobj;
25707 fail:
25708 return NULL;
25709}
25710
25711
c32bde28 25712static PyObject * PreviewControlBar_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
25713 PyObject *obj;
25714 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25715 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
25716 Py_INCREF(obj);
25717 return Py_BuildValue((char *)"");
25718}
c32bde28 25719static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *, PyObject *args) {
32fe5131 25720 PyObject *resultobj = NULL;
d14a1e28
RD
25721 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25722 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
32fe5131 25723 wxPrintDialogData *arg3 = (wxPrintDialogData *) 0 ;
d14a1e28
RD
25724 wxPrintPreview *result;
25725 PyObject * obj0 = 0 ;
25726 PyObject * obj1 = 0 ;
25727 PyObject * obj2 = 0 ;
d14a1e28 25728
32fe5131 25729 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
25730 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25731 if (SWIG_arg_fail(1)) SWIG_fail;
25732 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25733 if (SWIG_arg_fail(2)) SWIG_fail;
32fe5131
RD
25734 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
25735 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28 25736 {
e3b71cb8 25737 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
25738 PyThreadState* __tstate = wxPyBeginAllowThreads();
25739 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
25740
25741 wxPyEndAllowThreads(__tstate);
110da5b0 25742 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 25743 }
15afbcd0 25744 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
d14a1e28
RD
25745 return resultobj;
25746 fail:
25747 return NULL;
25748}
25749
25750
c32bde28 25751static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *, PyObject *args) {
32fe5131
RD
25752 PyObject *resultobj = NULL;
25753 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25754 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
25755 wxPrintPreview *result;
25756 PyObject * obj0 = 0 ;
25757 PyObject * obj1 = 0 ;
25758
25759 if(!PyArg_ParseTuple(args,(char *)"OO:new_PrintPreview",&obj0,&obj1)) goto fail;
25760 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25761 if (SWIG_arg_fail(1)) SWIG_fail;
25762 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25763 if (SWIG_arg_fail(2)) SWIG_fail;
25764 {
25765 if (!wxPyCheckForApp()) SWIG_fail;
25766 PyThreadState* __tstate = wxPyBeginAllowThreads();
25767 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2);
25768
25769 wxPyEndAllowThreads(__tstate);
25770 if (PyErr_Occurred()) SWIG_fail;
25771 }
25772 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
25773 return resultobj;
25774 fail:
25775 return NULL;
25776}
25777
25778
25779static PyObject *_wrap_new_PrintPreview__SWIG_2(PyObject *, PyObject *args) {
25780 PyObject *resultobj = NULL;
4276dc52
RD
25781 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25782 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
25783 wxPrintData *arg3 = (wxPrintData *) 0 ;
25784 wxPrintPreview *result;
25785 PyObject * obj0 = 0 ;
25786 PyObject * obj1 = 0 ;
25787 PyObject * obj2 = 0 ;
25788
25789 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
25790 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25791 if (SWIG_arg_fail(1)) SWIG_fail;
25792 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25793 if (SWIG_arg_fail(2)) SWIG_fail;
25794 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
25795 if (SWIG_arg_fail(3)) SWIG_fail;
4276dc52 25796 {
e3b71cb8 25797 if (!wxPyCheckForApp()) SWIG_fail;
4276dc52
RD
25798 PyThreadState* __tstate = wxPyBeginAllowThreads();
25799 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
25800
25801 wxPyEndAllowThreads(__tstate);
110da5b0 25802 if (PyErr_Occurred()) SWIG_fail;
4276dc52
RD
25803 }
25804 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
25805 return resultobj;
25806 fail:
25807 return NULL;
25808}
25809
25810
25811static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
25812 int argc;
25813 PyObject *argv[4];
25814 int ii;
25815
25816 argc = PyObject_Length(args);
25817 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
25818 argv[ii] = PyTuple_GetItem(args,ii);
25819 }
32fe5131 25820 if (argc == 2) {
4276dc52
RD
25821 int _v;
25822 {
25823 void *ptr;
25824 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25825 _v = 0;
25826 PyErr_Clear();
25827 } else {
25828 _v = 1;
25829 }
25830 }
25831 if (_v) {
25832 {
25833 void *ptr;
25834 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25835 _v = 0;
25836 PyErr_Clear();
25837 } else {
25838 _v = 1;
25839 }
25840 }
25841 if (_v) {
32fe5131
RD
25842 return _wrap_new_PrintPreview__SWIG_1(self,args);
25843 }
25844 }
25845 }
25846 if (argc == 3) {
25847 int _v;
25848 {
25849 void *ptr;
25850 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25851 _v = 0;
25852 PyErr_Clear();
25853 } else {
25854 _v = 1;
25855 }
25856 }
25857 if (_v) {
25858 {
25859 void *ptr;
25860 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25861 _v = 0;
25862 PyErr_Clear();
25863 } else {
25864 _v = 1;
4276dc52 25865 }
32fe5131
RD
25866 }
25867 if (_v) {
4276dc52
RD
25868 {
25869 void *ptr;
25870 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
25871 _v = 0;
25872 PyErr_Clear();
25873 } else {
25874 _v = 1;
25875 }
25876 }
25877 if (_v) {
25878 return _wrap_new_PrintPreview__SWIG_0(self,args);
25879 }
25880 }
25881 }
25882 }
25883 if (argc == 3) {
25884 int _v;
25885 {
25886 void *ptr;
25887 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25888 _v = 0;
25889 PyErr_Clear();
25890 } else {
25891 _v = 1;
25892 }
25893 }
25894 if (_v) {
25895 {
25896 void *ptr;
25897 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25898 _v = 0;
25899 PyErr_Clear();
25900 } else {
25901 _v = 1;
25902 }
25903 }
25904 if (_v) {
25905 {
25906 void *ptr;
25907 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
25908 _v = 0;
25909 PyErr_Clear();
25910 } else {
25911 _v = 1;
25912 }
25913 }
25914 if (_v) {
32fe5131 25915 return _wrap_new_PrintPreview__SWIG_2(self,args);
4276dc52
RD
25916 }
25917 }
25918 }
25919 }
25920
093d3ff1 25921 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
4276dc52
RD
25922 return NULL;
25923}
25924
25925
c32bde28 25926static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25927 PyObject *resultobj = NULL;
d14a1e28
RD
25928 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25929 int arg2 ;
25930 bool result;
25931 PyObject * obj0 = 0 ;
994141e6 25932 PyObject * obj1 = 0 ;
d14a1e28
RD
25933 char *kwnames[] = {
25934 (char *) "self",(char *) "pageNum", NULL
25935 };
25936
994141e6 25937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25938 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25939 if (SWIG_arg_fail(1)) SWIG_fail;
25940 {
32fe5131 25941 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
25942 if (SWIG_arg_fail(2)) SWIG_fail;
25943 }
d14a1e28
RD
25944 {
25945 PyThreadState* __tstate = wxPyBeginAllowThreads();
25946 result = (bool)(arg1)->SetCurrentPage(arg2);
25947
25948 wxPyEndAllowThreads(__tstate);
25949 if (PyErr_Occurred()) SWIG_fail;
25950 }
4f89f6a3
RD
25951 {
25952 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25953 }
d14a1e28
RD
25954 return resultobj;
25955 fail:
25956 return NULL;
25957}
25958
25959
c32bde28 25960static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25961 PyObject *resultobj = NULL;
d14a1e28
RD
25962 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25963 int result;
25964 PyObject * obj0 = 0 ;
25965 char *kwnames[] = {
25966 (char *) "self", NULL
25967 };
25968
25969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
25970 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25971 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25972 {
25973 PyThreadState* __tstate = wxPyBeginAllowThreads();
25974 result = (int)(arg1)->GetCurrentPage();
25975
25976 wxPyEndAllowThreads(__tstate);
25977 if (PyErr_Occurred()) SWIG_fail;
25978 }
093d3ff1 25979 {
32fe5131 25980 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 25981 }
d14a1e28
RD
25982 return resultobj;
25983 fail:
25984 return NULL;
25985}
25986
25987
c32bde28 25988static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25989 PyObject *resultobj = NULL;
d14a1e28
RD
25990 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25991 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
25992 PyObject * obj0 = 0 ;
25993 PyObject * obj1 = 0 ;
25994 char *kwnames[] = {
25995 (char *) "self",(char *) "printout", NULL
25996 };
25997
25998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25999 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26000 if (SWIG_arg_fail(1)) SWIG_fail;
26001 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26002 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
26003 {
26004 PyThreadState* __tstate = wxPyBeginAllowThreads();
26005 (arg1)->SetPrintout(arg2);
26006
26007 wxPyEndAllowThreads(__tstate);
26008 if (PyErr_Occurred()) SWIG_fail;
26009 }
26010 Py_INCREF(Py_None); resultobj = Py_None;
26011 return resultobj;
26012 fail:
26013 return NULL;
26014}
26015
26016
c32bde28 26017static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26018 PyObject *resultobj = NULL;
d14a1e28
RD
26019 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26020 wxPyPrintout *result;
26021 PyObject * obj0 = 0 ;
26022 char *kwnames[] = {
26023 (char *) "self", NULL
26024 };
26025
26026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
093d3ff1
RD
26027 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26028 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26029 {
26030 PyThreadState* __tstate = wxPyBeginAllowThreads();
26031 result = (wxPyPrintout *)(arg1)->GetPrintout();
26032
26033 wxPyEndAllowThreads(__tstate);
26034 if (PyErr_Occurred()) SWIG_fail;
26035 }
26036 {
412d302d 26037 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
26038 }
26039 return resultobj;
26040 fail:
26041 return NULL;
26042}
26043
26044
c32bde28 26045static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26046 PyObject *resultobj = NULL;
d14a1e28
RD
26047 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26048 wxPyPrintout *result;
26049 PyObject * obj0 = 0 ;
26050 char *kwnames[] = {
26051 (char *) "self", NULL
26052 };
26053
26054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
093d3ff1
RD
26055 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26056 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26057 {
26058 PyThreadState* __tstate = wxPyBeginAllowThreads();
26059 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
26060
26061 wxPyEndAllowThreads(__tstate);
26062 if (PyErr_Occurred()) SWIG_fail;
26063 }
26064 {
412d302d 26065 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
26066 }
26067 return resultobj;
26068 fail:
26069 return NULL;
26070}
26071
26072
c32bde28 26073static PyObject *_wrap_PrintPreview_SetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26074 PyObject *resultobj = NULL;
d14a1e28
RD
26075 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26076 wxFrame *arg2 = (wxFrame *) 0 ;
26077 PyObject * obj0 = 0 ;
26078 PyObject * obj1 = 0 ;
26079 char *kwnames[] = {
26080 (char *) "self",(char *) "frame", NULL
26081 };
26082
26083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26084 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26085 if (SWIG_arg_fail(1)) SWIG_fail;
26086 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
26087 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
26088 {
26089 PyThreadState* __tstate = wxPyBeginAllowThreads();
26090 (arg1)->SetFrame(arg2);
26091
26092 wxPyEndAllowThreads(__tstate);
26093 if (PyErr_Occurred()) SWIG_fail;
26094 }
26095 Py_INCREF(Py_None); resultobj = Py_None;
26096 return resultobj;
26097 fail:
26098 return NULL;
26099}
26100
26101
c32bde28 26102static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26103 PyObject *resultobj = NULL;
d14a1e28
RD
26104 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26105 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26106 PyObject * obj0 = 0 ;
26107 PyObject * obj1 = 0 ;
26108 char *kwnames[] = {
26109 (char *) "self",(char *) "canvas", NULL
26110 };
26111
26112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26113 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26114 if (SWIG_arg_fail(1)) SWIG_fail;
26115 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26116 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
26117 {
26118 PyThreadState* __tstate = wxPyBeginAllowThreads();
26119 (arg1)->SetCanvas(arg2);
26120
26121 wxPyEndAllowThreads(__tstate);
26122 if (PyErr_Occurred()) SWIG_fail;
26123 }
26124 Py_INCREF(Py_None); resultobj = Py_None;
26125 return resultobj;
26126 fail:
26127 return NULL;
26128}
26129
26130
c32bde28 26131static PyObject *_wrap_PrintPreview_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26132 PyObject *resultobj = NULL;
d14a1e28
RD
26133 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26134 wxFrame *result;
26135 PyObject * obj0 = 0 ;
26136 char *kwnames[] = {
26137 (char *) "self", NULL
26138 };
26139
26140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
093d3ff1
RD
26141 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26142 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26143 {
26144 PyThreadState* __tstate = wxPyBeginAllowThreads();
26145 result = (wxFrame *)(arg1)->GetFrame();
26146
26147 wxPyEndAllowThreads(__tstate);
26148 if (PyErr_Occurred()) SWIG_fail;
26149 }
26150 {
412d302d 26151 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
26152 }
26153 return resultobj;
26154 fail:
26155 return NULL;
26156}
26157
26158
c32bde28 26159static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26160 PyObject *resultobj = NULL;
d14a1e28
RD
26161 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26162 wxPreviewCanvas *result;
26163 PyObject * obj0 = 0 ;
26164 char *kwnames[] = {
26165 (char *) "self", NULL
26166 };
26167
26168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
093d3ff1
RD
26169 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26170 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26171 {
26172 PyThreadState* __tstate = wxPyBeginAllowThreads();
26173 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
26174
26175 wxPyEndAllowThreads(__tstate);
26176 if (PyErr_Occurred()) SWIG_fail;
26177 }
15afbcd0 26178 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
d14a1e28
RD
26179 return resultobj;
26180 fail:
26181 return NULL;
26182}
26183
26184
c32bde28 26185static PyObject *_wrap_PrintPreview_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26186 PyObject *resultobj = NULL;
d14a1e28
RD
26187 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26188 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26189 wxDC *arg3 = 0 ;
26190 bool result;
26191 PyObject * obj0 = 0 ;
26192 PyObject * obj1 = 0 ;
26193 PyObject * obj2 = 0 ;
26194 char *kwnames[] = {
26195 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26196 };
26197
26198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26199 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26200 if (SWIG_arg_fail(1)) SWIG_fail;
26201 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26202 if (SWIG_arg_fail(2)) SWIG_fail;
26203 {
26204 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26205 if (SWIG_arg_fail(3)) SWIG_fail;
26206 if (arg3 == NULL) {
26207 SWIG_null_ref("wxDC");
26208 }
26209 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
26210 }
26211 {
26212 PyThreadState* __tstate = wxPyBeginAllowThreads();
26213 result = (bool)(arg1)->PaintPage(arg2,*arg3);
26214
26215 wxPyEndAllowThreads(__tstate);
26216 if (PyErr_Occurred()) SWIG_fail;
26217 }
4f89f6a3
RD
26218 {
26219 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26220 }
d14a1e28
RD
26221 return resultobj;
26222 fail:
26223 return NULL;
26224}
26225
26226
c32bde28 26227static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26228 PyObject *resultobj = NULL;
d14a1e28
RD
26229 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26230 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26231 wxDC *arg3 = 0 ;
26232 bool result;
26233 PyObject * obj0 = 0 ;
26234 PyObject * obj1 = 0 ;
26235 PyObject * obj2 = 0 ;
26236 char *kwnames[] = {
26237 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26238 };
26239
26240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26241 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26242 if (SWIG_arg_fail(1)) SWIG_fail;
26243 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26244 if (SWIG_arg_fail(2)) SWIG_fail;
26245 {
26246 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26247 if (SWIG_arg_fail(3)) SWIG_fail;
26248 if (arg3 == NULL) {
26249 SWIG_null_ref("wxDC");
26250 }
26251 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
26252 }
26253 {
26254 PyThreadState* __tstate = wxPyBeginAllowThreads();
26255 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
26256
26257 wxPyEndAllowThreads(__tstate);
26258 if (PyErr_Occurred()) SWIG_fail;
26259 }
4f89f6a3
RD
26260 {
26261 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26262 }
d14a1e28
RD
26263 return resultobj;
26264 fail:
26265 return NULL;
26266}
26267
26268
c32bde28 26269static PyObject *_wrap_PrintPreview_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26270 PyObject *resultobj = NULL;
d14a1e28
RD
26271 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26272 int arg2 ;
26273 bool result;
26274 PyObject * obj0 = 0 ;
994141e6 26275 PyObject * obj1 = 0 ;
d14a1e28
RD
26276 char *kwnames[] = {
26277 (char *) "self",(char *) "pageNum", NULL
26278 };
26279
994141e6 26280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26281 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26282 if (SWIG_arg_fail(1)) SWIG_fail;
26283 {
32fe5131 26284 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
26285 if (SWIG_arg_fail(2)) SWIG_fail;
26286 }
d14a1e28
RD
26287 {
26288 PyThreadState* __tstate = wxPyBeginAllowThreads();
26289 result = (bool)(arg1)->RenderPage(arg2);
26290
26291 wxPyEndAllowThreads(__tstate);
26292 if (PyErr_Occurred()) SWIG_fail;
26293 }
4f89f6a3
RD
26294 {
26295 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26296 }
d14a1e28
RD
26297 return resultobj;
26298 fail:
26299 return NULL;
26300}
26301
26302
c32bde28 26303static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26304 PyObject *resultobj = NULL;
d14a1e28
RD
26305 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26306 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26307 PyObject * obj0 = 0 ;
26308 PyObject * obj1 = 0 ;
26309 char *kwnames[] = {
26310 (char *) "self",(char *) "canvas", NULL
26311 };
26312
26313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26314 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26315 if (SWIG_arg_fail(1)) SWIG_fail;
26316 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26317 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
26318 {
26319 PyThreadState* __tstate = wxPyBeginAllowThreads();
26320 (arg1)->AdjustScrollbars(arg2);
26321
26322 wxPyEndAllowThreads(__tstate);
26323 if (PyErr_Occurred()) SWIG_fail;
26324 }
26325 Py_INCREF(Py_None); resultobj = Py_None;
26326 return resultobj;
26327 fail:
26328 return NULL;
26329}
26330
26331
c32bde28 26332static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26333 PyObject *resultobj = NULL;
d14a1e28
RD
26334 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26335 wxPrintDialogData *result;
26336 PyObject * obj0 = 0 ;
26337 char *kwnames[] = {
26338 (char *) "self", NULL
26339 };
26340
26341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
093d3ff1
RD
26342 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26343 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26344 {
26345 PyThreadState* __tstate = wxPyBeginAllowThreads();
26346 {
26347 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
26348 result = (wxPrintDialogData *) &_result_ref;
26349 }
26350
26351 wxPyEndAllowThreads(__tstate);
26352 if (PyErr_Occurred()) SWIG_fail;
26353 }
15afbcd0 26354 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
d14a1e28
RD
26355 return resultobj;
26356 fail:
26357 return NULL;
26358}
26359
26360
c32bde28 26361static PyObject *_wrap_PrintPreview_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26362 PyObject *resultobj = NULL;
d14a1e28
RD
26363 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26364 int arg2 ;
26365 PyObject * obj0 = 0 ;
994141e6 26366 PyObject * obj1 = 0 ;
d14a1e28
RD
26367 char *kwnames[] = {
26368 (char *) "self",(char *) "percent", NULL
26369 };
26370
994141e6 26371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26372 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26373 if (SWIG_arg_fail(1)) SWIG_fail;
26374 {
32fe5131 26375 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
26376 if (SWIG_arg_fail(2)) SWIG_fail;
26377 }
d14a1e28
RD
26378 {
26379 PyThreadState* __tstate = wxPyBeginAllowThreads();
26380 (arg1)->SetZoom(arg2);
26381
26382 wxPyEndAllowThreads(__tstate);
26383 if (PyErr_Occurred()) SWIG_fail;
26384 }
26385 Py_INCREF(Py_None); resultobj = Py_None;
26386 return resultobj;
26387 fail:
26388 return NULL;
26389}
26390
26391
c32bde28 26392static PyObject *_wrap_PrintPreview_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26393 PyObject *resultobj = NULL;
d14a1e28
RD
26394 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26395 int result;
26396 PyObject * obj0 = 0 ;
26397 char *kwnames[] = {
26398 (char *) "self", NULL
26399 };
26400
26401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
093d3ff1
RD
26402 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26403 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26404 {
26405 PyThreadState* __tstate = wxPyBeginAllowThreads();
26406 result = (int)(arg1)->GetZoom();
26407
26408 wxPyEndAllowThreads(__tstate);
26409 if (PyErr_Occurred()) SWIG_fail;
26410 }
093d3ff1 26411 {
32fe5131 26412 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 26413 }
d14a1e28
RD
26414 return resultobj;
26415 fail:
26416 return NULL;
26417}
26418
26419
c32bde28 26420static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26421 PyObject *resultobj = NULL;
d14a1e28
RD
26422 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26423 int result;
26424 PyObject * obj0 = 0 ;
26425 char *kwnames[] = {
26426 (char *) "self", NULL
26427 };
26428
26429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
26430 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26431 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26432 {
26433 PyThreadState* __tstate = wxPyBeginAllowThreads();
26434 result = (int)(arg1)->GetMaxPage();
26435
26436 wxPyEndAllowThreads(__tstate);
26437 if (PyErr_Occurred()) SWIG_fail;
26438 }
093d3ff1 26439 {
32fe5131 26440 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 26441 }
d14a1e28
RD
26442 return resultobj;
26443 fail:
26444 return NULL;
26445}
26446
26447
c32bde28 26448static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26449 PyObject *resultobj = NULL;
d14a1e28
RD
26450 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26451 int result;
26452 PyObject * obj0 = 0 ;
26453 char *kwnames[] = {
26454 (char *) "self", NULL
26455 };
26456
26457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
26458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26459 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26460 {
26461 PyThreadState* __tstate = wxPyBeginAllowThreads();
26462 result = (int)(arg1)->GetMinPage();
26463
26464 wxPyEndAllowThreads(__tstate);
26465 if (PyErr_Occurred()) SWIG_fail;
26466 }
093d3ff1 26467 {
32fe5131 26468 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 26469 }
d14a1e28
RD
26470 return resultobj;
26471 fail:
26472 return NULL;
26473}
26474
26475
c32bde28 26476static PyObject *_wrap_PrintPreview_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26477 PyObject *resultobj = NULL;
d14a1e28
RD
26478 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26479 bool result;
26480 PyObject * obj0 = 0 ;
26481 char *kwnames[] = {
26482 (char *) "self", NULL
26483 };
26484
26485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
093d3ff1
RD
26486 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26487 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26488 {
26489 PyThreadState* __tstate = wxPyBeginAllowThreads();
26490 result = (bool)(arg1)->Ok();
26491
26492 wxPyEndAllowThreads(__tstate);
26493 if (PyErr_Occurred()) SWIG_fail;
26494 }
4f89f6a3
RD
26495 {
26496 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26497 }
d14a1e28
RD
26498 return resultobj;
26499 fail:
26500 return NULL;
26501}
26502
26503
c32bde28 26504static PyObject *_wrap_PrintPreview_SetOk(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26505 PyObject *resultobj = NULL;
d14a1e28
RD
26506 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26507 bool arg2 ;
26508 PyObject * obj0 = 0 ;
26509 PyObject * obj1 = 0 ;
26510 char *kwnames[] = {
26511 (char *) "self",(char *) "ok", NULL
26512 };
26513
26514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26515 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26516 if (SWIG_arg_fail(1)) SWIG_fail;
26517 {
32fe5131 26518 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
26519 if (SWIG_arg_fail(2)) SWIG_fail;
26520 }
d14a1e28
RD
26521 {
26522 PyThreadState* __tstate = wxPyBeginAllowThreads();
26523 (arg1)->SetOk(arg2);
26524
26525 wxPyEndAllowThreads(__tstate);
26526 if (PyErr_Occurred()) SWIG_fail;
26527 }
26528 Py_INCREF(Py_None); resultobj = Py_None;
26529 return resultobj;
26530 fail:
26531 return NULL;
26532}
26533
26534
c32bde28 26535static PyObject *_wrap_PrintPreview_Print(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26536 PyObject *resultobj = NULL;
d14a1e28
RD
26537 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26538 bool arg2 ;
26539 bool result;
26540 PyObject * obj0 = 0 ;
26541 PyObject * obj1 = 0 ;
26542 char *kwnames[] = {
26543 (char *) "self",(char *) "interactive", NULL
26544 };
26545
26546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26547 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26548 if (SWIG_arg_fail(1)) SWIG_fail;
26549 {
32fe5131 26550 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
26551 if (SWIG_arg_fail(2)) SWIG_fail;
26552 }
d14a1e28
RD
26553 {
26554 PyThreadState* __tstate = wxPyBeginAllowThreads();
26555 result = (bool)(arg1)->Print(arg2);
26556
26557 wxPyEndAllowThreads(__tstate);
26558 if (PyErr_Occurred()) SWIG_fail;
26559 }
4f89f6a3
RD
26560 {
26561 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26562 }
d14a1e28
RD
26563 return resultobj;
26564 fail:
26565 return NULL;
26566}
26567
26568
c32bde28 26569static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26570 PyObject *resultobj = NULL;
d14a1e28
RD
26571 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26572 PyObject * obj0 = 0 ;
26573 char *kwnames[] = {
26574 (char *) "self", NULL
26575 };
26576
26577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
093d3ff1
RD
26578 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26579 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26580 {
26581 PyThreadState* __tstate = wxPyBeginAllowThreads();
26582 (arg1)->DetermineScaling();
26583
26584 wxPyEndAllowThreads(__tstate);
26585 if (PyErr_Occurred()) SWIG_fail;
26586 }
26587 Py_INCREF(Py_None); resultobj = Py_None;
26588 return resultobj;
26589 fail:
26590 return NULL;
26591}
26592
26593
c32bde28 26594static PyObject * PrintPreview_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
26595 PyObject *obj;
26596 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26597 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
26598 Py_INCREF(obj);
26599 return Py_BuildValue((char *)"");
26600}
c32bde28 26601static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *, PyObject *args) {
32fe5131 26602 PyObject *resultobj = NULL;
d14a1e28
RD
26603 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
26604 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
32fe5131 26605 wxPrintDialogData *arg3 = (wxPrintDialogData *) 0 ;
d14a1e28
RD
26606 wxPyPrintPreview *result;
26607 PyObject * obj0 = 0 ;
26608 PyObject * obj1 = 0 ;
26609 PyObject * obj2 = 0 ;
d14a1e28 26610
32fe5131 26611 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26612 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26613 if (SWIG_arg_fail(1)) SWIG_fail;
26614 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26615 if (SWIG_arg_fail(2)) SWIG_fail;
32fe5131
RD
26616 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
26617 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28 26618 {
e3b71cb8 26619 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
26620 PyThreadState* __tstate = wxPyBeginAllowThreads();
26621 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
26622
26623 wxPyEndAllowThreads(__tstate);
110da5b0 26624 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 26625 }
15afbcd0 26626 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
d14a1e28
RD
26627 return resultobj;
26628 fail:
26629 return NULL;
26630}
26631
26632
c32bde28 26633static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *, PyObject *args) {
32fe5131
RD
26634 PyObject *resultobj = NULL;
26635 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
26636 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
26637 wxPyPrintPreview *result;
26638 PyObject * obj0 = 0 ;
26639 PyObject * obj1 = 0 ;
26640
26641 if(!PyArg_ParseTuple(args,(char *)"OO:new_PyPrintPreview",&obj0,&obj1)) goto fail;
26642 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26643 if (SWIG_arg_fail(1)) SWIG_fail;
26644 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26645 if (SWIG_arg_fail(2)) SWIG_fail;
26646 {
26647 if (!wxPyCheckForApp()) SWIG_fail;
26648 PyThreadState* __tstate = wxPyBeginAllowThreads();
26649 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2);
26650
26651 wxPyEndAllowThreads(__tstate);
26652 if (PyErr_Occurred()) SWIG_fail;
26653 }
26654 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
26655 return resultobj;
26656 fail:
26657 return NULL;
26658}
26659
26660
26661static PyObject *_wrap_new_PyPrintPreview__SWIG_2(PyObject *, PyObject *args) {
26662 PyObject *resultobj = NULL;
4276dc52
RD
26663 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
26664 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
26665 wxPrintData *arg3 = (wxPrintData *) 0 ;
26666 wxPyPrintPreview *result;
26667 PyObject * obj0 = 0 ;
26668 PyObject * obj1 = 0 ;
26669 PyObject * obj2 = 0 ;
26670
26671 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26672 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26673 if (SWIG_arg_fail(1)) SWIG_fail;
26674 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26675 if (SWIG_arg_fail(2)) SWIG_fail;
26676 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
26677 if (SWIG_arg_fail(3)) SWIG_fail;
4276dc52 26678 {
e3b71cb8 26679 if (!wxPyCheckForApp()) SWIG_fail;
4276dc52
RD
26680 PyThreadState* __tstate = wxPyBeginAllowThreads();
26681 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
26682
26683 wxPyEndAllowThreads(__tstate);
110da5b0 26684 if (PyErr_Occurred()) SWIG_fail;
4276dc52
RD
26685 }
26686 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
26687 return resultobj;
26688 fail:
26689 return NULL;
26690}
26691
26692
26693static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
26694 int argc;
26695 PyObject *argv[4];
26696 int ii;
26697
26698 argc = PyObject_Length(args);
26699 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
26700 argv[ii] = PyTuple_GetItem(args,ii);
26701 }
32fe5131 26702 if (argc == 2) {
4276dc52
RD
26703 int _v;
26704 {
26705 void *ptr;
26706 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26707 _v = 0;
26708 PyErr_Clear();
26709 } else {
26710 _v = 1;
26711 }
26712 }
26713 if (_v) {
26714 {
26715 void *ptr;
26716 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26717 _v = 0;
26718 PyErr_Clear();
26719 } else {
26720 _v = 1;
26721 }
26722 }
26723 if (_v) {
32fe5131
RD
26724 return _wrap_new_PyPrintPreview__SWIG_1(self,args);
26725 }
26726 }
26727 }
26728 if (argc == 3) {
26729 int _v;
26730 {
26731 void *ptr;
26732 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26733 _v = 0;
26734 PyErr_Clear();
26735 } else {
26736 _v = 1;
26737 }
26738 }
26739 if (_v) {
26740 {
26741 void *ptr;
26742 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26743 _v = 0;
26744 PyErr_Clear();
26745 } else {
26746 _v = 1;
4276dc52 26747 }
32fe5131
RD
26748 }
26749 if (_v) {
4276dc52
RD
26750 {
26751 void *ptr;
26752 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
26753 _v = 0;
26754 PyErr_Clear();
26755 } else {
26756 _v = 1;
26757 }
26758 }
26759 if (_v) {
26760 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
26761 }
26762 }
26763 }
26764 }
26765 if (argc == 3) {
26766 int _v;
26767 {
26768 void *ptr;
26769 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26770 _v = 0;
26771 PyErr_Clear();
26772 } else {
26773 _v = 1;
26774 }
26775 }
26776 if (_v) {
26777 {
26778 void *ptr;
26779 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26780 _v = 0;
26781 PyErr_Clear();
26782 } else {
26783 _v = 1;
26784 }
26785 }
26786 if (_v) {
26787 {
26788 void *ptr;
26789 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
26790 _v = 0;
26791 PyErr_Clear();
26792 } else {
26793 _v = 1;
26794 }
26795 }
26796 if (_v) {
32fe5131 26797 return _wrap_new_PyPrintPreview__SWIG_2(self,args);
4276dc52
RD
26798 }
26799 }
26800 }
26801 }
26802
093d3ff1 26803 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
4276dc52
RD
26804 return NULL;
26805}
26806
26807
c32bde28 26808static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26809 PyObject *resultobj = NULL;
d14a1e28
RD
26810 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26811 PyObject *arg2 = (PyObject *) 0 ;
26812 PyObject *arg3 = (PyObject *) 0 ;
26813 PyObject * obj0 = 0 ;
26814 PyObject * obj1 = 0 ;
26815 PyObject * obj2 = 0 ;
26816 char *kwnames[] = {
26817 (char *) "self",(char *) "self",(char *) "_class", NULL
26818 };
26819
26820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26821 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26822 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26823 arg2 = obj1;
26824 arg3 = obj2;
26825 {
26826 PyThreadState* __tstate = wxPyBeginAllowThreads();
26827 (arg1)->_setCallbackInfo(arg2,arg3);
26828
26829 wxPyEndAllowThreads(__tstate);
26830 if (PyErr_Occurred()) SWIG_fail;
26831 }
26832 Py_INCREF(Py_None); resultobj = Py_None;
26833 return resultobj;
26834 fail:
26835 return NULL;
26836}
26837
26838
c32bde28 26839static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26840 PyObject *resultobj = NULL;
d14a1e28
RD
26841 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26842 int arg2 ;
26843 bool result;
26844 PyObject * obj0 = 0 ;
994141e6 26845 PyObject * obj1 = 0 ;
d14a1e28
RD
26846 char *kwnames[] = {
26847 (char *) "self",(char *) "pageNum", NULL
26848 };
26849
994141e6 26850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26851 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26852 if (SWIG_arg_fail(1)) SWIG_fail;
26853 {
32fe5131 26854 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
26855 if (SWIG_arg_fail(2)) SWIG_fail;
26856 }
d14a1e28
RD
26857 {
26858 PyThreadState* __tstate = wxPyBeginAllowThreads();
26859 result = (bool)(arg1)->base_SetCurrentPage(arg2);
26860
26861 wxPyEndAllowThreads(__tstate);
26862 if (PyErr_Occurred()) SWIG_fail;
26863 }
4f89f6a3
RD
26864 {
26865 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26866 }
d14a1e28
RD
26867 return resultobj;
26868 fail:
26869 return NULL;
26870}
26871
26872
c32bde28 26873static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26874 PyObject *resultobj = NULL;
d14a1e28
RD
26875 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26876 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26877 wxDC *arg3 = 0 ;
26878 bool result;
26879 PyObject * obj0 = 0 ;
26880 PyObject * obj1 = 0 ;
26881 PyObject * obj2 = 0 ;
26882 char *kwnames[] = {
26883 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26884 };
26885
26886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26887 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26888 if (SWIG_arg_fail(1)) SWIG_fail;
26889 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26890 if (SWIG_arg_fail(2)) SWIG_fail;
26891 {
26892 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26893 if (SWIG_arg_fail(3)) SWIG_fail;
26894 if (arg3 == NULL) {
26895 SWIG_null_ref("wxDC");
26896 }
26897 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
26898 }
26899 {
26900 PyThreadState* __tstate = wxPyBeginAllowThreads();
26901 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
26902
26903 wxPyEndAllowThreads(__tstate);
26904 if (PyErr_Occurred()) SWIG_fail;
26905 }
4f89f6a3
RD
26906 {
26907 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26908 }
d14a1e28
RD
26909 return resultobj;
26910 fail:
26911 return NULL;
26912}
26913
26914
c32bde28 26915static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26916 PyObject *resultobj = NULL;
d14a1e28
RD
26917 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26918 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26919 wxDC *arg3 = 0 ;
26920 bool result;
26921 PyObject * obj0 = 0 ;
26922 PyObject * obj1 = 0 ;
26923 PyObject * obj2 = 0 ;
26924 char *kwnames[] = {
26925 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26926 };
26927
26928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26929 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26930 if (SWIG_arg_fail(1)) SWIG_fail;
26931 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26932 if (SWIG_arg_fail(2)) SWIG_fail;
26933 {
26934 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26935 if (SWIG_arg_fail(3)) SWIG_fail;
26936 if (arg3 == NULL) {
26937 SWIG_null_ref("wxDC");
26938 }
26939 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
26940 }
26941 {
26942 PyThreadState* __tstate = wxPyBeginAllowThreads();
26943 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
26944
26945 wxPyEndAllowThreads(__tstate);
26946 if (PyErr_Occurred()) SWIG_fail;
26947 }
4f89f6a3
RD
26948 {
26949 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26950 }
d14a1e28
RD
26951 return resultobj;
26952 fail:
26953 return NULL;
26954}
26955
26956
c32bde28 26957static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26958 PyObject *resultobj = NULL;
d14a1e28
RD
26959 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26960 int arg2 ;
26961 bool result;
26962 PyObject * obj0 = 0 ;
994141e6 26963 PyObject * obj1 = 0 ;
d14a1e28
RD
26964 char *kwnames[] = {
26965 (char *) "self",(char *) "pageNum", NULL
26966 };
26967
994141e6 26968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26969 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26970 if (SWIG_arg_fail(1)) SWIG_fail;
26971 {
32fe5131 26972 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
26973 if (SWIG_arg_fail(2)) SWIG_fail;
26974 }
d14a1e28
RD
26975 {
26976 PyThreadState* __tstate = wxPyBeginAllowThreads();
26977 result = (bool)(arg1)->base_RenderPage(arg2);
26978
26979 wxPyEndAllowThreads(__tstate);
26980 if (PyErr_Occurred()) SWIG_fail;
26981 }
4f89f6a3
RD
26982 {
26983 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26984 }
d14a1e28
RD
26985 return resultobj;
26986 fail:
26987 return NULL;
26988}
26989
26990
c32bde28 26991static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26992 PyObject *resultobj = NULL;
d14a1e28
RD
26993 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26994 int arg2 ;
26995 PyObject * obj0 = 0 ;
994141e6 26996 PyObject * obj1 = 0 ;
d14a1e28
RD
26997 char *kwnames[] = {
26998 (char *) "self",(char *) "percent", NULL
26999 };
27000
994141e6 27001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27002 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27003 if (SWIG_arg_fail(1)) SWIG_fail;
27004 {
32fe5131 27005 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
27006 if (SWIG_arg_fail(2)) SWIG_fail;
27007 }
d14a1e28
RD
27008 {
27009 PyThreadState* __tstate = wxPyBeginAllowThreads();
27010 (arg1)->base_SetZoom(arg2);
27011
27012 wxPyEndAllowThreads(__tstate);
27013 if (PyErr_Occurred()) SWIG_fail;
27014 }
27015 Py_INCREF(Py_None); resultobj = Py_None;
27016 return resultobj;
27017 fail:
27018 return NULL;
27019}
27020
27021
c32bde28 27022static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27023 PyObject *resultobj = NULL;
d14a1e28
RD
27024 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27025 bool arg2 ;
27026 bool result;
27027 PyObject * obj0 = 0 ;
27028 PyObject * obj1 = 0 ;
27029 char *kwnames[] = {
27030 (char *) "self",(char *) "interactive", NULL
27031 };
27032
27033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27034 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27035 if (SWIG_arg_fail(1)) SWIG_fail;
27036 {
32fe5131 27037 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
27038 if (SWIG_arg_fail(2)) SWIG_fail;
27039 }
d14a1e28
RD
27040 {
27041 PyThreadState* __tstate = wxPyBeginAllowThreads();
27042 result = (bool)(arg1)->base_Print(arg2);
27043
27044 wxPyEndAllowThreads(__tstate);
27045 if (PyErr_Occurred()) SWIG_fail;
27046 }
4f89f6a3
RD
27047 {
27048 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27049 }
d14a1e28
RD
27050 return resultobj;
27051 fail:
27052 return NULL;
27053}
27054
27055
c32bde28 27056static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27057 PyObject *resultobj = NULL;
d14a1e28
RD
27058 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27059 PyObject * obj0 = 0 ;
27060 char *kwnames[] = {
27061 (char *) "self", NULL
27062 };
27063
27064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
093d3ff1
RD
27065 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27066 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27067 {
27068 PyThreadState* __tstate = wxPyBeginAllowThreads();
27069 (arg1)->base_DetermineScaling();
27070
27071 wxPyEndAllowThreads(__tstate);
27072 if (PyErr_Occurred()) SWIG_fail;
27073 }
27074 Py_INCREF(Py_None); resultobj = Py_None;
27075 return resultobj;
27076 fail:
27077 return NULL;
27078}
27079
27080
c32bde28 27081static PyObject * PyPrintPreview_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
27082 PyObject *obj;
27083 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27084 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
27085 Py_INCREF(obj);
27086 return Py_BuildValue((char *)"");
27087}
c32bde28 27088static PyObject *_wrap_new_PyPreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27089 PyObject *resultobj = NULL;
d14a1e28
RD
27090 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
27091 wxFrame *arg2 = (wxFrame *) 0 ;
27092 wxString *arg3 = 0 ;
27093 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27094 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27095 wxSize const &arg5_defvalue = wxDefaultSize ;
27096 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27097 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
27098 wxString const &arg7_defvalue = wxPyFrameNameStr ;
27099 wxString *arg7 = (wxString *) &arg7_defvalue ;
27100 wxPyPreviewFrame *result;
ae8162c8 27101 bool temp3 = false ;
d14a1e28
RD
27102 wxPoint temp4 ;
27103 wxSize temp5 ;
ae8162c8 27104 bool temp7 = false ;
d14a1e28
RD
27105 PyObject * obj0 = 0 ;
27106 PyObject * obj1 = 0 ;
27107 PyObject * obj2 = 0 ;
27108 PyObject * obj3 = 0 ;
27109 PyObject * obj4 = 0 ;
994141e6 27110 PyObject * obj5 = 0 ;
d14a1e28
RD
27111 PyObject * obj6 = 0 ;
27112 char *kwnames[] = {
27113 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27114 };
27115
994141e6 27116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
27117 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27118 if (SWIG_arg_fail(1)) SWIG_fail;
27119 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
27120 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
27121 {
27122 arg3 = wxString_in_helper(obj2);
27123 if (arg3 == NULL) SWIG_fail;
ae8162c8 27124 temp3 = true;
d14a1e28
RD
27125 }
27126 if (obj3) {
27127 {
27128 arg4 = &temp4;
27129 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27130 }
27131 }
27132 if (obj4) {
27133 {
27134 arg5 = &temp5;
27135 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27136 }
27137 }
994141e6 27138 if (obj5) {
093d3ff1 27139 {
32fe5131 27140 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
27141 if (SWIG_arg_fail(6)) SWIG_fail;
27142 }
994141e6 27143 }
d14a1e28
RD
27144 if (obj6) {
27145 {
27146 arg7 = wxString_in_helper(obj6);
27147 if (arg7 == NULL) SWIG_fail;
ae8162c8 27148 temp7 = true;
d14a1e28
RD
27149 }
27150 }
27151 {
e3b71cb8 27152 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
27153 PyThreadState* __tstate = wxPyBeginAllowThreads();
27154 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
27155
27156 wxPyEndAllowThreads(__tstate);
110da5b0 27157 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 27158 }
15afbcd0 27159 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
d14a1e28
RD
27160 {
27161 if (temp3)
27162 delete arg3;
27163 }
27164 {
27165 if (temp7)
27166 delete arg7;
27167 }
27168 return resultobj;
27169 fail:
27170 {
27171 if (temp3)
27172 delete arg3;
27173 }
27174 {
27175 if (temp7)
27176 delete arg7;
27177 }
27178 return NULL;
27179}
27180
27181
c32bde28 27182static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27183 PyObject *resultobj = NULL;
d14a1e28
RD
27184 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27185 PyObject *arg2 = (PyObject *) 0 ;
27186 PyObject *arg3 = (PyObject *) 0 ;
27187 PyObject * obj0 = 0 ;
27188 PyObject * obj1 = 0 ;
27189 PyObject * obj2 = 0 ;
27190 char *kwnames[] = {
27191 (char *) "self",(char *) "self",(char *) "_class", NULL
27192 };
27193
27194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
27195 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27196 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27197 arg2 = obj1;
27198 arg3 = obj2;
27199 {
27200 PyThreadState* __tstate = wxPyBeginAllowThreads();
27201 (arg1)->_setCallbackInfo(arg2,arg3);
27202
27203 wxPyEndAllowThreads(__tstate);
27204 if (PyErr_Occurred()) SWIG_fail;
27205 }
27206 Py_INCREF(Py_None); resultobj = Py_None;
27207 return resultobj;
27208 fail:
27209 return NULL;
27210}
27211
27212
c32bde28 27213static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27214 PyObject *resultobj = NULL;
d14a1e28
RD
27215 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27216 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
27217 PyObject * obj0 = 0 ;
27218 PyObject * obj1 = 0 ;
27219 char *kwnames[] = {
27220 (char *) "self",(char *) "canvas", NULL
27221 };
27222
27223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27224 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27225 if (SWIG_arg_fail(1)) SWIG_fail;
27226 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
27227 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
27228 {
27229 PyThreadState* __tstate = wxPyBeginAllowThreads();
27230 (arg1)->SetPreviewCanvas(arg2);
27231
27232 wxPyEndAllowThreads(__tstate);
27233 if (PyErr_Occurred()) SWIG_fail;
27234 }
27235 Py_INCREF(Py_None); resultobj = Py_None;
27236 return resultobj;
27237 fail:
27238 return NULL;
27239}
27240
27241
c32bde28 27242static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27243 PyObject *resultobj = NULL;
d14a1e28
RD
27244 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27245 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
27246 PyObject * obj0 = 0 ;
27247 PyObject * obj1 = 0 ;
27248 char *kwnames[] = {
27249 (char *) "self",(char *) "bar", NULL
27250 };
27251
27252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27253 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27254 if (SWIG_arg_fail(1)) SWIG_fail;
27255 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27256 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
27257 {
27258 PyThreadState* __tstate = wxPyBeginAllowThreads();
27259 (arg1)->SetControlBar(arg2);
27260
27261 wxPyEndAllowThreads(__tstate);
27262 if (PyErr_Occurred()) SWIG_fail;
27263 }
27264 Py_INCREF(Py_None); resultobj = Py_None;
27265 return resultobj;
27266 fail:
27267 return NULL;
27268}
27269
27270
c32bde28 27271static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27272 PyObject *resultobj = NULL;
d14a1e28
RD
27273 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27274 PyObject * obj0 = 0 ;
27275 char *kwnames[] = {
27276 (char *) "self", NULL
27277 };
27278
27279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
093d3ff1
RD
27280 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27281 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27282 {
27283 PyThreadState* __tstate = wxPyBeginAllowThreads();
27284 (arg1)->base_Initialize();
27285
27286 wxPyEndAllowThreads(__tstate);
27287 if (PyErr_Occurred()) SWIG_fail;
27288 }
27289 Py_INCREF(Py_None); resultobj = Py_None;
27290 return resultobj;
27291 fail:
27292 return NULL;
27293}
27294
27295
c32bde28 27296static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27297 PyObject *resultobj = NULL;
d14a1e28
RD
27298 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27299 PyObject * obj0 = 0 ;
27300 char *kwnames[] = {
27301 (char *) "self", NULL
27302 };
27303
27304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
093d3ff1
RD
27305 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27306 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27307 {
27308 PyThreadState* __tstate = wxPyBeginAllowThreads();
27309 (arg1)->base_CreateCanvas();
27310
27311 wxPyEndAllowThreads(__tstate);
27312 if (PyErr_Occurred()) SWIG_fail;
27313 }
27314 Py_INCREF(Py_None); resultobj = Py_None;
27315 return resultobj;
27316 fail:
27317 return NULL;
27318}
27319
27320
c32bde28 27321static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27322 PyObject *resultobj = NULL;
d14a1e28
RD
27323 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27324 PyObject * obj0 = 0 ;
27325 char *kwnames[] = {
27326 (char *) "self", NULL
27327 };
27328
27329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
093d3ff1
RD
27330 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27331 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27332 {
27333 PyThreadState* __tstate = wxPyBeginAllowThreads();
27334 (arg1)->base_CreateControlBar();
27335
27336 wxPyEndAllowThreads(__tstate);
27337 if (PyErr_Occurred()) SWIG_fail;
27338 }
27339 Py_INCREF(Py_None); resultobj = Py_None;
27340 return resultobj;
27341 fail:
27342 return NULL;
27343}
27344
27345
c32bde28 27346static PyObject * PyPreviewFrame_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
27347 PyObject *obj;
27348 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27349 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
27350 Py_INCREF(obj);
27351 return Py_BuildValue((char *)"");
27352}
c32bde28 27353static PyObject *_wrap_new_PyPreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27354 PyObject *resultobj = NULL;
d14a1e28
RD
27355 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
27356 long arg2 ;
27357 wxWindow *arg3 = (wxWindow *) 0 ;
27358 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27359 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27360 wxSize const &arg5_defvalue = wxDefaultSize ;
27361 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27362 long arg6 = (long) 0 ;
27363 wxString const &arg7_defvalue = wxPyPanelNameStr ;
27364 wxString *arg7 = (wxString *) &arg7_defvalue ;
27365 wxPyPreviewControlBar *result;
27366 wxPoint temp4 ;
27367 wxSize temp5 ;
ae8162c8 27368 bool temp7 = false ;
d14a1e28 27369 PyObject * obj0 = 0 ;
994141e6 27370 PyObject * obj1 = 0 ;
d14a1e28
RD
27371 PyObject * obj2 = 0 ;
27372 PyObject * obj3 = 0 ;
27373 PyObject * obj4 = 0 ;
994141e6 27374 PyObject * obj5 = 0 ;
d14a1e28
RD
27375 PyObject * obj6 = 0 ;
27376 char *kwnames[] = {
27377 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27378 };
27379
994141e6 27380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
27381 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27382 if (SWIG_arg_fail(1)) SWIG_fail;
27383 {
32fe5131 27384 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
27385 if (SWIG_arg_fail(2)) SWIG_fail;
27386 }
27387 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27388 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
27389 if (obj3) {
27390 {
27391 arg4 = &temp4;
27392 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27393 }
27394 }
27395 if (obj4) {
27396 {
27397 arg5 = &temp5;
27398 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27399 }
27400 }
994141e6 27401 if (obj5) {
093d3ff1 27402 {
32fe5131 27403 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
27404 if (SWIG_arg_fail(6)) SWIG_fail;
27405 }
994141e6 27406 }
d14a1e28
RD
27407 if (obj6) {
27408 {
27409 arg7 = wxString_in_helper(obj6);
27410 if (arg7 == NULL) SWIG_fail;
ae8162c8 27411 temp7 = true;
d14a1e28
RD
27412 }
27413 }
27414 {
e3b71cb8 27415 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
27416 PyThreadState* __tstate = wxPyBeginAllowThreads();
27417 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
27418
27419 wxPyEndAllowThreads(__tstate);
110da5b0 27420 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 27421 }
15afbcd0 27422 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
d14a1e28
RD
27423 {
27424 if (temp7)
27425 delete arg7;
27426 }
27427 return resultobj;
27428 fail:
27429 {
27430 if (temp7)
27431 delete arg7;
27432 }
27433 return NULL;
27434}
27435
27436
c32bde28 27437static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27438 PyObject *resultobj = NULL;
d14a1e28
RD
27439 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27440 PyObject *arg2 = (PyObject *) 0 ;
27441 PyObject *arg3 = (PyObject *) 0 ;
27442 PyObject * obj0 = 0 ;
27443 PyObject * obj1 = 0 ;
27444 PyObject * obj2 = 0 ;
27445 char *kwnames[] = {
27446 (char *) "self",(char *) "self",(char *) "_class", NULL
27447 };
27448
27449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
27450 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27451 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27452 arg2 = obj1;
27453 arg3 = obj2;
27454 {
27455 PyThreadState* __tstate = wxPyBeginAllowThreads();
27456 (arg1)->_setCallbackInfo(arg2,arg3);
27457
27458 wxPyEndAllowThreads(__tstate);
27459 if (PyErr_Occurred()) SWIG_fail;
27460 }
27461 Py_INCREF(Py_None); resultobj = Py_None;
27462 return resultobj;
27463 fail:
27464 return NULL;
27465}
27466
27467
c32bde28 27468static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27469 PyObject *resultobj = NULL;
d14a1e28
RD
27470 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27471 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
27472 PyObject * obj0 = 0 ;
27473 PyObject * obj1 = 0 ;
27474 char *kwnames[] = {
27475 (char *) "self",(char *) "preview", NULL
27476 };
27477
27478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27479 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27480 if (SWIG_arg_fail(1)) SWIG_fail;
27481 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27482 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
27483 {
27484 PyThreadState* __tstate = wxPyBeginAllowThreads();
27485 (arg1)->SetPrintPreview(arg2);
27486
27487 wxPyEndAllowThreads(__tstate);
27488 if (PyErr_Occurred()) SWIG_fail;
27489 }
27490 Py_INCREF(Py_None); resultobj = Py_None;
27491 return resultobj;
27492 fail:
27493 return NULL;
27494}
27495
27496
c32bde28 27497static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27498 PyObject *resultobj = NULL;
d14a1e28
RD
27499 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27500 PyObject * obj0 = 0 ;
27501 char *kwnames[] = {
27502 (char *) "self", NULL
27503 };
27504
27505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
093d3ff1
RD
27506 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27507 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27508 {
27509 PyThreadState* __tstate = wxPyBeginAllowThreads();
27510 (arg1)->base_CreateButtons();
27511
27512 wxPyEndAllowThreads(__tstate);
27513 if (PyErr_Occurred()) SWIG_fail;
27514 }
27515 Py_INCREF(Py_None); resultobj = Py_None;
27516 return resultobj;
27517 fail:
27518 return NULL;
27519}
27520
27521
c32bde28 27522static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27523 PyObject *resultobj = NULL;
d14a1e28
RD
27524 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27525 int arg2 ;
27526 PyObject * obj0 = 0 ;
994141e6 27527 PyObject * obj1 = 0 ;
d14a1e28
RD
27528 char *kwnames[] = {
27529 (char *) "self",(char *) "zoom", NULL
27530 };
27531
994141e6 27532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27533 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27534 if (SWIG_arg_fail(1)) SWIG_fail;
27535 {
32fe5131 27536 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
27537 if (SWIG_arg_fail(2)) SWIG_fail;
27538 }
d14a1e28
RD
27539 {
27540 PyThreadState* __tstate = wxPyBeginAllowThreads();
27541 (arg1)->base_SetZoomControl(arg2);
27542
27543 wxPyEndAllowThreads(__tstate);
27544 if (PyErr_Occurred()) SWIG_fail;
27545 }
27546 Py_INCREF(Py_None); resultobj = Py_None;
27547 return resultobj;
27548 fail:
27549 return NULL;
27550}
27551
27552
c32bde28 27553static PyObject * PyPreviewControlBar_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
27554 PyObject *obj;
27555 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27556 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
27557 Py_INCREF(obj);
27558 return Py_BuildValue((char *)"");
27559}
d3b6e4ff 27560static PyMethodDef SwigMethods[] = {
093d3ff1
RD
27561 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
27562 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS, NULL},
27563 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27564 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27565 { (char *)"Panel_SetFocus", (PyCFunction) _wrap_Panel_SetFocus, METH_VARARGS | METH_KEYWORDS, NULL},
27566 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction) _wrap_Panel_SetFocusIgnoringChildren, METH_VARARGS | METH_KEYWORDS, NULL},
27567 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27568 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
27569 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27570 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27571 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27572 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
27573 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
27574 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
27575 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
27576 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
27577 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS, NULL},
27578 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
27579 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS, NULL},
27580 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
27581 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS, NULL},
27582 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS, NULL},
27583 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
27584 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
27585 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
27586 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
27587 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27588 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27589 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
27590 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27591 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
27592 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
27593 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS, NULL},
27594 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
27595 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS, NULL},
27596 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS, NULL},
27597 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27598 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27599 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
27600 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27601 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27602 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
27603 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
27604 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
27605 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
27606 { (char *)"TopLevelWindow_IsActive", (PyCFunction) _wrap_TopLevelWindow_IsActive, METH_VARARGS | METH_KEYWORDS, NULL},
27607 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
27608 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacGetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
27609 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
27610 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
27611 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27612 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27613 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
27614 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27615 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
27616 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
27617 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
27618 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27619 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27620 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27621 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27622 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
27623 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27624 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27625 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
27626 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
27627 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27628 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27629 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27630 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27631 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
27632 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27633 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
27634 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
27635 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27636 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27637 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
27638 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
27639 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
27640 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
e505d15e 27641 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
27642 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS, NULL},
27643 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL},
27644 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
27645 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27646 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
27647 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27648 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27649 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27650 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
27651 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27652 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
27653 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
27654 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
27655 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27656 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27657 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27658 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS, NULL},
27659 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
27660 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27661 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27662 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27663 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
27664 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
27665 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27666 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27667 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27668 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27669 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
27670 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
27671 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
27672 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
27673 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS, NULL},
27674 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS, NULL},
27675 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27676 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
27677 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27678 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27679 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27680 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS, NULL},
27681 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS, NULL},
27682 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
27683 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
27684 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
27685 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
27686 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
27687 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
27688 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27689 { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS, NULL},
27690 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS, NULL},
27691 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
27692 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27693 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
27694 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27695 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27696 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27697 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
27698 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction) _wrap_SplitterWindow_GetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
27699 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
27700 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
27701 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
27702 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL},
27703 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
27704 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
27705 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27706 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
27707 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27708 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27709 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27710 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS, NULL},
27711 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL},
27712 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL},
27713 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
27714 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27715 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27716 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27717 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
27718 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
27719 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
27720 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
27721 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
27722 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27723 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27724 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27725 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27726 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27727 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27728 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27729 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27730 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27731 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27732 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27733 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27734 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
27735 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL},
27736 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
27737 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27738 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
27739 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
27740 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
27741 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
27742 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
27743 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
27744 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
27745 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27746 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
27747 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
27748 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27749 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27750 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27751 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27752 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27753 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27754 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27755 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27756 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
27757 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27758 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27759 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27760 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
27761 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL},
27762 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
27763 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27764 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27765 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27766 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27767 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27768 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27769 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
27770 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27771 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
27772 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL},
27773 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL},
27774 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27775 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27776 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27777 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
27778 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27779 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27780 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27781 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS, NULL},
27782 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
27783 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27784 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27785 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27786 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS, NULL},
27787 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS, NULL},
27788 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
27789 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27790 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
27791 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS, NULL},
27792 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
27793 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27794 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27795 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27796 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27797 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
27798 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
27799 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS, NULL},
27800 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS, NULL},
27801 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
27802 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
27803 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
27804 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
27805 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL},
27806 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
70b7a5fe
RD
27807 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction) _wrap_VScrolledWindow_GetVisibleBegin, METH_VARARGS | METH_KEYWORDS, NULL},
27808 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction) _wrap_VScrolledWindow_GetVisibleEnd, METH_VARARGS | METH_KEYWORDS, NULL},
27809 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
27810 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL},
27811 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
27812 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
27813 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
27814 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS, NULL},
27815 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27816 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27817 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
27818 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27819 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27820 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
27821 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
27822 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS, NULL},
27823 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL},
27824 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
27825 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
27826 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
27827 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
27828 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
27829 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27830 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
27831 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
27832 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
27833 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
27834 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
27835 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
27836 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
27837 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
27838 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
27839 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
27840 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
27841 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27842 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27843 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL},
27844 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
27845 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction) _wrap_HtmlListBox_GetFileSystem, METH_VARARGS | METH_KEYWORDS, NULL},
27846 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
27847 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27848 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27849 { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
27850 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
27851 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS, NULL},
27852 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27853 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27854 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
27855 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
27856 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27857 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
27858 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS, NULL},
27859 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS, NULL},
27860 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
27861 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27862 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
27863 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
27864 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27865 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
27866 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
27867 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27868 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS, NULL},
27869 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
32fe5131 27870 { (char *)"GetColourFromUser", (PyCFunction) _wrap_GetColourFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
27871 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27872 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
27873 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
27874 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27875 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
27876 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
27877 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
27878 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27879 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
27880 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
27881 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
27882 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
27883 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
27884 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27885 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
27886 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
27887 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
27888 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
27889 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
27890 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
27891 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27892 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
27893 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS, NULL},
27894 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS, NULL},
27895 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
27896 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27897 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
27898 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
27899 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
27900 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27901 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27902 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27903 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27904 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
27905 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27906 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
27907 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
27908 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
27909 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27910 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
27911 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS, NULL},
27912 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS, NULL},
27913 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
27914 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
27915 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27916 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
27917 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
27918 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
27919 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27920 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
27921 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
27922 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27923 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
27924 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
27925 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27926 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
27927 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27928 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS, NULL},
27929 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
32fe5131 27930 { (char *)"GetFontFromUser", (PyCFunction) _wrap_GetFontFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
27931 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27932 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
27933 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27934 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
27935 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS, NULL},
27936 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
27937 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27938 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27939 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
27940 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
27941 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27942 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27943 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
27944 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
27945 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
27946 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
27947 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
27948 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
27949 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
27950 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27951 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27952 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
27953 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
27954 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
27955 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27956 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27957 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27958 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
27959 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
27960 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
27961 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27962 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27963 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27964 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS, NULL},
27965 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS, NULL},
27966 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS, NULL},
27967 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS, NULL},
27968 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS, NULL},
27969 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27970 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27971 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
27972 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
27973 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27974 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27975 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27976 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS, NULL},
27977 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
27978 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS, NULL},
27979 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
27980 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27981 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27982 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27983 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
27984 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27985 { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27986 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27987 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
976dbff5 27988 { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
27989 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27990 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27991 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
27992 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
27993 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27994 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
27995 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27996 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
27997 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
27998 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27999 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28000 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28001 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
28002 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
28003 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
28004 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
28005 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
28006 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
28007 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 28008 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
8d38bd1d 28009 { (char *)"PyWindow_base_OnInternalIdle", (PyCFunction) _wrap_PyWindow_base_OnInternalIdle, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
28010 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
28011 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
28012 { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
28013 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28014 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
976dbff5 28015 { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
28016 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28017 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28018 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28019 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28020 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28021 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28022 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
28023 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28024 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
28025 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28026 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28027 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28028 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
28029 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
28030 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
28031 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
28032 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
28033 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
28034 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 28035 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction) _wrap_PyPanel_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
8d38bd1d 28036 { (char *)"PyPanel_base_OnInternalIdle", (PyCFunction) _wrap_PyPanel_base_OnInternalIdle, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
28037 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
28038 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28039 { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28040 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28041 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
976dbff5 28042 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
28043 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28044 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28045 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28046 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28047 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28048 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28049 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
28050 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28051 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
28052 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28053 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28054 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28055 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
28056 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
28057 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
28058 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
28059 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
28060 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
28061 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 28062 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyScrolledWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
8d38bd1d 28063 { (char *)"PyScrolledWindow_base_OnInternalIdle", (PyCFunction) _wrap_PyScrolledWindow_base_OnInternalIdle, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
28064 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
28065 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
28066 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28067 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
28068 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
28069 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28070 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28071 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
28072 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
28073 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
28074 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
28075 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28076 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
28077 { (char *)"PrintData_GetBin", (PyCFunction) _wrap_PrintData_GetBin, METH_VARARGS | METH_KEYWORDS, NULL},
28078 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
28079 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
28080 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
28081 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28082 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
28083 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
28084 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
28085 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
28086 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28087 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
28088 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
28089 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
28090 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
28091 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
b9d6a5f3
RD
28092 { (char *)"PrintData_GetPrivData", (PyCFunction) _wrap_PrintData_GetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
28093 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
28094 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
28095 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
28096 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28097 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28098 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28099 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28100 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
28101 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28102 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28103 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28104 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28105 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
28106 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28107 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28108 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28109 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28110 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28111 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28112 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28113 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
28114 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28115 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28116 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28117 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28118 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28119 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28120 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28121 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28122 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28123 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
28124 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28125 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
7557b9b5
RD
28126 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction) _wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28127 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction) _wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
28128 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
28129 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28130 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL},
28131 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28132 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL},
28133 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
28134 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
28135 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28136 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
28137 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
28138 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
28139 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
28140 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
28141 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
28142 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28143 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
28144 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
28145 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
28146 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
28147 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
28148 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
28149 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
28150 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
28151 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28152 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
28153 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28154 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28155 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28156 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
28157 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28158 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28159 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28160 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
28161 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28162 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28163 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28164 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28165 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
28166 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28167 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL},
28168 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28169 { (char *)"PrintDialog_GetPrintData", (PyCFunction) _wrap_PrintDialog_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28170 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS, NULL},
28171 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
28172 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
28173 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
28174 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28175 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
28176 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
28177 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
28178 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28179 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28180 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS, NULL},
28181 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS, NULL},
28182 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
28183 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
28184 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28185 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
28186 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS, NULL},
28187 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
28188 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
28189 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
28190 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
28191 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
28192 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
28193 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
28194 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28195 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28196 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28197 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28198 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
28199 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS, NULL},
28200 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28201 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28202 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28203 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
28204 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28205 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
28206 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28207 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
28208 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28209 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
28210 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28211 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28212 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28213 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
28214 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28215 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
28216 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
28217 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28218 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS, NULL},
28219 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS, NULL},
28220 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS, NULL},
28221 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS, NULL},
28222 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS, NULL},
28223 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
28224 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
28225 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
28226 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
28227 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
28228 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
28229 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28230 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28231 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28232 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28233 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28234 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
28235 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
28236 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
28237 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
28238 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28239 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
28240 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
28241 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
28242 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
28243 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28244 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
28245 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
28246 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL},
28247 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
28248 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
28249 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28250 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
28251 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
28252 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
28253 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
28254 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
28255 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS, NULL},
28256 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL},
28257 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
28258 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28259 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28260 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28261 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28262 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
28263 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28264 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28265 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
28266 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28267 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28268 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28269 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS, NULL},
28270 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
28271 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
c32bde28 28272 { NULL, NULL, 0, NULL }
d14a1e28
RD
28273};
28274
28275
28276/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28277
28278static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
28279 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28280}
28281static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
28282 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
28283}
28284static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
28285 return (void *)((wxEvent *) ((wxMenuEvent *) x));
28286}
28287static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
28288 return (void *)((wxEvent *) ((wxCloseEvent *) x));
28289}
28290static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
28291 return (void *)((wxEvent *) ((wxMouseEvent *) x));
28292}
28293static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
28294 return (void *)((wxEvent *) ((wxEraseEvent *) x));
28295}
28296static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
28297 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
28298}
28299static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
28300 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
28301}
28302static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
28303 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
28304}
28305static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
28306 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
28307}
28308static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
28309 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
28310}
28311static void *_p_wxPyEventTo_p_wxEvent(void *x) {
28312 return (void *)((wxEvent *) ((wxPyEvent *) x));
28313}
28314static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
28315 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
28316}
28317static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
28318 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
28319}
28320static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
28321 return (void *)((wxEvent *) ((wxIdleEvent *) x));
28322}
28323static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
28324 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
28325}
28326static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
28327 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
28328}
28329static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
28330 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
28331}
28332static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
28333 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
28334}
28335static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
28336 return (void *)((wxEvent *) ((wxActivateEvent *) x));
28337}
28338static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
28339 return (void *)((wxEvent *) ((wxSizeEvent *) x));
28340}
28341static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
28342 return (void *)((wxEvent *) ((wxMoveEvent *) x));
28343}
53aa7709
RD
28344static void *_p_wxDateEventTo_p_wxEvent(void *x) {
28345 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
28346}
d14a1e28
RD
28347static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
28348 return (void *)((wxEvent *) ((wxPaintEvent *) x));
28349}
28350static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
28351 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
28352}
28353static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
28354 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
28355}
28356static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
28357 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
28358}
28359static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
28360 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
28361}
28362static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
28363 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
28364}
28365static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
28366 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
28367}
28368static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
28369 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
28370}
28371static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
28372 return (void *)((wxEvent *) ((wxFocusEvent *) x));
28373}
28374static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
28375 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
28376}
28377static void *_p_wxSashEventTo_p_wxEvent(void *x) {
28378 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
28379}
28380static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
28381 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
28382}
28383static void *_p_wxShowEventTo_p_wxEvent(void *x) {
28384 return (void *)((wxEvent *) ((wxShowEvent *) x));
28385}
28386static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
28387 return (void *)((wxEvent *) ((wxCommandEvent *) x));
28388}
28389static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
28390 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
28391}
28392static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
28393 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
28394}
28395static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
28396 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
28397}
28398static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
28399 return (void *)((wxEvent *) ((wxKeyEvent *) x));
28400}
28401static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
28402 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
28403}
28404static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
28405 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
28406}
28407static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
28408 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
28409}
d3b6e4ff
RD
28410static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
28411 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28412}
d14a1e28
RD
28413static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
28414 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
28415}
28416static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
28417 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
28418}
28419static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
28420 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
28421}
28422static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
28423 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
28424}
28425static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
28426 return (void *)((wxEvtHandler *) ((wxValidator *) x));
28427}
28428static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
28429 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
28430}
28431static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
28432 return (void *)((wxEvtHandler *) ((wxMenu *) x));
28433}
d3b6e4ff
RD
28434static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
28435 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28436}
d14a1e28
RD
28437static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
28438 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
28439}
28440static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
28441 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
28442}
28443static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
28444 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
28445}
28446static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
28447 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
28448}
28449static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
28450 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
28451}
28452static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
28453 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
28454}
28455static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
28456 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
28457}
28458static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
28459 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
28460}
28461static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
28462 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
28463}
28464static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
28465 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
28466}
28467static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
28468 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
28469}
28470static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
28471 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
28472}
28473static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
28474 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
28475}
28476static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
28477 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
28478}
28479static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
28480 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
28481}
28482static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
28483 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
28484}
28485static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
28486 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
28487}
28488static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
28489 return (void *)((wxEvtHandler *) ((wxWindow *) x));
28490}
28491static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
28492 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
28493}
28494static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
28495 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
28496}
28497static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
28498 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
28499}
1cb4a8aa
RD
28500static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
28501 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
28502}
d14a1e28
RD
28503static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
28504 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
28505}
28506static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
28507 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
28508}
28509static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
28510 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28511}
28512static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
28513 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
28514}
28515static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
28516 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
28517}
28518static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
28519 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
28520}
28521static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
28522 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
28523}
28524static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
28525 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
28526}
28527static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
28528 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
28529}
28530static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
28531 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
28532}
28533static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
28534 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
28535}
28536static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
28537 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
28538}
5e483524
RD
28539static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
28540 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d14a1e28
RD
28541}
28542static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
28543 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
28544}
d14a1e28
RD
28545static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
28546 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
28547}
28548static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
28549 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
28550}
28551static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
28552 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
28553}
d3b6e4ff
RD
28554static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
28555 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
28556}
d14a1e28
RD
28557static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
28558 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
28559}
28560static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
28561 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
28562}
28563static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
28564 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
28565}
28566static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
28567 return (void *)((wxFrame *) ((wxProgressDialog *) x));
28568}
28569static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
28570 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
28571}
28572static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
28573 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28574}
28575static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
28576 return (void *)((wxFrame *) ((wxMiniFrame *) x));
28577}
28578static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
28579 return (void *)((wxFrame *) ((wxSplashScreen *) x));
28580}
28581static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
28582 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
28583}
28584static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
28585 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
28586}
28587static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
28588 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
28589}
28590static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
28591 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
28592}
28593static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
28594 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28595}
28596static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
28597 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
28598}
28599static void *_p_wxSizerItemTo_p_wxObject(void *x) {
28600 return (void *)((wxObject *) ((wxSizerItem *) x));
28601}
28602static void *_p_wxScrollEventTo_p_wxObject(void *x) {
28603 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
28604}
28605static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
28606 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
28607}
28608static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
28609 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
28610}
28611static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
28612 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
28613}
28614static void *_p_wxSizerTo_p_wxObject(void *x) {
28615 return (void *)((wxObject *) ((wxSizer *) x));
28616}
28617static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
28618 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
28619}
28620static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
28621 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
28622}
28623static void *_p_wxPyPanelTo_p_wxObject(void *x) {
28624 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
28625}
28626static void *_p_wxEventTo_p_wxObject(void *x) {
28627 return (void *)((wxObject *) ((wxEvent *) x));
28628}
28629static void *_p_wxFontDataTo_p_wxObject(void *x) {
28630 return (void *)((wxObject *) ((wxFontData *) x));
28631}
28632static void *_p_wxPrintDataTo_p_wxObject(void *x) {
28633 return (void *)((wxObject *) ((wxPrintData *) x));
28634}
28635static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
28636 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
28637}
28638static void *_p_wxGridSizerTo_p_wxObject(void *x) {
28639 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
28640}
28641static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
28642 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
28643}
28644static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
28645 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
28646}
5e483524
RD
28647static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
28648 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d14a1e28
RD
28649}
28650static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
28651 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
28652}
28653static void *_p_wxPaintEventTo_p_wxObject(void *x) {
28654 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
28655}
28656static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
28657 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
28658}
28659static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
28660 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
28661}
28662static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
28663 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
28664}
28665static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
28666 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
28667}
28668static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
28669 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
28670}
28671static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
28672 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
28673}
28674static void *_p_wxControlTo_p_wxObject(void *x) {
28675 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
28676}
28677static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
28678 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
28679}
28680static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
28681 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
28682}
28683static void *_p_wxFSFileTo_p_wxObject(void *x) {
28684 return (void *)((wxObject *) ((wxFSFile *) x));
28685}
28686static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
28687 return (void *)((wxObject *) ((wxFindReplaceData *) x));
28688}
28689static void *_p_wxPySizerTo_p_wxObject(void *x) {
28690 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
28691}
28692static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
28693 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
28694}
28695static void *_p_wxColourDataTo_p_wxObject(void *x) {
28696 return (void *)((wxObject *) ((wxColourData *) x));
28697}
28698static void *_p_wxPyEventTo_p_wxObject(void *x) {
28699 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
28700}
28701static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
28702 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
28703}
28704static void *_p_wxPyWindowTo_p_wxObject(void *x) {
28705 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
28706}
28707static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
28708 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
28709}
28710static void *_p_wxFileDialogTo_p_wxObject(void *x) {
28711 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
28712}
28713static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
28714 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
28715}
28716static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
28717 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
28718}
28719static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
28720 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
28721}
d3b6e4ff
RD
28722static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
28723 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28724}
d14a1e28
RD
28725static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
28726 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
28727}
28728static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
28729 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
28730}
28731static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
28732 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
28733}
28734static void *_p_wxShowEventTo_p_wxObject(void *x) {
28735 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
28736}
28737static void *_p_wxPrinterTo_p_wxObject(void *x) {
28738 return (void *)((wxObject *) ((wxPrinter *) x));
28739}
28740static void *_p_wxMenuItemTo_p_wxObject(void *x) {
28741 return (void *)((wxObject *) ((wxMenuItem *) x));
28742}
53aa7709
RD
28743static void *_p_wxDateEventTo_p_wxObject(void *x) {
28744 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
28745}
d14a1e28
RD
28746static void *_p_wxIdleEventTo_p_wxObject(void *x) {
28747 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
28748}
28749static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
28750 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
28751}
28752static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
28753 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
28754}
28755static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
28756 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
28757}
28758static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
28759 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
28760}
28761static void *_p_wxSizeEventTo_p_wxObject(void *x) {
28762 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
28763}
28764static void *_p_wxMoveEventTo_p_wxObject(void *x) {
28765 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
28766}
28767static void *_p_wxActivateEventTo_p_wxObject(void *x) {
28768 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
28769}
d14a1e28
RD
28770static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
28771 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
28772}
28773static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
28774 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
28775}
28776static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
28777 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
28778}
28779static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
28780 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
28781}
28782static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
28783 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
28784}
28785static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
28786 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
28787}
28788static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
28789 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
28790}
28791static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
28792 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
28793}
28794static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
28795 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
28796}
943e8dfd
RD
28797static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
28798 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
28799}
d14a1e28
RD
28800static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
28801 return (void *)((wxObject *) ((wxImageHandler *) x));
28802}
943e8dfd
RD
28803static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
28804 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
28805}
d14a1e28
RD
28806static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
28807 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
28808}
28809static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
28810 return (void *)((wxObject *) ((wxEvtHandler *) x));
28811}
28812static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
28813 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
28814}
28815static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
28816 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
28817}
28818static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
28819 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
28820}
e505d15e
RD
28821static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
28822 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
28823}
d14a1e28
RD
28824static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
28825 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
28826}
28827static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
28828 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
28829}
28830static void *_p_wxImageTo_p_wxObject(void *x) {
28831 return (void *)((wxObject *) ((wxImage *) x));
28832}
28833static void *_p_wxFrameTo_p_wxObject(void *x) {
28834 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
28835}
28836static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
28837 return (void *)((wxObject *) ((wxPyPrintout *) x));
28838}
28839static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
28840 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
28841}
28842static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
28843 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
28844}
28845static void *_p_wxStatusBarTo_p_wxObject(void *x) {
28846 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
28847}
28848static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
28849 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
28850}
28851static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
28852 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
28853}
28854static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
28855 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
28856}
28857static void *_p_wxKeyEventTo_p_wxObject(void *x) {
28858 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
28859}
d14a1e28
RD
28860static void *_p_wxWindowTo_p_wxObject(void *x) {
28861 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
28862}
28863static void *_p_wxMenuTo_p_wxObject(void *x) {
28864 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
28865}
28866static void *_p_wxMenuBarTo_p_wxObject(void *x) {
28867 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
28868}
1e0c8722
RD
28869static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
28870 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
28871}
d14a1e28
RD
28872static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
28873 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
28874}
28875static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
28876 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
28877}
28878static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
28879 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
28880}
28881static void *_p_wxSashWindowTo_p_wxObject(void *x) {
28882 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
28883}
28884static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
28885 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
28886}
28887static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
28888 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
28889}
28890static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
28891 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
28892}
28893static void *_p_wxTipWindowTo_p_wxObject(void *x) {
28894 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
28895}
28896static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
28897 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
28898}
28899static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
28900 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
28901}
1cb4a8aa
RD
28902static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
28903 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
28904}
d14a1e28
RD
28905static void *_p_wxSashEventTo_p_wxObject(void *x) {
28906 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
28907}
28908static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
28909 return (void *)((wxObject *) ((wxPrintPreview *) x));
28910}
28911static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
28912 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
28913}
28914static void *_p_wxPanelTo_p_wxObject(void *x) {
28915 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
28916}
28917static void *_p_wxDialogTo_p_wxObject(void *x) {
28918 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
28919}
28920static void *_p_wxColourDialogTo_p_wxObject(void *x) {
28921 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
28922}
28923static void *_p_wxDirDialogTo_p_wxObject(void *x) {
28924 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
28925}
28926static void *_p_wxFontDialogTo_p_wxObject(void *x) {
28927 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
28928}
28929static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
8ac8dba0 28930 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
d14a1e28
RD
28931}
28932static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
a68b8331 28933 return (void *)((wxObject *) ((wxPrintDialog *) x));
d14a1e28
RD
28934}
28935static void *_p_wxFileSystemTo_p_wxObject(void *x) {
28936 return (void *)((wxObject *) ((wxFileSystem *) x));
28937}
28938static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
28939 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
28940}
28941static void *_p_wxMenuEventTo_p_wxObject(void *x) {
28942 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
28943}
28944static void *_p_wxPyAppTo_p_wxObject(void *x) {
28945 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
28946}
28947static void *_p_wxCloseEventTo_p_wxObject(void *x) {
28948 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
28949}
28950static void *_p_wxMouseEventTo_p_wxObject(void *x) {
28951 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
28952}
28953static void *_p_wxEraseEventTo_p_wxObject(void *x) {
28954 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
28955}
28956static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
28957 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
28958}
28959static void *_p_wxCommandEventTo_p_wxObject(void *x) {
28960 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
28961}
28962static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
28963 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
28964}
28965static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
28966 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
28967}
28968static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
28969 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
28970}
28971static void *_p_wxFocusEventTo_p_wxObject(void *x) {
28972 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
28973}
28974static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
28975 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
28976}
28977static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
28978 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
28979}
28980static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
28981 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
28982}
28983static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
28984 return (void *)((wxObject *) ((wxPrintDialogData *) x));
28985}
28986static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
28987 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
28988}
28989static void *_p_wxValidatorTo_p_wxObject(void *x) {
28990 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
28991}
28992static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
28993 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
28994}
28995static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
28996 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
28997}
28998static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
28999 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
29000}
29001static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
29002 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
29003}
29004static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
29005 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
29006}
29007static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
29008 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
29009}
29010static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
29011 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
29012}
29013static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
29014 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
29015}
29016static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
29017 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
29018}
29019static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
29020 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
29021}
29022static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
29023 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
29024}
29025static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
29026 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
29027}
d14a1e28
RD
29028static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
29029 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
29030}
29031static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
29032 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
29033}
29034static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
29035 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
29036}
d14a1e28
RD
29037static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
29038 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
29039}
29040static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
29041 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
29042}
d3b6e4ff
RD
29043static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
29044 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
29045}
d14a1e28
RD
29046static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
29047 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
29048}
29049static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
29050 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
29051}
29052static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
29053 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
29054}
29055static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
29056 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
29057}
d3b6e4ff
RD
29058static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
29059 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
29060}
d14a1e28
RD
29061static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
29062 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
29063}
29064static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
29065 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
29066}
29067static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
29068 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
29069}
29070static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
29071 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
29072}
29073static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
29074 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
29075}
29076static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
29077 return (void *)((wxWindow *) ((wxMenuBar *) x));
29078}
29079static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
29080 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
29081}
29082static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
29083 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
29084}
29085static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
29086 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
29087}
d3b6e4ff
RD
29088static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
29089 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
29090}
d14a1e28
RD
29091static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
29092 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
29093}
29094static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
29095 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
29096}
29097static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
29098 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
29099}
29100static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
29101 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
29102}
29103static void *_p_wxPanelTo_p_wxWindow(void *x) {
29104 return (void *)((wxWindow *) ((wxPanel *) x));
29105}
29106static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
29107 return (void *)((wxWindow *) ((wxStatusBar *) x));
29108}
d14a1e28
RD
29109static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
29110 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
29111}
29112static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
29113 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
29114}
29115static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
29116 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
29117}
29118static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
29119 return (void *)((wxWindow *) ((wxPopupWindow *) x));
29120}
29121static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
29122 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
29123}
29124static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
29125 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
29126}
29127static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
29128 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
29129}
29130static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
29131 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
29132}
29133static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
29134 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
29135}
29136static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
29137 return (void *)((wxWindow *) ((wxSashWindow *) x));
29138}
d3b6e4ff
RD
29139static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
29140 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
29141}
1cb4a8aa
RD
29142static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
29143 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
29144}
d14a1e28
RD
29145static void *_p_wxControlTo_p_wxWindow(void *x) {
29146 return (void *)((wxWindow *) ((wxControl *) x));
29147}
29148static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
29149 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
29150}
29151static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
29152 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
29153}
29154static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
29155 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
29156}
29157static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
29158 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
29159}
29160static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
29161 return (void *)((wxWindow *) ((wxPyWindow *) x));
29162}
29163static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
29164 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
29165}
29166static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
29167 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
29168}
29169static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
29170 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
29171}
29172static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
29173 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
29174}
29175static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
29176 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29177}
29178static void *_p_wxFrameTo_p_wxWindow(void *x) {
29179 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
29180}
29181static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
29182 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
29183}
29184static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
29185 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
29186}
29187static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
29188 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
29189}
29190static void *_p_wxDialogTo_p_wxWindow(void *x) {
29191 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
29192}
d14a1e28
RD
29193static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
29194 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
29195}
1cb4a8aa
RD
29196static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
29197 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
29198}
d14a1e28
RD
29199static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
29200 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
29201}
29202static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
29203 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
29204}
29205static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
29206 return (void *)((wxDialog *) ((wxColourDialog *) x));
29207}
29208static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
29209 return (void *)((wxDialog *) ((wxDirDialog *) x));
29210}
29211static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
29212 return (void *)((wxDialog *) ((wxFontDialog *) x));
29213}
d14a1e28
RD
29214static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
29215 return (void *)((wxDialog *) ((wxFileDialog *) x));
29216}
29217static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
29218 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
29219}
29220static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
29221 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
29222}
29223static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
29224 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
29225}
d3b6e4ff
RD
29226static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
29227 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
29228}
d14a1e28
RD
29229static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
29230 return (void *)((wxDialog *) ((wxMessageDialog *) x));
29231}
29232static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
29233 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
29234}
29235static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
29236 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
29237}
29238static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
29239 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
29240}
1cb4a8aa
RD
29241static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
29242 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
29243}
d14a1e28
RD
29244static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
29245 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
29246}
29247static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
29248 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
29249}
29250static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
29251 return (void *)((wxPanel *) ((wxPyPanel *) x));
29252}
29253static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
29254 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
29255}
29256static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
29257 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
29258}
29259static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
29260 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29261}
29262static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
29263 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
29264}
29265static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
29266 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
29267}
29268static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
29269 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
29270}
53aa7709
RD
29271static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
29272 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
29273}
d14a1e28
RD
29274static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
29275 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
29276}
29277static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
29278 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
29279}
29280static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
29281 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
29282}
29283static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
29284 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
29285}
29286static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
29287 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
29288}
29289static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
29290 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
29291}
29292static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
29293 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
29294}
29295static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
29296 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
29297}
29298static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
29299 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29300}
32fe5131
RD
29301static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, 0};
29302static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0};
29303static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, 0};
29304static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0};
29305static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0};
29306static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, 0};
29307static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, 0};
29308static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, 0};
29309static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, 0};
29310static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, 0};
29311static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", "wxColourData *", 0, 0, 0};
29312static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", "wxColourDialog *", 0, 0, 0};
29313static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0};
29314static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0};
29315static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0};
29316static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0};
29317static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0};
29318static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0};
29319static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0};
29320static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0};
29321static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0};
29322static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, 0};
29323static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, 0};
29324static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", "wxDirDialog *", 0, 0, 0};
29325static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0};
29326static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, 0};
29327static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0};
29328static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0};
29329static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0};
29330static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0};
29331static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0};
29332static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0};
29333static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0};
29334static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0};
29335static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0};
29336static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0};
29337static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0};
29338static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0};
29339static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0};
29340static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0};
29341static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0};
29342static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0};
29343static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0};
29344static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0};
29345static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0};
29346static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0};
29347static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0};
29348static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0};
29349static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0};
29350static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0};
29351static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0};
29352static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0};
29353static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0};
29354static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0};
29355static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0};
29356static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0};
29357static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0};
29358static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", "wxFileDialog *", 0, 0, 0};
29359static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, 0};
29360static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, 0};
29361static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, 0};
29362static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, 0};
29363static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, 0};
29364static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", "wxFontData *", 0, 0, 0};
29365static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", "wxFontDialog *", 0, 0, 0};
29366static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, 0};
29367static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, 0};
29368static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, 0};
29369static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, 0};
29370static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, 0};
29371static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, 0};
29372static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, 0};
29373static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, 0};
29374static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, 0};
29375static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, 0};
29376static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, 0};
29377static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, 0};
29378static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, 0};
29379static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, 0};
29380static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0};
29381static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0};
29382static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0};
29383static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0};
29384static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0};
29385static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0};
29386static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0};
29387static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0};
29388static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0};
29389static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0};
29390static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0};
29391static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0};
29392static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0};
29393static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0};
29394static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0};
29395static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0};
29396static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0};
29397static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0};
29398static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0};
29399static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0};
29400static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0};
29401static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0};
29402static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0};
29403static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0};
29404static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0};
29405static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0};
29406static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0};
29407static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0};
29408static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, 0};
29409static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, 0};
29410static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, 0};
29411static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0};
29412static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, 0};
29413static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, 0};
29414static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, 0};
29415static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, 0};
29416static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, 0};
29417static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, 0};
29418static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, 0};
29419static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, 0};
29420static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, 0};
29421static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, 0};
29422static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", "wxPrinter *", 0, 0, 0};
29423static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, 0};
29424static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, 0};
29425static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", "wxPyPanel *", 0, 0, 0};
29426static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, 0};
29427static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, 0};
29428static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, 0};
29429static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, 0};
29430static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, 0};
29431static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, 0};
29432static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, 0};
29433static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, 0};
29434static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, 0};
29435static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", "wxPyWindow *", 0, 0, 0};
29436static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, 0};
29437static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, 0};
29438static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, 0};
29439static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", "wxSashEvent *", 0, 0, 0};
29440static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, 0};
29441static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", "wxSashWindow *", 0, 0, 0};
29442static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, 0};
29443static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, 0};
29444static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, 0};
29445static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, 0};
29446static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, 0};
29447static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, 0};
29448static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, 0};
29449static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, 0};
29450static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", "wxStatusBar *", 0, 0, 0};
29451static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, 0};
29452static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, 0};
29453static swig_type_info _swigt__p_wxTaskBarIcon = {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, 0};
29454static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, 0};
29455static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, 0};
29456static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", "wxTipWindow *", 0, 0, 0};
29457static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, 0};
29458static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, 0};
29459static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, 0};
29460static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, 0};
29461static swig_type_info _swigt__ptrdiff_t = {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0};
29462static swig_type_info _swigt__std__ptrdiff_t = {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0};
29463static swig_type_info _swigt__unsigned_int = {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0};
29464
29465static swig_type_info *swig_type_initial[] = {
29466 &_swigt__p_char,
29467 &_swigt__p_form_ops_t,
29468 &_swigt__p_int,
29469 &_swigt__p_unsigned_char,
29470 &_swigt__p_unsigned_int,
29471 &_swigt__p_unsigned_long,
29472 &_swigt__p_wxANIHandler,
29473 &_swigt__p_wxAcceleratorTable,
29474 &_swigt__p_wxActivateEvent,
29475 &_swigt__p_wxArrayInt,
29476 &_swigt__p_wxBMPHandler,
29477 &_swigt__p_wxBitmap,
29478 &_swigt__p_wxBoxSizer,
29479 &_swigt__p_wxCURHandler,
29480 &_swigt__p_wxCalculateLayoutEvent,
29481 &_swigt__p_wxChildFocusEvent,
29482 &_swigt__p_wxCloseEvent,
29483 &_swigt__p_wxColour,
29484 &_swigt__p_wxColourData,
29485 &_swigt__p_wxColourDialog,
29486 &_swigt__p_wxCommandEvent,
29487 &_swigt__p_wxContextMenuEvent,
29488 &_swigt__p_wxControl,
29489 &_swigt__p_wxControlWithItems,
29490 &_swigt__p_wxDC,
29491 &_swigt__p_wxDateEvent,
29492 &_swigt__p_wxDialog,
29493 &_swigt__p_wxDirDialog,
29494 &_swigt__p_wxDisplayChangedEvent,
29495 &_swigt__p_wxDropFilesEvent,
29496 &_swigt__p_wxDuplexMode,
29497 &_swigt__p_wxEraseEvent,
29498 &_swigt__p_wxEvent,
29499 &_swigt__p_wxEvtHandler,
29500 &_swigt__p_wxFSFile,
29501 &_swigt__p_wxFileDialog,
29502 &_swigt__p_wxFileSystem,
29503 &_swigt__p_wxFindDialogEvent,
29504 &_swigt__p_wxFindReplaceData,
29505 &_swigt__p_wxFindReplaceDialog,
29506 &_swigt__p_wxFlexGridSizer,
29507 &_swigt__p_wxFocusEvent,
29508 &_swigt__p_wxFont,
29509 &_swigt__p_wxFontData,
29510 &_swigt__p_wxFontDialog,
29511 &_swigt__p_wxFrame,
29512 &_swigt__p_wxGBSizerItem,
29513 &_swigt__p_wxGIFHandler,
29514 &_swigt__p_wxGridBagSizer,
29515 &_swigt__p_wxGridSizer,
29516 &_swigt__p_wxICOHandler,
29517 &_swigt__p_wxIcon,
29518 &_swigt__p_wxIconBundle,
29519 &_swigt__p_wxIconizeEvent,
29520 &_swigt__p_wxIdleEvent,
29521 &_swigt__p_wxImage,
29522 &_swigt__p_wxImageHandler,
29523 &_swigt__p_wxIndividualLayoutConstraint,
29524 &_swigt__p_wxInitDialogEvent,
29525 &_swigt__p_wxJPEGHandler,
29526 &_swigt__p_wxKeyEvent,
29527 &_swigt__p_wxLayoutAlgorithm,
29528 &_swigt__p_wxLayoutConstraints,
29529 &_swigt__p_wxMDIChildFrame,
29530 &_swigt__p_wxMDIClientWindow,
29531 &_swigt__p_wxMDIParentFrame,
29532 &_swigt__p_wxMaximizeEvent,
29533 &_swigt__p_wxMenu,
29534 &_swigt__p_wxMenuBar,
29535 &_swigt__p_wxMenuEvent,
29536 &_swigt__p_wxMenuItem,
29537 &_swigt__p_wxMessageDialog,
29538 &_swigt__p_wxMiniFrame,
29539 &_swigt__p_wxMouseCaptureChangedEvent,
29540 &_swigt__p_wxMouseEvent,
29541 &_swigt__p_wxMoveEvent,
29542 &_swigt__p_wxMultiChoiceDialog,
29543 &_swigt__p_wxNavigationKeyEvent,
29544 &_swigt__p_wxNcPaintEvent,
29545 &_swigt__p_wxNotifyEvent,
29546 &_swigt__p_wxObject,
29547 &_swigt__p_wxPCXHandler,
29548 &_swigt__p_wxPNGHandler,
29549 &_swigt__p_wxPNMHandler,
29550 &_swigt__p_wxPageSetupDialog,
29551 &_swigt__p_wxPageSetupDialogData,
29552 &_swigt__p_wxPaintEvent,
29553 &_swigt__p_wxPaletteChangedEvent,
29554 &_swigt__p_wxPanel,
29555 &_swigt__p_wxPaperSize,
29556 &_swigt__p_wxPasswordEntryDialog,
29557 &_swigt__p_wxPoint,
29558 &_swigt__p_wxPopupWindow,
29559 &_swigt__p_wxPreviewCanvas,
29560 &_swigt__p_wxPreviewControlBar,
29561 &_swigt__p_wxPreviewFrame,
29562 &_swigt__p_wxPrintData,
29563 &_swigt__p_wxPrintDialog,
29564 &_swigt__p_wxPrintDialogData,
29565 &_swigt__p_wxPrintPreview,
29566 &_swigt__p_wxPrinter,
29567 &_swigt__p_wxProgressDialog,
29568 &_swigt__p_wxPyApp,
29569 &_swigt__p_wxPyCommandEvent,
29570 &_swigt__p_wxPyEvent,
29571 &_swigt__p_wxPyHtmlListBox,
29572 &_swigt__p_wxPyImageHandler,
29573 &_swigt__p_wxPyPanel,
29574 &_swigt__p_wxPyPopupTransientWindow,
29575 &_swigt__p_wxPyPreviewControlBar,
29576 &_swigt__p_wxPyPreviewFrame,
29577 &_swigt__p_wxPyPrintPreview,
29578 &_swigt__p_wxPyPrintout,
29579 &_swigt__p_wxPyScrolledWindow,
29580 &_swigt__p_wxPySizer,
29581 &_swigt__p_wxPyTaskBarIcon,
29582 &_swigt__p_wxPyVListBox,
29583 &_swigt__p_wxPyVScrolledWindow,
29584 &_swigt__p_wxPyValidator,
29585 &_swigt__p_wxPyWindow,
29586 &_swigt__p_wxQueryLayoutInfoEvent,
29587 &_swigt__p_wxQueryNewPaletteEvent,
29588 &_swigt__p_wxRect,
29589 &_swigt__p_wxRegion,
29590 &_swigt__p_wxSashEvent,
29591 &_swigt__p_wxSashLayoutWindow,
29592 &_swigt__p_wxSashWindow,
29593 &_swigt__p_wxScrollEvent,
29594 &_swigt__p_wxScrollWinEvent,
29595 &_swigt__p_wxScrolledWindow,
29596 &_swigt__p_wxSetCursorEvent,
29597 &_swigt__p_wxShowEvent,
29598 &_swigt__p_wxSingleChoiceDialog,
29599 &_swigt__p_wxSize,
29600 &_swigt__p_wxSizeEvent,
29601 &_swigt__p_wxSizer,
29602 &_swigt__p_wxSizerItem,
29603 &_swigt__p_wxSplashScreen,
29604 &_swigt__p_wxSplashScreenWindow,
29605 &_swigt__p_wxSplitterEvent,
29606 &_swigt__p_wxSplitterWindow,
29607 &_swigt__p_wxStaticBoxSizer,
29608 &_swigt__p_wxStatusBar,
29609 &_swigt__p_wxStdDialogButtonSizer,
29610 &_swigt__p_wxString,
29611 &_swigt__p_wxSysColourChangedEvent,
29612 &_swigt__p_wxTIFFHandler,
29613 &_swigt__p_wxTaskBarIcon,
29614 &_swigt__p_wxTaskBarIconEvent,
29615 &_swigt__p_wxTextEntryDialog,
29616 &_swigt__p_wxTipWindow,
29617 &_swigt__p_wxToolBar,
29618 &_swigt__p_wxTopLevelWindow,
29619 &_swigt__p_wxUpdateUIEvent,
29620 &_swigt__p_wxValidator,
29621 &_swigt__p_wxVisualAttributes,
29622 &_swigt__p_wxWindow,
29623 &_swigt__p_wxWindowCreateEvent,
29624 &_swigt__p_wxWindowDestroyEvent,
29625 &_swigt__p_wxXPMHandler,
29626 &_swigt__ptrdiff_t,
29627 &_swigt__std__ptrdiff_t,
29628 &_swigt__unsigned_int,
29629};
29630
29631static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
29632static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
29633static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
29634static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
29635static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
29636static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
29637static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
29638static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
29639static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = { {&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
29640static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
29641static swig_cast_info _swigc__p_wxColourData[] = { {&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
29642static swig_cast_info _swigc__p_wxColourDialog[] = { {&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
29643static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
29644static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
29645static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
29646static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
29647static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
29648static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
29649static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
29650static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
29651static swig_cast_info _swigc__p_wxCommandEvent[] = { {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}};
29652static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
29653static swig_cast_info _swigc__p_wxDialog[] = { {&_swigt__p_wxDialog, 0, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxDialog, 0, 0},{0, 0, 0, 0}};
29654static swig_cast_info _swigc__p_wxDirDialog[] = { {&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
29655static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
29656static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
29657static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
29658static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
29659static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
29660static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
29661static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
29662static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
29663static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
29664static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
29665static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
29666static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
29667static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
29668static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
29669static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
29670static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
29671static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
29672static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
29673static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
29674static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
29675static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
29676static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
29677static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
29678static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
29679static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
29680static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
29681static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
29682static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
29683static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
29684static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
29685static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
29686static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
29687static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
29688static swig_cast_info _swigc__p_wxFileDialog[] = { {&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
29689static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
29690static swig_cast_info _swigc__p_wxFindDialogEvent[] = { {&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
29691static swig_cast_info _swigc__p_wxFindReplaceData[] = { {&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
29692static swig_cast_info _swigc__p_wxFindReplaceDialog[] = { {&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
29693static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
29694static swig_cast_info _swigc__p_wxFontData[] = { {&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
29695static swig_cast_info _swigc__p_wxFontDialog[] = { {&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
29696static swig_cast_info _swigc__p_wxFrame[] = { {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxFrame, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxFrame, 0, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxFrame, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxFrame, 0, 0},{0, 0, 0, 0}};
29697static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
29698static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}};
29699static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = { {&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
29700static swig_cast_info _swigc__p_wxMDIChildFrame[] = { {&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
29701static swig_cast_info _swigc__p_wxMDIClientWindow[] = { {&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
29702static swig_cast_info _swigc__p_wxMDIParentFrame[] = { {&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
29703static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
29704static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
29705static swig_cast_info _swigc__p_wxMessageDialog[] = { {&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
29706static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
29707static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = { {&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
29708static swig_cast_info _swigc__p_wxNotifyEvent[] = { {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}};
29709static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
29710static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
29711static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
29712static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
29713static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
29714static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
29715static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
29716static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
29717static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
29718static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
29719static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
29720static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
29721static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
29722static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
29723static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
29724static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
29725static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
29726static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
29727static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
29728static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
29729static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
29730static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
29731static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
29732static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
29733static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
29734static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
29735static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
29736static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
29737static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
29738static swig_cast_info _swigc__p_wxPageSetupDialog[] = { {&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
29739static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
29740static swig_cast_info _swigc__p_wxPanel[] = { {&_swigt__p_wxPanel, 0, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0},{0, 0, 0, 0}};
29741static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
29742static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = { {&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
29743static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
29744static swig_cast_info _swigc__p_wxPopupWindow[] = { {&_swigt__p_wxPopupWindow, 0, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxPopupWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxPopupWindow, 0, 0},{0, 0, 0, 0}};
29745static swig_cast_info _swigc__p_wxPreviewCanvas[] = { {&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
29746static swig_cast_info _swigc__p_wxPreviewControlBar[] = { {&_swigt__p_wxPreviewControlBar, 0, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxPreviewControlBar, 0, 0},{0, 0, 0, 0}};
29747static swig_cast_info _swigc__p_wxPreviewFrame[] = { {&_swigt__p_wxPreviewFrame, 0, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxPreviewFrame, 0, 0},{0, 0, 0, 0}};
29748static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
29749static swig_cast_info _swigc__p_wxPrintDialog[] = { {&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
29750static swig_cast_info _swigc__p_wxPrintDialogData[] = { {&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
29751static swig_cast_info _swigc__p_wxPrintPreview[] = { {&_swigt__p_wxPrintPreview, 0, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxPrintPreview, 0, 0},{0, 0, 0, 0}};
29752static swig_cast_info _swigc__p_wxPrinter[] = { {&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
29753static swig_cast_info _swigc__p_wxProgressDialog[] = { {&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
29754static swig_cast_info _swigc__p_wxPyHtmlListBox[] = { {&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
29755static swig_cast_info _swigc__p_wxPyPanel[] = { {&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
29756static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = { {&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxPyPopupTransientWindow, 0, 0},{0, 0, 0, 0}};
29757static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = { {&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
29758static swig_cast_info _swigc__p_wxPyPreviewFrame[] = { {&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
29759static swig_cast_info _swigc__p_wxPyPrintPreview[] = { {&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
29760static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
29761static swig_cast_info _swigc__p_wxPyScrolledWindow[] = { {&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
29762static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = { {&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
29763static swig_cast_info _swigc__p_wxPyVListBox[] = { {&_swigt__p_wxPyVListBox, 0, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPyVListBox, 0, 0},{0, 0, 0, 0}};
29764static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = { {&_swigt__p_wxPyVScrolledWindow, 0, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxPyVScrolledWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow, 0, 0},{0, 0, 0, 0}};
29765static swig_cast_info _swigc__p_wxPyWindow[] = { {&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
29766static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = { {&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
29767static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
29768static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}};
29769static swig_cast_info _swigc__p_wxSashEvent[] = { {&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
29770static swig_cast_info _swigc__p_wxSashLayoutWindow[] = { {&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
29771static swig_cast_info _swigc__p_wxSashWindow[] = { {&_swigt__p_wxSashWindow, 0, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxSashWindow, 0, 0},{0, 0, 0, 0}};
29772static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
29773static swig_cast_info _swigc__p_wxScrolledWindow[] = { {&_swigt__p_wxScrolledWindow, 0, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxScrolledWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxScrolledWindow, 0, 0},{0, 0, 0, 0}};
29774static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = { {&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
29775static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
29776static swig_cast_info _swigc__p_wxSplashScreen[] = { {&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
29777static swig_cast_info _swigc__p_wxSplashScreenWindow[] = { {&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
29778static swig_cast_info _swigc__p_wxSplitterEvent[] = { {&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
29779static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
29780static swig_cast_info _swigc__p_wxStatusBar[] = { {&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
29781static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
29782static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
29783static swig_cast_info _swigc__p_wxTaskBarIcon[] = { {&_swigt__p_wxTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
29784static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = { {&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
29785static swig_cast_info _swigc__p_wxTextEntryDialog[] = { {&_swigt__p_wxTextEntryDialog, 0, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxTextEntryDialog, 0, 0},{0, 0, 0, 0}};
29786static swig_cast_info _swigc__p_wxTipWindow[] = { {&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
29787static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
29788static swig_cast_info _swigc__p_wxTopLevelWindow[] = { {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0},{0, 0, 0, 0}};
29789static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
29790static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
29791static swig_cast_info _swigc__ptrdiff_t[] = { {&_swigt__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
29792static swig_cast_info _swigc__std__ptrdiff_t[] = { {&_swigt__std__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
29793static swig_cast_info _swigc__unsigned_int[] = { {&_swigt__unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
29794
29795static swig_cast_info *swig_cast_initial[] = {
29796 _swigc__p_char,
29797 _swigc__p_form_ops_t,
29798 _swigc__p_int,
29799 _swigc__p_unsigned_char,
29800 _swigc__p_unsigned_int,
29801 _swigc__p_unsigned_long,
29802 _swigc__p_wxANIHandler,
29803 _swigc__p_wxAcceleratorTable,
29804 _swigc__p_wxActivateEvent,
29805 _swigc__p_wxArrayInt,
29806 _swigc__p_wxBMPHandler,
29807 _swigc__p_wxBitmap,
29808 _swigc__p_wxBoxSizer,
29809 _swigc__p_wxCURHandler,
29810 _swigc__p_wxCalculateLayoutEvent,
29811 _swigc__p_wxChildFocusEvent,
29812 _swigc__p_wxCloseEvent,
29813 _swigc__p_wxColour,
29814 _swigc__p_wxColourData,
29815 _swigc__p_wxColourDialog,
29816 _swigc__p_wxCommandEvent,
29817 _swigc__p_wxContextMenuEvent,
29818 _swigc__p_wxControl,
29819 _swigc__p_wxControlWithItems,
29820 _swigc__p_wxDC,
29821 _swigc__p_wxDateEvent,
29822 _swigc__p_wxDialog,
29823 _swigc__p_wxDirDialog,
29824 _swigc__p_wxDisplayChangedEvent,
29825 _swigc__p_wxDropFilesEvent,
29826 _swigc__p_wxDuplexMode,
29827 _swigc__p_wxEraseEvent,
29828 _swigc__p_wxEvent,
29829 _swigc__p_wxEvtHandler,
29830 _swigc__p_wxFSFile,
29831 _swigc__p_wxFileDialog,
29832 _swigc__p_wxFileSystem,
29833 _swigc__p_wxFindDialogEvent,
29834 _swigc__p_wxFindReplaceData,
29835 _swigc__p_wxFindReplaceDialog,
29836 _swigc__p_wxFlexGridSizer,
29837 _swigc__p_wxFocusEvent,
29838 _swigc__p_wxFont,
29839 _swigc__p_wxFontData,
29840 _swigc__p_wxFontDialog,
29841 _swigc__p_wxFrame,
29842 _swigc__p_wxGBSizerItem,
29843 _swigc__p_wxGIFHandler,
29844 _swigc__p_wxGridBagSizer,
29845 _swigc__p_wxGridSizer,
29846 _swigc__p_wxICOHandler,
29847 _swigc__p_wxIcon,
29848 _swigc__p_wxIconBundle,
29849 _swigc__p_wxIconizeEvent,
29850 _swigc__p_wxIdleEvent,
29851 _swigc__p_wxImage,
29852 _swigc__p_wxImageHandler,
29853 _swigc__p_wxIndividualLayoutConstraint,
29854 _swigc__p_wxInitDialogEvent,
29855 _swigc__p_wxJPEGHandler,
29856 _swigc__p_wxKeyEvent,
29857 _swigc__p_wxLayoutAlgorithm,
29858 _swigc__p_wxLayoutConstraints,
29859 _swigc__p_wxMDIChildFrame,
29860 _swigc__p_wxMDIClientWindow,
29861 _swigc__p_wxMDIParentFrame,
29862 _swigc__p_wxMaximizeEvent,
29863 _swigc__p_wxMenu,
29864 _swigc__p_wxMenuBar,
29865 _swigc__p_wxMenuEvent,
29866 _swigc__p_wxMenuItem,
29867 _swigc__p_wxMessageDialog,
29868 _swigc__p_wxMiniFrame,
29869 _swigc__p_wxMouseCaptureChangedEvent,
29870 _swigc__p_wxMouseEvent,
29871 _swigc__p_wxMoveEvent,
29872 _swigc__p_wxMultiChoiceDialog,
29873 _swigc__p_wxNavigationKeyEvent,
29874 _swigc__p_wxNcPaintEvent,
29875 _swigc__p_wxNotifyEvent,
29876 _swigc__p_wxObject,
29877 _swigc__p_wxPCXHandler,
29878 _swigc__p_wxPNGHandler,
29879 _swigc__p_wxPNMHandler,
29880 _swigc__p_wxPageSetupDialog,
29881 _swigc__p_wxPageSetupDialogData,
29882 _swigc__p_wxPaintEvent,
29883 _swigc__p_wxPaletteChangedEvent,
29884 _swigc__p_wxPanel,
29885 _swigc__p_wxPaperSize,
29886 _swigc__p_wxPasswordEntryDialog,
29887 _swigc__p_wxPoint,
29888 _swigc__p_wxPopupWindow,
29889 _swigc__p_wxPreviewCanvas,
29890 _swigc__p_wxPreviewControlBar,
29891 _swigc__p_wxPreviewFrame,
29892 _swigc__p_wxPrintData,
29893 _swigc__p_wxPrintDialog,
29894 _swigc__p_wxPrintDialogData,
29895 _swigc__p_wxPrintPreview,
29896 _swigc__p_wxPrinter,
29897 _swigc__p_wxProgressDialog,
29898 _swigc__p_wxPyApp,
29899 _swigc__p_wxPyCommandEvent,
29900 _swigc__p_wxPyEvent,
29901 _swigc__p_wxPyHtmlListBox,
29902 _swigc__p_wxPyImageHandler,
29903 _swigc__p_wxPyPanel,
29904 _swigc__p_wxPyPopupTransientWindow,
29905 _swigc__p_wxPyPreviewControlBar,
29906 _swigc__p_wxPyPreviewFrame,
29907 _swigc__p_wxPyPrintPreview,
29908 _swigc__p_wxPyPrintout,
29909 _swigc__p_wxPyScrolledWindow,
29910 _swigc__p_wxPySizer,
29911 _swigc__p_wxPyTaskBarIcon,
29912 _swigc__p_wxPyVListBox,
29913 _swigc__p_wxPyVScrolledWindow,
29914 _swigc__p_wxPyValidator,
29915 _swigc__p_wxPyWindow,
29916 _swigc__p_wxQueryLayoutInfoEvent,
29917 _swigc__p_wxQueryNewPaletteEvent,
29918 _swigc__p_wxRect,
29919 _swigc__p_wxRegion,
29920 _swigc__p_wxSashEvent,
29921 _swigc__p_wxSashLayoutWindow,
29922 _swigc__p_wxSashWindow,
29923 _swigc__p_wxScrollEvent,
29924 _swigc__p_wxScrollWinEvent,
29925 _swigc__p_wxScrolledWindow,
29926 _swigc__p_wxSetCursorEvent,
29927 _swigc__p_wxShowEvent,
29928 _swigc__p_wxSingleChoiceDialog,
29929 _swigc__p_wxSize,
29930 _swigc__p_wxSizeEvent,
29931 _swigc__p_wxSizer,
29932 _swigc__p_wxSizerItem,
29933 _swigc__p_wxSplashScreen,
29934 _swigc__p_wxSplashScreenWindow,
29935 _swigc__p_wxSplitterEvent,
29936 _swigc__p_wxSplitterWindow,
29937 _swigc__p_wxStaticBoxSizer,
29938 _swigc__p_wxStatusBar,
29939 _swigc__p_wxStdDialogButtonSizer,
29940 _swigc__p_wxString,
29941 _swigc__p_wxSysColourChangedEvent,
29942 _swigc__p_wxTIFFHandler,
29943 _swigc__p_wxTaskBarIcon,
29944 _swigc__p_wxTaskBarIconEvent,
29945 _swigc__p_wxTextEntryDialog,
29946 _swigc__p_wxTipWindow,
29947 _swigc__p_wxToolBar,
29948 _swigc__p_wxTopLevelWindow,
29949 _swigc__p_wxUpdateUIEvent,
29950 _swigc__p_wxValidator,
29951 _swigc__p_wxVisualAttributes,
29952 _swigc__p_wxWindow,
29953 _swigc__p_wxWindowCreateEvent,
29954 _swigc__p_wxWindowDestroyEvent,
29955 _swigc__p_wxXPMHandler,
29956 _swigc__ptrdiff_t,
29957 _swigc__std__ptrdiff_t,
29958 _swigc__unsigned_int,
d14a1e28
RD
29959};
29960
29961
29962/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29963
29964static swig_const_info swig_const_table[] = {
c32bde28 29965{0, 0, 0, 0.0, 0, 0}};
d14a1e28
RD
29966
29967#ifdef __cplusplus
29968}
29969#endif
32fe5131
RD
29970/*************************************************************************
29971 * Type initialization:
29972 * This problem is tough by the requirement that no dynamic
29973 * memory is used. Also, since swig_type_info structures store pointers to
29974 * swig_cast_info structures and swig_cast_info structures store pointers back
29975 * to swig_type_info structures, we need some lookup code at initialization.
29976 * The idea is that swig generates all the structures that are needed.
29977 * The runtime then collects these partially filled structures.
29978 * The SWIG_InitializeModule function takes these initial arrays out of
29979 * swig_module, and does all the lookup, filling in the swig_module.types
29980 * array with the correct data and linking the correct swig_cast_info
29981 * structures together.
29982
29983 * The generated swig_type_info structures are assigned staticly to an initial
29984 * array. We just loop though that array, and handle each type individually.
29985 * First we lookup if this type has been already loaded, and if so, use the
29986 * loaded structure instead of the generated one. Then we have to fill in the
29987 * cast linked list. The cast data is initially stored in something like a
29988 * two-dimensional array. Each row corresponds to a type (there are the same
29989 * number of rows as there are in the swig_type_initial array). Each entry in
29990 * a column is one of the swig_cast_info structures for that type.
29991 * The cast_initial array is actually an array of arrays, because each row has
29992 * a variable number of columns. So to actually build the cast linked list,
29993 * we find the array of casts associated with the type, and loop through it
29994 * adding the casts to the list. The one last trick we need to do is making
29995 * sure the type pointer in the swig_cast_info struct is correct.
29996
29997 * First off, we lookup the cast->type name to see if it is already loaded.
29998 * There are three cases to handle:
29999 * 1) If the cast->type has already been loaded AND the type we are adding
30000 * casting info to has not been loaded (it is in this module), THEN we
30001 * replace the cast->type pointer with the type pointer that has already
30002 * been loaded.
30003 * 2) If BOTH types (the one we are adding casting info to, and the
30004 * cast->type) are loaded, THEN the cast info has already been loaded by
30005 * the previous module so we just ignore it.
30006 * 3) Finally, if cast->type has not already been loaded, then we add that
30007 * swig_cast_info to the linked list (because the cast->type) pointer will
30008 * be correct.
30009**/
30010
30011#ifdef __cplusplus
30012extern "C" {
30013#if 0
30014} /* c-mode */
30015#endif
30016#endif
30017
30018#if 0
30019#define SWIGRUNTIME_DEBUG
30020#endif
30021
30022SWIGRUNTIME void
30023SWIG_InitializeModule(void *clientdata) {
30024 size_t i;
30025 swig_module_info *module_head;
30026 static int init_run = 0;
30027
30028 clientdata = clientdata;
30029
30030 if (init_run) return;
30031 init_run = 1;
30032
30033 /* Initialize the swig_module */
30034 swig_module.type_initial = swig_type_initial;
30035 swig_module.cast_initial = swig_cast_initial;
30036
30037 /* Try and load any already created modules */
30038 module_head = SWIG_GetModule(clientdata);
30039 if (module_head) {
30040 swig_module.next = module_head->next;
30041 module_head->next = &swig_module;
30042 } else {
30043 /* This is the first module loaded */
30044 swig_module.next = &swig_module;
30045 SWIG_SetModule(clientdata, &swig_module);
30046 }
30047
30048 /* Now work on filling in swig_module.types */
30049#ifdef SWIGRUNTIME_DEBUG
30050 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
30051#endif
30052 for (i = 0; i < swig_module.size; ++i) {
30053 swig_type_info *type = 0;
30054 swig_type_info *ret;
30055 swig_cast_info *cast;
30056
30057#ifdef SWIGRUNTIME_DEBUG
30058 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
30059#endif
30060
30061 /* if there is another module already loaded */
30062 if (swig_module.next != &swig_module) {
30063 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
30064 }
30065 if (type) {
30066 /* Overwrite clientdata field */
30067#ifdef SWIGRUNTIME_DEBUG
30068 printf("SWIG_InitializeModule: found type %s\n", type->name);
30069#endif
30070 if (swig_module.type_initial[i]->clientdata) {
30071 type->clientdata = swig_module.type_initial[i]->clientdata;
30072#ifdef SWIGRUNTIME_DEBUG
30073 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
30074#endif
30075 }
30076 } else {
30077 type = swig_module.type_initial[i];
30078 }
30079
30080 /* Insert casting types */
30081 cast = swig_module.cast_initial[i];
30082 while (cast->type) {
30083 /* Don't need to add information already in the list */
30084 ret = 0;
30085#ifdef SWIGRUNTIME_DEBUG
30086 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
30087#endif
30088 if (swig_module.next != &swig_module) {
30089 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
30090#ifdef SWIGRUNTIME_DEBUG
30091 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
30092#endif
30093 }
30094 if (ret) {
30095 if (type == swig_module.type_initial[i]) {
30096#ifdef SWIGRUNTIME_DEBUG
30097 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
30098#endif
30099 cast->type = ret;
30100 ret = 0;
30101 } else {
30102 /* Check for casting already in the list */
30103 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
30104#ifdef SWIGRUNTIME_DEBUG
30105 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
30106#endif
30107 if (!ocast) ret = 0;
30108 }
30109 }
30110
30111 if (!ret) {
30112#ifdef SWIGRUNTIME_DEBUG
30113 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
30114#endif
30115 if (type->cast) {
30116 type->cast->prev = cast;
30117 cast->next = type->cast;
30118 }
30119 type->cast = cast;
30120 }
30121 cast++;
30122 }
30123 /* Set entry in modules->types array equal to the type */
30124 swig_module.types[i] = type;
30125 }
30126 swig_module.types[i] = 0;
30127
30128#ifdef SWIGRUNTIME_DEBUG
30129 printf("**** SWIG_InitializeModule: Cast List ******\n");
30130 for (i = 0; i < swig_module.size; ++i) {
30131 int j = 0;
30132 swig_cast_info *cast = swig_module.cast_initial[i];
30133 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
30134 while (cast->type) {
30135 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
30136 cast++;
30137 ++j;
30138 }
30139 printf("---- Total casts: %d\n",j);
30140 }
30141 printf("**** SWIG_InitializeModule: Cast List ******\n");
30142#endif
30143}
30144
30145/* This function will propagate the clientdata field of type to
30146* any new swig_type_info structures that have been added into the list
30147* of equivalent types. It is like calling
30148* SWIG_TypeClientData(type, clientdata) a second time.
30149*/
30150SWIGRUNTIME void
30151SWIG_PropagateClientData(void) {
30152 size_t i;
30153 swig_cast_info *equiv;
30154 static int init_run = 0;
30155
30156 if (init_run) return;
30157 init_run = 1;
30158
30159 for (i = 0; i < swig_module.size; i++) {
30160 if (swig_module.types[i]->clientdata) {
30161 equiv = swig_module.types[i]->cast;
30162 while (equiv) {
30163 if (!equiv->converter) {
30164 if (equiv->type && !equiv->type->clientdata)
30165 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
30166 }
30167 equiv = equiv->next;
30168 }
30169 }
30170 }
30171}
30172
30173#ifdef __cplusplus
30174#if 0
30175{
30176 /* c-mode */
30177#endif
30178}
30179#endif
30180
d14a1e28 30181
093d3ff1
RD
30182
30183#ifdef __cplusplus
30184extern "C" {
30185#endif
30186
30187 /* Python-specific SWIG API */
30188#define SWIG_newvarlink() SWIG_Python_newvarlink()
30189#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
30190#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
30191
30192 /* -----------------------------------------------------------------------------
30193 * global variable support code.
30194 * ----------------------------------------------------------------------------- */
30195
30196 typedef struct swig_globalvar {
30197 char *name; /* Name of global variable */
32fe5131 30198 PyObject *(*get_attr)(void); /* Return the current value */
093d3ff1
RD
30199 int (*set_attr)(PyObject *); /* Set the value */
30200 struct swig_globalvar *next;
30201 } swig_globalvar;
30202
30203 typedef struct swig_varlinkobject {
30204 PyObject_HEAD
30205 swig_globalvar *vars;
30206 } swig_varlinkobject;
30207
32fe5131 30208 SWIGINTERN PyObject *
093d3ff1
RD
30209 swig_varlink_repr(swig_varlinkobject *v) {
30210 v = v;
30211 return PyString_FromString("<Swig global variables>");
30212 }
30213
32fe5131 30214 SWIGINTERN int
093d3ff1
RD
30215 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
30216 swig_globalvar *var;
30217 flags = flags;
30218 fprintf(fp,"Swig global variables { ");
30219 for (var = v->vars; var; var=var->next) {
30220 fprintf(fp,"%s", var->name);
30221 if (var->next) fprintf(fp,", ");
30222 }
30223 fprintf(fp," }\n");
30224 return 0;
30225 }
30226
32fe5131 30227 SWIGINTERN PyObject *
093d3ff1
RD
30228 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
30229 swig_globalvar *var = v->vars;
30230 while (var) {
30231 if (strcmp(var->name,n) == 0) {
30232 return (*var->get_attr)();
30233 }
30234 var = var->next;
30235 }
30236 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
30237 return NULL;
30238 }
30239
32fe5131 30240 SWIGINTERN int
093d3ff1
RD
30241 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
30242 swig_globalvar *var = v->vars;
30243 while (var) {
30244 if (strcmp(var->name,n) == 0) {
30245 return (*var->set_attr)(p);
30246 }
30247 var = var->next;
30248 }
30249 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
30250 return 1;
30251 }
30252
32fe5131
RD
30253 SWIGINTERN PyTypeObject*
30254 swig_varlink_type(void) {
30255 static char varlink__doc__[] = "Swig var link object";
30256 static PyTypeObject varlink_type
30257#if !defined(__cplusplus)
30258 ;
30259 static int type_init = 0;
30260 if (!type_init) {
30261 PyTypeObject tmp
30262#endif
30263 = {
30264 PyObject_HEAD_INIT(&PyType_Type)
30265 0, /* Number of items in variable part (ob_size) */
30266 (char *)"swigvarlink", /* Type name (tp_name) */
30267 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
30268 0, /* Itemsize (tp_itemsize) */
30269 0, /* Deallocator (tp_dealloc) */
30270 (printfunc) swig_varlink_print, /* Print (tp_print) */
30271 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
30272 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
30273 0, /* tp_compare */
30274 (reprfunc) swig_varlink_repr, /* tp_repr */
30275 0, /* tp_as_number */
30276 0, /* tp_as_sequence */
30277 0, /* tp_as_mapping */
30278 0, /* tp_hash */
30279 0, /* tp_call */
30280 0, /* tp_str */
30281 0, /* tp_getattro */
30282 0, /* tp_setattro */
30283 0, /* tp_as_buffer */
30284 0, /* tp_flags */
30285 varlink__doc__, /* tp_doc */
093d3ff1 30286#if PY_VERSION_HEX >= 0x02000000
32fe5131
RD
30287 0, /* tp_traverse */
30288 0, /* tp_clear */
093d3ff1
RD
30289#endif
30290#if PY_VERSION_HEX >= 0x02010000
32fe5131
RD
30291 0, /* tp_richcompare */
30292 0, /* tp_weaklistoffset */
093d3ff1
RD
30293#endif
30294#if PY_VERSION_HEX >= 0x02020000
32fe5131 30295 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
093d3ff1
RD
30296#endif
30297#if PY_VERSION_HEX >= 0x02030000
32fe5131 30298 0, /* tp_del */
093d3ff1
RD
30299#endif
30300#ifdef COUNT_ALLOCS
32fe5131 30301 0,0,0,0 /* tp_alloc -> tp_next */
093d3ff1 30302#endif
32fe5131
RD
30303 };
30304#if !defined(__cplusplus)
30305 varlink_type = tmp;
30306 type_init = 1;
30307 }
30308#endif
30309 return &varlink_type;
30310 }
093d3ff1
RD
30311
30312 /* Create a variable linking object for use later */
32fe5131 30313 SWIGINTERN PyObject *
093d3ff1 30314 SWIG_Python_newvarlink(void) {
32fe5131
RD
30315 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
30316 if (result) {
30317 result->vars = 0;
30318 }
093d3ff1
RD
30319 return ((PyObject*) result);
30320 }
30321
32fe5131 30322 SWIGINTERN void
093d3ff1 30323 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
32fe5131
RD
30324 swig_varlinkobject *v = (swig_varlinkobject *) p;
30325 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
30326 if (gv) {
30327 size_t size = strlen(name)+1;
30328 gv->name = (char *)malloc(size);
30329 if (gv->name) {
30330 strncpy(gv->name,name,size);
30331 gv->get_attr = get_attr;
30332 gv->set_attr = set_attr;
30333 gv->next = v->vars;
30334 }
30335 }
093d3ff1
RD
30336 v->vars = gv;
30337 }
30338
30339 /* -----------------------------------------------------------------------------
30340 * constants/methods manipulation
30341 * ----------------------------------------------------------------------------- */
30342
30343 /* Install Constants */
32fe5131 30344 SWIGINTERN void
093d3ff1
RD
30345 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
30346 PyObject *obj = 0;
30347 size_t i;
32fe5131 30348 for (i = 0; constants[i].type; ++i) {
093d3ff1
RD
30349 switch(constants[i].type) {
30350 case SWIG_PY_INT:
30351 obj = PyInt_FromLong(constants[i].lvalue);
30352 break;
30353 case SWIG_PY_FLOAT:
30354 obj = PyFloat_FromDouble(constants[i].dvalue);
30355 break;
30356 case SWIG_PY_STRING:
30357 if (constants[i].pvalue) {
30358 obj = PyString_FromString((char *) constants[i].pvalue);
30359 } else {
30360 Py_INCREF(Py_None);
30361 obj = Py_None;
30362 }
30363 break;
30364 case SWIG_PY_POINTER:
30365 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
30366 break;
30367 case SWIG_PY_BINARY:
30368 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
30369 break;
30370 default:
30371 obj = 0;
30372 break;
30373 }
30374 if (obj) {
30375 PyDict_SetItemString(d,constants[i].name,obj);
30376 Py_DECREF(obj);
30377 }
30378 }
30379 }
30380
30381 /* -----------------------------------------------------------------------------*/
30382 /* Fix SwigMethods to carry the callback ptrs when needed */
30383 /* -----------------------------------------------------------------------------*/
30384
32fe5131 30385 SWIGINTERN void
093d3ff1
RD
30386 SWIG_Python_FixMethods(PyMethodDef *methods,
30387 swig_const_info *const_table,
30388 swig_type_info **types,
30389 swig_type_info **types_initial) {
30390 size_t i;
30391 for (i = 0; methods[i].ml_name; ++i) {
30392 char *c = methods[i].ml_doc;
30393 if (c && (c = strstr(c, "swig_ptr: "))) {
30394 int j;
30395 swig_const_info *ci = 0;
30396 char *name = c + 10;
32fe5131 30397 for (j = 0; const_table[j].type; ++j) {
093d3ff1
RD
30398 if (strncmp(const_table[j].name, name,
30399 strlen(const_table[j].name)) == 0) {
30400 ci = &(const_table[j]);
30401 break;
30402 }
30403 }
30404 if (ci) {
30405 size_t shift = (ci->ptype) - types;
30406 swig_type_info *ty = types_initial[shift];
30407 size_t ldoc = (c - methods[i].ml_doc);
30408 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
30409 char *ndoc = (char*)malloc(ldoc + lptr + 10);
32fe5131
RD
30410 if (ndoc) {
30411 char *buff = ndoc;
30412 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
30413 if (ptr) {
30414 strncpy(buff, methods[i].ml_doc, ldoc);
30415 buff += ldoc;
30416 strncpy(buff, "swig_ptr: ", 10);
30417 buff += 10;
30418 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
30419 methods[i].ml_doc = ndoc;
30420 }
30421 }
093d3ff1
RD
30422 }
30423 }
30424 }
30425 }
30426
30427 /* -----------------------------------------------------------------------------*
30428 * Initialize type list
30429 * -----------------------------------------------------------------------------*/
30430
093d3ff1
RD
30431#ifdef __cplusplus
30432}
30433#endif
30434
30435/* -----------------------------------------------------------------------------*
30436 * Partial Init method
30437 * -----------------------------------------------------------------------------*/
30438
d14a1e28
RD
30439#ifdef __cplusplus
30440extern "C"
30441#endif
32fe5131 30442SWIGEXPORT void SWIG_init(void) {
d14a1e28 30443 static PyObject *SWIG_globals = 0;
d14a1e28 30444 PyObject *m, *d;
d14a1e28 30445 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
093d3ff1
RD
30446
30447 /* Fix SwigMethods to carry the callback ptrs when needed */
32fe5131 30448 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
093d3ff1 30449
d14a1e28
RD
30450 m = Py_InitModule((char *) SWIG_name, SwigMethods);
30451 d = PyModule_GetDict(m);
30452
32fe5131 30453 SWIG_InitializeModule(0);
093d3ff1
RD
30454 SWIG_InstallConstants(d,swig_const_table);
30455
30456 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
30457 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
30458 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
30459 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
30460 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
30461 {
32fe5131
RD
30462 PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_From_int(static_cast<int >(wxSTAY_ON_TOP)));
30463 }
30464 {
30465 PyDict_SetItemString(d,"ICONIZE", SWIG_From_int(static_cast<int >(wxICONIZE)));
093d3ff1
RD
30466 }
30467 {
32fe5131 30468 PyDict_SetItemString(d,"MINIMIZE", SWIG_From_int(static_cast<int >(wxMINIMIZE)));
093d3ff1
RD
30469 }
30470 {
32fe5131 30471 PyDict_SetItemString(d,"MAXIMIZE", SWIG_From_int(static_cast<int >(wxMAXIMIZE)));
093d3ff1
RD
30472 }
30473 {
32fe5131 30474 PyDict_SetItemString(d,"CLOSE_BOX", SWIG_From_int(static_cast<int >(wxCLOSE_BOX)));
093d3ff1
RD
30475 }
30476 {
32fe5131 30477 PyDict_SetItemString(d,"THICK_FRAME", SWIG_From_int(static_cast<int >(wxTHICK_FRAME)));
093d3ff1
RD
30478 }
30479 {
32fe5131 30480 PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_From_int(static_cast<int >(wxSYSTEM_MENU)));
093d3ff1
RD
30481 }
30482 {
32fe5131 30483 PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_From_int(static_cast<int >(wxMINIMIZE_BOX)));
093d3ff1
RD
30484 }
30485 {
32fe5131 30486 PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_From_int(static_cast<int >(wxMAXIMIZE_BOX)));
093d3ff1
RD
30487 }
30488 {
32fe5131 30489 PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_From_int(static_cast<int >(wxTINY_CAPTION_HORIZ)));
093d3ff1
RD
30490 }
30491 {
32fe5131 30492 PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_From_int(static_cast<int >(wxTINY_CAPTION_VERT)));
093d3ff1
RD
30493 }
30494 {
32fe5131 30495 PyDict_SetItemString(d,"RESIZE_BOX", SWIG_From_int(static_cast<int >(wxRESIZE_BOX)));
093d3ff1
RD
30496 }
30497 {
32fe5131 30498 PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_From_int(static_cast<int >(wxRESIZE_BORDER)));
093d3ff1
RD
30499 }
30500 {
32fe5131 30501 PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_From_int(static_cast<int >(wxDIALOG_NO_PARENT)));
093d3ff1
RD
30502 }
30503 {
32fe5131 30504 PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_From_int(static_cast<int >(wxDEFAULT_FRAME_STYLE)));
093d3ff1
RD
30505 }
30506 {
32fe5131 30507 PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_From_int(static_cast<int >(wxDEFAULT_DIALOG_STYLE)));
093d3ff1
RD
30508 }
30509 {
32fe5131 30510 PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_From_int(static_cast<int >(wxFRAME_TOOL_WINDOW)));
093d3ff1
RD
30511 }
30512 {
32fe5131 30513 PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_From_int(static_cast<int >(wxFRAME_FLOAT_ON_PARENT)));
093d3ff1
RD
30514 }
30515 {
32fe5131 30516 PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_From_int(static_cast<int >(wxFRAME_NO_WINDOW_MENU)));
093d3ff1
RD
30517 }
30518 {
32fe5131 30519 PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_From_int(static_cast<int >(wxFRAME_NO_TASKBAR)));
093d3ff1
RD
30520 }
30521 {
32fe5131 30522 PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_From_int(static_cast<int >(wxFRAME_SHAPED)));
093d3ff1
RD
30523 }
30524 {
32fe5131 30525 PyDict_SetItemString(d,"FRAME_DRAWER", SWIG_From_int(static_cast<int >(wxFRAME_DRAWER)));
093d3ff1
RD
30526 }
30527 {
32fe5131 30528 PyDict_SetItemString(d,"FRAME_EX_METAL", SWIG_From_int(static_cast<int >(wxFRAME_EX_METAL)));
093d3ff1 30529 }
8f4d7c19 30530 {
32fe5131 30531 PyDict_SetItemString(d,"DIALOG_EX_METAL", SWIG_From_int(static_cast<int >(wxDIALOG_EX_METAL)));
8f4d7c19
RD
30532 }
30533 {
32fe5131 30534 PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_From_int(static_cast<int >(wxDIALOG_MODAL)));
8f4d7c19 30535 }
093d3ff1 30536 {
32fe5131 30537 PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_From_int(static_cast<int >(wxDIALOG_MODELESS)));
093d3ff1
RD
30538 }
30539 {
32fe5131 30540 PyDict_SetItemString(d,"USER_COLOURS", SWIG_From_int(static_cast<int >(wxUSER_COLOURS)));
093d3ff1
RD
30541 }
30542 {
32fe5131 30543 PyDict_SetItemString(d,"NO_3D", SWIG_From_int(static_cast<int >(wxNO_3D)));
093d3ff1
RD
30544 }
30545 {
32fe5131 30546 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOMENUBAR)));
093d3ff1
RD
30547 }
30548 {
32fe5131 30549 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOTOOLBAR)));
093d3ff1
RD
30550 }
30551 {
32fe5131 30552 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOSTATUSBAR)));
093d3ff1
RD
30553 }
30554 {
32fe5131 30555 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOBORDER)));
093d3ff1
RD
30556 }
30557 {
32fe5131 30558 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOCAPTION)));
093d3ff1
RD
30559 }
30560 {
32fe5131 30561 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_From_int(static_cast<int >(wxFULLSCREEN_ALL)));
093d3ff1
RD
30562 }
30563 {
32fe5131 30564 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_From_int(static_cast<int >(wxTOPLEVEL_EX_DIALOG)));
093d3ff1
RD
30565 }
30566 {
32fe5131 30567 PyDict_SetItemString(d,"USER_ATTENTION_INFO", SWIG_From_int(static_cast<int >(wxUSER_ATTENTION_INFO)));
093d3ff1
RD
30568 }
30569 {
32fe5131 30570 PyDict_SetItemString(d,"USER_ATTENTION_ERROR", SWIG_From_int(static_cast<int >(wxUSER_ATTENTION_ERROR)));
093d3ff1
RD
30571 }
30572 {
32fe5131 30573 PyDict_SetItemString(d,"Dialog_ButtonSizerFlags", SWIG_From_int(static_cast<int >(wxDialog::ButtonSizerFlags)));
093d3ff1
RD
30574 }
30575 {
32fe5131 30576 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int(static_cast<int >(wxSPLASH_CENTRE_ON_PARENT)));
093d3ff1
RD
30577 }
30578 {
32fe5131 30579 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int(static_cast<int >(wxSPLASH_CENTRE_ON_SCREEN)));
093d3ff1
RD
30580 }
30581 {
32fe5131 30582 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_From_int(static_cast<int >(wxSPLASH_NO_CENTRE)));
093d3ff1
RD
30583 }
30584 {
32fe5131 30585 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_From_int(static_cast<int >(wxSPLASH_TIMEOUT)));
093d3ff1
RD
30586 }
30587 {
32fe5131 30588 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_From_int(static_cast<int >(wxSPLASH_NO_TIMEOUT)));
093d3ff1
RD
30589 }
30590 {
32fe5131 30591 PyDict_SetItemString(d,"SB_NORMAL", SWIG_From_int(static_cast<int >(wxSB_NORMAL)));
093d3ff1
RD
30592 }
30593 {
32fe5131 30594 PyDict_SetItemString(d,"SB_FLAT", SWIG_From_int(static_cast<int >(wxSB_FLAT)));
093d3ff1
RD
30595 }
30596 {
32fe5131 30597 PyDict_SetItemString(d,"SB_RAISED", SWIG_From_int(static_cast<int >(wxSB_RAISED)));
093d3ff1 30598 }
b2dc1044 30599 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
093d3ff1 30600 {
32fe5131 30601 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_From_int(static_cast<int >(wxSP_NOBORDER)));
093d3ff1
RD
30602 }
30603 {
32fe5131 30604 PyDict_SetItemString(d,"SP_NOSASH", SWIG_From_int(static_cast<int >(wxSP_NOSASH)));
093d3ff1
RD
30605 }
30606 {
32fe5131 30607 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_From_int(static_cast<int >(wxSP_PERMIT_UNSPLIT)));
093d3ff1
RD
30608 }
30609 {
32fe5131 30610 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_From_int(static_cast<int >(wxSP_LIVE_UPDATE)));
093d3ff1
RD
30611 }
30612 {
32fe5131 30613 PyDict_SetItemString(d,"SP_3DSASH", SWIG_From_int(static_cast<int >(wxSP_3DSASH)));
093d3ff1
RD
30614 }
30615 {
32fe5131 30616 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_From_int(static_cast<int >(wxSP_3DBORDER)));
093d3ff1
RD
30617 }
30618 {
32fe5131 30619 PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_From_int(static_cast<int >(wxSP_NO_XP_THEME)));
093d3ff1
RD
30620 }
30621 {
32fe5131 30622 PyDict_SetItemString(d,"SP_BORDER", SWIG_From_int(static_cast<int >(wxSP_BORDER)));
093d3ff1
RD
30623 }
30624 {
32fe5131 30625 PyDict_SetItemString(d,"SP_3D", SWIG_From_int(static_cast<int >(wxSP_3D)));
093d3ff1
RD
30626 }
30627 {
32fe5131 30628 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_From_int(static_cast<int >(wxSPLIT_HORIZONTAL)));
093d3ff1
RD
30629 }
30630 {
32fe5131 30631 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_From_int(static_cast<int >(wxSPLIT_VERTICAL)));
093d3ff1
RD
30632 }
30633 {
32fe5131 30634 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_From_int(static_cast<int >(wxSPLIT_DRAG_NONE)));
093d3ff1
RD
30635 }
30636 {
32fe5131 30637 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_From_int(static_cast<int >(wxSPLIT_DRAG_DRAGGING)));
093d3ff1
RD
30638 }
30639 {
32fe5131 30640 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int(static_cast<int >(wxSPLIT_DRAG_LEFT_DOWN)));
093d3ff1 30641 }
d14a1e28
RD
30642 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
30643 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
30644 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
30645 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
b2dc1044
RD
30646 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
30647 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
093d3ff1 30648 {
32fe5131 30649 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_From_int(static_cast<int >(wxSASH_DRAG_NONE)));
093d3ff1
RD
30650 }
30651 {
32fe5131 30652 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_From_int(static_cast<int >(wxSASH_DRAG_DRAGGING)));
093d3ff1
RD
30653 }
30654 {
32fe5131 30655 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_From_int(static_cast<int >(wxSASH_DRAG_LEFT_DOWN)));
093d3ff1
RD
30656 }
30657 {
32fe5131 30658 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_From_int(static_cast<int >(wxSW_NOBORDER)));
093d3ff1
RD
30659 }
30660 {
32fe5131 30661 PyDict_SetItemString(d,"SW_BORDER", SWIG_From_int(static_cast<int >(wxSW_BORDER)));
093d3ff1
RD
30662 }
30663 {
32fe5131 30664 PyDict_SetItemString(d,"SW_3DSASH", SWIG_From_int(static_cast<int >(wxSW_3DSASH)));
093d3ff1
RD
30665 }
30666 {
32fe5131 30667 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_From_int(static_cast<int >(wxSW_3DBORDER)));
093d3ff1
RD
30668 }
30669 {
32fe5131 30670 PyDict_SetItemString(d,"SW_3D", SWIG_From_int(static_cast<int >(wxSW_3D)));
093d3ff1
RD
30671 }
30672 {
32fe5131 30673 PyDict_SetItemString(d,"SASH_TOP", SWIG_From_int(static_cast<int >(wxSASH_TOP)));
093d3ff1
RD
30674 }
30675 {
32fe5131 30676 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_From_int(static_cast<int >(wxSASH_RIGHT)));
093d3ff1
RD
30677 }
30678 {
32fe5131 30679 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_From_int(static_cast<int >(wxSASH_BOTTOM)));
093d3ff1
RD
30680 }
30681 {
32fe5131 30682 PyDict_SetItemString(d,"SASH_LEFT", SWIG_From_int(static_cast<int >(wxSASH_LEFT)));
093d3ff1
RD
30683 }
30684 {
32fe5131 30685 PyDict_SetItemString(d,"SASH_NONE", SWIG_From_int(static_cast<int >(wxSASH_NONE)));
093d3ff1
RD
30686 }
30687 {
32fe5131 30688 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_From_int(static_cast<int >(wxSASH_STATUS_OK)));
093d3ff1
RD
30689 }
30690 {
32fe5131 30691 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int(static_cast<int >(wxSASH_STATUS_OUT_OF_RANGE)));
093d3ff1 30692 }
d14a1e28 30693 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
093d3ff1 30694 {
32fe5131 30695 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_From_int(static_cast<int >(wxLAYOUT_HORIZONTAL)));
093d3ff1
RD
30696 }
30697 {
32fe5131 30698 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_From_int(static_cast<int >(wxLAYOUT_VERTICAL)));
093d3ff1
RD
30699 }
30700 {
32fe5131 30701 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_From_int(static_cast<int >(wxLAYOUT_NONE)));
093d3ff1
RD
30702 }
30703 {
32fe5131 30704 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_From_int(static_cast<int >(wxLAYOUT_TOP)));
093d3ff1
RD
30705 }
30706 {
32fe5131 30707 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_From_int(static_cast<int >(wxLAYOUT_LEFT)));
093d3ff1
RD
30708 }
30709 {
32fe5131 30710 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_From_int(static_cast<int >(wxLAYOUT_RIGHT)));
093d3ff1
RD
30711 }
30712 {
32fe5131 30713 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_From_int(static_cast<int >(wxLAYOUT_BOTTOM)));
093d3ff1
RD
30714 }
30715 {
32fe5131 30716 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_From_int(static_cast<int >(wxLAYOUT_LENGTH_Y)));
093d3ff1
RD
30717 }
30718 {
32fe5131 30719 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_From_int(static_cast<int >(wxLAYOUT_LENGTH_X)));
093d3ff1
RD
30720 }
30721 {
32fe5131 30722 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_From_int(static_cast<int >(wxLAYOUT_MRU_LENGTH)));
093d3ff1
RD
30723 }
30724 {
32fe5131 30725 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_From_int(static_cast<int >(wxLAYOUT_QUERY)));
093d3ff1 30726 }
d14a1e28
RD
30727 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
30728 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
b2dc1044 30729 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
d14a1e28
RD
30730
30731 // Map renamed classes back to their common name for OOR
30732 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
30733 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
30734 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
30735
30736 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
30737 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
30738 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
30739 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
30740 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
30741 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
30742 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
b2dc1044
RD
30743 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
30744 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
30745 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
30746 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
30747 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
30748 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
093d3ff1 30749 {
32fe5131 30750 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_From_int(static_cast<int >(wxCHOICEDLG_STYLE)));
093d3ff1
RD
30751 }
30752 {
32fe5131 30753 PyDict_SetItemString(d,"TextEntryDialogStyle", SWIG_From_int(static_cast<int >(wxTextEntryDialogStyle)));
093d3ff1 30754 }
d3b6e4ff 30755 SWIG_addvarlink(SWIG_globals,(char*)"GetPasswordFromUserPromptStr",_wrap_GetPasswordFromUserPromptStr_get, _wrap_GetPasswordFromUserPromptStr_set);
093d3ff1 30756 {
32fe5131 30757 PyDict_SetItemString(d,"FR_DOWN", SWIG_From_int(static_cast<int >(wxFR_DOWN)));
093d3ff1
RD
30758 }
30759 {
32fe5131 30760 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_From_int(static_cast<int >(wxFR_WHOLEWORD)));
093d3ff1
RD
30761 }
30762 {
32fe5131 30763 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_From_int(static_cast<int >(wxFR_MATCHCASE)));
093d3ff1
RD
30764 }
30765 {
32fe5131 30766 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_From_int(static_cast<int >(wxFR_REPLACEDIALOG)));
093d3ff1
RD
30767 }
30768 {
32fe5131 30769 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_From_int(static_cast<int >(wxFR_NOUPDOWN)));
093d3ff1
RD
30770 }
30771 {
32fe5131 30772 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_From_int(static_cast<int >(wxFR_NOMATCHCASE)));
093d3ff1
RD
30773 }
30774 {
32fe5131 30775 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_From_int(static_cast<int >(wxFR_NOWHOLEWORD)));
093d3ff1 30776 }
d14a1e28
RD
30777 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
30778 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
30779 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
30780 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
30781 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
093d3ff1 30782 {
32fe5131 30783 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_From_int(static_cast<int >(4001)));
093d3ff1
RD
30784 }
30785 {
32fe5131 30786 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_From_int(static_cast<int >(4001)));
093d3ff1
RD
30787 }
30788 {
32fe5131 30789 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_From_int(static_cast<int >(4002)));
093d3ff1
RD
30790 }
30791 {
32fe5131 30792 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_From_int(static_cast<int >(4003)));
093d3ff1
RD
30793 }
30794 {
32fe5131 30795 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_From_int(static_cast<int >(4004)));
093d3ff1
RD
30796 }
30797 {
32fe5131 30798 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_From_int(static_cast<int >(4005)));
093d3ff1 30799 }
24d7cbea 30800 {
32fe5131 30801 PyDict_SetItemString(d,"IDM_WINDOWPREV", SWIG_From_int(static_cast<int >(4006)));
24d7cbea 30802 }
093d3ff1 30803 {
32fe5131 30804 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_From_int(static_cast<int >(4100)));
093d3ff1
RD
30805 }
30806 {
32fe5131 30807 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_From_int(static_cast<int >(4600)));
093d3ff1 30808 }
b2dc1044
RD
30809 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
30810 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
093d3ff1 30811 {
32fe5131 30812 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_From_int(static_cast<int >(wxPRINT_MODE_NONE)));
093d3ff1
RD
30813 }
30814 {
32fe5131 30815 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_From_int(static_cast<int >(wxPRINT_MODE_PREVIEW)));
093d3ff1
RD
30816 }
30817 {
32fe5131 30818 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_From_int(static_cast<int >(wxPRINT_MODE_FILE)));
093d3ff1
RD
30819 }
30820 {
32fe5131 30821 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_From_int(static_cast<int >(wxPRINT_MODE_PRINTER)));
093d3ff1
RD
30822 }
30823 {
32fe5131 30824 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_From_int(static_cast<int >(wxPRINT_MODE_STREAM)));
093d3ff1
RD
30825 }
30826 {
32fe5131 30827 PyDict_SetItemString(d,"PRINTBIN_DEFAULT", SWIG_From_int(static_cast<int >(wxPRINTBIN_DEFAULT)));
093d3ff1
RD
30828 }
30829 {
32fe5131 30830 PyDict_SetItemString(d,"PRINTBIN_ONLYONE", SWIG_From_int(static_cast<int >(wxPRINTBIN_ONLYONE)));
093d3ff1
RD
30831 }
30832 {
32fe5131 30833 PyDict_SetItemString(d,"PRINTBIN_LOWER", SWIG_From_int(static_cast<int >(wxPRINTBIN_LOWER)));
093d3ff1
RD
30834 }
30835 {
32fe5131 30836 PyDict_SetItemString(d,"PRINTBIN_MIDDLE", SWIG_From_int(static_cast<int >(wxPRINTBIN_MIDDLE)));
093d3ff1
RD
30837 }
30838 {
32fe5131 30839 PyDict_SetItemString(d,"PRINTBIN_MANUAL", SWIG_From_int(static_cast<int >(wxPRINTBIN_MANUAL)));
093d3ff1
RD
30840 }
30841 {
32fe5131 30842 PyDict_SetItemString(d,"PRINTBIN_ENVELOPE", SWIG_From_int(static_cast<int >(wxPRINTBIN_ENVELOPE)));
093d3ff1
RD
30843 }
30844 {
32fe5131 30845 PyDict_SetItemString(d,"PRINTBIN_ENVMANUAL", SWIG_From_int(static_cast<int >(wxPRINTBIN_ENVMANUAL)));
093d3ff1
RD
30846 }
30847 {
32fe5131 30848 PyDict_SetItemString(d,"PRINTBIN_AUTO", SWIG_From_int(static_cast<int >(wxPRINTBIN_AUTO)));
093d3ff1
RD
30849 }
30850 {
32fe5131 30851 PyDict_SetItemString(d,"PRINTBIN_TRACTOR", SWIG_From_int(static_cast<int >(wxPRINTBIN_TRACTOR)));
093d3ff1
RD
30852 }
30853 {
32fe5131 30854 PyDict_SetItemString(d,"PRINTBIN_SMALLFMT", SWIG_From_int(static_cast<int >(wxPRINTBIN_SMALLFMT)));
093d3ff1
RD
30855 }
30856 {
32fe5131 30857 PyDict_SetItemString(d,"PRINTBIN_LARGEFMT", SWIG_From_int(static_cast<int >(wxPRINTBIN_LARGEFMT)));
093d3ff1
RD
30858 }
30859 {
32fe5131 30860 PyDict_SetItemString(d,"PRINTBIN_LARGECAPACITY", SWIG_From_int(static_cast<int >(wxPRINTBIN_LARGECAPACITY)));
093d3ff1
RD
30861 }
30862 {
32fe5131 30863 PyDict_SetItemString(d,"PRINTBIN_CASSETTE", SWIG_From_int(static_cast<int >(wxPRINTBIN_CASSETTE)));
093d3ff1
RD
30864 }
30865 {
32fe5131 30866 PyDict_SetItemString(d,"PRINTBIN_FORMSOURCE", SWIG_From_int(static_cast<int >(wxPRINTBIN_FORMSOURCE)));
093d3ff1
RD
30867 }
30868 {
32fe5131 30869 PyDict_SetItemString(d,"PRINTBIN_USER", SWIG_From_int(static_cast<int >(wxPRINTBIN_USER)));
093d3ff1
RD
30870 }
30871 {
32fe5131 30872 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_From_int(static_cast<int >(wxPRINTER_NO_ERROR)));
093d3ff1
RD
30873 }
30874 {
32fe5131 30875 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_From_int(static_cast<int >(wxPRINTER_CANCELLED)));
093d3ff1
RD
30876 }
30877 {
32fe5131 30878 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_From_int(static_cast<int >(wxPRINTER_ERROR)));
093d3ff1
RD
30879 }
30880 {
32fe5131 30881 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_From_int(static_cast<int >(wxPREVIEW_PRINT)));
093d3ff1
RD
30882 }
30883 {
32fe5131 30884 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_From_int(static_cast<int >(wxPREVIEW_PREVIOUS)));
093d3ff1
RD
30885 }
30886 {
32fe5131 30887 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_From_int(static_cast<int >(wxPREVIEW_NEXT)));
093d3ff1
RD
30888 }
30889 {
32fe5131 30890 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_From_int(static_cast<int >(wxPREVIEW_ZOOM)));
093d3ff1
RD
30891 }
30892 {
32fe5131 30893 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_From_int(static_cast<int >(wxPREVIEW_FIRST)));
093d3ff1
RD
30894 }
30895 {
32fe5131 30896 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_From_int(static_cast<int >(wxPREVIEW_LAST)));
093d3ff1
RD
30897 }
30898 {
32fe5131 30899 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_From_int(static_cast<int >(wxPREVIEW_GOTO)));
093d3ff1
RD
30900 }
30901 {
32fe5131 30902 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_From_int(static_cast<int >(wxPREVIEW_DEFAULT)));
093d3ff1
RD
30903 }
30904 {
32fe5131 30905 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_From_int(static_cast<int >(wxID_PREVIEW_CLOSE)));
093d3ff1
RD
30906 }
30907 {
32fe5131 30908 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_From_int(static_cast<int >(wxID_PREVIEW_NEXT)));
093d3ff1
RD
30909 }
30910 {
32fe5131 30911 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_From_int(static_cast<int >(wxID_PREVIEW_PREVIOUS)));
093d3ff1
RD
30912 }
30913 {
32fe5131 30914 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_From_int(static_cast<int >(wxID_PREVIEW_PRINT)));
093d3ff1
RD
30915 }
30916 {
32fe5131 30917 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_From_int(static_cast<int >(wxID_PREVIEW_ZOOM)));
093d3ff1
RD
30918 }
30919 {
32fe5131 30920 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_From_int(static_cast<int >(wxID_PREVIEW_FIRST)));
093d3ff1
RD
30921 }
30922 {
32fe5131 30923 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_From_int(static_cast<int >(wxID_PREVIEW_LAST)));
093d3ff1
RD
30924 }
30925 {
32fe5131 30926 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_From_int(static_cast<int >(wxID_PREVIEW_GOTO)));
093d3ff1 30927 }
d14a1e28
RD
30928
30929 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
30930
30931}
30932